GoalState
enumeration defines the goal of the entity.
type EamObjectRuntimeInfoGoalState string
const (
- EamObjectRuntimeInfoGoalStateEnabled = EamObjectRuntimeInfoGoalState("enabled")
- EamObjectRuntimeInfoGoalStateDisabled = EamObjectRuntimeInfoGoalState("disabled")
+ // The entity should be fully deployed and active.
+ //
+ // If the entity is an
+ // `Agency`, it should install VIBs and deploy and power on all agent
+ // virtual machines. If the entity is an `Agent`, its VIB should be installed and its
+ // agent virtual machine should be deployed and powered on.
+ EamObjectRuntimeInfoGoalStateEnabled = EamObjectRuntimeInfoGoalState("enabled")
+ // The entity should be fully deployed but inactive.
+ //
+ // f the entity is an
+ // `Agency`, the behavior is similar to the enabled
goal state, but
+ // agents are not powered on (if they have been powered on they are powered
+ // off).
+ EamObjectRuntimeInfoGoalStateDisabled = EamObjectRuntimeInfoGoalState("disabled")
+ // The entity should be completely removed from the vCenter Server.
+ //
+ // If the entity is an
+ // `Agency`, no more VIBs or agent virtual machines are deployed. All installed VIBs
+ // installed by the `Agency` are uninstalled and any deployed agent virtual machines
+ // are powered off (if they have been powered on) and deleted.
+ // If the entity is an `Agent`, its VIB is uninstalled and the virtual machine is
+ // powered off and deleted.
EamObjectRuntimeInfoGoalStateUninstalled = EamObjectRuntimeInfoGoalState("uninstalled")
)
@@ -80,100 +131,147 @@ func init() {
types.Add("eam:EamObjectRuntimeInfoGoalState", reflect.TypeOf((*EamObjectRuntimeInfoGoalState)(nil)).Elem())
}
+// Status
defines a health value that denotes how well the entity
+// conforms to the goal state.
type EamObjectRuntimeInfoStatus string
const (
- EamObjectRuntimeInfoStatusGreen = EamObjectRuntimeInfoStatus("green")
+ // The entity is in perfect compliance with the goal state.
+ EamObjectRuntimeInfoStatusGreen = EamObjectRuntimeInfoStatus("green")
+ // The entity is actively working to reach the desired goal state.
EamObjectRuntimeInfoStatusYellow = EamObjectRuntimeInfoStatus("yellow")
- EamObjectRuntimeInfoStatusRed = EamObjectRuntimeInfoStatus("red")
+ // The entity has reached an issue which prevents it from reaching the desired goal
+ // state.
+ //
+ // To remediate any offending issues, look at `EamObjectRuntimeInfo.issue`
+ // and use either `EamObject.Resolve` or
+ // `EamObject.ResolveAll`.
+ EamObjectRuntimeInfoStatusRed = EamObjectRuntimeInfoStatus("red")
)
func init() {
types.Add("eam:EamObjectRuntimeInfoStatus", reflect.TypeOf((*EamObjectRuntimeInfoStatus)(nil)).Elem())
}
+// MaintenanceModePolicy
defines how ESX Agent Manager is going
+// to put into maintenance mode hosts which are part of a cluster not managed
type EsxAgentManagerMaintenanceModePolicy string
const (
- EsxAgentManagerMaintenanceModePolicySingleHost = EsxAgentManagerMaintenanceModePolicy("singleHost")
+ // Only a single host at a time will be put into maintenance mode.
+ EsxAgentManagerMaintenanceModePolicySingleHost = EsxAgentManagerMaintenanceModePolicy("singleHost")
+ // Hosts will be put into maintenance mode simultaneously.
+ //
+ // If vSphere DRS
+ // is enabled, its recommendations will be used. Otherwise, it will be
+ // attempted to put in maintenance mode simultaneously as many host as
+ // possible.
EsxAgentManagerMaintenanceModePolicyMultipleHosts = EsxAgentManagerMaintenanceModePolicy("multipleHosts")
)
func init() {
types.Add("eam:EsxAgentManagerMaintenanceModePolicy", reflect.TypeOf((*EsxAgentManagerMaintenanceModePolicy)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EsxAgentManagerMaintenanceModePolicy", "7.4")
}
-type HooksExternalProcessingResult string
-
-const (
- HooksExternalProcessingResultSUCCESS = HooksExternalProcessingResult("SUCCESS")
- HooksExternalProcessingResultUNKNOWN_ERROR = HooksExternalProcessingResult("UNKNOWN_ERROR")
- HooksExternalProcessingResultVM_CONFIG_ERROR = HooksExternalProcessingResult("VM_CONFIG_ERROR")
-)
-
-func init() {
- types.Add("eam:HooksExternalProcessingResult", reflect.TypeOf((*HooksExternalProcessingResult)(nil)).Elem())
-}
-
+// Supported types of hooks for agents.
type HooksHookType string
const (
+ // Hook raised for an agent immediately after a Virtual Machine was
+ // created.
HooksHookTypePOST_PROVISIONING = HooksHookType("POST_PROVISIONING")
- HooksHookTypePRE_POWER_ON = HooksHookType("PRE_POWER_ON")
- HooksHookTypePOST_POWER_ON = HooksHookType("POST_POWER_ON")
+ // Hook raised for an agent immediately after a Virtual Machine was
+ // powered on.
+ HooksHookTypePOST_POWER_ON = HooksHookType("POST_POWER_ON")
)
func init() {
types.Add("eam:HooksHookType", reflect.TypeOf((*HooksHookType)(nil)).Elem())
}
+// Reasons solution is not valid for application.
type SolutionsInvalidReason string
const (
+ // The OVF descriptor provided in the VM source is invalid.
SolutionsInvalidReasonINVALID_OVF_DESCRIPTOR = SolutionsInvalidReason("INVALID_OVF_DESCRIPTOR")
- SolutionsInvalidReasonINACCESSBLE_VM_SOURCE = SolutionsInvalidReason("INACCESSBLE_VM_SOURCE")
- SolutionsInvalidReasonINVALID_NETWORKS = SolutionsInvalidReason("INVALID_NETWORKS")
- SolutionsInvalidReasonINVALID_DATASTORES = SolutionsInvalidReason("INVALID_DATASTORES")
- SolutionsInvalidReasonINVALID_RESOURCE_POOL = SolutionsInvalidReason("INVALID_RESOURCE_POOL")
- SolutionsInvalidReasonINVALID_FOLDER = SolutionsInvalidReason("INVALID_FOLDER")
- SolutionsInvalidReasonINVALID_PROPERTIES = SolutionsInvalidReason("INVALID_PROPERTIES")
- SolutionsInvalidReasonINVALID_TRANSITION = SolutionsInvalidReason("INVALID_TRANSITION")
+ // The provided VM source is inaccessible from ESX Agent Manager.
+ SolutionsInvalidReasonINACCESSBLE_VM_SOURCE = SolutionsInvalidReason("INACCESSBLE_VM_SOURCE")
+ // The provided networks are not suitable for application purposes.
+ SolutionsInvalidReasonINVALID_NETWORKS = SolutionsInvalidReason("INVALID_NETWORKS")
+ // The provided datastores are not suitable for application purposes.
+ SolutionsInvalidReasonINVALID_DATASTORES = SolutionsInvalidReason("INVALID_DATASTORES")
+ // The provided resource pool is not accessible or part of the cluster.
+ SolutionsInvalidReasonINVALID_RESOURCE_POOL = SolutionsInvalidReason("INVALID_RESOURCE_POOL")
+ // The provided folder is inaccessible or not part of the same datacenter
+ // with the cluster.
+ SolutionsInvalidReasonINVALID_FOLDER = SolutionsInvalidReason("INVALID_FOLDER")
+ // The provided OVF properties are insufficient to satisfy the required
+ // user configurable properties in the VM described in the vmSource.
+ SolutionsInvalidReasonINVALID_PROPERTIES = SolutionsInvalidReason("INVALID_PROPERTIES")
+ // The legacy agency requested for transition is not valid/cannot be
+ // mapped to systm Virtual Machines solution.
+ SolutionsInvalidReasonINVALID_TRANSITION = SolutionsInvalidReason("INVALID_TRANSITION")
)
func init() {
types.Add("eam:SolutionsInvalidReason", reflect.TypeOf((*SolutionsInvalidReason)(nil)).Elem())
}
+// Describes possible reasons a solution is non compliant.
type SolutionsNonComplianceReason string
const (
- SolutionsNonComplianceReasonWORKING = SolutionsNonComplianceReason("WORKING")
- SolutionsNonComplianceReasonISSUE = SolutionsNonComplianceReason("ISSUE")
- SolutionsNonComplianceReasonIN_HOOK = SolutionsNonComplianceReason("IN_HOOK")
+ // There is ongoing work to acheive the desired state.
+ SolutionsNonComplianceReasonWORKING = SolutionsNonComplianceReason("WORKING")
+ // ESX Agent Manager has ecnountered am issue attempting to acheive the
+ // desired state.
+ SolutionsNonComplianceReasonISSUE = SolutionsNonComplianceReason("ISSUE")
+ // ESX Agent Manager is awaiting user input to continue attempting to
+ // acheive the desired state.
+ SolutionsNonComplianceReasonIN_HOOK = SolutionsNonComplianceReason("IN_HOOK")
+ // An obsoleted spec is currently in application for this solution.
+ //
+ // This state should take precedence over:
+ // `WORKING`
+ // `ISSUE`
+ // `IN_HOOK`
SolutionsNonComplianceReasonOBSOLETE_SPEC = SolutionsNonComplianceReason("OBSOLETE_SPEC")
- SolutionsNonComplianceReasonNO_SPEC = SolutionsNonComplianceReason("NO_SPEC")
+ // Application for this solutiona has never been requested with
+ // `Solutions.Apply`.
+ SolutionsNonComplianceReasonNO_SPEC = SolutionsNonComplianceReason("NO_SPEC")
)
func init() {
types.Add("eam:SolutionsNonComplianceReason", reflect.TypeOf((*SolutionsNonComplianceReason)(nil)).Elem())
}
+// Virtual Machine deployment optimization strategies.
type SolutionsVMDeploymentOptimization string
const (
- SolutionsVMDeploymentOptimizationALL_CLONES = SolutionsVMDeploymentOptimization("ALL_CLONES")
+ // Utilizes all cloning methods available, will create initial snapshots
+ // on the Virtual Machines.
+ SolutionsVMDeploymentOptimizationALL_CLONES = SolutionsVMDeploymentOptimization("ALL_CLONES")
+ // Utilize only full copy cloning menthods, will create initial snapshots
+ // on the Virtual Machines.
SolutionsVMDeploymentOptimizationFULL_CLONES_ONLY = SolutionsVMDeploymentOptimization("FULL_CLONES_ONLY")
- SolutionsVMDeploymentOptimizationNO_CLONES = SolutionsVMDeploymentOptimization("NO_CLONES")
+ // Virtual Machiness will not be cloned from pre-existing deployment.
+ SolutionsVMDeploymentOptimizationNO_CLONES = SolutionsVMDeploymentOptimization("NO_CLONES")
)
func init() {
types.Add("eam:SolutionsVMDeploymentOptimization", reflect.TypeOf((*SolutionsVMDeploymentOptimization)(nil)).Elem())
}
+// Provisioning types for system Virtual Machines.
type SolutionsVMDiskProvisioning string
const (
- SolutionsVMDiskProvisioningTHIN = SolutionsVMDiskProvisioning("THIN")
+ // Disks will be provisioned with only used space allocated.
+ SolutionsVMDiskProvisioningTHIN = SolutionsVMDiskProvisioning("THIN")
+ // Disks will be provisioned with full size allocated.
SolutionsVMDiskProvisioningTHICK = SolutionsVMDiskProvisioning("THICK")
)
diff --git a/eam/types/if.go b/eam/types/if.go
index 763d0a729..99ca5e18f 100644
--- a/eam/types/if.go
+++ b/eam/types/if.go
@@ -62,6 +62,16 @@ func init() {
types.Add("BaseAgentIssue", reflect.TypeOf((*AgentIssue)(nil)).Elem())
}
+func (b *AgentSslTrust) GetAgentSslTrust() *AgentSslTrust { return b }
+
+type BaseAgentSslTrust interface {
+ GetAgentSslTrust() *AgentSslTrust
+}
+
+func init() {
+ types.Add("BaseAgentSslTrust", reflect.TypeOf((*AgentSslTrust)(nil)).Elem())
+}
+
func (b *AgentStoragePolicy) GetAgentStoragePolicy() *AgentStoragePolicy { return b }
type BaseAgentStoragePolicy interface {
@@ -300,6 +310,16 @@ func init() {
types.Add("BaseVibNotInstalled", reflect.TypeOf((*VibNotInstalled)(nil)).Elem())
}
+func (b *VibVibServicesSslTrust) GetVibVibServicesSslTrust() *VibVibServicesSslTrust { return b }
+
+type BaseVibVibServicesSslTrust interface {
+ GetVibVibServicesSslTrust() *VibVibServicesSslTrust
+}
+
+func init() {
+ types.Add("BaseVibVibServicesSslTrust", reflect.TypeOf((*VibVibServicesSslTrust)(nil)).Elem())
+}
+
func (b *VmDeployed) GetVmDeployed() *VmDeployed { return b }
type BaseVmDeployed interface {
diff --git a/eam/types/types.go b/eam/types/types.go
index 129c218b8..f7c689b10 100644
--- a/eam/types/types.go
+++ b/eam/types/types.go
@@ -29,9 +29,11 @@ func init() {
types.Add("eam:AddIssue", reflect.TypeOf((*AddIssue)(nil)).Elem())
}
+// The parameters of `Agency.AddIssue`.
type AddIssueRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Issue BaseIssue `xml:"issue,typeattr" json:"issue"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // A new issue.
+ Issue BaseIssue `xml:"issue,typeattr" json:"issue"`
}
func init() {
@@ -42,9 +44,18 @@ type AddIssueResponse struct {
Returnval BaseIssue `xml:"returnval,typeattr" json:"returnval"`
}
+// Scope specifies on which compute resources to deploy a solution's agents.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyComputeResourceScope struct {
AgencyScope
+ // Compute resources on which to deploy the agents.
+ //
+ // If `ConfigInfo#vmPlacementPolicy` is set, the array needs to
+ // contain exactly one cluster compute resource.
+ //
+ // Refers instances of `ComputeResource`.
ComputeResource []types.ManagedObjectReference `xml:"computeResource,omitempty" json:"computeResource,omitempty"`
}
@@ -52,47 +63,213 @@ func init() {
types.Add("eam:AgencyComputeResourceScope", reflect.TypeOf((*AgencyComputeResourceScope)(nil)).Elem())
}
+// This is the configuration of an Agency
.
+//
+// It determines on
+// which compute resources to deploy the agents, which VIB to install, which
+// OVF package to install, and how to configure these items by setting the
+// OVF environment properties.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyConfigInfo struct {
types.DynamicData
- AgentConfig []AgentConfigInfo `xml:"agentConfig,omitempty" json:"agentConfig,omitempty"`
- Scope BaseAgencyScope `xml:"scope,omitempty,typeattr" json:"scope,omitempty"`
- ManuallyMarkAgentVmAvailableAfterProvisioning *bool `xml:"manuallyMarkAgentVmAvailableAfterProvisioning" json:"manuallyMarkAgentVmAvailableAfterProvisioning,omitempty"`
- ManuallyMarkAgentVmAvailableAfterPowerOn *bool `xml:"manuallyMarkAgentVmAvailableAfterPowerOn" json:"manuallyMarkAgentVmAvailableAfterPowerOn,omitempty"`
- OptimizedDeploymentEnabled *bool `xml:"optimizedDeploymentEnabled" json:"optimizedDeploymentEnabled,omitempty"`
- AgentName string `xml:"agentName,omitempty" json:"agentName,omitempty"`
- AgencyName string `xml:"agencyName,omitempty" json:"agencyName,omitempty"`
- UseUuidVmName *bool `xml:"useUuidVmName" json:"useUuidVmName,omitempty"`
- ManuallyProvisioned *bool `xml:"manuallyProvisioned" json:"manuallyProvisioned,omitempty"`
- ManuallyMonitored *bool `xml:"manuallyMonitored" json:"manuallyMonitored,omitempty"`
- BypassVumEnabled *bool `xml:"bypassVumEnabled" json:"bypassVumEnabled,omitempty"`
- AgentVmNetwork []types.ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty"`
- AgentVmDatastore []types.ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty"`
- PreferHostConfiguration *bool `xml:"preferHostConfiguration" json:"preferHostConfiguration,omitempty"`
- IpPool *types.IpPool `xml:"ipPool,omitempty" json:"ipPool,omitempty"`
- ResourcePools []AgencyVMResourcePool `xml:"resourcePools,omitempty" json:"resourcePools,omitempty"`
- Folders []AgencyVMFolder `xml:"folders,omitempty" json:"folders,omitempty"`
+ // A list of `AgentConfigInfo`s for hosts covered by this
+ // Agency
.
+ //
+ // When provisioning a new agent to a host, vSphere
+ // ESX Agent Manager tries to find, from left to right in the array, a
+ // match for an `AgentConfigInfo` and stops searching at the first
+ // one that it finds.
+ // If `#vmPlacementPolicy` is set, the array needs to contain only a
+ // single agent config. In that case the agent config is not bound to a
+ // specific host, but to the whole cluster.
+ AgentConfig []AgentConfigInfo `xml:"agentConfig,omitempty" json:"agentConfig,omitempty"`
+ // The scope of the Agency
.
+ Scope BaseAgencyScope `xml:"scope,omitempty,typeattr" json:"scope,omitempty"`
+ // If set to true
, the client of this agency must manually
+ // mark the agent as ready after the agent virtual machine has been
+ // provisioned.
+ //
+ // This is useful if the client of this solution performs
+ // some extra reconfiguration of the agent virtual machine before it is
+ // powered on.
+ //
+ // See also `Agent.MarkAsAvailable`.
+ ManuallyMarkAgentVmAvailableAfterProvisioning *bool `xml:"manuallyMarkAgentVmAvailableAfterProvisioning" json:"manuallyMarkAgentVmAvailableAfterProvisioning,omitempty"`
+ // If set to true
, the client of this agency must manually
+ // mark the agent as ready after the agent virtual machine has been
+ // powered on.
+ //
+ // In this case, DRS will not regard the agent virtual machine
+ // as ready until the client has marked the agent as ready.
+ //
+ // See also `Agent.MarkAsAvailable`.
+ ManuallyMarkAgentVmAvailableAfterPowerOn *bool `xml:"manuallyMarkAgentVmAvailableAfterPowerOn" json:"manuallyMarkAgentVmAvailableAfterPowerOn,omitempty"`
+ // If set to true
, ESX Agent Manager will use vSphere Linked
+ // Clones to speed up the deployment of agent virtual machines.
+ //
+ // Using
+ // linked clones implies that the agent virtual machines cannot use
+ // Storage vMotion to move to another vSphere datastore.
+ // If set to false
, ESX Agent Manager will use Full VM
+ // Cloning.
+ // If unset default is true.
+ OptimizedDeploymentEnabled *bool `xml:"optimizedDeploymentEnabled" json:"optimizedDeploymentEnabled,omitempty"`
+ // An optional name to use when naming agent virtual machines.
+ //
+ // For
+ // example, if set to "example-agent", each agent virtual machine will be
+ // named "example-agent (1)", "example-agent (2)", and so on. The maximum
+ // length of agentName
is 70 characters.
+ AgentName string `xml:"agentName,omitempty" json:"agentName,omitempty"`
+ // Name of the agency.
+ //
+ // Must be set when creating the agency.
+ AgencyName string `xml:"agencyName,omitempty" json:"agencyName,omitempty"`
+ // Property agentName
is required if this property is set to
+ // true
.
+ //
+ // If set to true
, ESX Agent Manager will name virtual
+ // machines with UUID suffix. For example, "example-agent-UUID".
+ // In this case, the maximum length of agentName
is 43
+ // characters.
+ //
+ // If not set or is set to false
, virtual
+ // machines will not contain UUID in their name.
+ UseUuidVmName *bool `xml:"useUuidVmName" json:"useUuidVmName,omitempty" vim:"7.5"`
+ // Deprecated use automatically provisioned VMs and register hooks to
+ // have control post provisioning and power on.
+ //
+ // Set to true if agent VMs are manually provisioned.
+ //
+ // If unset, defaults
+ // to false.
+ ManuallyProvisioned *bool `xml:"manuallyProvisioned" json:"manuallyProvisioned,omitempty" vim:"2.0"`
+ // Deprecated use automatically provisioned VMs and register hooks to
+ // have control post provisioning and power on.
+ //
+ // Set to true if agent VMs are manually monitored.
+ //
+ // If unset, defaults to
+ // false. This can only be set to true if
+ // `AgencyConfigInfo.manuallyProvisioned` is set to true.
+ ManuallyMonitored *bool `xml:"manuallyMonitored" json:"manuallyMonitored,omitempty" vim:"2.0"`
+ // Deprecated vUM is no more consulted so this property has no sense
+ // anymore.
+ //
+ // Set to true will install VIBs directly on the hosts even if VMware
+ // Update Manager is installed.
+ //
+ // If unset, defaults to false.
+ BypassVumEnabled *bool `xml:"bypassVumEnabled" json:"bypassVumEnabled,omitempty" vim:"2.0"`
+ // Specifies the networks which to be configured on the agent VMs.
+ //
+ // This property is only applicable for pinned to host VMs - i.e.
+ // (`#vmPlacementPolicy`) is not set.
+ //
+ // If not set or `AgencyConfigInfo.preferHostConfiguration` is set to true, the
+ // default host agent VM network (configured through
+ // vim.host.EsxAgentHostManager) is used, otherwise the first network from
+ // the array that is present on the host is used.
+ //
+ // At most one of `AgencyConfigInfo.agentVmNetwork` and `#vmNetworkMapping`
+ // needs to be set.
+ //
+ // Refers instances of `Network`.
+ AgentVmNetwork []types.ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty" vim:"2.0"`
+ // The datastores used to configure the storage on the agent VMs.
+ //
+ // This property is required if `#vmPlacementPolicy` is set and
+ // `#datastoreSelectionPolicy` is not set. In that case the first
+ // element from the list is used.
+ //
+ // If not set or `AgencyConfigInfo.preferHostConfiguration` is set to true and
+ // `#vmPlacementPolicy` is not set, the default host agent VM
+ // datastore (configured through vim.host.EsxAgentHostManager) is used,
+ // otherwise the first datastore from the array that is present on the
+ // host is used.
+ //
+ // If `#vmPlacementPolicy` is set at most one of
+ // `AgencyConfigInfo.agentVmDatastore` and `#datastoreSelectionPolicy` needs
+ // to be set. If `#vmPlacementPolicy` is not set
+ // `#datastoreSelectionPolicy` takes precedence over
+ // `AgencyConfigInfo.agentVmDatastore` .
+ //
+ // Refers instances of `Datastore`.
+ AgentVmDatastore []types.ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty" vim:"2_5"`
+ // If set to true the default agent VM datastore and network will take
+ // precedence over `Agency.ConfigInfo.agentVmNetwork` and
+ // `Agency.ConfigInfo.agentVmDatastore` when configuring the agent
+ // VMs.
+ //
+ // This property is not used if `#vmPlacementPolicy` is set.
+ PreferHostConfiguration *bool `xml:"preferHostConfiguration" json:"preferHostConfiguration,omitempty" vim:"2_5"`
+ // Deprecated that is a custom configuration that should be setup by the
+ // agency owner. One way is to use
+ // `AgencyConfigInfo.manuallyMarkAgentVmAvailableAfterPowerOn` or
+ // `AgencyConfigInfo.manuallyMarkAgentVmAvailableAfterProvisioning`
+ // hooks.
+ //
+ // If set, a property with id "ip" and value an IP from the pool is added
+ // to the vApp configuration of the deployed VMs.
+ IpPool *types.IpPool `xml:"ipPool,omitempty" json:"ipPool,omitempty" vim:"3.0"`
+ // Defines the resource pools where VMs to be deployed.
+ //
+ // If specified, the VMs for every compute resouce in the scope will be
+ // deployed to its corresponding resource pool.
+ // If not specified, the agent VMs for each compute resource will be
+ // deployed under top level nested resource pool created for the agent
+ // VMs. If unable to create a nested resource pool, the root resource pool
+ // of the compute resource will be used.
+ ResourcePools []AgencyVMResourcePool `xml:"resourcePools,omitempty" json:"resourcePools,omitempty" vim:"6.9"`
+ // Defines the folders where VMs to be deployed.
+ //
+ // If specified, the VMs for every compute resouce in the scope will be
+ // deployed to its corresponding folder. The link is made between the
+ // compute resource parent and the datacenter the folder belongs to
+ // `AgencyVMFolder.datacenterId`.
+ // If not specified, the agent VMs for each compute resource will be
+ // deployed in top level folder created in each datacenter for the agent
+ // VMs.
+ Folders []AgencyVMFolder `xml:"folders,omitempty" json:"folders,omitempty" vim:"6.9"`
}
func init() {
types.Add("eam:AgencyConfigInfo", reflect.TypeOf((*AgencyConfigInfo)(nil)).Elem())
}
+// Agency is disabled - one or more ClusterComputeResources from it's scope are
+// disabled.
+//
+// This is not a remediable issue. To remediate, re-enable the cluster.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyDisabled struct {
AgencyIssue
}
func init() {
types.Add("eam:AgencyDisabled", reflect.TypeOf((*AgencyDisabled)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgencyDisabled", "7.6")
}
+// Base class for all agency issues.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyIssue struct {
Issue
- Agency types.ManagedObjectReference `xml:"agency" json:"agency"`
- AgencyName string `xml:"agencyName" json:"agencyName"`
- SolutionId string `xml:"solutionId" json:"solutionId"`
- SolutionName string `xml:"solutionName" json:"solutionName"`
+ // The agency to which this issue belongs.
+ //
+ // Refers instance of `Agency`.
+ Agency types.ManagedObjectReference `xml:"agency" json:"agency"`
+ // The name of the agency.
+ AgencyName string `xml:"agencyName" json:"agencyName"`
+ // The ID of the solution to which this issue belongs.
+ SolutionId string `xml:"solutionId" json:"solutionId"`
+ // The name of the solution to which this issue belongs.
+ SolutionName string `xml:"solutionName" json:"solutionName"`
}
func init() {
@@ -117,6 +294,9 @@ type AgencyQueryRuntimeResponse struct {
Returnval BaseEamObjectRuntimeInfo `xml:"returnval,typeattr" json:"returnval"`
}
+// Scope specifies which where to deploy agents.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyScope struct {
types.DynamicData
}
@@ -125,26 +305,52 @@ func init() {
types.Add("eam:AgencyScope", reflect.TypeOf((*AgencyScope)(nil)).Elem())
}
+// Represents the mapping of a VM folder to a datacenter.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyVMFolder struct {
types.DynamicData
- FolderId types.ManagedObjectReference `xml:"folderId" json:"folderId"`
+ // Folder identifier.
+ //
+ // The folder must be present in the corresponding
+ // datacenter.
+ //
+ // Refers instance of `Folder`.
+ FolderId types.ManagedObjectReference `xml:"folderId" json:"folderId"`
+ // Datacenter identifier.
+ //
+ // Refers instance of `Datacenter`.
DatacenterId types.ManagedObjectReference `xml:"datacenterId" json:"datacenterId"`
}
func init() {
types.Add("eam:AgencyVMFolder", reflect.TypeOf((*AgencyVMFolder)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgencyVMFolder", "6.9")
}
+// Represents the mapping of a VM resource pool to a compute resource.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgencyVMResourcePool struct {
types.DynamicData
- ResourcePoolId types.ManagedObjectReference `xml:"resourcePoolId" json:"resourcePoolId"`
+ // Resource pool identifier.
+ //
+ // The resource pool must be present in the
+ // corresponding compute resource.
+ //
+ // Refers instance of `ResourcePool`.
+ ResourcePoolId types.ManagedObjectReference `xml:"resourcePoolId" json:"resourcePoolId"`
+ // Compute resource identifier.
+ //
+ // Refers instance of `ComputeResource`.
ComputeResourceId types.ManagedObjectReference `xml:"computeResourceId" json:"computeResourceId"`
}
func init() {
types.Add("eam:AgencyVMResourcePool", reflect.TypeOf((*AgencyVMResourcePool)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgencyVMResourcePool", "6.9")
}
type Agency_Disable Agency_DisableRequestType
@@ -181,43 +387,205 @@ func init() {
type Agency_EnableResponse struct {
}
+// Specifies an SSL policy that trusts any SSL certificate.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type AgentAnyCertificate struct {
+ AgentSslTrust
+}
+
+func init() {
+ types.Add("eam:AgentAnyCertificate", reflect.TypeOf((*AgentAnyCertificate)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentAnyCertificate", "8.2")
+}
+
+// A description of what should be put on a host.
+//
+// By setting the
+// productLineId
and hostVersion
, you can specify
+// the types of hosts for which to use the ConfigInfo
.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentConfigInfo struct {
types.DynamicData
- ProductLineId string `xml:"productLineId,omitempty" json:"productLineId,omitempty"`
- HostVersion string `xml:"hostVersion,omitempty" json:"hostVersion,omitempty"`
- OvfPackageUrl string `xml:"ovfPackageUrl,omitempty" json:"ovfPackageUrl,omitempty"`
- OvfEnvironment *AgentOvfEnvironmentInfo `xml:"ovfEnvironment,omitempty" json:"ovfEnvironment,omitempty"`
- VibUrl string `xml:"vibUrl,omitempty" json:"vibUrl,omitempty"`
- VibMatchingRules []AgentVibMatchingRule `xml:"vibMatchingRules,omitempty" json:"vibMatchingRules,omitempty"`
- VibName string `xml:"vibName,omitempty" json:"vibName,omitempty"`
- DvFilterEnabled *bool `xml:"dvFilterEnabled" json:"dvFilterEnabled,omitempty"`
- RebootHostAfterVibUninstall *bool `xml:"rebootHostAfterVibUninstall" json:"rebootHostAfterVibUninstall,omitempty"`
- VmciService []string `xml:"vmciService,omitempty" json:"vmciService,omitempty"`
- OvfDiskProvisioning string `xml:"ovfDiskProvisioning,omitempty" json:"ovfDiskProvisioning,omitempty"`
- VmStoragePolicies []BaseAgentStoragePolicy `xml:"vmStoragePolicies,omitempty,typeattr" json:"vmStoragePolicies,omitempty"`
+ // The product line ID of the host.
+ //
+ // Examples of values are "esx" or
+ // "embeddedEsx". If omitted, the host's product line ID is not considered
+ // when matching an AgentPackage
against a host.
+ ProductLineId string `xml:"productLineId,omitempty" json:"productLineId,omitempty"`
+ // A dot-separated string of the host version.
+ //
+ // Examples of values are
+ // "4.1.0" "3.5", "4.\*" where \* is a wildcard meaning any version minor
+ // version of the major version 4. If omitted, the host version will not
+ // be considered when matching an AgentPackage
against a
+ // host.
+ // This property is not used if
+ // `Agency.ConfigInfo#vmPlacementPolicy` is set. It is client's
+ // responsibility to trigger an agency upgrade with a new
+ // `AgentConfigInfo.ovfPackageUrl`.
+ HostVersion string `xml:"hostVersion,omitempty" json:"hostVersion,omitempty"`
+ // The URL of the solution's agent OVF package.
+ //
+ // If not set, no agent
+ // virtual machines are installed on the hosts covered by the scope.
+ // If `Agency.ConfigInfo#vmPlacementPolicy` is set, the VM needs to
+ // be agnostic to the different host versions inside the cluster.
+ OvfPackageUrl string `xml:"ovfPackageUrl,omitempty" json:"ovfPackageUrl,omitempty"`
+ // Specifies an SSL trust policy to be use for verification of the
+ // server that hosts the `AgentConfigInfo.ovfPackageUrl`.
+ //
+ // If not set, the server
+ // certificate is validated against the trusted root certificates of the
+ // OS (Photon) and VECS (TRUSTED\_ROOTS).
+ OvfSslTrust BaseAgentSslTrust `xml:"ovfSslTrust,omitempty,typeattr" json:"ovfSslTrust,omitempty" vim:"8.2"`
+ // The part of the OVF environment that can be set by the solution.
+ //
+ // This
+ // is where Properties that the agent virtual machine's OVF descriptor
+ // specifies are set here. All properties that are specified as
+ // user-configurable must be set.
+ OvfEnvironment *AgentOvfEnvironmentInfo `xml:"ovfEnvironment,omitempty" json:"ovfEnvironment,omitempty"`
+ // An optional URL to an offline bundle.
+ //
+ // If not set, no VIB is installed
+ // on the hosts in the scope. Offline bundles are only supported on 4.0
+ // hosts and later.
+ //
+ // VIB downgrade is not permitted - in case a VIB with the same name, but
+ // lower version is installed on a host in the scope the VIB installation
+ // on that host will not succeed.
+ //
+ // If two or more agents have the same VIB with different versions on the
+ // same host, the install/uninstall behaviour is undefined (the VIB may
+ // remain installed, etc.).
+ //
+ // The property is not used if `Agency.ConfigInfo#vmPlacementPolicy`
+ // is set.
+ VibUrl string `xml:"vibUrl,omitempty" json:"vibUrl,omitempty"`
+ // Specifies an SSL trust policy to be use for verification of the
+ // server that hosts the `AgentConfigInfo.vibUrl`.
+ //
+ // If not set, the server
+ // certificate is validated against the trusted root certificates of the
+ // OS (Photon) and VECS (TRUSTED\_ROOTS).
+ VibSslTrust BaseAgentSslTrust `xml:"vibSslTrust,omitempty,typeattr" json:"vibSslTrust,omitempty" vim:"8.2"`
+ // Deprecated vIB matching rules are no longer supported by EAM. Same
+ // overlaps with VIB dependency requirements which reside in
+ // each VIB's metadata.
+ //
+ // Optional Vib matching rules.
+ //
+ // If set, the Vib, specified by vibUrl, will
+ // be installed either
+ // - if there is installed Vib on the host which name and version match
+ // the regular expressions in the corresponding rule
+ // - or there isn't any installed Vib on the host with name which
+ // matches the Vib name regular expression in the corresponding rule. Vib
+ // matching rules are usually used for controlling VIB upgrades, in which
+ // case the name regular expression matches any previous versions of the
+ // agency Vib and version regular expression determines whether the
+ // existing Vib should be upgraded.
+ //
+ // For every Vib in the Vib package, only one Vib matching rule can be
+ // defined. If specified more than one, it is not determined which one
+ // will be used. The Vib name regular expression in the Vib matching rule
+ // will be matched against the name of the Vib which will be installed.
+ // Only rules for Vibs which are defined in the Vib package metadata will
+ // be taken in account.
+ VibMatchingRules []AgentVibMatchingRule `xml:"vibMatchingRules,omitempty" json:"vibMatchingRules,omitempty" vim:"2_5"`
+ // Deprecated use VIB metadata to add such dependency.
+ //
+ // An optional name of a VIB.
+ //
+ // If set, no VIB is installed on the host. The
+ // host is checked if a VIB with vibName is already installed on it. Also
+ // the vibUrl must not be set together with the vibUrl.
+ VibName string `xml:"vibName,omitempty" json:"vibName,omitempty" vim:"2.0"`
+ // Deprecated that is a custom setup specific for a particular agency.
+ // The agency owner should do it using other means, e.g.
+ // `#manuallyMarkAgentVmAvailableAfterPowerOn` or
+ // `#manuallyMarkAgentVmAvailableAfterProvisioning`
+ // hooks. Support for this has been removed. Seting this to
+ // true
will no longer have any effect.
+ //
+ // If set to true
, the hosts in the scope must be configured
+ // for DvFilter before VIBs and agent virtual machines are deployed on
+ // them.
+ //
+ // If not set or set to false
, no DvFilter
+ // configuration is done on the hosts.
+ DvFilterEnabled *bool `xml:"dvFilterEnabled" json:"dvFilterEnabled,omitempty"`
+ // Deprecated express that requirement in the VIB descriptor with
+ // 'live-remove-allowed=false'.
+ //
+ // An optional boolean flag to specify whether the agent's host is
+ // rebooted after the VIB is uninstalled.
+ //
+ // If not set, the default value is
+ // false
. If set to true
, the agent gets a
+ // `VibRequiresHostReboot` issue after a successful
+ // uninstallation.
+ RebootHostAfterVibUninstall *bool `xml:"rebootHostAfterVibUninstall" json:"rebootHostAfterVibUninstall,omitempty"`
+ // If set the virtual machine will be configured with the services and
+ // allow VMCI access from the virtual machine to the installed VIB.
+ VmciService []string `xml:"vmciService,omitempty" json:"vmciService,omitempty"`
+ // AgentVM disk provisioning type.
+ //
+ // Defaults to `none` if not specified.
+ OvfDiskProvisioning string `xml:"ovfDiskProvisioning,omitempty" json:"ovfDiskProvisioning,omitempty" vim:"6.9"`
+ // Defines the storage policies configured on Agent VMs.
+ //
+ // Storage policies
+ // are configured on all VM related objects including disks.
+ // NOTE: The property needs to be configured on each update, otherwise
+ // vSphere ESX Agent Manager will unset this configuration for all future
+ // agent VMs.
+ VmStoragePolicies []BaseAgentStoragePolicy `xml:"vmStoragePolicies,omitempty,typeattr" json:"vmStoragePolicies,omitempty" vim:"7.0"`
}
func init() {
types.Add("eam:AgentConfigInfo", reflect.TypeOf((*AgentConfigInfo)(nil)).Elem())
}
+// Base class for all agent issues.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentIssue struct {
AgencyIssue
- Agent types.ManagedObjectReference `xml:"agent" json:"agent"`
- AgentName string `xml:"agentName" json:"agentName"`
- Host types.ManagedObjectReference `xml:"host" json:"host"`
- HostName string `xml:"hostName" json:"hostName"`
+ // The agent that has this issue.
+ //
+ // Refers instance of `Agent`.
+ Agent types.ManagedObjectReference `xml:"agent" json:"agent"`
+ // The name of the agent.
+ AgentName string `xml:"agentName" json:"agentName"`
+ // The managed object reference to the host on which this agent is located.
+ //
+ // Refers instance of `HostSystem`.
+ Host types.ManagedObjectReference `xml:"host" json:"host"`
+ // The name of the host on which this agent is located.
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
types.Add("eam:AgentIssue", reflect.TypeOf((*AgentIssue)(nil)).Elem())
}
+// The OvfEnvironment
is used to assign OVF environment
+// properties in the `AgentConfigInfo`.
+//
+// It specifies the values that
+// map to properties in the agent virtual machine's OVF descriptor.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentOvfEnvironmentInfo struct {
types.DynamicData
+ // The OVF properties that are assigned to the agent virtual machine's OVF
+ // environment when it is powered on.
OvfProperty []AgentOvfEnvironmentInfoOvfProperty `xml:"ovfProperty,omitempty" json:"ovfProperty,omitempty"`
}
@@ -225,10 +593,15 @@ func init() {
types.Add("eam:AgentOvfEnvironmentInfo", reflect.TypeOf((*AgentOvfEnvironmentInfo)(nil)).Elem())
}
+// One OVF property.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentOvfEnvironmentInfoOvfProperty struct {
types.DynamicData
- Key string `xml:"key" json:"key"`
+ // The name of the property in the OVF descriptor.
+ Key string `xml:"key" json:"key"`
+ // The value of the property.
Value string `xml:"value" json:"value"`
}
@@ -236,6 +609,23 @@ func init() {
types.Add("eam:AgentOvfEnvironmentInfoOvfProperty", reflect.TypeOf((*AgentOvfEnvironmentInfoOvfProperty)(nil)).Elem())
}
+// Specifies an SSL policy that trusts one specific pinned PEM encoded
+// SSL certificate.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type AgentPinnedPemCertificate struct {
+ AgentSslTrust
+
+ // PEM encoded pinned SSL certificate of the server that needs to be
+ // trusted.
+ SslCertificate string `xml:"sslCertificate" json:"sslCertificate"`
+}
+
+func init() {
+ types.Add("eam:AgentPinnedPemCertificate", reflect.TypeOf((*AgentPinnedPemCertificate)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentPinnedPemCertificate", "8.2")
+}
+
type AgentQueryConfig AgentQueryConfigRequestType
func init() {
@@ -272,39 +662,108 @@ type AgentQueryRuntimeResponse struct {
Returnval AgentRuntimeInfo `xml:"returnval" json:"returnval"`
}
+// Extends RuntimeInfo
with information regarding the deployment
+// of an agent on a specific host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentRuntimeInfo struct {
EamObjectRuntimeInfo
- VmPowerState types.VirtualMachinePowerState `xml:"vmPowerState" json:"vmPowerState"`
- ReceivingHeartBeat bool `xml:"receivingHeartBeat" json:"receivingHeartBeat"`
- Host *types.ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
- Vm *types.ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
- VmIp string `xml:"vmIp,omitempty" json:"vmIp,omitempty"`
- VmName string `xml:"vmName" json:"vmName"`
- EsxAgentResourcePool *types.ManagedObjectReference `xml:"esxAgentResourcePool,omitempty" json:"esxAgentResourcePool,omitempty"`
- EsxAgentFolder *types.ManagedObjectReference `xml:"esxAgentFolder,omitempty" json:"esxAgentFolder,omitempty"`
- InstalledBulletin []string `xml:"installedBulletin,omitempty" json:"installedBulletin,omitempty"`
- InstalledVibs []VibVibInfo `xml:"installedVibs,omitempty" json:"installedVibs,omitempty"`
- Agency *types.ManagedObjectReference `xml:"agency,omitempty" json:"agency,omitempty"`
- VmHook *AgentVmHook `xml:"vmHook,omitempty" json:"vmHook,omitempty"`
+ // Deprecated get that info calling the virtual machine VIM API.
+ //
+ // The power state of an agent virtual machine.
+ VmPowerState types.VirtualMachinePowerState `xml:"vmPowerState" json:"vmPowerState"`
+ // Deprecated get that info calling the virtual machine VIM API.
+ //
+ // True if the vSphere ESX Agent Manager is receiving heartbeats from the
+ // agent virtual machine.
+ ReceivingHeartBeat bool `xml:"receivingHeartBeat" json:"receivingHeartBeat"`
+ // The agent host.
+ //
+ // Refers instance of `HostSystem`.
+ Host *types.ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
+ // The agent virtual machine.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm *types.ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
+ // Deprecated get that info calling the virtual machine VIM API.
+ //
+ // The IP address of the agent virtual machine
+ VmIp string `xml:"vmIp,omitempty" json:"vmIp,omitempty"`
+ // Deprecated get that info calling the virtual machine VIM API.
+ //
+ // The name of the agent virtual machine.
+ VmName string `xml:"vmName" json:"vmName"`
+ // Deprecated in order to retrieve agent resource pool use VIM API.
+ //
+ // The ESX agent resource pool in which the agent virtual machine resides.
+ //
+ // Refers instance of `ResourcePool`.
+ EsxAgentResourcePool *types.ManagedObjectReference `xml:"esxAgentResourcePool,omitempty" json:"esxAgentResourcePool,omitempty"`
+ // Deprecated in order to retrieve agent VM folder use VIM API.
+ //
+ // The ESX agent folder in which the agent virtual machine resides.
+ //
+ // Refers instance of `Folder`.
+ EsxAgentFolder *types.ManagedObjectReference `xml:"esxAgentFolder,omitempty" json:"esxAgentFolder,omitempty"`
+ // Deprecated use `AgentRuntimeInfo.installedVibs` instead.
+ //
+ // An optional array of IDs of installed bulletins for this agent.
+ InstalledBulletin []string `xml:"installedBulletin,omitempty" json:"installedBulletin,omitempty"`
+ // Information about the installed vibs on the host.
+ InstalledVibs []VibVibInfo `xml:"installedVibs,omitempty" json:"installedVibs,omitempty" vim:"6.0"`
+ // The agency this agent belongs to.
+ //
+ // Refers instance of `Agency`.
+ Agency *types.ManagedObjectReference `xml:"agency,omitempty" json:"agency,omitempty" vim:"2.0"`
+ // Active VM hook.
+ //
+ // If present agent is actively waiting for `Agent.MarkAsAvailable`.
+ // See `AgentVmHook`.
+ VmHook *AgentVmHook `xml:"vmHook,omitempty" json:"vmHook,omitempty" vim:"6.7"`
}
func init() {
types.Add("eam:AgentRuntimeInfo", reflect.TypeOf((*AgentRuntimeInfo)(nil)).Elem())
}
+// Specifies an SSL trust policy.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type AgentSslTrust struct {
+ types.DynamicData
+}
+
+func init() {
+ types.Add("eam:AgentSslTrust", reflect.TypeOf((*AgentSslTrust)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentSslTrust", "8.2")
+}
+
+// Specifies the storage policies configured on Agent VMs.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentStoragePolicy struct {
types.DynamicData
}
func init() {
types.Add("eam:AgentStoragePolicy", reflect.TypeOf((*AgentStoragePolicy)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentStoragePolicy", "7.0")
}
+// Deprecated vIB matching rules are no longer supported by EAM. Same
+// overlaps with VIB dependency requirements which reside in each
+// VIB's metadata.
+//
+// Specifies regular expressions for Vib name and version.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentVibMatchingRule struct {
types.DynamicData
- VibNameRegex string `xml:"vibNameRegex" json:"vibNameRegex"`
+ // Vib name regular expression.
+ VibNameRegex string `xml:"vibNameRegex" json:"vibNameRegex"`
+ // Vib version regular expression.
VibVersionRegex string `xml:"vibVersionRegex" json:"vibVersionRegex"`
}
@@ -312,27 +771,55 @@ func init() {
types.Add("eam:AgentVibMatchingRule", reflect.TypeOf((*AgentVibMatchingRule)(nil)).Elem())
}
+// Represents an active hook of the VM lifecycle which EAM is waiting on to
+// be processed by the client.
+//
+// The supported hooks are defined by
+// `AgencyConfigInfo.manuallyMarkAgentVmAvailableAfterProvisioning`
+// and
+// `AgencyConfigInfo.manuallyMarkAgentVmAvailableAfterProvisioning`.
+// See `Agent.MarkAsAvailable`
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentVmHook struct {
types.DynamicData
- Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
- VmState string `xml:"vmState" json:"vmState"`
+ // The VM for which lifecycle is this hook.
+ //
+ // This VM may differ from `AgentRuntimeInfo.vm` while an upgrade
+ // of the agent VM is in progress.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
+ // The current VM lifecycle state.
+ VmState string `xml:"vmState" json:"vmState"`
}
func init() {
types.Add("eam:AgentVmHook", reflect.TypeOf((*AgentVmHook)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentVmHook", "6.7")
}
+// Specifies vSAN specific storage policy configured on Agent VMs.
+//
+// This structure may be used only with operations rendered under `/eam`.
type AgentVsanStoragePolicy struct {
AgentStoragePolicy
+ // ID of a storage policy profile created by the user.
+ //
+ // The type of the
+ // profile must be `VirtualMachineDefinedProfileSpec`. The ID must be valid
+ // `VirtualMachineDefinedProfileSpec.profileId`.
ProfileId string `xml:"profileId" json:"profileId"`
}
func init() {
types.Add("eam:AgentVsanStoragePolicy", reflect.TypeOf((*AgentVsanStoragePolicy)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:AgentVsanStoragePolicy", "7.0")
}
+// A boxed array of `AgencyVMFolder`. To be used in `Any` placeholders.
type ArrayOfAgencyVMFolder struct {
AgencyVMFolder []AgencyVMFolder `xml:"AgencyVMFolder,omitempty" json:"_value"`
}
@@ -341,6 +828,7 @@ func init() {
types.Add("eam:ArrayOfAgencyVMFolder", reflect.TypeOf((*ArrayOfAgencyVMFolder)(nil)).Elem())
}
+// A boxed array of `AgencyVMResourcePool`. To be used in `Any` placeholders.
type ArrayOfAgencyVMResourcePool struct {
AgencyVMResourcePool []AgencyVMResourcePool `xml:"AgencyVMResourcePool,omitempty" json:"_value"`
}
@@ -349,6 +837,7 @@ func init() {
types.Add("eam:ArrayOfAgencyVMResourcePool", reflect.TypeOf((*ArrayOfAgencyVMResourcePool)(nil)).Elem())
}
+// A boxed array of `AgentConfigInfo`. To be used in `Any` placeholders.
type ArrayOfAgentConfigInfo struct {
AgentConfigInfo []AgentConfigInfo `xml:"AgentConfigInfo,omitempty" json:"_value"`
}
@@ -357,6 +846,7 @@ func init() {
types.Add("eam:ArrayOfAgentConfigInfo", reflect.TypeOf((*ArrayOfAgentConfigInfo)(nil)).Elem())
}
+// A boxed array of `AgentOvfEnvironmentInfoOvfProperty`. To be used in `Any` placeholders.
type ArrayOfAgentOvfEnvironmentInfoOvfProperty struct {
AgentOvfEnvironmentInfoOvfProperty []AgentOvfEnvironmentInfoOvfProperty `xml:"AgentOvfEnvironmentInfoOvfProperty,omitempty" json:"_value"`
}
@@ -365,6 +855,7 @@ func init() {
types.Add("eam:ArrayOfAgentOvfEnvironmentInfoOvfProperty", reflect.TypeOf((*ArrayOfAgentOvfEnvironmentInfoOvfProperty)(nil)).Elem())
}
+// A boxed array of `AgentStoragePolicy`. To be used in `Any` placeholders.
type ArrayOfAgentStoragePolicy struct {
AgentStoragePolicy []BaseAgentStoragePolicy `xml:"AgentStoragePolicy,omitempty,typeattr" json:"_value"`
}
@@ -373,6 +864,7 @@ func init() {
types.Add("eam:ArrayOfAgentStoragePolicy", reflect.TypeOf((*ArrayOfAgentStoragePolicy)(nil)).Elem())
}
+// A boxed array of `AgentVibMatchingRule`. To be used in `Any` placeholders.
type ArrayOfAgentVibMatchingRule struct {
AgentVibMatchingRule []AgentVibMatchingRule `xml:"AgentVibMatchingRule,omitempty" json:"_value"`
}
@@ -381,6 +873,7 @@ func init() {
types.Add("eam:ArrayOfAgentVibMatchingRule", reflect.TypeOf((*ArrayOfAgentVibMatchingRule)(nil)).Elem())
}
+// A boxed array of `HooksHookInfo`. To be used in `Any` placeholders.
type ArrayOfHooksHookInfo struct {
HooksHookInfo []HooksHookInfo `xml:"HooksHookInfo,omitempty" json:"_value"`
}
@@ -389,6 +882,7 @@ func init() {
types.Add("eam:ArrayOfHooksHookInfo", reflect.TypeOf((*ArrayOfHooksHookInfo)(nil)).Elem())
}
+// A boxed array of `Issue`. To be used in `Any` placeholders.
type ArrayOfIssue struct {
Issue []BaseIssue `xml:"Issue,omitempty,typeattr" json:"_value"`
}
@@ -397,6 +891,7 @@ func init() {
types.Add("eam:ArrayOfIssue", reflect.TypeOf((*ArrayOfIssue)(nil)).Elem())
}
+// A boxed array of `SolutionsHookConfig`. To be used in `Any` placeholders.
type ArrayOfSolutionsHookConfig struct {
SolutionsHookConfig []SolutionsHookConfig `xml:"SolutionsHookConfig,omitempty" json:"_value"`
}
@@ -405,14 +900,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsHookConfig", reflect.TypeOf((*ArrayOfSolutionsHookConfig)(nil)).Elem())
}
-type ArrayOfSolutionsHostApplicationResult struct {
- SolutionsHostApplicationResult []SolutionsHostApplicationResult `xml:"SolutionsHostApplicationResult,omitempty" json:"_value"`
-}
-
-func init() {
- types.Add("eam:ArrayOfSolutionsHostApplicationResult", reflect.TypeOf((*ArrayOfSolutionsHostApplicationResult)(nil)).Elem())
-}
-
+// A boxed array of `SolutionsHostComplianceResult`. To be used in `Any` placeholders.
type ArrayOfSolutionsHostComplianceResult struct {
SolutionsHostComplianceResult []SolutionsHostComplianceResult `xml:"SolutionsHostComplianceResult,omitempty" json:"_value"`
}
@@ -421,6 +909,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsHostComplianceResult", reflect.TypeOf((*ArrayOfSolutionsHostComplianceResult)(nil)).Elem())
}
+// A boxed array of `SolutionsOvfProperty`. To be used in `Any` placeholders.
type ArrayOfSolutionsOvfProperty struct {
SolutionsOvfProperty []SolutionsOvfProperty `xml:"SolutionsOvfProperty,omitempty" json:"_value"`
}
@@ -429,14 +918,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsOvfProperty", reflect.TypeOf((*ArrayOfSolutionsOvfProperty)(nil)).Elem())
}
-type ArrayOfSolutionsSolutionApplicationResult struct {
- SolutionsSolutionApplicationResult []SolutionsSolutionApplicationResult `xml:"SolutionsSolutionApplicationResult,omitempty" json:"_value"`
-}
-
-func init() {
- types.Add("eam:ArrayOfSolutionsSolutionApplicationResult", reflect.TypeOf((*ArrayOfSolutionsSolutionApplicationResult)(nil)).Elem())
-}
-
+// A boxed array of `SolutionsSolutionComplianceResult`. To be used in `Any` placeholders.
type ArrayOfSolutionsSolutionComplianceResult struct {
SolutionsSolutionComplianceResult []SolutionsSolutionComplianceResult `xml:"SolutionsSolutionComplianceResult,omitempty" json:"_value"`
}
@@ -445,6 +927,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsSolutionComplianceResult", reflect.TypeOf((*ArrayOfSolutionsSolutionComplianceResult)(nil)).Elem())
}
+// A boxed array of `SolutionsSolutionConfig`. To be used in `Any` placeholders.
type ArrayOfSolutionsSolutionConfig struct {
SolutionsSolutionConfig []SolutionsSolutionConfig `xml:"SolutionsSolutionConfig,omitempty" json:"_value"`
}
@@ -453,6 +936,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsSolutionConfig", reflect.TypeOf((*ArrayOfSolutionsSolutionConfig)(nil)).Elem())
}
+// A boxed array of `SolutionsSolutionValidationResult`. To be used in `Any` placeholders.
type ArrayOfSolutionsSolutionValidationResult struct {
SolutionsSolutionValidationResult []SolutionsSolutionValidationResult `xml:"SolutionsSolutionValidationResult,omitempty" json:"_value"`
}
@@ -461,6 +945,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsSolutionValidationResult", reflect.TypeOf((*ArrayOfSolutionsSolutionValidationResult)(nil)).Elem())
}
+// A boxed array of `SolutionsStoragePolicy`. To be used in `Any` placeholders.
type ArrayOfSolutionsStoragePolicy struct {
SolutionsStoragePolicy []BaseSolutionsStoragePolicy `xml:"SolutionsStoragePolicy,omitempty,typeattr" json:"_value"`
}
@@ -469,14 +954,7 @@ func init() {
types.Add("eam:ArrayOfSolutionsStoragePolicy", reflect.TypeOf((*ArrayOfSolutionsStoragePolicy)(nil)).Elem())
}
-type ArrayOfSolutionsTransitionInfo struct {
- SolutionsTransitionInfo []SolutionsTransitionInfo `xml:"SolutionsTransitionInfo,omitempty" json:"_value"`
-}
-
-func init() {
- types.Add("eam:ArrayOfSolutionsTransitionInfo", reflect.TypeOf((*ArrayOfSolutionsTransitionInfo)(nil)).Elem())
-}
-
+// A boxed array of `VibVibInfo`. To be used in `Any` placeholders.
type ArrayOfVibVibInfo struct {
VibVibInfo []VibVibInfo `xml:"VibVibInfo,omitempty" json:"_value"`
}
@@ -485,9 +963,21 @@ func init() {
types.Add("eam:ArrayOfVibVibInfo", reflect.TypeOf((*ArrayOfVibVibInfo)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent virtual machine
+// cannot be deployed because the vSphere ESX Agent Manager is unable to access the OVF
+// package for the agent.
+//
+// This typically happens because the Web server providing the
+// OVF package is down. The Web server is often internal to the solution
+// that created the Agency.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeploys the agent.
+//
+// This structure may be used only with operations rendered under `/eam`.
type CannotAccessAgentOVF struct {
VmNotDeployed
+ // The URL from which the OVF could not be downloaded.
DownloadUrl string `xml:"downloadUrl" json:"downloadUrl"`
}
@@ -495,9 +985,21 @@ func init() {
types.Add("eam:CannotAccessAgentOVF", reflect.TypeOf((*CannotAccessAgentOVF)(nil)).Elem())
}
+// An agent VIB module is expected to be deployed on a host, but the VIM module
+// cannot be deployed because the vSphere ESX Agent Manager is unable to access the VIB
+// package for the agent.
+//
+// This typically happens because the Web server providing the
+// VIB package is down. The Web server is often internal to the solution
+// that created the Agency.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager reinstalls the VIB module.
+//
+// This structure may be used only with operations rendered under `/eam`.
type CannotAccessAgentVib struct {
VibNotInstalled
+ // The URL from which the VIB package could not be downloaded.
DownloadUrl string `xml:"downloadUrl" json:"downloadUrl"`
}
@@ -505,122 +1007,350 @@ func init() {
types.Add("eam:CannotAccessAgentVib", reflect.TypeOf((*CannotAccessAgentVib)(nil)).Elem())
}
+// This exception is thrown if the certificate provided by the
+// provider is not trusted.
+//
+// This structure may be used only with operations rendered under `/sms`.
+type CertificateNotTrusted struct {
+ AgentIssue
+
+ Url string `xml:"url" json:"url"`
+}
+
+func init() {
+ types.Add("eam:CertificateNotTrusted", reflect.TypeOf((*CertificateNotTrusted)(nil)).Elem())
+}
+
+// An CertificateNotTrusted fault is thrown when an Agency's configuration
+// contains OVF package URL or VIB URL for that vSphere ESX Agent Manager is not
+// able to make successful SSL trust verification of the server's certificate.
+//
+// Reasons for this might be that the certificate provided via the API
+// `Agent.ConfigInfo.ovfSslTrust` and `Agent.ConfigInfo.vibSslTrust`
+// or via the script /usr/lib/vmware-eam/bin/eam-utility.py
+// - is invalid.
+// - does not match the server's certificate.
+//
+// If there is no provided certificate, the fault is thrown when the server's
+// certificate is not trusted by the system or is invalid - @see
+// `Agent.ConfigInfo.ovfSslTrust` and
+// `Agent.ConfigInfo.vibSslTrust`.
+// To enable Agency creation 1) provide a valid certificate used by the
+// server hosting the `Agent.ConfigInfo.ovfPackageUrl` or
+// `Agent.ConfigInfo#vibUrl` or 2) ensure the server's certificate is
+// signed by a CA trusted by the system. Then retry the operation, vSphere
+// ESX Agent Manager will retry the SSL trust verification and proceed with
+// reaching the desired state.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type CertificateNotTrustedFault struct {
+ EamAppFault
+
+ // The URL that failed the SSL trust verification.
+ Url string `xml:"url,omitempty" json:"url,omitempty"`
+}
+
+func init() {
+ types.Add("eam:CertificateNotTrustedFault", reflect.TypeOf((*CertificateNotTrustedFault)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:CertificateNotTrustedFault", "8.2")
+}
+
+// Base class for all cluster bound agents.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentAgentIssue struct {
AgencyIssue
- Agent types.ManagedObjectReference `xml:"agent" json:"agent"`
+ // The agent that has this issue.
+ //
+ // Refers instance of `Agent`.
+ Agent types.ManagedObjectReference `xml:"agent" json:"agent"`
+ // The cluster for which this issue is raised.
+ //
+ // Migth be null if the cluster
+ // is missing in vCenter Server inventory.
+ //
+ // Refers instance of `ComputeResource`.
Cluster *types.ManagedObjectReference `xml:"cluster,omitempty" json:"cluster,omitempty"`
}
func init() {
types.Add("eam:ClusterAgentAgentIssue", reflect.TypeOf((*ClusterAgentAgentIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentAgentIssue", "6.9")
+}
+
+// The cluster agent Virtual Machine cannot be deployed, because vSphere ESX
+// Agent Manager is not able to make successful SSL trust verification of the
+// server's certificate, when establishing connection to the provided
+// `Agent.ConfigInfo#ovfPackageUrl`.
+//
+// Reasons for this might be that the
+// certificate provided via the API `Agent.ConfigInfo.ovfSslTrust` or via
+// the script /usr/lib/vmware-eam/bin/eam-utility.py
+// - is invalid.
+// - does not match the server's certificate.
+//
+// If there is no provided certificate, the issue is raised when the server's
+// certificate is not trusted by the system or invalid - @see
+// `Agent.ConfigInfo.ovfSslTrust`.
+// To remediate the cluster agent Virtual Machine deployment 1) provide a valid
+// certificate used by the server hosting the
+// `Agent.ConfigInfo.ovfPackageUrl` or 2) ensure the server's certificate
+// is signed by a CA trusted by the system. Then resolve this issue, vSphere ESX
+// Agent Manager will retry the SSL trust verification and proceed with reaching
+// the desired state.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type ClusterAgentCertificateNotTrusted struct {
+ ClusterAgentVmNotDeployed
+
+ // The URL that failed the SSL trust verification.
+ Url string `xml:"url" json:"url"`
}
+func init() {
+ types.Add("eam:ClusterAgentCertificateNotTrusted", reflect.TypeOf((*ClusterAgentCertificateNotTrusted)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentCertificateNotTrusted", "8.2")
+}
+
+// The cluster agent Virtual Machine could not be powered-on, because the
+// cluster does not have enough CPU or memory resources.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers on the agent Virtual Machine. However, the problem is likely to
+// persist until enough CPU and memory resources are made available.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentInsufficientClusterResources struct {
ClusterAgentVmPoweredOff
}
func init() {
types.Add("eam:ClusterAgentInsufficientClusterResources", reflect.TypeOf((*ClusterAgentInsufficientClusterResources)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentInsufficientClusterResources", "6.9")
}
+// The cluster agent Virtual Machine cannot be deployed, because any of the
+// configured datastores does not have enough disk space.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// redeploys the agent Virtual Machine. However, the problem is likely to
+// persist until enough disk space is freed up on the cluster datastore.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentInsufficientClusterSpace struct {
ClusterAgentVmNotDeployed
}
func init() {
types.Add("eam:ClusterAgentInsufficientClusterSpace", reflect.TypeOf((*ClusterAgentInsufficientClusterSpace)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentInsufficientClusterSpace", "6.9")
+}
+
+// Invalid configuration is preventing a cluster agent virtual machine
+// operation.
+//
+// Typically the attached error indicates the particular reason why
+// vSphere ESX Agent Manager is unable to power on or reconfigure the agent
+// virtual machine.
+//
+// This is a passive remediable issue. To remediate update the virtual machine
+// configuration.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentInvalidConfig struct {
ClusterAgentVmIssue
+ // The error, that caused this issue.
+ //
+ // It must be either MethodFault or
+ // RuntimeFault.
Error types.AnyType `xml:"error,typeattr" json:"error"`
}
func init() {
types.Add("eam:ClusterAgentInvalidConfig", reflect.TypeOf((*ClusterAgentInvalidConfig)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentInvalidConfig", "6.9")
+}
+
+// The cluster agent Virtual Machine cannot be deployed, because any of the
+// configured datastores does not exist on the cluster.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// redeploys the agent Virtual Machine. However, the problem is likely to
+// persist until required Virtual Machine datastores are configured on the
+// cluster.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentMissingClusterVmDatastore struct {
ClusterAgentVmNotDeployed
+ // A non-empty array of cluster agent VM datastores that are missing on the
+ // cluster.
+ //
+ // Refers instances of `Datastore`.
MissingDatastores []types.ManagedObjectReference `xml:"missingDatastores,omitempty" json:"missingDatastores,omitempty"`
}
func init() {
types.Add("eam:ClusterAgentMissingClusterVmDatastore", reflect.TypeOf((*ClusterAgentMissingClusterVmDatastore)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentMissingClusterVmDatastore", "6.9")
+}
+
+// The cluster agent Virtual Machine cannot be deployed, because the configured
+// networks do not exist on the cluster.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// redeploys the agent Virtual Machine. However, the problem is likely to
+// persist until required Virtual Machine networks are configured on the
+// cluster.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentMissingClusterVmNetwork struct {
ClusterAgentVmNotDeployed
+ // A non-empty array of cluster agent VM networks that are required on the
+ // cluster.
+ //
+ // Refers instances of `Network`.
MissingNetworks []types.ManagedObjectReference `xml:"missingNetworks,omitempty" json:"missingNetworks,omitempty"`
- NetworkNames []string `xml:"networkNames,omitempty" json:"networkNames,omitempty"`
+ // The names of the cluster agent VM networks.
+ NetworkNames []string `xml:"networkNames,omitempty" json:"networkNames,omitempty"`
}
func init() {
types.Add("eam:ClusterAgentMissingClusterVmNetwork", reflect.TypeOf((*ClusterAgentMissingClusterVmNetwork)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentMissingClusterVmNetwork", "6.9")
}
+// A cluster agent virtual machine needs to be provisioned, but an OVF property
+// is either missing or has an invalid value.
+//
+// This is a passive remediable issue. To remediate, update the OVF environment
+// in the agent configuration used to provision the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentOvfInvalidProperty struct {
ClusterAgentAgentIssue
+ // An optional list of errors that caused this issue.
+ //
+ // These errors are
+ // generated by the vCenter server.
Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
types.Add("eam:ClusterAgentOvfInvalidProperty", reflect.TypeOf((*ClusterAgentOvfInvalidProperty)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentOvfInvalidProperty", "6.9")
}
+// Base class for all cluster bound Virtual Machines.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmIssue struct {
ClusterAgentAgentIssue
+ // The Virtual Machine to which this issue is related.
+ //
+ // Refers instance of `VirtualMachine`.
Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
types.Add("eam:ClusterAgentVmIssue", reflect.TypeOf((*ClusterAgentVmIssue)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmIssue", "6.9")
+}
+
+// A cluster agent Virtual Machine is expected to be deployed on a cluster, but
+// the cluster agent Virtual Machine has not been deployed or has been exlicitly
+// deleted from the cluster.
+//
+// Typically more specific issue (a subclass of this
+// issue) indicates the particular reason why vSphere ESX Agent Manager was
+// unable to deploy the cluster agent Virtual Machine.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// redeploys the cluster agent Virtual Machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmNotDeployed struct {
ClusterAgentAgentIssue
}
func init() {
types.Add("eam:ClusterAgentVmNotDeployed", reflect.TypeOf((*ClusterAgentVmNotDeployed)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmNotDeployed", "6.9")
+}
+
+// The cluster agent Virtual Machine can not be removed from a cluster.
+//
+// Typically the description indicates the particular reason why vSphere ESX
+// Agent Manager was unable to remove the cluster agent Virtual Machine.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// removes the cluster agent Virtual Machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmNotRemoved struct {
ClusterAgentVmIssue
}
func init() {
types.Add("eam:ClusterAgentVmNotRemoved", reflect.TypeOf((*ClusterAgentVmNotRemoved)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmNotRemoved", "6.9")
+}
+
+// A cluster agent Virtual Machine is expected to be powered on, but the agent
+// Virtual Machine is powered off.
+//
+// Typically more specific issue (a subclass of
+// this issue) indicates the particular reason why vSphere ESX Agent Manager was
+// unable to power on the cluster agent Virtual Machine.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers on the cluster agent Virtual Machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmPoweredOff struct {
ClusterAgentVmIssue
}
func init() {
types.Add("eam:ClusterAgentVmPoweredOff", reflect.TypeOf((*ClusterAgentVmPoweredOff)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmPoweredOff", "6.9")
}
+// A cluster agent virtual machine is expected to be powered off, but the agent
+// virtual machine is powered on.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers off the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmPoweredOn struct {
ClusterAgentVmIssue
}
func init() {
types.Add("eam:ClusterAgentVmPoweredOn", reflect.TypeOf((*ClusterAgentVmPoweredOn)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmPoweredOn", "6.9")
}
+// A cluster agent Virtual Machine is expected to be powered on, but the agent
+// Virtual Machine is suspended.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers on the cluster agent Virtual Machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ClusterAgentVmSuspended struct {
ClusterAgentVmIssue
}
func init() {
types.Add("eam:ClusterAgentVmSuspended", reflect.TypeOf((*ClusterAgentVmSuspended)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ClusterAgentVmSuspended", "6.9")
}
type CreateAgency CreateAgencyRequestType
@@ -629,10 +1359,18 @@ func init() {
types.Add("eam:CreateAgency", reflect.TypeOf((*CreateAgency)(nil)).Elem())
}
+// The parameters of `EsxAgentManager.CreateAgency`.
type CreateAgencyRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- AgencyConfigInfo BaseAgencyConfigInfo `xml:"agencyConfigInfo,typeattr" json:"agencyConfigInfo"`
- InitialGoalState string `xml:"initialGoalState" json:"initialGoalState"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The configuration that describes how to deploy the agents in the
+ // created agency.
+ AgencyConfigInfo BaseAgencyConfigInfo `xml:"agencyConfigInfo,typeattr" json:"agencyConfigInfo"`
+ // Deprecated. No sence to create agency in other state than
+ // enabled
. disabled
is deprecated
+ // whereas uninstalled
is useless.
+ // The initial goal state of the agency. See
+ // `EamObjectRuntimeInfoGoalState_enum`.
+ InitialGoalState string `xml:"initialGoalState" json:"initialGoalState"`
}
func init() {
@@ -660,22 +1398,42 @@ func init() {
type DestroyAgencyResponse struct {
}
+// Thrown when trying to modify state over disabled clusters.
+//
+// This structure may be used only with operations rendered under `/eam`.
type DisabledClusterFault struct {
EamAppFault
+ // The MoRefs of the disabled compute resources.
+ //
+ // Refers instances of `ComputeResource`.
DisabledComputeResource []types.ManagedObjectReference `xml:"disabledComputeResource,omitempty" json:"disabledComputeResource,omitempty"`
}
func init() {
types.Add("eam:DisabledClusterFault", reflect.TypeOf((*DisabledClusterFault)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:DisabledClusterFault", "7.6")
+}
+
+// Application related error
+// As opposed to system errors, application ones are always function of the
+// input and the current state.
+//
+// They occur always upon same conditions. In most
+// of the cases they are recoverable, i.e. the client can determine what is
+// wrong and know how to recover.
+// NOTE: Since there is not yet need to distinguish among specific error
+// sub-types then we define a common type. Tomorrow, if necessary, we can add an
+// additional level of detailed exception types and make this one abstract.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamAppFault struct {
EamRuntimeFault
}
func init() {
types.Add("eam:EamAppFault", reflect.TypeOf((*EamAppFault)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EamAppFault", "6.0")
}
type EamAppFaultFault BaseEamAppFault
@@ -684,6 +1442,11 @@ func init() {
types.Add("eam:EamAppFaultFault", reflect.TypeOf((*EamAppFaultFault)(nil)).Elem())
}
+// The common base type for all vSphere ESX Agent Manager exceptions.
+//
+// # TODO migrate to EamRuntimeFault
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamFault struct {
types.MethodFault
}
@@ -698,12 +1461,21 @@ func init() {
types.Add("eam:EamFaultFault", reflect.TypeOf((*EamFaultFault)(nil)).Elem())
}
+// IO error
+// NOTE: Since this type is a first of system-type errors we do not introduce a
+// common base type for them.
+//
+// Once add a second system type exception though, it
+// should be introduced.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamIOFault struct {
EamRuntimeFault
}
func init() {
types.Add("eam:EamIOFault", reflect.TypeOf((*EamIOFault)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EamIOFault", "6.0")
}
type EamIOFaultFault EamIOFault
@@ -712,6 +1484,9 @@ func init() {
types.Add("eam:EamIOFaultFault", reflect.TypeOf((*EamIOFaultFault)(nil)).Elem())
}
+// Thrown when a user cannot be authenticated.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamInvalidLogin struct {
EamRuntimeFault
}
@@ -726,14 +1501,21 @@ func init() {
types.Add("eam:EamInvalidLoginFault", reflect.TypeOf((*EamInvalidLoginFault)(nil)).Elem())
}
+// Thrown when a user is not allowed to execute an operation.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamInvalidState struct {
EamAppFault
}
func init() {
types.Add("eam:EamInvalidState", reflect.TypeOf((*EamInvalidState)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EamInvalidState", "7.1")
}
+// Indicates for an invalid or unknown Vib package structure and/or format.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamInvalidVibPackage struct {
EamRuntimeFault
}
@@ -748,19 +1530,48 @@ func init() {
types.Add("eam:EamInvalidVibPackageFault", reflect.TypeOf((*EamInvalidVibPackageFault)(nil)).Elem())
}
+// The RuntimeInfo
represents the runtime information of the vSphere ESX Agent
+// Manager managed
+// objects `Agency` and `Agent`.
+//
+// The runtime information provides
+// two kinds of information, namely, the
+// desired goal state of the entity and the status with regards to conforming
+// to that goal state.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamObjectRuntimeInfo struct {
types.DynamicData
- Status string `xml:"status" json:"status"`
- Issue []BaseIssue `xml:"issue,omitempty,typeattr" json:"issue,omitempty"`
- GoalState string `xml:"goalState" json:"goalState"`
- Entity types.ManagedObjectReference `xml:"entity" json:"entity"`
+ // The health of the managed entity.
+ //
+ // This denotes how well the entity conforms to the
+ // goal state.
+ //
+ // See also `EamObjectRuntimeInfoStatus_enum`.
+ Status string `xml:"status" json:"status"`
+ // Current issues that have been detected for this entity.
+ //
+ // Each issue can be remediated
+ // by invoking `EamObject.Resolve` or `EamObject.ResolveAll`.
+ Issue []BaseIssue `xml:"issue,omitempty,typeattr" json:"issue,omitempty"`
+ // The desired state of the entity.
+ //
+ // See also `EamObjectRuntimeInfoGoalState_enum`.
+ GoalState string `xml:"goalState" json:"goalState"`
+ // The `Agent` or `Agency` with which this RuntimeInfo
object is associated.
+ //
+ // Refers instance of `EamObject`.
+ Entity types.ManagedObjectReference `xml:"entity" json:"entity"`
}
func init() {
types.Add("eam:EamObjectRuntimeInfo", reflect.TypeOf((*EamObjectRuntimeInfo)(nil)).Elem())
}
+// The common base type for all vSphere ESX Agent Manager runtime exceptions.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamRuntimeFault struct {
types.RuntimeFault
}
@@ -775,12 +1586,17 @@ func init() {
types.Add("eam:EamRuntimeFaultFault", reflect.TypeOf((*EamRuntimeFaultFault)(nil)).Elem())
}
+// Thrown when calling vSphere ESX Agent Manager when it is not fully
+// initialized.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamServiceNotInitialized struct {
EamRuntimeFault
}
func init() {
types.Add("eam:EamServiceNotInitialized", reflect.TypeOf((*EamServiceNotInitialized)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EamServiceNotInitialized", "6.5")
}
type EamServiceNotInitializedFault EamServiceNotInitialized
@@ -789,12 +1605,16 @@ func init() {
types.Add("eam:EamServiceNotInitializedFault", reflect.TypeOf((*EamServiceNotInitializedFault)(nil)).Elem())
}
+// System fault.
+//
+// This structure may be used only with operations rendered under `/eam`.
type EamSystemFault struct {
EamRuntimeFault
}
func init() {
types.Add("eam:EamSystemFault", reflect.TypeOf((*EamSystemFault)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:EamSystemFault", "6.5")
}
type EamSystemFaultFault EamSystemFault
@@ -803,18 +1623,38 @@ func init() {
types.Add("eam:EamSystemFaultFault", reflect.TypeOf((*EamSystemFaultFault)(nil)).Elem())
}
+// Extensible issue class used by solutions to add custom issues to agents.
+//
+// When resolved, the issue is removed from the agent and an event is generated.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ExtensibleIssue struct {
Issue
- TypeId string `xml:"typeId" json:"typeId"`
- Argument []types.KeyAnyValue `xml:"argument,omitempty" json:"argument,omitempty"`
- Target *types.ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty"`
- Agent *types.ManagedObjectReference `xml:"agent,omitempty" json:"agent,omitempty"`
- Agency *types.ManagedObjectReference `xml:"agency,omitempty" json:"agency,omitempty"`
+ // Unique string for this type of issue.
+ //
+ // The type must match an event registered
+ // by the solution as part of its extension.
+ TypeId string `xml:"typeId" json:"typeId"`
+ // Arguments associated with the typeId.
+ Argument []types.KeyAnyValue `xml:"argument,omitempty" json:"argument,omitempty"`
+ // A managed object reference to the object this issue is related to.
+ //
+ // Refers instance of `ManagedEntity`.
+ Target *types.ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty"`
+ // An optional agent this issue pertains
+ //
+ // Refers instance of `Agent`.
+ Agent *types.ManagedObjectReference `xml:"agent,omitempty" json:"agent,omitempty"`
+ // An optional agency this issue pertains
+ //
+ // Refers instance of `Agency`.
+ Agency *types.ManagedObjectReference `xml:"agency,omitempty" json:"agency,omitempty"`
}
func init() {
types.Add("eam:ExtensibleIssue", reflect.TypeOf((*ExtensibleIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ExtensibleIssue", "2.0")
}
type GetMaintenanceModePolicyRequestType struct {
@@ -825,42 +1665,85 @@ func init() {
types.Add("eam:GetMaintenanceModePolicyRequestType", reflect.TypeOf((*GetMaintenanceModePolicyRequestType)(nil)).Elem())
}
+// Contains information for a raised hook.
+//
+// This structure may be used only with operations rendered under `/eam`.
type HooksHookInfo struct {
types.DynamicData
- Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
- Solution string `xml:"solution" json:"solution"`
- HookType string `xml:"hookType" json:"hookType"`
- RaisedAt time.Time `xml:"raisedAt" json:"raisedAt"`
+ // Virtual Machine, the hook was raised for.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
+ // Solution the Virtual Machine belongs to.
+ Solution string `xml:"solution" json:"solution"`
+ // Type of the hook `HooksHookType_enum`.
+ HookType string `xml:"hookType" json:"hookType"`
+ // Time the hook was raised.
+ RaisedAt time.Time `xml:"raisedAt" json:"raisedAt"`
}
func init() {
types.Add("eam:HooksHookInfo", reflect.TypeOf((*HooksHookInfo)(nil)).Elem())
}
+// Limits the hooks reported to the user.
+//
+// This structure may be used only with operations rendered under `/eam`.
type HooksHookListSpec struct {
types.DynamicData
- Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
- Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
+ // If specified - will report hooks only for agents from the specified
+ // solutions, otherwise - will report hooks for agents from all solutions.
+ Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
+ // If specified - will report hooks only for agents on the specified
+ // hosts, otherwise - will report hooks for agents on all hosts.
+ //
+ // Refers instances of `HostSystem`.
+ Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
}
func init() {
types.Add("eam:HooksHookListSpec", reflect.TypeOf((*HooksHookListSpec)(nil)).Elem())
}
-type HooksHookProcessSpec struct {
+// Specification for marking a raised hook on an agent Virtual Machine as
+// processed.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type HooksMarkAsProcessedSpec struct {
types.DynamicData
- Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
- HookType string `xml:"hookType" json:"hookType"`
- ProcessingResult string `xml:"processingResult" json:"processingResult"`
-}
-
-func init() {
- types.Add("eam:HooksHookProcessSpec", reflect.TypeOf((*HooksHookProcessSpec)(nil)).Elem())
-}
-
+ // Virtual Machine to mark a hook as processed.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
+ // Type of hook to be marked as processed `HooksHookType_enum`.
+ HookType string `xml:"hookType" json:"hookType"`
+ // `True` - if the hook was processed successfully, `False` -
+ // if the hook could not be processed.
+ Success bool `xml:"success" json:"success"`
+}
+
+func init() {
+ types.Add("eam:HooksMarkAsProcessedSpec", reflect.TypeOf((*HooksMarkAsProcessedSpec)(nil)).Elem())
+}
+
+// An agent virtual machine operation is expected to be initiated on host, but
+// the agent virtual machine operation has not been initiated.
+//
+// The reason is
+// that the host is in maintenance mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// takes the host out of maintenance mode and initiates the agent virtual
+// machine operation.
+//
+// Resolving this issue in vSphere Lifecyle Manager environemnt will be no-op.
+// In those cases user must take the host out of Maintenance Mode manually or
+// wait vSphere Lifecycle Maanger cluster remediation to complete (if any).
+//
+// This structure may be used only with operations rendered under `/eam`.
type HostInMaintenanceMode struct {
VmDeployed
}
@@ -869,6 +1752,15 @@ func init() {
types.Add("eam:HostInMaintenanceMode", reflect.TypeOf((*HostInMaintenanceMode)(nil)).Elem())
}
+// An agent virtual machine is expected to be removed from a host, but the agent virtual machine has not
+// been removed.
+//
+// The reason is that the host is in standby mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager puts the host in standby mode
+// and removes the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type HostInStandbyMode struct {
VmDeployed
}
@@ -877,9 +1769,17 @@ func init() {
types.Add("eam:HostInStandbyMode", reflect.TypeOf((*HostInStandbyMode)(nil)).Elem())
}
+// Deprecated all host issues were removed.
+//
+// Base class for all host issues.
+//
+// This structure may be used only with operations rendered under `/eam`.
type HostIssue struct {
Issue
+ // The host to which the issue is related.
+ //
+ // Refers instance of `HostSystem`.
Host types.ManagedObjectReference `xml:"host" json:"host"`
}
@@ -887,6 +1787,18 @@ func init() {
types.Add("eam:HostIssue", reflect.TypeOf((*HostIssue)(nil)).Elem())
}
+// Deprecated hostPoweredOff will no longer be used, instead
+// `ManagedHostNotReachable` will be raised.
+//
+// An agent virtual machine is expected to be removed from a host, but the agent
+// virtual machine has not been removed.
+//
+// The reason is that the host is powered
+// off.
+//
+// This is not a remediable issue. To remediate, power on the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type HostPoweredOff struct {
VmDeployed
}
@@ -895,14 +1807,32 @@ func init() {
types.Add("eam:HostPoweredOff", reflect.TypeOf((*HostPoweredOff)(nil)).Elem())
}
+// Live VIB operation failed.
+//
+// An immediate reboot is required to clear live VIB
+// operation failure.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// puts the host into maintenance mode and reboots it.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ImmediateHostRebootRequired struct {
VibIssue
}
func init() {
types.Add("eam:ImmediateHostRebootRequired", reflect.TypeOf((*ImmediateHostRebootRequired)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ImmediateHostRebootRequired", "6.8")
}
+// An agent virtual machine is expected to be deployed on a host, but the agent could not be
+// deployed because it was incompatible with the host.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeployes the agent. However,
+// the problem is likely to persist until either the host or the solution has been
+// upgraded, so that the agent will become compatible with the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type IncompatibleHostVersion struct {
VmNotDeployed
}
@@ -911,9 +1841,22 @@ func init() {
types.Add("eam:IncompatibleHostVersion", reflect.TypeOf((*IncompatibleHostVersion)(nil)).Elem())
}
+// Deprecated this issue is no longer raised by EAM. It is replaced by
+// `InvalidConfig`.
+//
+// An agent virtual machine is expected to be powered on, but there are no free IP addresses in the
+// agent's pool of virtual machine IP addresses.
+//
+// To remediate, free some IP addresses or add some more to the IP pool and invoke
+// resolve
.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InsufficientIpAddresses struct {
VmPoweredOff
+ // The agent virtual machine network.
+ //
+ // Refers instance of `Network`.
Network types.ManagedObjectReference `xml:"network" json:"network"`
}
@@ -921,6 +1864,13 @@ func init() {
types.Add("eam:InsufficientIpAddresses", reflect.TypeOf((*InsufficientIpAddresses)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent virtual machine could not be
+// deployed because the host does not have enough free CPU or memory resources.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeploys the agent virtual machine. However,
+// the problem is likely to persist until enough CPU and memory resources are made available.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InsufficientResources struct {
VmNotDeployed
}
@@ -929,6 +1879,14 @@ func init() {
types.Add("eam:InsufficientResources", reflect.TypeOf((*InsufficientResources)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent virtual machine could not be
+// deployed because the host's agent datastore did not have enough free space.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeploys the agent virtual machine. However,
+// the problem is likely to persist until either space is freed up on the host's agent
+// virtual machine datastore or a new agent virtual machine datastore with enough free space is configured.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InsufficientSpace struct {
VmNotDeployed
}
@@ -937,41 +1895,84 @@ func init() {
types.Add("eam:InsufficientSpace", reflect.TypeOf((*InsufficientSpace)(nil)).Elem())
}
+// Cannot remove the Baseline associated with an Agency from VUM.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// retries the delete operation.
+// Note: In future this issue will denote also the removal of the Agency
+// software (VIBs) from VUM software depot once VUM provides an API for that.
+//
+// This structure may be used only with operations rendered under `/eam`.
type IntegrityAgencyCannotDeleteSoftware struct {
IntegrityAgencyVUMIssue
}
func init() {
types.Add("eam:IntegrityAgencyCannotDeleteSoftware", reflect.TypeOf((*IntegrityAgencyCannotDeleteSoftware)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:IntegrityAgencyCannotDeleteSoftware", "6.7")
+}
+
+// The software defined by an Agency cannot be staged in VUM.
+//
+// The staging
+// operation consists of the following steps:
+// - Upload the Agency software (VIBs) to the VUM depot.
+// - Create or update a VUM Baseline with the Agency software and scope.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// retries the stage operation.
+//
+// This structure may be used only with operations rendered under `/eam`.
type IntegrityAgencyCannotStageSoftware struct {
IntegrityAgencyVUMIssue
}
func init() {
types.Add("eam:IntegrityAgencyCannotStageSoftware", reflect.TypeOf((*IntegrityAgencyCannotStageSoftware)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:IntegrityAgencyCannotStageSoftware", "6.7")
}
+// Base class for all issues which occurred during EAM communication with
+// vSphere Update Manager (VUM).
+//
+// This structure may be used only with operations rendered under `/eam`.
type IntegrityAgencyVUMIssue struct {
AgencyIssue
}
func init() {
types.Add("eam:IntegrityAgencyVUMIssue", reflect.TypeOf((*IntegrityAgencyVUMIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:IntegrityAgencyVUMIssue", "6.7")
}
+// VUM service is not available - its registered SOAP endpoint cannot be
+// accessed or it is malfunctioning.
+//
+// This is an active and passive remediable issue. To remediate, vSphere ESX
+// Agent Manager retries to access VUM service.
+//
+// This structure may be used only with operations rendered under `/eam`.
type IntegrityAgencyVUMUnavailable struct {
IntegrityAgencyVUMIssue
}
func init() {
types.Add("eam:IntegrityAgencyVUMUnavailable", reflect.TypeOf((*IntegrityAgencyVUMUnavailable)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:IntegrityAgencyVUMUnavailable", "6.7")
}
+// An InvalidAgencyScope
fault is thrown when the scope in an
+// `AgencyConfigInfo` is invalid.
+//
+// See also `AgencyConfigInfo`.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InvalidAgencyScope struct {
EamFault
+ // The MoRefs of the unknown compute resources.
+ //
+ // Refers instances of `ComputeResource`.
UnknownComputeResource []types.ManagedObjectReference `xml:"unknownComputeResource,omitempty" json:"unknownComputeResource,omitempty"`
}
@@ -985,11 +1986,19 @@ func init() {
types.Add("eam:InvalidAgencyScopeFault", reflect.TypeOf((*InvalidAgencyScopeFault)(nil)).Elem())
}
+// An InvalidAgentConfiguration
fault is thrown when the agent
+// configuration of an agency configuration is empty or invalid.
+//
+// See also `AgencyConfigInfo`.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InvalidAgentConfiguration struct {
EamFault
+ // An optional invalid agent configuration.
InvalidAgentConfiguration *AgentConfigInfo `xml:"invalidAgentConfiguration,omitempty" json:"invalidAgentConfiguration,omitempty"`
- InvalidField string `xml:"invalidField,omitempty" json:"invalidField,omitempty"`
+ // The invalid field.
+ InvalidField string `xml:"invalidField,omitempty" json:"invalidField,omitempty"`
}
func init() {
@@ -1002,19 +2011,38 @@ func init() {
types.Add("eam:InvalidAgentConfigurationFault", reflect.TypeOf((*InvalidAgentConfigurationFault)(nil)).Elem())
}
+// Invalid configuration is preventing a virtual machine operation.
+//
+// Typically
+// the attached error indicates the particular reason why vSphere ESX Agent
+// Manager is unable to power on or reconfigure the agent virtual machine.
+//
+// This is a passive remediable issue. To remediate update the virtual machine
+// configuration.
+//
+// This structure may be used only with operations rendered under `/eam`.
type InvalidConfig struct {
VmIssue
+ // The error, that caused this issue.
+ //
+ // It must be either MethodFault or
+ // RuntimeFault.
Error types.AnyType `xml:"error,typeattr" json:"error"`
}
func init() {
types.Add("eam:InvalidConfig", reflect.TypeOf((*InvalidConfig)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:InvalidConfig", "6.9")
}
+// This exception is thrown if `VasaProviderSpec.url` is malformed.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidUrl struct {
EamFault
+ // Provider `VasaProviderSpec.url`
Url string `xml:"url" json:"url"`
MalformedUrl bool `xml:"malformedUrl" json:"malformedUrl"`
UnknownHost bool `xml:"unknownHost" json:"unknownHost"`
@@ -1032,24 +2060,132 @@ func init() {
types.Add("eam:InvalidUrlFault", reflect.TypeOf((*InvalidUrlFault)(nil)).Elem())
}
+// An issue represents a problem encountered while deploying and configurating agents
+// in a vCenter installation.
+//
+// An issue conveys the type of problem and the
+// entitity on which the problem has been encountered. Most issues are related to agents,
+// but they can also relate to an agency or a host.
+//
+// The set of issues provided by the vSphere ESX Agent Manager describes the discrepency between
+// the _desired_ agent deployment state, as defined by the agency configurations,
+// and the _actual_ deployment. The (@link EamObject.RuntimeInfo.Status.status)
+// of an agency or agent is green if it has reached its goal state. It is
+// marked as yellow if the vSphere ESX Agent Manager is actively working to bring the object
+// to its goal state. It is red if there is a discrepency between the current state and
+// the desired state. In the red state, a set of issues are filed on the object that
+// describe the reason for the discrepency between the desired and actual states.
+//
+// Issues are characterized as either active or passive remediable issues. For an active
+// remediable issue, the vSphere ESX Agent Manager can actively try to solve the issue. For
+// example, by deploying a new agent, removing an agent, changing its power state, and so
+// on. For a passive remediable issue, the vSphere ESX Agent Manager is not able to solve the
+// problem directly, and can only report the problem. For example, this could be
+// caused by an incomplete host configuration.
+//
+// When resolve
is called for an active remediable issue, the vSphere ESX Agent Manager
+// starts performing the appropiate remediation steps for the particular issue. For a passive
+// remediable issue, the EAM manager simply checks if the condition
+// still exists, and if not it removes the issue.
+//
+// The vSphere ESX Agent Manager actively monitors most conditions relating to both
+// active and passive issues. Thus, it often automatically discovers when an
+// issue has been remediated and removes the issue without needing to explicitly
+// call resolve
on an issue.
+//
+// The complete Issue hierarchy is shown below:
+// - `Issue`
+// - `AgencyIssue`
+// - `AgentIssue`
+// - `ManagedHostNotReachable`
+// - `VmNotDeployed`
+// - `CannotAccessAgentOVF`
+// - `IncompatibleHostVersion`
+// - `InsufficientResources`
+// - `InsufficientSpace`
+// - `OvfInvalidFormat`
+// - `NoAgentVmDatastore`
+// - `NoAgentVmNetwork`
+// - `VmIssue`
+// - `OvfInvalidProperty`
+// - `VmDeployed`
+// - `HostInMaintenanceMode`
+// - `HostInStandbyMode`
+// - `VmCorrupted`
+// - `VmOrphaned`
+// - `VmPoweredOff`
+// - `InsufficientIpAddresses`
+// - `MissingAgentIpPool`
+// - `VmPoweredOn`
+// - `VmSuspended`
+// - `VibIssue`
+// - `VibCannotPutHostInMaintenanceMode`
+// - `VibNotInstalled`
+// - `CannotAccessAgentVib`
+// - `VibDependenciesNotMetByHost`
+// - `VibInvalidFormat`
+// - `VibRequirementsNotMetByHost`
+// - `VibRequiresHostInMaintenanceMode`
+// - `VibRequiresHostReboot`
+// - `VibRequiresManualInstallation`
+// - `VibRequiresManualUninstallation`
+// - `ImmediateHostRebootRequired`
+// - `OrphanedAgency`
+// - `IntegrityAgencyVUMIssue`
+// - `IntegrityAgencyVUMUnavailable`
+// - `IntegrityAgencyCannotStageSoftware`
+// - `IntegrityAgencyCannotDeleteSoftware`
+// - `ClusterAgentAgentIssue`
+// - `ClusterAgentVmIssue`
+// - `ClusterAgentVmNotRemoved`
+// - `ClusterAgentVmPoweredOff`
+// - `ClusterAgentInsufficientClusterResources`
+// - `ClusterAgentVmNotDeployed`
+// - `ClusterAgentInsufficientClusterSpace`
+// - `ClusterAgentMissingClusterVmDatastore`
+// - `ClusterAgentMissingClusterVmNetwork`
+//
+// See also `EamObject.Resolve`, `EamObject.ResolveAll`.
+//
+// This structure may be used only with operations rendered under `/eam`.
type Issue struct {
types.DynamicData
- Key int32 `xml:"key" json:"key"`
- Description string `xml:"description" json:"description"`
- Time time.Time `xml:"time" json:"time"`
+ // A unique identifier per Issue
instance.
+ Key int32 `xml:"key" json:"key"`
+ // A localized message describing the issue.
+ Description string `xml:"description" json:"description"`
+ // The point in time when this issue was generated.
+ //
+ // Note that issues can be
+ // regenerated periodically, so this time does not neccessarily reflect the
+ // first time the issue was detected.
+ Time time.Time `xml:"time" json:"time"`
}
func init() {
types.Add("eam:Issue", reflect.TypeOf((*Issue)(nil)).Elem())
}
+// Managed ESXi Server is unreachable from vCenter Server or vSphere ESX Agent
+// Manager.
+//
+// Currently all operations on the affected host are imposible. Reasons
+// for this might be :
+// - ESXi Server is not connected from vCenter Server
+// - ESXi Server powered off
+//
+// This is not a remediable issue. To remediate, connect, power on or reboot the
+// host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type ManagedHostNotReachable struct {
AgentIssue
}
func init() {
types.Add("eam:ManagedHostNotReachable", reflect.TypeOf((*ManagedHostNotReachable)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:ManagedHostNotReachable", "6.8")
}
type MarkAsAvailable MarkAsAvailableRequestType
@@ -1069,9 +2205,21 @@ func init() {
type MarkAsAvailableResponse struct {
}
+// Deprecated this issue is no longer raised by EAM. It is replaced by
+// `InvalidConfig`.
+//
+// An agent virtual machine is expected to be powered on, but the agent virtual machine is powered off because
+// there there are no IP addresses defined on the agent's virtual machine network.
+//
+// To remediate, create an IP pool on the agent's virtual machine network and invoke resolve
.
+//
+// This structure may be used only with operations rendered under `/eam`.
type MissingAgentIpPool struct {
VmPoweredOff
+ // The agent virtual machine network.
+ //
+ // Refers instance of `Network`.
Network types.ManagedObjectReference `xml:"network" json:"network"`
}
@@ -1079,6 +2227,19 @@ func init() {
types.Add("eam:MissingAgentIpPool", reflect.TypeOf((*MissingAgentIpPool)(nil)).Elem())
}
+// Deprecated dvFilters are no longer supported by EAM.
+//
+// The agent is using the dvFilter API on the ESX host, but no dvFilter switch
+// has been configured on the host.
+//
+// This can happen due to host communication
+// failures or if the dvSwitch was (presumably accidentally) deleted from the
+// host configuration.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// recreates the dvFilter switch.
+//
+// This structure may be used only with operations rendered under `/eam`.
type MissingDvFilterSwitch struct {
AgentIssue
}
@@ -1087,6 +2248,13 @@ func init() {
types.Add("eam:MissingDvFilterSwitch", reflect.TypeOf((*MissingDvFilterSwitch)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent cannot be
+// deployed because the agent datastore has not been configured on the host.
+//
+// This is a passive remediable issue. The administrator must configure
+// the agent virtual machine datastore on the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoAgentVmDatastore struct {
VmNotDeployed
}
@@ -1095,6 +2263,13 @@ func init() {
types.Add("eam:NoAgentVmDatastore", reflect.TypeOf((*NoAgentVmDatastore)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent cannot be
+// deployed because the agent network has not been configured on the host.
+//
+// This is a passive remediable issue. The administrator must configure
+// the agent virtual machine network on the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoAgentVmNetwork struct {
VmNotDeployed
}
@@ -1103,6 +2278,9 @@ func init() {
types.Add("eam:NoAgentVmNetwork", reflect.TypeOf((*NoAgentVmNetwork)(nil)).Elem())
}
+// Thrown when calling vSphere ESX Agent Manager when it is not connected to the vCenter server.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoConnectionToVCenter struct {
EamRuntimeFault
}
@@ -1117,28 +2295,64 @@ func init() {
types.Add("eam:NoConnectionToVCenterFault", reflect.TypeOf((*NoConnectionToVCenterFault)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent cannot be
+// deployed because the agent datastore has not been configured on the host.
+//
+// The host
+// needs to be added to one of the datastores listed in customAgentVmDatastore.
+//
+// This is a passive remediable issue. The administrator must add one of the datastores
+// customAgentVmDatastore to the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoCustomAgentVmDatastore struct {
NoAgentVmDatastore
- CustomAgentVmDatastore []types.ManagedObjectReference `xml:"customAgentVmDatastore" json:"customAgentVmDatastore"`
- CustomAgentVmDatastoreName []string `xml:"customAgentVmDatastoreName" json:"customAgentVmDatastoreName"`
+ // A non-empty array of agent VM datastores that is required on the host.
+ //
+ // Refers instances of `Datastore`.
+ CustomAgentVmDatastore []types.ManagedObjectReference `xml:"customAgentVmDatastore" json:"customAgentVmDatastore"`
+ // The names of the agent VM datastores.
+ CustomAgentVmDatastoreName []string `xml:"customAgentVmDatastoreName" json:"customAgentVmDatastoreName"`
}
func init() {
types.Add("eam:NoCustomAgentVmDatastore", reflect.TypeOf((*NoCustomAgentVmDatastore)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent cannot be
+// deployed because the agent network has not been configured on the host.
+//
+// The host
+// needs to be added to one of the networks listed in customAgentVmNetwork.
+//
+// This is a passive remediable issue. The administrator must add one of the networks
+// customAgentVmNetwork to the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoCustomAgentVmNetwork struct {
NoAgentVmNetwork
- CustomAgentVmNetwork []types.ManagedObjectReference `xml:"customAgentVmNetwork" json:"customAgentVmNetwork"`
- CustomAgentVmNetworkName []string `xml:"customAgentVmNetworkName" json:"customAgentVmNetworkName"`
+ // A non-empty array of agent VM networks that is required on the host.
+ //
+ // Refers instances of `Network`.
+ CustomAgentVmNetwork []types.ManagedObjectReference `xml:"customAgentVmNetwork" json:"customAgentVmNetwork"`
+ // The names of the agent VM networks.
+ CustomAgentVmNetworkName []string `xml:"customAgentVmNetworkName" json:"customAgentVmNetworkName"`
}
func init() {
types.Add("eam:NoCustomAgentVmNetwork", reflect.TypeOf((*NoCustomAgentVmNetwork)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the
+// agent cannot be deployed because the agent VM datastore could not be
+// discovered, as per defined selection policy, on the host.
+//
+// This issue can be remediated passively if the administrator configures
+// new datastores on the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoDiscoverableAgentVmDatastore struct {
VmNotDeployed
}
@@ -1147,6 +2361,14 @@ func init() {
types.Add("eam:NoDiscoverableAgentVmDatastore", reflect.TypeOf((*NoDiscoverableAgentVmDatastore)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the
+// agent cannot be deployed because the agent VM network could not be
+// discovered, as per defined selection policy, on the host.
+//
+// This issue can be remediated passively if the administrator configures
+// new networks on the host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NoDiscoverableAgentVmNetwork struct {
VmNotDeployed
}
@@ -1155,6 +2377,9 @@ func init() {
types.Add("eam:NoDiscoverableAgentVmNetwork", reflect.TypeOf((*NoDiscoverableAgentVmNetwork)(nil)).Elem())
}
+// Thrown when an a user cannot be authorized.
+//
+// This structure may be used only with operations rendered under `/eam`.
type NotAuthorized struct {
EamRuntimeFault
}
@@ -1169,6 +2394,16 @@ func init() {
types.Add("eam:NotAuthorizedFault", reflect.TypeOf((*NotAuthorizedFault)(nil)).Elem())
}
+// Deprecated eAM no longer raises this issue. If agecny is getting orphaned
+// EAM simply destroys it.
+//
+// The solution that created the agency is no longer registered with the vCenter
+// server.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// undeploys and removes the agency.
+//
+// This structure may be used only with operations rendered under `/eam`.
type OrphanedAgency struct {
AgencyIssue
}
@@ -1177,6 +2412,18 @@ func init() {
types.Add("eam:OrphanedAgency", reflect.TypeOf((*OrphanedAgency)(nil)).Elem())
}
+// Deprecated dvFilters are no longer supported by EAM.
+//
+// A dvFilter switch exists on a host but no agents on the host depend on
+// dvFilter.
+//
+// This typically happens if a host is disconnected when an agency
+// configuration changed.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// removes the dvFilterSwitch.
+//
+// This structure may be used only with operations rendered under `/eam`.
type OrphanedDvFilterSwitch struct {
HostIssue
}
@@ -1185,9 +2432,23 @@ func init() {
types.Add("eam:OrphanedDvFilterSwitch", reflect.TypeOf((*OrphanedDvFilterSwitch)(nil)).Elem())
}
+// An Agent virtual machine is expected to be provisioned on a host, but it failed to do so
+// because the provisioning of the OVF package failed.
+//
+// The provisioning is unlikely to
+// succeed until the solution that provides the OVF package has been upgraded or
+// patched to provide a valid OVF package for the agent virtual machine.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager attempts the OVF provisioning again.
+//
+// This structure may be used only with operations rendered under `/eam`.
type OvfInvalidFormat struct {
VmNotDeployed
+ // An optional list of errors that caused this issue.
+ //
+ // These errors are generated by the
+ // vCenter server.
Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
@@ -1195,9 +2456,20 @@ func init() {
types.Add("eam:OvfInvalidFormat", reflect.TypeOf((*OvfInvalidFormat)(nil)).Elem())
}
+// An agent virtual machine needs to be provisioned or reconfigured, but an OVF
+// property is either missing or has an invalid value.
+//
+// This is a passive remediable issue. To remediate, update the OVF environment
+// in the agent configuration used to provision the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type OvfInvalidProperty struct {
AgentIssue
+ // An optional list of errors that caused this issue.
+ //
+ // These errors are
+ // generated by the vCenter server.
Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
@@ -1205,92 +2477,159 @@ func init() {
types.Add("eam:OvfInvalidProperty", reflect.TypeOf((*OvfInvalidProperty)(nil)).Elem())
}
+// EAM was unable to set its required compute resource configuration in PM.
+//
+// EAM configuration needs to be updated or PM needs to be repaired manually to
+// allow the configuration.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyCannotConfigureSolutions struct {
PersonalityAgencyPMIssue
- Cr types.ManagedObjectReference `xml:"cr" json:"cr"`
- SolutionsToModify []string `xml:"solutionsToModify,omitempty" json:"solutionsToModify,omitempty"`
- SolutionsToRemove []string `xml:"solutionsToRemove,omitempty" json:"solutionsToRemove,omitempty"`
+ // Compute resource that couldn't be configured
+ //
+ // Refers instance of `ComputeResource`.
+ Cr types.ManagedObjectReference `xml:"cr" json:"cr"`
+ // Names of the solutions attempted to be modified
+ SolutionsToModify []string `xml:"solutionsToModify,omitempty" json:"solutionsToModify,omitempty"`
+ // Names of the solutions attempted to be removed
+ SolutionsToRemove []string `xml:"solutionsToRemove,omitempty" json:"solutionsToRemove,omitempty"`
}
func init() {
types.Add("eam:PersonalityAgencyCannotConfigureSolutions", reflect.TypeOf((*PersonalityAgencyCannotConfigureSolutions)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyCannotConfigureSolutions", "7.1")
}
+// The offline depot could not be uploaded in Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyCannotUploadDepot struct {
PersonalityAgencyDepotIssue
+ // URL EAM hosted the offline bundle as in vCenter.
LocalDepotUrl string `xml:"localDepotUrl" json:"localDepotUrl"`
}
func init() {
types.Add("eam:PersonalityAgencyCannotUploadDepot", reflect.TypeOf((*PersonalityAgencyCannotUploadDepot)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyCannotUploadDepot", "7.1")
}
+// Base class for all offline depot (VIB) issues while communicating with
+// Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyDepotIssue struct {
PersonalityAgencyPMIssue
+ // URL the offline bundle is configured in EAM.
RemoteDepotUrl string `xml:"remoteDepotUrl" json:"remoteDepotUrl"`
}
func init() {
types.Add("eam:PersonalityAgencyDepotIssue", reflect.TypeOf((*PersonalityAgencyDepotIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyDepotIssue", "7.1")
}
+// The offline depot was not available for download during communicating with
+// Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyInaccessibleDepot struct {
PersonalityAgencyDepotIssue
}
func init() {
types.Add("eam:PersonalityAgencyInaccessibleDepot", reflect.TypeOf((*PersonalityAgencyInaccessibleDepot)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyInaccessibleDepot", "7.1")
}
+// The offline depot has missing or invalid metadata to be usable by
+// Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyInvalidDepot struct {
PersonalityAgencyDepotIssue
}
func init() {
types.Add("eam:PersonalityAgencyInvalidDepot", reflect.TypeOf((*PersonalityAgencyInvalidDepot)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyInvalidDepot", "7.1")
}
+// Base class for all issues which occurred during EAM communication with
+// Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyPMIssue struct {
AgencyIssue
}
func init() {
types.Add("eam:PersonalityAgencyPMIssue", reflect.TypeOf((*PersonalityAgencyPMIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyPMIssue", "7.1")
}
+// PM service is not available - its endpoint cannot be accessed or it is
+// malfunctioning.
+//
+// This is an active and passive remediable issue. To remediate, vSphere ESX
+// Agent Manager retries to access PM service.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgencyPMUnavailable struct {
PersonalityAgencyPMIssue
}
func init() {
types.Add("eam:PersonalityAgencyPMUnavailable", reflect.TypeOf((*PersonalityAgencyPMUnavailable)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgencyPMUnavailable", "7.1")
}
+// The agent workflow is blocked until its' required solutions are re-mediated
+// externally in Personality Manager.
+//
+// This issue is only passively remediable. The desired state has to be applied
+// in PM by an user.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgentAwaitingPMRemediation struct {
PersonalityAgentPMIssue
}
func init() {
types.Add("eam:PersonalityAgentAwaitingPMRemediation", reflect.TypeOf((*PersonalityAgentAwaitingPMRemediation)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgentAwaitingPMRemediation", "7.1")
}
+// The agent workflow is blocked by a failed agency operation with
+// Personality Manager.
+//
+// This issue is only passively remediable. The agency's PM related issue has to
+// be resolved.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgentBlockedByAgencyOperation struct {
PersonalityAgentPMIssue
}
func init() {
types.Add("eam:PersonalityAgentBlockedByAgencyOperation", reflect.TypeOf((*PersonalityAgentBlockedByAgencyOperation)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgentBlockedByAgencyOperation", "7.1")
}
+// Base class for all issues which occurred during EAM communication with
+// Personality Manager.
+//
+// This structure may be used only with operations rendered under `/eam`.
type PersonalityAgentPMIssue struct {
AgentIssue
}
func init() {
types.Add("eam:PersonalityAgentPMIssue", reflect.TypeOf((*PersonalityAgentPMIssue)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:PersonalityAgentPMIssue", "7.1")
}
type QueryAgency QueryAgencyRequestType
@@ -1353,9 +2692,12 @@ func init() {
types.Add("eam:QueryIssue", reflect.TypeOf((*QueryIssue)(nil)).Elem())
}
+// The parameters of `EamObject.QueryIssue`.
type QueryIssueRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- IssueKey []int32 `xml:"issueKey,omitempty" json:"issueKey,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // An optional array of issue keys. If not set, all issues for this
+ // entity are returned.
+ IssueKey []int32 `xml:"issueKey,omitempty" json:"issueKey,omitempty"`
}
func init() {
@@ -1390,8 +2732,12 @@ func init() {
types.Add("eam:RegisterAgentVm", reflect.TypeOf((*RegisterAgentVm)(nil)).Elem())
}
+// The parameters of `Agency.RegisterAgentVm`.
type RegisterAgentVmRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The managed object reference to the agent VM.
+ //
+ // Refers instance of `VirtualMachine`.
AgentVm types.ManagedObjectReference `xml:"agentVm" json:"agentVm"`
}
@@ -1426,9 +2772,11 @@ func init() {
type ResolveAllResponse struct {
}
+// The parameters of `EamObject.Resolve`.
type ResolveRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- IssueKey []int32 `xml:"issueKey" json:"issueKey"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // A non-empty array of issue keys.
+ IssueKey []int32 `xml:"issueKey" json:"issueKey"`
}
func init() {
@@ -1456,61 +2804,100 @@ func init() {
type ScanForUnknownAgentVmResponse struct {
}
+// The parameters of `EsxAgentManager.SetMaintenanceModePolicy`.
type SetMaintenanceModePolicyRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Policy string `xml:"policy" json:"policy"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The policy to use.
+ Policy string `xml:"policy" json:"policy"`
}
func init() {
types.Add("eam:SetMaintenanceModePolicyRequestType", reflect.TypeOf((*SetMaintenanceModePolicyRequestType)(nil)).Elem())
}
-type SolutionsApplicationResult struct {
- types.DynamicData
-
- Hosts []SolutionsHostApplicationResult `xml:"hosts,omitempty" json:"hosts,omitempty"`
-}
-
-func init() {
- types.Add("eam:SolutionsApplicationResult", reflect.TypeOf((*SolutionsApplicationResult)(nil)).Elem())
-}
-
+// Specification describing a desired state to be applied.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsApplySpec struct {
types.DynamicData
- DesiredState []SolutionsSolutionConfig `xml:"desiredState,omitempty" json:"desiredState,omitempty"`
- TransitionMap []SolutionsTransitionInfo `xml:"transitionMap,omitempty" json:"transitionMap,omitempty"`
- Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
- Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
+ // Complete desired state to be applied on the target entity.
+ //
+ // the solutions member limits which parts of this desired state to
+ // be applied
+ // If the solutions member is ommited.
+ // Any solution described in this structure will be applied on the
+ // target entity
+ // Any solution already existing on the target entity, but missing
+ // from this structure, will be deleted from the target entity
+ DesiredState []SolutionsSolutionConfig `xml:"desiredState,omitempty" json:"desiredState,omitempty"`
+ // If provided, limits the parts of the desiredState structure to
+ // be applied on the target entity.
+ //
+ // solutions that are also present in the desiredState
+ // structure will be applied on the target entity.
+ // solutions that are missing from the desiredState structure
+ // will be deleted from the target entity.
+ Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
+ // Specifies exact hosts to apply the desired state to, instead of every
+ // host in the cluster.
+ //
+ // Refers instances of `HostSystem`.
+ Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
}
func init() {
types.Add("eam:SolutionsApplySpec", reflect.TypeOf((*SolutionsApplySpec)(nil)).Elem())
}
+// Result of a compliance check of a desired state on a compute resource.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsComplianceResult struct {
types.DynamicData
- Compliant bool `xml:"compliant" json:"compliant"`
- Hosts []SolutionsHostComplianceResult `xml:"hosts,omitempty" json:"hosts,omitempty"`
+ // `True` if the compute resource is compliant with the described
+ // desired state, `False` - otherwise.
+ Compliant bool `xml:"compliant" json:"compliant"`
+ // Detailed per-host compliance result of the compute resource.
+ Hosts []SolutionsHostComplianceResult `xml:"hosts,omitempty" json:"hosts,omitempty"`
}
func init() {
types.Add("eam:SolutionsComplianceResult", reflect.TypeOf((*SolutionsComplianceResult)(nil)).Elem())
}
+// Specification describing how to calculate compliance of a compute resource
+// against a desired state.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsComplianceSpec struct {
types.DynamicData
- DesiredState []SolutionsSolutionConfig `xml:"desiredState,omitempty" json:"desiredState,omitempty"`
- Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
- Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
+ // Desired state to be checked for compliance.
+ //
+ // May be incomplete if exact
+ // solutions to be checked are provided. Empty desired state means all
+ // present solutions must be removed.
+ DesiredState []SolutionsSolutionConfig `xml:"desiredState,omitempty" json:"desiredState,omitempty"`
+ // Specifies exact solutions to be checked for compliance instead of the
+ // complete desired state.
+ Solutions []string `xml:"solutions,omitempty" json:"solutions,omitempty"`
+ // Specifies exact hosts to be checked for compliance, instead of every
+ // host in the cluster.
+ //
+ // Refers instances of `HostSystem`.
+ Hosts []types.ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
}
func init() {
types.Add("eam:SolutionsComplianceSpec", reflect.TypeOf((*SolutionsComplianceSpec)(nil)).Elem())
}
+// Specifies the acknowledgement type of a configured System Virtual
+// Machine's lifecycle hook.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsHookAcknowledgeConfig struct {
types.DynamicData
}
@@ -1519,10 +2906,15 @@ func init() {
types.Add("eam:SolutionsHookAcknowledgeConfig", reflect.TypeOf((*SolutionsHookAcknowledgeConfig)(nil)).Elem())
}
+// Configuration for System Virtual Machine's lifecycle hooks.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsHookConfig struct {
types.DynamicData
- Type string `xml:"type" json:"type"`
+ // Type of the configured hook, possible values - `HooksHookType_enum`.
+ Type string `xml:"type" json:"type"`
+ // Type of acknoledgement of the configured hook.
Acknowledgement BaseSolutionsHookAcknowledgeConfig `xml:"acknowledgement,typeattr" json:"acknowledgement"`
}
@@ -1530,37 +2922,54 @@ func init() {
types.Add("eam:SolutionsHookConfig", reflect.TypeOf((*SolutionsHookConfig)(nil)).Elem())
}
-type SolutionsHostApplicationResult struct {
- types.DynamicData
-
- Host types.ManagedObjectReference `xml:"host" json:"host"`
- Started bool `xml:"started" json:"started"`
- HostOperational bool `xml:"hostOperational" json:"hostOperational"`
- Solutions []SolutionsSolutionApplicationResult `xml:"solutions,omitempty" json:"solutions,omitempty"`
-}
-
-func init() {
- types.Add("eam:SolutionsHostApplicationResult", reflect.TypeOf((*SolutionsHostApplicationResult)(nil)).Elem())
-}
-
+// Specifies host-bound solution configuration.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsHostBoundSolutionConfig struct {
SolutionsTypeSpecificSolutionConfig
- PreferHostConfiguration *bool `xml:"preferHostConfiguration" json:"preferHostConfiguration,omitempty"`
- Networks []types.ManagedObjectReference `xml:"networks,omitempty" json:"networks,omitempty"`
- Datastores []types.ManagedObjectReference `xml:"datastores,omitempty" json:"datastores,omitempty"`
- Vmci []string `xml:"vmci,omitempty" json:"vmci,omitempty"`
+ // If set to true - default network and datastore configured on host will
+ // take precedence over
+ // `SolutionsHostBoundSolutionConfig.datastores` and
+ // `SolutionsHostBoundSolutionConfig.networks`.
+ PreferHostConfiguration *bool `xml:"preferHostConfiguration" json:"preferHostConfiguration,omitempty"`
+ // networks to satisfy system Virtual Machine network adapter
+ // requirements.
+ //
+ // If omitted - default configured network on the host will
+ // be used.
+ //
+ // Refers instances of `Network`.
+ Networks []types.ManagedObjectReference `xml:"networks,omitempty" json:"networks,omitempty"`
+ // datastores to place system Virutal Machine on.
+ //
+ // If omitted - default
+ // configured network on the host will be used.
+ //
+ // Refers instances of `Datastore`.
+ Datastores []types.ManagedObjectReference `xml:"datastores,omitempty" json:"datastores,omitempty"`
+ // VMCI to be allowed access from the system Virtual Machine.
+ Vmci []string `xml:"vmci,omitempty" json:"vmci,omitempty"`
}
func init() {
types.Add("eam:SolutionsHostBoundSolutionConfig", reflect.TypeOf((*SolutionsHostBoundSolutionConfig)(nil)).Elem())
}
+// Result of a compliance check of a desired state on a host.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsHostComplianceResult struct {
types.DynamicData
- Host types.ManagedObjectReference `xml:"host" json:"host"`
- Compliant bool `xml:"compliant" json:"compliant"`
+ // The host being checked for compliance.
+ //
+ // Refers instance of `HostSystem`.
+ Host types.ManagedObjectReference `xml:"host" json:"host"`
+ // `True` if the compute host is compliant with the described
+ // desired state, `False` - otherwise.
+ Compliant bool `xml:"compliant" json:"compliant"`
+ // Detailed per-solution compliance result of the host.
Solutions []SolutionsSolutionComplianceResult `xml:"solutions,omitempty" json:"solutions,omitempty"`
}
@@ -1568,6 +2977,11 @@ func init() {
types.Add("eam:SolutionsHostComplianceResult", reflect.TypeOf((*SolutionsHostComplianceResult)(nil)).Elem())
}
+// The user will have to (manually) invoke an API (`Hooks#process`) to
+// acknowledge, the user operations for this lifecycle hook have been
+// completed.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsInteractiveHookAcknowledgeConfig struct {
SolutionsHookAcknowledgeConfig
}
@@ -1576,10 +2990,15 @@ func init() {
types.Add("eam:SolutionsInteractiveHookAcknowledgeConfig", reflect.TypeOf((*SolutionsInteractiveHookAcknowledgeConfig)(nil)).Elem())
}
+// One OVF Property.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsOvfProperty struct {
types.DynamicData
- Key string `xml:"key" json:"key"`
+ // The name of the property in the OVF descriptor.
+ Key string `xml:"key" json:"key"`
+ // The value of the property.
Value string `xml:"value" json:"value"`
}
@@ -1587,9 +3006,18 @@ func init() {
types.Add("eam:SolutionsOvfProperty", reflect.TypeOf((*SolutionsOvfProperty)(nil)).Elem())
}
+// Specifies a user defined profile ID to be applied during Virtual Machine
+// creation.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsProfileIdStoragePolicy struct {
SolutionsStoragePolicy
+ // ID of a storage policy profile created by the user.
+ //
+ // The type of the
+ // profile must be `VirtualMachineDefinedProfileSpec`. The ID must be valid
+ // `VirtualMachineDefinedProfileSpec.profileId`.
ProfileId string `xml:"profileId" json:"profileId"`
}
@@ -1597,63 +3025,118 @@ func init() {
types.Add("eam:SolutionsProfileIdStoragePolicy", reflect.TypeOf((*SolutionsProfileIdStoragePolicy)(nil)).Elem())
}
-type SolutionsSolutionApplicationResult struct {
- types.DynamicData
-
- Solution string `xml:"solution" json:"solution"`
- Installing bool `xml:"installing" json:"installing"`
- Validation SolutionsSolutionValidationResult `xml:"validation" json:"validation"`
-}
-
-func init() {
- types.Add("eam:SolutionsSolutionApplicationResult", reflect.TypeOf((*SolutionsSolutionApplicationResult)(nil)).Elem())
-}
-
+// Result of a compliance check of a desired state dor a solution(on a host).
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsSolutionComplianceResult struct {
types.DynamicData
- Solution string `xml:"solution" json:"solution"`
- Compliant bool `xml:"compliant" json:"compliant"`
- Installing bool `xml:"installing" json:"installing"`
- NonComplianceReason string `xml:"nonComplianceReason,omitempty" json:"nonComplianceReason,omitempty"`
- Vm *types.ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
- UpgradingVm *types.ManagedObjectReference `xml:"upgradingVm,omitempty" json:"upgradingVm,omitempty"`
- Hook *HooksHookInfo `xml:"hook,omitempty" json:"hook,omitempty"`
- Issues []BaseIssue `xml:"issues,omitempty,typeattr" json:"issues,omitempty"`
- SolutionConfig *SolutionsSolutionConfig `xml:"solutionConfig,omitempty" json:"solutionConfig,omitempty"`
+ // Solution checked for compliance.
+ Solution string `xml:"solution" json:"solution"`
+ // `True` if the compute solution is compliant with the described
+ // desired state, `False` - otherwise.
+ Compliant bool `xml:"compliant" json:"compliant"`
+ // Reason the solution is non-compliant
+ // `SolutionsNonComplianceReason_enum`.
+ NonComplianceReason string `xml:"nonComplianceReason,omitempty" json:"nonComplianceReason,omitempty"`
+ // system Virtual Machine created for the solution.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm *types.ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
+ // system Virtual Machine created for upgrading the obsoleted system
+ // Virtual Machine.
+ //
+ // Refers instance of `VirtualMachine`.
+ UpgradingVm *types.ManagedObjectReference `xml:"upgradingVm,omitempty" json:"upgradingVm,omitempty"`
+ // Hook, ESX Agent Manager is awaiting to be processed for this solution.
+ Hook *HooksHookInfo `xml:"hook,omitempty" json:"hook,omitempty"`
+ // Issues, ESX Agent Manager has encountered while attempting to acheive
+ // the solution's requested desired state.
+ Issues []BaseIssue `xml:"issues,omitempty,typeattr" json:"issues,omitempty"`
+ // Last desired state for the solution, requested from ESX Agent Manager,
+ // for application.
+ SolutionConfig *SolutionsSolutionConfig `xml:"solutionConfig,omitempty" json:"solutionConfig,omitempty"`
}
func init() {
types.Add("eam:SolutionsSolutionComplianceResult", reflect.TypeOf((*SolutionsSolutionComplianceResult)(nil)).Elem())
}
+// Configuration for a solution's required system Virtual Machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsSolutionConfig struct {
types.DynamicData
- Solution string `xml:"solution" json:"solution"`
- Name string `xml:"name" json:"name"`
- Version string `xml:"version" json:"version"`
- VmSource BaseSolutionsVMSource `xml:"vmSource,typeattr" json:"vmSource"`
- UuidVmName bool `xml:"uuidVmName" json:"uuidVmName"`
- ResourcePool *types.ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
- Folder *types.ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty"`
- OvfProperties []SolutionsOvfProperty `xml:"ovfProperties,omitempty" json:"ovfProperties,omitempty"`
- StoragePolicies []BaseSolutionsStoragePolicy `xml:"storagePolicies,omitempty,typeattr" json:"storagePolicies,omitempty"`
- VmDiskProvisioning string `xml:"vmDiskProvisioning,omitempty" json:"vmDiskProvisioning,omitempty"`
- VmDeploymentOptimization string `xml:"vmDeploymentOptimization,omitempty" json:"vmDeploymentOptimization,omitempty"`
- TypeSpecificConfig BaseSolutionsTypeSpecificSolutionConfig `xml:"typeSpecificConfig,typeattr" json:"typeSpecificConfig"`
- Hooks []SolutionsHookConfig `xml:"hooks,omitempty" json:"hooks,omitempty"`
+ // Solution, this configuration belongs to.
+ Solution string `xml:"solution" json:"solution"`
+ // Name of the solution.
+ //
+ // Will be utilized as a prefix for the system
+ // Virtual Machines' names created for the solution.
+ Name string `xml:"name" json:"name"`
+ // Version of the solution.
+ Version string `xml:"version" json:"version"`
+ // Source of the system Virtual Machine files.
+ VmSource BaseSolutionsVMSource `xml:"vmSource,typeattr" json:"vmSource"`
+ // If set to `True` - will insert an UUID in the system Virtual
+ // Machines' names created for the solution, otherwise - no additional
+ // UUID will be inserted in the system Virtual Machines' names.
+ UuidVmName bool `xml:"uuidVmName" json:"uuidVmName"`
+ // Resource pool to place the system Virtual Machine in.
+ //
+ // If omitted a
+ // default resource pool will be used.
+ //
+ // Refers instance of `ResourcePool`.
+ ResourcePool *types.ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
+ // Folder to place the system Virtual Machine in.
+ //
+ // If omitted a default
+ // folder will be used.
+ //
+ // Refers instance of `Folder`.
+ Folder *types.ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty"`
+ // User configurable OVF properties to be assigned during system Virtual
+ // Machine creation.
+ OvfProperties []SolutionsOvfProperty `xml:"ovfProperties,omitempty" json:"ovfProperties,omitempty"`
+ // Storage policies to be applied during system Virtual Machine creation.
+ StoragePolicies []BaseSolutionsStoragePolicy `xml:"storagePolicies,omitempty,typeattr" json:"storagePolicies,omitempty"`
+ // Provisioning type for the system Virtual Machines
+ // `SolutionsVMDiskProvisioning_enum`.
+ //
+ // Default provisioning will be used
+ // if not specified.
+ VmDiskProvisioning string `xml:"vmDiskProvisioning,omitempty" json:"vmDiskProvisioning,omitempty"`
+ // Optimization strategy for deploying Virtual Machines
+ // `SolutionsVMDeploymentOptimization_enum`.
+ //
+ // Default optimization will
+ // be selected if not specified.
+ VmDeploymentOptimization string `xml:"vmDeploymentOptimization,omitempty" json:"vmDeploymentOptimization,omitempty"`
+ // Solution type-specific configuration.
+ TypeSpecificConfig BaseSolutionsTypeSpecificSolutionConfig `xml:"typeSpecificConfig,typeattr" json:"typeSpecificConfig"`
+ // Lifecycle hooks for the solution's virtual machines.
+ Hooks []SolutionsHookConfig `xml:"hooks,omitempty" json:"hooks,omitempty"`
}
func init() {
types.Add("eam:SolutionsSolutionConfig", reflect.TypeOf((*SolutionsSolutionConfig)(nil)).Elem())
}
+// Result of validation, of a solution, for application.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsSolutionValidationResult struct {
types.DynamicData
- Solution string `xml:"solution" json:"solution"`
- Valid bool `xml:"valid" json:"valid"`
+ // Validated solution.
+ Solution string `xml:"solution" json:"solution"`
+ // `True` - if the solution is valid for application, `False`
+ // \- otherwise.
+ Valid bool `xml:"valid" json:"valid"`
+ // Populated with the reason the solution is not valid for application
+ // `SolutionsInvalidReason_enum`.
InvalidReason string `xml:"invalidReason,omitempty" json:"invalidReason,omitempty"`
}
@@ -1661,6 +3144,9 @@ func init() {
types.Add("eam:SolutionsSolutionValidationResult", reflect.TypeOf((*SolutionsSolutionValidationResult)(nil)).Elem())
}
+// Storage policy to be applied during system Virtual Machine creation.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsStoragePolicy struct {
types.DynamicData
}
@@ -1669,17 +3155,26 @@ func init() {
types.Add("eam:SolutionsStoragePolicy", reflect.TypeOf((*SolutionsStoragePolicy)(nil)).Elem())
}
-type SolutionsTransitionInfo struct {
+// Specification necessary to transition a solution from an existing legacy
+// agency.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type SolutionsTransitionSpec struct {
types.DynamicData
+ // Solution to transition from an old legacy agency.
Solution string `xml:"solution" json:"solution"`
+ // Old legacy agency ID to transition from.
AgencyId string `xml:"agencyId" json:"agencyId"`
}
func init() {
- types.Add("eam:SolutionsTransitionInfo", reflect.TypeOf((*SolutionsTransitionInfo)(nil)).Elem())
+ types.Add("eam:SolutionsTransitionSpec", reflect.TypeOf((*SolutionsTransitionSpec)(nil)).Elem())
}
+// Specifies the specific solution configuration based on its type.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsTypeSpecificSolutionConfig struct {
types.DynamicData
}
@@ -1688,10 +3183,19 @@ func init() {
types.Add("eam:SolutionsTypeSpecificSolutionConfig", reflect.TypeOf((*SolutionsTypeSpecificSolutionConfig)(nil)).Elem())
}
+// Specified the system Virtual Machine sources are to be obtained from an
+// URL.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsUrlVMSource struct {
SolutionsVMSource
- OvfUrl string `xml:"ovfUrl" json:"ovfUrl"`
+ // URL to the solution's system Virtual Machine OVF.
+ OvfUrl string `xml:"ovfUrl" json:"ovfUrl"`
+ // PEM encoded certificate to use to trust the URL.
+ //
+ // If omitted - will
+ // implicitly trust the URL.
CertificatePEM string `xml:"certificatePEM,omitempty" json:"certificatePEM,omitempty"`
}
@@ -1699,6 +3203,10 @@ func init() {
types.Add("eam:SolutionsUrlVMSource", reflect.TypeOf((*SolutionsUrlVMSource)(nil)).Elem())
}
+// Specifies how to find the files of the system Virtual Machine to be
+// created.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsVMSource struct {
types.DynamicData
}
@@ -1707,21 +3215,30 @@ func init() {
types.Add("eam:SolutionsVMSource", reflect.TypeOf((*SolutionsVMSource)(nil)).Elem())
}
+// Specification describing a desired state to be validated for application.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsValidateSpec struct {
types.DynamicData
- DesiredState []SolutionsSolutionConfig `xml:"desiredState" json:"desiredState"`
- TransitionMap []SolutionsTransitionInfo `xml:"transitionMap,omitempty" json:"transitionMap,omitempty"`
+ // Desired state to be validated.
+ DesiredState []SolutionsSolutionConfig `xml:"desiredState" json:"desiredState"`
}
func init() {
types.Add("eam:SolutionsValidateSpec", reflect.TypeOf((*SolutionsValidateSpec)(nil)).Elem())
}
+// Result of validation, of a desired state, for application.
+//
+// This structure may be used only with operations rendered under `/eam`.
type SolutionsValidationResult struct {
types.DynamicData
- Valid bool `xml:"valid" json:"valid"`
+ // `True` - if the desired state is valid for application,
+ // `False` - otherwise.
+ Valid bool `xml:"valid" json:"valid"`
+ // Detailed per-solution result of the validation.
SolutionResult []SolutionsSolutionValidationResult `xml:"solutionResult,omitempty" json:"solutionResult,omitempty"`
}
@@ -1746,9 +3263,21 @@ func init() {
type UninstallResponse struct {
}
+// Deprecated presence of unknown VMs is no more acceptable.
+//
+// An agent virtual machine has been found in the vCenter inventory that does
+// not belong to any agency in this vSphere ESX Agent Manager server instance.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers off (if powered on) and deletes the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type UnknownAgentVm struct {
HostIssue
+ // The unknown agent virtual machine.
+ //
+ // Refers instance of `VirtualMachine`.
Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
}
@@ -1762,8 +3291,12 @@ func init() {
types.Add("eam:UnregisterAgentVm", reflect.TypeOf((*UnregisterAgentVm)(nil)).Elem())
}
+// The parameters of `Agency.UnregisterAgentVm`.
type UnregisterAgentVmRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The managed object reference to the agent VM.
+ //
+ // Refers instance of `VirtualMachine`.
AgentVm types.ManagedObjectReference `xml:"agentVm" json:"agentVm"`
}
@@ -1780,9 +3313,11 @@ func init() {
types.Add("eam:Update", reflect.TypeOf((*Update)(nil)).Elem())
}
+// The parameters of `Agency.Update`.
type UpdateRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Config BaseAgencyConfigInfo `xml:"config,typeattr" json:"config"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The new configuration for this Agency
+ Config BaseAgencyConfigInfo `xml:"config,typeattr" json:"config"`
}
func init() {
@@ -1792,6 +3327,18 @@ func init() {
type UpdateResponse struct {
}
+// A VIB module requires the host to be in maintenance mode, but the vSphere ESX Agent Manager
+// is unable toput the host in maintenance mode.
+//
+// This can happen if there are virtual machines running on the host that cannot
+// be moved and must be stopped before the host can enter maintenance mode.
+//
+// This is an active remediable issue. To remediate, the vSphere ESX Agent Manager will try again
+// to put the host into maintenance mode. However, the vSphere ESX Agent Manager will not power
+// off or move any virtual machines to put the host into maintenance mode. This must be
+// done by the client.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibCannotPutHostInMaintenanceMode struct {
VibIssue
}
@@ -1800,22 +3347,52 @@ func init() {
types.Add("eam:VibCannotPutHostInMaintenanceMode", reflect.TypeOf((*VibCannotPutHostInMaintenanceMode)(nil)).Elem())
}
+// ESXi host is in Maintenance Mode.
+//
+// This prevents powering on and
+// re-configuring Agent Virtual Machines. Also if the host's entering in
+// Maintenance Mode was initiated by vSphere Esx Agent Manager, the same is
+// responsible to initiate exit Maintenance Mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// puts the host out of Maintenance Mode.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibCannotPutHostOutOfMaintenanceMode struct {
VibIssue
}
func init() {
types.Add("eam:VibCannotPutHostOutOfMaintenanceMode", reflect.TypeOf((*VibCannotPutHostOutOfMaintenanceMode)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibCannotPutHostOutOfMaintenanceMode", "6.5")
}
+// A VIB module is expected to be installed on a host, but the dependencies,
+// describred within the module, were not satisfied by the host.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// attempts the VIB installation again.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibDependenciesNotMetByHost struct {
VibNotInstalled
}
func init() {
types.Add("eam:VibDependenciesNotMetByHost", reflect.TypeOf((*VibDependenciesNotMetByHost)(nil)).Elem())
-}
-
+ types.AddMinAPIVersionForType("eam:VibDependenciesNotMetByHost", "6.8")
+}
+
+// A VIB module is expected to be installed on a host, but it failed to install
+// since the VIB package is in an invalid format.
+//
+// The installation is unlikely to
+// succeed until the solution provding the bundle has been upgraded or patched to
+// provide a valid VIB package.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager attempts the VIB installation again.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibInvalidFormat struct {
VibNotInstalled
}
@@ -1824,6 +3401,9 @@ func init() {
types.Add("eam:VibInvalidFormat", reflect.TypeOf((*VibInvalidFormat)(nil)).Elem())
}
+// Base class for all issues related to the VIB modules that belong to an agent.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibIssue struct {
AgentIssue
}
@@ -1832,6 +3412,18 @@ func init() {
types.Add("eam:VibIssue", reflect.TypeOf((*VibIssue)(nil)).Elem())
}
+// A VIB module is expected to be installed/removed on a host, but it has not
+// been installed/removed.
+//
+// Typically, a more specific issue (a subclass of this
+// issue) indicates the particular reason why the VIB module operation failed.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// attempts the VIB operation again.
+// In case of unreachable host vSphere ESX Agent Manager will remediate the
+// issue automatically when the host becomes reachable.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibNotInstalled struct {
VibIssue
}
@@ -1840,14 +3432,29 @@ func init() {
types.Add("eam:VibNotInstalled", reflect.TypeOf((*VibNotInstalled)(nil)).Elem())
}
+// A VIB module is expected to be installed on a host, but the system
+// requirements, describred within the module, were not satisfied by the host.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// attempts the VIB installation again.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibRequirementsNotMetByHost struct {
VibNotInstalled
}
func init() {
types.Add("eam:VibRequirementsNotMetByHost", reflect.TypeOf((*VibRequirementsNotMetByHost)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibRequirementsNotMetByHost", "6.8")
}
+// A VIB module has been uploaded to the host, but will not be fully installed
+// until the host has been put in maintenance mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager puts the host into maintenance
+// mode.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibRequiresHostInMaintenanceMode struct {
VibIssue
}
@@ -1856,6 +3463,13 @@ func init() {
types.Add("eam:VibRequiresHostInMaintenanceMode", reflect.TypeOf((*VibRequiresHostInMaintenanceMode)(nil)).Elem())
}
+// A VIB module has been uploaded to the host, but will not be activated
+// until the host is rebooted.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager puts the host into maintenance
+// mode and reboots it.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibRequiresHostReboot struct {
VibIssue
}
@@ -1864,9 +3478,18 @@ func init() {
types.Add("eam:VibRequiresHostReboot", reflect.TypeOf((*VibRequiresHostReboot)(nil)).Elem())
}
+// A VIB module failed to install, but failed to do so because automatic installation
+// by vSphere ESX Agent Manager is not allowed on the host.
+//
+// This is a passive remediable issue. To remediate, go to VMware Update Manager
+// and install the required bulletins on the host or add the bulletins to the
+// host's image profile.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibRequiresManualInstallation struct {
VibIssue
+ // A non-empty array of bulletins required to be installed on the host.
Bulletin []string `xml:"bulletin" json:"bulletin"`
}
@@ -1874,9 +3497,18 @@ func init() {
types.Add("eam:VibRequiresManualInstallation", reflect.TypeOf((*VibRequiresManualInstallation)(nil)).Elem())
}
+// A VIB module failed to uninstall, but failed to do so because automatic uninstallation
+// by vSphere ESX Agent Manager is not allowed on the host.
+//
+// This is a passive remediable issue. To remediate, go to VMware Update Manager
+// and uninstall the required bulletins on the host or remove the bulletins from the
+// host's image profile.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibRequiresManualUninstallation struct {
VibIssue
+ // A non-empty array of bulletins required to be uninstalled on the host.
Bulletin []string `xml:"bulletin" json:"bulletin"`
}
@@ -1884,6 +3516,12 @@ func init() {
types.Add("eam:VibRequiresManualUninstallation", reflect.TypeOf((*VibRequiresManualUninstallation)(nil)).Elem())
}
+// A data entity providing information about a VIB.
+//
+// This abstraction contains only those of the VIB attributes which convey
+// important information for the client to identify, preview and select VIBs.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibVibInfo struct {
types.DynamicData
@@ -1898,8 +3536,12 @@ type VibVibInfo struct {
func init() {
types.Add("eam:VibVibInfo", reflect.TypeOf((*VibVibInfo)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibVibInfo", "6.0")
}
+// A data entity providing information about software tags of a VIB
+//
+// This structure may be used only with operations rendered under `/eam`.
type VibVibInfoSoftwareTags struct {
types.DynamicData
@@ -1908,11 +3550,57 @@ type VibVibInfoSoftwareTags struct {
func init() {
types.Add("eam:VibVibInfoSoftwareTags", reflect.TypeOf((*VibVibInfoSoftwareTags)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibVibInfoSoftwareTags", "6.5")
+}
+
+// Specifies an SSL policy that trusts any SSL certificate.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type VibVibServicesAnyCertificate struct {
+ VibVibServicesSslTrust
+}
+
+func init() {
+ types.Add("eam:VibVibServicesAnyCertificate", reflect.TypeOf((*VibVibServicesAnyCertificate)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibVibServicesAnyCertificate", "8.2")
+}
+
+// Specifies an SSL policy that trusts one specific pinned PEM encoded SSL
+// certificate.
+//
+// This structure may be used only with operations rendered under `/eam`.
+type VibVibServicesPinnedPemCertificate struct {
+ VibVibServicesSslTrust
+
+ // PEM encoded pinned SSL certificate of the server that needs to be
+ // trusted.
+ SslCertificate string `xml:"sslCertificate" json:"sslCertificate"`
+}
+
+func init() {
+ types.Add("eam:VibVibServicesPinnedPemCertificate", reflect.TypeOf((*VibVibServicesPinnedPemCertificate)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VibVibServicesPinnedPemCertificate", "8.2")
+}
+
+type VibVibServicesSslTrust struct {
+ types.DynamicData
+}
+
+func init() {
+ types.Add("eam:VibVibServicesSslTrust", reflect.TypeOf((*VibVibServicesSslTrust)(nil)).Elem())
}
+// An agent virtual machine is corrupted.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager deletes and
+// reprovisions the agent virtual machine. To remediate manually, fix the missing file issue and power on the
+// agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmCorrupted struct {
VmIssue
+ // An optional path for a missing file.
MissingFile string `xml:"missingFile,omitempty" json:"missingFile,omitempty"`
}
@@ -1920,6 +3608,17 @@ func init() {
types.Add("eam:VmCorrupted", reflect.TypeOf((*VmCorrupted)(nil)).Elem())
}
+// An agent virtual machine is expected to be removed from a host, but the agent virtual machine has not
+// been removed.
+//
+// Typically, a more specific issue (a subclass of this issue)
+// indicates the particular reason why vSphere ESX Agent Manager was unable to remove the
+// agent virtual machine, such as the host is in maintenance mode, powered off or in standby
+// mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeploys the agent.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmDeployed struct {
VmIssue
}
@@ -1928,9 +3627,16 @@ func init() {
types.Add("eam:VmDeployed", reflect.TypeOf((*VmDeployed)(nil)).Elem())
}
+// Base class for all issues related to the deployed virtual machine for a
+// particular agent.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmIssue struct {
AgentIssue
+ // The virtual machine to which this issue is related.
+ //
+ // Refers instance of `VirtualMachine`.
Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
}
@@ -1938,6 +3644,15 @@ func init() {
types.Add("eam:VmIssue", reflect.TypeOf((*VmIssue)(nil)).Elem())
}
+// Deprecated template agent VMs are not used anymore by VM deployment and
+// monitoring.
+//
+// An agent virtual machine is a virtual machine template.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// converts the agent virtual machine template to a virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmMarkedAsTemplate struct {
VmIssue
}
@@ -1946,6 +3661,18 @@ func init() {
types.Add("eam:VmMarkedAsTemplate", reflect.TypeOf((*VmMarkedAsTemplate)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent virtual machine has not
+// been deployed.
+//
+// Typically, a more specific issue (a subclass of this issue)
+// indicates the particular reason why vSphere ESX Agent Manager was unable to deploy the
+// agent, such as being unable to access the OVF package for the agent or a missing host
+// configuration. This issue can also happen if the agent virtual machine is explicitly deleted
+// from the host.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager redeploys the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmNotDeployed struct {
AgentIssue
}
@@ -1954,6 +3681,15 @@ func init() {
types.Add("eam:VmNotDeployed", reflect.TypeOf((*VmNotDeployed)(nil)).Elem())
}
+// An agent virtual machine exists on a host, but the host is no longer part of scope for the
+// agency.
+//
+// This typically happens if a host is disconnected when the agency
+// configuration is changed.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager deletes the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmOrphaned struct {
VmIssue
}
@@ -1962,6 +3698,12 @@ func init() {
types.Add("eam:VmOrphaned", reflect.TypeOf((*VmOrphaned)(nil)).Elem())
}
+// An agent virtual machine is expected to be powered on, but the agent virtual machine is powered off.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers on the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmPoweredOff struct {
VmIssue
}
@@ -1970,6 +3712,12 @@ func init() {
types.Add("eam:VmPoweredOff", reflect.TypeOf((*VmPoweredOff)(nil)).Elem())
}
+// An agent virtual machine is expected to be powered off, but the agent virtual machine is powered on.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// powers off the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmPoweredOn struct {
VmIssue
}
@@ -1978,14 +3726,31 @@ func init() {
types.Add("eam:VmPoweredOn", reflect.TypeOf((*VmPoweredOn)(nil)).Elem())
}
+// An agent virtual machine is expected to be deployed on a host, but the agent
+// virtual machine cannot be deployed because the host is in Maintenance Mode.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// takes the host out of Maintenance Mode and deploys the agent virtual machine.
+//
+// Resolving this issue in vSphere Lifecyle Manager environemnt will be no-op.
+// In those cases user must take the host out of Maintenance Mode manually or
+// wait vSphere Lifecycle Maanger cluster remediation to complete (if any).
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmRequiresHostOutOfMaintenanceMode struct {
VmNotDeployed
}
func init() {
types.Add("eam:VmRequiresHostOutOfMaintenanceMode", reflect.TypeOf((*VmRequiresHostOutOfMaintenanceMode)(nil)).Elem())
+ types.AddMinAPIVersionForType("eam:VmRequiresHostOutOfMaintenanceMode", "7.2")
}
+// An agent virtual machine is expected to be powered on, but the agent virtual machine is suspended.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager powers on the agent virtual machine.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmSuspended struct {
VmIssue
}
@@ -1994,10 +3759,25 @@ func init() {
types.Add("eam:VmSuspended", reflect.TypeOf((*VmSuspended)(nil)).Elem())
}
+// Deprecated eAM does not try to override any action powerfull user has taken.
+//
+// An agent virtual machine is expected to be located in a designated agent
+// virtual machine folder, but is found in a different folder.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// moves the agent virtual machine back into the designated agent folder.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmWrongFolder struct {
VmIssue
- CurrentFolder types.ManagedObjectReference `xml:"currentFolder" json:"currentFolder"`
+ // The folder in which the virtual machine currently resides.
+ //
+ // Refers instance of `Folder`.
+ CurrentFolder types.ManagedObjectReference `xml:"currentFolder" json:"currentFolder"`
+ // The ESX agent folder in which the virtual machine should reside.
+ //
+ // Refers instance of `Folder`.
RequiredFolder types.ManagedObjectReference `xml:"requiredFolder" json:"requiredFolder"`
}
@@ -2005,10 +3785,25 @@ func init() {
types.Add("eam:VmWrongFolder", reflect.TypeOf((*VmWrongFolder)(nil)).Elem())
}
+// Deprecated eAM does not try to override any action powerfull user has taken.
+//
+// An agent virtual machine is expected to be located in a designated agent
+// virtual machine resource pool, but is found in a different resource pool.
+//
+// This is an active remediable issue. To remediate, vSphere ESX Agent Manager
+// moves the agent virtual machine back into the designated agent resource pool.
+//
+// This structure may be used only with operations rendered under `/eam`.
type VmWrongResourcePool struct {
VmIssue
- CurrentResourcePool types.ManagedObjectReference `xml:"currentResourcePool" json:"currentResourcePool"`
+ // The resource pool in which the VM currently resides.
+ //
+ // Refers instance of `ResourcePool`.
+ CurrentResourcePool types.ManagedObjectReference `xml:"currentResourcePool" json:"currentResourcePool"`
+ // The ESX agent resource pool in which the VM should reside.
+ //
+ // Refers instance of `ResourcePool`.
RequiredResourcePool types.ManagedObjectReference `xml:"requiredResourcePool" json:"requiredResourcePool"`
}
diff --git a/gen/gen.sh b/gen/gen.sh
index 4fe13c71b..458cc14da 100755
--- a/gen/gen.sh
+++ b/gen/gen.sh
@@ -69,7 +69,7 @@ ensure_rb_vmodl
#
# The VIM API version used by the vim25 client.
#
-VIM_VERSION="${VIM_VERSION:-8.0.1.0}"
+VIM_VERSION="${VIM_VERSION:-8.0.2.0}"
#
# Update the vim25 client's VIM version.
@@ -78,7 +78,7 @@ update_vim_version "${VIM_VERSION}"
#
-# All types derive from vSphere 8.0U1c GA, vcenter-all build 22088981.
+# All types derive from vSphere 8.0U2 GA, vcenter-all build 22385739.
#
export COPYRIGHT_DATE_RANGE="2014-2023"
@@ -89,14 +89,14 @@ export COPYRIGHT_DATE_RANGE="2014-2023"
#
export FORCE_BASE_INTERFACE_FOR_TYPES="AgencyConfigInfo"
-# ./sdk/ contains the contents of wsdl.zip from vimbase build 21886307.
+# ./sdk/ contains the contents of wsdl.zip from vimbase build 22026368.
generate "../vim25" "vim" "./rbvmomi/vmodl.db" # from github.com/vmware/rbvmomi@v3.0.0
generate "../pbm" "pbm"
generate "../vslm" "vslm"
generate "../sms" "sms"
# ./sdk/ contains the files eam-messagetypes.xsd and eam-types.xsd from
-# eam-wsdl.zip, from eam-vcenter build 21054104.
+# eam-wsdl.zip, from eam-vcenter build 22026240.
#
# Please note the EAM files are also available at the following, public URL --
# http://bit.ly/eam-sdk, therefore the WSDL resource for EAM are in fact
diff --git a/gen/gen_from_vmodl.rb b/gen/gen_from_vmodl.rb
index b75325e09..a83d0cb3c 100644
--- a/gen/gen_from_vmodl.rb
+++ b/gen/gen_from_vmodl.rb
@@ -109,7 +109,7 @@ def var_type
end
def var_tag
- "mo:\"%s\"" % name
+ "json:\"%s\"" % name
end
def dump(io)
diff --git a/gen/vim_wsdl.rb b/gen/vim_wsdl.rb
index 5f6cc49f5..2d7948f96 100644
--- a/gen/vim_wsdl.rb
+++ b/gen/vim_wsdl.rb
@@ -17,7 +17,7 @@
# SINCE_API_FORMAT is used to capture the minimum API version for which some API
# symbol is valid.
-SINCE_API_FORMAT = /^\*\*\*Since:\*\*\* \w+? API (.+)$/
+SINCE_API_FORMAT = /^\*\*\*Since:\*\*\* \w+? API (?:Release )?(.+)$/
# ENCLOSED_BY_ASTERIK_FORMAT is used to capture words enclosed by a single
# asterik on either side.
@@ -58,23 +58,31 @@ def init_type(io, name, kind, minApiVersion=nil, minApiVersionsForValues=nil)
io.print "func init() {\n"
- if minApiVersion != nil
- io.print "minAPIVersionForType[\"#{name}\"] = \"#{minApiVersion}\"\n"
- end
- if minApiVersionsForValues != nil
- io.print "minAPIVersionForEnumValue[\"#{name}\"] = map[string]string{\n"
- minApiVersionsForValues.each do |k, v|
- io.print "\t\t\"#{k}\": \"#{v}\",\n"
- end
- io.print "}\n"
- end
if $target == "vim25"
io.print "t[\"#{name}\"] = #{t}\n"
+ if minApiVersion != nil
+ io.print "minAPIVersionForType[\"#{name}\"] = \"#{minApiVersion}\"\n"
+ end
+ if minApiVersionsForValues != nil
+ io.print "minAPIVersionForEnumValue[\"#{name}\"] = map[string]string{\n"
+ minApiVersionsForValues.each do |k, v|
+ io.print "\t\t\"#{k}\": \"#{v}\",\n"
+ end
+ io.print "}\n"
+ end
else
unless name.start_with? "Base"
name = "#{$target}:#{name}"
end
io.print "types.Add(\"#{name}\", #{t})\n"
+ if minApiVersion != nil
+ io.print "types.AddMinAPIVersionForType(\"#{name}\", \"#{minApiVersion}\")\n"
+ end
+ if minApiVersionsForValues != nil
+ minApiVersionsForValues.each do |k, v|
+ io.print "types.AddMinAPIVersionForEnumValue(\"#{name}\", \"#{k}\", \"#{v}\")\n"
+ end
+ end
end
io.print "}\n\n"
diff --git a/govc/test/cli.bats b/govc/test/cli.bats
index 029fb53b2..7d6c91cee 100755
--- a/govc/test/cli.bats
+++ b/govc/test/cli.bats
@@ -29,7 +29,7 @@ load test_helper
assert_success
version=$(govc about -json -c | jq -r .Client.Version)
- assert_equal 8.0.1.0 "$version" # govc's default version
+ assert_equal 8.0.2.0 "$version" # govc's default version
version=$(govc about -json -c -vim-version "" | jq -r .Client.Version)
assert_equal uE53DA "$version" # vcsim's service version
diff --git a/govc/test/cluster.bats b/govc/test/cluster.bats
index de96a021e..681a927c9 100755
--- a/govc/test/cluster.bats
+++ b/govc/test/cluster.bats
@@ -243,17 +243,17 @@ _EOF_
vcsim_env
unset GOVC_HOST
- ip=$(govc object.collect -o -json host/DC0_C0/DC0_C0_H0 | jq -r .Config.network.vnic[].spec.ip.ipAddress)
+ ip=$(govc object.collect -o -json host/DC0_C0/DC0_C0_H0 | jq -r .config.network.vnic[].spec.ip.ipAddress)
assert_equal 127.0.0.1 "$ip"
govc cluster.add -cluster DC0_C0 -hostname 10.0.0.42 -username user -password pass
assert_success
- ip=$(govc object.collect -o -json host/DC0_C0/10.0.0.42 | jq -r .Config.network.vnic[].spec.ip.ipAddress)
+ ip=$(govc object.collect -o -json host/DC0_C0/10.0.0.42 | jq -r .config.network.vnic[].spec.ip.ipAddress)
assert_equal 10.0.0.42 "$ip"
- govc host.info -json '*' | jq -r .HostSystems[].Config.network.vnic[].spec.ip
- name=$(govc host.info -json -host.ip 10.0.0.42 | jq -r .HostSystems[].Name)
+ govc host.info -json '*' | jq -r .HostSystems[].config.network.vnic[].spec.ip
+ name=$(govc host.info -json -host.ip 10.0.0.42 | jq -r .HostSystems[].name)
assert_equal 10.0.0.42 "$name"
}
diff --git a/govc/test/fields.bats b/govc/test/fields.bats
index ceeae37a1..2712eaeae 100755
--- a/govc/test/fields.bats
+++ b/govc/test/fields.bats
@@ -38,7 +38,7 @@ load test_helper
run govc fields.info -n $val vm/$vm_id
assert_success
- info=$(govc vm.info -json $vm_id | jq .VirtualMachines[0].CustomValue[0])
+ info=$(govc vm.info -json $vm_id | jq .VirtualMachines[0].customValue[0])
ikey=$(jq -r .key <<<"$info")
assert_equal $key $ikey
diff --git a/govc/test/host.bats b/govc/test/host.bats
index 521473570..a2e5ff52b 100755
--- a/govc/test/host.bats
+++ b/govc/test/host.bats
@@ -74,7 +74,7 @@ load test_helper
run govc host.info -host.dns $(basename "$name")
assert_failure # TODO: SearchIndex:SearchIndex does not implement: FindByDnsName
- uuid=$(govc host.info -host "$name" -json | jq -r .HostSystems[].Summary.hardware.uuid)
+ uuid=$(govc host.info -host "$name" -json | jq -r .HostSystems[].summary.hardware.uuid)
run govc host.info -host.uuid "$uuid"
assert_success
diff --git a/govc/test/import.bats b/govc/test/import.bats
index 77855206d..15edf1884 100755
--- a/govc/test/import.bats
+++ b/govc/test/import.bats
@@ -16,7 +16,7 @@ load test_helper
assert_success
# link ovf/ova to datastore so we can test with an http source
- dir=$(govc datastore.info -json | jq -r .Datastores[].Info.url)
+ dir=$(govc datastore.info -json | jq -r .Datastores[].info.url)
ln -s "$GOVC_IMAGES/$TTYLINUX_NAME."* "$dir"
run govc import.spec "https://$(govc env GOVC_URL)/folder/$TTYLINUX_NAME.ovf"
diff --git a/govc/test/library.bats b/govc/test/library.bats
index 762abc78f..88598c878 100755
--- a/govc/test/library.bats
+++ b/govc/test/library.bats
@@ -184,7 +184,7 @@ load test_helper
library_id="$output"
# link ovf/ova to datastore so we can test library.import with an http source
- dir=$(govc datastore.info -json | jq -r .Datastores[].Info.url)
+ dir=$(govc datastore.info -json | jq -r .Datastores[].info.url)
ln -s "$GOVC_IMAGES/$TTYLINUX_NAME."* "$dir"
run govc library.import -pull my-content "https://$(govc env GOVC_URL)/folder/$TTYLINUX_NAME.ovf"
diff --git a/govc/test/session.bats b/govc/test/session.bats
index 1c45be6f6..4e34aa392 100755
--- a/govc/test/session.bats
+++ b/govc/test/session.bats
@@ -32,12 +32,12 @@ load test_helper
assert_failure # NotFound
# Can't remove the current session
- id=$(govc session.ls -json | jq -r .CurrentSession.key)
+ id=$(govc session.ls -json | jq -r .currentSession.key)
run govc session.rm "$id"
assert_failure
thumbprint=$(govc about.cert -thumbprint)
- id=$(govc session.ls -json -k=false -tls-known-hosts <(echo "$thumbprint") | jq -r .CurrentSession.key)
+ id=$(govc session.ls -json -k=false -tls-known-hosts <(echo "$thumbprint") | jq -r .currentSession.key)
rm -rf "$dir"
diff --git a/govc/test/vcsim.bats b/govc/test/vcsim.bats
index 4c9bb850c..125fb1d1f 100755
--- a/govc/test/vcsim.bats
+++ b/govc/test/vcsim.bats
@@ -128,7 +128,7 @@ EOF
run govc object.collect -s $vm summary.guest.ipAddress
assert_success "10.0.0.1"
- netip=$(govc object.collect -json -o $vm guest.net | jq -r .Guest.net[].ipAddress[0])
+ netip=$(govc object.collect -json -o $vm guest.net | jq -r .guest.net[].ipAddress[0])
[ "$netip" = "10.0.0.1" ]
run govc vm.info -vm.ip 10.0.0.1
@@ -268,7 +268,7 @@ EOF
run govc object.collect -s vm/$vm summary.guest.ipAddress
assert_success "$ip"
- netip=$(govc object.collect -json -o vm/$vm guest.net | jq -r .Guest.net[].ipAddress[0])
+ netip=$(govc object.collect -json -o vm/$vm guest.net | jq -r .guest.net[].ipAddress[0])
[ "$netip" = "$ip" ]
run govc vm.ip $vm # covers VirtualMachine.WaitForIP
diff --git a/govc/test/vm.bats b/govc/test/vm.bats
index 3107b5ee2..af787ad7b 100755
--- a/govc/test/vm.bats
+++ b/govc/test/vm.bats
@@ -480,7 +480,7 @@ load test_helper
run govc vm.change -nested-hv-enabled=true -vm "$id"
assert_success
- hv=$(govc vm.info -json "$id" | jq '.[][0].Config.nestedHVEnabled')
+ hv=$(govc vm.info -json "$id" | jq '.[][0].config.nestedHVEnabled')
assert_equal "$hv" "true"
}
diff --git a/pbm/types/enum.go b/pbm/types/enum.go
index 78edf9b71..be05cfd2a 100644
--- a/pbm/types/enum.go
+++ b/pbm/types/enum.go
@@ -25,8 +25,11 @@ import (
type PbmAssociateAndApplyPolicyStatusPolicyStatus string
const (
+ // Policy applied successfully.
PbmAssociateAndApplyPolicyStatusPolicyStatusSuccess = PbmAssociateAndApplyPolicyStatusPolicyStatus("success")
- PbmAssociateAndApplyPolicyStatusPolicyStatusFailed = PbmAssociateAndApplyPolicyStatusPolicyStatus("failed")
+ // Policy cannot be applied
+ PbmAssociateAndApplyPolicyStatusPolicyStatusFailed = PbmAssociateAndApplyPolicyStatusPolicyStatus("failed")
+ // Policy cannot be applied
PbmAssociateAndApplyPolicyStatusPolicyStatusInvalid = PbmAssociateAndApplyPolicyStatusPolicyStatus("invalid")
)
@@ -34,28 +37,90 @@ func init() {
types.Add("pbm:PbmAssociateAndApplyPolicyStatusPolicyStatus", reflect.TypeOf((*PbmAssociateAndApplyPolicyStatusPolicyStatus)(nil)).Elem())
}
+// The `PbmBuiltinGenericType_enum` enumerated type defines the list
+// of builtin generic datatypes.
+//
+// See
+// `PbmCapabilityGenericTypeInfo*.*PbmCapabilityGenericTypeInfo.genericTypeName`.
+//
+// A generic datatype indicates how to interpret a collection of values
+// of a specific datatype (`PbmCapabilityTypeInfo.typeName`).
type PbmBuiltinGenericType string
const (
+ // Indicates a full or partial range of values (`PbmCapabilityRange`).
+ //
+ // A full range specifies both min
and max
values.
+ // A partial range specifies one or the other, min
or max
.
PbmBuiltinGenericTypeVMW_RANGE = PbmBuiltinGenericType("VMW_RANGE")
- PbmBuiltinGenericTypeVMW_SET = PbmBuiltinGenericType("VMW_SET")
+ // Indicates a single value or a discrete set of values
+ // (`PbmCapabilityDiscreteSet`).
+ PbmBuiltinGenericTypeVMW_SET = PbmBuiltinGenericType("VMW_SET")
)
func init() {
types.Add("pbm:PbmBuiltinGenericType", reflect.TypeOf((*PbmBuiltinGenericType)(nil)).Elem())
}
+// The `PbmBuiltinType_enum` enumerated type defines datatypes
+// for storage profiles.
+//
+// Property metadata
+// (`PbmCapabilityPropertyMetadata`) uses the builtin types
+// to define data types for storage capabilities and requirements.
+// It may also specify the semantics that are applied to a collection
+// of builtin type values. See `PbmCapabilityTypeInfo`.
+// These semantics are specified as a generic builtin type.
+// See `PbmCapabilityGenericTypeInfo`.
+// The type information determines how capability constraints are interpreted
+// `PbmCapabilityPropertyInstance.value`).
type PbmBuiltinType string
const (
- PbmBuiltinTypeXSD_LONG = PbmBuiltinType("XSD_LONG")
- PbmBuiltinTypeXSD_SHORT = PbmBuiltinType("XSD_SHORT")
- PbmBuiltinTypeXSD_INTEGER = PbmBuiltinType("XSD_INTEGER")
- PbmBuiltinTypeXSD_INT = PbmBuiltinType("XSD_INT")
- PbmBuiltinTypeXSD_STRING = PbmBuiltinType("XSD_STRING")
- PbmBuiltinTypeXSD_BOOLEAN = PbmBuiltinType("XSD_BOOLEAN")
- PbmBuiltinTypeXSD_DOUBLE = PbmBuiltinType("XSD_DOUBLE")
+ // Unsigned long value.
+ //
+ // This datatype supports the following constraint values.
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ PbmBuiltinTypeXSD_LONG = PbmBuiltinType("XSD_LONG")
+ // Datatype not supported.
+ PbmBuiltinTypeXSD_SHORT = PbmBuiltinType("XSD_SHORT")
+ // Datatype not supported.
+ //
+ // Use XSD\_INT instead.
+ PbmBuiltinTypeXSD_INTEGER = PbmBuiltinType("XSD_INTEGER")
+ // Integer value.
+ //
+ // This datatype supports the following constraint values.
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ PbmBuiltinTypeXSD_INT = PbmBuiltinType("XSD_INT")
+ // String value.
+ //
+ // This datatype supports a single value
+ // or a discrete set of values (`PbmCapabilityDiscreteSet`).
+ PbmBuiltinTypeXSD_STRING = PbmBuiltinType("XSD_STRING")
+ // Boolean value.
+ PbmBuiltinTypeXSD_BOOLEAN = PbmBuiltinType("XSD_BOOLEAN")
+ // Double precision floating point value.
+ //
+ // This datatype supports the following
+ // constraint values.
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
+ PbmBuiltinTypeXSD_DOUBLE = PbmBuiltinType("XSD_DOUBLE")
+ // Date and time value.
PbmBuiltinTypeXSD_DATETIME = PbmBuiltinType("XSD_DATETIME")
+ // Timespan value (`PbmCapabilityTimeSpan`).
+ //
+ // This datatype supports
+ // the following constraint values.
+ // - Single value
+ // - Full or partial range of values (`PbmCapabilityRange`)
+ // - Discrete set of values (`PbmCapabilityDiscreteSet`)
PbmBuiltinTypeVMW_TIMESPAN = PbmBuiltinType("VMW_TIMESPAN")
PbmBuiltinTypeVMW_POLICY = PbmBuiltinType("VMW_POLICY")
)
@@ -64,6 +129,10 @@ func init() {
types.Add("pbm:PbmBuiltinType", reflect.TypeOf((*PbmBuiltinType)(nil)).Elem())
}
+// List of operators that are supported for constructing policy.
+//
+// Currently only tag based properties can use this operator.
+// Other operators can be added as required.
type PbmCapabilityOperator string
const (
@@ -74,52 +143,96 @@ func init() {
types.Add("pbm:PbmCapabilityOperator", reflect.TypeOf((*PbmCapabilityOperator)(nil)).Elem())
}
+// The `PbmCapabilityTimeUnitType_enum` enumeration type
+// defines the supported list of time units for profiles that specify
+// time span capabilities and constraints.
+//
+// See `PbmCapabilityTimeSpan`.
type PbmCapabilityTimeUnitType string
const (
+ // Constraints and capabilities expressed in units of seconds.
PbmCapabilityTimeUnitTypeSECONDS = PbmCapabilityTimeUnitType("SECONDS")
+ // Constraints and capabilities expressed in units of minutes.
PbmCapabilityTimeUnitTypeMINUTES = PbmCapabilityTimeUnitType("MINUTES")
- PbmCapabilityTimeUnitTypeHOURS = PbmCapabilityTimeUnitType("HOURS")
- PbmCapabilityTimeUnitTypeDAYS = PbmCapabilityTimeUnitType("DAYS")
- PbmCapabilityTimeUnitTypeWEEKS = PbmCapabilityTimeUnitType("WEEKS")
- PbmCapabilityTimeUnitTypeMONTHS = PbmCapabilityTimeUnitType("MONTHS")
- PbmCapabilityTimeUnitTypeYEARS = PbmCapabilityTimeUnitType("YEARS")
+ // Constraints and capabilities expressed in units of hours.
+ PbmCapabilityTimeUnitTypeHOURS = PbmCapabilityTimeUnitType("HOURS")
+ // Constraints and capabilities expressed in units of days.
+ PbmCapabilityTimeUnitTypeDAYS = PbmCapabilityTimeUnitType("DAYS")
+ // Constraints and capabilities expressed in units of weeks.
+ PbmCapabilityTimeUnitTypeWEEKS = PbmCapabilityTimeUnitType("WEEKS")
+ // Constraints and capabilities expressed in units of months.
+ PbmCapabilityTimeUnitTypeMONTHS = PbmCapabilityTimeUnitType("MONTHS")
+ // Constraints and capabilities expressed in units of years.
+ PbmCapabilityTimeUnitTypeYEARS = PbmCapabilityTimeUnitType("YEARS")
)
func init() {
types.Add("pbm:PbmCapabilityTimeUnitType", reflect.TypeOf((*PbmCapabilityTimeUnitType)(nil)).Elem())
}
+// The `PbmComplianceResultComplianceTaskStatus_enum`
+// enumeration type defines the set of task status for compliance
+// operations.
+//
+// See `PbmComplianceResult` and
+// `PbmRollupComplianceResult`.
type PbmComplianceResultComplianceTaskStatus string
const (
+ // Compliance calculation is in progress.
PbmComplianceResultComplianceTaskStatusInProgress = PbmComplianceResultComplianceTaskStatus("inProgress")
- PbmComplianceResultComplianceTaskStatusSuccess = PbmComplianceResultComplianceTaskStatus("success")
- PbmComplianceResultComplianceTaskStatusFailed = PbmComplianceResultComplianceTaskStatus("failed")
+ // Compliance calculation has succeeded.
+ PbmComplianceResultComplianceTaskStatusSuccess = PbmComplianceResultComplianceTaskStatus("success")
+ // Compliance calculation failed due to some exception.
+ PbmComplianceResultComplianceTaskStatusFailed = PbmComplianceResultComplianceTaskStatus("failed")
)
func init() {
types.Add("pbm:PbmComplianceResultComplianceTaskStatus", reflect.TypeOf((*PbmComplianceResultComplianceTaskStatus)(nil)).Elem())
}
+// The `PbmComplianceStatus_enum`
+// enumeration type defines the set of status values
+// for compliance operations.
+//
+// See `PbmComplianceResult` and
+// `PbmRollupComplianceResult`.
type PbmComplianceStatus string
const (
- PbmComplianceStatusCompliant = PbmComplianceStatus("compliant")
- PbmComplianceStatusNonCompliant = PbmComplianceStatus("nonCompliant")
- PbmComplianceStatusUnknown = PbmComplianceStatus("unknown")
+ // Entity is in compliance.
+ PbmComplianceStatusCompliant = PbmComplianceStatus("compliant")
+ // Entity is out of compliance.
+ PbmComplianceStatusNonCompliant = PbmComplianceStatus("nonCompliant")
+ // Compliance status of the entity is not known.
+ PbmComplianceStatusUnknown = PbmComplianceStatus("unknown")
+ // Compliance computation is not applicable for this entity,
+ // because it does not have any storage requirements that
+ // apply to the object-based datastore on which this entity is placed.
PbmComplianceStatusNotApplicable = PbmComplianceStatus("notApplicable")
- PbmComplianceStatusOutOfDate = PbmComplianceStatus("outOfDate")
+ // This is the same as `PbmComplianceResult.mismatch`
+ // variable.
+ //
+ // Compliance status becomes out-of-date when the profile
+ // associated with the entity is edited and not applied. The compliance
+ // status will remain in out-of-date compliance status until the latest
+ // policy is applied to the entity.
+ PbmComplianceStatusOutOfDate = PbmComplianceStatus("outOfDate")
)
func init() {
types.Add("pbm:PbmComplianceStatus", reflect.TypeOf((*PbmComplianceStatus)(nil)).Elem())
}
+// This enum corresponds to the keystores used by
+// sps.
type PbmDebugManagerKeystoreName string
const (
- PbmDebugManagerKeystoreNameSMS = PbmDebugManagerKeystoreName("SMS")
+ // Refers to SMS keystore
+ PbmDebugManagerKeystoreNameSMS = PbmDebugManagerKeystoreName("SMS")
+ // Refers to TRUSTED\_ROOTS keystore.
PbmDebugManagerKeystoreNameTRUSTED_ROOTS = PbmDebugManagerKeystoreName("TRUSTED_ROOTS")
)
@@ -127,12 +240,30 @@ func init() {
types.Add("pbm:PbmDebugManagerKeystoreName", reflect.TypeOf((*PbmDebugManagerKeystoreName)(nil)).Elem())
}
+// The enumeration type defines the set of health status values for an entity
+// that is part of entity health operation.
type PbmHealthStatusForEntity string
const (
- PbmHealthStatusForEntityRed = PbmHealthStatusForEntity("red")
- PbmHealthStatusForEntityYellow = PbmHealthStatusForEntity("yellow")
- PbmHealthStatusForEntityGreen = PbmHealthStatusForEntity("green")
+ // For file share: 'red' if the file server for this file share is in error
+ // state or any of its backing vSAN objects are degraded.
+ //
+ // For FCD: 'red' if the datastore on which the FCD resides is not
+ // accessible from any of the hosts it is mounted.
+ PbmHealthStatusForEntityRed = PbmHealthStatusForEntity("red")
+ // For file share: 'yellow' if some backing objects are repairing, i.e.
+ //
+ // warning state.
+ // For FCD: 'yellow' if the datastore on which the entity resides is
+ // accessible only from some of the hosts it is mounted but not all.
+ PbmHealthStatusForEntityYellow = PbmHealthStatusForEntity("yellow")
+ // For file share: 'green' if the file server for this file share is
+ // running properly and all its backing vSAN objects are healthy.
+ //
+ // For FCD: 'green' if the datastore on which the entity resides
+ // is accessible from all the hosts it is mounted.
+ PbmHealthStatusForEntityGreen = PbmHealthStatusForEntity("green")
+ // If the health status of a file share is unknown, not valid for FCD.
PbmHealthStatusForEntityUnknown = PbmHealthStatusForEntity("unknown")
)
@@ -140,6 +271,11 @@ func init() {
types.Add("pbm:PbmHealthStatusForEntity", reflect.TypeOf((*PbmHealthStatusForEntity)(nil)).Elem())
}
+// Recognized types of an IO Filter.
+//
+// String constant used in `IofilterInfo#filterType`.
+// These should match(upper case) the IO Filter classes as defined by IO Filter framework.
+// See https://opengrok.eng.vmware.com/source/xref/vmcore-main.perforce.1666/bora/scons/apps/esx/iofilterApps.sc#33
type PbmIofilterInfoFilterType string
const (
@@ -156,6 +292,7 @@ func init() {
types.Add("pbm:PbmIofilterInfoFilterType", reflect.TypeOf((*PbmIofilterInfoFilterType)(nil)).Elem())
}
+// Denotes the line of service of a schema.
type PbmLineOfServiceInfoLineOfServiceEnum string
const (
@@ -174,28 +311,43 @@ func init() {
types.Add("pbm:PbmLineOfServiceInfoLineOfServiceEnum", reflect.TypeOf((*PbmLineOfServiceInfoLineOfServiceEnum)(nil)).Elem())
}
+// This enum corresponds to the different packages whose logging
+// is configured independently by sps service.
type PbmLoggingConfigurationComponent string
const (
- PbmLoggingConfigurationComponentPbm = PbmLoggingConfigurationComponent("pbm")
- PbmLoggingConfigurationComponentVslm = PbmLoggingConfigurationComponent("vslm")
- PbmLoggingConfigurationComponentSms = PbmLoggingConfigurationComponent("sms")
- PbmLoggingConfigurationComponentSpbm = PbmLoggingConfigurationComponent("spbm")
- PbmLoggingConfigurationComponentSps = PbmLoggingConfigurationComponent("sps")
- PbmLoggingConfigurationComponentHttpclient_header = PbmLoggingConfigurationComponent("httpclient_header")
+ // Modifies logging level of com.vmware.pbm package.
+ PbmLoggingConfigurationComponentPbm = PbmLoggingConfigurationComponent("pbm")
+ // Modifies logging level of com.vmware.vslm package.
+ PbmLoggingConfigurationComponentVslm = PbmLoggingConfigurationComponent("vslm")
+ // Modifies logging level of com.vmware.vim.sms package.
+ PbmLoggingConfigurationComponentSms = PbmLoggingConfigurationComponent("sms")
+ // Modifies logging level of com.vmware.spbm package.
+ PbmLoggingConfigurationComponentSpbm = PbmLoggingConfigurationComponent("spbm")
+ // Modifies logging level of com.vmware.sps package.
+ PbmLoggingConfigurationComponentSps = PbmLoggingConfigurationComponent("sps")
+ // Modifies logging level of httpclient wire header.
+ PbmLoggingConfigurationComponentHttpclient_header = PbmLoggingConfigurationComponent("httpclient_header")
+ // Modifies logging level of httpclient wire content.
PbmLoggingConfigurationComponentHttpclient_content = PbmLoggingConfigurationComponent("httpclient_content")
- PbmLoggingConfigurationComponentVmomi = PbmLoggingConfigurationComponent("vmomi")
+ // Modifies logging level of com.vmware.vim.vmomi package.
+ PbmLoggingConfigurationComponentVmomi = PbmLoggingConfigurationComponent("vmomi")
)
func init() {
types.Add("pbm:PbmLoggingConfigurationComponent", reflect.TypeOf((*PbmLoggingConfigurationComponent)(nil)).Elem())
}
+// This enum corresponds to the different log levels supported
+// by sps service.
type PbmLoggingConfigurationLogLevel string
const (
- PbmLoggingConfigurationLogLevelINFO = PbmLoggingConfigurationLogLevel("INFO")
+ // Refers to INFO level logging
+ PbmLoggingConfigurationLogLevelINFO = PbmLoggingConfigurationLogLevel("INFO")
+ // Refers to DEBUG level logging.
PbmLoggingConfigurationLogLevelDEBUG = PbmLoggingConfigurationLogLevel("DEBUG")
+ // Refers to TRACE level logging.
PbmLoggingConfigurationLogLevelTRACE = PbmLoggingConfigurationLogLevel("TRACE")
)
@@ -203,42 +355,76 @@ func init() {
types.Add("pbm:PbmLoggingConfigurationLogLevel", reflect.TypeOf((*PbmLoggingConfigurationLogLevel)(nil)).Elem())
}
+// The `PbmObjectType_enum` enumerated type
+// defines vSphere Server object types that are known
+// to the Storage Policy Server.
+//
+// See `PbmServerObjectRef*.*PbmServerObjectRef.objectType`.
type PbmObjectType string
const (
- PbmObjectTypeVirtualMachine = PbmObjectType("virtualMachine")
+ // Indicates a virtual machine, not including the disks, identified by the virtual machine
+ // identifier _virtual-machine-mor_.
+ PbmObjectTypeVirtualMachine = PbmObjectType("virtualMachine")
+ // Indicates the virtual machine and all its disks, identified by the virtual machine
+ // identifier _virtual-machine-mor_.
PbmObjectTypeVirtualMachineAndDisks = PbmObjectType("virtualMachineAndDisks")
- PbmObjectTypeVirtualDiskId = PbmObjectType("virtualDiskId")
- PbmObjectTypeVirtualDiskUUID = PbmObjectType("virtualDiskUUID")
- PbmObjectTypeDatastore = PbmObjectType("datastore")
- PbmObjectTypeVsanObjectId = PbmObjectType("vsanObjectId")
- PbmObjectTypeFileShareId = PbmObjectType("fileShareId")
- PbmObjectTypeUnknown = PbmObjectType("unknown")
+ // Indicates a virtual disk, identified by disk key
+ // (_virtual-machine-mor_:_disk-key_).
+ PbmObjectTypeVirtualDiskId = PbmObjectType("virtualDiskId")
+ // Indicates a virtual disk, identified by UUID - for First Class Storage Object support.
+ PbmObjectTypeVirtualDiskUUID = PbmObjectType("virtualDiskUUID")
+ // Indicates a datastore.
+ PbmObjectTypeDatastore = PbmObjectType("datastore")
+ // Indicates a VSAN object
+ PbmObjectTypeVsanObjectId = PbmObjectType("vsanObjectId")
+ // Indicates a file service
+ PbmObjectTypeFileShareId = PbmObjectType("fileShareId")
+ // Unknown object type.
+ PbmObjectTypeUnknown = PbmObjectType("unknown")
)
func init() {
types.Add("pbm:PbmObjectType", reflect.TypeOf((*PbmObjectType)(nil)).Elem())
}
+// The `PbmOperation_enum` enumerated type
+// defines the provisioning operation being performed on the entity like FCD, virtual machine.
type PbmOperation string
const (
- PbmOperationCREATE = PbmOperation("CREATE")
- PbmOperationREGISTER = PbmOperation("REGISTER")
+ // Indicates create operation of an entity.
+ PbmOperationCREATE = PbmOperation("CREATE")
+ // Indicates register operation of an entity.
+ PbmOperationREGISTER = PbmOperation("REGISTER")
+ // Indicates reconfigure operation of an entity.
PbmOperationRECONFIGURE = PbmOperation("RECONFIGURE")
- PbmOperationMIGRATE = PbmOperation("MIGRATE")
- PbmOperationCLONE = PbmOperation("CLONE")
+ // Indicates migrate operation of an entity.
+ PbmOperationMIGRATE = PbmOperation("MIGRATE")
+ // Indicates clone operation of an entity.
+ PbmOperationCLONE = PbmOperation("CLONE")
)
func init() {
types.Add("pbm:PbmOperation", reflect.TypeOf((*PbmOperation)(nil)).Elem())
}
+// Volume allocation type constants.
type PbmPolicyAssociationVolumeAllocationType string
const (
- PbmPolicyAssociationVolumeAllocationTypeFullyInitialized = PbmPolicyAssociationVolumeAllocationType("FullyInitialized")
- PbmPolicyAssociationVolumeAllocationTypeReserveSpace = PbmPolicyAssociationVolumeAllocationType("ReserveSpace")
+ // Space required is fully allocated and initialized.
+ //
+ // It is wiped clean of any previous content on the
+ // physical media. Gives faster runtime IO performance.
+ PbmPolicyAssociationVolumeAllocationTypeFullyInitialized = PbmPolicyAssociationVolumeAllocationType("FullyInitialized")
+ // Space required is fully allocated.
+ //
+ // It may contain
+ // stale data on the physical media.
+ PbmPolicyAssociationVolumeAllocationTypeReserveSpace = PbmPolicyAssociationVolumeAllocationType("ReserveSpace")
+ // Space required is allocated and zeroed on demand
+ // as the space is used.
PbmPolicyAssociationVolumeAllocationTypeConserveSpaceWhenPossible = PbmPolicyAssociationVolumeAllocationType("ConserveSpaceWhenPossible")
)
@@ -246,11 +432,30 @@ func init() {
types.Add("pbm:PbmPolicyAssociationVolumeAllocationType", reflect.TypeOf((*PbmPolicyAssociationVolumeAllocationType)(nil)).Elem())
}
+// The `PbmProfileCategoryEnum_enum`
+// enumerated type defines the profile categories for a capability-based
+// storage profile.
+//
+// See
+// `PbmCapabilityProfile`.
type PbmProfileCategoryEnum string
const (
- PbmProfileCategoryEnumREQUIREMENT = PbmProfileCategoryEnum("REQUIREMENT")
- PbmProfileCategoryEnumRESOURCE = PbmProfileCategoryEnum("RESOURCE")
+ // Indicates a storage requirement.
+ //
+ // Requirements are based on
+ // storage capabilities.
+ PbmProfileCategoryEnumREQUIREMENT = PbmProfileCategoryEnum("REQUIREMENT")
+ // Indicates a storage capability.
+ //
+ // Storage capabilities
+ // are defined by storage providers.
+ PbmProfileCategoryEnumRESOURCE = PbmProfileCategoryEnum("RESOURCE")
+ // Indicates a data service policy that can be embedded into
+ // another storage policy.
+ //
+ // Policies of this type can't be assigned to
+ // Virtual Machines or Virtual Disks.
PbmProfileCategoryEnumDATA_SERVICE_POLICY = PbmProfileCategoryEnum("DATA_SERVICE_POLICY")
)
@@ -258,9 +463,14 @@ func init() {
types.Add("pbm:PbmProfileCategoryEnum", reflect.TypeOf((*PbmProfileCategoryEnum)(nil)).Elem())
}
+// The `PbmProfileResourceTypeEnum_enum` enumerated type defines the set of resource
+// types that are supported for profile management.
+//
+// See `PbmProfileResourceType`.
type PbmProfileResourceTypeEnum string
const (
+ // Indicates resources that support storage profiles.
PbmProfileResourceTypeEnumSTORAGE = PbmProfileResourceTypeEnum("STORAGE")
)
@@ -268,13 +478,21 @@ func init() {
types.Add("pbm:PbmProfileResourceTypeEnum", reflect.TypeOf((*PbmProfileResourceTypeEnum)(nil)).Elem())
}
+// System pre-created profile types.
type PbmSystemCreatedProfileType string
const (
- PbmSystemCreatedProfileTypeVsanDefaultProfile = PbmSystemCreatedProfileType("VsanDefaultProfile")
- PbmSystemCreatedProfileTypeVVolDefaultProfile = PbmSystemCreatedProfileType("VVolDefaultProfile")
- PbmSystemCreatedProfileTypePmemDefaultProfile = PbmSystemCreatedProfileType("PmemDefaultProfile")
- PbmSystemCreatedProfileTypeVmcManagementProfile = PbmSystemCreatedProfileType("VmcManagementProfile")
+ // Indicates the system pre-created editable VSAN default profile.
+ PbmSystemCreatedProfileTypeVsanDefaultProfile = PbmSystemCreatedProfileType("VsanDefaultProfile")
+ // Indicates the system pre-created non-editable default profile
+ // for VVOL datastores.
+ PbmSystemCreatedProfileTypeVVolDefaultProfile = PbmSystemCreatedProfileType("VVolDefaultProfile")
+ // Indicates the system pre-created non-editable default profile
+ // for PMem datastores
+ PbmSystemCreatedProfileTypePmemDefaultProfile = PbmSystemCreatedProfileType("PmemDefaultProfile")
+ // Indicates the system pre-created non-editable VMC default profile.
+ PbmSystemCreatedProfileTypeVmcManagementProfile = PbmSystemCreatedProfileType("VmcManagementProfile")
+ // Indicates the system pre-created non-editable VSANMAX default profile.
PbmSystemCreatedProfileTypeVsanMaxDefaultProfile = PbmSystemCreatedProfileType("VsanMaxDefaultProfile")
)
@@ -282,25 +500,39 @@ func init() {
types.Add("pbm:PbmSystemCreatedProfileType", reflect.TypeOf((*PbmSystemCreatedProfileType)(nil)).Elem())
}
+// The `PbmVmOperation_enum` enumerated type
+// defines the provisioning operation being performed on the virtual machine.
type PbmVmOperation string
const (
- PbmVmOperationCREATE = PbmVmOperation("CREATE")
+ // Indicates create operation of a virtual machine.
+ PbmVmOperationCREATE = PbmVmOperation("CREATE")
+ // Indicates reconfigure operation of a virtual machine.
PbmVmOperationRECONFIGURE = PbmVmOperation("RECONFIGURE")
- PbmVmOperationMIGRATE = PbmVmOperation("MIGRATE")
- PbmVmOperationCLONE = PbmVmOperation("CLONE")
+ // Indicates migrate operation of a virtual machine.
+ PbmVmOperationMIGRATE = PbmVmOperation("MIGRATE")
+ // Indicates clone operation of a virtual machine.
+ PbmVmOperationCLONE = PbmVmOperation("CLONE")
)
func init() {
types.Add("pbm:PbmVmOperation", reflect.TypeOf((*PbmVmOperation)(nil)).Elem())
}
+// The `PbmVvolType_enum` enumeration type
+// defines VVOL types.
+//
+// VvolType's are referenced to specify which objectType
+// to fetch for default capability.
type PbmVvolType string
const (
+ // meta-data volume
PbmVvolTypeConfig = PbmVvolType("Config")
- PbmVvolTypeData = PbmVvolType("Data")
- PbmVvolTypeSwap = PbmVvolType("Swap")
+ // vmdk volume
+ PbmVvolTypeData = PbmVvolType("Data")
+ // swap volume
+ PbmVvolTypeSwap = PbmVvolType("Swap")
)
func init() {
diff --git a/pbm/types/types.go b/pbm/types/types.go
index 4560f1bb6..4c6f72cae 100644
--- a/pbm/types/types.go
+++ b/pbm/types/types.go
@@ -23,6 +23,7 @@ import (
"github.com/vmware/govmomi/vim25/types"
)
+// A boxed array of `PbmCapabilityConstraintInstance`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityConstraintInstance struct {
PbmCapabilityConstraintInstance []PbmCapabilityConstraintInstance `xml:"PbmCapabilityConstraintInstance,omitempty" json:"_value"`
}
@@ -31,6 +32,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityConstraintInstance", reflect.TypeOf((*ArrayOfPbmCapabilityConstraintInstance)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityInstance`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityInstance struct {
PbmCapabilityInstance []PbmCapabilityInstance `xml:"PbmCapabilityInstance,omitempty" json:"_value"`
}
@@ -39,6 +41,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityInstance", reflect.TypeOf((*ArrayOfPbmCapabilityInstance)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityMetadata`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityMetadata struct {
PbmCapabilityMetadata []PbmCapabilityMetadata `xml:"PbmCapabilityMetadata,omitempty" json:"_value"`
}
@@ -47,6 +50,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityMetadata", reflect.TypeOf((*ArrayOfPbmCapabilityMetadata)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityMetadataPerCategory`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityMetadataPerCategory struct {
PbmCapabilityMetadataPerCategory []PbmCapabilityMetadataPerCategory `xml:"PbmCapabilityMetadataPerCategory,omitempty" json:"_value"`
}
@@ -55,6 +59,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityMetadataPerCategory", reflect.TypeOf((*ArrayOfPbmCapabilityMetadataPerCategory)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityPropertyInstance`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityPropertyInstance struct {
PbmCapabilityPropertyInstance []PbmCapabilityPropertyInstance `xml:"PbmCapabilityPropertyInstance,omitempty" json:"_value"`
}
@@ -63,6 +68,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityPropertyInstance", reflect.TypeOf((*ArrayOfPbmCapabilityPropertyInstance)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityPropertyMetadata`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityPropertyMetadata struct {
PbmCapabilityPropertyMetadata []PbmCapabilityPropertyMetadata `xml:"PbmCapabilityPropertyMetadata,omitempty" json:"_value"`
}
@@ -71,6 +77,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityPropertyMetadata", reflect.TypeOf((*ArrayOfPbmCapabilityPropertyMetadata)(nil)).Elem())
}
+// A boxed array of `PbmCapabilitySchema`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilitySchema struct {
PbmCapabilitySchema []PbmCapabilitySchema `xml:"PbmCapabilitySchema,omitempty" json:"_value"`
}
@@ -79,6 +86,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilitySchema", reflect.TypeOf((*ArrayOfPbmCapabilitySchema)(nil)).Elem())
}
+// A boxed array of `PbmCapabilitySubProfile`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilitySubProfile struct {
PbmCapabilitySubProfile []PbmCapabilitySubProfile `xml:"PbmCapabilitySubProfile,omitempty" json:"_value"`
}
@@ -87,6 +95,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilitySubProfile", reflect.TypeOf((*ArrayOfPbmCapabilitySubProfile)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityVendorNamespaceInfo`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityVendorNamespaceInfo struct {
PbmCapabilityVendorNamespaceInfo []PbmCapabilityVendorNamespaceInfo `xml:"PbmCapabilityVendorNamespaceInfo,omitempty" json:"_value"`
}
@@ -95,6 +104,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityVendorNamespaceInfo", reflect.TypeOf((*ArrayOfPbmCapabilityVendorNamespaceInfo)(nil)).Elem())
}
+// A boxed array of `PbmCapabilityVendorResourceTypeInfo`. To be used in `Any` placeholders.
type ArrayOfPbmCapabilityVendorResourceTypeInfo struct {
PbmCapabilityVendorResourceTypeInfo []PbmCapabilityVendorResourceTypeInfo `xml:"PbmCapabilityVendorResourceTypeInfo,omitempty" json:"_value"`
}
@@ -103,6 +113,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCapabilityVendorResourceTypeInfo", reflect.TypeOf((*ArrayOfPbmCapabilityVendorResourceTypeInfo)(nil)).Elem())
}
+// A boxed array of `PbmCompliancePolicyStatus`. To be used in `Any` placeholders.
type ArrayOfPbmCompliancePolicyStatus struct {
PbmCompliancePolicyStatus []PbmCompliancePolicyStatus `xml:"PbmCompliancePolicyStatus,omitempty" json:"_value"`
}
@@ -111,6 +122,7 @@ func init() {
types.Add("pbm:ArrayOfPbmCompliancePolicyStatus", reflect.TypeOf((*ArrayOfPbmCompliancePolicyStatus)(nil)).Elem())
}
+// A boxed array of `PbmComplianceResult`. To be used in `Any` placeholders.
type ArrayOfPbmComplianceResult struct {
PbmComplianceResult []PbmComplianceResult `xml:"PbmComplianceResult,omitempty" json:"_value"`
}
@@ -119,6 +131,7 @@ func init() {
types.Add("pbm:ArrayOfPbmComplianceResult", reflect.TypeOf((*ArrayOfPbmComplianceResult)(nil)).Elem())
}
+// A boxed array of `PbmDatastoreSpaceStatistics`. To be used in `Any` placeholders.
type ArrayOfPbmDatastoreSpaceStatistics struct {
PbmDatastoreSpaceStatistics []PbmDatastoreSpaceStatistics `xml:"PbmDatastoreSpaceStatistics,omitempty" json:"_value"`
}
@@ -127,6 +140,7 @@ func init() {
types.Add("pbm:ArrayOfPbmDatastoreSpaceStatistics", reflect.TypeOf((*ArrayOfPbmDatastoreSpaceStatistics)(nil)).Elem())
}
+// A boxed array of `PbmDefaultProfileInfo`. To be used in `Any` placeholders.
type ArrayOfPbmDefaultProfileInfo struct {
PbmDefaultProfileInfo []PbmDefaultProfileInfo `xml:"PbmDefaultProfileInfo,omitempty" json:"_value"`
}
@@ -135,6 +149,25 @@ func init() {
types.Add("pbm:ArrayOfPbmDefaultProfileInfo", reflect.TypeOf((*ArrayOfPbmDefaultProfileInfo)(nil)).Elem())
}
+// A boxed array of `PbmFaultNoPermissionEntityPrivileges`. To be used in `Any` placeholders.
+type ArrayOfPbmFaultNoPermissionEntityPrivileges struct {
+ PbmFaultNoPermissionEntityPrivileges []PbmFaultNoPermissionEntityPrivileges `xml:"PbmFaultNoPermissionEntityPrivileges,omitempty" json:"_value"`
+}
+
+func init() {
+ types.Add("pbm:ArrayOfPbmFaultNoPermissionEntityPrivileges", reflect.TypeOf((*ArrayOfPbmFaultNoPermissionEntityPrivileges)(nil)).Elem())
+}
+
+// A boxed array of `PbmLoggingConfiguration`. To be used in `Any` placeholders.
+type ArrayOfPbmLoggingConfiguration struct {
+ PbmLoggingConfiguration []PbmLoggingConfiguration `xml:"PbmLoggingConfiguration,omitempty" json:"_value"`
+}
+
+func init() {
+ types.Add("pbm:ArrayOfPbmLoggingConfiguration", reflect.TypeOf((*ArrayOfPbmLoggingConfiguration)(nil)).Elem())
+}
+
+// A boxed array of `PbmPlacementCompatibilityResult`. To be used in `Any` placeholders.
type ArrayOfPbmPlacementCompatibilityResult struct {
PbmPlacementCompatibilityResult []PbmPlacementCompatibilityResult `xml:"PbmPlacementCompatibilityResult,omitempty" json:"_value"`
}
@@ -143,6 +176,7 @@ func init() {
types.Add("pbm:ArrayOfPbmPlacementCompatibilityResult", reflect.TypeOf((*ArrayOfPbmPlacementCompatibilityResult)(nil)).Elem())
}
+// A boxed array of `PbmPlacementHub`. To be used in `Any` placeholders.
type ArrayOfPbmPlacementHub struct {
PbmPlacementHub []PbmPlacementHub `xml:"PbmPlacementHub,omitempty" json:"_value"`
}
@@ -151,6 +185,7 @@ func init() {
types.Add("pbm:ArrayOfPbmPlacementHub", reflect.TypeOf((*ArrayOfPbmPlacementHub)(nil)).Elem())
}
+// A boxed array of `PbmPlacementMatchingResources`. To be used in `Any` placeholders.
type ArrayOfPbmPlacementMatchingResources struct {
PbmPlacementMatchingResources []BasePbmPlacementMatchingResources `xml:"PbmPlacementMatchingResources,omitempty,typeattr" json:"_value"`
}
@@ -159,6 +194,7 @@ func init() {
types.Add("pbm:ArrayOfPbmPlacementMatchingResources", reflect.TypeOf((*ArrayOfPbmPlacementMatchingResources)(nil)).Elem())
}
+// A boxed array of `PbmPlacementRequirement`. To be used in `Any` placeholders.
type ArrayOfPbmPlacementRequirement struct {
PbmPlacementRequirement []BasePbmPlacementRequirement `xml:"PbmPlacementRequirement,omitempty,typeattr" json:"_value"`
}
@@ -167,6 +203,7 @@ func init() {
types.Add("pbm:ArrayOfPbmPlacementRequirement", reflect.TypeOf((*ArrayOfPbmPlacementRequirement)(nil)).Elem())
}
+// A boxed array of `PbmPlacementResourceUtilization`. To be used in `Any` placeholders.
type ArrayOfPbmPlacementResourceUtilization struct {
PbmPlacementResourceUtilization []PbmPlacementResourceUtilization `xml:"PbmPlacementResourceUtilization,omitempty" json:"_value"`
}
@@ -175,6 +212,7 @@ func init() {
types.Add("pbm:ArrayOfPbmPlacementResourceUtilization", reflect.TypeOf((*ArrayOfPbmPlacementResourceUtilization)(nil)).Elem())
}
+// A boxed array of `PbmProfile`. To be used in `Any` placeholders.
type ArrayOfPbmProfile struct {
PbmProfile []BasePbmProfile `xml:"PbmProfile,omitempty,typeattr" json:"_value"`
}
@@ -183,6 +221,7 @@ func init() {
types.Add("pbm:ArrayOfPbmProfile", reflect.TypeOf((*ArrayOfPbmProfile)(nil)).Elem())
}
+// A boxed array of `PbmProfileId`. To be used in `Any` placeholders.
type ArrayOfPbmProfileId struct {
PbmProfileId []PbmProfileId `xml:"PbmProfileId,omitempty" json:"_value"`
}
@@ -191,6 +230,7 @@ func init() {
types.Add("pbm:ArrayOfPbmProfileId", reflect.TypeOf((*ArrayOfPbmProfileId)(nil)).Elem())
}
+// A boxed array of `PbmProfileOperationOutcome`. To be used in `Any` placeholders.
type ArrayOfPbmProfileOperationOutcome struct {
PbmProfileOperationOutcome []PbmProfileOperationOutcome `xml:"PbmProfileOperationOutcome,omitempty" json:"_value"`
}
@@ -199,6 +239,7 @@ func init() {
types.Add("pbm:ArrayOfPbmProfileOperationOutcome", reflect.TypeOf((*ArrayOfPbmProfileOperationOutcome)(nil)).Elem())
}
+// A boxed array of `PbmProfileResourceType`. To be used in `Any` placeholders.
type ArrayOfPbmProfileResourceType struct {
PbmProfileResourceType []PbmProfileResourceType `xml:"PbmProfileResourceType,omitempty" json:"_value"`
}
@@ -207,6 +248,7 @@ func init() {
types.Add("pbm:ArrayOfPbmProfileResourceType", reflect.TypeOf((*ArrayOfPbmProfileResourceType)(nil)).Elem())
}
+// A boxed array of `PbmProfileType`. To be used in `Any` placeholders.
type ArrayOfPbmProfileType struct {
PbmProfileType []PbmProfileType `xml:"PbmProfileType,omitempty" json:"_value"`
}
@@ -215,6 +257,7 @@ func init() {
types.Add("pbm:ArrayOfPbmProfileType", reflect.TypeOf((*ArrayOfPbmProfileType)(nil)).Elem())
}
+// A boxed array of `PbmQueryProfileResult`. To be used in `Any` placeholders.
type ArrayOfPbmQueryProfileResult struct {
PbmQueryProfileResult []PbmQueryProfileResult `xml:"PbmQueryProfileResult,omitempty" json:"_value"`
}
@@ -223,6 +266,7 @@ func init() {
types.Add("pbm:ArrayOfPbmQueryProfileResult", reflect.TypeOf((*ArrayOfPbmQueryProfileResult)(nil)).Elem())
}
+// A boxed array of `PbmQueryReplicationGroupResult`. To be used in `Any` placeholders.
type ArrayOfPbmQueryReplicationGroupResult struct {
PbmQueryReplicationGroupResult []PbmQueryReplicationGroupResult `xml:"PbmQueryReplicationGroupResult,omitempty" json:"_value"`
}
@@ -231,6 +275,7 @@ func init() {
types.Add("pbm:ArrayOfPbmQueryReplicationGroupResult", reflect.TypeOf((*ArrayOfPbmQueryReplicationGroupResult)(nil)).Elem())
}
+// A boxed array of `PbmRollupComplianceResult`. To be used in `Any` placeholders.
type ArrayOfPbmRollupComplianceResult struct {
PbmRollupComplianceResult []PbmRollupComplianceResult `xml:"PbmRollupComplianceResult,omitempty" json:"_value"`
}
@@ -239,6 +284,7 @@ func init() {
types.Add("pbm:ArrayOfPbmRollupComplianceResult", reflect.TypeOf((*ArrayOfPbmRollupComplianceResult)(nil)).Elem())
}
+// A boxed array of `PbmServerObjectRef`. To be used in `Any` placeholders.
type ArrayOfPbmServerObjectRef struct {
PbmServerObjectRef []PbmServerObjectRef `xml:"PbmServerObjectRef,omitempty" json:"_value"`
}
@@ -247,11 +293,18 @@ func init() {
types.Add("pbm:ArrayOfPbmServerObjectRef", reflect.TypeOf((*ArrayOfPbmServerObjectRef)(nil)).Elem())
}
+// The `PbmAboutInfo` data object stores identifying data
+// about the Storage Policy Server.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmAboutInfo struct {
types.DynamicData
- Name string `xml:"name" json:"name"`
- Version string `xml:"version" json:"version"`
+ // Name of the server.
+ Name string `xml:"name" json:"name"`
+ // Version number.
+ Version string `xml:"version" json:"version"`
+ // Globally unique identifier associated with this server instance.
InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
@@ -259,6 +312,11 @@ func init() {
types.Add("pbm:PbmAboutInfo", reflect.TypeOf((*PbmAboutInfo)(nil)).Elem())
}
+// An AlreadyExists fault is thrown when an attempt is made to add an element to
+// a collection, if the element's key, name, or identifier already exists in
+// that collection.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmAlreadyExists struct {
PbmFault
@@ -281,10 +339,13 @@ func init() {
types.Add("pbm:PbmAssignDefaultRequirementProfile", reflect.TypeOf((*PbmAssignDefaultRequirementProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmAssignDefaultRequirementProfile`.
type PbmAssignDefaultRequirementProfileRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Profile PbmProfileId `xml:"profile" json:"profile"`
- Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The profile that needs to be made default profile.
+ Profile PbmProfileId `xml:"profile" json:"profile"`
+ // The datastores for which the profile needs to be made as default profile.
+ Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
}
func init() {
@@ -294,9 +355,15 @@ func init() {
type PbmAssignDefaultRequirementProfileResponse struct {
}
+// Constraints on the properties for a single occurrence of a capability.
+//
+// All properties must satisfy their respective constraints to be compliant.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityConstraintInstance struct {
types.DynamicData
+ // Property instance array for this constraint
PropertyInstance []PbmCapabilityPropertyInstance `xml:"propertyInstance" json:"propertyInstance"`
}
@@ -304,6 +371,10 @@ func init() {
types.Add("pbm:PbmCapabilityConstraintInstance", reflect.TypeOf((*PbmCapabilityConstraintInstance)(nil)).Elem())
}
+// The `PbmCapabilityConstraints` data object is the base
+// object for capability subprofile constraints.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityConstraints struct {
types.DynamicData
}
@@ -312,20 +383,53 @@ func init() {
types.Add("pbm:PbmCapabilityConstraints", reflect.TypeOf((*PbmCapabilityConstraints)(nil)).Elem())
}
+// A property value with description.
+//
+// It can be repeated under DiscreteSet.
+// E.g., set of tags, each with description and tag name.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityDescription struct {
types.DynamicData
+ // Description of the property value
Description PbmExtendedElementDescription `xml:"description" json:"description"`
- Value types.AnyType `xml:"value,typeattr" json:"value"`
+ // Values for the set.
+ //
+ // must be one of the supported datatypes as
+ // defined in `PbmBuiltinType_enum`
+ // Must only contain unique values to comply with the Set semantics
+ Value types.AnyType `xml:"value,typeattr" json:"value"`
}
func init() {
types.Add("pbm:PbmCapabilityDescription", reflect.TypeOf((*PbmCapabilityDescription)(nil)).Elem())
}
+// The `PbmCapabilityDiscreteSet` data object defines a set of values
+// for storage profile property instances (`PbmCapabilityPropertyInstance`).
+//
+// Use the discrete set type to define a set of values of a supported builtin type
+// (`PbmBuiltinType_enum`), for example a set of integers
+// (XSD\_INT) or a set of unsigned long values (XSD\_LONG).
+// See `PbmBuiltinGenericType_enum*.*VMW_SET`.
+//
+// A discrete set of values is declared as an array of xsd:anyType
values.
+// - When you define a property instance for a storage profile requirement
+// and pass an array of values to the Server, you must set the array elements
+// to values of the appropriate datatype.
+// - When you read a discrete set from a property instance for a storage profile
+// capability, you must cast the xsd:anyType
array element values
+// to the appropriate datatype.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityDiscreteSet struct {
types.DynamicData
+ // Array of values for the set.
+ //
+ // The values must be one of the supported datatypes
+ // as defined in `PbmBuiltinType_enum` or `PbmBuiltinGenericType_enum`.
Values []types.AnyType `xml:"values,typeattr" json:"values"`
}
@@ -333,9 +437,20 @@ func init() {
types.Add("pbm:PbmCapabilityDiscreteSet", reflect.TypeOf((*PbmCapabilityDiscreteSet)(nil)).Elem())
}
+// Generic type definition for capabilities.
+//
+// Indicates how a collection of values of a specific datatype
+// (`PbmCapabilityTypeInfo.typeName`)
+// will be interpreted.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityGenericTypeInfo struct {
PbmCapabilityTypeInfo
+ // Name of the generic type.
+ //
+ // Must correspond to one of the values defined in
+ // `PbmBuiltinGenericType_enum`.
GenericTypeName string `xml:"genericTypeName" json:"genericTypeName"`
}
@@ -343,10 +458,24 @@ func init() {
types.Add("pbm:PbmCapabilityGenericTypeInfo", reflect.TypeOf((*PbmCapabilityGenericTypeInfo)(nil)).Elem())
}
+// The `PbmCapabilityInstance` data object defines a storage capability instance.
+//
+// Metadata for the capability is described in `PbmCapabilityMetadata`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityInstance struct {
types.DynamicData
- Id PbmCapabilityMetadataUniqueId `xml:"id" json:"id"`
+ // Identifier for the capability.
+ //
+ // The identifier value corresponds to
+ // `PbmCapabilityMetadata*.*PbmCapabilityMetadata.id`.
+ Id PbmCapabilityMetadataUniqueId `xml:"id" json:"id"`
+ // Constraints on the properties that comprise this capability.
+ //
+ // Each entry represents a constraint on one or more of the properties that
+ // constitute this capability. A datum must meet one of the
+ // constraints to be compliant.
Constraint []PbmCapabilityConstraintInstance `xml:"constraint" json:"constraint"`
}
@@ -354,26 +483,60 @@ func init() {
types.Add("pbm:PbmCapabilityInstance", reflect.TypeOf((*PbmCapabilityInstance)(nil)).Elem())
}
+// Metadata for a single unique setting defined by a provider.
+//
+// A simple setting is a setting with one property.
+// A complex setting contains more than one property.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityMetadata struct {
types.DynamicData
- Id PbmCapabilityMetadataUniqueId `xml:"id" json:"id"`
- Summary PbmExtendedElementDescription `xml:"summary" json:"summary"`
- Mandatory *bool `xml:"mandatory" json:"mandatory,omitempty"`
- Hint *bool `xml:"hint" json:"hint,omitempty"`
- KeyId string `xml:"keyId,omitempty" json:"keyId,omitempty"`
- AllowMultipleConstraints *bool `xml:"allowMultipleConstraints" json:"allowMultipleConstraints,omitempty"`
- PropertyMetadata []PbmCapabilityPropertyMetadata `xml:"propertyMetadata" json:"propertyMetadata"`
+ // Unique identifier for the capability.
+ Id PbmCapabilityMetadataUniqueId `xml:"id" json:"id"`
+ // Capability name and description
+ Summary PbmExtendedElementDescription `xml:"summary" json:"summary"`
+ // Indicates whether incorporating given capability is mandatory during creation of
+ // profile.
+ Mandatory *bool `xml:"mandatory" json:"mandatory,omitempty"`
+ // The flag hint dictates the interpretation of constraints specified for this capability
+ // in a storage policy profile.
+ //
+ // If hint is false, then constraints will affect placement.
+ // If hint is true, constraints will not affect placement,
+ // but will still be passed to provisioning operations if the provider understands the
+ // relevant namespace. Optional property, false if not set.
+ Hint *bool `xml:"hint" json:"hint,omitempty"`
+ // Property Id of the key property, if this capability represents a key
+ // value pair.
+ //
+ // Value is empty string if not set.
+ KeyId string `xml:"keyId,omitempty" json:"keyId,omitempty"`
+ // Flag to indicate if multiple constraints are allowed in the capability
+ // instance.
+ //
+ // False if not set.
+ AllowMultipleConstraints *bool `xml:"allowMultipleConstraints" json:"allowMultipleConstraints,omitempty"`
+ // Metadata for the properties that comprise this capability.
+ PropertyMetadata []PbmCapabilityPropertyMetadata `xml:"propertyMetadata" json:"propertyMetadata"`
}
func init() {
types.Add("pbm:PbmCapabilityMetadata", reflect.TypeOf((*PbmCapabilityMetadata)(nil)).Elem())
}
+// The `PbmCapabilityMetadataPerCategory`
+// data object defines capability metadata for a profile subcategory.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityMetadataPerCategory struct {
types.DynamicData
- SubCategory string `xml:"subCategory" json:"subCategory"`
+ // Profile subcategory to which the capability metadata belongs.
+ //
+ // The subcategory is specified by the storage provider.
+ SubCategory string `xml:"subCategory" json:"subCategory"`
+ // Capability metadata for this category
CapabilityMetadata []PbmCapabilityMetadata `xml:"capabilityMetadata" json:"capabilityMetadata"`
}
@@ -384,18 +547,36 @@ func init() {
type PbmCapabilityMetadataUniqueId struct {
types.DynamicData
+ // Namespace to which this capability belongs.
+ //
+ // Must be the same as
+ // { @link CapabilityObjectSchema#namespace } defined for this
+ // capability
Namespace string `xml:"namespace" json:"namespace"`
- Id string `xml:"id" json:"id"`
+ // unique identifier for this capability within given namespace
+ Id string `xml:"id" json:"id"`
}
func init() {
types.Add("pbm:PbmCapabilityMetadataUniqueId", reflect.TypeOf((*PbmCapabilityMetadataUniqueId)(nil)).Elem())
}
+// Name space information for the capability metadata schema.
+//
+// NOTE: Name spaces are required to be globally unique across resource types.
+// A same vendor can register multiple name spaces for same resource type or
+// for different resource type, but the schema namespace URL must be unique
+// for each of these cases.
+// A CapabilityMetadata object is uniquely identified based on the namespace
+// it belongs to and it's unique identifier within that namespace.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityNamespaceInfo struct {
types.DynamicData
- Version string `xml:"version" json:"version"`
+ // Schema version
+ Version string `xml:"version" json:"version"`
+ // Schema namespace.
Namespace string `xml:"namespace" json:"namespace"`
Info *PbmExtendedElementDescription `xml:"info,omitempty" json:"info,omitempty"`
}
@@ -404,39 +585,123 @@ func init() {
types.Add("pbm:PbmCapabilityNamespaceInfo", reflect.TypeOf((*PbmCapabilityNamespaceInfo)(nil)).Elem())
}
+// The `PbmCapabilityProfile` data object defines
+// capability-based profiles.
+//
+// A capability-based profile is derived
+// from tag-based storage capabilities or from vSAN storage capabilities.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityProfile struct {
PbmProfile
- ProfileCategory string `xml:"profileCategory" json:"profileCategory"`
- ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
- Constraints BasePbmCapabilityConstraints `xml:"constraints,typeattr" json:"constraints"`
- GenerationId int64 `xml:"generationId,omitempty" json:"generationId,omitempty"`
- IsDefault bool `xml:"isDefault" json:"isDefault"`
- SystemCreatedProfileType string `xml:"systemCreatedProfileType,omitempty" json:"systemCreatedProfileType,omitempty"`
- LineOfService string `xml:"lineOfService,omitempty" json:"lineOfService,omitempty"`
+ // Indicates whether the profile is requirement
+ // profile, a resource profile or a data service profile.
+ //
+ // The profileCategory
+ // is a string value that corresponds to one of the
+ // `PbmProfileCategoryEnum_enum` values.
+ // - REQUIREMENT profile - Defines the storage constraints applied
+ // to virtual machine placement. Requirements are defined by
+ // the user and can be associated with virtual machines and virtual
+ // disks. During provisioning, you can use a requirements profile
+ // for compliance and placement checking to support
+ // selection and configuration of resources.
+ // - RESOURCE profile - Specifies system-defined storage capabilities.
+ // You cannot modify a resource profile. You cannot associate a resource
+ // profile with vSphere entities, use it during provisioning, or target
+ // entities for resource selection or configuration.
+ // This type of profile gives the user visibility into the capabilities
+ // supported by the storage provider.
+ //
+ // DATA\_SERVICE\_POLICY - Indicates a data service policy that can
+ // be embedded into another storage policy. Policies of this type can't
+ // be assigned to Virtual Machines or Virtual Disks. This policy cannot
+ // be used for compliance checking.
+ ProfileCategory string `xml:"profileCategory" json:"profileCategory"`
+ // Type of the target resource to which the capability information applies.
+ //
+ // A fixed enum that defines resource types for which capabilities can be defined
+ // see `PbmProfileResourceType`, `PbmProfileResourceTypeEnum_enum`
+ ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
+ // Subprofiles that describe storage requirements or storage provider capabilities,
+ // depending on the profile category (REQUIREMENT or RESOURCE).
+ Constraints BasePbmCapabilityConstraints `xml:"constraints,typeattr" json:"constraints"`
+ // Generation ID is used to communicate the current version of the profile to VASA
+ // providers.
+ //
+ // It is only applicable to REQUIREMENT profile types. Every time a
+ // requirement profile is edited, the Server will increment the generationId. You
+ // do not need to set the generationID. When an object is created (or
+ // reconfigured), the Server will send the requirement profile content, profile ID and
+ // the generationID to VASA provider.
+ GenerationId int64 `xml:"generationId,omitempty" json:"generationId,omitempty"`
+ // Deprecated since it is not supported.
+ //
+ // Not supported in this release.
+ IsDefault bool `xml:"isDefault" json:"isDefault"`
+ // Indicates the type of system pre-created default profile.
+ //
+ // This will be set only for system pre-created default profiles. And
+ // this is not set for RESOURCE profiles.
+ SystemCreatedProfileType string `xml:"systemCreatedProfileType,omitempty" json:"systemCreatedProfileType,omitempty"`
+ // This property is set only for data service policy.
+ //
+ // Indicates the line of service
+ // `PbmLineOfServiceInfoLineOfServiceEnum_enum` of the data service policy.
+ LineOfService string `xml:"lineOfService,omitempty" json:"lineOfService,omitempty"`
}
func init() {
types.Add("pbm:PbmCapabilityProfile", reflect.TypeOf((*PbmCapabilityProfile)(nil)).Elem())
}
+// The `PbmCapabilityProfileCreateSpec` describes storage requirements.
+//
+// Use this data object to create a `PbmCapabilityProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityProfileCreateSpec struct {
types.DynamicData
- Name string `xml:"name" json:"name"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
- Category string `xml:"category,omitempty" json:"category,omitempty"`
- ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
- Constraints BasePbmCapabilityConstraints `xml:"constraints,typeattr" json:"constraints"`
+ // Name of the capability based profile to be created.
+ //
+ // The maximum length of the name is 80 characters.
+ Name string `xml:"name" json:"name"`
+ // Text description associated with the profile.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // Category specifies the type of policy to be created.
+ //
+ // This can be REQUIREMENT from
+ // `PbmProfileCategoryEnum_enum`
+ // or null when creating a storage policy. And it can be DATA\_SERVICE\_POLICY from
+ // `PbmProfileCategoryEnum_enum`
+ // when creating a data service policy. RESOURCE from `PbmProfileCategoryEnum_enum`
+ // is not allowed as resource profile is created by the system.
+ Category string `xml:"category,omitempty" json:"category,omitempty"`
+ // Deprecated as of vSphere API 6.5.
+ //
+ // Specifies the type of resource to which the profile applies.
+ //
+ // The only legal value is STORAGE - deprecated.
+ ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
+ // Set of subprofiles that define the storage requirements.
+ //
+ // A subprofile corresponds to a rule set in the vSphere Web Client.
+ Constraints BasePbmCapabilityConstraints `xml:"constraints,typeattr" json:"constraints"`
}
func init() {
types.Add("pbm:PbmCapabilityProfileCreateSpec", reflect.TypeOf((*PbmCapabilityProfileCreateSpec)(nil)).Elem())
}
+// Fault used when a datastore doesnt match the capability profile property instance in requirements profile.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityProfilePropertyMismatchFault struct {
PbmPropertyMismatchFault
+ // The property instance in the resource profile that does not match.
ResourcePropertyInstance PbmCapabilityPropertyInstance `xml:"resourcePropertyInstance" json:"resourcePropertyInstance"`
}
@@ -450,11 +715,21 @@ func init() {
types.Add("pbm:PbmCapabilityProfilePropertyMismatchFaultFault", reflect.TypeOf((*PbmCapabilityProfilePropertyMismatchFaultFault)(nil)).Elem())
}
+// The `PbmCapabilityProfileUpdateSpec` data object
+// contains data that you use to update a storage profile.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityProfileUpdateSpec struct {
types.DynamicData
- Name string `xml:"name,omitempty" json:"name,omitempty"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // Specifies a new profile name.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // Specifies a new profile description.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // Specifies one or more subprofiles.
+ //
+ // A subprofile defines one or more
+ // storage requirements.
Constraints BasePbmCapabilityConstraints `xml:"constraints,omitempty,typeattr" json:"constraints,omitempty"`
}
@@ -462,38 +737,167 @@ func init() {
types.Add("pbm:PbmCapabilityProfileUpdateSpec", reflect.TypeOf((*PbmCapabilityProfileUpdateSpec)(nil)).Elem())
}
+// The `PbmCapabilityPropertyInstance` data object describes a virtual machine
+// storage requirement.
+//
+// A storage requirement is based on the storage capability
+// described in the `PbmCapabilityPropertyMetadata` and in the
+// datastore profile property instance.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityPropertyInstance struct {
types.DynamicData
- Id string `xml:"id" json:"id"`
- Operator string `xml:"operator,omitempty" json:"operator,omitempty"`
- Value types.AnyType `xml:"value,typeattr" json:"value"`
+ // Requirement property identifier.
+ //
+ // This identifier corresponds to the
+ // storage capability metadata identifier
+ // (`PbmCapabilityPropertyMetadata*.*PbmCapabilityPropertyMetadata.id`).
+ Id string `xml:"id" json:"id"`
+ // Operator for the values.
+ //
+ // Currently only support NOT operator for
+ // tag namespace
+ // See operator definition in (`PbmCapabilityOperator_enum`).
+ Operator string `xml:"operator,omitempty" json:"operator,omitempty"`
+ // Property value.
+ //
+ // You must specify the value.
+ // A property value is one value or a collection of values.
+ // - A single property value is expressed as a scalar value.
+ // - A collection of values is expressed as a `PbmCapabilityDiscreteSet`
+ // or a `PbmCapabilityRange` of values.
+ //
+ // The datatype of each value must be one of the
+ // `PbmBuiltinType_enum` datatypes.
+ // If the property consists of a collection of values,
+ // the interpretation of those values is determined by the
+ // `PbmCapabilityGenericTypeInfo`.
+ //
+ // Type information for a property instance is described in the property metadata
+ // (`PbmCapabilityPropertyMetadata*.*PbmCapabilityPropertyMetadata.type`).
+ Value types.AnyType `xml:"value,typeattr" json:"value"`
}
func init() {
types.Add("pbm:PbmCapabilityPropertyInstance", reflect.TypeOf((*PbmCapabilityPropertyInstance)(nil)).Elem())
}
+// The `PbmCapabilityPropertyMetadata` data object describes storage capability.
+//
+// An instance of property metadata may apply to many property instances
+// (`PbmCapabilityPropertyInstance`).
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityPropertyMetadata struct {
types.DynamicData
- Id string `xml:"id" json:"id"`
- Summary PbmExtendedElementDescription `xml:"summary" json:"summary"`
- Mandatory bool `xml:"mandatory" json:"mandatory"`
- Type BasePbmCapabilityTypeInfo `xml:"type,omitempty,typeattr" json:"type,omitempty"`
- DefaultValue types.AnyType `xml:"defaultValue,omitempty,typeattr" json:"defaultValue,omitempty"`
- AllowedValue types.AnyType `xml:"allowedValue,omitempty,typeattr" json:"allowedValue,omitempty"`
- RequirementsTypeHint string `xml:"requirementsTypeHint,omitempty" json:"requirementsTypeHint,omitempty"`
+ // Property identifier.
+ //
+ // Should be unique within the definition of the
+ // capability. Property instances refer to this identifier
+ // (`PbmCapabilityPropertyInstance*.*PbmCapabilityPropertyInstance.id`).
+ Id string `xml:"id" json:"id"`
+ // Property name and description.
+ // - The summary.label
property
+ // (`PbmExtendedElementDescription.label`)
+ // contains property 'name' in server locale.
+ // - The summary.summary
property
+ // (`PbmExtendedElementDescription.summary`)
+ // contains property 'description' in server locale.
+ // - The summary.messageCatalogKeyPrefix
property
+ // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
+ // contains unique prefix for this property within given message catalog.
+ // Prefix format: <capability\_unique\_identifier.<property\_id
+ // capability\_unique\_identifier -- string representation of
+ // `PbmCapabilityMetadataUniqueId` which globally identifies given
+ // capability metadata definition uniquely.
+ // property\_id -- 'id' of this property `PbmCapabilityPropertyMetadata.id`
+ // Eg www.emc.com.storage.Recovery.Recovery\_site
+ // www.emc.com.storage.Recovery.RPO
+ // www.emc.com.storage.Recovery.RTO
+ Summary PbmExtendedElementDescription `xml:"summary" json:"summary"`
+ // Indicates whether incorporating given capability is mandatory during creation of
+ // profile.
+ Mandatory bool `xml:"mandatory" json:"mandatory"`
+ // Type information for the capability.
+ //
+ // The type of a property value
+ // (`PbmCapabilityPropertyInstance*.*PbmCapabilityPropertyInstance.value`)
+ // is specified as a builtin datatype and may also specify the interpretation of a
+ // collection of values of that datatype.
+ // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityTypeInfo.typeName`
+ // specifies the `PbmBuiltinType_enum`.
+ // - `PbmCapabilityPropertyMetadata.type*.*PbmCapabilityGenericTypeInfo.genericTypeName`
+ // indicates how a collection of values of the specified datatype will be interpreted
+ // (`PbmBuiltinGenericType_enum`).
+ Type BasePbmCapabilityTypeInfo `xml:"type,omitempty,typeattr" json:"type,omitempty"`
+ // Default value, if any, that the property will assume when not
+ // constrained by requirements.
+ //
+ // This object must be of the
+ // `PbmCapabilityPropertyMetadata.type`
+ // defined for the property.
+ DefaultValue types.AnyType `xml:"defaultValue,omitempty,typeattr" json:"defaultValue,omitempty"`
+ // All legal values that the property may take on, across all
+ // implementations of the property.
+ //
+ // This definition of legal values is not
+ // determined by any particular resource configuration; rather it is
+ // inherent to the definition of the property. If undefined, then any value
+ // of the correct type is legal. This object must be a generic container for
+ // the `PbmCapabilityPropertyMetadata.type`
+ // defined for the property;
+ // see `PbmBuiltinGenericType_enum`
+ // for the supported generic container types.
+ AllowedValue types.AnyType `xml:"allowedValue,omitempty,typeattr" json:"allowedValue,omitempty"`
+ // A hint for data-driven systems that assist in authoring requirements
+ // constraints.
+ //
+ // Acceptable values defined by
+ // `PbmBuiltinGenericType_enum`.
+ // A property will typically only have constraints of a given type in
+ // requirement profiles, even if it is likely to use constraints of
+ // different types across capability profiles. This value, if specified,
+ // specifies the expected kind of constraint used in requirement profiles.
+ // Considerations for using this information:
+ // - This is only a hint; any properly formed constraint
+ // (see `PbmCapabilityPropertyInstance.value`)
+ // is still valid for a requirement profile.
+ // - If VMW\_SET is hinted, then a single value matching the property metadata type is
+ // also an expected form of constraint, as the latter is an allowed convenience
+ // for expressing a single-member set.
+ // - If this hint is not specified, then the authoring system may default to a form of
+ // constraint determined by its own criteria.
+ RequirementsTypeHint string `xml:"requirementsTypeHint,omitempty" json:"requirementsTypeHint,omitempty"`
}
func init() {
types.Add("pbm:PbmCapabilityPropertyMetadata", reflect.TypeOf((*PbmCapabilityPropertyMetadata)(nil)).Elem())
}
+// The `PbmCapabilityRange` data object defines a range of values for storage property
+// instances (`PbmCapabilityPropertyInstance`).
+//
+// Use the range type to define a range of values of a supported builtin type,
+// for example range<int>, range<long>, or range<timespan>.
+// You can specify a partial range by omitting one of the properties, min or max.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityRange struct {
types.DynamicData
+ // Minimum value of range.
+ //
+ // Must be one of the supported
+ // datatypes as defined in `PbmBuiltinType_enum`.
+ // Must be the same datatype as min.
Min types.AnyType `xml:"min,typeattr" json:"min"`
+ // Maximum value of range.
+ //
+ // Must be one of the supported
+ // datatypes as defined in `PbmBuiltinType_enum`.
+ // Must be the same datatype as max.
Max types.AnyType `xml:"max,typeattr" json:"max"`
}
@@ -501,12 +905,21 @@ func init() {
types.Add("pbm:PbmCapabilityRange", reflect.TypeOf((*PbmCapabilityRange)(nil)).Elem())
}
+// Capability Schema information
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilitySchema struct {
types.DynamicData
- VendorInfo PbmCapabilitySchemaVendorInfo `xml:"vendorInfo" json:"vendorInfo"`
- NamespaceInfo PbmCapabilityNamespaceInfo `xml:"namespaceInfo" json:"namespaceInfo"`
- LineOfService BasePbmLineOfServiceInfo `xml:"lineOfService,omitempty,typeattr" json:"lineOfService,omitempty"`
+ VendorInfo PbmCapabilitySchemaVendorInfo `xml:"vendorInfo" json:"vendorInfo"`
+ NamespaceInfo PbmCapabilityNamespaceInfo `xml:"namespaceInfo" json:"namespaceInfo"`
+ // Service type for the schema.
+ //
+ // Do not use Category as each service needs to have its own schema version.
+ //
+ // If omitted, this schema specifies persistence capabilities.
+ LineOfService BasePbmLineOfServiceInfo `xml:"lineOfService,omitempty,typeattr" json:"lineOfService,omitempty"`
+ // Capability metadata organized by category
CapabilityMetadataPerCategory []PbmCapabilityMetadataPerCategory `xml:"capabilityMetadataPerCategory" json:"capabilityMetadataPerCategory"`
}
@@ -514,32 +927,82 @@ func init() {
types.Add("pbm:PbmCapabilitySchema", reflect.TypeOf((*PbmCapabilitySchema)(nil)).Elem())
}
+// Information about vendor/owner of the capability metadata schema
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilitySchemaVendorInfo struct {
types.DynamicData
- VendorUuid string `xml:"vendorUuid" json:"vendorUuid"`
- Info PbmExtendedElementDescription `xml:"info" json:"info"`
+ // Unique identifier for the vendor who owns the given capability
+ // schema definition
+ VendorUuid string `xml:"vendorUuid" json:"vendorUuid"`
+ // Captures name and description information about the vendor/owner of
+ // the schema.
+ // - The summary.label
property
+ // (`PbmExtendedElementDescription.label`)
+ // contains vendor name information in server locale.
+ // - The summary.summary
property
+ // (`PbmExtendedElementDescription.summary`)
+ // contains vendor description string in server locale.
+ // - The summary.messageCatalogKeyPrefix
property
+ // (`PbmExtendedElementDescription.messageCatalogKeyPrefix`)
+ // contains unique prefix for the vendor information within given message
+ // catalog.
+ Info PbmExtendedElementDescription `xml:"info" json:"info"`
}
func init() {
types.Add("pbm:PbmCapabilitySchemaVendorInfo", reflect.TypeOf((*PbmCapabilitySchemaVendorInfo)(nil)).Elem())
}
+// A `PbmCapabilitySubProfile`
+// is a section within a profile that aggregates one or more capability
+// instances.
+//
+// Capability instances define storage constraints.
+//
+// All constraints within a subprofile are ANDed by default.
+// When you perform compliance checking on a virtual machine or virtual
+// disk, all of the constraints must be satisfied by the storage capabilities.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilitySubProfile struct {
types.DynamicData
- Name string `xml:"name" json:"name"`
- Capability []PbmCapabilityInstance `xml:"capability" json:"capability"`
- ForceProvision *bool `xml:"forceProvision" json:"forceProvision,omitempty"`
+ // Subprofile name.
+ Name string `xml:"name" json:"name"`
+ // List of capability instances.
+ Capability []PbmCapabilityInstance `xml:"capability" json:"capability"`
+ // Indicates whether the source policy profile allows creating a virtual machine
+ // or virtual disk that may be non-compliant.
+ ForceProvision *bool `xml:"forceProvision" json:"forceProvision,omitempty"`
}
func init() {
types.Add("pbm:PbmCapabilitySubProfile", reflect.TypeOf((*PbmCapabilitySubProfile)(nil)).Elem())
}
+// The `PbmCapabilitySubProfileConstraints` data object defines a group
+// of storage subprofiles.
+//
+// Subprofile usage depends on the type of profile
+// (`PbmCapabilityProfile*.*PbmCapabilityProfile.profileCategory`).
+// - For a REQUIREMENTS profile, each subprofile defines storage requirements.
+// A Storage Policy API requirements subprofile corresponds to a vSphere Web Client
+// rule set.
+// - For a RESOURCE profile, each subprofile defines storage capabilities.
+// Storage capabilities are read-only.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilitySubProfileConstraints struct {
PbmCapabilityConstraints
+ // Aggregation of one or more subprofiles.
+ //
+ // The relationship among all subprofiles is "OR". When you perform
+ // compliance checking on a profile that contains more than one subprofile,
+ // a non-compliant result for any one of the subprofiles will produce a
+ // non-compliant result for the operation.
SubProfiles []PbmCapabilitySubProfile `xml:"subProfiles" json:"subProfiles"`
}
@@ -547,20 +1010,51 @@ func init() {
types.Add("pbm:PbmCapabilitySubProfileConstraints", reflect.TypeOf((*PbmCapabilitySubProfileConstraints)(nil)).Elem())
}
+// The `PbmCapabilityTimeSpan` data object defines a time value and time unit,
+// for example 10 hours or 5 minutes.
+//
+// See
+// `PbmBuiltinType_enum*.*VMW_TIMESPAN`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityTimeSpan struct {
types.DynamicData
- Value int32 `xml:"value" json:"value"`
- Unit string `xml:"unit" json:"unit"`
+ // Time value.
+ //
+ // Must be a positive integer.
+ Value int32 `xml:"value" json:"value"`
+ // Unit value for time.
+ //
+ // The string value must correspond
+ // to one of the `PbmCapabilityTimeUnitType_enum` values.
+ Unit string `xml:"unit" json:"unit"`
}
func init() {
types.Add("pbm:PbmCapabilityTimeSpan", reflect.TypeOf((*PbmCapabilityTimeSpan)(nil)).Elem())
}
+// The `PbmCapabilityTypeInfo` data object defines the datatype for a requirement
+// or capability property.
+//
+// See `PbmCapabilityPropertyMetadata`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCapabilityTypeInfo struct {
types.DynamicData
+ // Datatype for a property.
+ //
+ // Must be one of the types defined
+ // in `PbmBuiltinType_enum`.
+ //
+ // A property value might consist of a collection of values of the specified
+ // datatype. The interpretation of the collection is determined by the
+ // generic type (`PbmCapabilityGenericTypeInfo.genericTypeName`).
+ // The generic type indicates how a collection of values
+ // of the specified datatype will be interpreted. See the descriptions of the
+ // `PbmBuiltinType_enum` definitions.
TypeName string `xml:"typeName" json:"typeName"`
}
@@ -582,7 +1076,13 @@ func init() {
type PbmCapabilityVendorResourceTypeInfo struct {
types.DynamicData
- ResourceType string `xml:"resourceType" json:"resourceType"`
+ // Resource type for which given vendor has registered given namespace
+ // along with capability metadata that belongs to the namespace.
+ //
+ // Must match one of the values for enum `PbmProfileResourceTypeEnum_enum`
+ ResourceType string `xml:"resourceType" json:"resourceType"`
+ // List of all vendorInfo -- namespaceInfo tuples that are registered for
+ // given resource type
VendorNamespaceInfo []PbmCapabilityVendorNamespaceInfo `xml:"vendorNamespaceInfo" json:"vendorNamespaceInfo"`
}
@@ -596,10 +1096,16 @@ func init() {
types.Add("pbm:PbmCheckCompatibility", reflect.TypeOf((*PbmCheckCompatibility)(nil)).Elem())
}
+// The parameters of `PbmPlacementSolver.PbmCheckCompatibility`.
type PbmCheckCompatibilityRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
- Profile PbmProfileId `xml:"profile" json:"profile"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Candidate list of hubs, either datastores or storage pods or a
+ // mix. If this parameter is not specified, the Server uses all
+ // of the datastores and storage pods for placement compatibility
+ // checking.
+ HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
+ // Storage requirement profile.
+ Profile PbmProfileId `xml:"profile" json:"profile"`
}
func init() {
@@ -616,10 +1122,15 @@ func init() {
types.Add("pbm:PbmCheckCompatibilityWithSpec", reflect.TypeOf((*PbmCheckCompatibilityWithSpec)(nil)).Elem())
}
+// The parameters of `PbmPlacementSolver.PbmCheckCompatibilityWithSpec`.
type PbmCheckCompatibilityWithSpecRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
- ProfileSpec PbmCapabilityProfileCreateSpec `xml:"profileSpec" json:"profileSpec"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Candidate list of hubs, either datastores or storage pods
+ // or a mix. If this parameter is not specified, the Server uses all of the
+ // datastores and storage pods for placement compatibility checking.
+ HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
+ // Specification for a capability based profile.
+ ProfileSpec PbmCapabilityProfileCreateSpec `xml:"profileSpec" json:"profileSpec"`
}
func init() {
@@ -636,10 +1147,31 @@ func init() {
types.Add("pbm:PbmCheckCompliance", reflect.TypeOf((*PbmCheckCompliance)(nil)).Elem())
}
+// The parameters of `PbmComplianceManager.PbmCheckCompliance`.
type PbmCheckComplianceRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
- Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // One or more references to storage entities.
+ // You can specify virtual machines and virtual disks
+ // A maximum of 1000 virtual machines and/or virtual disks can be specified
+ // in a call. The results of calling the checkCompliance API with
+ // more than a 1000 entities is undefined.
+ // - If the list of entities also contains datastores, the Server
+ // will ignore the datastores.
+ // - If the list contains valid and invalid entities, the Server ignores
+ // the invalid entities and returns results for the valid entities.
+ // Invalid entities are entities that are not in the vCenter inventory.
+ // - If the list contains only datastores, the method throws
+ // an InvalidArgument
fault.
+ // - If the list contains virtual machines and disks and the entities
+ // are invalid or have been deleted by the time of the request, the method
+ // throws an InvalidArgument
fault.
+ //
+ // If an entity does not have an associated storage profile, the entity
+ // is removed from the list.
+ Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
+ // Not used. If specified, the Server ignores the value.
+ // The Server uses the profiles associated with the specified entities.
+ Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -656,10 +1188,26 @@ func init() {
types.Add("pbm:PbmCheckRequirements", reflect.TypeOf((*PbmCheckRequirements)(nil)).Elem())
}
+// The parameters of `PbmPlacementSolver.PbmCheckRequirements`.
type PbmCheckRequirementsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
- PlacementSubjectRef *PbmServerObjectRef `xml:"placementSubjectRef,omitempty" json:"placementSubjectRef,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Candidate list of hubs, either datastores or storage pods
+ // or a mix. If this parameter is not specified, the Server uses all of the
+ // datastores and storage pods for placement compatibility checking.
+ HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
+ // reference to the object being placed. Should be null when a new
+ // object is being provisioned. Should be specified when placement compatibility is being checked
+ // for an existing object. Supported objects are
+ // `virtualMachine`,
+ // `virtualMachineAndDisks`,
+ // `virtualDiskId`,
+ // `virtualDiskUUID`
+ PlacementSubjectRef *PbmServerObjectRef `xml:"placementSubjectRef,omitempty" json:"placementSubjectRef,omitempty"`
+ // Requirements including the policy requirements, compute
+ // requirements and capacity requirements. It is invalid to specify no requirements. It is also
+ // invalid to specify duplicate requirements or multiple conflicting requirements such as
+ // specifying both `PbmPlacementCapabilityConstraintsRequirement` and
+ // `PbmPlacementCapabilityProfileRequirement`.
PlacementSubjectRequirement []BasePbmPlacementRequirement `xml:"placementSubjectRequirement,omitempty,typeattr" json:"placementSubjectRequirement,omitempty"`
}
@@ -677,9 +1225,14 @@ func init() {
types.Add("pbm:PbmCheckRollupCompliance", reflect.TypeOf((*PbmCheckRollupCompliance)(nil)).Elem())
}
+// The parameters of `PbmComplianceManager.PbmCheckRollupCompliance`.
type PbmCheckRollupComplianceRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entity []PbmServerObjectRef `xml:"entity" json:"entity"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // One or more references to virtual machines.
+ // A maximum of 1000 virtual machines can be specified
+ // in a call. The results of calling the checkRollupCompliance API with
+ // more than a 1000 entities is undefined.
+ Entity []PbmServerObjectRef `xml:"entity" json:"entity"`
}
func init() {
@@ -690,9 +1243,13 @@ type PbmCheckRollupComplianceResponse struct {
Returnval []PbmRollupComplianceResult `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// Super class for all compatibility check faults.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCompatibilityCheckFault struct {
PbmFault
+ // Placement Hub
Hub PbmPlacementHub `xml:"hub" json:"hub"`
}
@@ -706,43 +1263,124 @@ func init() {
types.Add("pbm:PbmCompatibilityCheckFaultFault", reflect.TypeOf((*PbmCompatibilityCheckFaultFault)(nil)).Elem())
}
+// Additional information on the effects of backend resources and
+// operations on the storage object.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmComplianceOperationalStatus struct {
types.DynamicData
- Healthy *bool `xml:"healthy" json:"healthy,omitempty"`
- OperationETA *time.Time `xml:"operationETA" json:"operationETA,omitempty"`
- OperationProgress int64 `xml:"operationProgress,omitempty" json:"operationProgress,omitempty"`
- Transitional *bool `xml:"transitional" json:"transitional,omitempty"`
+ // Whether the object is currently affected by the failure of backend
+ // storage resources.
+ //
+ // Optional property.
+ Healthy *bool `xml:"healthy" json:"healthy,omitempty"`
+ // Estimated completion time of a backend operation affecting the object.
+ //
+ // If set, then "transitional" will be true.
+ // Optional property.
+ OperationETA *time.Time `xml:"operationETA" json:"operationETA,omitempty"`
+ // Percent progress of a backend operation affecting the object.
+ //
+ // If set, then "transitional" will be true.
+ // Optional property.
+ OperationProgress int64 `xml:"operationProgress,omitempty" json:"operationProgress,omitempty"`
+ // Whether an object is undergoing a backend operation that may affect
+ // its performance.
+ //
+ // This may be a rebalancing the resources of a healthy
+ // object or recovery tasks for an unhealthy object.
+ // Optional property.
+ Transitional *bool `xml:"transitional" json:"transitional,omitempty"`
}
func init() {
types.Add("pbm:PbmComplianceOperationalStatus", reflect.TypeOf((*PbmComplianceOperationalStatus)(nil)).Elem())
}
+// The `PbmCompliancePolicyStatus` data object provides information
+// when compliance checking produces non-compliant results.
+//
+// See
+// `PbmComplianceResult*.*PbmComplianceResult.violatedPolicies`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmCompliancePolicyStatus struct {
types.DynamicData
- ExpectedValue PbmCapabilityInstance `xml:"expectedValue" json:"expectedValue"`
- CurrentValue *PbmCapabilityInstance `xml:"currentValue,omitempty" json:"currentValue,omitempty"`
+ // Expected storage capability values of profile policies defined
+ // by a storage provider.
+ ExpectedValue PbmCapabilityInstance `xml:"expectedValue" json:"expectedValue"`
+ // Current storage requirement values of the profile policies
+ // specified for the virtual machine or virtual disk.
+ CurrentValue *PbmCapabilityInstance `xml:"currentValue,omitempty" json:"currentValue,omitempty"`
}
func init() {
types.Add("pbm:PbmCompliancePolicyStatus", reflect.TypeOf((*PbmCompliancePolicyStatus)(nil)).Elem())
}
+// The `PbmComplianceResult` data object describes the results of profile compliance
+// checking for a virtual machine or virtual disk.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmComplianceResult struct {
types.DynamicData
- CheckTime time.Time `xml:"checkTime" json:"checkTime"`
- Entity PbmServerObjectRef `xml:"entity" json:"entity"`
- Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
- ComplianceTaskStatus string `xml:"complianceTaskStatus,omitempty" json:"complianceTaskStatus,omitempty"`
- ComplianceStatus string `xml:"complianceStatus" json:"complianceStatus"`
- Mismatch bool `xml:"mismatch" json:"mismatch"`
- ViolatedPolicies []PbmCompliancePolicyStatus `xml:"violatedPolicies,omitempty" json:"violatedPolicies,omitempty"`
- ErrorCause []types.LocalizedMethodFault `xml:"errorCause,omitempty" json:"errorCause,omitempty"`
- OperationalStatus *PbmComplianceOperationalStatus `xml:"operationalStatus,omitempty" json:"operationalStatus,omitempty"`
- Info *PbmExtendedElementDescription `xml:"info,omitempty" json:"info,omitempty"`
+ // Time when the compliance was checked.
+ CheckTime time.Time `xml:"checkTime" json:"checkTime"`
+ // Virtual machine or virtual disk for which compliance was checked.
+ Entity PbmServerObjectRef `xml:"entity" json:"entity"`
+ // Requirement profile with which the compliance was checked.
+ Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
+ // Status of the current running compliance operation.
+ //
+ // If there is no
+ // compliance check operation triggered, this indicates the last compliance
+ // task status. complianceTaskStatus
is a string value that
+ // corresponds to one of the
+ // `PbmComplianceResultComplianceTaskStatus_enum` values.
+ ComplianceTaskStatus string `xml:"complianceTaskStatus,omitempty" json:"complianceTaskStatus,omitempty"`
+ // Status of the compliance operation.
+ //
+ // complianceStatus
is a
+ // string value that corresponds to one of the
+ // `PbmComplianceStatus_enum` values.
+ //
+ // When you perform compliance checking on an entity whose associated profile
+ // contains more than one subprofile (
+ // `PbmCapabilityProfile` .
+ // `PbmCapabilityProfile.constraints`), a compliant
+ // result for any one of the subprofiles will produce a compliant result
+ // for the operation.
+ ComplianceStatus string `xml:"complianceStatus" json:"complianceStatus"`
+ // Deprecated as of vSphere 2016, use
+ // `PbmComplianceStatus_enum` to
+ // know if a mismatch has occurred. If
+ // `PbmComplianceResult.complianceStatus` value
+ // is outOfDate, mismatch has occurred.
+ //
+ // Set to true if there is a profile version mismatch between the Storage
+ // Profile Server and the storage provider.
+ //
+ // If you receive a result that
+ // indicates a mismatch, you must use the vSphere API to update the profile
+ // associated with the virtual machine or virtual disk.
+ Mismatch bool `xml:"mismatch" json:"mismatch"`
+ // Values for capabilities that are known to be non-compliant with the specified constraints.
+ ViolatedPolicies []PbmCompliancePolicyStatus `xml:"violatedPolicies,omitempty" json:"violatedPolicies,omitempty"`
+ // This property is set if the compliance task fails with errors.
+ //
+ // There can be
+ // more than one error since a policy containing multiple blobs can return
+ // multiple failures, one for each blob.
+ ErrorCause []types.LocalizedMethodFault `xml:"errorCause,omitempty" json:"errorCause,omitempty"`
+ // Additional information on the effects of backend resources and
+ // operations on the storage object.
+ OperationalStatus *PbmComplianceOperationalStatus `xml:"operationalStatus,omitempty" json:"operationalStatus,omitempty"`
+ // Informational localized messages provided by the VASA provider in
+ // addition to the violatedPolicy
.
+ Info *PbmExtendedElementDescription `xml:"info,omitempty" json:"info,omitempty"`
}
func init() {
@@ -755,8 +1393,10 @@ func init() {
types.Add("pbm:PbmCreate", reflect.TypeOf((*PbmCreate)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmCreate`.
type PbmCreateRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Capability-based profile specification.
CreateSpec PbmCapabilityProfileCreateSpec `xml:"createSpec" json:"createSpec"`
}
@@ -768,45 +1408,84 @@ type PbmCreateResponse struct {
Returnval PbmProfileId `xml:"returnval" json:"returnval"`
}
+// DataServiceToProfilesMap maps the data service policy to the parent storage policies
+// if referred.
+//
+// This is returned from the API call
+// `ProfileManager#queryParentStoragePolicies(ProfileId[])`
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDataServiceToPoliciesMap struct {
types.DynamicData
- DataServicePolicy PbmProfileId `xml:"dataServicePolicy" json:"dataServicePolicy"`
- ParentStoragePolicies []PbmProfileId `xml:"parentStoragePolicies,omitempty" json:"parentStoragePolicies,omitempty"`
- Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+ // Denotes a Data Service Policy Id.
+ DataServicePolicy PbmProfileId `xml:"dataServicePolicy" json:"dataServicePolicy"`
+ // Storage Policies that refer to the Data Service Policy given by
+ // `PbmDataServiceToPoliciesMap.dataServicePolicy`.
+ ParentStoragePolicies []PbmProfileId `xml:"parentStoragePolicies,omitempty" json:"parentStoragePolicies,omitempty"`
+ // The fault is set in case of error conditions and this property will
+ // have the reason.
+ Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
types.Add("pbm:PbmDataServiceToPoliciesMap", reflect.TypeOf((*PbmDataServiceToPoliciesMap)(nil)).Elem())
}
+// Space stats for datastore
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDatastoreSpaceStatistics struct {
types.DynamicData
- ProfileId string `xml:"profileId,omitempty" json:"profileId,omitempty"`
- PhysicalTotalInMB int64 `xml:"physicalTotalInMB" json:"physicalTotalInMB"`
- PhysicalFreeInMB int64 `xml:"physicalFreeInMB" json:"physicalFreeInMB"`
- PhysicalUsedInMB int64 `xml:"physicalUsedInMB" json:"physicalUsedInMB"`
- LogicalLimitInMB int64 `xml:"logicalLimitInMB,omitempty" json:"logicalLimitInMB,omitempty"`
- LogicalFreeInMB int64 `xml:"logicalFreeInMB" json:"logicalFreeInMB"`
- LogicalUsedInMB int64 `xml:"logicalUsedInMB" json:"logicalUsedInMB"`
+ // Capability profile id.
+ //
+ // It is null when the statistics are for the entire
+ // datastore.
+ ProfileId string `xml:"profileId,omitempty" json:"profileId,omitempty"`
+ // Total physical space in MB.
+ PhysicalTotalInMB int64 `xml:"physicalTotalInMB" json:"physicalTotalInMB"`
+ // Total physical free space in MB.
+ PhysicalFreeInMB int64 `xml:"physicalFreeInMB" json:"physicalFreeInMB"`
+ // Used physical storage space in MB.
+ PhysicalUsedInMB int64 `xml:"physicalUsedInMB" json:"physicalUsedInMB"`
+ // Logical space limit set by the storage admin in MB.
+ //
+ // Omitted if there is no Logical space limit.
+ LogicalLimitInMB int64 `xml:"logicalLimitInMB,omitempty" json:"logicalLimitInMB,omitempty"`
+ // Free logical storage space in MB.
+ LogicalFreeInMB int64 `xml:"logicalFreeInMB" json:"logicalFreeInMB"`
+ // Used logical storage space in MB.
+ LogicalUsedInMB int64 `xml:"logicalUsedInMB" json:"logicalUsedInMB"`
}
func init() {
types.Add("pbm:PbmDatastoreSpaceStatistics", reflect.TypeOf((*PbmDatastoreSpaceStatistics)(nil)).Elem())
}
+// Not supported in this release.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDefaultCapabilityProfile struct {
PbmCapabilityProfile
- VvolType []string `xml:"vvolType" json:"vvolType"`
- ContainerId string `xml:"containerId" json:"containerId"`
+ // Not supported in this release.
+ VvolType []string `xml:"vvolType" json:"vvolType"`
+ // Not supported in this release.
+ ContainerId string `xml:"containerId" json:"containerId"`
}
func init() {
types.Add("pbm:PbmDefaultCapabilityProfile", reflect.TypeOf((*PbmDefaultCapabilityProfile)(nil)).Elem())
}
+// Warning fault used to indicate that the vendor specific datastore matches the tag in the
+// requirements profile that does not have a vendor specific rule set.
+//
+// In such case,
+// an empty blob is sent to the vendor specific datastore and the default profile would apply.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDefaultProfileAppliesFault struct {
PbmCompatibilityCheckFault
}
@@ -821,11 +1500,20 @@ func init() {
types.Add("pbm:PbmDefaultProfileAppliesFaultFault", reflect.TypeOf((*PbmDefaultProfileAppliesFaultFault)(nil)).Elem())
}
+// Data structure that stores the default profile for datastores.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDefaultProfileInfo struct {
types.DynamicData
- Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
- DefaultProfile BasePbmProfile `xml:"defaultProfile,omitempty,typeattr" json:"defaultProfile,omitempty"`
+ // Datastores
+ Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
+ // Default requirements profile.
+ //
+ // It is set to null if the datastores are not associated with any default profile.
+ DefaultProfile BasePbmProfile `xml:"defaultProfile,omitempty,typeattr" json:"defaultProfile,omitempty"`
+ // NoPermission fault if default profile is not permitted.
+ MethodFault *types.LocalizedMethodFault `xml:"methodFault,omitempty" json:"methodFault,omitempty"`
}
func init() {
@@ -838,9 +1526,11 @@ func init() {
types.Add("pbm:PbmDelete", reflect.TypeOf((*PbmDelete)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmDelete`.
type PbmDeleteRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProfileId []PbmProfileId `xml:"profileId" json:"profileId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of profile identifiers.
+ ProfileId []PbmProfileId `xml:"profileId" json:"profileId"`
}
func init() {
@@ -851,9 +1541,14 @@ type PbmDeleteResponse struct {
Returnval []PbmProfileOperationOutcome `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// A DuplicateName exception is thrown because a name already exists
+// in the same name space.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmDuplicateName struct {
PbmFault
+ // The name that is already bound in the name space.
Name string `xml:"name" json:"name"`
}
@@ -870,17 +1565,38 @@ func init() {
type PbmExtendedElementDescription struct {
types.DynamicData
- Label string `xml:"label" json:"label"`
- Summary string `xml:"summary" json:"summary"`
- Key string `xml:"key" json:"key"`
- MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix"`
- MessageArg []types.KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty"`
+ // Display label.
+ Label string `xml:"label" json:"label"`
+ // Summary description.
+ Summary string `xml:"summary" json:"summary"`
+ // Enumeration or literal ID being described.
+ Key string `xml:"key" json:"key"`
+ // Key to the localized message string in the catalog.
+ //
+ // If the localized string contains parameters, values to the
+ // parameters will be provided in #messageArg.
+ // E.g: If the message in the catalog is
+ // "IP address is {address}", value for "address"
+ // will be provided by #messageArg.
+ // Both summary and label in ElementDescription will have a corresponding
+ // entry in the message catalog with the keys
+ // .summary and .label
+ // respectively.
+ // ElementDescription.summary and ElementDescription.label will contain
+ // the strings in server locale.
+ MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix"`
+ // Provides named arguments that can be used to localize the
+ // message in the catalog.
+ MessageArg []types.KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty"`
}
func init() {
types.Add("pbm:PbmExtendedElementDescription", reflect.TypeOf((*PbmExtendedElementDescription)(nil)).Elem())
}
+// The super class for all pbm faults.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFault struct {
types.MethodFault
}
@@ -895,6 +1611,10 @@ func init() {
types.Add("pbm:PbmFaultFault", reflect.TypeOf((*PbmFaultFault)(nil)).Elem())
}
+// Thrown when login fails due to token not provided or token could not be
+// validated.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFaultInvalidLogin struct {
PbmFault
}
@@ -909,6 +1629,21 @@ func init() {
types.Add("pbm:PbmFaultInvalidLoginFault", reflect.TypeOf((*PbmFaultInvalidLoginFault)(nil)).Elem())
}
+// Thrown when an operation is denied because of a privilege
+// not held on a storage profile.
+//
+// This structure may be used only with operations rendered under `/pbm`.
+type PbmFaultNoPermission struct {
+ types.SecurityError
+
+ // List of profile ids and missing privileges for each profile
+ MissingPrivileges []PbmFaultNoPermissionEntityPrivileges `xml:"missingPrivileges,omitempty" json:"missingPrivileges,omitempty"`
+}
+
+func init() {
+ types.Add("pbm:PbmFaultNoPermission", reflect.TypeOf((*PbmFaultNoPermission)(nil)).Elem())
+}
+
type PbmFaultNoPermissionEntityPrivileges struct {
types.DynamicData
@@ -920,6 +1655,25 @@ func init() {
types.Add("pbm:PbmFaultNoPermissionEntityPrivileges", reflect.TypeOf((*PbmFaultNoPermissionEntityPrivileges)(nil)).Elem())
}
+type PbmFaultNoPermissionFault PbmFaultNoPermission
+
+func init() {
+ types.Add("pbm:PbmFaultNoPermissionFault", reflect.TypeOf((*PbmFaultNoPermissionFault)(nil)).Elem())
+}
+
+// A NotFound error occurs when a referenced component of a managed
+// object cannot be found.
+//
+// The referenced component can be a data
+// object type (such as a role or permission) or a primitive
+// (such as a string).
+//
+// For example, if the missing referenced component is a data object, such as
+// VirtualSwitch, the NotFound error is
+// thrown. The NotFound error is also thrown if the data object is found, but the referenced name
+// (for example, "vswitch0") is not.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFaultNotFound struct {
PbmFault
}
@@ -954,10 +1708,19 @@ func init() {
types.Add("pbm:PbmFetchCapabilityMetadata", reflect.TypeOf((*PbmFetchCapabilityMetadata)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmFetchCapabilityMetadata`.
type PbmFetchCapabilityMetadataRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ResourceType *PbmProfileResourceType `xml:"resourceType,omitempty" json:"resourceType,omitempty"`
- VendorUuid string `xml:"vendorUuid,omitempty" json:"vendorUuid,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Type of profile resource. The Server supports the "STORAGE" resource
+ // type only. If not specified, this method will return capability metadata for the storage
+ // resources. Any other resourceType
is considered invalid.
+ ResourceType *PbmProfileResourceType `xml:"resourceType,omitempty" json:"resourceType,omitempty"`
+ // Unique identifier for the vendor/owner of capability
+ // metadata. The specified vendor ID must match
+ // `PbmCapabilitySchemaVendorInfo*.*PbmCapabilitySchemaVendorInfo.vendorUuid`.
+ // If omitted, the Server searchs all capability metadata registered with the system. If a
+ // vendorUuid
unknown to the Server is specified, empty results will be returned.
+ VendorUuid string `xml:"vendorUuid,omitempty" json:"vendorUuid,omitempty"`
}
func init() {
@@ -974,10 +1737,20 @@ func init() {
types.Add("pbm:PbmFetchCapabilitySchema", reflect.TypeOf((*PbmFetchCapabilitySchema)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmFetchCapabilitySchema`.
type PbmFetchCapabilitySchemaRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- VendorUuid string `xml:"vendorUuid,omitempty" json:"vendorUuid,omitempty"`
- LineOfService []string `xml:"lineOfService,omitempty" json:"lineOfService,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Unique identifier for the vendor/owner of capability metadata.
+ // If omitted, the server searchs all capability metadata registered
+ // with the system. The specified vendor ID must match
+ // `PbmCapabilitySchemaVendorInfo*.*PbmCapabilitySchemaVendorInfo.vendorUuid`.
+ VendorUuid string `xml:"vendorUuid,omitempty" json:"vendorUuid,omitempty"`
+ // Optional line of service that must match `PbmLineOfServiceInfoLineOfServiceEnum_enum`.
+ // If specified, the capability schema objects
+ // are returned for the given lineOfServices. If null, then all
+ // capability schema objects that may or may not have data service capabilities
+ // are returned.
+ LineOfService []string `xml:"lineOfService,omitempty" json:"lineOfService,omitempty"`
}
func init() {
@@ -994,10 +1767,24 @@ func init() {
types.Add("pbm:PbmFetchComplianceResult", reflect.TypeOf((*PbmFetchComplianceResult)(nil)).Elem())
}
+// The parameters of `PbmComplianceManager.PbmFetchComplianceResult`.
type PbmFetchComplianceResultRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
- Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // One or more references to storage entities.
+ // A maximum of 1000 virtual machines and/or virtual disks can be specified
+ // in a call. The results of calling the fetchComplianceResult API with
+ // more than a 1000 entities is undefined.
+ // - If the list of entities also contains datastores, the Server
+ // will ignore the datastores.
+ // - If the list contains valid and invalid entities, the Server ignores
+ // the invalid entities and returns results for the valid entities.
+ // Invalid entities are entities that are not in the vCenter inventory.
+ // - If the list contains only datastores, the method throws
+ // an InvalidArgument
fault.
+ Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
+ // Not used. if specified, the Server ignores the value.
+ // The Server uses the profiles associated with the specified entities.
+ Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -1008,11 +1795,19 @@ type PbmFetchComplianceResultResponse struct {
Returnval []PbmComplianceResult `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// The `PbmFetchEntityHealthStatusSpec` data object contains
+// the arguments required for
+// `PbmComplianceManager.PbmFetchEntityHealthStatusExt`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmFetchEntityHealthStatusSpec struct {
types.DynamicData
+ // `PbmServerObjectRef` for which the healthStatus is required
ObjectRef PbmServerObjectRef `xml:"objectRef" json:"objectRef"`
- BackingId string `xml:"backingId,omitempty" json:"backingId,omitempty"`
+ // BackingId for the ServerObjectRef
+ // BackingId is mandatory for FCD on vSAN
+ BackingId string `xml:"backingId,omitempty" json:"backingId,omitempty"`
}
func init() {
@@ -1043,9 +1838,14 @@ func init() {
types.Add("pbm:PbmFetchRollupComplianceResult", reflect.TypeOf((*PbmFetchRollupComplianceResult)(nil)).Elem())
}
+// The parameters of `PbmComplianceManager.PbmFetchRollupComplianceResult`.
type PbmFetchRollupComplianceResultRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entity []PbmServerObjectRef `xml:"entity" json:"entity"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // One or more virtual machines.
+ // A maximum of 1000 virtual machines can be specified
+ // in a call. The results of calling the fetchRollupComplianceResult API with
+ // more than a 1000 entity objects is undefined.
+ Entity []PbmServerObjectRef `xml:"entity" json:"entity"`
}
func init() {
@@ -1062,9 +1862,13 @@ func init() {
types.Add("pbm:PbmFetchVendorInfo", reflect.TypeOf((*PbmFetchVendorInfo)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmFetchVendorInfo`.
type PbmFetchVendorInfoRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ResourceType *PbmProfileResourceType `xml:"resourceType,omitempty" json:"resourceType,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Specifies the resource type. The Server supports the STORAGE resource
+ // type only. If not specified, server defaults to STORAGE resource type. Any other
+ // resourceType
is considered invalid.
+ ResourceType *PbmProfileResourceType `xml:"resourceType,omitempty" json:"resourceType,omitempty"`
}
func init() {
@@ -1081,9 +1885,12 @@ func init() {
types.Add("pbm:PbmFindApplicableDefaultProfile", reflect.TypeOf((*PbmFindApplicableDefaultProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmFindApplicableDefaultProfile`.
type PbmFindApplicableDefaultProfileRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Datastores for which the default profile is found out. Note that
+ // the datastore pods/clusters are not supported.
+ Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
}
func init() {
@@ -1094,6 +1901,10 @@ type PbmFindApplicableDefaultProfileResponse struct {
Returnval []BasePbmProfile `xml:"returnval,omitempty,typeattr" json:"returnval,omitempty"`
}
+// Warning fault used to indicate that the vendor specific datastore matches the tag in the
+// requirements profile but doesnt match the vendor specific rule set in the requirements profile.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmIncompatibleVendorSpecificRuleSet struct {
PbmCapabilityProfilePropertyMismatchFault
}
@@ -1108,9 +1919,18 @@ func init() {
types.Add("pbm:PbmIncompatibleVendorSpecificRuleSetFault", reflect.TypeOf((*PbmIncompatibleVendorSpecificRuleSetFault)(nil)).Elem())
}
+// LegacyHubsNotSupported fault is thrown to indicate the legacy hubs that are not supported.
+//
+// For storage, legacy hubs or datastores are VMFS and NFS datastores.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmLegacyHubsNotSupported struct {
PbmFault
+ // Legacy hubs that are not supported.
+ //
+ // Only datastores will be populated in this fault. Datastore clusters
+ // are not allowed.
Hubs []PbmPlacementHub `xml:"hubs" json:"hubs"`
}
@@ -1124,12 +1944,21 @@ func init() {
types.Add("pbm:PbmLegacyHubsNotSupportedFault", reflect.TypeOf((*PbmLegacyHubsNotSupportedFault)(nil)).Elem())
}
+// Describes Line of Service of a capability provider.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmLineOfServiceInfo struct {
types.DynamicData
- LineOfService string `xml:"lineOfService" json:"lineOfService"`
- Name PbmExtendedElementDescription `xml:"name" json:"name"`
- Description *PbmExtendedElementDescription `xml:"description,omitempty" json:"description,omitempty"`
+ // `PbmLineOfServiceInfoLineOfServiceEnum_enum` - must be one of the values
+ // for enum `PbmLineOfServiceInfoLineOfServiceEnum_enum`.
+ LineOfService string `xml:"lineOfService" json:"lineOfService"`
+ // Name of the service - for informational
+ // purposes only.
+ Name PbmExtendedElementDescription `xml:"name" json:"name"`
+ // Description of the service - for informational
+ // purposes only.
+ Description *PbmExtendedElementDescription `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
@@ -1147,9 +1976,13 @@ func init() {
types.Add("pbm:PbmLoggingConfiguration", reflect.TypeOf((*PbmLoggingConfiguration)(nil)).Elem())
}
+// NonExistentHubs is thrown to indicate that some non existent datastores are used.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmNonExistentHubs struct {
PbmFault
+ // Legacy hubs that do not exist.
Hubs []PbmPlacementHub `xml:"hubs" json:"hubs"`
}
@@ -1163,9 +1996,24 @@ func init() {
types.Add("pbm:PbmNonExistentHubsFault", reflect.TypeOf((*PbmNonExistentHubsFault)(nil)).Elem())
}
+// Describes the data services provided by the storage arrays.
+//
+// In addition to storing bits, some VASA providers may also want to separate
+// their capabilities into lines of service to let vSphere manage finer grain
+// policies. For example an array may support replication natively, and may
+// want vSphere policies to be defined for the replication aspect separately
+// and compose them with persistence related policies.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPersistenceBasedDataServiceInfo struct {
PbmLineOfServiceInfo
+ // This property should be set with compatible schema namespaces exposed by
+ // the vendor provider.
+ //
+ // If not specified, vSphere assumes all Data Service
+ // provider schemas are compatible with all persistence provider namespaces
+ // advertised by the VASA provider.
CompatiblePersistenceSchemaNamespace []string `xml:"compatiblePersistenceSchemaNamespace,omitempty" json:"compatiblePersistenceSchemaNamespace,omitempty"`
}
@@ -1173,9 +2021,13 @@ func init() {
types.Add("pbm:PbmPersistenceBasedDataServiceInfo", reflect.TypeOf((*PbmPersistenceBasedDataServiceInfo)(nil)).Elem())
}
+// Requirement type containing capability constraints
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementCapabilityConstraintsRequirement struct {
PbmPlacementRequirement
+ // Capability constraints
Constraints BasePbmCapabilityConstraints `xml:"constraints,typeattr" json:"constraints"`
}
@@ -1183,9 +2035,13 @@ func init() {
types.Add("pbm:PbmPlacementCapabilityConstraintsRequirement", reflect.TypeOf((*PbmPlacementCapabilityConstraintsRequirement)(nil)).Elem())
}
+// A Requirement for a particular `PbmCapabilityProfile`.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementCapabilityProfileRequirement struct {
PbmPlacementRequirement
+ // Reference to the capability profile being used as a requirement
ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
}
@@ -1193,35 +2049,76 @@ func init() {
types.Add("pbm:PbmPlacementCapabilityProfileRequirement", reflect.TypeOf((*PbmPlacementCapabilityProfileRequirement)(nil)).Elem())
}
+// The `PbmPlacementCompatibilityResult` data object
+// contains the compatibility result of a placement request.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementCompatibilityResult struct {
types.DynamicData
- Hub PbmPlacementHub `xml:"hub" json:"hub"`
+ // The Datastore
or StoragePod
under consideration
+ // as a location for virtual machine files.
+ Hub PbmPlacementHub `xml:"hub" json:"hub"`
+ // Resources that match the policy.
+ //
+ // If populated, signifies that there are
+ // specific resources that match the policy for `PbmPlacementCompatibilityResult.hub`. If null,
+ // signifies that all resources (for example, hosts connected to the
+ // datastore or storage pod) are compatible.
MatchingResources []BasePbmPlacementMatchingResources `xml:"matchingResources,omitempty,typeattr" json:"matchingResources,omitempty"`
- HowMany int64 `xml:"howMany,omitempty" json:"howMany,omitempty"`
- Utilization []PbmPlacementResourceUtilization `xml:"utilization,omitempty" json:"utilization,omitempty"`
- Warning []types.LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
- Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // How many objects of the kind requested can be provisioned on this
+ // `PbmPlacementCompatibilityResult.hub`.
+ HowMany int64 `xml:"howMany,omitempty" json:"howMany,omitempty"`
+ // This field is not populated if there is no size in the query, i.e.
+ //
+ // if the request carries only policy and no size requirements, this
+ // will not be populated.
+ Utilization []PbmPlacementResourceUtilization `xml:"utilization,omitempty" json:"utilization,omitempty"`
+ // Array of faults that describe issues that may affect profile compatibility.
+ //
+ // Users should consider these issues before using this Datastore
+ // or StoragePod
and a connected Host
s.
+ Warning []types.LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
+ // Array of faults that prevent this datastore or storage pod from being compatible with the
+ // specified profile, including if no host connected to this `PbmPlacementCompatibilityResult.hub` is compatible.
+ Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
types.Add("pbm:PbmPlacementCompatibilityResult", reflect.TypeOf((*PbmPlacementCompatibilityResult)(nil)).Elem())
}
+// A `PbmPlacementHub` data object identifies a storage location
+// where virtual machine files can be placed.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementHub struct {
types.DynamicData
+ // Type of the hub.
+ //
+ // Currently ManagedObject is the only supported type.
HubType string `xml:"hubType" json:"hubType"`
- HubId string `xml:"hubId" json:"hubId"`
+ // Hub identifier; a ManagedObjectReference to a datastore or a storage pod.
+ HubId string `xml:"hubId" json:"hubId"`
}
func init() {
types.Add("pbm:PbmPlacementHub", reflect.TypeOf((*PbmPlacementHub)(nil)).Elem())
}
+// Describes the collection of replication related resources that satisfy a
+// policy, for a specific datastore.
+//
+// This class is returned only when the policy contains replication capabilities.
+// For a storage pod, only those replication groups that are common across
+// all datastores in the storage pod are considered compatible.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementMatchingReplicationResources struct {
PbmPlacementMatchingResources
+ // Replication groups that match the policy.
ReplicationGroup []types.ReplicationGroupId `xml:"replicationGroup,omitempty" json:"replicationGroup,omitempty"`
}
@@ -1229,6 +2126,10 @@ func init() {
types.Add("pbm:PbmPlacementMatchingReplicationResources", reflect.TypeOf((*PbmPlacementMatchingReplicationResources)(nil)).Elem())
}
+// Describes the collection of resources (for example, hosts) that satisfy a
+// policy, for a specific datastore.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementMatchingResources struct {
types.DynamicData
}
@@ -1237,6 +2138,9 @@ func init() {
types.Add("pbm:PbmPlacementMatchingResources", reflect.TypeOf((*PbmPlacementMatchingResources)(nil)).Elem())
}
+// Defines a constraint for placing objects onto `PbmPlacementHub`s.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementRequirement struct {
types.DynamicData
}
@@ -1245,39 +2149,75 @@ func init() {
types.Add("pbm:PbmPlacementRequirement", reflect.TypeOf((*PbmPlacementRequirement)(nil)).Elem())
}
+// Describes the resource utilization metrics of a datastore.
+//
+// These results are not to be treated as a guaranteed availability,
+// they are useful to estimate the effects of a change of policy
+// or the effects of a provisioning action.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPlacementResourceUtilization struct {
types.DynamicData
- Name PbmExtendedElementDescription `xml:"name" json:"name"`
- Description PbmExtendedElementDescription `xml:"description" json:"description"`
- AvailableBefore int64 `xml:"availableBefore,omitempty" json:"availableBefore,omitempty"`
- AvailableAfter int64 `xml:"availableAfter,omitempty" json:"availableAfter,omitempty"`
- Total int64 `xml:"total,omitempty" json:"total,omitempty"`
+ // Name of the resource.
+ Name PbmExtendedElementDescription `xml:"name" json:"name"`
+ // Description of the resource.
+ Description PbmExtendedElementDescription `xml:"description" json:"description"`
+ // Currently available (i.e.
+ //
+ // before the provisioning step).
+ AvailableBefore int64 `xml:"availableBefore,omitempty" json:"availableBefore,omitempty"`
+ // Available after the provisioning step.
+ AvailableAfter int64 `xml:"availableAfter,omitempty" json:"availableAfter,omitempty"`
+ // Total resource availability
+ Total int64 `xml:"total,omitempty" json:"total,omitempty"`
}
func init() {
types.Add("pbm:PbmPlacementResourceUtilization", reflect.TypeOf((*PbmPlacementResourceUtilization)(nil)).Elem())
}
+// The `PbmProfile` data object is the base object
+// for storage capability profiles.
+//
+// This object defines metadata
+// for the profile. The derived capability profile represents the
+// user's intent for selection and configuration of storage resources
+// and/or services that support deployment of virtual machines
+// and virtual disks.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmProfile struct {
types.DynamicData
- ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
- Name string `xml:"name" json:"name"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
- CreationTime time.Time `xml:"creationTime" json:"creationTime"`
- CreatedBy string `xml:"createdBy" json:"createdBy"`
- LastUpdatedTime time.Time `xml:"lastUpdatedTime" json:"lastUpdatedTime"`
- LastUpdatedBy string `xml:"lastUpdatedBy" json:"lastUpdatedBy"`
+ // Unique identifier for the profile.
+ ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
+ Name string `xml:"name" json:"name"`
+ // Profile description.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // Time stamp of profile creation.
+ CreationTime time.Time `xml:"creationTime" json:"creationTime"`
+ // User name of the profile creator.
+ //
+ // Set during creation time.
+ CreatedBy string `xml:"createdBy" json:"createdBy"`
+ // Time stamp of latest modification to the profile.
+ LastUpdatedTime time.Time `xml:"lastUpdatedTime" json:"lastUpdatedTime"`
+ // Name of the user performing the latest modification of the profile.
+ LastUpdatedBy string `xml:"lastUpdatedBy" json:"lastUpdatedBy"`
}
func init() {
types.Add("pbm:PbmProfile", reflect.TypeOf((*PbmProfile)(nil)).Elem())
}
+// Profile unique identifier.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmProfileId struct {
types.DynamicData
+ // Unique identifier of the profile.
UniqueId string `xml:"uniqueId" json:"uniqueId"`
}
@@ -1285,20 +2225,38 @@ func init() {
types.Add("pbm:PbmProfileId", reflect.TypeOf((*PbmProfileId)(nil)).Elem())
}
+// The `PbmProfileOperationOutcome` data object describes the result
+// of a `PbmProfileProfileManager` operation.
+//
+// If there was an
+// error during the operation, the object identifies the fault.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmProfileOperationOutcome struct {
types.DynamicData
- ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
- Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+ // Identifies the profile specified for the operation.
+ ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
+ // One of the `PbmFault` objects.
+ Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
types.Add("pbm:PbmProfileOperationOutcome", reflect.TypeOf((*PbmProfileOperationOutcome)(nil)).Elem())
}
+// The `PbmProfileResourceType` data object defines the vSphere resource type
+// that is supported for profile management.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmProfileResourceType struct {
types.DynamicData
+ // Type of resource to which capability information applies.
+ //
+ // resourceType
is a string value that corresponds to
+ // a `PbmProfileResourceTypeEnum_enum` enumeration value.
+ // Only the STORAGE resource type is supported.
ResourceType string `xml:"resourceType" json:"resourceType"`
}
@@ -1306,9 +2264,22 @@ func init() {
types.Add("pbm:PbmProfileResourceType", reflect.TypeOf((*PbmProfileResourceType)(nil)).Elem())
}
+// The `PbmProfileType` identifier is defined by storage providers
+// to distinguish between different types of profiles plugged into the system.
+//
+// An example of a system supported profile type is "CapabilityBasedProfileType"
+// which will be the type used for all capability-based profiles created by
+// the system using capability metadata information published to the system.
+//
+// For internal use only.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmProfileType struct {
types.DynamicData
+ // Unique type identifier for this profile type.
+ //
+ // eg "CapabilityBased", or other.
UniqueId string `xml:"uniqueId" json:"uniqueId"`
}
@@ -1316,10 +2287,17 @@ func init() {
types.Add("pbm:PbmProfileType", reflect.TypeOf((*PbmProfileType)(nil)).Elem())
}
+// Fault used to indicate which property instance in requirements profile that does not
+// match.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmPropertyMismatchFault struct {
PbmCompatibilityCheckFault
- CapabilityInstanceId PbmCapabilityMetadataUniqueId `xml:"capabilityInstanceId" json:"capabilityInstanceId"`
+ // Id of the CapabilityInstance in requirements profile that
+ // does not match.
+ CapabilityInstanceId PbmCapabilityMetadataUniqueId `xml:"capabilityInstanceId" json:"capabilityInstanceId"`
+ // The property instance in requirement profile that does not match.
RequirementPropertyInstance PbmCapabilityPropertyInstance `xml:"requirementPropertyInstance" json:"requirementPropertyInstance"`
}
@@ -1339,9 +2317,11 @@ func init() {
types.Add("pbm:PbmQueryAssociatedEntities", reflect.TypeOf((*PbmQueryAssociatedEntities)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedEntities`.
type PbmQueryAssociatedEntitiesRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Profiles []PbmProfileId `xml:"profiles,omitempty" json:"profiles,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Storage policy array.
+ Profiles []PbmProfileId `xml:"profiles,omitempty" json:"profiles,omitempty"`
}
func init() {
@@ -1358,10 +2338,16 @@ func init() {
types.Add("pbm:PbmQueryAssociatedEntity", reflect.TypeOf((*PbmQueryAssociatedEntity)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedEntity`.
type PbmQueryAssociatedEntityRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Profile PbmProfileId `xml:"profile" json:"profile"`
- EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Profile identifier.
+ Profile PbmProfileId `xml:"profile" json:"profile"`
+ // If specified, the method returns only those entities
+ // which match the type. The entityType
string value must match
+ // one of the `PbmObjectType_enum` values.
+ // If not specified, the method returns all entities associated with the profile.
+ EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
}
func init() {
@@ -1378,9 +2364,11 @@ func init() {
types.Add("pbm:PbmQueryAssociatedProfile", reflect.TypeOf((*PbmQueryAssociatedProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedProfile`.
type PbmQueryAssociatedProfileRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entity PbmServerObjectRef `xml:"entity" json:"entity"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Reference to a virtual machine, virtual disk, or datastore.
+ Entity PbmServerObjectRef `xml:"entity" json:"entity"`
}
func init() {
@@ -1397,9 +2385,11 @@ func init() {
types.Add("pbm:PbmQueryAssociatedProfiles", reflect.TypeOf((*PbmQueryAssociatedProfiles)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryAssociatedProfiles`.
type PbmQueryAssociatedProfilesRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of server object references.
+ Entities []PbmServerObjectRef `xml:"entities" json:"entities"`
}
func init() {
@@ -1416,9 +2406,11 @@ func init() {
types.Add("pbm:PbmQueryByRollupComplianceStatus", reflect.TypeOf((*PbmQueryByRollupComplianceStatus)(nil)).Elem())
}
+// The parameters of `PbmComplianceManager.PbmQueryByRollupComplianceStatus`.
type PbmQueryByRollupComplianceStatusRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Status string `xml:"status" json:"status"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `PbmComplianceStatus_enum`
+ Status string `xml:"status" json:"status"`
}
func init() {
@@ -1435,9 +2427,11 @@ func init() {
types.Add("pbm:PbmQueryDefaultRequirementProfile", reflect.TypeOf((*PbmQueryDefaultRequirementProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryDefaultRequirementProfile`.
type PbmQueryDefaultRequirementProfileRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Hub PbmPlacementHub `xml:"hub" json:"hub"`
+ // Placement hub (i.e. datastore).
+ Hub PbmPlacementHub `xml:"hub" json:"hub"`
}
func init() {
@@ -1454,9 +2448,13 @@ func init() {
types.Add("pbm:PbmQueryDefaultRequirementProfiles", reflect.TypeOf((*PbmQueryDefaultRequirementProfiles)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryDefaultRequirementProfiles`.
type PbmQueryDefaultRequirementProfilesRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The datastores for which the default profiles are requested. For
+ // legacy datastores we set
+ // `DefaultProfileInfo.defaultProfile` to `null`.
+ Datastores []PbmPlacementHub `xml:"datastores" json:"datastores"`
}
func init() {
@@ -1473,10 +2471,15 @@ func init() {
types.Add("pbm:PbmQueryMatchingHub", reflect.TypeOf((*PbmQueryMatchingHub)(nil)).Elem())
}
+// The parameters of `PbmPlacementSolver.PbmQueryMatchingHub`.
type PbmQueryMatchingHubRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
- Profile PbmProfileId `xml:"profile" json:"profile"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Candidate list of hubs, either datastores or storage pods or a
+ // mix. If this parameter is not specified, the Server uses all
+ // of the datastores and storage pods.
+ HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
+ // Storage requirement profile.
+ Profile PbmProfileId `xml:"profile" json:"profile"`
}
func init() {
@@ -1493,10 +2496,15 @@ func init() {
types.Add("pbm:PbmQueryMatchingHubWithSpec", reflect.TypeOf((*PbmQueryMatchingHubWithSpec)(nil)).Elem())
}
+// The parameters of `PbmPlacementSolver.PbmQueryMatchingHubWithSpec`.
type PbmQueryMatchingHubWithSpecRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
- CreateSpec PbmCapabilityProfileCreateSpec `xml:"createSpec" json:"createSpec"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Candidate list of hubs, either datastores or storage
+ // pods or a mix. If this parameter is not specified, the Server uses
+ // all of the datastores and storage pods for placement compatibility checking.
+ HubsToSearch []PbmPlacementHub `xml:"hubsToSearch,omitempty" json:"hubsToSearch,omitempty"`
+ // Storage profile creation specification.
+ CreateSpec PbmCapabilityProfileCreateSpec `xml:"createSpec" json:"createSpec"`
}
func init() {
@@ -1513,10 +2521,16 @@ func init() {
types.Add("pbm:PbmQueryProfile", reflect.TypeOf((*PbmQueryProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQueryProfile`.
type PbmQueryProfileRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
- ProfileCategory string `xml:"profileCategory,omitempty" json:"profileCategory,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Type of resource. You can specify only STORAGE.
+ ResourceType PbmProfileResourceType `xml:"resourceType" json:"resourceType"`
+ // Profile category. The string value must correspond
+ // to one of the `PbmProfileCategoryEnum_enum` values.
+ // If you do not specify a profile category, the method returns profiles in all
+ // categories.
+ ProfileCategory string `xml:"profileCategory,omitempty" json:"profileCategory,omitempty"`
}
func init() {
@@ -1527,24 +2541,45 @@ type PbmQueryProfileResponse struct {
Returnval []PbmProfileId `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// The `PbmQueryProfileResult` data object
+// identifies a virtual machine, virtual disk, or datastore
+// and it lists the identifier(s) for the associated profile(s).
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryProfileResult struct {
types.DynamicData
- Object PbmServerObjectRef `xml:"object" json:"object"`
- ProfileId []PbmProfileId `xml:"profileId,omitempty" json:"profileId,omitempty"`
- Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+ // Reference to the virtual machine, virtual disk, or
+ // datastore on which the query was performed.
+ Object PbmServerObjectRef `xml:"object" json:"object"`
+ // Array of identifiers for profiles which are associated with object
.
+ ProfileId []PbmProfileId `xml:"profileId,omitempty" json:"profileId,omitempty"`
+ // Fault associated with the query, if there is one.
+ Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
types.Add("pbm:PbmQueryProfileResult", reflect.TypeOf((*PbmQueryProfileResult)(nil)).Elem())
}
+// The `PbmQueryReplicationGroupResult` data object
+// identifies a virtual machine, or a virtual disk and lists the identifier(s) for the associated
+// replication group.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmQueryReplicationGroupResult struct {
types.DynamicData
- Object PbmServerObjectRef `xml:"object" json:"object"`
- ReplicationGroupId *types.ReplicationGroupId `xml:"replicationGroupId,omitempty" json:"replicationGroupId,omitempty"`
- Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+ // Reference to the virtual machine or virtual disk on which the query was performed.
+ //
+ // If the
+ // query was performed for a virtual machine and all it's disks, this will reference each disk
+ // and the virtual machine config individually.
+ Object PbmServerObjectRef `xml:"object" json:"object"`
+ // Replication group identifier which is associated with object
.
+ ReplicationGroupId *types.ReplicationGroupId `xml:"replicationGroupId,omitempty" json:"replicationGroupId,omitempty"`
+ // Fault associated with the query, if there is one.
+ Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
@@ -1557,9 +2592,15 @@ func init() {
types.Add("pbm:PbmQueryReplicationGroups", reflect.TypeOf((*PbmQueryReplicationGroups)(nil)).Elem())
}
+// The parameters of `PbmReplicationManager.PbmQueryReplicationGroups`.
type PbmQueryReplicationGroupsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Entities []PbmServerObjectRef `xml:"entities,omitempty" json:"entities,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of server object references. Valid types are
+ // `virtualMachine`,
+ // `virtualMachineAndDisks`,
+ // `virtualDiskId`,
+ // `virtualDiskUUID`
+ Entities []PbmServerObjectRef `xml:"entities,omitempty" json:"entities,omitempty"`
}
func init() {
@@ -1576,10 +2617,15 @@ func init() {
types.Add("pbm:PbmQuerySpaceStatsForStorageContainer", reflect.TypeOf((*PbmQuerySpaceStatsForStorageContainer)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmQuerySpaceStatsForStorageContainer`.
type PbmQuerySpaceStatsForStorageContainerRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Datastore PbmServerObjectRef `xml:"datastore" json:"datastore"`
- CapabilityProfileId []PbmProfileId `xml:"capabilityProfileId,omitempty" json:"capabilityProfileId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Entity for which space statistics are being requested i.e datastore.
+ Datastore PbmServerObjectRef `xml:"datastore" json:"datastore"`
+ // \- capability profile Ids.
+ // If omitted, the statistics for the container
+ // as a whole would be returned.
+ CapabilityProfileId []PbmProfileId `xml:"capabilityProfileId,omitempty" json:"capabilityProfileId,omitempty"`
}
func init() {
@@ -1596,9 +2642,11 @@ func init() {
types.Add("pbm:PbmResetDefaultRequirementProfile", reflect.TypeOf((*PbmResetDefaultRequirementProfile)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmResetDefaultRequirementProfile`.
type PbmResetDefaultRequirementProfileRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Profile to reset.
+ Profile *PbmProfileId `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -1625,10 +2673,19 @@ func init() {
type PbmResetVSanDefaultProfileResponse struct {
}
+// A ResourceInUse fault indicating that some error has occurred because a
+// resource was in use.
+//
+// Information about the resource that is in use may
+// be supplied.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmResourceInUse struct {
PbmFault
+ // Type of resource that is in use.
Type string `xml:"type,omitempty" json:"type,omitempty"`
+ // Name of the instance of the resource that is in use.
Name string `xml:"name,omitempty" json:"name,omitempty"`
}
@@ -1648,9 +2705,11 @@ func init() {
types.Add("pbm:PbmRetrieveContent", reflect.TypeOf((*PbmRetrieveContent)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmRetrieveContent`.
type PbmRetrieveContentRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProfileIds []PbmProfileId `xml:"profileIds" json:"profileIds"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of storage profile identifiers.
+ ProfileIds []PbmProfileId `xml:"profileIds" json:"profileIds"`
}
func init() {
@@ -1679,27 +2738,111 @@ type PbmRetrieveServiceContentResponse struct {
Returnval PbmServiceInstanceContent `xml:"returnval" json:"returnval"`
}
+// The `PbmRollupComplianceResult` data object identifies the virtual machine
+// for which rollup compliance was checked, and it contains the overall status
+// and a list of compliance result objects.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmRollupComplianceResult struct {
types.DynamicData
- OldestCheckTime time.Time `xml:"oldestCheckTime" json:"oldestCheckTime"`
- Entity PbmServerObjectRef `xml:"entity" json:"entity"`
- OverallComplianceStatus string `xml:"overallComplianceStatus" json:"overallComplianceStatus"`
- OverallComplianceTaskStatus string `xml:"overallComplianceTaskStatus,omitempty" json:"overallComplianceTaskStatus,omitempty"`
- Result []PbmComplianceResult `xml:"result,omitempty" json:"result,omitempty"`
- ErrorCause []types.LocalizedMethodFault `xml:"errorCause,omitempty" json:"errorCause,omitempty"`
- ProfileMismatch bool `xml:"profileMismatch" json:"profileMismatch"`
+ // Indicates the earliest time that compliance was checked for any
+ // of the entities in the rollup compliance check.
+ //
+ // The compliance
+ // check time for a single entity is represented in the
+ // `PbmComplianceResult*.*PbmComplianceResult.checkTime`
+ // property. If the `PbmComplianceResult.checkTime`
+ // property is unset for any of the objects in the results
+ // array, the oldestCheckTime
property will be unset.
+ OldestCheckTime time.Time `xml:"oldestCheckTime" json:"oldestCheckTime"`
+ // Virtual machine for which the rollup compliance was checked.
+ Entity PbmServerObjectRef `xml:"entity" json:"entity"`
+ // Overall compliance status of the virtual machine and its virtual disks.
+ //
+ // overallComplianceStatus
is a string value that
+ // corresponds to one of the
+ // `PbmComplianceResult*.*PbmComplianceResult.complianceStatus`
+ // values.
+ //
+ // The overall compliance status is determined by the following rules, applied in the order
+ // listed:
+ // - If all the entities are compliant
, the overall status is
+ // compliant
.
+ // - Else if any entity's status is outOfDate
, the overall status is
+ // outOfDate
.
+ // - Else if any entity's status is nonCompliant
, the overall status is
+ // nonCompliant
.
+ // - Else if any entity's status is unknown
, the overall status is
+ // unknown
.
+ // - Else if any entity's status is notApplicable
, the overall status is
+ // notApplicable
.
+ OverallComplianceStatus string `xml:"overallComplianceStatus" json:"overallComplianceStatus"`
+ // Overall compliance task status of the virtual machine and its virtual
+ // disks.
+ //
+ // overallComplianceTaskStatus
is a string value that
+ // corresponds to one of the `PbmComplianceResult`.
+ // `PbmComplianceResult.complianceTaskStatus` values.
+ OverallComplianceTaskStatus string `xml:"overallComplianceTaskStatus,omitempty" json:"overallComplianceTaskStatus,omitempty"`
+ // Individual compliance results that make up the rollup.
+ Result []PbmComplianceResult `xml:"result,omitempty" json:"result,omitempty"`
+ // This property is set if the overall compliance task fails with some error.
+ //
+ // This
+ // property indicates the causes of error. If there are multiple failures, it stores
+ // these failure in this array.
+ ErrorCause []types.LocalizedMethodFault `xml:"errorCause,omitempty" json:"errorCause,omitempty"`
+ // Deprecated as of vSphere 2016, use
+ // `PbmRollupComplianceResult.overallComplianceStatus`
+ // to know if profile mismatch has occurred. If
+ // overallComplianceStatus value is outOfDate, it means
+ // profileMismatch has occurred.
+ //
+ // True if and only if `PbmComplianceResult`.
+ //
+ // `PbmComplianceResult.mismatch` is true for at least one
+ // entity in the rollup compliance check.
+ ProfileMismatch bool `xml:"profileMismatch" json:"profileMismatch"`
}
func init() {
types.Add("pbm:PbmRollupComplianceResult", reflect.TypeOf((*PbmRollupComplianceResult)(nil)).Elem())
}
+// The `PbmServerObjectRef` data object identifies
+// a virtual machine,
+// virtual disk attached to a virtual machine,
+// a first class storage object
+// or a datastore.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmServerObjectRef struct {
types.DynamicData
+ // Type of vSphere Server object.
+ //
+ // The value of the objectType
string
+ // corresponds to one of the `PbmObjectType_enum`
+ // enumerated type values.
ObjectType string `xml:"objectType" json:"objectType"`
- Key string `xml:"key" json:"key"`
+ // Unique identifier for the object.
+ //
+ // The value of key
depends
+ // on the objectType
.
+ //
+ //
+ //
+ // `*PbmObjectType** *`key value**
+ // virtualMachine _virtual-machine-MOR_
+ // virtualDiskId
+ // _virtual-disk-MOR_:_VirtualDisk.key_
+ // datastore _datastore-MOR_
+ // MOR = ManagedObjectReference
+ //
+ Key string `xml:"key" json:"key"`
+ // vCenter Server UUID; the ServiceContent.about.instanceUuid
+ // property in the vSphere API.
ServerUuid string `xml:"serverUuid,omitempty" json:"serverUuid,omitempty"`
}
@@ -1707,16 +2850,39 @@ func init() {
types.Add("pbm:PbmServerObjectRef", reflect.TypeOf((*PbmServerObjectRef)(nil)).Elem())
}
+// The `PbmServiceInstanceContent` data object defines properties for the
+// `PbmServiceInstance` managed object.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmServiceInstanceContent struct {
types.DynamicData
- AboutInfo PbmAboutInfo `xml:"aboutInfo" json:"aboutInfo"`
- SessionManager types.ManagedObjectReference `xml:"sessionManager" json:"sessionManager"`
- CapabilityMetadataManager types.ManagedObjectReference `xml:"capabilityMetadataManager" json:"capabilityMetadataManager"`
- ProfileManager types.ManagedObjectReference `xml:"profileManager" json:"profileManager"`
- ComplianceManager types.ManagedObjectReference `xml:"complianceManager" json:"complianceManager"`
- PlacementSolver types.ManagedObjectReference `xml:"placementSolver" json:"placementSolver"`
- ReplicationManager *types.ManagedObjectReference `xml:"replicationManager,omitempty" json:"replicationManager,omitempty"`
+ // Contains information that identifies the Storage Policy service.
+ AboutInfo PbmAboutInfo `xml:"aboutInfo" json:"aboutInfo"`
+ // For internal use.
+ //
+ // Refers instance of `PbmSessionManager`.
+ SessionManager types.ManagedObjectReference `xml:"sessionManager" json:"sessionManager"`
+ // For internal use.
+ //
+ // Refers instance of `PbmCapabilityMetadataManager`.
+ CapabilityMetadataManager types.ManagedObjectReference `xml:"capabilityMetadataManager" json:"capabilityMetadataManager"`
+ // Provides access to the Storage Policy ProfileManager.
+ //
+ // Refers instance of `PbmProfileProfileManager`.
+ ProfileManager types.ManagedObjectReference `xml:"profileManager" json:"profileManager"`
+ // Provides access to the Storage Policy ComplianceManager.
+ //
+ // Refers instance of `PbmComplianceManager`.
+ ComplianceManager types.ManagedObjectReference `xml:"complianceManager" json:"complianceManager"`
+ // Provides access to the Storage Policy PlacementSolver.
+ //
+ // Refers instance of `PbmPlacementSolver`.
+ PlacementSolver types.ManagedObjectReference `xml:"placementSolver" json:"placementSolver"`
+ // Provides access to the Storage Policy ReplicationManager.
+ //
+ // Refers instance of `PbmReplicationManager`.
+ ReplicationManager *types.ManagedObjectReference `xml:"replicationManager,omitempty" json:"replicationManager,omitempty"`
}
func init() {
@@ -1729,9 +2895,12 @@ func init() {
types.Add("pbm:PbmUpdate", reflect.TypeOf((*PbmUpdate)(nil)).Elem())
}
+// The parameters of `PbmProfileProfileManager.PbmUpdate`.
type PbmUpdateRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Profile identifier.
+ ProfileId PbmProfileId `xml:"profileId" json:"profileId"`
+ // Capability-based update specification.
UpdateSpec PbmCapabilityProfileUpdateSpec `xml:"updateSpec" json:"updateSpec"`
}
@@ -1742,6 +2911,10 @@ func init() {
type PbmUpdateResponse struct {
}
+// Information about a supported data service provided using
+// vSphere APIs for IO Filtering (VAIO) data service provider.
+//
+// This structure may be used only with operations rendered under `/pbm`.
type PbmVaioDataServiceInfo struct {
PbmLineOfServiceInfo
}
diff --git a/sms/types/enum.go b/sms/types/enum.go
index f6789a020..2d1320e72 100644
--- a/sms/types/enum.go
+++ b/sms/types/enum.go
@@ -39,6 +39,7 @@ func init() {
types.Add("sms:AlarmType", reflect.TypeOf((*AlarmType)(nil)).Elem())
}
+// List of possible BackingStoragePool types
type BackingStoragePoolType string
const (
@@ -51,6 +52,7 @@ func init() {
types.Add("sms:BackingStoragePoolType", reflect.TypeOf((*BackingStoragePoolType)(nil)).Elem())
}
+// List of possible block device interfaces
type BlockDeviceInterface string
const (
@@ -64,6 +66,7 @@ func init() {
types.Add("sms:BlockDeviceInterface", reflect.TypeOf((*BlockDeviceInterface)(nil)).Elem())
}
+// Types of entities supported by the service.
type EntityReferenceEntityType string
const (
@@ -86,6 +89,7 @@ func init() {
types.Add("sms:EntityReferenceEntityType", reflect.TypeOf((*EntityReferenceEntityType)(nil)).Elem())
}
+// List of possible file system interfaces
type FileSystemInterface string
const (
@@ -107,24 +111,45 @@ func init() {
types.Add("sms:FileSystemInterfaceVersion", reflect.TypeOf((*FileSystemInterfaceVersion)(nil)).Elem())
}
+// Profiles supported by VASA Provider.
type ProviderProfile string
const (
+ // PBM profile
ProviderProfileProfileBasedManagement = ProviderProfile("ProfileBasedManagement")
- ProviderProfileReplication = ProviderProfile("Replication")
+ // Replication profile
+ ProviderProfileReplication = ProviderProfile("Replication")
)
func init() {
types.Add("sms:ProviderProfile", reflect.TypeOf((*ProviderProfile)(nil)).Elem())
}
+// State of the replication group at the site of the query.
+//
+// A replication group
+// may be in different states at the source site and each of the target sites.
+// Note that this state does not capture the health of the replication link. If
+// necessary, that can be an additional attribute.
type ReplicationReplicationState string
const (
- ReplicationReplicationStateSOURCE = ReplicationReplicationState("SOURCE")
- ReplicationReplicationStateTARGET = ReplicationReplicationState("TARGET")
- ReplicationReplicationStateFAILEDOVER = ReplicationReplicationState("FAILEDOVER")
- ReplicationReplicationStateINTEST = ReplicationReplicationState("INTEST")
+ // Replication Source
+ ReplicationReplicationStateSOURCE = ReplicationReplicationState("SOURCE")
+ // Replication target
+ ReplicationReplicationStateTARGET = ReplicationReplicationState("TARGET")
+ // The group failed over at this site of the query.
+ //
+ // It has not yet been made
+ // as a source of replication.
+ ReplicationReplicationStateFAILEDOVER = ReplicationReplicationState("FAILEDOVER")
+ // The group is InTest.
+ //
+ // The testFailover devices list will be available from
+ // the `TargetGroupMemberInfo`
+ ReplicationReplicationStateINTEST = ReplicationReplicationState("INTEST")
+ // Remote group was failed over, and this site is neither the source nor the
+ // target.
ReplicationReplicationStateREMOTE_FAILEDOVER = ReplicationReplicationState("REMOTE_FAILEDOVER")
)
@@ -132,6 +157,7 @@ func init() {
types.Add("sms:ReplicationReplicationState", reflect.TypeOf((*ReplicationReplicationState)(nil)).Elem())
}
+// Enumeration of the supported Alarm Status values
type SmsAlarmStatus string
const (
@@ -144,6 +170,7 @@ func init() {
types.Add("sms:SmsAlarmStatus", reflect.TypeOf((*SmsAlarmStatus)(nil)).Elem())
}
+// Enumeration of the supported Entity Type values.
type SmsEntityType string
const (
@@ -171,19 +198,25 @@ func init() {
types.Add("sms:SmsEntityType", reflect.TypeOf((*SmsEntityType)(nil)).Elem())
}
+// List of possible states of a task.
type SmsTaskState string
const (
- SmsTaskStateQueued = SmsTaskState("queued")
+ // Task is put in the queue.
+ SmsTaskStateQueued = SmsTaskState("queued")
+ // Task is currently running.
SmsTaskStateRunning = SmsTaskState("running")
+ // Task has completed.
SmsTaskStateSuccess = SmsTaskState("success")
- SmsTaskStateError = SmsTaskState("error")
+ // Task has encountered an error or has been canceled.
+ SmsTaskStateError = SmsTaskState("error")
)
func init() {
types.Add("sms:SmsTaskState", reflect.TypeOf((*SmsTaskState)(nil)).Elem())
}
+// List of supported VVOL Container types
type StorageContainerVvolContainerTypeEnum string
const (
@@ -197,6 +230,7 @@ func init() {
types.Add("sms:StorageContainerVvolContainerTypeEnum", reflect.TypeOf((*StorageContainerVvolContainerTypeEnum)(nil)).Elem())
}
+// List of possible values for thin provisioning status alarm.
type ThinProvisioningStatus string
const (
@@ -209,10 +243,13 @@ func init() {
types.Add("sms:ThinProvisioningStatus", reflect.TypeOf((*ThinProvisioningStatus)(nil)).Elem())
}
+// VASA provider authentication type.
type VasaAuthenticationType string
const (
+ // Login using SAML token.
VasaAuthenticationTypeLoginByToken = VasaAuthenticationType("LoginByToken")
+ // Use id of an existing session that has logged-in from somewhere else.
VasaAuthenticationTypeUseSessionId = VasaAuthenticationType("UseSessionId")
)
@@ -220,57 +257,97 @@ func init() {
types.Add("sms:VasaAuthenticationType", reflect.TypeOf((*VasaAuthenticationType)(nil)).Elem())
}
+// List of possible VASA profiles supported by Storage Array
type VasaProfile string
const (
- VasaProfileBlockDevice = VasaProfile("blockDevice")
- VasaProfileFileSystem = VasaProfile("fileSystem")
- VasaProfileCapability = VasaProfile("capability")
- VasaProfilePolicy = VasaProfile("policy")
- VasaProfileObject = VasaProfile("object")
- VasaProfileStatistics = VasaProfile("statistics")
+ // Block device profile
+ VasaProfileBlockDevice = VasaProfile("blockDevice")
+ // File system profile
+ VasaProfileFileSystem = VasaProfile("fileSystem")
+ // Storage capability profile
+ VasaProfileCapability = VasaProfile("capability")
+ // Policy profile
+ VasaProfilePolicy = VasaProfile("policy")
+ // Object based storage profile
+ VasaProfileObject = VasaProfile("object")
+ // IO Statistics profile
+ VasaProfileStatistics = VasaProfile("statistics")
+ // Storage DRS specific block device profile
VasaProfileStorageDrsBlockDevice = VasaProfile("storageDrsBlockDevice")
- VasaProfileStorageDrsFileSystem = VasaProfile("storageDrsFileSystem")
+ // Storage DRS specific file system profile
+ VasaProfileStorageDrsFileSystem = VasaProfile("storageDrsFileSystem")
)
func init() {
types.Add("sms:VasaProfile", reflect.TypeOf((*VasaProfile)(nil)).Elem())
}
+// The status of the provider certificate
type VasaProviderCertificateStatus string
const (
- VasaProviderCertificateStatusValid = VasaProviderCertificateStatus("valid")
+ // Provider certificate is valid.
+ VasaProviderCertificateStatusValid = VasaProviderCertificateStatus("valid")
+ // Provider certificate is within the soft limit threshold.
VasaProviderCertificateStatusExpirySoftLimitReached = VasaProviderCertificateStatus("expirySoftLimitReached")
+ // Provider certificate is within the hard limit threshold.
VasaProviderCertificateStatusExpiryHardLimitReached = VasaProviderCertificateStatus("expiryHardLimitReached")
- VasaProviderCertificateStatusExpired = VasaProviderCertificateStatus("expired")
- VasaProviderCertificateStatusInvalid = VasaProviderCertificateStatus("invalid")
+ // Provider certificate has expired.
+ VasaProviderCertificateStatusExpired = VasaProviderCertificateStatus("expired")
+ // Provider certificate is revoked, malformed or missing.
+ VasaProviderCertificateStatusInvalid = VasaProviderCertificateStatus("invalid")
)
func init() {
types.Add("sms:VasaProviderCertificateStatus", reflect.TypeOf((*VasaProviderCertificateStatus)(nil)).Elem())
}
+// Deprecated as of SMS API 3.0, use `VasaProfile_enum`.
+//
+// Profiles supported by VASA Provider.
type VasaProviderProfile string
const (
+ // Block device profile
VasaProviderProfileBlockDevice = VasaProviderProfile("blockDevice")
- VasaProviderProfileFileSystem = VasaProviderProfile("fileSystem")
- VasaProviderProfileCapability = VasaProviderProfile("capability")
+ // File system profile
+ VasaProviderProfileFileSystem = VasaProviderProfile("fileSystem")
+ // Storage capability profile
+ VasaProviderProfileCapability = VasaProviderProfile("capability")
)
func init() {
types.Add("sms:VasaProviderProfile", reflect.TypeOf((*VasaProviderProfile)(nil)).Elem())
}
+// The operational state of VASA Provider.
type VasaProviderStatus string
const (
- VasaProviderStatusOnline = VasaProviderStatus("online")
- VasaProviderStatusOffline = VasaProviderStatus("offline")
- VasaProviderStatusSyncError = VasaProviderStatus("syncError")
- VasaProviderStatusUnknown = VasaProviderStatus("unknown")
- VasaProviderStatusConnected = VasaProviderStatus("connected")
+ // VASA Provider is operating correctly.
+ VasaProviderStatusOnline = VasaProviderStatus("online")
+ // VASA Provider is not responding, e.g.
+ //
+ // communication error due to temporary
+ // network outage. SMS keeps polling the provider in this state.
+ VasaProviderStatusOffline = VasaProviderStatus("offline")
+ // VASA Provider is connected, but sync operation failed.
+ VasaProviderStatusSyncError = VasaProviderStatus("syncError")
+ //
+ //
+ // Deprecated as of SMS API 4.0, this status is deprecated.
+ //
+ // VASA Provider is unreachable.
+ VasaProviderStatusUnknown = VasaProviderStatus("unknown")
+ // VASA Provider is connected, but has not triggered sync operation.
+ VasaProviderStatusConnected = VasaProviderStatus("connected")
+ // VASA Provider is disconnected, e.g.
+ //
+ // failed to establish a valid
+ // SSL connection to the provider. SMS stops communication with the
+ // provider in this state. The user can reconnect to the provider by invoking
+ // `VasaProvider.VasaProviderReconnect_Task`.
VasaProviderStatusDisconnected = VasaProviderStatus("disconnected")
)
@@ -278,10 +355,17 @@ func init() {
types.Add("sms:VasaProviderStatus", reflect.TypeOf((*VasaProviderStatus)(nil)).Elem())
}
+// A Category to indicate whether provider is of internal or external category.
+//
+// This classification can help selectively enable few administrative functions
+// such as say unregistration of a provider.
type VpCategory string
const (
+ // An internal provider category indicates the set of providers such as IOFILTERS and VSAN.
VpCategoryInternal = VpCategory("internal")
+ // An external provider category indicates the set of providers are external and not belong
+ // to say either of IOFILTERS or VSAN category.
VpCategoryExternal = VpCategory("external")
)
@@ -289,12 +373,20 @@ func init() {
types.Add("sms:VpCategory", reflect.TypeOf((*VpCategory)(nil)).Elem())
}
+// VASA Provider type.
type VpType string
const (
+ // Persistence provider.
VpTypePERSISTENCE = VpType("PERSISTENCE")
+ // DataService provider.
+ //
+ // No storage supported for this type of provider.
VpTypeDATASERVICE = VpType("DATASERVICE")
- VpTypeUNKNOWN = VpType("UNKNOWN")
+ // Type is unknown.
+ //
+ // VASA provider type can be UNKNOWN when it is undergoing sync operation.
+ VpTypeUNKNOWN = VpType("UNKNOWN")
)
func init() {
diff --git a/sms/types/types.go b/sms/types/types.go
index e3c263efe..a243a4e50 100644
--- a/sms/types/types.go
+++ b/sms/types/types.go
@@ -23,31 +23,75 @@ import (
"github.com/vmware/govmomi/vim25/types"
)
+// This spec contains information needed for queryActiveAlarm API to filter the result.
+//
+// This structure may be used only with operations rendered under `/sms`.
type AlarmFilter struct {
types.DynamicData
- AlarmStatus string `xml:"alarmStatus,omitempty" json:"alarmStatus,omitempty"`
- AlarmType string `xml:"alarmType,omitempty" json:"alarmType,omitempty"`
- EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
- EntityId []types.AnyType `xml:"entityId,omitempty,typeattr" json:"entityId,omitempty"`
- PageMarker string `xml:"pageMarker,omitempty" json:"pageMarker,omitempty"`
+ // The status of the alarm to search for.
+ //
+ // Should be one of
+ // `SmsAlarmStatus_enum`. If not specified, all status values
+ // should be considered.
+ AlarmStatus string `xml:"alarmStatus,omitempty" json:"alarmStatus,omitempty"`
+ // The status of the alarm to search for.
+ //
+ // Should be one of
+ // `AlarmType_enum`. If not specified, all alarm types
+ // should be considered.
+ AlarmType string `xml:"alarmType,omitempty" json:"alarmType,omitempty"`
+ // The entityType of interest, VASA provider should
+ // return all active alarms of this type when `AlarmFilter.entityId`
+ // is not set.
+ //
+ // See `SmsEntityType_enum`.
+ EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
+ // The identifiers of the entities of interest.
+ //
+ // If set, all entities must be
+ // of the same `SmsEntityType_enum` and it should be set in
+ // `AlarmFilter.entityType`. VASA provider can skip listing the missing entities.
+ EntityId []types.AnyType `xml:"entityId,omitempty,typeattr" json:"entityId,omitempty"`
+ // The page marker used for query pagination.
+ //
+ // This is an opaque string that
+ // will be set based on the value returned by the VASA provider - see
+ // `AlarmResult.pageMarker`. For initial request this should be set to
+ // null, indicating request for the first page.
+ PageMarker string `xml:"pageMarker,omitempty" json:"pageMarker,omitempty"`
}
func init() {
types.Add("sms:AlarmFilter", reflect.TypeOf((*AlarmFilter)(nil)).Elem())
}
+// Contains result for queryActiveAlarm API.
+//
+// This structure may be used only with operations rendered under `/sms`.
type AlarmResult struct {
types.DynamicData
+ // Resulting storage alarms.
StorageAlarm []StorageAlarm `xml:"storageAlarm,omitempty" json:"storageAlarm,omitempty"`
- PageMarker string `xml:"pageMarker,omitempty" json:"pageMarker,omitempty"`
+ // The page marker used for query pagination.
+ //
+ // This is an opaque string that
+ // will be set by the VASA provider. The client will set the same value in
+ // `AlarmFilter.pageMarker` to query the next page. VP should unset
+ // this value to indicate the end of page.
+ PageMarker string `xml:"pageMarker,omitempty" json:"pageMarker,omitempty"`
}
func init() {
types.Add("sms:AlarmResult", reflect.TypeOf((*AlarmResult)(nil)).Elem())
}
+// Thrown if the object is already at the desired state.
+//
+// This is always a warning.
+//
+// This structure may be used only with operations rendered under `/sms`.
type AlreadyDone struct {
SmsReplicationFault
}
@@ -62,6 +106,7 @@ func init() {
types.Add("sms:AlreadyDoneFault", reflect.TypeOf((*AlreadyDoneFault)(nil)).Elem())
}
+// A boxed array of `BackingStoragePool`. To be used in `Any` placeholders.
type ArrayOfBackingStoragePool struct {
BackingStoragePool []BackingStoragePool `xml:"BackingStoragePool,omitempty" json:"_value"`
}
@@ -70,6 +115,7 @@ func init() {
types.Add("sms:ArrayOfBackingStoragePool", reflect.TypeOf((*ArrayOfBackingStoragePool)(nil)).Elem())
}
+// A boxed array of `DatastoreBackingPoolMapping`. To be used in `Any` placeholders.
type ArrayOfDatastoreBackingPoolMapping struct {
DatastoreBackingPoolMapping []DatastoreBackingPoolMapping `xml:"DatastoreBackingPoolMapping,omitempty" json:"_value"`
}
@@ -78,6 +124,7 @@ func init() {
types.Add("sms:ArrayOfDatastoreBackingPoolMapping", reflect.TypeOf((*ArrayOfDatastoreBackingPoolMapping)(nil)).Elem())
}
+// A boxed array of `DatastorePair`. To be used in `Any` placeholders.
type ArrayOfDatastorePair struct {
DatastorePair []DatastorePair `xml:"DatastorePair,omitempty" json:"_value"`
}
@@ -86,6 +133,7 @@ func init() {
types.Add("sms:ArrayOfDatastorePair", reflect.TypeOf((*ArrayOfDatastorePair)(nil)).Elem())
}
+// A boxed array of `DeviceId`. To be used in `Any` placeholders.
type ArrayOfDeviceId struct {
DeviceId []BaseDeviceId `xml:"DeviceId,omitempty,typeattr" json:"_value"`
}
@@ -94,6 +142,7 @@ func init() {
types.Add("sms:ArrayOfDeviceId", reflect.TypeOf((*ArrayOfDeviceId)(nil)).Elem())
}
+// A boxed array of `FaultDomainProviderMapping`. To be used in `Any` placeholders.
type ArrayOfFaultDomainProviderMapping struct {
FaultDomainProviderMapping []FaultDomainProviderMapping `xml:"FaultDomainProviderMapping,omitempty" json:"_value"`
}
@@ -102,6 +151,7 @@ func init() {
types.Add("sms:ArrayOfFaultDomainProviderMapping", reflect.TypeOf((*ArrayOfFaultDomainProviderMapping)(nil)).Elem())
}
+// A boxed array of `GroupOperationResult`. To be used in `Any` placeholders.
type ArrayOfGroupOperationResult struct {
GroupOperationResult []BaseGroupOperationResult `xml:"GroupOperationResult,omitempty,typeattr" json:"_value"`
}
@@ -110,6 +160,7 @@ func init() {
types.Add("sms:ArrayOfGroupOperationResult", reflect.TypeOf((*ArrayOfGroupOperationResult)(nil)).Elem())
}
+// A boxed array of `NameValuePair`. To be used in `Any` placeholders.
type ArrayOfNameValuePair struct {
NameValuePair []NameValuePair `xml:"NameValuePair,omitempty" json:"_value"`
}
@@ -118,6 +169,7 @@ func init() {
types.Add("sms:ArrayOfNameValuePair", reflect.TypeOf((*ArrayOfNameValuePair)(nil)).Elem())
}
+// A boxed array of `PointInTimeReplicaInfo`. To be used in `Any` placeholders.
type ArrayOfPointInTimeReplicaInfo struct {
PointInTimeReplicaInfo []PointInTimeReplicaInfo `xml:"PointInTimeReplicaInfo,omitempty" json:"_value"`
}
@@ -126,6 +178,7 @@ func init() {
types.Add("sms:ArrayOfPointInTimeReplicaInfo", reflect.TypeOf((*ArrayOfPointInTimeReplicaInfo)(nil)).Elem())
}
+// A boxed array of `PolicyAssociation`. To be used in `Any` placeholders.
type ArrayOfPolicyAssociation struct {
PolicyAssociation []PolicyAssociation `xml:"PolicyAssociation,omitempty" json:"_value"`
}
@@ -134,6 +187,7 @@ func init() {
types.Add("sms:ArrayOfPolicyAssociation", reflect.TypeOf((*ArrayOfPolicyAssociation)(nil)).Elem())
}
+// A boxed array of `QueryReplicationPeerResult`. To be used in `Any` placeholders.
type ArrayOfQueryReplicationPeerResult struct {
QueryReplicationPeerResult []QueryReplicationPeerResult `xml:"QueryReplicationPeerResult,omitempty" json:"_value"`
}
@@ -142,6 +196,7 @@ func init() {
types.Add("sms:ArrayOfQueryReplicationPeerResult", reflect.TypeOf((*ArrayOfQueryReplicationPeerResult)(nil)).Elem())
}
+// A boxed array of `RecoveredDevice`. To be used in `Any` placeholders.
type ArrayOfRecoveredDevice struct {
RecoveredDevice []RecoveredDevice `xml:"RecoveredDevice,omitempty" json:"_value"`
}
@@ -150,6 +205,7 @@ func init() {
types.Add("sms:ArrayOfRecoveredDevice", reflect.TypeOf((*ArrayOfRecoveredDevice)(nil)).Elem())
}
+// A boxed array of `RecoveredDiskInfo`. To be used in `Any` placeholders.
type ArrayOfRecoveredDiskInfo struct {
RecoveredDiskInfo []RecoveredDiskInfo `xml:"RecoveredDiskInfo,omitempty" json:"_value"`
}
@@ -158,6 +214,7 @@ func init() {
types.Add("sms:ArrayOfRecoveredDiskInfo", reflect.TypeOf((*ArrayOfRecoveredDiskInfo)(nil)).Elem())
}
+// A boxed array of `RelatedStorageArray`. To be used in `Any` placeholders.
type ArrayOfRelatedStorageArray struct {
RelatedStorageArray []RelatedStorageArray `xml:"RelatedStorageArray,omitempty" json:"_value"`
}
@@ -166,6 +223,7 @@ func init() {
types.Add("sms:ArrayOfRelatedStorageArray", reflect.TypeOf((*ArrayOfRelatedStorageArray)(nil)).Elem())
}
+// A boxed array of `ReplicaIntervalQueryResult`. To be used in `Any` placeholders.
type ArrayOfReplicaIntervalQueryResult struct {
ReplicaIntervalQueryResult []ReplicaIntervalQueryResult `xml:"ReplicaIntervalQueryResult,omitempty" json:"_value"`
}
@@ -174,6 +232,7 @@ func init() {
types.Add("sms:ArrayOfReplicaIntervalQueryResult", reflect.TypeOf((*ArrayOfReplicaIntervalQueryResult)(nil)).Elem())
}
+// A boxed array of `ReplicationGroupData`. To be used in `Any` placeholders.
type ArrayOfReplicationGroupData struct {
ReplicationGroupData []ReplicationGroupData `xml:"ReplicationGroupData,omitempty" json:"_value"`
}
@@ -182,6 +241,7 @@ func init() {
types.Add("sms:ArrayOfReplicationGroupData", reflect.TypeOf((*ArrayOfReplicationGroupData)(nil)).Elem())
}
+// A boxed array of `ReplicationTargetInfo`. To be used in `Any` placeholders.
type ArrayOfReplicationTargetInfo struct {
ReplicationTargetInfo []ReplicationTargetInfo `xml:"ReplicationTargetInfo,omitempty" json:"_value"`
}
@@ -190,6 +250,7 @@ func init() {
types.Add("sms:ArrayOfReplicationTargetInfo", reflect.TypeOf((*ArrayOfReplicationTargetInfo)(nil)).Elem())
}
+// A boxed array of `SmsProviderInfo`. To be used in `Any` placeholders.
type ArrayOfSmsProviderInfo struct {
SmsProviderInfo []BaseSmsProviderInfo `xml:"SmsProviderInfo,omitempty,typeattr" json:"_value"`
}
@@ -198,6 +259,7 @@ func init() {
types.Add("sms:ArrayOfSmsProviderInfo", reflect.TypeOf((*ArrayOfSmsProviderInfo)(nil)).Elem())
}
+// A boxed array of `SourceGroupMemberInfo`. To be used in `Any` placeholders.
type ArrayOfSourceGroupMemberInfo struct {
SourceGroupMemberInfo []SourceGroupMemberInfo `xml:"SourceGroupMemberInfo,omitempty" json:"_value"`
}
@@ -206,6 +268,7 @@ func init() {
types.Add("sms:ArrayOfSourceGroupMemberInfo", reflect.TypeOf((*ArrayOfSourceGroupMemberInfo)(nil)).Elem())
}
+// A boxed array of `StorageAlarm`. To be used in `Any` placeholders.
type ArrayOfStorageAlarm struct {
StorageAlarm []StorageAlarm `xml:"StorageAlarm,omitempty" json:"_value"`
}
@@ -214,6 +277,7 @@ func init() {
types.Add("sms:ArrayOfStorageAlarm", reflect.TypeOf((*ArrayOfStorageAlarm)(nil)).Elem())
}
+// A boxed array of `StorageArray`. To be used in `Any` placeholders.
type ArrayOfStorageArray struct {
StorageArray []StorageArray `xml:"StorageArray,omitempty" json:"_value"`
}
@@ -222,6 +286,7 @@ func init() {
types.Add("sms:ArrayOfStorageArray", reflect.TypeOf((*ArrayOfStorageArray)(nil)).Elem())
}
+// A boxed array of `StorageContainer`. To be used in `Any` placeholders.
type ArrayOfStorageContainer struct {
StorageContainer []StorageContainer `xml:"StorageContainer,omitempty" json:"_value"`
}
@@ -230,6 +295,7 @@ func init() {
types.Add("sms:ArrayOfStorageContainer", reflect.TypeOf((*ArrayOfStorageContainer)(nil)).Elem())
}
+// A boxed array of `StorageFileSystem`. To be used in `Any` placeholders.
type ArrayOfStorageFileSystem struct {
StorageFileSystem []StorageFileSystem `xml:"StorageFileSystem,omitempty" json:"_value"`
}
@@ -238,6 +304,7 @@ func init() {
types.Add("sms:ArrayOfStorageFileSystem", reflect.TypeOf((*ArrayOfStorageFileSystem)(nil)).Elem())
}
+// A boxed array of `StorageFileSystemInfo`. To be used in `Any` placeholders.
type ArrayOfStorageFileSystemInfo struct {
StorageFileSystemInfo []StorageFileSystemInfo `xml:"StorageFileSystemInfo,omitempty" json:"_value"`
}
@@ -246,6 +313,7 @@ func init() {
types.Add("sms:ArrayOfStorageFileSystemInfo", reflect.TypeOf((*ArrayOfStorageFileSystemInfo)(nil)).Elem())
}
+// A boxed array of `StorageLun`. To be used in `Any` placeholders.
type ArrayOfStorageLun struct {
StorageLun []StorageLun `xml:"StorageLun,omitempty" json:"_value"`
}
@@ -254,6 +322,7 @@ func init() {
types.Add("sms:ArrayOfStorageLun", reflect.TypeOf((*ArrayOfStorageLun)(nil)).Elem())
}
+// A boxed array of `StoragePort`. To be used in `Any` placeholders.
type ArrayOfStoragePort struct {
StoragePort []BaseStoragePort `xml:"StoragePort,omitempty,typeattr" json:"_value"`
}
@@ -262,6 +331,7 @@ func init() {
types.Add("sms:ArrayOfStoragePort", reflect.TypeOf((*ArrayOfStoragePort)(nil)).Elem())
}
+// A boxed array of `StorageProcessor`. To be used in `Any` placeholders.
type ArrayOfStorageProcessor struct {
StorageProcessor []StorageProcessor `xml:"StorageProcessor,omitempty" json:"_value"`
}
@@ -270,6 +340,7 @@ func init() {
types.Add("sms:ArrayOfStorageProcessor", reflect.TypeOf((*ArrayOfStorageProcessor)(nil)).Elem())
}
+// A boxed array of `SupportedVendorModelMapping`. To be used in `Any` placeholders.
type ArrayOfSupportedVendorModelMapping struct {
SupportedVendorModelMapping []SupportedVendorModelMapping `xml:"SupportedVendorModelMapping,omitempty" json:"_value"`
}
@@ -278,6 +349,7 @@ func init() {
types.Add("sms:ArrayOfSupportedVendorModelMapping", reflect.TypeOf((*ArrayOfSupportedVendorModelMapping)(nil)).Elem())
}
+// A boxed array of `TargetDeviceId`. To be used in `Any` placeholders.
type ArrayOfTargetDeviceId struct {
TargetDeviceId []TargetDeviceId `xml:"TargetDeviceId,omitempty" json:"_value"`
}
@@ -286,6 +358,7 @@ func init() {
types.Add("sms:ArrayOfTargetDeviceId", reflect.TypeOf((*ArrayOfTargetDeviceId)(nil)).Elem())
}
+// A boxed array of `TargetGroupMemberInfo`. To be used in `Any` placeholders.
type ArrayOfTargetGroupMemberInfo struct {
TargetGroupMemberInfo []BaseTargetGroupMemberInfo `xml:"TargetGroupMemberInfo,omitempty,typeattr" json:"_value"`
}
@@ -294,6 +367,11 @@ func init() {
types.Add("sms:ArrayOfTargetGroupMemberInfo", reflect.TypeOf((*ArrayOfTargetGroupMemberInfo)(nil)).Elem())
}
+// This exception is thrown when an error occurs while
+// connecting to the vpxd service to validate the user
+// credentials
+//
+// This structure may be used only with operations rendered under `/sms`.
type AuthConnectionFailed struct {
types.NoPermission
}
@@ -308,36 +386,62 @@ func init() {
types.Add("sms:AuthConnectionFailedFault", reflect.TypeOf((*AuthConnectionFailedFault)(nil)).Elem())
}
+// This data object represents SDRS related data associated with block device or file system.
+//
+// This structure may be used only with operations rendered under `/sms`.
type BackingConfig struct {
types.DynamicData
- ThinProvisionBackingIdentifier string `xml:"thinProvisionBackingIdentifier,omitempty" json:"thinProvisionBackingIdentifier,omitempty"`
- DeduplicationBackingIdentifier string `xml:"deduplicationBackingIdentifier,omitempty" json:"deduplicationBackingIdentifier,omitempty"`
- AutoTieringEnabled *bool `xml:"autoTieringEnabled" json:"autoTieringEnabled,omitempty"`
- DeduplicationEfficiency int64 `xml:"deduplicationEfficiency,omitempty" json:"deduplicationEfficiency,omitempty"`
- PerformanceOptimizationInterval int64 `xml:"performanceOptimizationInterval,omitempty" json:"performanceOptimizationInterval,omitempty"`
+ // Identifier for the backing pool for thin provisioning
+ ThinProvisionBackingIdentifier string `xml:"thinProvisionBackingIdentifier,omitempty" json:"thinProvisionBackingIdentifier,omitempty"`
+ // Identifier for the backing pool for deduplication
+ DeduplicationBackingIdentifier string `xml:"deduplicationBackingIdentifier,omitempty" json:"deduplicationBackingIdentifier,omitempty"`
+ // Flag to indicate whether auto-tiering optimizations are active
+ AutoTieringEnabled *bool `xml:"autoTieringEnabled" json:"autoTieringEnabled,omitempty"`
+ // Aggregate indication of space savings efficiency in the shared
+ // deduplication pool.
+ //
+ // The value is between 0 and 100, higher values
+ // indicating better efficiency.
+ DeduplicationEfficiency int64 `xml:"deduplicationEfficiency,omitempty" json:"deduplicationEfficiency,omitempty"`
+ // Frequency in seconds at which interval auto-tiering optimizations
+ // are applied.
+ //
+ // A value of 0 indicates continuous optimization.
+ PerformanceOptimizationInterval int64 `xml:"performanceOptimizationInterval,omitempty" json:"performanceOptimizationInterval,omitempty"`
}
func init() {
types.Add("sms:BackingConfig", reflect.TypeOf((*BackingConfig)(nil)).Elem())
}
+// This data object represents the backing storage pool information of block device or file system.
+//
+// This structure may be used only with operations rendered under `/sms`.
type BackingStoragePool struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
- Type string `xml:"type" json:"type"`
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
- UsedSpaceInMB int64 `xml:"usedSpaceInMB" json:"usedSpaceInMB"`
+ // Unique identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ Type string `xml:"type" json:"type"`
+ // Upper bound of the available capacity in the backing storage pool.
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
+ // Aggregate used space in the backing storage pool.
+ UsedSpaceInMB int64 `xml:"usedSpaceInMB" json:"usedSpaceInMB"`
}
func init() {
types.Add("sms:BackingStoragePool", reflect.TypeOf((*BackingStoragePool)(nil)).Elem())
}
+// This exception is thrown if there is a problem with calls to the
+// CertificateAuthority.
+//
+// This structure may be used only with operations rendered under `/sms`.
type CertificateAuthorityFault struct {
ProviderRegistrationFault
+ // Fault code returned by certificate authority.
FaultCode int32 `xml:"faultCode" json:"faultCode"`
}
@@ -351,6 +455,12 @@ func init() {
types.Add("sms:CertificateAuthorityFaultFault", reflect.TypeOf((*CertificateAuthorityFaultFault)(nil)).Elem())
}
+// This exception is thrown if `sms.Provider.VasaProviderInfo#retainVasaProviderCertificate`
+// is true and the provider uses a certificate issued by a Certificate Authority,
+// but the root certificate of the Certificate Authority is not imported to VECS truststore
+// before attempting the provider registration.
+//
+// This structure may be used only with operations rendered under `/sms`.
type CertificateNotImported struct {
ProviderRegistrationFault
}
@@ -365,9 +475,14 @@ func init() {
types.Add("sms:CertificateNotImportedFault", reflect.TypeOf((*CertificateNotImportedFault)(nil)).Elem())
}
+// This exception is thrown if the certificate provided by the
+// provider is not trusted.
+//
+// This structure may be used only with operations rendered under `/sms`.
type CertificateNotTrusted struct {
ProviderRegistrationFault
+ // Certificate
Certificate string `xml:"certificate" json:"certificate"`
}
@@ -375,12 +490,41 @@ func init() {
types.Add("sms:CertificateNotTrusted", reflect.TypeOf((*CertificateNotTrusted)(nil)).Elem())
}
+// An CertificateNotTrusted fault is thrown when an Agency's configuration
+// contains OVF package URL or VIB URL for that vSphere ESX Agent Manager is not
+// able to make successful SSL trust verification of the server's certificate.
+//
+// Reasons for this might be that the certificate provided via the API
+// `Agent.ConfigInfo.ovfSslTrust` and `Agent.ConfigInfo.vibSslTrust`
+// or via the script /usr/lib/vmware-eam/bin/eam-utility.py
+// - is invalid.
+// - does not match the server's certificate.
+//
+// If there is no provided certificate, the fault is thrown when the server's
+// certificate is not trusted by the system or is invalid - @see
+// `Agent.ConfigInfo.ovfSslTrust` and
+// `Agent.ConfigInfo.vibSslTrust`.
+// To enable Agency creation 1) provide a valid certificate used by the
+// server hosting the `Agent.ConfigInfo.ovfPackageUrl` or
+// `Agent.ConfigInfo#vibUrl` or 2) ensure the server's certificate is
+// signed by a CA trusted by the system. Then retry the operation, vSphere
+// ESX Agent Manager will retry the SSL trust verification and proceed with
+// reaching the desired state.
+//
+// This structure may be used only with operations rendered under `/eam`.
+//
+// `**Since:**` vEAM API 8.2
type CertificateNotTrustedFault CertificateNotTrusted
func init() {
types.Add("sms:CertificateNotTrustedFault", reflect.TypeOf((*CertificateNotTrustedFault)(nil)).Elem())
}
+// This exception is thrown if SMS failed to
+// refresh a CA signed certificate for the provider (or)
+// push the latest CA root certificates and CRLs to the provider.
+//
+// This structure may be used only with operations rendered under `/sms`.
type CertificateRefreshFailed struct {
types.MethodFault
@@ -397,6 +541,9 @@ func init() {
types.Add("sms:CertificateRefreshFailedFault", reflect.TypeOf((*CertificateRefreshFailedFault)(nil)).Elem())
}
+// This exception is thrown if SMS failed to revoke CA signed certificate of the provider.
+//
+// This structure may be used only with operations rendered under `/sms`.
type CertificateRevocationFailed struct {
types.MethodFault
}
@@ -411,6 +558,11 @@ func init() {
types.Add("sms:CertificateRevocationFailedFault", reflect.TypeOf((*CertificateRevocationFailedFault)(nil)).Elem())
}
+// This data object represents the result of queryDatastoreBackingPoolMapping API.
+//
+// More than one datastore can map to the same set of BackingStoragePool.
+//
+// This structure may be used only with operations rendered under `/sms`.
type DatastoreBackingPoolMapping struct {
types.DynamicData
@@ -422,6 +574,11 @@ func init() {
types.Add("sms:DatastoreBackingPoolMapping", reflect.TypeOf((*DatastoreBackingPoolMapping)(nil)).Elem())
}
+// Deprecated as of SMS API 5.0.
+//
+// Datastore pair that is returned as a result of queryDrsMigrationCapabilityForPerformanceEx API.
+//
+// This structure may be used only with operations rendered under `/sms`.
type DatastorePair struct {
types.DynamicData
@@ -433,6 +590,9 @@ func init() {
types.Add("sms:DatastorePair", reflect.TypeOf((*DatastorePair)(nil)).Elem())
}
+// Base class that represents a replicated device.
+//
+// This structure may be used only with operations rendered under `/sms`.
type DeviceId struct {
types.DynamicData
}
@@ -441,6 +601,11 @@ func init() {
types.Add("sms:DeviceId", reflect.TypeOf((*DeviceId)(nil)).Elem())
}
+// Deprecated as of SMS API 5.0.
+//
+// This data object represents the result of queryDrsMigrationCapabilityForPerformanceEx API.
+//
+// This structure may be used only with operations rendered under `/sms`.
type DrsMigrationCapabilityResult struct {
types.DynamicData
@@ -452,6 +617,9 @@ func init() {
types.Add("sms:DrsMigrationCapabilityResult", reflect.TypeOf((*DrsMigrationCapabilityResult)(nil)).Elem())
}
+// This exception indicates there are duplicate entries in the input argument.
+//
+// This structure may be used only with operations rendered under `/sms`.
type DuplicateEntry struct {
types.MethodFault
}
@@ -466,10 +634,27 @@ func init() {
types.Add("sms:DuplicateEntryFault", reflect.TypeOf((*DuplicateEntryFault)(nil)).Elem())
}
+// Deprecated as of SMS API 4.0.
+//
+// Unique identifier of a given entity with the storage
+// management service.
+//
+// It is similar to the VirtualCenter
+// ManagedObjectReference but also identifies certain
+// non-managed objects.
+//
+// This structure may be used only with operations rendered under `/sms`.
type EntityReference struct {
types.DynamicData
- Id string `xml:"id" json:"id"`
+ // Unique identifier for the entity of a given type in the
+ // system.
+ //
+ // A VirtualCenter managed object ID can be supplied
+ // here, in which case the type may be unset. Otherwise, the
+ // type must be set.
+ Id string `xml:"id" json:"id"`
+ // Type of the entity.
Type EntityReferenceEntityType `xml:"type,omitempty" json:"type,omitempty"`
}
@@ -477,22 +662,59 @@ func init() {
types.Add("sms:EntityReference", reflect.TypeOf((*EntityReference)(nil)).Elem())
}
+// Input to the failover or testFailover methods.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FailoverParam struct {
types.DynamicData
- IsPlanned bool `xml:"isPlanned" json:"isPlanned"`
- CheckOnly bool `xml:"checkOnly" json:"checkOnly"`
+ // Whether the failover is a planned failover or not.
+ //
+ // Note that testFailover
+ // can also be executed in an unplanned mode. When this flag is
+ // set to false, the recovery VASA provider must not try to connect
+ // to the primary VASA provider during the failover.
+ IsPlanned bool `xml:"isPlanned" json:"isPlanned"`
+ // Do not execute the (test) failover but check if the configuration
+ // is correct to execute the (test) failover.
+ //
+ // If set to true
, the (test)failover result is an array where
+ // each element is either `GroupOperationResult` or `GroupErrorResult`.
+ //
+ // If set to false
, the (test)failover result is an array where
+ // each element is either `FailoverSuccessResult` or `GroupErrorResult`.
+ CheckOnly bool `xml:"checkOnly" json:"checkOnly"`
+ // The replication groups to failover.
+ //
+ // It is OK for the VASA
+ // provider to successfully failover only some groups. The
+ // groups that did not complete will be retried.
ReplicationGroupsToFailover []ReplicationGroupData `xml:"replicationGroupsToFailover,omitempty" json:"replicationGroupsToFailover,omitempty"`
- PolicyAssociations []PolicyAssociation `xml:"policyAssociations,omitempty" json:"policyAssociations,omitempty"`
+ // Storage policies for the devices after (test)failover.
+ //
+ // Failover should be done even if policies cannot be associated.
+ // Test failover, however, should fail if policies cannot be associated.
+ //
+ // If policies cannot be associated, VASA provider can notify the client by
+ // doing either or both of these:
+ // 1\. Set the warning in the result for a replication group to indicate
+ // such a failure to set the policy.
+ // 2\. Raise a compliance alarm after the failover is done.
+ //
+ // If not specified, the default policies are used. Callers may reassign
+ // policy later.
+ PolicyAssociations []PolicyAssociation `xml:"policyAssociations,omitempty" json:"policyAssociations,omitempty"`
}
func init() {
types.Add("sms:FailoverParam", reflect.TypeOf((*FailoverParam)(nil)).Elem())
}
+// The parameters of `VasaProvider.FailoverReplicationGroup_Task`.
type FailoverReplicationGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- FailoverParam BaseFailoverParam `xml:"failoverParam,typeattr" json:"failoverParam"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Settings for the failover.
+ FailoverParam BaseFailoverParam `xml:"failoverParam,typeattr" json:"failoverParam"`
}
func init() {
@@ -509,23 +731,55 @@ type FailoverReplicationGroup_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Results of a successful failover operation.
+//
+// The target fault domain Id, and the device group id are inherited.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FailoverSuccessResult struct {
GroupOperationResult
- NewState string `xml:"newState" json:"newState"`
- PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
+ // Some replicators may automatically reverse replication on failover.
+ //
+ // Such
+ // replicators must move the replication status to
+ // `SOURCE`
+ // In other cases, it can remain as `FAILEDOVER`.
+ NewState string `xml:"newState" json:"newState"`
+ // Id of the Point in Time snapshot used during failover.
+ //
+ // If not present,
+ // latest PIT was used.
+ PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
+ // Optional id of the Point in Time snapshot that was automatically created before
+ // failing over.
+ //
+ // This is recommended so users can revert back to this
+ // snapshot to avoid data loss. This can be removed after the reverse
+ // replication call succeeds.
PitIdBeforeFailover *PointInTimeReplicaId `xml:"pitIdBeforeFailover,omitempty" json:"pitIdBeforeFailover,omitempty"`
- RecoveredDeviceInfo []RecoveredDevice `xml:"recoveredDeviceInfo,omitempty" json:"recoveredDeviceInfo,omitempty"`
- TimeStamp *time.Time `xml:"timeStamp" json:"timeStamp,omitempty"`
+ // Recovered Devices.
+ //
+ // This is optional because in some corner cases the
+ // replication groups on the target site may not have any virtual volumes.
+ RecoveredDeviceInfo []RecoveredDevice `xml:"recoveredDeviceInfo,omitempty" json:"recoveredDeviceInfo,omitempty"`
+ // Time stamp of recovery.
+ TimeStamp *time.Time `xml:"timeStamp" json:"timeStamp,omitempty"`
}
func init() {
types.Add("sms:FailoverSuccessResult", reflect.TypeOf((*FailoverSuccessResult)(nil)).Elem())
}
+// This spec contains information needed for `SmsStorageManager.QueryFaultDomain`
+// API to filter the result.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FaultDomainFilter struct {
types.DynamicData
+ // If specified, query for this specific provider only; else query for all
+ // providers.
ProviderId string `xml:"providerId,omitempty" json:"providerId,omitempty"`
}
@@ -533,35 +787,76 @@ func init() {
types.Add("sms:FaultDomainFilter", reflect.TypeOf((*FaultDomainFilter)(nil)).Elem())
}
+// Information about a Fault Domain.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FaultDomainInfo struct {
types.FaultDomainId
- Name string `xml:"name,omitempty" json:"name,omitempty"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
- StorageArrayId string `xml:"storageArrayId,omitempty" json:"storageArrayId,omitempty"`
- Children []types.FaultDomainId `xml:"children,omitempty" json:"children,omitempty"`
- Provider *types.ManagedObjectReference `xml:"provider,omitempty" json:"provider,omitempty"`
+ // Name of the fault domain, if not specified, the id will be used in place
+ // of the name.
+ //
+ // Name need not be unique.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // Description - could be a localized string.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // Identifier of the Storage Array that this Fault Domain belongs to.
+ //
+ // A Fault
+ // Domain and all its children should report same `FaultDomainInfo.storageArrayId`. It
+ // can be left unspecified. If not specified, vSphere will not support High
+ // Availability feature for this Fault Domain. When specified, vSphere will
+ // treat the the currently active VASA provider for `StorageArray` as
+ // the active VASA provider for this Fault Domain and its children.
+ // Changing High Availability support choice for a Fault Domain
+ // intermittently, by sometimes specifying the storageArrayId and sometimes
+ // not, will cause unexpected result and might cause VP to be in 'syncError'
+ // state in vSphere.
+ StorageArrayId string `xml:"storageArrayId,omitempty" json:"storageArrayId,omitempty"`
+ // List of children, the entries in the array should always be
+ // `FaultDomainId` and not `FaultDomainInfo`.
+ //
+ // The 2016 vSphere release will not support nested Fault Domains. The field
+ // FaultDomainInfo#children is ignored by vSphere 2016 release.
+ Children []types.FaultDomainId `xml:"children,omitempty" json:"children,omitempty"`
+ // VASA provider that is actively managing this fault domain
+ //
+ // Refers instance of `SmsProvider`.
+ Provider *types.ManagedObjectReference `xml:"provider,omitempty" json:"provider,omitempty"`
}
func init() {
types.Add("sms:FaultDomainInfo", reflect.TypeOf((*FaultDomainInfo)(nil)).Elem())
}
+// This mapping will be set in InactiveProvider fault to notify clients
+// the current active provider for the specified fault domains.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FaultDomainProviderMapping struct {
types.DynamicData
+ // Active provider managing the fault domains
+ //
+ // Refers instance of `SmsProvider`.
ActiveProvider types.ManagedObjectReference `xml:"activeProvider" json:"activeProvider"`
- FaultDomainId []types.FaultDomainId `xml:"faultDomainId,omitempty" json:"faultDomainId,omitempty"`
+ // Fault domains being managed by the provider
+ FaultDomainId []types.FaultDomainId `xml:"faultDomainId,omitempty" json:"faultDomainId,omitempty"`
}
func init() {
types.Add("sms:FaultDomainProviderMapping", reflect.TypeOf((*FaultDomainProviderMapping)(nil)).Elem())
}
+// This data object represents the FC storage port.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FcStoragePort struct {
StoragePort
+ // World Wide Name for the Port
PortWwn string `xml:"portWwn" json:"portWwn"`
+ // World Wide Name for the Node
NodeWwn string `xml:"nodeWwn" json:"nodeWwn"`
}
@@ -569,10 +864,15 @@ func init() {
types.Add("sms:FcStoragePort", reflect.TypeOf((*FcStoragePort)(nil)).Elem())
}
+// This data object represents the FCoE storage port.
+//
+// This structure may be used only with operations rendered under `/sms`.
type FcoeStoragePort struct {
StoragePort
+ // World Wide Name for the Port
PortWwn string `xml:"portWwn" json:"portWwn"`
+ // World Wide Name for the Node
NodeWwn string `xml:"nodeWwn" json:"nodeWwn"`
}
@@ -580,9 +880,13 @@ func init() {
types.Add("sms:FcoeStoragePort", reflect.TypeOf((*FcoeStoragePort)(nil)).Elem())
}
+// Error result.
+//
+// This structure may be used only with operations rendered under `/sms`.
type GroupErrorResult struct {
GroupOperationResult
+ // Error array, must contain at least one entry.
Error []types.LocalizedMethodFault `xml:"error" json:"error"`
}
@@ -590,9 +894,16 @@ func init() {
types.Add("sms:GroupErrorResult", reflect.TypeOf((*GroupErrorResult)(nil)).Elem())
}
+// Replication group information.
+//
+// May be either a `SourceGroupInfo` or
+// `TargetGroupInfo`.
+//
+// This structure may be used only with operations rendered under `/sms`.
type GroupInfo struct {
types.DynamicData
+ // Identifier of the group + fault domain id.
GroupId types.ReplicationGroupId `xml:"groupId" json:"groupId"`
}
@@ -600,9 +911,16 @@ func init() {
types.Add("sms:GroupInfo", reflect.TypeOf((*GroupInfo)(nil)).Elem())
}
+// The base class for any operation on a replication group.
+//
+// Usually, there is an
+// operation specific SuccessResult
+//
+// This structure may be used only with operations rendered under `/sms`.
type GroupOperationResult struct {
types.DynamicData
+ // Replication group Id.
GroupId types.ReplicationGroupId `xml:"groupId" json:"groupId"`
Warning []types.LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
}
@@ -611,9 +929,18 @@ func init() {
types.Add("sms:GroupOperationResult", reflect.TypeOf((*GroupOperationResult)(nil)).Elem())
}
+// Thrown if the VASA Provider on which the call is made is currently not
+// active.
+//
+// If the client maintains a cache of the topology of fault domains
+// and replication groups, it's expected to update the cache based on the
+// mapping information set in this fault.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InactiveProvider struct {
types.MethodFault
+ // Mapping between VASA provider and the fault domains
Mapping []FaultDomainProviderMapping `xml:"mapping,omitempty" json:"mapping,omitempty"`
}
@@ -627,6 +954,9 @@ func init() {
types.Add("sms:InactiveProviderFault", reflect.TypeOf((*InactiveProviderFault)(nil)).Elem())
}
+// This fault is thrown if failed to register provider due to incorrect credentials.
+//
+// This structure may be used only with operations rendered under `/sms`.
type IncorrectUsernamePassword struct {
ProviderRegistrationFault
}
@@ -641,9 +971,14 @@ func init() {
types.Add("sms:IncorrectUsernamePasswordFault", reflect.TypeOf((*IncorrectUsernamePasswordFault)(nil)).Elem())
}
+// This exception is thrown if the provider certificate is empty, malformed,
+// expired, not yet valid, revoked or fails host name verification.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidCertificate struct {
ProviderRegistrationFault
+ // Provider certificate
Certificate string `xml:"certificate" json:"certificate"`
}
@@ -657,6 +992,11 @@ func init() {
types.Add("sms:InvalidCertificateFault", reflect.TypeOf((*InvalidCertificateFault)(nil)).Elem())
}
+// Thrown if the function is called at the wrong end of the replication (i.e.
+//
+// the failing function should be tried at the opposite end of replication).
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidFunctionTarget struct {
SmsReplicationFault
}
@@ -671,6 +1011,9 @@ func init() {
types.Add("sms:InvalidFunctionTargetFault", reflect.TypeOf((*InvalidFunctionTargetFault)(nil)).Elem())
}
+// This exception is thrown if the specified storage profile is invalid.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidProfile struct {
types.MethodFault
}
@@ -685,11 +1028,16 @@ func init() {
types.Add("sms:InvalidProfileFault", reflect.TypeOf((*InvalidProfileFault)(nil)).Elem())
}
+// Thrown if the replication group is not in the correct state.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidReplicationState struct {
SmsReplicationFault
+ // States where the operation would have been successful.
DesiredState []string `xml:"desiredState,omitempty" json:"desiredState,omitempty"`
- CurrentState string `xml:"currentState" json:"currentState"`
+ // Current state.
+ CurrentState string `xml:"currentState" json:"currentState"`
}
func init() {
@@ -702,9 +1050,16 @@ func init() {
types.Add("sms:InvalidReplicationStateFault", reflect.TypeOf((*InvalidReplicationStateFault)(nil)).Elem())
}
+// This exception is thrown if a specified session is invalid.
+//
+// This can occur if the VirtualCenter session referred to by
+// the cookie has timed out or has been closed.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidSession struct {
types.NoPermission
+ // VirtualCenter session cookie that is invalid.
SessionCookie string `xml:"sessionCookie" json:"sessionCookie"`
}
@@ -718,9 +1073,13 @@ func init() {
types.Add("sms:InvalidSessionFault", reflect.TypeOf((*InvalidSessionFault)(nil)).Elem())
}
+// This exception is thrown if `VasaProviderSpec.url` is malformed.
+//
+// This structure may be used only with operations rendered under `/sms`.
type InvalidUrl struct {
ProviderRegistrationFault
+ // Provider `VasaProviderSpec.url`
Url string `xml:"url" json:"url"`
}
@@ -734,9 +1093,13 @@ func init() {
types.Add("sms:InvalidUrlFault", reflect.TypeOf((*InvalidUrlFault)(nil)).Elem())
}
+// This data object represents the iSCSI storage port.
+//
+// This structure may be used only with operations rendered under `/sms`.
type IscsiStoragePort struct {
StoragePort
+ // IQN or EQI identifier
Identifier string `xml:"identifier" json:"identifier"`
}
@@ -744,6 +1107,10 @@ func init() {
types.Add("sms:IscsiStoragePort", reflect.TypeOf((*IscsiStoragePort)(nil)).Elem())
}
+// This data object represents the lun, HBA association
+// for synchronous replication.
+//
+// This structure may be used only with operations rendered under `/sms`.
type LunHbaAssociation struct {
types.DynamicData
@@ -755,6 +1122,10 @@ func init() {
types.Add("sms:LunHbaAssociation", reflect.TypeOf((*LunHbaAssociation)(nil)).Elem())
}
+// This exception is thrown if more than one sort spec is
+// specified in a list query.
+//
+// This structure may be used only with operations rendered under `/sms`.
type MultipleSortSpecsNotSupported struct {
types.InvalidArgument
}
@@ -769,10 +1140,15 @@ func init() {
types.Add("sms:MultipleSortSpecsNotSupportedFault", reflect.TypeOf((*MultipleSortSpecsNotSupportedFault)(nil)).Elem())
}
+// This data object represents a name value pair.
+//
+// This structure may be used only with operations rendered under `/sms`.
type NameValuePair struct {
types.DynamicData
- ParameterName string `xml:"parameterName" json:"parameterName"`
+ // Name of the paramter
+ ParameterName string `xml:"parameterName" json:"parameterName"`
+ // Value of the parameter
ParameterValue string `xml:"parameterValue" json:"parameterValue"`
}
@@ -780,6 +1156,12 @@ func init() {
types.Add("sms:NameValuePair", reflect.TypeOf((*NameValuePair)(nil)).Elem())
}
+// This fault is thrown when backings (@link
+// sms.storage.StorageLun/ @link sms.storage.StorageFileSystem)
+// of the specified datastores refer to different
+// VASA providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type NoCommonProviderForAllBackings struct {
QueryExecutionFault
}
@@ -794,6 +1176,9 @@ func init() {
types.Add("sms:NoCommonProviderForAllBackingsFault", reflect.TypeOf((*NoCommonProviderForAllBackingsFault)(nil)).Elem())
}
+// This exception is set if the replication target is not yet available.
+//
+// This structure may be used only with operations rendered under `/sms`.
type NoReplicationTarget struct {
SmsReplicationFault
}
@@ -808,9 +1193,23 @@ func init() {
types.Add("sms:NoReplicationTargetFault", reflect.TypeOf((*NoReplicationTargetFault)(nil)).Elem())
}
+// This exception is thrown when there is no valid replica
+// to be used in recovery.
+//
+// This may happen when a Virtual Volume
+// is created on the source domain, but the replica is yet to
+// be copied to the target.
+//
+// This structure may be used only with operations rendered under `/sms`.
type NoValidReplica struct {
SmsReplicationFault
+ // Identifier of the device which does not have a valid
+ // replica.
+ //
+ // This is the identifier on the target site.
+ // This may not be set if the ReplicationGroup does not
+ // have even a single valid replica.
DeviceId BaseDeviceId `xml:"deviceId,omitempty,typeattr" json:"deviceId,omitempty"`
}
@@ -824,6 +1223,10 @@ func init() {
types.Add("sms:NoValidReplicaFault", reflect.TypeOf((*NoValidReplicaFault)(nil)).Elem())
}
+// This exception is thrown if the VASA Provider on which the call is made
+// does not support this operation.
+//
+// This structure may be used only with operations rendered under `/sms`.
type NotSupportedByProvider struct {
types.MethodFault
}
@@ -838,6 +1241,12 @@ func init() {
types.Add("sms:NotSupportedByProviderFault", reflect.TypeOf((*NotSupportedByProviderFault)(nil)).Elem())
}
+// This exception is set if the replication peer is not reachable.
+//
+// For prepareFailover, it is the target that is not reachable.
+// For other functions, it is the source that is not reachable.
+//
+// This structure may be used only with operations rendered under `/sms`.
type PeerNotReachable struct {
SmsReplicationFault
}
@@ -852,9 +1261,13 @@ func init() {
types.Add("sms:PeerNotReachableFault", reflect.TypeOf((*PeerNotReachableFault)(nil)).Elem())
}
+// Identity of the Point in Time Replica object.
+//
+// This structure may be used only with operations rendered under `/sms`.
type PointInTimeReplicaId struct {
types.DynamicData
+ // ID of the Point In Time replica.
Id string `xml:"id" json:"id"`
}
@@ -865,21 +1278,47 @@ func init() {
type PointInTimeReplicaInfo struct {
types.DynamicData
- Id PointInTimeReplicaId `xml:"id" json:"id"`
- PitName string `xml:"pitName" json:"pitName"`
- TimeStamp time.Time `xml:"timeStamp" json:"timeStamp"`
- Tags []string `xml:"tags,omitempty" json:"tags,omitempty"`
+ // Id of the PIT replica.
+ //
+ // Note that this id is always used
+ // in combination with the `ReplicationGroupId`, hence must be
+ // unique to the `ReplicationGroupId`.
+ Id PointInTimeReplicaId `xml:"id" json:"id"`
+ // Name of the PIT replica.
+ //
+ // This may be a localized string
+ // in a language as chosen by the VASA provider.
+ PitName string `xml:"pitName" json:"pitName"`
+ // Time when the snapshot was taken.
+ //
+ // Time stamps are maintained by
+ // the Replication provider, note that this carries time zone information
+ // as well.
+ TimeStamp time.Time `xml:"timeStamp" json:"timeStamp"`
+ // VASA provider managed tags associated with the replica.
+ Tags []string `xml:"tags,omitempty" json:"tags,omitempty"`
}
func init() {
types.Add("sms:PointInTimeReplicaInfo", reflect.TypeOf((*PointInTimeReplicaInfo)(nil)).Elem())
}
+// Describes the policy association object.
+//
+// This structure may be used only with operations rendered under `/sms`.
type PolicyAssociation struct {
types.DynamicData
- Id BaseDeviceId `xml:"id,typeattr" json:"id"`
- PolicyId string `xml:"policyId" json:"policyId"`
+ // The source device id.
+ //
+ // The corresponding recovered device
+ // gets the specified policyId
.
+ Id BaseDeviceId `xml:"id,typeattr" json:"id"`
+ // Policy id.
+ PolicyId string `xml:"policyId" json:"policyId"`
+ // Datastore object.
+ //
+ // Refers instance of `Datastore`.
Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -887,9 +1326,11 @@ func init() {
types.Add("sms:PolicyAssociation", reflect.TypeOf((*PolicyAssociation)(nil)).Elem())
}
+// The parameters of `VasaProvider.PrepareFailoverReplicationGroup_Task`.
type PrepareFailoverReplicationGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // List of replication group IDs.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
}
func init() {
@@ -906,10 +1347,25 @@ type PrepareFailoverReplicationGroup_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Input to the promoteReplicationGroup method.
+//
+// This structure may be used only with operations rendered under `/sms`.
type PromoteParam struct {
types.DynamicData
- IsPlanned bool `xml:"isPlanned" json:"isPlanned"`
+ // Specifies whether the promote operation is a planned one.
+ //
+ // When this flag is set to false, the recovery VASA provider must not
+ // try to connect to the primary VASA provider during promote.
+ IsPlanned bool `xml:"isPlanned" json:"isPlanned"`
+ // The replication groups to promote.
+ //
+ // It is legal for the VASA
+ // provider to successfully promote only some groups. The
+ // groups that did not succeed will be retried.
+ //
+ // The identifiers of the Virtual Volumes do not change after the
+ // promote operation.
ReplicationGroupsToPromote []types.ReplicationGroupId `xml:"replicationGroupsToPromote,omitempty" json:"replicationGroupsToPromote,omitempty"`
}
@@ -917,9 +1373,13 @@ func init() {
types.Add("sms:PromoteParam", reflect.TypeOf((*PromoteParam)(nil)).Elem())
}
+// The parameters of `VasaProvider.PromoteReplicationGroup_Task`.
type PromoteReplicationGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- PromoteParam PromoteParam `xml:"promoteParam" json:"promoteParam"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Specifies an array of replication group IDs whose
+ // in-test devices (`ReplicationStateEnum#INTEST`) need to be
+ // promoted to failover `ReplicationStateEnum#FAILEDOVER` state.
+ PromoteParam PromoteParam `xml:"promoteParam" json:"promoteParam"`
}
func init() {
@@ -936,6 +1396,10 @@ type PromoteReplicationGroup_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// This exception is thrown if the VASA Provider on which the call is made
+// is currently busy.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderBusy struct {
types.MethodFault
}
@@ -950,6 +1414,9 @@ func init() {
types.Add("sms:ProviderBusyFault", reflect.TypeOf((*ProviderBusyFault)(nil)).Elem())
}
+// This fault is thrown if the Storage Monitoring Service failed to connect to the VASA provider.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderConnectionFailed struct {
types.RuntimeFault
}
@@ -964,6 +1431,10 @@ func init() {
types.Add("sms:ProviderConnectionFailedFault", reflect.TypeOf((*ProviderConnectionFailedFault)(nil)).Elem())
}
+// This fault is thrown when a VASA provider cannot be found for the specified
+// entities.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderNotFound struct {
QueryExecutionFault
}
@@ -978,14 +1449,26 @@ func init() {
types.Add("sms:ProviderNotFoundFault", reflect.TypeOf((*ProviderNotFoundFault)(nil)).Elem())
}
+// This exception is thrown if the VASA Provider is out of resource to satisfy
+// a provisioning request.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderOutOfProvisioningResource struct {
types.MethodFault
+ // Identifier of the provisioning resource.
ProvisioningResourceId string `xml:"provisioningResourceId" json:"provisioningResourceId"`
- AvailableBefore int64 `xml:"availableBefore,omitempty" json:"availableBefore,omitempty"`
- AvailableAfter int64 `xml:"availableAfter,omitempty" json:"availableAfter,omitempty"`
- Total int64 `xml:"total,omitempty" json:"total,omitempty"`
- IsTransient *bool `xml:"isTransient" json:"isTransient,omitempty"`
+ // Currently available.
+ AvailableBefore int64 `xml:"availableBefore,omitempty" json:"availableBefore,omitempty"`
+ // Necessary for provisioning.
+ AvailableAfter int64 `xml:"availableAfter,omitempty" json:"availableAfter,omitempty"`
+ // Total amount (free + used).
+ Total int64 `xml:"total,omitempty" json:"total,omitempty"`
+ // This resource limitation is transient, i.e.
+ //
+ // the resource
+ // will be available after some time.
+ IsTransient *bool `xml:"isTransient" json:"isTransient,omitempty"`
}
func init() {
@@ -998,6 +1481,10 @@ func init() {
types.Add("sms:ProviderOutOfProvisioningResourceFault", reflect.TypeOf((*ProviderOutOfProvisioningResourceFault)(nil)).Elem())
}
+// This exception is thrown if the VASA Provider on which the call is made
+// is out of resource.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderOutOfResource struct {
types.MethodFault
}
@@ -1012,6 +1499,10 @@ func init() {
types.Add("sms:ProviderOutOfResourceFault", reflect.TypeOf((*ProviderOutOfResourceFault)(nil)).Elem())
}
+// This fault is thrown if failed to register provider to storage
+// management service.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderRegistrationFault struct {
types.MethodFault
}
@@ -1026,6 +1517,10 @@ func init() {
types.Add("sms:ProviderRegistrationFaultFault", reflect.TypeOf((*ProviderRegistrationFaultFault)(nil)).Elem())
}
+// Thrown if a failure occurs when synchronizing the service
+// cache with provider information.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderSyncFailed struct {
types.MethodFault
}
@@ -1040,6 +1535,14 @@ func init() {
types.Add("sms:ProviderSyncFailedFault", reflect.TypeOf((*ProviderSyncFailedFault)(nil)).Elem())
}
+// This exception is thrown if the VASA Provider on which the call is made is
+// currently not available, e.g.
+//
+// VASA Provider is in offline state. This error
+// usually means the provider is temporarily unavailable due to network outage, etc.
+// The client is expected to wait for some time and retry the same call.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderUnavailable struct {
types.MethodFault
}
@@ -1054,6 +1557,10 @@ func init() {
types.Add("sms:ProviderUnavailableFault", reflect.TypeOf((*ProviderUnavailableFault)(nil)).Elem())
}
+// This fault is thrown if failed to unregister provider from storage
+// management service.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProviderUnregistrationFault struct {
types.MethodFault
}
@@ -1068,6 +1575,11 @@ func init() {
types.Add("sms:ProviderUnregistrationFaultFault", reflect.TypeOf((*ProviderUnregistrationFaultFault)(nil)).Elem())
}
+// This exception is thrown if the storage management service
+// fails to register with the VirtualCenter proxy during
+// initialization.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ProxyRegistrationFailed struct {
types.RuntimeFault
}
@@ -1106,9 +1618,11 @@ func init() {
types.Add("sms:QueryActiveAlarm", reflect.TypeOf((*QueryActiveAlarm)(nil)).Elem())
}
+// The parameters of `VasaProvider.QueryActiveAlarm`.
type QueryActiveAlarmRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- AlarmFilter *AlarmFilter `xml:"alarmFilter,omitempty" json:"alarmFilter,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Filter criteria for the alarm state.
+ AlarmFilter *AlarmFilter `xml:"alarmFilter,omitempty" json:"alarmFilter,omitempty"`
}
func init() {
@@ -1131,9 +1645,12 @@ func init() {
types.Add("sms:QueryArrayAssociatedWithLun", reflect.TypeOf((*QueryArrayAssociatedWithLun)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryArrayAssociatedWithLun`.
type QueryArrayAssociatedWithLunRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- CanonicalName string `xml:"canonicalName" json:"canonicalName"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `ScsiLun.canonicalName`
+ // of ScsiLun
+ CanonicalName string `xml:"canonicalName" json:"canonicalName"`
}
func init() {
@@ -1144,9 +1661,12 @@ type QueryArrayAssociatedWithLunResponse struct {
Returnval *StorageArray `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// The parameters of `SmsStorageManager.QueryArray`.
type QueryArrayRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProviderId []string `xml:"providerId,omitempty" json:"providerId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // List of `SmsProviderInfo.uid` for the VASA
+ // provider objects.
+ ProviderId []string `xml:"providerId,omitempty" json:"providerId,omitempty"`
}
func init() {
@@ -1163,10 +1683,14 @@ func init() {
types.Add("sms:QueryAssociatedBackingStoragePool", reflect.TypeOf((*QueryAssociatedBackingStoragePool)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryAssociatedBackingStoragePool`.
type QueryAssociatedBackingStoragePoolRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- EntityId string `xml:"entityId,omitempty" json:"entityId,omitempty"`
- EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Unique identifier of a StorageLun or StorageFileSystem.
+ EntityId string `xml:"entityId,omitempty" json:"entityId,omitempty"`
+ // Entity type of the entity specified using entityId. This can be either
+ // StorageLun or StorageFileSystem.
+ EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
}
func init() {
@@ -1183,8 +1707,12 @@ func init() {
types.Add("sms:QueryDatastoreBackingPoolMapping", reflect.TypeOf((*QueryDatastoreBackingPoolMapping)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryDatastoreBackingPoolMapping`.
type QueryDatastoreBackingPoolMappingRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array containing references to `Datastore` objects.
+ //
+ // Refers instances of `Datastore`.
Datastore []types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -1202,8 +1730,12 @@ func init() {
types.Add("sms:QueryDatastoreCapability", reflect.TypeOf((*QueryDatastoreCapability)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryDatastoreCapability`.
type QueryDatastoreCapabilityRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // reference to `Datastore`
+ //
+ // Refers instance of `Datastore`.
Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -1227,8 +1759,12 @@ func init() {
types.Add("sms:QueryDrsMigrationCapabilityForPerformanceEx", reflect.TypeOf((*QueryDrsMigrationCapabilityForPerformanceEx)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryDrsMigrationCapabilityForPerformanceEx`.
type QueryDrsMigrationCapabilityForPerformanceExRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array containing references to `Datastore` objects.
+ //
+ // Refers instances of `Datastore`.
Datastore []types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -1240,9 +1776,16 @@ type QueryDrsMigrationCapabilityForPerformanceExResponse struct {
Returnval DrsMigrationCapabilityResult `xml:"returnval" json:"returnval"`
}
+// The parameters of `SmsStorageManager.QueryDrsMigrationCapabilityForPerformance`.
type QueryDrsMigrationCapabilityForPerformanceRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Reference to the source `Datastore`
+ //
+ // Refers instance of `Datastore`.
SrcDatastore types.ManagedObjectReference `xml:"srcDatastore" json:"srcDatastore"`
+ // Reference to the destination `Datastore`
+ //
+ // Refers instance of `Datastore`.
DstDatastore types.ManagedObjectReference `xml:"dstDatastore" json:"dstDatastore"`
}
@@ -1254,6 +1797,10 @@ type QueryDrsMigrationCapabilityForPerformanceResponse struct {
Returnval bool `xml:"returnval" json:"returnval"`
}
+// This exception is thrown if a failure occurs while
+// processing a query request.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryExecutionFault struct {
types.MethodFault
}
@@ -1274,9 +1821,11 @@ func init() {
types.Add("sms:QueryFaultDomain", reflect.TypeOf((*QueryFaultDomain)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryFaultDomain`.
type QueryFaultDomainRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Filter *FaultDomainFilter `xml:"filter,omitempty" json:"filter,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // spec for the query operation.
+ Filter *FaultDomainFilter `xml:"filter,omitempty" json:"filter,omitempty"`
}
func init() {
@@ -1293,9 +1842,12 @@ func init() {
types.Add("sms:QueryFileSystemAssociatedWithArray", reflect.TypeOf((*QueryFileSystemAssociatedWithArray)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryFileSystemAssociatedWithArray`.
type QueryFileSystemAssociatedWithArrayRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1312,10 +1864,15 @@ func init() {
types.Add("sms:QueryHostAssociatedWithLun", reflect.TypeOf((*QueryHostAssociatedWithLun)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryHostAssociatedWithLun`.
type QueryHostAssociatedWithLunRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageLun.uuid` for the StorageLun
+ // object.
+ Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1332,9 +1889,12 @@ func init() {
types.Add("sms:QueryLunAssociatedWithArray", reflect.TypeOf((*QueryLunAssociatedWithArray)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryLunAssociatedWithArray`.
type QueryLunAssociatedWithArrayRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1351,10 +1911,15 @@ func init() {
types.Add("sms:QueryLunAssociatedWithPort", reflect.TypeOf((*QueryLunAssociatedWithPort)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryLunAssociatedWithPort`.
type QueryLunAssociatedWithPortRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- PortId string `xml:"portId" json:"portId"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StoragePort.uuid` for the StoragePort
+ // object.
+ PortId string `xml:"portId" json:"portId"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1371,10 +1936,15 @@ func init() {
types.Add("sms:QueryNfsDatastoreAssociatedWithFileSystem", reflect.TypeOf((*QueryNfsDatastoreAssociatedWithFileSystem)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryNfsDatastoreAssociatedWithFileSystem`.
type QueryNfsDatastoreAssociatedWithFileSystemRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- FileSystemId string `xml:"fileSystemId" json:"fileSystemId"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageFileSystem.uuid` for the
+ // StorageFileSystem object
+ FileSystemId string `xml:"fileSystemId" json:"fileSystemId"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1385,10 +1955,16 @@ type QueryNfsDatastoreAssociatedWithFileSystemResponse struct {
Returnval *types.ManagedObjectReference `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// This exception is thrown if the specified entity and related
+// entity type combination for a list query is not supported.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryNotSupported struct {
types.InvalidArgument
- EntityType EntityReferenceEntityType `xml:"entityType,omitempty" json:"entityType,omitempty"`
+ // Entity type.
+ EntityType EntityReferenceEntityType `xml:"entityType,omitempty" json:"entityType,omitempty"`
+ // Related entity type.
RelatedEntityType EntityReferenceEntityType `xml:"relatedEntityType" json:"relatedEntityType"`
}
@@ -1408,22 +1984,45 @@ func init() {
types.Add("sms:QueryPointInTimeReplica", reflect.TypeOf((*QueryPointInTimeReplica)(nil)).Elem())
}
+// Describes the search criteria for the PiT query.
+//
+// If none of the fields
+// is set, or if the number of PiT replicas is too large, VASA provider can
+// return `QueryPointInTimeReplicaSummaryResult`.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryPointInTimeReplicaParam struct {
types.DynamicData
+ // Specifies the replica time span that vSphere is interested in.
ReplicaTimeQueryParam *ReplicaQueryIntervalParam `xml:"replicaTimeQueryParam,omitempty" json:"replicaTimeQueryParam,omitempty"`
- PitName string `xml:"pitName,omitempty" json:"pitName,omitempty"`
- Tags []string `xml:"tags,omitempty" json:"tags,omitempty"`
- PreferDetails *bool `xml:"preferDetails" json:"preferDetails,omitempty"`
+ // Only the replicas that match the given name are requested.
+ //
+ // A regexp according to http://www.w3.org/TR/xmlschema-2/#regexs.
+ PitName string `xml:"pitName,omitempty" json:"pitName,omitempty"`
+ // Only the replicas with tags that match the given tag(s) are requested.
+ //
+ // Each entry may be a regexp according to http://www.w3.org/TR/xmlschema-2/#regexs.
+ Tags []string `xml:"tags,omitempty" json:"tags,omitempty"`
+ // This field is hint for the preferred type of return results.
+ //
+ // It can be either true for `QueryPointInTimeReplicaSuccessResult` or
+ // false for `QueryPointInTimeReplicaSummaryResult`.
+ // If not set, VP may choose the appropriate type, as described in
+ // ReplicaQueryIntervalParam
.
+ PreferDetails *bool `xml:"preferDetails" json:"preferDetails,omitempty"`
}
func init() {
types.Add("sms:QueryPointInTimeReplicaParam", reflect.TypeOf((*QueryPointInTimeReplicaParam)(nil)).Elem())
}
+// The parameters of `VasaProvider.QueryPointInTimeReplica`.
type QueryPointInTimeReplicaRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // List of replication group IDs.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ // Search criteria specification for all the groups.
QueryParam *QueryPointInTimeReplicaParam `xml:"queryParam,omitempty" json:"queryParam,omitempty"`
}
@@ -1435,9 +2034,21 @@ type QueryPointInTimeReplicaResponse struct {
Returnval []BaseGroupOperationResult `xml:"returnval,omitempty,typeattr" json:"returnval,omitempty"`
}
+// Return type for successful
+// *vasaService#queryPointInTimeReplica(ReplicationGroupId[], QueryPointInTimeReplicaParam)*
+// operation.
+//
+// If the VASA provider decides that there are too many to return,
+// it could set the result of some of the groups to `TooMany`
+// fault or `QueryPointInTimeReplicaSummaryResult`.
+//
+// vSphere will then query for these groups separately.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryPointInTimeReplicaSuccessResult struct {
GroupOperationResult
+ // Information about the available replicas.
ReplicaInfo []PointInTimeReplicaInfo `xml:"replicaInfo,omitempty" json:"replicaInfo,omitempty"`
}
@@ -1445,9 +2056,17 @@ func init() {
types.Add("sms:QueryPointInTimeReplicaSuccessResult", reflect.TypeOf((*QueryPointInTimeReplicaSuccessResult)(nil)).Elem())
}
+// Summary of the available replicas.
+//
+// Mostly useful for CDP type replicators.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryPointInTimeReplicaSummaryResult struct {
GroupOperationResult
+ // A series of query results.
+ //
+ // No special ordering is assumed by vSphere.
IntervalResults []ReplicaIntervalQueryResult `xml:"intervalResults,omitempty" json:"intervalResults,omitempty"`
}
@@ -1461,9 +2080,12 @@ func init() {
types.Add("sms:QueryPortAssociatedWithArray", reflect.TypeOf((*QueryPortAssociatedWithArray)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryPortAssociatedWithArray`.
type QueryPortAssociatedWithArrayRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1480,10 +2102,15 @@ func init() {
types.Add("sms:QueryPortAssociatedWithLun", reflect.TypeOf((*QueryPortAssociatedWithLun)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryPortAssociatedWithLun`.
type QueryPortAssociatedWithLunRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageLun.uuid` for the StorageLun
+ // object.
+ Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1500,10 +2127,15 @@ func init() {
types.Add("sms:QueryPortAssociatedWithProcessor", reflect.TypeOf((*QueryPortAssociatedWithProcessor)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryPortAssociatedWithProcessor`.
type QueryPortAssociatedWithProcessorRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProcessorId string `xml:"processorId" json:"processorId"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageProcessor.uuid` for the
+ // StorageProcessor object.
+ ProcessorId string `xml:"processorId" json:"processorId"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1520,9 +2152,12 @@ func init() {
types.Add("sms:QueryProcessorAssociatedWithArray", reflect.TypeOf((*QueryProcessorAssociatedWithArray)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryProcessorAssociatedWithArray`.
type QueryProcessorAssociatedWithArrayRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1581,6 +2216,7 @@ func init() {
types.Add("sms:QueryReplicationGroupInfo", reflect.TypeOf((*QueryReplicationGroupInfo)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryReplicationGroupInfo`.
type QueryReplicationGroupInfoRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
RgFilter ReplicationGroupFilter `xml:"rgFilter" json:"rgFilter"`
@@ -1594,9 +2230,11 @@ type QueryReplicationGroupInfoResponse struct {
Returnval []BaseGroupOperationResult `xml:"returnval,omitempty,typeattr" json:"returnval,omitempty"`
}
+// The parameters of `VasaProvider.QueryReplicationGroup`.
type QueryReplicationGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // List of replication group IDs.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
}
func init() {
@@ -1607,9 +2245,19 @@ type QueryReplicationGroupResponse struct {
Returnval []BaseGroupOperationResult `xml:"returnval,omitempty,typeattr" json:"returnval,omitempty"`
}
+// Information about the replication groups.
+//
+// Information about both the source
+// groups and the target groups is returned.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryReplicationGroupSuccessResult struct {
GroupOperationResult
+ // Information about the replication group.
+ //
+ // May be either
+ // `SourceGroupInfo` or `TargetGroupInfo`.
RgInfo BaseGroupInfo `xml:"rgInfo,typeattr" json:"rgInfo"`
}
@@ -1623,9 +2271,11 @@ func init() {
types.Add("sms:QueryReplicationPeer", reflect.TypeOf((*QueryReplicationPeer)(nil)).Elem())
}
+// The parameters of `VasaProvider.QueryReplicationPeer`.
type QueryReplicationPeerRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- FaultDomainId []types.FaultDomainId `xml:"faultDomainId,omitempty" json:"faultDomainId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // An optional list of source fault domain ID.
+ FaultDomainId []types.FaultDomainId `xml:"faultDomainId,omitempty" json:"faultDomainId,omitempty"`
}
func init() {
@@ -1636,13 +2286,23 @@ type QueryReplicationPeerResponse struct {
Returnval []QueryReplicationPeerResult `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// Information about the replication peers of a VASA provider.
+//
+// This structure may be used only with operations rendered under `/sms`.
type QueryReplicationPeerResult struct {
types.DynamicData
- SourceDomain types.FaultDomainId `xml:"sourceDomain" json:"sourceDomain"`
- TargetDomain []types.FaultDomainId `xml:"targetDomain,omitempty" json:"targetDomain,omitempty"`
- Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
- Warning []types.LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
+ // Source fault domain id, must correspond to an id from the input.
+ SourceDomain types.FaultDomainId `xml:"sourceDomain" json:"sourceDomain"`
+ // Target fault domains for the given source, fault domain ID's are globally
+ // unique.
+ //
+ // There can be one or more target domains for a given source.
+ TargetDomain []types.FaultDomainId `xml:"targetDomain,omitempty" json:"targetDomain,omitempty"`
+ // Error must be set when targetDomain field is not set.
+ Error []types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // Optional warning messages.
+ Warning []types.LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
}
func init() {
@@ -1709,9 +2369,11 @@ func init() {
types.Add("sms:QueryStorageContainer", reflect.TypeOf((*QueryStorageContainer)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryStorageContainer`.
type QueryStorageContainerRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ContainerSpec *StorageContainerSpec `xml:"containerSpec,omitempty" json:"containerSpec,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageContainerSpec`
+ ContainerSpec *StorageContainerSpec `xml:"containerSpec,omitempty" json:"containerSpec,omitempty"`
}
func init() {
@@ -1746,10 +2408,14 @@ func init() {
types.Add("sms:QueryVmfsDatastoreAssociatedWithLun", reflect.TypeOf((*QueryVmfsDatastoreAssociatedWithLun)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.QueryVmfsDatastoreAssociatedWithLun`.
type QueryVmfsDatastoreAssociatedWithLunRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
- ArrayId string `xml:"arrayId" json:"arrayId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `StorageLun.uuid` for the StorageLun object
+ Scsi3Id string `xml:"scsi3Id" json:"scsi3Id"`
+ // `StorageArray.uuid` for the StorageArray
+ // object.
+ ArrayId string `xml:"arrayId" json:"arrayId"`
}
func init() {
@@ -1760,38 +2426,91 @@ type QueryVmfsDatastoreAssociatedWithLunResponse struct {
Returnval *types.ManagedObjectReference `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// Represents the device after the failover.
+//
+// Even though many of the fields in this structure are
+// marked optional, it is important for VASA provider to
+// make sure that the recovery of the entire ReplicationGroup succeeds
+// atomically. The only valid scenario when there is a device specific
+// recovery failure is when there is no valid replica for the Virtual Volume
+// (e.g. Virtual Volume was just added to the ReplicationGroup).
+//
+// This structure may be used only with operations rendered under `/sms`.
type RecoveredDevice struct {
types.DynamicData
- TargetDeviceId *ReplicaId `xml:"targetDeviceId,omitempty" json:"targetDeviceId,omitempty"`
- RecoveredDeviceId BaseDeviceId `xml:"recoveredDeviceId,omitempty,typeattr" json:"recoveredDeviceId,omitempty"`
- SourceDeviceId BaseDeviceId `xml:"sourceDeviceId,typeattr" json:"sourceDeviceId"`
- Info []string `xml:"info,omitempty" json:"info,omitempty"`
- Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
- RecoveredDiskInfo []RecoveredDiskInfo `xml:"recoveredDiskInfo,omitempty" json:"recoveredDiskInfo,omitempty"`
- Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
- Warnings []types.LocalizedMethodFault `xml:"warnings,omitempty" json:"warnings,omitempty"`
+ // Identifier of the device which was the target of replication before
+ // failover.
+ TargetDeviceId *ReplicaId `xml:"targetDeviceId,omitempty" json:"targetDeviceId,omitempty"`
+ // Identifier of the target device after test or failover.
+ RecoveredDeviceId BaseDeviceId `xml:"recoveredDeviceId,omitempty,typeattr" json:"recoveredDeviceId,omitempty"`
+ // Identifier of the source of the replication data before the failover
+ // stopped the replication.
+ SourceDeviceId BaseDeviceId `xml:"sourceDeviceId,typeattr" json:"sourceDeviceId"`
+ // Informational messages.
+ Info []string `xml:"info,omitempty" json:"info,omitempty"`
+ // Datastore for the newly surfaced device.
+ //
+ // Refers instance of `Datastore`.
+ Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // Only to be filled in if the `RecoveredDevice.recoveredDeviceId` is `VirtualMachineId`.
+ RecoveredDiskInfo []RecoveredDiskInfo `xml:"recoveredDiskInfo,omitempty" json:"recoveredDiskInfo,omitempty"`
+ // Virtual Volume specific recovery error.
+ //
+ // This should be rare.
+ Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // Warnings.
+ Warnings []types.LocalizedMethodFault `xml:"warnings,omitempty" json:"warnings,omitempty"`
}
func init() {
types.Add("sms:RecoveredDevice", reflect.TypeOf((*RecoveredDevice)(nil)).Elem())
}
+// Describes the recovered disks for a given virtual machine.
+//
+// Only applicable for VAIO based replicators. Upon recovery,
+// all the replicated disks must be attached to the virtual machine,
+// i.e. the VMX file must refer to the correct file paths. Device
+// keys must be preserved and non-replicated disks can refer to
+// non-existent file names.
+// Array based replicators can ignore this class.
+//
+// This structure may be used only with operations rendered under `/sms`.
type RecoveredDiskInfo struct {
types.DynamicData
- DeviceKey int32 `xml:"deviceKey" json:"deviceKey"`
- DsUrl string `xml:"dsUrl" json:"dsUrl"`
- DiskPath string `xml:"diskPath" json:"diskPath"`
+ // Virtual disk key.
+ //
+ // Note that disk device
+ // keys must not change after recovery - in other words, the device
+ // key is the same on both the source and target sites.
+ //
+ // For example, if a VMDK d1 is being replicated to d1', and d1 is attached as device
+ // 2001 to the source VM, the recovered VM should have d1' attached
+ // as 2001.
+ DeviceKey int32 `xml:"deviceKey" json:"deviceKey"`
+ // URL of the datastore that disk was recovered to.
+ DsUrl string `xml:"dsUrl" json:"dsUrl"`
+ // Full pathname of the disk.
+ DiskPath string `xml:"diskPath" json:"diskPath"`
}
func init() {
types.Add("sms:RecoveredDiskInfo", reflect.TypeOf((*RecoveredDiskInfo)(nil)).Elem())
}
+// Information about member virtual volumes in a ReplicationGroup
+// on the target after failover or testFailoverStart.
+//
+// This must include information about all the vSphere managed snapshots in
+// the ReplicationGroup.
+//
+// This structure may be used only with operations rendered under `/sms`.
type RecoveredTargetGroupMemberInfo struct {
TargetGroupMemberInfo
+ // Identifier of the target device after test or failover.
RecoveredDeviceId BaseDeviceId `xml:"recoveredDeviceId,omitempty,typeattr" json:"recoveredDeviceId,omitempty"`
}
@@ -1799,9 +2518,13 @@ func init() {
types.Add("sms:RecoveredTargetGroupMemberInfo", reflect.TypeOf((*RecoveredTargetGroupMemberInfo)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.RegisterProvider_Task`.
type RegisterProviderRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProviderSpec BaseSmsProviderSpec `xml:"providerSpec,typeattr" json:"providerSpec"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `SmsProviderSpec`
+ // containing parameters needed to register the
+ // provider
+ ProviderSpec BaseSmsProviderSpec `xml:"providerSpec,typeattr" json:"providerSpec"`
}
func init() {
@@ -1818,19 +2541,47 @@ type RegisterProvider_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Indicates whether the provider has been marked as active for the given array
+// for the session context.
+//
+// SMS uses `StorageArray.priority` value to mark a provider
+// as active among the ones that are registered with SMS and manage this array.
+//
+// This structure may be used only with operations rendered under `/sms`.
type RelatedStorageArray struct {
types.DynamicData
- ArrayId string `xml:"arrayId" json:"arrayId"`
- Active bool `xml:"active" json:"active"`
- Manageable bool `xml:"manageable" json:"manageable"`
- Priority int32 `xml:"priority" json:"priority"`
+ // `StorageArray.uuid` of StorageArray
+ ArrayId string `xml:"arrayId" json:"arrayId"`
+ // This field indicates whether the provider is currently serving data for the StorageArray
+ Active bool `xml:"active" json:"active"`
+ // Manageability status of StorageArray on VASA provider, if true it is manageable.
+ Manageable bool `xml:"manageable" json:"manageable"`
+ // Deprecated as of SMS API 6.0, replaced by `VasaProviderInfo.priority`.
+ //
+ // `StorageArray.priority` of StorageArray
+ // For VASA 1.0 providers, this field is set to -1.
+ Priority int32 `xml:"priority" json:"priority"`
}
func init() {
types.Add("sms:RelatedStorageArray", reflect.TypeOf((*RelatedStorageArray)(nil)).Elem())
}
+// Identifier of the replication target device.
+//
+// For Virtual Volumes, this could be the same as a Virtual Volume
+// Id, for VMDK's this could be an FCD uuid, or some other ID
+// made up by the replicator. This identifier is opaque to vSphere and
+// hence does not have any distinguishing type. This can be used
+// to identify the replica without the accompanying source device id
+// (though there are no such uses in the current API).
+//
+// Since this an opaque type, the recovered device id at
+// `RecoveredTargetGroupMemberInfo.recoveredDeviceId`
+// should be filled in even if the values are the same.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicaId struct {
types.DynamicData
@@ -1841,44 +2592,87 @@ func init() {
types.Add("sms:ReplicaId", reflect.TypeOf((*ReplicaId)(nil)).Elem())
}
+// Summarizes the collection of replicas in one time interval.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicaIntervalQueryResult struct {
types.DynamicData
+ // Beginning of interval (inclusive).
FromDate time.Time `xml:"fromDate" json:"fromDate"`
- ToDate time.Time `xml:"toDate" json:"toDate"`
- Number int32 `xml:"number" json:"number"`
+ // End of interval (exclusive).
+ ToDate time.Time `xml:"toDate" json:"toDate"`
+ // Number of Point in Time replicas available for recovery.
+ //
+ // TODO: Do we want to have also ask for number of 'special'
+ // PiTs e.g. those that are consistent?
+ Number int32 `xml:"number" json:"number"`
}
func init() {
types.Add("sms:ReplicaIntervalQueryResult", reflect.TypeOf((*ReplicaIntervalQueryResult)(nil)).Elem())
}
+// Defines the parameters for a Point In Time replica (PiT) query.
+//
+// vSphere will not set all the three fields.
+//
+// In other words, the following combinations of fields are allowed:
+// All the three fields are omitted.
+// `ReplicaQueryIntervalParam.fromDate` and `ReplicaQueryIntervalParam.toDate` are set.
+// `ReplicaQueryIntervalParam.fromDate` and `ReplicaQueryIntervalParam.number` are set.
+// `ReplicaQueryIntervalParam.toDate` and `ReplicaQueryIntervalParam.number` are set.
+//
+// When all the fields are omitted, VASA provider should return
+// `QueryPointInTimeReplicaSummaryResult`.
+// But, returned result can be either `QueryPointInTimeReplicaSuccessResult`
+// or `QueryPointInTimeReplicaSummaryResult` based on value i.e true or false
+// respectively for field `QueryPointInTimeReplicaParam.preferDetails`.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicaQueryIntervalParam struct {
types.DynamicData
+ // Return all PiTs including and later than fromDate
.
FromDate *time.Time `xml:"fromDate" json:"fromDate,omitempty"`
- ToDate *time.Time `xml:"toDate" json:"toDate,omitempty"`
- Number int32 `xml:"number,omitempty" json:"number,omitempty"`
+ // Return all PiTs earlier than toDate
.
+ ToDate *time.Time `xml:"toDate" json:"toDate,omitempty"`
+ // Return information for only number
entries.
+ Number int32 `xml:"number,omitempty" json:"number,omitempty"`
}
func init() {
types.Add("sms:ReplicaQueryIntervalParam", reflect.TypeOf((*ReplicaQueryIntervalParam)(nil)).Elem())
}
+// Describes one Replication Group's data.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicationGroupData struct {
types.DynamicData
+ // Replication group to failover.
GroupId types.ReplicationGroupId `xml:"groupId" json:"groupId"`
- PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
+ // The PIT that should be used for (test)Failover.
+ //
+ // Use the latest if not specified.
+ PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
}
func init() {
types.Add("sms:ReplicationGroupData", reflect.TypeOf((*ReplicationGroupData)(nil)).Elem())
}
+// This spec contains information needed for `SmsStorageManager.QueryReplicationGroupInfo`
+// API to filter the result.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicationGroupFilter struct {
types.DynamicData
+ // Query for the given replication groups from their associated providers.
+ //
+ // The groupId cannot be null or empty.
GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
}
@@ -1886,20 +2680,33 @@ func init() {
types.Add("sms:ReplicationGroupFilter", reflect.TypeOf((*ReplicationGroupFilter)(nil)).Elem())
}
+// Information about each replication target.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReplicationTargetInfo struct {
types.DynamicData
- TargetGroupId types.ReplicationGroupId `xml:"targetGroupId" json:"targetGroupId"`
- ReplicationAgreementDescription string `xml:"replicationAgreementDescription,omitempty" json:"replicationAgreementDescription,omitempty"`
+ // Id of the target replication group (including the fault domain ID).
+ TargetGroupId types.ReplicationGroupId `xml:"targetGroupId" json:"targetGroupId"`
+ // Description of the replication agreement.
+ //
+ // This could be used to describe the characteristics of the replication
+ // relationship between the source and the target (e.g. RPO, Replication
+ // Mode, and other such properties). It is expected that VASA provider
+ // will localize the string before sending to vSphere.
+ ReplicationAgreementDescription string `xml:"replicationAgreementDescription,omitempty" json:"replicationAgreementDescription,omitempty"`
}
func init() {
types.Add("sms:ReplicationTargetInfo", reflect.TypeOf((*ReplicationTargetInfo)(nil)).Elem())
}
+// The parameters of `VasaProvider.ReverseReplicateGroup_Task`.
type ReverseReplicateGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of replication groups (currently in
+ // `ReplicationState#FAILEDOVER` state) that need to be reversed.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
}
func init() {
@@ -1916,9 +2723,23 @@ type ReverseReplicateGroup_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Represents the result of a successful reverse replication action.
+//
+// The newly
+// established replication relation might have a different source group ID and
+// different set of target group IDs. This means that the replication topology
+// will need to be discovered again by the DR orchestration programs (SRM/CAM).
+// However, we assume that after the reverse replication, the new source fault
+// domain id remains the same as the old (i.e. before failover) fault domain id.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ReverseReplicationSuccessResult struct {
GroupOperationResult
+ // The replication group ID of the newly created source group.
+ //
+ // FaultDomainId
+ // must remain the same.
NewGroupId types.DeviceGroupId `xml:"newGroupId" json:"newGroupId"`
}
@@ -1926,6 +2747,11 @@ func init() {
types.Add("sms:ReverseReplicationSuccessResult", reflect.TypeOf((*ReverseReplicationSuccessResult)(nil)).Elem())
}
+// This exception is thrown if the storage management service
+// has not yet been initialized successfully and therefore is
+// not ready to process requests.
+//
+// This structure may be used only with operations rendered under `/sms`.
type ServiceNotInitialized struct {
types.RuntimeFault
}
@@ -1940,6 +2766,9 @@ func init() {
types.Add("sms:ServiceNotInitializedFault", reflect.TypeOf((*ServiceNotInitializedFault)(nil)).Elem())
}
+// This data object type describes system information.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsAboutInfo struct {
types.DynamicData
@@ -1955,6 +2784,10 @@ func init() {
types.Add("sms:SmsAboutInfo", reflect.TypeOf((*SmsAboutInfo)(nil)).Elem())
}
+// Thrown when login fails due to token not provided or token could not be
+// validated.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsInvalidLogin struct {
types.MethodFault
}
@@ -1969,23 +2802,38 @@ func init() {
types.Add("sms:SmsInvalidLoginFault", reflect.TypeOf((*SmsInvalidLoginFault)(nil)).Elem())
}
+// Information about Storage Monitoring Service (SMS)
+// providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsProviderInfo struct {
types.DynamicData
- Uid string `xml:"uid" json:"uid"`
- Name string `xml:"name" json:"name"`
+ // Unique identifier
+ Uid string `xml:"uid" json:"uid"`
+ // Name
+ Name string `xml:"name" json:"name"`
+ // Description of the provider
Description string `xml:"description,omitempty" json:"description,omitempty"`
- Version string `xml:"version,omitempty" json:"version,omitempty"`
+ // Version of the provider
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
}
func init() {
types.Add("sms:SmsProviderInfo", reflect.TypeOf((*SmsProviderInfo)(nil)).Elem())
}
+// Specification for Storage Monitoring Service (SMS)
+// providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsProviderSpec struct {
types.DynamicData
- Name string `xml:"name" json:"name"`
+ // Name
+ // The maximum length of the name is 275 characters.
+ Name string `xml:"name" json:"name"`
+ // Description of the provider
Description string `xml:"description,omitempty" json:"description,omitempty"`
}
@@ -1993,9 +2841,11 @@ func init() {
types.Add("sms:SmsProviderSpec", reflect.TypeOf((*SmsProviderSpec)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.SmsRefreshCACertificatesAndCRLs_Task`.
type SmsRefreshCACertificatesAndCRLsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProviderId []string `xml:"providerId,omitempty" json:"providerId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `SmsProviderInfo.uid` for providers
+ ProviderId []string `xml:"providerId,omitempty" json:"providerId,omitempty"`
}
func init() {
@@ -2012,6 +2862,9 @@ type SmsRefreshCACertificatesAndCRLs_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Base class for all Replication faults.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsReplicationFault struct {
types.MethodFault
}
@@ -2026,9 +2879,17 @@ func init() {
types.Add("sms:SmsReplicationFaultFault", reflect.TypeOf((*SmsReplicationFaultFault)(nil)).Elem())
}
+// A ResourceInUse fault indicating that some error has occurred because
+// some resources are in use.
+//
+// Information about the devices that are in
+// use may be supplied.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsResourceInUse struct {
types.ResourceInUse
+ // The list of device Ids that are in use.
DeviceIds []BaseDeviceId `xml:"deviceIds,omitempty,typeattr" json:"deviceIds,omitempty"`
}
@@ -2042,42 +2903,95 @@ func init() {
types.Add("sms:SmsResourceInUseFault", reflect.TypeOf((*SmsResourceInUseFault)(nil)).Elem())
}
+// This data object type contains all information about a task.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SmsTaskInfo struct {
types.DynamicData
- Key string `xml:"key" json:"key"`
- Task types.ManagedObjectReference `xml:"task" json:"task"`
- Object *types.ManagedObjectReference `xml:"object,omitempty" json:"object,omitempty"`
- Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
- Result types.AnyType `xml:"result,omitempty,typeattr" json:"result,omitempty"`
- StartTime *time.Time `xml:"startTime" json:"startTime,omitempty"`
- CompletionTime *time.Time `xml:"completionTime" json:"completionTime,omitempty"`
- State string `xml:"state" json:"state"`
- Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
+ // The unique key for the task.
+ Key string `xml:"key" json:"key"`
+ // The managed object that represents this task.
+ //
+ // Refers instance of `SmsTask`.
+ Task types.ManagedObjectReference `xml:"task" json:"task"`
+ // Managed Object to which the operation applies.
+ Object *types.ManagedObjectReference `xml:"object,omitempty" json:"object,omitempty"`
+ // If the task state is "error", then this property contains the fault code.
+ Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // If the task state is "success", then this property may be used
+ // to hold a return value.
+ Result types.AnyType `xml:"result,omitempty,typeattr" json:"result,omitempty"`
+ // Time stamp when the task started running.
+ StartTime *time.Time `xml:"startTime" json:"startTime,omitempty"`
+ // Time stamp when the task was completed (whether success or failure).
+ CompletionTime *time.Time `xml:"completionTime" json:"completionTime,omitempty"`
+ // Runtime status of the task.
+ //
+ // Possible values are `SmsTaskState_enum`
+ State string `xml:"state" json:"state"`
+ // If the task state is "running", then this property contains a
+ // progress measurement, expressed as percentage completed, from 0 to 100.
+ //
+ // If this property is not set, then the command does not report progress.
+ Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
}
func init() {
types.Add("sms:SmsTaskInfo", reflect.TypeOf((*SmsTaskInfo)(nil)).Elem())
}
+// Replication group details on the source.
+//
+// We do not assume the same
+// Replication Group id on all the sites. This is returned as answer to
+// queryReplicationGroup.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SourceGroupInfo struct {
GroupInfo
- Name string `xml:"name,omitempty" json:"name,omitempty"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
- State string `xml:"state" json:"state"`
- Replica []ReplicationTargetInfo `xml:"replica,omitempty" json:"replica,omitempty"`
- MemberInfo []SourceGroupMemberInfo `xml:"memberInfo,omitempty" json:"memberInfo,omitempty"`
+ // Name of the replication group, may be edited after creating the
+ // Replication Group, not unique.
+ //
+ // May be a localized string. Some vendors may
+ // choose to use name as the group id, to support this, vSphere will not
+ // allow the name to be modified - even if vSphere creates/manages the
+ // Replication Group.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // Description the Replication Group, may be edited after creating the
+ // Replication Group.
+ //
+ // May be a localized string.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // State of the replication group on the source.
+ State string `xml:"state" json:"state"`
+ // Information about the target Replication Groups.
+ Replica []ReplicationTargetInfo `xml:"replica,omitempty" json:"replica,omitempty"`
+ // Information about the member virtual volumes and their replicas.
+ MemberInfo []SourceGroupMemberInfo `xml:"memberInfo,omitempty" json:"memberInfo,omitempty"`
}
func init() {
types.Add("sms:SourceGroupInfo", reflect.TypeOf((*SourceGroupInfo)(nil)).Elem())
}
+// Represents a member virtual volume of a replication group on the source end
+// of the replication arrow.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SourceGroupMemberInfo struct {
types.DynamicData
- DeviceId BaseDeviceId `xml:"deviceId,typeattr" json:"deviceId"`
+ // Identifier of the source device.
+ //
+ // May be a Virtual Volume, a Virtual Disk or a Virtual Machine
+ DeviceId BaseDeviceId `xml:"deviceId,typeattr" json:"deviceId"`
+ // Target devices, key'ed by the fault domain id.
+ //
+ // TODO: It is not clear if we
+ // really need this information, since the target side query can return the
+ // target - source relation information.
TargetId []TargetDeviceId `xml:"targetId,omitempty" json:"targetId,omitempty"`
}
@@ -2085,45 +2999,107 @@ func init() {
types.Add("sms:SourceGroupMemberInfo", reflect.TypeOf((*SourceGroupMemberInfo)(nil)).Elem())
}
+// This data object represents the storage alarm.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageAlarm struct {
types.DynamicData
- AlarmId int64 `xml:"alarmId" json:"alarmId"`
- AlarmType string `xml:"alarmType" json:"alarmType"`
- ContainerId string `xml:"containerId,omitempty" json:"containerId,omitempty"`
- ObjectId string `xml:"objectId,omitempty" json:"objectId,omitempty"`
- ObjectType string `xml:"objectType" json:"objectType"`
- Status string `xml:"status" json:"status"`
- AlarmTimeStamp time.Time `xml:"alarmTimeStamp" json:"alarmTimeStamp"`
- MessageId string `xml:"messageId" json:"messageId"`
- ParameterList []NameValuePair `xml:"parameterList,omitempty" json:"parameterList,omitempty"`
- AlarmObject types.AnyType `xml:"alarmObject,omitempty,typeattr" json:"alarmObject,omitempty"`
+ // Monotonically increasing sequence number which
+ // VP will maintain.
+ AlarmId int64 `xml:"alarmId" json:"alarmId"`
+ // The type of Alarm.
+ //
+ // Must be one of the string values from
+ // `AlarmType_enum`
+ // Note that for VMODL VP implemenation this field must be populated with one
+ // of the values from `vasa.data.notification.AlarmType`
+ AlarmType string `xml:"alarmType" json:"alarmType"`
+ // Container identifier
+ ContainerId string `xml:"containerId,omitempty" json:"containerId,omitempty"`
+ // The unique identifier of the object impacted by the Alarm.
+ //
+ // From VASA version 3 onwards, a non-null `StorageAlarm.alarmObject`
+ // will override this member.
+ // This field is made optional from VASA3. Either this or
+ // `StorageAlarm.alarmObject` must be set.
+ ObjectId string `xml:"objectId,omitempty" json:"objectId,omitempty"`
+ // The type of object impacted by the Alarm.
+ //
+ // Must be one of the string values
+ // from `SmsEntityType_enum`
+ // Note that for VMODL VP implemenation this field must be populated with one
+ // of the values from `vasa.data.notification.EntityType`
+ ObjectType string `xml:"objectType" json:"objectType"`
+ // Current status of the object.
+ //
+ // Must be one of the string values from
+ // `SmsAlarmStatus_enum`
+ Status string `xml:"status" json:"status"`
+ // Time-stamp when the alarm occurred in VP context
+ AlarmTimeStamp time.Time `xml:"alarmTimeStamp" json:"alarmTimeStamp"`
+ // Pre-defined message for system-defined event
+ MessageId string `xml:"messageId" json:"messageId"`
+ // List of parameters (name/value) to be passed as input for message
+ ParameterList []NameValuePair `xml:"parameterList,omitempty" json:"parameterList,omitempty"`
+ // The ID of the object on which the alarm is raised; this is an object,
+ // since ID's may not always be `String`s.
+ //
+ // vSphere will first use
+ // `StorageAlarm.alarmObject` if set, and if not uses `StorageAlarm.objectId`.
+ AlarmObject types.AnyType `xml:"alarmObject,omitempty,typeattr" json:"alarmObject,omitempty"`
}
func init() {
types.Add("sms:StorageAlarm", reflect.TypeOf((*StorageAlarm)(nil)).Elem())
}
+// This data object represents the storage array.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageArray struct {
types.DynamicData
- Name string `xml:"name" json:"name"`
- Uuid string `xml:"uuid" json:"uuid"`
- VendorId string `xml:"vendorId" json:"vendorId"`
- ModelId string `xml:"modelId" json:"modelId"`
- Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty"`
- AlternateName []string `xml:"alternateName,omitempty" json:"alternateName,omitempty"`
- SupportedBlockInterface []string `xml:"supportedBlockInterface,omitempty" json:"supportedBlockInterface,omitempty"`
- SupportedFileSystemInterface []string `xml:"supportedFileSystemInterface,omitempty" json:"supportedFileSystemInterface,omitempty"`
- SupportedProfile []string `xml:"supportedProfile,omitempty" json:"supportedProfile,omitempty"`
- Priority int32 `xml:"priority,omitempty" json:"priority,omitempty"`
- DiscoverySvc []types.VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvc,omitempty" json:"discoverySvc,omitempty"`
+ // Name
+ Name string `xml:"name" json:"name"`
+ // Unique identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // Storage array Vendor Id
+ VendorId string `xml:"vendorId" json:"vendorId"`
+ // Model Id
+ ModelId string `xml:"modelId" json:"modelId"`
+ // Storage array firmware
+ Firmware string `xml:"firmware,omitempty" json:"firmware,omitempty"`
+ // List of alternate storage array names
+ AlternateName []string `xml:"alternateName,omitempty" json:"alternateName,omitempty"`
+ // Supported block-device interfaces
+ SupportedBlockInterface []string `xml:"supportedBlockInterface,omitempty" json:"supportedBlockInterface,omitempty"`
+ // Supported file-system interfaces
+ SupportedFileSystemInterface []string `xml:"supportedFileSystemInterface,omitempty" json:"supportedFileSystemInterface,omitempty"`
+ // List of supported profiles
+ SupportedProfile []string `xml:"supportedProfile,omitempty" json:"supportedProfile,omitempty"`
+ // Deprecated as of SMS API 6.0, replaced by `VasaProviderInfo.priority`.
+ //
+ // Priority level of the provider for the given array within the session context.
+ //
+ // SMS will use this value to pick a provider among the ones that are registered
+ // with SMS and manage this array. Once the provider is chosen, SMS will communicate
+ // with it to get the data related to this array.
+ // Valid range: 0 to 255.
+ Priority int32 `xml:"priority,omitempty" json:"priority,omitempty"`
+ // Required for NVMe-oF arrays and optional otherwise.
+ //
+ // Transport information to address the array's discovery service.
+ DiscoverySvc []types.VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvc,omitempty" json:"discoverySvc,omitempty"`
}
func init() {
types.Add("sms:StorageArray", reflect.TypeOf((*StorageArray)(nil)).Elem())
}
+// This data object represents the storage capability.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageCapability struct {
types.DynamicData
@@ -2136,32 +3112,54 @@ func init() {
types.Add("sms:StorageCapability", reflect.TypeOf((*StorageCapability)(nil)).Elem())
}
+// This data object represents the storage container.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageContainer struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
- Name string `xml:"name" json:"name"`
- MaxVvolSizeInMB int64 `xml:"maxVvolSizeInMB" json:"maxVvolSizeInMB"`
- ProviderId []string `xml:"providerId" json:"providerId"`
- ArrayId []string `xml:"arrayId" json:"arrayId"`
- VvolContainerType string `xml:"vvolContainerType,omitempty" json:"vvolContainerType,omitempty"`
+ // Unique identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // Name of the container
+ Name string `xml:"name" json:"name"`
+ // Maximum allowed capacity of the Virtual Volume in MBs
+ MaxVvolSizeInMB int64 `xml:"maxVvolSizeInMB" json:"maxVvolSizeInMB"`
+ // `SmsProviderInfo.uid` for providers that reports the storage container.
+ ProviderId []string `xml:"providerId" json:"providerId"`
+ ArrayId []string `xml:"arrayId" json:"arrayId"`
+ // Represents type of VVOL container, the supported values are listed in
+ // `StorageContainerVvolContainerTypeEnum_enum`.
+ //
+ // If the storage array is not capable of supporting mixed PEs for a storage container,
+ // the VVOL VASA provider sets this property to the supported endpoint type
+ VvolContainerType string `xml:"vvolContainerType,omitempty" json:"vvolContainerType,omitempty"`
}
func init() {
types.Add("sms:StorageContainer", reflect.TypeOf((*StorageContainer)(nil)).Elem())
}
+// This data object represents information about storage containers and related providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageContainerResult struct {
types.DynamicData
- StorageContainer []StorageContainer `xml:"storageContainer,omitempty" json:"storageContainer,omitempty"`
- ProviderInfo []BaseSmsProviderInfo `xml:"providerInfo,omitempty,typeattr" json:"providerInfo,omitempty"`
+ // `StorageContainer` objects
+ StorageContainer []StorageContainer `xml:"storageContainer,omitempty" json:"storageContainer,omitempty"`
+ // `SmsProviderInfo` corresponding to providers that
+ // report these storage containers
+ ProviderInfo []BaseSmsProviderInfo `xml:"providerInfo,omitempty,typeattr" json:"providerInfo,omitempty"`
}
func init() {
types.Add("sms:StorageContainerResult", reflect.TypeOf((*StorageContainerResult)(nil)).Elem())
}
+// This data object represents the specification to query
+// storage containers retrieved from VASA providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageContainerSpec struct {
types.DynamicData
@@ -2172,58 +3170,92 @@ func init() {
types.Add("sms:StorageContainerSpec", reflect.TypeOf((*StorageContainerSpec)(nil)).Elem())
}
+// This data object represents the storage file-system.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageFileSystem struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
+ // Unique identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // Information about the file system
Info []StorageFileSystemInfo `xml:"info" json:"info"`
NativeSnapshotSupported bool `xml:"nativeSnapshotSupported" json:"nativeSnapshotSupported"`
ThinProvisioningStatus string `xml:"thinProvisioningStatus" json:"thinProvisioningStatus"`
Type string `xml:"type" json:"type"`
Version string `xml:"version" json:"version"`
- BackingConfig *BackingConfig `xml:"backingConfig,omitempty" json:"backingConfig,omitempty"`
+ // Backing config information
+ BackingConfig *BackingConfig `xml:"backingConfig,omitempty" json:"backingConfig,omitempty"`
}
func init() {
types.Add("sms:StorageFileSystem", reflect.TypeOf((*StorageFileSystem)(nil)).Elem())
}
+// This data object represents information about the storage
+// file-system.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageFileSystemInfo struct {
types.DynamicData
+ // Server Name
FileServerName string `xml:"fileServerName" json:"fileServerName"`
+ // File Path
FileSystemPath string `xml:"fileSystemPath" json:"fileSystemPath"`
- IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
+ // IP address
+ IpAddress string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
}
func init() {
types.Add("sms:StorageFileSystemInfo", reflect.TypeOf((*StorageFileSystemInfo)(nil)).Elem())
}
+// This data object represents the storage lun.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageLun struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
- VSphereLunIdentifier string `xml:"vSphereLunIdentifier" json:"vSphereLunIdentifier"`
- VendorDisplayName string `xml:"vendorDisplayName" json:"vendorDisplayName"`
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
- UsedSpaceInMB int64 `xml:"usedSpaceInMB" json:"usedSpaceInMB"`
- LunThinProvisioned bool `xml:"lunThinProvisioned" json:"lunThinProvisioned"`
- AlternateIdentifier []string `xml:"alternateIdentifier,omitempty" json:"alternateIdentifier,omitempty"`
- DrsManagementPermitted bool `xml:"drsManagementPermitted" json:"drsManagementPermitted"`
- ThinProvisioningStatus string `xml:"thinProvisioningStatus" json:"thinProvisioningStatus"`
- BackingConfig *BackingConfig `xml:"backingConfig,omitempty" json:"backingConfig,omitempty"`
+ // Unique Indentfier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // Identifer reported by vSphere(ESX) for this LUN
+ VSphereLunIdentifier string `xml:"vSphereLunIdentifier" json:"vSphereLunIdentifier"`
+ // Display Name which appears in storage array management
+ // console
+ VendorDisplayName string `xml:"vendorDisplayName" json:"vendorDisplayName"`
+ // Capacity In MB
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
+ // Used space in MB for a thin provisioned LUN
+ UsedSpaceInMB int64 `xml:"usedSpaceInMB" json:"usedSpaceInMB"`
+ // Indicates whether the LUN is thin provisioned
+ LunThinProvisioned bool `xml:"lunThinProvisioned" json:"lunThinProvisioned"`
+ // Alternate identifiers associated with the LUN
+ AlternateIdentifier []string `xml:"alternateIdentifier,omitempty" json:"alternateIdentifier,omitempty"`
+ // Indicates whether Storage DRS is permitted to manage
+ // performance between this LUN and other LUNs from the same
+ // array.
+ DrsManagementPermitted bool `xml:"drsManagementPermitted" json:"drsManagementPermitted"`
+ ThinProvisioningStatus string `xml:"thinProvisioningStatus" json:"thinProvisioningStatus"`
+ // Backing config information
+ BackingConfig *BackingConfig `xml:"backingConfig,omitempty" json:"backingConfig,omitempty"`
}
func init() {
types.Add("sms:StorageLun", reflect.TypeOf((*StorageLun)(nil)).Elem())
}
+// This data object represents the storage port.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StoragePort struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
- Type string `xml:"type" json:"type"`
+ // Unique identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // Storage Port Type
+ Type string `xml:"type" json:"type"`
+ // Other identifiers which can help identify storage port
AlternateName []string `xml:"alternateName,omitempty" json:"alternateName,omitempty"`
}
@@ -2231,10 +3263,15 @@ func init() {
types.Add("sms:StoragePort", reflect.TypeOf((*StoragePort)(nil)).Elem())
}
+// This data object represents the storage processor.
+//
+// This structure may be used only with operations rendered under `/sms`.
type StorageProcessor struct {
types.DynamicData
- Uuid string `xml:"uuid" json:"uuid"`
+ // Unique Identifier
+ Uuid string `xml:"uuid" json:"uuid"`
+ // List of alternate identifiers
AlternateIdentifer []string `xml:"alternateIdentifer,omitempty" json:"alternateIdentifer,omitempty"`
}
@@ -2242,17 +3279,27 @@ func init() {
types.Add("sms:StorageProcessor", reflect.TypeOf((*StorageProcessor)(nil)).Elem())
}
+// Mapping between the supported vendorID and corresponding
+// modelID
+//
+// This structure may be used only with operations rendered under `/sms`.
type SupportedVendorModelMapping struct {
types.DynamicData
+ // SCSI Vendor ID
VendorId string `xml:"vendorId,omitempty" json:"vendorId,omitempty"`
- ModelId string `xml:"modelId,omitempty" json:"modelId,omitempty"`
+ // SCSI Model ID
+ ModelId string `xml:"modelId,omitempty" json:"modelId,omitempty"`
}
func init() {
types.Add("sms:SupportedVendorModelMapping", reflect.TypeOf((*SupportedVendorModelMapping)(nil)).Elem())
}
+// This exception is thrown if a sync operation is invoked
+// while another sync invocation is in progress.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SyncInProgress struct {
ProviderSyncFailed
}
@@ -2267,9 +3314,15 @@ func init() {
types.Add("sms:SyncInProgressFault", reflect.TypeOf((*SyncInProgressFault)(nil)).Elem())
}
+// Throw if an synchronization is ongoing.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SyncOngoing struct {
SmsReplicationFault
+ // Task identifier of the ongoing sync (@see sms.TaskInfo#key).
+ //
+ // Refers instance of `SmsTask`.
Task types.ManagedObjectReference `xml:"task" json:"task"`
}
@@ -2283,22 +3336,37 @@ func init() {
types.Add("sms:SyncOngoingFault", reflect.TypeOf((*SyncOngoingFault)(nil)).Elem())
}
+// The parameters of `VasaProvider.SyncReplicationGroup_Task`.
type SyncReplicationGroupRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
- PitName string `xml:"pitName" json:"pitName"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // List of replication group IDs.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ // Localized name for the point-in-time snapshot created.
+ PitName string `xml:"pitName" json:"pitName"`
}
func init() {
types.Add("sms:SyncReplicationGroupRequestType", reflect.TypeOf((*SyncReplicationGroupRequestType)(nil)).Elem())
}
+// Result object for a replication group that was successfully synchronized.
+//
+// This structure may be used only with operations rendered under `/sms`.
type SyncReplicationGroupSuccessResult struct {
GroupOperationResult
- TimeStamp time.Time `xml:"timeStamp" json:"timeStamp"`
- PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
- PitName string `xml:"pitName,omitempty" json:"pitName,omitempty"`
+ // Creation time of the PIT
+ TimeStamp time.Time `xml:"timeStamp" json:"timeStamp"`
+ // PIT id.
+ //
+ // If the VASA provider does not support PIT, this can be
+ // left unset.
+ //
+ // A PIT created as a result of the syncReplicationGroup
+ // may or may not have the same retention policy as other PITs. A VASA provider
+ // can choose to delete such a PIT after a successful testFailoverStop
+ PitId *PointInTimeReplicaId `xml:"pitId,omitempty" json:"pitId,omitempty"`
+ PitName string `xml:"pitName,omitempty" json:"pitName,omitempty"`
}
func init() {
@@ -2315,35 +3383,84 @@ type SyncReplicationGroup_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Represents a replication target device, since the replication group id can
+// be the same in all the domains, this is keyed by the fault domain id.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TargetDeviceId struct {
types.DynamicData
+ // ID of the fault domain.
DomainId types.FaultDomainId `xml:"domainId" json:"domainId"`
- DeviceId ReplicaId `xml:"deviceId" json:"deviceId"`
+ // ID of the target device.
+ DeviceId ReplicaId `xml:"deviceId" json:"deviceId"`
}
func init() {
types.Add("sms:TargetDeviceId", reflect.TypeOf((*TargetDeviceId)(nil)).Elem())
}
+// Information about the replication target group.
+//
+// This is returned as answer
+// to queryReplicationGroup before failover or testFailoverStart.
+//
+// This does not have to include the
+// snapshot objects in the ReplicationGroup, however, see also
+// `RecoveredTargetGroupMemberInfo`.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TargetGroupInfo struct {
GroupInfo
- SourceInfo TargetToSourceInfo `xml:"sourceInfo" json:"sourceInfo"`
- State string `xml:"state" json:"state"`
- Devices []BaseTargetGroupMemberInfo `xml:"devices,omitempty,typeattr" json:"devices,omitempty"`
- IsPromoteCapable *bool `xml:"isPromoteCapable" json:"isPromoteCapable,omitempty"`
+ // Replication source information.
+ SourceInfo TargetToSourceInfo `xml:"sourceInfo" json:"sourceInfo"`
+ // Replication state of the group on the replication target.
+ State string `xml:"state" json:"state"`
+ // Member device information.
+ //
+ // When the ReplicationGroup is either in `FAILEDOVER`
+ // or `INTEST`, this
+ // should be `RecoveredTargetGroupMemberInfo`.
+ // Otherwise, this should be `TargetGroupMemberInfo`
+ Devices []BaseTargetGroupMemberInfo `xml:"devices,omitempty,typeattr" json:"devices,omitempty"`
+ // Whether the VASA provider is capable of executing
+ // `promoteReplicationGroup(ReplicationGroupId[])` for this
+ // ReplicationGroup.
+ //
+ // False if not set. Note that this setting is per
+ // ReplicationGroup per Target domain.
+ IsPromoteCapable *bool `xml:"isPromoteCapable" json:"isPromoteCapable,omitempty"`
+ // Name of Replication Group.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
}
func init() {
types.Add("sms:TargetGroupInfo", reflect.TypeOf((*TargetGroupInfo)(nil)).Elem())
}
+// Information about member virtual volumes in a ReplicationGroup
+// on the target when the state is `ReplicationStateEnum#TARGET`.
+//
+// This need not include information about all the snapshots in
+// the ReplicationGroup.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TargetGroupMemberInfo struct {
types.DynamicData
- ReplicaId ReplicaId `xml:"replicaId" json:"replicaId"`
- SourceId BaseDeviceId `xml:"sourceId,typeattr" json:"sourceId"`
+ // Identifier of the replica device.
+ ReplicaId ReplicaId `xml:"replicaId" json:"replicaId"`
+ // Source device, since the device id can be the same in all the domains,
+ // this needs to supplemented with the domain id to identify the device.
+ SourceId BaseDeviceId `xml:"sourceId,typeattr" json:"sourceId"`
+ // Datastore of the target device.
+ //
+ // This may be used by CAM/SRM
+ // to notify the administrators to setup access paths for the hosts
+ // to access the recovered devices.
+ //
+ // Refers instance of `Datastore`.
TargetDatastore types.ManagedObjectReference `xml:"targetDatastore" json:"targetDatastore"`
}
@@ -2351,17 +3468,30 @@ func init() {
types.Add("sms:TargetGroupMemberInfo", reflect.TypeOf((*TargetGroupMemberInfo)(nil)).Elem())
}
+// Information about each replication target.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TargetToSourceInfo struct {
types.DynamicData
- SourceGroupId types.ReplicationGroupId `xml:"sourceGroupId" json:"sourceGroupId"`
- ReplicationAgreementDescription string `xml:"replicationAgreementDescription,omitempty" json:"replicationAgreementDescription,omitempty"`
+ // Id of the source CG id (including the fault domain ID).
+ SourceGroupId types.ReplicationGroupId `xml:"sourceGroupId" json:"sourceGroupId"`
+ // Description of the replication agreement.
+ //
+ // This could be used to describe the characteristics of the replication
+ // relationship between the source and the target (e.g. RPO, Replication
+ // Mode, and other such properties). It is expected that VASA provider
+ // will localize the string before sending to vSphere.
+ ReplicationAgreementDescription string `xml:"replicationAgreementDescription,omitempty" json:"replicationAgreementDescription,omitempty"`
}
func init() {
types.Add("sms:TargetToSourceInfo", reflect.TypeOf((*TargetToSourceInfo)(nil)).Elem())
}
+// Input to testFailover method.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TestFailoverParam struct {
FailoverParam
}
@@ -2370,9 +3500,11 @@ func init() {
types.Add("sms:TestFailoverParam", reflect.TypeOf((*TestFailoverParam)(nil)).Elem())
}
+// The parameters of `VasaProvider.TestFailoverReplicationGroupStart_Task`.
type TestFailoverReplicationGroupStartRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- TestFailoverParam TestFailoverParam `xml:"testFailoverParam" json:"testFailoverParam"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Settings for the failover.
+ TestFailoverParam TestFailoverParam `xml:"testFailoverParam" json:"testFailoverParam"`
}
func init() {
@@ -2389,10 +3521,16 @@ type TestFailoverReplicationGroupStart_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VasaProvider.TestFailoverReplicationGroupStop_Task`.
type TestFailoverReplicationGroupStopRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
- Force bool `xml:"force" json:"force"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Array of replication groups that need to stop test.
+ GroupId []types.ReplicationGroupId `xml:"groupId,omitempty" json:"groupId,omitempty"`
+ // \- if true, VP should force-unbind all Virtual Volumes
+ // and move the RG from INTEST to TARGET state. If false, VP will report all the
+ // Virtual Volumes which need to be cleaned up before a failover operation
+ // can be triggered. The default value will be false.
+ Force bool `xml:"force" json:"force"`
}
func init() {
@@ -2409,9 +3547,18 @@ type TestFailoverReplicationGroupStop_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// This exception is thrown if the request exceeds the maximum number of
+// elements in batch that the VASA Provider can support for the specific API.
+//
+// This structure may be used only with operations rendered under `/sms`.
type TooMany struct {
types.MethodFault
+ // Maximum number of elements in batch that the VASA Provider can support
+ // for the specific API.
+ //
+ // If the value is not specified (zero) or invalid
+ // (negative), client will assume the default value is 1.
MaxBatchSize int64 `xml:"maxBatchSize,omitempty" json:"maxBatchSize,omitempty"`
}
@@ -2425,9 +3572,12 @@ func init() {
types.Add("sms:TooManyFault", reflect.TypeOf((*TooManyFault)(nil)).Elem())
}
+// The parameters of `SmsStorageManager.UnregisterProvider_Task`.
type UnregisterProviderRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- ProviderId string `xml:"providerId" json:"providerId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // `SmsProviderInfo.uid` for
+ // the provider
+ ProviderId string `xml:"providerId" json:"providerId"`
}
func init() {
@@ -2444,6 +3594,16 @@ type UnregisterProvider_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Identity of a virtual volume for policy API purposes.
+//
+// For the sake of
+// brevity, let us use VVolId. This works because the class is defined as a part
+// of the policy package.
+//
+// WSDL names do not have this feature, but WSDL names are usually prefixed with
+// the package name any way.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VVolId struct {
DeviceId
@@ -2454,32 +3614,105 @@ func init() {
types.Add("sms:VVolId", reflect.TypeOf((*VVolId)(nil)).Elem())
}
+// Information about VASA (vStorage APIs for Storage Awareness) providers.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VasaProviderInfo struct {
SmsProviderInfo
- Url string `xml:"url" json:"url"`
- Certificate string `xml:"certificate,omitempty" json:"certificate,omitempty"`
- Status string `xml:"status,omitempty" json:"status,omitempty"`
- StatusFault *types.LocalizedMethodFault `xml:"statusFault,omitempty" json:"statusFault,omitempty"`
- VasaVersion string `xml:"vasaVersion,omitempty" json:"vasaVersion,omitempty"`
- Namespace string `xml:"namespace,omitempty" json:"namespace,omitempty"`
- LastSyncTime string `xml:"lastSyncTime,omitempty" json:"lastSyncTime,omitempty"`
- SupportedVendorModelMapping []SupportedVendorModelMapping `xml:"supportedVendorModelMapping,omitempty" json:"supportedVendorModelMapping,omitempty"`
- SupportedProfile []string `xml:"supportedProfile,omitempty" json:"supportedProfile,omitempty"`
- SupportedProviderProfile []string `xml:"supportedProviderProfile,omitempty" json:"supportedProviderProfile,omitempty"`
- RelatedStorageArray []RelatedStorageArray `xml:"relatedStorageArray,omitempty" json:"relatedStorageArray,omitempty"`
- ProviderId string `xml:"providerId,omitempty" json:"providerId,omitempty"`
- CertificateExpiryDate string `xml:"certificateExpiryDate,omitempty" json:"certificateExpiryDate,omitempty"`
- CertificateStatus string `xml:"certificateStatus,omitempty" json:"certificateStatus,omitempty"`
- ServiceLocation string `xml:"serviceLocation,omitempty" json:"serviceLocation,omitempty"`
- NeedsExplicitActivation *bool `xml:"needsExplicitActivation" json:"needsExplicitActivation,omitempty"`
- MaxBatchSize int64 `xml:"maxBatchSize,omitempty" json:"maxBatchSize,omitempty"`
- RetainVasaProviderCertificate *bool `xml:"retainVasaProviderCertificate" json:"retainVasaProviderCertificate,omitempty"`
- ArrayIndependentProvider *bool `xml:"arrayIndependentProvider" json:"arrayIndependentProvider,omitempty"`
- Type string `xml:"type,omitempty" json:"type,omitempty"`
- Category string `xml:"category,omitempty" json:"category,omitempty"`
- Priority int32 `xml:"priority,omitempty" json:"priority,omitempty"`
- FailoverGroupId string `xml:"failoverGroupId,omitempty" json:"failoverGroupId,omitempty"`
+ // Provider URL
+ Url string `xml:"url" json:"url"`
+ // Provider certificate
+ Certificate string `xml:"certificate,omitempty" json:"certificate,omitempty"`
+ // The operational state of VASA Provider.
+ Status string `xml:"status,omitempty" json:"status,omitempty"`
+ // A fault that describes the cause of the current operational status.
+ StatusFault *types.LocalizedMethodFault `xml:"statusFault,omitempty" json:"statusFault,omitempty"`
+ // Supported VASA(vStorage APIs for Storage Awareness) version
+ VasaVersion string `xml:"vasaVersion,omitempty" json:"vasaVersion,omitempty"`
+ // Namespace to categorize storage capabilities provided by
+ // arrays managed by the provider
+ Namespace string `xml:"namespace,omitempty" json:"namespace,omitempty"`
+ // Time stamp to indicate when last sync operation was completed
+ // successfully.
+ LastSyncTime string `xml:"lastSyncTime,omitempty" json:"lastSyncTime,omitempty"`
+ // List containing mapping between the supported vendorID and
+ // corresponding modelID
+ SupportedVendorModelMapping []SupportedVendorModelMapping `xml:"supportedVendorModelMapping,omitempty" json:"supportedVendorModelMapping,omitempty"`
+ // Deprecated as of SMS API 3.0, use `StorageArray.supportedProfile`.
+ //
+ // List of supported profiles
+ SupportedProfile []string `xml:"supportedProfile,omitempty" json:"supportedProfile,omitempty"`
+ // List of supported profiles at provider level.
+ //
+ // Must be one of the string
+ // values from \* `sms.provider.VasaProviderInfo#ProviderProfile`.
+ SupportedProviderProfile []string `xml:"supportedProviderProfile,omitempty" json:"supportedProviderProfile,omitempty"`
+ // List containing mapping between storage arrays reported by the provider
+ // and information such as whether the provider is considered active for them.
+ RelatedStorageArray []RelatedStorageArray `xml:"relatedStorageArray,omitempty" json:"relatedStorageArray,omitempty"`
+ // Provider identifier reported by the provider which is unique within
+ // the provider namespace.
+ ProviderId string `xml:"providerId,omitempty" json:"providerId,omitempty"`
+ // Provider certificate expiry date.
+ CertificateExpiryDate string `xml:"certificateExpiryDate,omitempty" json:"certificateExpiryDate,omitempty"`
+ // Provider certificate status
+ // This field holds values from `sms.Provider.VasaProviderInfo#CertificateStatus`
+ CertificateStatus string `xml:"certificateStatus,omitempty" json:"certificateStatus,omitempty"`
+ // Service location for the VASA endpoint that SMS is using
+ // to communicate with the provider.
+ ServiceLocation string `xml:"serviceLocation,omitempty" json:"serviceLocation,omitempty"`
+ // Indicates the type of deployment supported by the provider.
+ //
+ // If true, it is an active/passive deployment and the provider needs to be
+ // activated explicitly using activateProviderEx() VASA API.
+ // If false, it is an active/active deployment and provider does not need any
+ // explicit activation to respond to VASA calls.
+ NeedsExplicitActivation *bool `xml:"needsExplicitActivation" json:"needsExplicitActivation,omitempty"`
+ // Maximum number of elements in batch APIs that the VASA Provider can support.
+ //
+ // This value is common to all batch APIs supported by the provider. However,
+ // for each specific API, the provider may still throw or return `TooMany`
+ // fault in which a different value of maxBatchSize can be specified.
+ // If the value is not specified (zero) or invalid (negative), client will
+ // assume there's no common limit for the number of elements that can be
+ // handled in all batch APIs.
+ MaxBatchSize int64 `xml:"maxBatchSize,omitempty" json:"maxBatchSize,omitempty"`
+ // Indicate whether the provider wants to retain its certificate after bootstrapping.
+ //
+ // If true, SMS will not provision a VMCA signed certificate for the provider
+ // and all certificate life cycle management workflows are disabled for this provider certificate.
+ // If false, SMS will provision a VMCA signed certificate for the provider and
+ // all certificate life cycle management workflows are enabled for this provider certificate.
+ RetainVasaProviderCertificate *bool `xml:"retainVasaProviderCertificate" json:"retainVasaProviderCertificate,omitempty"`
+ // Indicates if this provider is independent of arrays.
+ //
+ // Default value for this flag is false, which means this provider supports
+ // arrays. Arrays will be queried for this provider during sync. If this flag
+ // is set to true, arrays will not be synced for this provider and array
+ // related API will not be invoked on this provider.
+ ArrayIndependentProvider *bool `xml:"arrayIndependentProvider" json:"arrayIndependentProvider,omitempty"`
+ // Type of this VASA provider.
+ //
+ // This field will be equal to one of the values of `sms.provider.VasaProviderInfo#Type`.
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
+ // This field indicates the category of the provider and will be equal to one of the values of
+ // `VpCategory_enum`.
+ Category string `xml:"category,omitempty" json:"category,omitempty"`
+ // Priority level of the provider within a VASA HA group.
+ //
+ // For a stand-alone
+ // provider which does not participate in VASA HA, this field will be ignored.
+ //
+ // The priority value is an integer with valid range from 0 to 255.
+ Priority int32 `xml:"priority,omitempty" json:"priority,omitempty"`
+ // Unique identifier of a VASA HA group.
+ //
+ // Providers should report this
+ // identifier to utilize HA feature supported by vSphere. Different providers
+ // reporting the same failoverGroupId
will be treated as an HA
+ // group. Failover/failback will be done within one group.
+ FailoverGroupId string `xml:"failoverGroupId,omitempty" json:"failoverGroupId,omitempty"`
}
func init() {
@@ -2540,12 +3773,22 @@ type VasaProviderRevokeCertificate_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// VASA(vStorage APIs for Storage Awareness) provider
+// specification
+//
+// This structure may be used only with operations rendered under `/sms`.
type VasaProviderSpec struct {
SmsProviderSpec
- Username string `xml:"username" json:"username"`
- Password string `xml:"password" json:"password"`
- Url string `xml:"url" json:"url"`
+ // Username
+ // The maximum length of the username is 255 characters.
+ Username string `xml:"username" json:"username"`
+ // Password
+ // The maximum length of the password is 255 characters.
+ Password string `xml:"password" json:"password"`
+ // URL
+ Url string `xml:"url" json:"url"`
+ // Certificate
Certificate string `xml:"certificate,omitempty" json:"certificate,omitempty"`
}
@@ -2553,6 +3796,7 @@ func init() {
types.Add("sms:VasaProviderSpec", reflect.TypeOf((*VasaProviderSpec)(nil)).Elem())
}
+// The parameters of `VasaProvider.VasaProviderSync_Task`.
type VasaProviderSyncRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
ArrayId string `xml:"arrayId,omitempty" json:"arrayId,omitempty"`
@@ -2572,9 +3816,16 @@ type VasaProviderSync_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// Represents a virtual disk with a UUID (aka FCD).
+//
+// Virtual Volume VASA providers can ignore this class.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VasaVirtualDiskId struct {
DeviceId
+ // See VIM documentation for more details on first class storage - which is
+ // new in 2016.
DiskId string `xml:"diskId" json:"diskId"`
}
@@ -2582,9 +3833,20 @@ func init() {
types.Add("sms:VasaVirtualDiskId", reflect.TypeOf((*VasaVirtualDiskId)(nil)).Elem())
}
+// Represents a virtual disk.
+//
+// Ideally a UUID, since we do not yet have an FCD,
+// let us use VM's UUID + diskKey.
+// Virtual Volume VASA providers can ignore this class.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualDiskKey struct {
DeviceId
+ // The vmInstanceUUID is unique to a VM.
+ //
+ // See
+ // http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.vm.ConfigInfo.html
VmInstanceUUID string `xml:"vmInstanceUUID" json:"vmInstanceUUID"`
DeviceKey int32 `xml:"deviceKey" json:"deviceKey"`
}
@@ -2593,11 +3855,18 @@ func init() {
types.Add("sms:VirtualDiskKey", reflect.TypeOf((*VirtualDiskKey)(nil)).Elem())
}
+// Identifies a VirtualDisk uniquely using the disk key, vCenter managed object id of the VM it
+// belongs to and the corresponding vCenter UUID.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualDiskMoId struct {
DeviceId
- VcUuid string `xml:"vcUuid,omitempty" json:"vcUuid,omitempty"`
- VmMoid string `xml:"vmMoid" json:"vmMoid"`
+ // The vCenter UUID - this is informational only, and may not always be set.
+ VcUuid string `xml:"vcUuid,omitempty" json:"vcUuid,omitempty"`
+ // The managed object id that corresponds to vCenter's ManagedObjectReference#key for this VM.
+ VmMoid string `xml:"vmMoid" json:"vmMoid"`
+ // The disk key that corresponds to the VirtualDevice#key in vCenter.
DiskKey string `xml:"diskKey" json:"diskKey"`
}
@@ -2605,11 +3874,24 @@ func init() {
types.Add("sms:VirtualDiskMoId", reflect.TypeOf((*VirtualDiskMoId)(nil)).Elem())
}
+// Identifies a virtual machine by its VMX file path.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualMachineFilePath struct {
VirtualMachineId
- VcUuid string `xml:"vcUuid,omitempty" json:"vcUuid,omitempty"`
- DsUrl string `xml:"dsUrl" json:"dsUrl"`
+ // The vCenter UUID - this is informational only,
+ // and may not always be set.
+ VcUuid string `xml:"vcUuid,omitempty" json:"vcUuid,omitempty"`
+ // Datastore URL, which is globally unique (name is not).
+ DsUrl string `xml:"dsUrl" json:"dsUrl"`
+ // Full path name from the URL onwards.
+ //
+ // When the vmxPath is returned after failover, the VMX file
+ // should be fixed up to contain correct target filenames for all replicated
+ // disks. For non-replicated disks, the target filenames can contain
+ // any arbitrary path. For better security, it is recommended to
+ // set these disks pointed to a random string (e.g. UUID).
VmxPath string `xml:"vmxPath" json:"vmxPath"`
}
@@ -2617,6 +3899,9 @@ func init() {
types.Add("sms:VirtualMachineFilePath", reflect.TypeOf((*VirtualMachineFilePath)(nil)).Elem())
}
+// Abstracts the identity of a virtual machine.
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualMachineId struct {
DeviceId
}
@@ -2625,10 +3910,16 @@ func init() {
types.Add("sms:VirtualMachineId", reflect.TypeOf((*VirtualMachineId)(nil)).Elem())
}
+// Identifies a VirtualMachine uniquely using its vCenter managed object id and the corresponding
+// vCenter UUID
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualMachineMoId struct {
VirtualMachineId
+ // The vCenter UUID - this is informational only, and may not always be set.
VcUuid string `xml:"vcUuid,omitempty" json:"vcUuid,omitempty"`
+ // The managed object id that corresponds to vCenter's ManagedObjectReference#key for this VM.
VmMoid string `xml:"vmMoid" json:"vmMoid"`
}
@@ -2636,9 +3927,16 @@ func init() {
types.Add("sms:VirtualMachineMoId", reflect.TypeOf((*VirtualMachineMoId)(nil)).Elem())
}
+// Identifies a virtual machine by its vmInstanceUUID
+//
+// This structure may be used only with operations rendered under `/sms`.
type VirtualMachineUUID struct {
VirtualMachineId
+ // The vmInstanceUUID is unique to a VM.
+ //
+ // See
+ // http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.vm.ConfigInfo.html
VmInstanceUUID string `xml:"vmInstanceUUID" json:"vmInstanceUUID"`
}
diff --git a/vim25/client.go b/vim25/client.go
index 812cfe5c6..610133095 100644
--- a/vim25/client.go
+++ b/vim25/client.go
@@ -32,7 +32,7 @@ import (
const (
Namespace = "vim25"
- Version = "8.0.1.0"
+ Version = "8.0.2.0"
Path = "/sdk"
)
diff --git a/vim25/methods/methods.go b/vim25/methods/methods.go
index d46161108..15b05f8a8 100644
--- a/vim25/methods/methods.go
+++ b/vim25/methods/methods.go
@@ -10183,6 +10183,26 @@ func QueryFaultToleranceCompatibilityEx(ctx context.Context, r soap.RoundTripper
return resBody.Res, nil
}
+type QueryFileLockInfoBody struct {
+ Req *types.QueryFileLockInfo `xml:"urn:vim25 QueryFileLockInfo,omitempty"`
+ Res *types.QueryFileLockInfoResponse `xml:"QueryFileLockInfoResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *QueryFileLockInfoBody) Fault() *soap.Fault { return b.Fault_ }
+
+func QueryFileLockInfo(ctx context.Context, r soap.RoundTripper, req *types.QueryFileLockInfo) (*types.QueryFileLockInfoResponse, error) {
+ var reqBody, resBody QueryFileLockInfoBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type QueryFilterEntitiesBody struct {
Req *types.QueryFilterEntities `xml:"urn:vim25 QueryFilterEntities,omitempty"`
Res *types.QueryFilterEntitiesResponse `xml:"QueryFilterEntitiesResponse,omitempty"`
@@ -13683,6 +13703,26 @@ func RenameVStorageObject(ctx context.Context, r soap.RoundTripper, req *types.R
return resBody.Res, nil
}
+type RenameVStorageObjectExBody struct {
+ Req *types.RenameVStorageObjectEx `xml:"urn:vim25 RenameVStorageObjectEx,omitempty"`
+ Res *types.RenameVStorageObjectExResponse `xml:"RenameVStorageObjectExResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RenameVStorageObjectExBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RenameVStorageObjectEx(ctx context.Context, r soap.RoundTripper, req *types.RenameVStorageObjectEx) (*types.RenameVStorageObjectExResponse, error) {
+ var reqBody, resBody RenameVStorageObjectExBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type Rename_TaskBody struct {
Req *types.Rename_Task `xml:"urn:vim25 Rename_Task,omitempty"`
Res *types.Rename_TaskResponse `xml:"Rename_TaskResponse,omitempty"`
@@ -14983,6 +15023,26 @@ func RevertToSnapshot_Task(ctx context.Context, r soap.RoundTripper, req *types.
return resBody.Res, nil
}
+type RevertVStorageObjectEx_TaskBody struct {
+ Req *types.RevertVStorageObjectEx_Task `xml:"urn:vim25 RevertVStorageObjectEx_Task,omitempty"`
+ Res *types.RevertVStorageObjectEx_TaskResponse `xml:"RevertVStorageObjectEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *RevertVStorageObjectEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func RevertVStorageObjectEx_Task(ctx context.Context, r soap.RoundTripper, req *types.RevertVStorageObjectEx_Task) (*types.RevertVStorageObjectEx_TaskResponse, error) {
+ var reqBody, resBody RevertVStorageObjectEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type RevertVStorageObject_TaskBody struct {
Req *types.RevertVStorageObject_Task `xml:"urn:vim25 RevertVStorageObject_Task,omitempty"`
Res *types.RevertVStorageObject_TaskResponse `xml:"RevertVStorageObject_TaskResponse,omitempty"`
@@ -15603,6 +15663,26 @@ func SetScreenResolution(ctx context.Context, r soap.RoundTripper, req *types.Se
return resBody.Res, nil
}
+type SetServiceAccountBody struct {
+ Req *types.SetServiceAccount `xml:"urn:vim25 SetServiceAccount,omitempty"`
+ Res *types.SetServiceAccountResponse `xml:"SetServiceAccountResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *SetServiceAccountBody) Fault() *soap.Fault { return b.Fault_ }
+
+func SetServiceAccount(ctx context.Context, r soap.RoundTripper, req *types.SetServiceAccount) (*types.SetServiceAccountResponse, error) {
+ var reqBody, resBody SetServiceAccountBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type SetTaskDescriptionBody struct {
Req *types.SetTaskDescription `xml:"urn:vim25 SetTaskDescription,omitempty"`
Res *types.SetTaskDescriptionResponse `xml:"SetTaskDescriptionResponse,omitempty"`
@@ -16943,26 +17023,6 @@ func UpdateGraphicsConfig(ctx context.Context, r soap.RoundTripper, req *types.U
return resBody.Res, nil
}
-type UpdateHostCustomizations_TaskBody struct {
- Req *types.UpdateHostCustomizations_Task `xml:"urn:vim25 UpdateHostCustomizations_Task,omitempty"`
- Res *types.UpdateHostCustomizations_TaskResponse `xml:"UpdateHostCustomizations_TaskResponse,omitempty"`
- Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
-}
-
-func (b *UpdateHostCustomizations_TaskBody) Fault() *soap.Fault { return b.Fault_ }
-
-func UpdateHostCustomizations_Task(ctx context.Context, r soap.RoundTripper, req *types.UpdateHostCustomizations_Task) (*types.UpdateHostCustomizations_TaskResponse, error) {
- var reqBody, resBody UpdateHostCustomizations_TaskBody
-
- reqBody.Req = req
-
- if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
- return nil, err
- }
-
- return resBody.Res, nil
-}
-
type UpdateHostImageAcceptanceLevelBody struct {
Req *types.UpdateHostImageAcceptanceLevel `xml:"urn:vim25 UpdateHostImageAcceptanceLevel,omitempty"`
Res *types.UpdateHostImageAcceptanceLevelResponse `xml:"UpdateHostImageAcceptanceLevelResponse,omitempty"`
@@ -18283,6 +18343,26 @@ func VCenterUpdateVStorageObjectMetadataEx_Task(ctx context.Context, r soap.Roun
return resBody.Res, nil
}
+type VStorageObjectCreateSnapshotEx_TaskBody struct {
+ Req *types.VStorageObjectCreateSnapshotEx_Task `xml:"urn:vim25 VStorageObjectCreateSnapshotEx_Task,omitempty"`
+ Res *types.VStorageObjectCreateSnapshotEx_TaskResponse `xml:"VStorageObjectCreateSnapshotEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *VStorageObjectCreateSnapshotEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func VStorageObjectCreateSnapshotEx_Task(ctx context.Context, r soap.RoundTripper, req *types.VStorageObjectCreateSnapshotEx_Task) (*types.VStorageObjectCreateSnapshotEx_TaskResponse, error) {
+ var reqBody, resBody VStorageObjectCreateSnapshotEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type VStorageObjectCreateSnapshot_TaskBody struct {
Req *types.VStorageObjectCreateSnapshot_Task `xml:"urn:vim25 VStorageObjectCreateSnapshot_Task,omitempty"`
Res *types.VStorageObjectCreateSnapshot_TaskResponse `xml:"VStorageObjectCreateSnapshot_TaskResponse,omitempty"`
@@ -18303,6 +18383,46 @@ func VStorageObjectCreateSnapshot_Task(ctx context.Context, r soap.RoundTripper,
return resBody.Res, nil
}
+type VStorageObjectDeleteSnapshotEx_TaskBody struct {
+ Req *types.VStorageObjectDeleteSnapshotEx_Task `xml:"urn:vim25 VStorageObjectDeleteSnapshotEx_Task,omitempty"`
+ Res *types.VStorageObjectDeleteSnapshotEx_TaskResponse `xml:"VStorageObjectDeleteSnapshotEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *VStorageObjectDeleteSnapshotEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func VStorageObjectDeleteSnapshotEx_Task(ctx context.Context, r soap.RoundTripper, req *types.VStorageObjectDeleteSnapshotEx_Task) (*types.VStorageObjectDeleteSnapshotEx_TaskResponse, error) {
+ var reqBody, resBody VStorageObjectDeleteSnapshotEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
+type VStorageObjectExtendDiskEx_TaskBody struct {
+ Req *types.VStorageObjectExtendDiskEx_Task `xml:"urn:vim25 VStorageObjectExtendDiskEx_Task,omitempty"`
+ Res *types.VStorageObjectExtendDiskEx_TaskResponse `xml:"VStorageObjectExtendDiskEx_TaskResponse,omitempty"`
+ Fault_ *soap.Fault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
+}
+
+func (b *VStorageObjectExtendDiskEx_TaskBody) Fault() *soap.Fault { return b.Fault_ }
+
+func VStorageObjectExtendDiskEx_Task(ctx context.Context, r soap.RoundTripper, req *types.VStorageObjectExtendDiskEx_Task) (*types.VStorageObjectExtendDiskEx_TaskResponse, error) {
+ var reqBody, resBody VStorageObjectExtendDiskEx_TaskBody
+
+ reqBody.Req = req
+
+ if err := r.RoundTrip(ctx, &reqBody, &resBody); err != nil {
+ return nil, err
+ }
+
+ return resBody.Res, nil
+}
+
type ValidateCredentialsInGuestBody struct {
Req *types.ValidateCredentialsInGuest `xml:"urn:vim25 ValidateCredentialsInGuest,omitempty"`
Res *types.ValidateCredentialsInGuestResponse `xml:"ValidateCredentialsInGuestResponse,omitempty"`
diff --git a/vim25/mo/mo.go b/vim25/mo/mo.go
index 245660372..36aee74d0 100644
--- a/vim25/mo/mo.go
+++ b/vim25/mo/mo.go
@@ -26,7 +26,7 @@ import (
type Alarm struct {
ExtensibleManagedObject
- Info types.AlarmInfo `mo:"info"`
+ Info types.AlarmInfo `json:"info"`
}
func init() {
@@ -36,8 +36,8 @@ func init() {
type AlarmManager struct {
Self types.ManagedObjectReference
- DefaultExpression []types.BaseAlarmExpression `mo:"defaultExpression"`
- Description types.AlarmDescription `mo:"description"`
+ DefaultExpression []types.BaseAlarmExpression `json:"defaultExpression"`
+ Description types.AlarmDescription `json:"description"`
}
func (m AlarmManager) Reference() types.ManagedObjectReference {
@@ -51,9 +51,9 @@ func init() {
type AuthorizationManager struct {
Self types.ManagedObjectReference
- PrivilegeList []types.AuthorizationPrivilege `mo:"privilegeList"`
- RoleList []types.AuthorizationRole `mo:"roleList"`
- Description types.AuthorizationDescription `mo:"description"`
+ PrivilegeList []types.AuthorizationPrivilege `json:"privilegeList"`
+ RoleList []types.AuthorizationRole `json:"roleList"`
+ Description types.AuthorizationDescription `json:"description"`
}
func (m AuthorizationManager) Reference() types.ManagedObjectReference {
@@ -79,13 +79,13 @@ func init() {
type ClusterComputeResource struct {
ComputeResource
- Configuration types.ClusterConfigInfo `mo:"configuration"`
- Recommendation []types.ClusterRecommendation `mo:"recommendation"`
- DrsRecommendation []types.ClusterDrsRecommendation `mo:"drsRecommendation"`
- HciConfig *types.ClusterComputeResourceHCIConfigInfo `mo:"hciConfig"`
- MigrationHistory []types.ClusterDrsMigration `mo:"migrationHistory"`
- ActionHistory []types.ClusterActionHistory `mo:"actionHistory"`
- DrsFault []types.ClusterDrsFaults `mo:"drsFault"`
+ Configuration types.ClusterConfigInfo `json:"configuration"`
+ Recommendation []types.ClusterRecommendation `json:"recommendation"`
+ DrsRecommendation []types.ClusterDrsRecommendation `json:"drsRecommendation"`
+ HciConfig *types.ClusterComputeResourceHCIConfigInfo `json:"hciConfig"`
+ MigrationHistory []types.ClusterDrsMigration `json:"migrationHistory"`
+ ActionHistory []types.ClusterActionHistory `json:"actionHistory"`
+ DrsFault []types.ClusterDrsFaults `json:"drsFault"`
}
func init() {
@@ -95,8 +95,8 @@ func init() {
type ClusterEVCManager struct {
ExtensibleManagedObject
- ManagedCluster types.ManagedObjectReference `mo:"managedCluster"`
- EvcState types.ClusterEVCManagerEVCState `mo:"evcState"`
+ ManagedCluster types.ManagedObjectReference `json:"managedCluster"`
+ EvcState types.ClusterEVCManagerEVCState `json:"evcState"`
}
func init() {
@@ -122,14 +122,14 @@ func init() {
type ComputeResource struct {
ManagedEntity
- ResourcePool *types.ManagedObjectReference `mo:"resourcePool"`
- Host []types.ManagedObjectReference `mo:"host"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- Summary types.BaseComputeResourceSummary `mo:"summary"`
- EnvironmentBrowser *types.ManagedObjectReference `mo:"environmentBrowser"`
- ConfigurationEx types.BaseComputeResourceConfigInfo `mo:"configurationEx"`
- LifecycleManaged *bool `mo:"lifecycleManaged"`
+ ResourcePool *types.ManagedObjectReference `json:"resourcePool"`
+ Host []types.ManagedObjectReference `json:"host"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Network []types.ManagedObjectReference `json:"network"`
+ Summary types.BaseComputeResourceSummary `json:"summary"`
+ EnvironmentBrowser *types.ManagedObjectReference `json:"environmentBrowser"`
+ ConfigurationEx types.BaseComputeResourceConfigInfo `json:"configurationEx"`
+ LifecycleManaged *bool `json:"lifecycleManaged"`
}
func (m *ComputeResource) Entity() *ManagedEntity {
@@ -143,9 +143,9 @@ func init() {
type ContainerView struct {
ManagedObjectView
- Container types.ManagedObjectReference `mo:"container"`
- Type []string `mo:"type"`
- Recursive bool `mo:"recursive"`
+ Container types.ManagedObjectReference `json:"container"`
+ Type []string `json:"type"`
+ Recursive bool `json:"recursive"`
}
func init() {
@@ -155,7 +155,7 @@ func init() {
type CryptoManager struct {
Self types.ManagedObjectReference
- Enabled bool `mo:"enabled"`
+ Enabled bool `json:"enabled"`
}
func (m CryptoManager) Reference() types.ManagedObjectReference {
@@ -185,7 +185,7 @@ func init() {
type CryptoManagerKmip struct {
CryptoManager
- KmipServers []types.KmipClusterInfo `mo:"kmipServers"`
+ KmipServers []types.KmipClusterInfo `json:"kmipServers"`
}
func init() {
@@ -195,7 +195,7 @@ func init() {
type CustomFieldsManager struct {
Self types.ManagedObjectReference
- Field []types.CustomFieldDef `mo:"field"`
+ Field []types.CustomFieldDef `json:"field"`
}
func (m CustomFieldsManager) Reference() types.ManagedObjectReference {
@@ -209,8 +209,8 @@ func init() {
type CustomizationSpecManager struct {
Self types.ManagedObjectReference
- Info []types.CustomizationSpecInfo `mo:"info"`
- EncryptionKey []byte `mo:"encryptionKey"`
+ Info []types.CustomizationSpecInfo `json:"info"`
+ EncryptionKey []byte `json:"encryptionKey"`
}
func (m CustomizationSpecManager) Reference() types.ManagedObjectReference {
@@ -224,13 +224,13 @@ func init() {
type Datacenter struct {
ManagedEntity
- VmFolder types.ManagedObjectReference `mo:"vmFolder"`
- HostFolder types.ManagedObjectReference `mo:"hostFolder"`
- DatastoreFolder types.ManagedObjectReference `mo:"datastoreFolder"`
- NetworkFolder types.ManagedObjectReference `mo:"networkFolder"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- Configuration types.DatacenterConfigInfo `mo:"configuration"`
+ VmFolder types.ManagedObjectReference `json:"vmFolder"`
+ HostFolder types.ManagedObjectReference `json:"hostFolder"`
+ DatastoreFolder types.ManagedObjectReference `json:"datastoreFolder"`
+ NetworkFolder types.ManagedObjectReference `json:"networkFolder"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Network []types.ManagedObjectReference `json:"network"`
+ Configuration types.DatacenterConfigInfo `json:"configuration"`
}
func (m *Datacenter) Entity() *ManagedEntity {
@@ -244,13 +244,13 @@ func init() {
type Datastore struct {
ManagedEntity
- Info types.BaseDatastoreInfo `mo:"info"`
- Summary types.DatastoreSummary `mo:"summary"`
- Host []types.DatastoreHostMount `mo:"host"`
- Vm []types.ManagedObjectReference `mo:"vm"`
- Browser types.ManagedObjectReference `mo:"browser"`
- Capability types.DatastoreCapability `mo:"capability"`
- IormConfiguration *types.StorageIORMInfo `mo:"iormConfiguration"`
+ Info types.BaseDatastoreInfo `json:"info"`
+ Summary types.DatastoreSummary `json:"summary"`
+ Host []types.DatastoreHostMount `json:"host"`
+ Vm []types.ManagedObjectReference `json:"vm"`
+ Browser types.ManagedObjectReference `json:"browser"`
+ Capability types.DatastoreCapability `json:"capability"`
+ IormConfiguration *types.StorageIORMInfo `json:"iormConfiguration"`
}
func (m *Datastore) Entity() *ManagedEntity {
@@ -288,9 +288,9 @@ func init() {
type DistributedVirtualPortgroup struct {
Network
- Key string `mo:"key"`
- Config types.DVPortgroupConfigInfo `mo:"config"`
- PortKeys []string `mo:"portKeys"`
+ Key string `json:"key"`
+ Config types.DVPortgroupConfigInfo `json:"config"`
+ PortKeys []string `json:"portKeys"`
}
func init() {
@@ -300,13 +300,13 @@ func init() {
type DistributedVirtualSwitch struct {
ManagedEntity
- Uuid string `mo:"uuid"`
- Capability types.DVSCapability `mo:"capability"`
- Summary types.DVSSummary `mo:"summary"`
- Config types.BaseDVSConfigInfo `mo:"config"`
- NetworkResourcePool []types.DVSNetworkResourcePool `mo:"networkResourcePool"`
- Portgroup []types.ManagedObjectReference `mo:"portgroup"`
- Runtime *types.DVSRuntimeInfo `mo:"runtime"`
+ Uuid string `json:"uuid"`
+ Capability types.DVSCapability `json:"capability"`
+ Summary types.DVSSummary `json:"summary"`
+ Config types.BaseDVSConfigInfo `json:"config"`
+ NetworkResourcePool []types.DVSNetworkResourcePool `json:"networkResourcePool"`
+ Portgroup []types.ManagedObjectReference `json:"portgroup"`
+ Runtime *types.DVSRuntimeInfo `json:"runtime"`
}
func (m *DistributedVirtualSwitch) Entity() *ManagedEntity {
@@ -332,7 +332,7 @@ func init() {
type EnvironmentBrowser struct {
Self types.ManagedObjectReference
- DatastoreBrowser *types.ManagedObjectReference `mo:"datastoreBrowser"`
+ DatastoreBrowser *types.ManagedObjectReference `json:"datastoreBrowser"`
}
func (m EnvironmentBrowser) Reference() types.ManagedObjectReference {
@@ -346,7 +346,7 @@ func init() {
type EventHistoryCollector struct {
HistoryCollector
- LatestPage []types.BaseEvent `mo:"latestPage"`
+ LatestPage []types.BaseEvent `json:"latestPage"`
}
func init() {
@@ -356,9 +356,9 @@ func init() {
type EventManager struct {
Self types.ManagedObjectReference
- Description types.EventDescription `mo:"description"`
- LatestEvent types.BaseEvent `mo:"latestEvent"`
- MaxCollector int32 `mo:"maxCollector"`
+ Description types.EventDescription `json:"description"`
+ LatestEvent types.BaseEvent `json:"latestEvent"`
+ MaxCollector int32 `json:"maxCollector"`
}
func (m EventManager) Reference() types.ManagedObjectReference {
@@ -372,8 +372,8 @@ func init() {
type ExtensibleManagedObject struct {
Self types.ManagedObjectReference
- Value []types.BaseCustomFieldValue `mo:"value"`
- AvailableField []types.CustomFieldDef `mo:"availableField"`
+ Value []types.BaseCustomFieldValue `json:"value"`
+ AvailableField []types.CustomFieldDef `json:"availableField"`
}
func (m ExtensibleManagedObject) Reference() types.ManagedObjectReference {
@@ -387,7 +387,7 @@ func init() {
type ExtensionManager struct {
Self types.ManagedObjectReference
- ExtensionList []types.Extension `mo:"extensionList"`
+ ExtensionList []types.Extension `json:"extensionList"`
}
func (m ExtensionManager) Reference() types.ManagedObjectReference {
@@ -401,7 +401,7 @@ func init() {
type FailoverClusterConfigurator struct {
Self types.ManagedObjectReference
- DisabledConfigureMethod []string `mo:"disabledConfigureMethod"`
+ DisabledConfigureMethod []string `json:"disabledConfigureMethod"`
}
func (m FailoverClusterConfigurator) Reference() types.ManagedObjectReference {
@@ -415,7 +415,7 @@ func init() {
type FailoverClusterManager struct {
Self types.ManagedObjectReference
- DisabledClusterMethod []string `mo:"disabledClusterMethod"`
+ DisabledClusterMethod []string `json:"disabledClusterMethod"`
}
func (m FailoverClusterManager) Reference() types.ManagedObjectReference {
@@ -441,9 +441,9 @@ func init() {
type Folder struct {
ManagedEntity
- ChildType []string `mo:"childType"`
- ChildEntity []types.ManagedObjectReference `mo:"childEntity"`
- Namespace *string `mo:"namespace"`
+ ChildType []string `json:"childType"`
+ ChildEntity []types.ManagedObjectReference `json:"childEntity"`
+ Namespace *string `json:"namespace"`
}
func (m *Folder) Entity() *ManagedEntity {
@@ -493,11 +493,11 @@ func init() {
type GuestOperationsManager struct {
Self types.ManagedObjectReference
- AuthManager *types.ManagedObjectReference `mo:"authManager"`
- FileManager *types.ManagedObjectReference `mo:"fileManager"`
- ProcessManager *types.ManagedObjectReference `mo:"processManager"`
- GuestWindowsRegistryManager *types.ManagedObjectReference `mo:"guestWindowsRegistryManager"`
- AliasManager *types.ManagedObjectReference `mo:"aliasManager"`
+ AuthManager *types.ManagedObjectReference `json:"authManager"`
+ FileManager *types.ManagedObjectReference `json:"fileManager"`
+ ProcessManager *types.ManagedObjectReference `json:"processManager"`
+ GuestWindowsRegistryManager *types.ManagedObjectReference `json:"guestWindowsRegistryManager"`
+ AliasManager *types.ManagedObjectReference `json:"aliasManager"`
}
func (m GuestOperationsManager) Reference() types.ManagedObjectReference {
@@ -547,7 +547,7 @@ func init() {
type HistoryCollector struct {
Self types.ManagedObjectReference
- Filter types.AnyType `mo:"filter"`
+ Filter types.AnyType `json:"filter"`
}
func (m HistoryCollector) Reference() types.ManagedObjectReference {
@@ -561,7 +561,7 @@ func init() {
type HostAccessManager struct {
Self types.ManagedObjectReference
- LockdownMode types.HostLockdownMode `mo:"lockdownMode"`
+ LockdownMode types.HostLockdownMode `json:"lockdownMode"`
}
func (m HostAccessManager) Reference() types.ManagedObjectReference {
@@ -583,8 +583,8 @@ func init() {
type HostAssignableHardwareManager struct {
Self types.ManagedObjectReference
- Binding []types.HostAssignableHardwareBinding `mo:"binding"`
- Config types.HostAssignableHardwareConfig `mo:"config"`
+ Binding []types.HostAssignableHardwareBinding `json:"binding"`
+ Config types.HostAssignableHardwareConfig `json:"config"`
}
func (m HostAssignableHardwareManager) Reference() types.ManagedObjectReference {
@@ -598,8 +598,8 @@ func init() {
type HostAuthenticationManager struct {
Self types.ManagedObjectReference
- Info types.HostAuthenticationManagerInfo `mo:"info"`
- SupportedStore []types.ManagedObjectReference `mo:"supportedStore"`
+ Info types.HostAuthenticationManagerInfo `json:"info"`
+ SupportedStore []types.ManagedObjectReference `json:"supportedStore"`
}
func (m HostAuthenticationManager) Reference() types.ManagedObjectReference {
@@ -613,7 +613,7 @@ func init() {
type HostAuthenticationStore struct {
Self types.ManagedObjectReference
- Info types.BaseHostAuthenticationStoreInfo `mo:"info"`
+ Info types.BaseHostAuthenticationStoreInfo `json:"info"`
}
func (m HostAuthenticationStore) Reference() types.ManagedObjectReference {
@@ -627,7 +627,7 @@ func init() {
type HostAutoStartManager struct {
Self types.ManagedObjectReference
- Config types.HostAutoStartManagerConfig `mo:"config"`
+ Config types.HostAutoStartManagerConfig `json:"config"`
}
func (m HostAutoStartManager) Reference() types.ManagedObjectReference {
@@ -653,7 +653,7 @@ func init() {
type HostCacheConfigurationManager struct {
Self types.ManagedObjectReference
- CacheConfigurationInfo []types.HostCacheConfigurationInfo `mo:"cacheConfigurationInfo"`
+ CacheConfigurationInfo []types.HostCacheConfigurationInfo `json:"cacheConfigurationInfo"`
}
func (m HostCacheConfigurationManager) Reference() types.ManagedObjectReference {
@@ -667,7 +667,7 @@ func init() {
type HostCertificateManager struct {
Self types.ManagedObjectReference
- CertificateInfo types.HostCertificateManagerCertificateInfo `mo:"certificateInfo"`
+ CertificateInfo types.HostCertificateManagerCertificateInfo `json:"certificateInfo"`
}
func (m HostCertificateManager) Reference() types.ManagedObjectReference {
@@ -681,7 +681,7 @@ func init() {
type HostCpuSchedulerSystem struct {
ExtensibleManagedObject
- HyperthreadInfo *types.HostHyperThreadScheduleInfo `mo:"hyperthreadInfo"`
+ HyperthreadInfo *types.HostHyperThreadScheduleInfo `json:"hyperthreadInfo"`
}
func init() {
@@ -691,8 +691,8 @@ func init() {
type HostDatastoreBrowser struct {
Self types.ManagedObjectReference
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- SupportedType []types.BaseFileQuery `mo:"supportedType"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ SupportedType []types.BaseFileQuery `json:"supportedType"`
}
func (m HostDatastoreBrowser) Reference() types.ManagedObjectReference {
@@ -706,8 +706,8 @@ func init() {
type HostDatastoreSystem struct {
Self types.ManagedObjectReference
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Capabilities types.HostDatastoreSystemCapabilities `mo:"capabilities"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Capabilities types.HostDatastoreSystemCapabilities `json:"capabilities"`
}
func (m HostDatastoreSystem) Reference() types.ManagedObjectReference {
@@ -721,7 +721,7 @@ func init() {
type HostDateTimeSystem struct {
Self types.ManagedObjectReference
- DateTimeInfo types.HostDateTimeInfo `mo:"dateTimeInfo"`
+ DateTimeInfo types.HostDateTimeInfo `json:"dateTimeInfo"`
}
func (m HostDateTimeSystem) Reference() types.ManagedObjectReference {
@@ -735,7 +735,7 @@ func init() {
type HostDiagnosticSystem struct {
Self types.ManagedObjectReference
- ActivePartition *types.HostDiagnosticPartition `mo:"activePartition"`
+ ActivePartition *types.HostDiagnosticPartition `json:"activePartition"`
}
func (m HostDiagnosticSystem) Reference() types.ManagedObjectReference {
@@ -757,7 +757,7 @@ func init() {
type HostEsxAgentHostManager struct {
Self types.ManagedObjectReference
- ConfigInfo types.HostEsxAgentHostManagerConfigInfo `mo:"configInfo"`
+ ConfigInfo types.HostEsxAgentHostManagerConfigInfo `json:"configInfo"`
}
func (m HostEsxAgentHostManager) Reference() types.ManagedObjectReference {
@@ -771,7 +771,7 @@ func init() {
type HostFirewallSystem struct {
ExtensibleManagedObject
- FirewallInfo *types.HostFirewallInfo `mo:"firewallInfo"`
+ FirewallInfo *types.HostFirewallInfo `json:"firewallInfo"`
}
func init() {
@@ -793,10 +793,10 @@ func init() {
type HostGraphicsManager struct {
ExtensibleManagedObject
- GraphicsInfo []types.HostGraphicsInfo `mo:"graphicsInfo"`
- GraphicsConfig *types.HostGraphicsConfig `mo:"graphicsConfig"`
- SharedPassthruGpuTypes []string `mo:"sharedPassthruGpuTypes"`
- SharedGpuCapabilities []types.HostSharedGpuCapabilities `mo:"sharedGpuCapabilities"`
+ GraphicsInfo []types.HostGraphicsInfo `json:"graphicsInfo"`
+ GraphicsConfig *types.HostGraphicsConfig `json:"graphicsConfig"`
+ SharedPassthruGpuTypes []string `json:"sharedPassthruGpuTypes"`
+ SharedGpuCapabilities []types.HostSharedGpuCapabilities `json:"sharedGpuCapabilities"`
}
func init() {
@@ -806,7 +806,7 @@ func init() {
type HostHealthStatusSystem struct {
Self types.ManagedObjectReference
- Runtime types.HealthSystemRuntime `mo:"runtime"`
+ Runtime types.HealthSystemRuntime `json:"runtime"`
}
func (m HostHealthStatusSystem) Reference() types.ManagedObjectReference {
@@ -864,8 +864,8 @@ func init() {
type HostMemorySystem struct {
ExtensibleManagedObject
- ConsoleReservationInfo *types.ServiceConsoleReservationInfo `mo:"consoleReservationInfo"`
- VirtualMachineReservationInfo *types.VirtualMachineMemoryReservationInfo `mo:"virtualMachineReservationInfo"`
+ ConsoleReservationInfo *types.ServiceConsoleReservationInfo `json:"consoleReservationInfo"`
+ VirtualMachineReservationInfo *types.VirtualMachineMemoryReservationInfo `json:"virtualMachineReservationInfo"`
}
func init() {
@@ -875,13 +875,13 @@ func init() {
type HostNetworkSystem struct {
ExtensibleManagedObject
- Capabilities *types.HostNetCapabilities `mo:"capabilities"`
- NetworkInfo *types.HostNetworkInfo `mo:"networkInfo"`
- OffloadCapabilities *types.HostNetOffloadCapabilities `mo:"offloadCapabilities"`
- NetworkConfig *types.HostNetworkConfig `mo:"networkConfig"`
- DnsConfig types.BaseHostDnsConfig `mo:"dnsConfig"`
- IpRouteConfig types.BaseHostIpRouteConfig `mo:"ipRouteConfig"`
- ConsoleIpRouteConfig types.BaseHostIpRouteConfig `mo:"consoleIpRouteConfig"`
+ Capabilities *types.HostNetCapabilities `json:"capabilities"`
+ NetworkInfo *types.HostNetworkInfo `json:"networkInfo"`
+ OffloadCapabilities *types.HostNetOffloadCapabilities `json:"offloadCapabilities"`
+ NetworkConfig *types.HostNetworkConfig `json:"networkConfig"`
+ DnsConfig types.BaseHostDnsConfig `json:"dnsConfig"`
+ IpRouteConfig types.BaseHostIpRouteConfig `json:"ipRouteConfig"`
+ ConsoleIpRouteConfig types.BaseHostIpRouteConfig `json:"consoleIpRouteConfig"`
}
func init() {
@@ -891,7 +891,7 @@ func init() {
type HostNvdimmSystem struct {
Self types.ManagedObjectReference
- NvdimmSystemInfo types.NvdimmSystemInfo `mo:"nvdimmSystemInfo"`
+ NvdimmSystemInfo types.NvdimmSystemInfo `json:"nvdimmSystemInfo"`
}
func (m HostNvdimmSystem) Reference() types.ManagedObjectReference {
@@ -917,8 +917,8 @@ func init() {
type HostPciPassthruSystem struct {
ExtensibleManagedObject
- PciPassthruInfo []types.BaseHostPciPassthruInfo `mo:"pciPassthruInfo"`
- SriovDevicePoolInfo []types.BaseHostSriovDevicePoolInfo `mo:"sriovDevicePoolInfo"`
+ PciPassthruInfo []types.BaseHostPciPassthruInfo `json:"pciPassthruInfo"`
+ SriovDevicePoolInfo []types.BaseHostSriovDevicePoolInfo `json:"sriovDevicePoolInfo"`
}
func init() {
@@ -928,8 +928,8 @@ func init() {
type HostPowerSystem struct {
Self types.ManagedObjectReference
- Capability types.PowerSystemCapability `mo:"capability"`
- Info types.PowerSystemInfo `mo:"info"`
+ Capability types.PowerSystemCapability `json:"capability"`
+ Info types.PowerSystemInfo `json:"info"`
}
func (m HostPowerSystem) Reference() types.ManagedObjectReference {
@@ -943,10 +943,10 @@ func init() {
type HostProfile struct {
Profile
- ValidationState *string `mo:"validationState"`
- ValidationStateUpdateTime *time.Time `mo:"validationStateUpdateTime"`
- ValidationFailureInfo *types.HostProfileValidationFailureInfo `mo:"validationFailureInfo"`
- ReferenceHost *types.ManagedObjectReference `mo:"referenceHost"`
+ ValidationState *string `json:"validationState"`
+ ValidationStateUpdateTime *time.Time `json:"validationStateUpdateTime"`
+ ValidationFailureInfo *types.HostProfileValidationFailureInfo `json:"validationFailureInfo"`
+ ReferenceHost *types.ManagedObjectReference `json:"referenceHost"`
}
func init() {
@@ -964,7 +964,7 @@ func init() {
type HostServiceSystem struct {
ExtensibleManagedObject
- ServiceInfo types.HostServiceInfo `mo:"serviceInfo"`
+ ServiceInfo types.HostServiceInfo `json:"serviceInfo"`
}
func init() {
@@ -974,8 +974,8 @@ func init() {
type HostSnmpSystem struct {
Self types.ManagedObjectReference
- Configuration types.HostSnmpConfigSpec `mo:"configuration"`
- Limits types.HostSnmpSystemAgentLimits `mo:"limits"`
+ Configuration types.HostSnmpConfigSpec `json:"configuration"`
+ Limits types.HostSnmpSystemAgentLimits `json:"limits"`
}
func (m HostSnmpSystem) Reference() types.ManagedObjectReference {
@@ -1001,10 +1001,10 @@ func init() {
type HostStorageSystem struct {
ExtensibleManagedObject
- StorageDeviceInfo *types.HostStorageDeviceInfo `mo:"storageDeviceInfo"`
- FileSystemVolumeInfo types.HostFileSystemVolumeInfo `mo:"fileSystemVolumeInfo"`
- SystemFile []string `mo:"systemFile"`
- MultipathStateInfo *types.HostMultipathStateInfo `mo:"multipathStateInfo"`
+ StorageDeviceInfo *types.HostStorageDeviceInfo `json:"storageDeviceInfo"`
+ FileSystemVolumeInfo types.HostFileSystemVolumeInfo `json:"fileSystemVolumeInfo"`
+ SystemFile []string `json:"systemFile"`
+ MultipathStateInfo *types.HostMultipathStateInfo `json:"multipathStateInfo"`
}
func init() {
@@ -1014,25 +1014,25 @@ func init() {
type HostSystem struct {
ManagedEntity
- Runtime types.HostRuntimeInfo `mo:"runtime"`
- Summary types.HostListSummary `mo:"summary"`
- Hardware *types.HostHardwareInfo `mo:"hardware"`
- Capability *types.HostCapability `mo:"capability"`
- LicensableResource types.HostLicensableResourceInfo `mo:"licensableResource"`
- RemediationState *types.HostSystemRemediationState `mo:"remediationState"`
- PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `mo:"precheckRemediationResult"`
- RemediationResult *types.ApplyHostProfileConfigurationResult `mo:"remediationResult"`
- ComplianceCheckState *types.HostSystemComplianceCheckState `mo:"complianceCheckState"`
- ComplianceCheckResult *types.ComplianceResult `mo:"complianceCheckResult"`
- ConfigManager types.HostConfigManager `mo:"configManager"`
- Config *types.HostConfigInfo `mo:"config"`
- Vm []types.ManagedObjectReference `mo:"vm"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- DatastoreBrowser types.ManagedObjectReference `mo:"datastoreBrowser"`
- SystemResources *types.HostSystemResourceInfo `mo:"systemResources"`
- AnswerFileValidationState *types.AnswerFileStatusResult `mo:"answerFileValidationState"`
- AnswerFileValidationResult *types.AnswerFileStatusResult `mo:"answerFileValidationResult"`
+ Runtime types.HostRuntimeInfo `json:"runtime"`
+ Summary types.HostListSummary `json:"summary"`
+ Hardware *types.HostHardwareInfo `json:"hardware"`
+ Capability *types.HostCapability `json:"capability"`
+ LicensableResource types.HostLicensableResourceInfo `json:"licensableResource"`
+ RemediationState *types.HostSystemRemediationState `json:"remediationState"`
+ PrecheckRemediationResult *types.ApplyHostProfileConfigurationSpec `json:"precheckRemediationResult"`
+ RemediationResult *types.ApplyHostProfileConfigurationResult `json:"remediationResult"`
+ ComplianceCheckState *types.HostSystemComplianceCheckState `json:"complianceCheckState"`
+ ComplianceCheckResult *types.ComplianceResult `json:"complianceCheckResult"`
+ ConfigManager types.HostConfigManager `json:"configManager"`
+ Config *types.HostConfigInfo `json:"config"`
+ Vm []types.ManagedObjectReference `json:"vm"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Network []types.ManagedObjectReference `json:"network"`
+ DatastoreBrowser types.ManagedObjectReference `json:"datastoreBrowser"`
+ SystemResources *types.HostSystemResourceInfo `json:"systemResources"`
+ AnswerFileValidationState *types.AnswerFileStatusResult `json:"answerFileValidationState"`
+ AnswerFileValidationResult *types.AnswerFileStatusResult `json:"answerFileValidationResult"`
}
func (m *HostSystem) Entity() *ManagedEntity {
@@ -1046,7 +1046,7 @@ func init() {
type HostVFlashManager struct {
Self types.ManagedObjectReference
- VFlashConfigInfo *types.HostVFlashManagerVFlashConfigInfo `mo:"vFlashConfigInfo"`
+ VFlashConfigInfo *types.HostVFlashManagerVFlashConfigInfo `json:"vFlashConfigInfo"`
}
func (m HostVFlashManager) Reference() types.ManagedObjectReference {
@@ -1060,8 +1060,8 @@ func init() {
type HostVMotionSystem struct {
ExtensibleManagedObject
- NetConfig *types.HostVMotionNetConfig `mo:"netConfig"`
- IpConfig *types.HostIpConfig `mo:"ipConfig"`
+ NetConfig *types.HostVMotionNetConfig `json:"netConfig"`
+ IpConfig *types.HostIpConfig `json:"ipConfig"`
}
func init() {
@@ -1079,7 +1079,7 @@ func init() {
type HostVirtualNicManager struct {
ExtensibleManagedObject
- Info types.HostVirtualNicManagerInfo `mo:"info"`
+ Info types.HostVirtualNicManagerInfo `json:"info"`
}
func init() {
@@ -1101,7 +1101,7 @@ func init() {
type HostVsanSystem struct {
Self types.ManagedObjectReference
- Config types.VsanHostConfigInfo `mo:"config"`
+ Config types.VsanHostConfigInfo `json:"config"`
}
func (m HostVsanSystem) Reference() types.ManagedObjectReference {
@@ -1115,13 +1115,13 @@ func init() {
type HttpNfcLease struct {
Self types.ManagedObjectReference
- InitializeProgress int32 `mo:"initializeProgress"`
- TransferProgress int32 `mo:"transferProgress"`
- Mode string `mo:"mode"`
- Capabilities types.HttpNfcLeaseCapabilities `mo:"capabilities"`
- Info *types.HttpNfcLeaseInfo `mo:"info"`
- State types.HttpNfcLeaseState `mo:"state"`
- Error *types.LocalizedMethodFault `mo:"error"`
+ InitializeProgress int32 `json:"initializeProgress"`
+ TransferProgress int32 `json:"transferProgress"`
+ Mode string `json:"mode"`
+ Capabilities types.HttpNfcLeaseCapabilities `json:"capabilities"`
+ Info *types.HttpNfcLeaseInfo `json:"info"`
+ State types.HttpNfcLeaseState `json:"state"`
+ Error *types.LocalizedMethodFault `json:"error"`
}
func (m HttpNfcLease) Reference() types.ManagedObjectReference {
@@ -1191,14 +1191,14 @@ func init() {
type LicenseManager struct {
Self types.ManagedObjectReference
- Source types.BaseLicenseSource `mo:"source"`
- SourceAvailable bool `mo:"sourceAvailable"`
- Diagnostics *types.LicenseDiagnostics `mo:"diagnostics"`
- FeatureInfo []types.LicenseFeatureInfo `mo:"featureInfo"`
- LicensedEdition string `mo:"licensedEdition"`
- Licenses []types.LicenseManagerLicenseInfo `mo:"licenses"`
- LicenseAssignmentManager *types.ManagedObjectReference `mo:"licenseAssignmentManager"`
- Evaluation types.LicenseManagerEvaluationInfo `mo:"evaluation"`
+ Source types.BaseLicenseSource `json:"source"`
+ SourceAvailable bool `json:"sourceAvailable"`
+ Diagnostics *types.LicenseDiagnostics `json:"diagnostics"`
+ FeatureInfo []types.LicenseFeatureInfo `json:"featureInfo"`
+ LicensedEdition string `json:"licensedEdition"`
+ Licenses []types.LicenseManagerLicenseInfo `json:"licenses"`
+ LicenseAssignmentManager *types.ManagedObjectReference `json:"licenseAssignmentManager"`
+ Evaluation types.LicenseManagerEvaluationInfo `json:"evaluation"`
}
func (m LicenseManager) Reference() types.ManagedObjectReference {
@@ -1220,7 +1220,7 @@ func init() {
type LocalizationManager struct {
Self types.ManagedObjectReference
- Catalog []types.LocalizationManagerMessageCatalog `mo:"catalog"`
+ Catalog []types.LocalizationManagerMessageCatalog `json:"catalog"`
}
func (m LocalizationManager) Reference() types.ManagedObjectReference {
@@ -1234,20 +1234,20 @@ func init() {
type ManagedEntity struct {
ExtensibleManagedObject
- Parent *types.ManagedObjectReference `mo:"parent"`
- CustomValue []types.BaseCustomFieldValue `mo:"customValue"`
- OverallStatus types.ManagedEntityStatus `mo:"overallStatus"`
- ConfigStatus types.ManagedEntityStatus `mo:"configStatus"`
- ConfigIssue []types.BaseEvent `mo:"configIssue"`
- EffectiveRole []int32 `mo:"effectiveRole"`
- Permission []types.Permission `mo:"permission"`
- Name string `mo:"name"`
- DisabledMethod []string `mo:"disabledMethod"`
- RecentTask []types.ManagedObjectReference `mo:"recentTask"`
- DeclaredAlarmState []types.AlarmState `mo:"declaredAlarmState"`
- TriggeredAlarmState []types.AlarmState `mo:"triggeredAlarmState"`
- AlarmActionsEnabled *bool `mo:"alarmActionsEnabled"`
- Tag []types.Tag `mo:"tag"`
+ Parent *types.ManagedObjectReference `json:"parent"`
+ CustomValue []types.BaseCustomFieldValue `json:"customValue"`
+ OverallStatus types.ManagedEntityStatus `json:"overallStatus"`
+ ConfigStatus types.ManagedEntityStatus `json:"configStatus"`
+ ConfigIssue []types.BaseEvent `json:"configIssue"`
+ EffectiveRole []int32 `json:"effectiveRole"`
+ Permission []types.Permission `json:"permission"`
+ Name string `json:"name"`
+ DisabledMethod []string `json:"disabledMethod"`
+ RecentTask []types.ManagedObjectReference `json:"recentTask"`
+ DeclaredAlarmState []types.AlarmState `json:"declaredAlarmState"`
+ TriggeredAlarmState []types.AlarmState `json:"triggeredAlarmState"`
+ AlarmActionsEnabled *bool `json:"alarmActionsEnabled"`
+ Tag []types.Tag `json:"tag"`
}
func init() {
@@ -1257,7 +1257,7 @@ func init() {
type ManagedObjectView struct {
Self types.ManagedObjectReference
- View []types.ManagedObjectReference `mo:"view"`
+ View []types.ManagedObjectReference `json:"view"`
}
func (m ManagedObjectView) Reference() types.ManagedObjectReference {
@@ -1283,10 +1283,10 @@ func init() {
type Network struct {
ManagedEntity
- Summary types.BaseNetworkSummary `mo:"summary"`
- Host []types.ManagedObjectReference `mo:"host"`
- Vm []types.ManagedObjectReference `mo:"vm"`
- Name string `mo:"name"`
+ Summary types.BaseNetworkSummary `json:"summary"`
+ Host []types.ManagedObjectReference `json:"host"`
+ Vm []types.ManagedObjectReference `json:"vm"`
+ Name string `json:"name"`
}
func (m *Network) Entity() *ManagedEntity {
@@ -1300,8 +1300,8 @@ func init() {
type OpaqueNetwork struct {
Network
- Capability *types.OpaqueNetworkCapability `mo:"capability"`
- ExtraConfig []types.BaseOptionValue `mo:"extraConfig"`
+ Capability *types.OpaqueNetworkCapability `json:"capability"`
+ ExtraConfig []types.BaseOptionValue `json:"extraConfig"`
}
func init() {
@@ -1311,8 +1311,8 @@ func init() {
type OptionManager struct {
Self types.ManagedObjectReference
- SupportedOption []types.OptionDef `mo:"supportedOption"`
- Setting []types.BaseOptionValue `mo:"setting"`
+ SupportedOption []types.OptionDef `json:"supportedOption"`
+ Setting []types.BaseOptionValue `json:"setting"`
}
func (m OptionManager) Reference() types.ManagedObjectReference {
@@ -1338,8 +1338,8 @@ func init() {
type OvfManager struct {
Self types.ManagedObjectReference
- OvfImportOption []types.OvfOptionInfo `mo:"ovfImportOption"`
- OvfExportOption []types.OvfOptionInfo `mo:"ovfExportOption"`
+ OvfImportOption []types.OvfOptionInfo `json:"ovfImportOption"`
+ OvfExportOption []types.OvfOptionInfo `json:"ovfExportOption"`
}
func (m OvfManager) Reference() types.ManagedObjectReference {
@@ -1353,9 +1353,9 @@ func init() {
type PerformanceManager struct {
Self types.ManagedObjectReference
- Description types.PerformanceDescription `mo:"description"`
- HistoricalInterval []types.PerfInterval `mo:"historicalInterval"`
- PerfCounter []types.PerfCounterInfo `mo:"perfCounter"`
+ Description types.PerformanceDescription `json:"description"`
+ HistoricalInterval []types.PerfInterval `json:"historicalInterval"`
+ PerfCounter []types.PerfCounterInfo `json:"perfCounter"`
}
func (m PerformanceManager) Reference() types.ManagedObjectReference {
@@ -1369,13 +1369,13 @@ func init() {
type Profile struct {
Self types.ManagedObjectReference
- Config types.BaseProfileConfigInfo `mo:"config"`
- Description *types.ProfileDescription `mo:"description"`
- Name string `mo:"name"`
- CreatedTime time.Time `mo:"createdTime"`
- ModifiedTime time.Time `mo:"modifiedTime"`
- Entity []types.ManagedObjectReference `mo:"entity"`
- ComplianceStatus string `mo:"complianceStatus"`
+ Config types.BaseProfileConfigInfo `json:"config"`
+ Description *types.ProfileDescription `json:"description"`
+ Name string `json:"name"`
+ CreatedTime time.Time `json:"createdTime"`
+ ModifiedTime time.Time `json:"modifiedTime"`
+ Entity []types.ManagedObjectReference `json:"entity"`
+ ComplianceStatus string `json:"complianceStatus"`
}
func (m Profile) Reference() types.ManagedObjectReference {
@@ -1401,7 +1401,7 @@ func init() {
type ProfileManager struct {
Self types.ManagedObjectReference
- Profile []types.ManagedObjectReference `mo:"profile"`
+ Profile []types.ManagedObjectReference `json:"profile"`
}
func (m ProfileManager) Reference() types.ManagedObjectReference {
@@ -1415,7 +1415,7 @@ func init() {
type PropertyCollector struct {
Self types.ManagedObjectReference
- Filter []types.ManagedObjectReference `mo:"filter"`
+ Filter []types.ManagedObjectReference `json:"filter"`
}
func (m PropertyCollector) Reference() types.ManagedObjectReference {
@@ -1429,8 +1429,8 @@ func init() {
type PropertyFilter struct {
Self types.ManagedObjectReference
- Spec types.PropertyFilterSpec `mo:"spec"`
- PartialUpdates bool `mo:"partialUpdates"`
+ Spec types.PropertyFilterSpec `json:"spec"`
+ PartialUpdates bool `json:"partialUpdates"`
}
func (m PropertyFilter) Reference() types.ManagedObjectReference {
@@ -1456,14 +1456,14 @@ func init() {
type ResourcePool struct {
ManagedEntity
- Summary types.BaseResourcePoolSummary `mo:"summary"`
- Runtime types.ResourcePoolRuntimeInfo `mo:"runtime"`
- Owner types.ManagedObjectReference `mo:"owner"`
- ResourcePool []types.ManagedObjectReference `mo:"resourcePool"`
- Vm []types.ManagedObjectReference `mo:"vm"`
- Config types.ResourceConfigSpec `mo:"config"`
- Namespace *string `mo:"namespace"`
- ChildConfiguration []types.ResourceConfigSpec `mo:"childConfiguration"`
+ Summary types.BaseResourcePoolSummary `json:"summary"`
+ Runtime types.ResourcePoolRuntimeInfo `json:"runtime"`
+ Owner types.ManagedObjectReference `json:"owner"`
+ ResourcePool []types.ManagedObjectReference `json:"resourcePool"`
+ Vm []types.ManagedObjectReference `json:"vm"`
+ Config types.ResourceConfigSpec `json:"config"`
+ Namespace *string `json:"namespace"`
+ ChildConfiguration []types.ResourceConfigSpec `json:"childConfiguration"`
}
func (m *ResourcePool) Entity() *ManagedEntity {
@@ -1477,7 +1477,7 @@ func init() {
type ScheduledTask struct {
ExtensibleManagedObject
- Info types.ScheduledTaskInfo `mo:"info"`
+ Info types.ScheduledTaskInfo `json:"info"`
}
func init() {
@@ -1487,8 +1487,8 @@ func init() {
type ScheduledTaskManager struct {
Self types.ManagedObjectReference
- ScheduledTask []types.ManagedObjectReference `mo:"scheduledTask"`
- Description types.ScheduledTaskDescription `mo:"description"`
+ ScheduledTask []types.ManagedObjectReference `json:"scheduledTask"`
+ Description types.ScheduledTaskDescription `json:"description"`
}
func (m ScheduledTaskManager) Reference() types.ManagedObjectReference {
@@ -1514,9 +1514,9 @@ func init() {
type ServiceInstance struct {
Self types.ManagedObjectReference
- ServerClock time.Time `mo:"serverClock"`
- Capability types.Capability `mo:"capability"`
- Content types.ServiceContent `mo:"content"`
+ ServerClock time.Time `json:"serverClock"`
+ Capability types.Capability `json:"capability"`
+ Content types.ServiceContent `json:"content"`
}
func (m ServiceInstance) Reference() types.ManagedObjectReference {
@@ -1530,7 +1530,7 @@ func init() {
type ServiceManager struct {
Self types.ManagedObjectReference
- Service []types.ServiceManagerServiceInfo `mo:"service"`
+ Service []types.ServiceManagerServiceInfo `json:"service"`
}
func (m ServiceManager) Reference() types.ManagedObjectReference {
@@ -1544,12 +1544,12 @@ func init() {
type SessionManager struct {
Self types.ManagedObjectReference
- SessionList []types.UserSession `mo:"sessionList"`
- CurrentSession *types.UserSession `mo:"currentSession"`
- Message *string `mo:"message"`
- MessageLocaleList []string `mo:"messageLocaleList"`
- SupportedLocaleList []string `mo:"supportedLocaleList"`
- DefaultLocale string `mo:"defaultLocale"`
+ SessionList []types.UserSession `json:"sessionList"`
+ CurrentSession *types.UserSession `json:"currentSession"`
+ Message *string `json:"message"`
+ MessageLocaleList []string `json:"messageLocaleList"`
+ SupportedLocaleList []string `json:"supportedLocaleList"`
+ DefaultLocale string `json:"defaultLocale"`
}
func (m SessionManager) Reference() types.ManagedObjectReference {
@@ -1563,8 +1563,8 @@ func init() {
type SimpleCommand struct {
Self types.ManagedObjectReference
- EncodingType types.SimpleCommandEncoding `mo:"encodingType"`
- Entity types.ServiceManagerServiceInfo `mo:"entity"`
+ EncodingType types.SimpleCommandEncoding `json:"encodingType"`
+ Entity types.ServiceManagerServiceInfo `json:"entity"`
}
func (m SimpleCommand) Reference() types.ManagedObjectReference {
@@ -1590,8 +1590,8 @@ func init() {
type StoragePod struct {
Folder
- Summary *types.StoragePodSummary `mo:"summary"`
- PodStorageDrsEntry *types.PodStorageDrsEntry `mo:"podStorageDrsEntry"`
+ Summary *types.StoragePodSummary `json:"summary"`
+ PodStorageDrsEntry *types.PodStorageDrsEntry `json:"podStorageDrsEntry"`
}
func init() {
@@ -1625,7 +1625,7 @@ func init() {
type Task struct {
ExtensibleManagedObject
- Info types.TaskInfo `mo:"info"`
+ Info types.TaskInfo `json:"info"`
}
func init() {
@@ -1635,7 +1635,7 @@ func init() {
type TaskHistoryCollector struct {
HistoryCollector
- LatestPage []types.TaskInfo `mo:"latestPage"`
+ LatestPage []types.TaskInfo `json:"latestPage"`
}
func init() {
@@ -1645,9 +1645,9 @@ func init() {
type TaskManager struct {
Self types.ManagedObjectReference
- RecentTask []types.ManagedObjectReference `mo:"recentTask"`
- Description types.TaskDescription `mo:"description"`
- MaxCollector int32 `mo:"maxCollector"`
+ RecentTask []types.ManagedObjectReference `json:"recentTask"`
+ Description types.TaskDescription `json:"description"`
+ MaxCollector int32 `json:"maxCollector"`
}
func (m TaskManager) Reference() types.ManagedObjectReference {
@@ -1673,7 +1673,7 @@ func init() {
type UserDirectory struct {
Self types.ManagedObjectReference
- DomainList []string `mo:"domainList"`
+ DomainList []string `json:"domainList"`
}
func (m UserDirectory) Reference() types.ManagedObjectReference {
@@ -1719,7 +1719,7 @@ func init() {
type ViewManager struct {
Self types.ManagedObjectReference
- ViewList []types.ManagedObjectReference `mo:"viewList"`
+ ViewList []types.ManagedObjectReference `json:"viewList"`
}
func (m ViewManager) Reference() types.ManagedObjectReference {
@@ -1733,12 +1733,12 @@ func init() {
type VirtualApp struct {
ResourcePool
- ParentFolder *types.ManagedObjectReference `mo:"parentFolder"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- VAppConfig *types.VAppConfigInfo `mo:"vAppConfig"`
- ParentVApp *types.ManagedObjectReference `mo:"parentVApp"`
- ChildLink []types.VirtualAppLinkInfo `mo:"childLink"`
+ ParentFolder *types.ManagedObjectReference `json:"parentFolder"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Network []types.ManagedObjectReference `json:"network"`
+ VAppConfig *types.VAppConfigInfo `json:"vAppConfig"`
+ ParentVApp *types.ManagedObjectReference `json:"parentVApp"`
+ ChildLink []types.VirtualAppLinkInfo `json:"childLink"`
}
func init() {
@@ -1760,23 +1760,23 @@ func init() {
type VirtualMachine struct {
ManagedEntity
- Capability types.VirtualMachineCapability `mo:"capability"`
- Config *types.VirtualMachineConfigInfo `mo:"config"`
- Layout *types.VirtualMachineFileLayout `mo:"layout"`
- LayoutEx *types.VirtualMachineFileLayoutEx `mo:"layoutEx"`
- Storage *types.VirtualMachineStorageInfo `mo:"storage"`
- EnvironmentBrowser types.ManagedObjectReference `mo:"environmentBrowser"`
- ResourcePool *types.ManagedObjectReference `mo:"resourcePool"`
- ParentVApp *types.ManagedObjectReference `mo:"parentVApp"`
- ResourceConfig *types.ResourceConfigSpec `mo:"resourceConfig"`
- Runtime types.VirtualMachineRuntimeInfo `mo:"runtime"`
- Guest *types.GuestInfo `mo:"guest"`
- Summary types.VirtualMachineSummary `mo:"summary"`
- Datastore []types.ManagedObjectReference `mo:"datastore"`
- Network []types.ManagedObjectReference `mo:"network"`
- Snapshot *types.VirtualMachineSnapshotInfo `mo:"snapshot"`
- RootSnapshot []types.ManagedObjectReference `mo:"rootSnapshot"`
- GuestHeartbeatStatus types.ManagedEntityStatus `mo:"guestHeartbeatStatus"`
+ Capability types.VirtualMachineCapability `json:"capability"`
+ Config *types.VirtualMachineConfigInfo `json:"config"`
+ Layout *types.VirtualMachineFileLayout `json:"layout"`
+ LayoutEx *types.VirtualMachineFileLayoutEx `json:"layoutEx"`
+ Storage *types.VirtualMachineStorageInfo `json:"storage"`
+ EnvironmentBrowser types.ManagedObjectReference `json:"environmentBrowser"`
+ ResourcePool *types.ManagedObjectReference `json:"resourcePool"`
+ ParentVApp *types.ManagedObjectReference `json:"parentVApp"`
+ ResourceConfig *types.ResourceConfigSpec `json:"resourceConfig"`
+ Runtime types.VirtualMachineRuntimeInfo `json:"runtime"`
+ Guest *types.GuestInfo `json:"guest"`
+ Summary types.VirtualMachineSummary `json:"summary"`
+ Datastore []types.ManagedObjectReference `json:"datastore"`
+ Network []types.ManagedObjectReference `json:"network"`
+ Snapshot *types.VirtualMachineSnapshotInfo `json:"snapshot"`
+ RootSnapshot []types.ManagedObjectReference `json:"rootSnapshot"`
+ GuestHeartbeatStatus types.ManagedEntityStatus `json:"guestHeartbeatStatus"`
}
func (m *VirtualMachine) Entity() *ManagedEntity {
@@ -1826,9 +1826,9 @@ func init() {
type VirtualMachineSnapshot struct {
ExtensibleManagedObject
- Config types.VirtualMachineConfigInfo `mo:"config"`
- ChildSnapshot []types.ManagedObjectReference `mo:"childSnapshot"`
- Vm types.ManagedObjectReference `mo:"vm"`
+ Config types.VirtualMachineConfigInfo `json:"config"`
+ ChildSnapshot []types.ManagedObjectReference `json:"childSnapshot"`
+ Vm types.ManagedObjectReference `json:"vm"`
}
func init() {
diff --git a/vim25/mo/retrieve.go b/vim25/mo/retrieve.go
index e877da063..0ddf78eb9 100644
--- a/vim25/mo/retrieve.go
+++ b/vim25/mo/retrieve.go
@@ -77,7 +77,7 @@ func ApplyPropertyChange(obj Reference, changes []types.PropertyChange) {
for _, p := range changes {
rv, ok := t.props[p.Name]
if !ok {
- continue
+ panic(p.Name + " not found")
}
assignValue(v, rv, reflect.ValueOf(p.Val))
diff --git a/vim25/mo/type_info.go b/vim25/mo/type_info.go
index aeb7d4a79..3b1ccce2d 100644
--- a/vim25/mo/type_info.go
+++ b/vim25/mo/type_info.go
@@ -80,9 +80,12 @@ func buildName(fn string, f reflect.StructField) string {
fn += "."
}
- motag := f.Tag.Get("mo")
+ motag := f.Tag.Get("json")
if motag != "" {
- return fn + motag
+ tokens := strings.Split(motag, ",")
+ if tokens[0] != "" {
+ return fn + tokens[0]
+ }
}
xmltag := f.Tag.Get("xml")
diff --git a/vim25/types/enum.go b/vim25/types/enum.go
index 413f84e7e..c3ca1409c 100644
--- a/vim25/types/enum.go
+++ b/vim25/types/enum.go
@@ -78,6 +78,7 @@ const (
)
func init() {
+ t["ActionType"] = reflect.TypeOf((*ActionType)(nil)).Elem()
minAPIVersionForType["ActionType"] = "2.5"
minAPIVersionForEnumValue["ActionType"] = map[string]string{
"HostMaintenanceV1": "5.0",
@@ -86,7 +87,6 @@ func init() {
"PlacementV1": "6.0",
"HostInfraUpdateHaV1": "6.5",
}
- t["ActionType"] = reflect.TypeOf((*ActionType)(nil)).Elem()
}
// Types of affinities.
@@ -125,8 +125,8 @@ const (
)
func init() {
- minAPIVersionForType["AgentInstallFailedReason"] = "4.0"
t["AgentInstallFailedReason"] = reflect.TypeOf((*AgentInstallFailedReason)(nil)).Elem()
+ minAPIVersionForType["AgentInstallFailedReason"] = "4.0"
}
type AlarmFilterSpecAlarmTypeByEntity string
@@ -141,8 +141,8 @@ const (
)
func init() {
- minAPIVersionForType["AlarmFilterSpecAlarmTypeByEntity"] = "6.7"
t["AlarmFilterSpecAlarmTypeByEntity"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByEntity)(nil)).Elem()
+ minAPIVersionForType["AlarmFilterSpecAlarmTypeByEntity"] = "6.7"
}
// Alarm triggering type.
@@ -160,8 +160,8 @@ const (
)
func init() {
- minAPIVersionForType["AlarmFilterSpecAlarmTypeByTrigger"] = "6.7"
t["AlarmFilterSpecAlarmTypeByTrigger"] = reflect.TypeOf((*AlarmFilterSpecAlarmTypeByTrigger)(nil)).Elem()
+ minAPIVersionForType["AlarmFilterSpecAlarmTypeByTrigger"] = "6.7"
}
type AnswerFileValidationInfoStatus string
@@ -176,8 +176,8 @@ const (
)
func init() {
- minAPIVersionForType["AnswerFileValidationInfoStatus"] = "6.7"
t["AnswerFileValidationInfoStatus"] = reflect.TypeOf((*AnswerFileValidationInfoStatus)(nil)).Elem()
+ minAPIVersionForType["AnswerFileValidationInfoStatus"] = "6.7"
}
type ApplyHostProfileConfigurationResultStatus string
@@ -208,8 +208,8 @@ const (
)
func init() {
- minAPIVersionForType["ApplyHostProfileConfigurationResultStatus"] = "6.5"
t["ApplyHostProfileConfigurationResultStatus"] = reflect.TypeOf((*ApplyHostProfileConfigurationResultStatus)(nil)).Elem()
+ minAPIVersionForType["ApplyHostProfileConfigurationResultStatus"] = "6.5"
}
// This list specifies the type of operation being performed on the array.
@@ -312,8 +312,8 @@ const (
)
func init() {
- minAPIVersionForType["BaseConfigInfoDiskFileBackingInfoProvisioningType"] = "6.5"
t["BaseConfigInfoDiskFileBackingInfoProvisioningType"] = reflect.TypeOf((*BaseConfigInfoDiskFileBackingInfoProvisioningType)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfoDiskFileBackingInfoProvisioningType"] = "6.5"
}
type BatchResultResult string
@@ -324,8 +324,8 @@ const (
)
func init() {
- minAPIVersionForType["BatchResultResult"] = "6.0"
t["BatchResultResult"] = reflect.TypeOf((*BatchResultResult)(nil)).Elem()
+ minAPIVersionForType["BatchResultResult"] = "6.0"
}
type CannotEnableVmcpForClusterReason string
@@ -336,8 +336,8 @@ const (
)
func init() {
- minAPIVersionForType["CannotEnableVmcpForClusterReason"] = "6.0"
t["CannotEnableVmcpForClusterReason"] = reflect.TypeOf((*CannotEnableVmcpForClusterReason)(nil)).Elem()
+ minAPIVersionForType["CannotEnableVmcpForClusterReason"] = "6.0"
}
type CannotMoveFaultToleranceVmMoveType string
@@ -350,8 +350,8 @@ const (
)
func init() {
- minAPIVersionForType["CannotMoveFaultToleranceVmMoveType"] = "4.0"
t["CannotMoveFaultToleranceVmMoveType"] = reflect.TypeOf((*CannotMoveFaultToleranceVmMoveType)(nil)).Elem()
+ minAPIVersionForType["CannotMoveFaultToleranceVmMoveType"] = "4.0"
}
type CannotPowerOffVmInClusterOperation string
@@ -368,8 +368,8 @@ const (
)
func init() {
- minAPIVersionForType["CannotPowerOffVmInClusterOperation"] = "5.0"
t["CannotPowerOffVmInClusterOperation"] = reflect.TypeOf((*CannotPowerOffVmInClusterOperation)(nil)).Elem()
+ minAPIVersionForType["CannotPowerOffVmInClusterOperation"] = "5.0"
}
type CannotUseNetworkReason string
@@ -390,12 +390,12 @@ const (
)
func init() {
+ t["CannotUseNetworkReason"] = reflect.TypeOf((*CannotUseNetworkReason)(nil)).Elem()
minAPIVersionForType["CannotUseNetworkReason"] = "5.5"
minAPIVersionForEnumValue["CannotUseNetworkReason"] = map[string]string{
"NetworkUnderMaintenance": "7.0",
"MismatchedEnsMode": "7.0",
}
- t["CannotUseNetworkReason"] = reflect.TypeOf((*CannotUseNetworkReason)(nil)).Elem()
}
// The types of tests which can requested by any of the methods in either
@@ -434,11 +434,11 @@ const (
)
func init() {
+ t["CheckTestType"] = reflect.TypeOf((*CheckTestType)(nil)).Elem()
minAPIVersionForType["CheckTestType"] = "4.0"
minAPIVersionForEnumValue["CheckTestType"] = map[string]string{
"networkTests": "5.5",
}
- t["CheckTestType"] = reflect.TypeOf((*CheckTestType)(nil)).Elem()
}
// HCIWorkflowState identifies the state of the cluser from the perspective of HCI
@@ -458,8 +458,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterComputeResourceHCIWorkflowState"] = "6.7.1"
t["ClusterComputeResourceHCIWorkflowState"] = reflect.TypeOf((*ClusterComputeResourceHCIWorkflowState)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHCIWorkflowState"] = "6.7.1"
}
type ClusterComputeResourceVcsHealthStatus string
@@ -474,20 +474,22 @@ const (
)
func init() {
- minAPIVersionForType["ClusterComputeResourceVcsHealthStatus"] = "7.0.1.1"
t["ClusterComputeResourceVcsHealthStatus"] = reflect.TypeOf((*ClusterComputeResourceVcsHealthStatus)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceVcsHealthStatus"] = "7.0.1.1"
}
type ClusterCryptoConfigInfoCryptoMode string
const (
- ClusterCryptoConfigInfoCryptoModeOnDemand = ClusterCryptoConfigInfoCryptoMode("onDemand")
+ // Put each host into the crypto safe state automatically when needed.
+ ClusterCryptoConfigInfoCryptoModeOnDemand = ClusterCryptoConfigInfoCryptoMode("onDemand")
+ // Put each host into the crypto safe state immediately.
ClusterCryptoConfigInfoCryptoModeForceEnable = ClusterCryptoConfigInfoCryptoMode("forceEnable")
)
func init() {
- minAPIVersionForType["ClusterCryptoConfigInfoCryptoMode"] = "7.0"
t["ClusterCryptoConfigInfoCryptoMode"] = reflect.TypeOf((*ClusterCryptoConfigInfoCryptoMode)(nil)).Elem()
+ minAPIVersionForType["ClusterCryptoConfigInfoCryptoMode"] = "7.0"
}
// The `ClusterDasAamNodeStateDasState_enum` enumerated type defines
@@ -521,8 +523,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterDasAamNodeStateDasState"] = "4.0"
t["ClusterDasAamNodeStateDasState"] = reflect.TypeOf((*ClusterDasAamNodeStateDasState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAamNodeStateDasState"] = "4.0"
}
// The policy to determine the candidates from which vCenter Server can
@@ -553,8 +555,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterDasConfigInfoHBDatastoreCandidate"] = "5.0"
t["ClusterDasConfigInfoHBDatastoreCandidate"] = reflect.TypeOf((*ClusterDasConfigInfoHBDatastoreCandidate)(nil)).Elem()
+ minAPIVersionForType["ClusterDasConfigInfoHBDatastoreCandidate"] = "5.0"
}
// Possible states of an HA service.
@@ -570,8 +572,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterDasConfigInfoServiceState"] = "4.0"
t["ClusterDasConfigInfoServiceState"] = reflect.TypeOf((*ClusterDasConfigInfoServiceState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasConfigInfoServiceState"] = "4.0"
}
// The `ClusterDasConfigInfoVmMonitoringState_enum` enum defines values that indicate
@@ -615,8 +617,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterDasConfigInfoVmMonitoringState"] = "4.1"
t["ClusterDasConfigInfoVmMonitoringState"] = reflect.TypeOf((*ClusterDasConfigInfoVmMonitoringState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasConfigInfoVmMonitoringState"] = "4.1"
}
// The `ClusterDasFdmAvailabilityState_enum` enumeration describes the
@@ -718,8 +720,11 @@ const (
)
func init() {
- minAPIVersionForType["ClusterDasFdmAvailabilityState"] = "5.0"
t["ClusterDasFdmAvailabilityState"] = reflect.TypeOf((*ClusterDasFdmAvailabilityState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasFdmAvailabilityState"] = "5.0"
+ minAPIVersionForEnumValue["ClusterDasFdmAvailabilityState"] = map[string]string{
+ "retry": "8.0.0.0",
+ }
}
// The `ClusterDasVmSettingsIsolationResponse_enum` enum defines
@@ -787,11 +792,11 @@ const (
)
func init() {
+ t["ClusterDasVmSettingsIsolationResponse"] = reflect.TypeOf((*ClusterDasVmSettingsIsolationResponse)(nil)).Elem()
minAPIVersionForType["ClusterDasVmSettingsIsolationResponse"] = "2.5"
minAPIVersionForEnumValue["ClusterDasVmSettingsIsolationResponse"] = map[string]string{
"shutdown": "2.5u2",
}
- t["ClusterDasVmSettingsIsolationResponse"] = reflect.TypeOf((*ClusterDasVmSettingsIsolationResponse)(nil)).Elem()
}
// The `ClusterDasVmSettingsRestartPriority_enum` enum defines
@@ -837,12 +842,12 @@ const (
)
func init() {
+ t["ClusterDasVmSettingsRestartPriority"] = reflect.TypeOf((*ClusterDasVmSettingsRestartPriority)(nil)).Elem()
minAPIVersionForType["ClusterDasVmSettingsRestartPriority"] = "2.5"
minAPIVersionForEnumValue["ClusterDasVmSettingsRestartPriority"] = map[string]string{
"lowest": "6.5",
"highest": "6.5",
}
- t["ClusterDasVmSettingsRestartPriority"] = reflect.TypeOf((*ClusterDasVmSettingsRestartPriority)(nil)).Elem()
}
// Describes the operation type of the action.
@@ -858,8 +863,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterHostInfraUpdateHaModeActionOperationType"] = "6.5"
t["ClusterHostInfraUpdateHaModeActionOperationType"] = reflect.TypeOf((*ClusterHostInfraUpdateHaModeActionOperationType)(nil)).Elem()
+ minAPIVersionForType["ClusterHostInfraUpdateHaModeActionOperationType"] = "6.5"
}
type ClusterInfraUpdateHaConfigInfoBehaviorType string
@@ -874,8 +879,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfoBehaviorType"] = "6.5"
t["ClusterInfraUpdateHaConfigInfoBehaviorType"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfoBehaviorType)(nil)).Elem()
+ minAPIVersionForType["ClusterInfraUpdateHaConfigInfoBehaviorType"] = "6.5"
}
type ClusterInfraUpdateHaConfigInfoRemediationType string
@@ -890,8 +895,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfoRemediationType"] = "6.5"
t["ClusterInfraUpdateHaConfigInfoRemediationType"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfoRemediationType)(nil)).Elem()
+ minAPIVersionForType["ClusterInfraUpdateHaConfigInfoRemediationType"] = "6.5"
}
type ClusterPowerOnVmOption string
@@ -921,8 +926,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterPowerOnVmOption"] = "4.1"
t["ClusterPowerOnVmOption"] = reflect.TypeOf((*ClusterPowerOnVmOption)(nil)).Elem()
+ minAPIVersionForType["ClusterPowerOnVmOption"] = "4.1"
}
type ClusterProfileServiceType string
@@ -939,8 +944,22 @@ const (
)
func init() {
- minAPIVersionForType["ClusterProfileServiceType"] = "4.0"
t["ClusterProfileServiceType"] = reflect.TypeOf((*ClusterProfileServiceType)(nil)).Elem()
+ minAPIVersionForType["ClusterProfileServiceType"] = "4.0"
+}
+
+type ClusterSystemVMsConfigInfoDeploymentMode string
+
+const (
+ // System VMs are fully managed by the system.
+ ClusterSystemVMsConfigInfoDeploymentModeSYSTEM_MANAGED = ClusterSystemVMsConfigInfoDeploymentMode("SYSTEM_MANAGED")
+ // System VMs are absent on the managed entity.
+ ClusterSystemVMsConfigInfoDeploymentModeABSENT = ClusterSystemVMsConfigInfoDeploymentMode("ABSENT")
+)
+
+func init() {
+ t["ClusterSystemVMsConfigInfoDeploymentMode"] = reflect.TypeOf((*ClusterSystemVMsConfigInfoDeploymentMode)(nil)).Elem()
+ minAPIVersionForType["ClusterSystemVMsConfigInfoDeploymentMode"] = "8.0.2.0"
}
// The VM policy settings that determine the response to
@@ -980,8 +999,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterVmComponentProtectionSettingsStorageVmReaction"] = "6.0"
t["ClusterVmComponentProtectionSettingsStorageVmReaction"] = reflect.TypeOf((*ClusterVmComponentProtectionSettingsStorageVmReaction)(nil)).Elem()
+ minAPIVersionForType["ClusterVmComponentProtectionSettingsStorageVmReaction"] = "6.0"
}
// If an APD condition clears after an APD timeout condition has been declared and before
@@ -1006,8 +1025,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared"] = "6.0"
t["ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared"] = reflect.TypeOf((*ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared)(nil)).Elem()
+ minAPIVersionForType["ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared"] = "6.0"
}
type ClusterVmReadinessReadyCondition string
@@ -1039,8 +1058,8 @@ const (
)
func init() {
- minAPIVersionForType["ClusterVmReadinessReadyCondition"] = "6.5"
t["ClusterVmReadinessReadyCondition"] = reflect.TypeOf((*ClusterVmReadinessReadyCondition)(nil)).Elem()
+ minAPIVersionForType["ClusterVmReadinessReadyCondition"] = "6.5"
}
type ComplianceResultStatus string
@@ -1057,11 +1076,11 @@ const (
)
func init() {
+ t["ComplianceResultStatus"] = reflect.TypeOf((*ComplianceResultStatus)(nil)).Elem()
minAPIVersionForType["ComplianceResultStatus"] = "4.0"
minAPIVersionForEnumValue["ComplianceResultStatus"] = map[string]string{
"running": "6.7",
}
- t["ComplianceResultStatus"] = reflect.TypeOf((*ComplianceResultStatus)(nil)).Elem()
}
type ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState string
@@ -1077,8 +1096,8 @@ const (
)
func init() {
- minAPIVersionForType["ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState"] = "5.0"
t["ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState"] = reflect.TypeOf((*ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState)(nil)).Elem()
+ minAPIVersionForType["ComputeResourceHostSPBMLicenseInfoHostSPBMLicenseState"] = "5.0"
}
type ConfigSpecOperation string
@@ -1093,11 +1112,10 @@ const (
)
func init() {
- minAPIVersionForType["ConfigSpecOperation"] = "4.0"
t["ConfigSpecOperation"] = reflect.TypeOf((*ConfigSpecOperation)(nil)).Elem()
+ minAPIVersionForType["ConfigSpecOperation"] = "4.0"
}
-// Key management type.
type CryptoManagerHostKeyManagementType string
const (
@@ -1108,6 +1126,7 @@ const (
func init() {
t["CryptoManagerHostKeyManagementType"] = reflect.TypeOf((*CryptoManagerHostKeyManagementType)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerHostKeyManagementType"] = "8.0.1.0"
}
type CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason string
@@ -1128,11 +1147,11 @@ const (
)
func init() {
+ t["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason)(nil)).Elem()
minAPIVersionForType["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = "6.7.2"
minAPIVersionForEnumValue["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = map[string]string{
"KeyStateManagedByTrustAuthority": "7.0",
}
- t["CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason)(nil)).Elem()
}
type CustomizationFailedReasonCode string
@@ -1149,13 +1168,13 @@ const (
)
func init() {
+ t["CustomizationFailedReasonCode"] = reflect.TypeOf((*CustomizationFailedReasonCode)(nil)).Elem()
minAPIVersionForType["CustomizationFailedReasonCode"] = "7.0"
minAPIVersionForEnumValue["CustomizationFailedReasonCode"] = map[string]string{
"customizationDisabled": "7.0.1.0",
"rawDataIsNotSupported": "7.0.3.0",
"wrongMetadataFormat": "7.0.3.0",
}
- t["CustomizationFailedReasonCode"] = reflect.TypeOf((*CustomizationFailedReasonCode)(nil)).Elem()
}
// Enumeration of AutoMode values.
@@ -1214,8 +1233,8 @@ const (
)
func init() {
- minAPIVersionForType["CustomizationSysprepRebootOption"] = "2.5"
t["CustomizationSysprepRebootOption"] = reflect.TypeOf((*CustomizationSysprepRebootOption)(nil)).Elem()
+ minAPIVersionForType["CustomizationSysprepRebootOption"] = "2.5"
}
// Set of possible values for
@@ -1241,8 +1260,8 @@ const (
)
func init() {
- minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonNetwork"] = "4.1"
t["DVPortStatusVmDirectPathGen2InactiveReasonNetwork"] = reflect.TypeOf((*DVPortStatusVmDirectPathGen2InactiveReasonNetwork)(nil)).Elem()
+ minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonNetwork"] = "4.1"
}
// Set of possible values for
@@ -1266,8 +1285,8 @@ const (
)
func init() {
- minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = "4.1"
t["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = reflect.TypeOf((*DVPortStatusVmDirectPathGen2InactiveReasonOther)(nil)).Elem()
+ minAPIVersionForType["DVPortStatusVmDirectPathGen2InactiveReasonOther"] = "4.1"
}
type DVSMacLimitPolicyType string
@@ -1278,8 +1297,8 @@ const (
)
func init() {
- minAPIVersionForType["DVSMacLimitPolicyType"] = "6.7"
t["DVSMacLimitPolicyType"] = reflect.TypeOf((*DVSMacLimitPolicyType)(nil)).Elem()
+ minAPIVersionForType["DVSMacLimitPolicyType"] = "6.7"
}
type DasConfigFaultDasConfigFaultReason string
@@ -1312,6 +1331,7 @@ const (
)
func init() {
+ t["DasConfigFaultDasConfigFaultReason"] = reflect.TypeOf((*DasConfigFaultDasConfigFaultReason)(nil)).Elem()
minAPIVersionForType["DasConfigFaultDasConfigFaultReason"] = "4.0"
minAPIVersionForEnumValue["DasConfigFaultDasConfigFaultReason"] = map[string]string{
"NoDatastoresConfigured": "5.1",
@@ -1321,7 +1341,6 @@ func init() {
"SetDesiredImageSpecFailed": "7.0",
"ApplyHAVibsOnClusterFailed": "7.0",
}
- t["DasConfigFaultDasConfigFaultReason"] = reflect.TypeOf((*DasConfigFaultDasConfigFaultReason)(nil)).Elem()
}
// Deprecated as of VI API 2.5, use `ClusterDasVmSettingsRestartPriority_enum`.
@@ -1366,8 +1385,8 @@ const (
)
func init() {
- minAPIVersionForType["DatastoreAccessible"] = "4.0"
t["DatastoreAccessible"] = reflect.TypeOf((*DatastoreAccessible)(nil)).Elem()
+ minAPIVersionForType["DatastoreAccessible"] = "4.0"
}
type DatastoreSummaryMaintenanceModeState string
@@ -1385,8 +1404,8 @@ const (
)
func init() {
- minAPIVersionForType["DatastoreSummaryMaintenanceModeState"] = "5.0"
t["DatastoreSummaryMaintenanceModeState"] = reflect.TypeOf((*DatastoreSummaryMaintenanceModeState)(nil)).Elem()
+ minAPIVersionForType["DatastoreSummaryMaintenanceModeState"] = "5.0"
}
type DayOfWeek string
@@ -1416,13 +1435,11 @@ const (
)
func init() {
- minAPIVersionForType["DeviceNotSupportedReason"] = "2.5"
t["DeviceNotSupportedReason"] = reflect.TypeOf((*DeviceNotSupportedReason)(nil)).Elem()
+ minAPIVersionForType["DeviceNotSupportedReason"] = "2.5"
}
// The list of Device Protocols.
-//
-// Device protocol could be either NVMe or SCSI
type DeviceProtocol string
const (
@@ -1432,6 +1449,7 @@ const (
func init() {
t["DeviceProtocol"] = reflect.TypeOf((*DeviceProtocol)(nil)).Elem()
+ minAPIVersionForType["DeviceProtocol"] = "8.0.1.0"
}
// Pre-defined constants for possible creators of log files.
@@ -1455,10 +1473,10 @@ const (
)
func init() {
+ t["DiagnosticManagerLogCreator"] = reflect.TypeOf((*DiagnosticManagerLogCreator)(nil)).Elem()
minAPIVersionForEnumValue["DiagnosticManagerLogCreator"] = map[string]string{
"recordLog": "2.5",
}
- t["DiagnosticManagerLogCreator"] = reflect.TypeOf((*DiagnosticManagerLogCreator)(nil)).Elem()
}
// Constants for defined formats.
@@ -1516,8 +1534,8 @@ const (
)
func init() {
- minAPIVersionForType["DisallowedChangeByServiceDisallowedChange"] = "5.0"
t["DisallowedChangeByServiceDisallowedChange"] = reflect.TypeOf((*DisallowedChangeByServiceDisallowedChange)(nil)).Elem()
+ minAPIVersionForType["DisallowedChangeByServiceDisallowedChange"] = "5.0"
}
// The `DistributedVirtualPortgroupBackingType_enum` enum defines
@@ -1537,8 +1555,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupBackingType"] = "7.0"
t["DistributedVirtualPortgroupBackingType"] = reflect.TypeOf((*DistributedVirtualPortgroupBackingType)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupBackingType"] = "7.0"
}
// The meta tag names recognizable in the
@@ -1554,8 +1572,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupMetaTagName"] = "4.0"
t["DistributedVirtualPortgroupMetaTagName"] = reflect.TypeOf((*DistributedVirtualPortgroupMetaTagName)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupMetaTagName"] = "4.0"
}
// The `DistributedVirtualPortgroupPortgroupType_enum` enum defines
@@ -1592,8 +1610,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupPortgroupType"] = "4.0"
t["DistributedVirtualPortgroupPortgroupType"] = reflect.TypeOf((*DistributedVirtualPortgroupPortgroupType)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupPortgroupType"] = "4.0"
}
type DistributedVirtualSwitchHostInfrastructureTrafficClass string
@@ -1624,13 +1642,13 @@ const (
)
func init() {
+ t["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = reflect.TypeOf((*DistributedVirtualSwitchHostInfrastructureTrafficClass)(nil)).Elem()
minAPIVersionForType["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = "5.5"
minAPIVersionForEnumValue["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = map[string]string{
"vdp": "6.0",
"backupNfc": "7.0.1.0",
"nvmetcp": "7.0.3.0",
}
- t["DistributedVirtualSwitchHostInfrastructureTrafficClass"] = reflect.TypeOf((*DistributedVirtualSwitchHostInfrastructureTrafficClass)(nil)).Elem()
}
type DistributedVirtualSwitchHostMemberHostComponentState string
@@ -1652,8 +1670,20 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberHostComponentState"] = "4.0"
t["DistributedVirtualSwitchHostMemberHostComponentState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberHostComponentState)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberHostComponentState"] = "4.0"
+}
+
+// Describe the runtime state of the uplink.
+type DistributedVirtualSwitchHostMemberHostUplinkStateState string
+
+const (
+ DistributedVirtualSwitchHostMemberHostUplinkStateStateActive = DistributedVirtualSwitchHostMemberHostUplinkStateState("active")
+ DistributedVirtualSwitchHostMemberHostUplinkStateStateStandby = DistributedVirtualSwitchHostMemberHostUplinkStateState("standby")
+)
+
+func init() {
+ t["DistributedVirtualSwitchHostMemberHostUplinkStateState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberHostUplinkStateState)(nil)).Elem()
}
type DistributedVirtualSwitchHostMemberTransportZoneType string
@@ -1666,8 +1696,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneType"] = "7.0"
t["DistributedVirtualSwitchHostMemberTransportZoneType"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberTransportZoneType)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneType"] = "7.0"
}
type DistributedVirtualSwitchNetworkResourceControlVersion string
@@ -1680,8 +1710,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchNetworkResourceControlVersion"] = "6.0"
t["DistributedVirtualSwitchNetworkResourceControlVersion"] = reflect.TypeOf((*DistributedVirtualSwitchNetworkResourceControlVersion)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchNetworkResourceControlVersion"] = "6.0"
}
// List of possible teaming modes supported by the vNetwork Distributed
@@ -1709,8 +1739,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchNicTeamingPolicyMode"] = "4.1"
t["DistributedVirtualSwitchNicTeamingPolicyMode"] = reflect.TypeOf((*DistributedVirtualSwitchNicTeamingPolicyMode)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchNicTeamingPolicyMode"] = "4.1"
}
type DistributedVirtualSwitchPortConnecteeConnecteeType string
@@ -1729,8 +1759,11 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchPortConnecteeConnecteeType"] = "4.0"
t["DistributedVirtualSwitchPortConnecteeConnecteeType"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnecteeConnecteeType)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchPortConnecteeConnecteeType"] = "4.0"
+ minAPIVersionForEnumValue["DistributedVirtualSwitchPortConnecteeConnecteeType"] = map[string]string{
+ "systemCrxVnic": "8.0.1.0",
+ }
}
type DistributedVirtualSwitchProductSpecOperationType string
@@ -1778,8 +1811,8 @@ const (
)
func init() {
- minAPIVersionForType["DistributedVirtualSwitchProductSpecOperationType"] = "4.0"
t["DistributedVirtualSwitchProductSpecOperationType"] = reflect.TypeOf((*DistributedVirtualSwitchProductSpecOperationType)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchProductSpecOperationType"] = "4.0"
}
type DpmBehavior string
@@ -1796,8 +1829,8 @@ const (
)
func init() {
- minAPIVersionForType["DpmBehavior"] = "2.5"
t["DpmBehavior"] = reflect.TypeOf((*DpmBehavior)(nil)).Elem()
+ minAPIVersionForType["DpmBehavior"] = "2.5"
}
type DrsBehavior string
@@ -1829,8 +1862,8 @@ const (
)
func init() {
- minAPIVersionForType["DrsInjectorWorkloadCorrelationState"] = "5.1"
t["DrsInjectorWorkloadCorrelationState"] = reflect.TypeOf((*DrsInjectorWorkloadCorrelationState)(nil)).Elem()
+ minAPIVersionForType["DrsInjectorWorkloadCorrelationState"] = "5.1"
}
// Deprecated as of VI API 2.5 use `RecommendationReasonCode_enum`.
@@ -1869,8 +1902,8 @@ const (
)
func init() {
- minAPIVersionForType["DvsEventPortBlockState"] = "6.5"
t["DvsEventPortBlockState"] = reflect.TypeOf((*DvsEventPortBlockState)(nil)).Elem()
+ minAPIVersionForType["DvsEventPortBlockState"] = "6.5"
}
// Network Filter on Failure Type.
@@ -1887,8 +1920,8 @@ const (
)
func init() {
- minAPIVersionForType["DvsFilterOnFailure"] = "5.5"
t["DvsFilterOnFailure"] = reflect.TypeOf((*DvsFilterOnFailure)(nil)).Elem()
+ minAPIVersionForType["DvsFilterOnFailure"] = "5.5"
}
// Network Traffic Rule direction types.
@@ -1909,8 +1942,8 @@ const (
)
func init() {
- minAPIVersionForType["DvsNetworkRuleDirectionType"] = "5.5"
t["DvsNetworkRuleDirectionType"] = reflect.TypeOf((*DvsNetworkRuleDirectionType)(nil)).Elem()
+ minAPIVersionForType["DvsNetworkRuleDirectionType"] = "5.5"
}
// The `EntityImportType_enum` enum defines the import type for a
@@ -1962,8 +1995,8 @@ const (
)
func init() {
- minAPIVersionForType["EntityImportType"] = "5.1"
t["EntityImportType"] = reflect.TypeOf((*EntityImportType)(nil)).Elem()
+ minAPIVersionForType["EntityImportType"] = "5.1"
}
// The `EntityType_enum` enum identifies
@@ -1978,8 +2011,8 @@ const (
)
func init() {
- minAPIVersionForType["EntityType"] = "5.1"
t["EntityType"] = reflect.TypeOf((*EntityType)(nil)).Elem()
+ minAPIVersionForType["EntityType"] = "5.1"
}
type EventAlarmExpressionComparisonOperator string
@@ -2000,8 +2033,8 @@ const (
)
func init() {
- minAPIVersionForType["EventAlarmExpressionComparisonOperator"] = "4.0"
t["EventAlarmExpressionComparisonOperator"] = reflect.TypeOf((*EventAlarmExpressionComparisonOperator)(nil)).Elem()
+ minAPIVersionForType["EventAlarmExpressionComparisonOperator"] = "4.0"
}
type EventCategory string
@@ -2035,8 +2068,8 @@ const (
)
func init() {
- minAPIVersionForType["EventEventSeverity"] = "4.0"
t["EventEventSeverity"] = reflect.TypeOf((*EventEventSeverity)(nil)).Elem()
+ minAPIVersionForType["EventEventSeverity"] = "4.0"
}
// This option specifies how to select events based on child relationships
@@ -2103,8 +2136,8 @@ const (
)
func init() {
- minAPIVersionForType["FileSystemMountInfoVStorageSupportStatus"] = "4.1"
t["FileSystemMountInfoVStorageSupportStatus"] = reflect.TypeOf((*FileSystemMountInfoVStorageSupportStatus)(nil)).Elem()
+ minAPIVersionForType["FileSystemMountInfoVStorageSupportStatus"] = "4.1"
}
type FolderDesiredHostState string
@@ -2117,8 +2150,8 @@ const (
)
func init() {
- minAPIVersionForType["FolderDesiredHostState"] = "6.7.1"
t["FolderDesiredHostState"] = reflect.TypeOf((*FolderDesiredHostState)(nil)).Elem()
+ minAPIVersionForType["FolderDesiredHostState"] = "6.7.1"
}
type FtIssuesOnHostHostSelectionType string
@@ -2133,8 +2166,8 @@ const (
)
func init() {
- minAPIVersionForType["FtIssuesOnHostHostSelectionType"] = "4.0"
t["FtIssuesOnHostHostSelectionType"] = reflect.TypeOf((*FtIssuesOnHostHostSelectionType)(nil)).Elem()
+ minAPIVersionForType["FtIssuesOnHostHostSelectionType"] = "4.0"
}
type GuestFileType string
@@ -2150,8 +2183,8 @@ const (
)
func init() {
- minAPIVersionForType["GuestFileType"] = "5.0"
t["GuestFileType"] = reflect.TypeOf((*GuestFileType)(nil)).Elem()
+ minAPIVersionForType["GuestFileType"] = "5.0"
}
type GuestInfoAppStateType string
@@ -2169,8 +2202,8 @@ const (
)
func init() {
- minAPIVersionForType["GuestInfoAppStateType"] = "5.5"
t["GuestInfoAppStateType"] = reflect.TypeOf((*GuestInfoAppStateType)(nil)).Elem()
+ minAPIVersionForType["GuestInfoAppStateType"] = "5.5"
}
type GuestInfoCustomizationStatus string
@@ -2191,8 +2224,8 @@ const (
)
func init() {
- minAPIVersionForType["GuestInfoCustomizationStatus"] = "7.0.2.0"
t["GuestInfoCustomizationStatus"] = reflect.TypeOf((*GuestInfoCustomizationStatus)(nil)).Elem()
+ minAPIVersionForType["GuestInfoCustomizationStatus"] = "7.0.2.0"
}
type GuestOsDescriptorFirmwareType string
@@ -2205,8 +2238,8 @@ const (
)
func init() {
- minAPIVersionForType["GuestOsDescriptorFirmwareType"] = "5.0"
t["GuestOsDescriptorFirmwareType"] = reflect.TypeOf((*GuestOsDescriptorFirmwareType)(nil)).Elem()
+ minAPIVersionForType["GuestOsDescriptorFirmwareType"] = "5.0"
}
type GuestOsDescriptorSupportLevel string
@@ -2234,13 +2267,13 @@ const (
)
func init() {
+ t["GuestOsDescriptorSupportLevel"] = reflect.TypeOf((*GuestOsDescriptorSupportLevel)(nil)).Elem()
minAPIVersionForType["GuestOsDescriptorSupportLevel"] = "5.0"
minAPIVersionForEnumValue["GuestOsDescriptorSupportLevel"] = map[string]string{
"unsupported": "5.1",
"deprecated": "5.1",
"techPreview": "5.1",
}
- t["GuestOsDescriptorSupportLevel"] = reflect.TypeOf((*GuestOsDescriptorSupportLevel)(nil)).Elem()
}
// End guest quiesce phase error types.
@@ -2276,8 +2309,8 @@ const (
)
func init() {
- minAPIVersionForType["GuestRegKeyWowSpec"] = "6.0"
t["GuestRegKeyWowSpec"] = reflect.TypeOf((*GuestRegKeyWowSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegKeyWowSpec"] = "6.0"
}
type HealthUpdateInfoComponentType string
@@ -2291,8 +2324,8 @@ const (
)
func init() {
- minAPIVersionForType["HealthUpdateInfoComponentType"] = "6.5"
t["HealthUpdateInfoComponentType"] = reflect.TypeOf((*HealthUpdateInfoComponentType)(nil)).Elem()
+ minAPIVersionForType["HealthUpdateInfoComponentType"] = "6.5"
}
// Defines different access modes that a user may have on the host for
@@ -2339,8 +2372,8 @@ const (
)
func init() {
- minAPIVersionForType["HostAccessMode"] = "6.0"
t["HostAccessMode"] = reflect.TypeOf((*HostAccessMode)(nil)).Elem()
+ minAPIVersionForType["HostAccessMode"] = "6.0"
}
type HostActiveDirectoryAuthenticationCertificateDigest string
@@ -2350,8 +2383,8 @@ const (
)
func init() {
- minAPIVersionForType["HostActiveDirectoryAuthenticationCertificateDigest"] = "6.0"
t["HostActiveDirectoryAuthenticationCertificateDigest"] = reflect.TypeOf((*HostActiveDirectoryAuthenticationCertificateDigest)(nil)).Elem()
+ minAPIVersionForType["HostActiveDirectoryAuthenticationCertificateDigest"] = "6.0"
}
type HostActiveDirectoryInfoDomainMembershipStatus string
@@ -2377,8 +2410,20 @@ const (
)
func init() {
- minAPIVersionForType["HostActiveDirectoryInfoDomainMembershipStatus"] = "4.1"
t["HostActiveDirectoryInfoDomainMembershipStatus"] = reflect.TypeOf((*HostActiveDirectoryInfoDomainMembershipStatus)(nil)).Elem()
+ minAPIVersionForType["HostActiveDirectoryInfoDomainMembershipStatus"] = "4.1"
+}
+
+type HostBIOSInfoFirmwareType string
+
+const (
+ HostBIOSInfoFirmwareTypeBIOS = HostBIOSInfoFirmwareType("BIOS")
+ HostBIOSInfoFirmwareTypeUEFI = HostBIOSInfoFirmwareType("UEFI")
+)
+
+func init() {
+ t["HostBIOSInfoFirmwareType"] = reflect.TypeOf((*HostBIOSInfoFirmwareType)(nil)).Elem()
+ minAPIVersionForType["HostBIOSInfoFirmwareType"] = "8.0.2.0"
}
// Deprecated as of vSphere API 7.0, use
@@ -2411,6 +2456,7 @@ const (
)
func init() {
+ t["HostCapabilityFtUnsupportedReason"] = reflect.TypeOf((*HostCapabilityFtUnsupportedReason)(nil)).Elem()
minAPIVersionForType["HostCapabilityFtUnsupportedReason"] = "4.1"
minAPIVersionForEnumValue["HostCapabilityFtUnsupportedReason"] = map[string]string{
"unsupportedProduct": "6.0",
@@ -2418,7 +2464,6 @@ func init() {
"cpuHwmmuUnsupported": "6.0",
"cpuHvDisabled": "6.0",
}
- t["HostCapabilityFtUnsupportedReason"] = reflect.TypeOf((*HostCapabilityFtUnsupportedReason)(nil)).Elem()
}
type HostCapabilityUnmapMethodSupported string
@@ -2434,8 +2479,8 @@ const (
)
func init() {
- minAPIVersionForType["HostCapabilityUnmapMethodSupported"] = "6.7"
t["HostCapabilityUnmapMethodSupported"] = reflect.TypeOf((*HostCapabilityUnmapMethodSupported)(nil)).Elem()
+ minAPIVersionForType["HostCapabilityUnmapMethodSupported"] = "6.7"
}
type HostCapabilityVmDirectPathGen2UnsupportedReason string
@@ -2454,8 +2499,8 @@ const (
)
func init() {
- minAPIVersionForType["HostCapabilityVmDirectPathGen2UnsupportedReason"] = "4.1"
t["HostCapabilityVmDirectPathGen2UnsupportedReason"] = reflect.TypeOf((*HostCapabilityVmDirectPathGen2UnsupportedReason)(nil)).Elem()
+ minAPIVersionForType["HostCapabilityVmDirectPathGen2UnsupportedReason"] = "4.1"
}
// The status of a given certificate as computed per the soft and the hard
@@ -2501,11 +2546,10 @@ const (
)
func init() {
- minAPIVersionForType["HostCertificateManagerCertificateInfoCertificateStatus"] = "6.0"
t["HostCertificateManagerCertificateInfoCertificateStatus"] = reflect.TypeOf((*HostCertificateManagerCertificateInfoCertificateStatus)(nil)).Elem()
+ minAPIVersionForType["HostCertificateManagerCertificateInfoCertificateStatus"] = "6.0"
}
-// Certificate type supported by Host
type HostCertificateManagerCertificateKind string
const (
@@ -2517,6 +2561,7 @@ const (
func init() {
t["HostCertificateManagerCertificateKind"] = reflect.TypeOf((*HostCertificateManagerCertificateKind)(nil)).Elem()
+ minAPIVersionForType["HostCertificateManagerCertificateKind"] = "8.0.1.0"
}
// This is a global mode on a configuration specification indicating
@@ -2557,10 +2602,10 @@ const (
)
func init() {
+ t["HostConfigChangeOperation"] = reflect.TypeOf((*HostConfigChangeOperation)(nil)).Elem()
minAPIVersionForEnumValue["HostConfigChangeOperation"] = map[string]string{
"ignore": "5.5",
}
- t["HostConfigChangeOperation"] = reflect.TypeOf((*HostConfigChangeOperation)(nil)).Elem()
}
type HostCpuPackageVendor string
@@ -2569,15 +2614,15 @@ const (
HostCpuPackageVendorUnknown = HostCpuPackageVendor("unknown")
HostCpuPackageVendorIntel = HostCpuPackageVendor("intel")
HostCpuPackageVendorAmd = HostCpuPackageVendor("amd")
- // `**Since:**` vSphere API 6.7.1
+ // `**Since:**` vSphere API Release 6.7.1
HostCpuPackageVendorHygon = HostCpuPackageVendor("hygon")
)
func init() {
+ t["HostCpuPackageVendor"] = reflect.TypeOf((*HostCpuPackageVendor)(nil)).Elem()
minAPIVersionForEnumValue["HostCpuPackageVendor"] = map[string]string{
"hygon": "6.7.1",
}
- t["HostCpuPackageVendor"] = reflect.TypeOf((*HostCpuPackageVendor)(nil)).Elem()
}
type HostCpuPowerManagementInfoPolicyType string
@@ -2589,8 +2634,8 @@ const (
)
func init() {
- minAPIVersionForType["HostCpuPowerManagementInfoPolicyType"] = "4.0"
t["HostCpuPowerManagementInfoPolicyType"] = reflect.TypeOf((*HostCpuPowerManagementInfoPolicyType)(nil)).Elem()
+ minAPIVersionForType["HostCpuPowerManagementInfoPolicyType"] = "4.0"
}
type HostCryptoState string
@@ -2613,14 +2658,13 @@ const (
)
func init() {
+ t["HostCryptoState"] = reflect.TypeOf((*HostCryptoState)(nil)).Elem()
minAPIVersionForType["HostCryptoState"] = "6.5"
minAPIVersionForEnumValue["HostCryptoState"] = map[string]string{
"pendingIncapable": "7.0",
}
- t["HostCryptoState"] = reflect.TypeOf((*HostCryptoState)(nil)).Elem()
}
-// The enum defines the distributed virtual switch mode.
type HostDVSConfigSpecSwitchMode string
const (
@@ -2632,6 +2676,7 @@ const (
func init() {
t["HostDVSConfigSpecSwitchMode"] = reflect.TypeOf((*HostDVSConfigSpecSwitchMode)(nil)).Elem()
+ minAPIVersionForType["HostDVSConfigSpecSwitchMode"] = "8.0.0.1"
}
type HostDasErrorEventHostDasErrorReason string
@@ -2656,11 +2701,11 @@ const (
)
func init() {
+ t["HostDasErrorEventHostDasErrorReason"] = reflect.TypeOf((*HostDasErrorEventHostDasErrorReason)(nil)).Elem()
minAPIVersionForType["HostDasErrorEventHostDasErrorReason"] = "4.0"
minAPIVersionForEnumValue["HostDasErrorEventHostDasErrorReason"] = map[string]string{
"isolationAddressUnpingable": "4.1",
}
- t["HostDasErrorEventHostDasErrorReason"] = reflect.TypeOf((*HostDasErrorEventHostDasErrorReason)(nil)).Elem()
}
type HostDateTimeInfoProtocol string
@@ -2673,8 +2718,8 @@ const (
)
func init() {
- minAPIVersionForType["HostDateTimeInfoProtocol"] = "7.0"
t["HostDateTimeInfoProtocol"] = reflect.TypeOf((*HostDateTimeInfoProtocol)(nil)).Elem()
+ minAPIVersionForType["HostDateTimeInfoProtocol"] = "7.0"
}
// The set of digest methods that can be used by TPM to calculate the PCR
@@ -2688,17 +2733,18 @@ const (
//
// MD5.
HostDigestInfoDigestMethodTypeMD5 = HostDigestInfoDigestMethodType("MD5")
- // `**Since:**` vSphere API 6.7
+ // `**Since:**` vSphere API Release 6.7
HostDigestInfoDigestMethodTypeSHA256 = HostDigestInfoDigestMethodType("SHA256")
- // `**Since:**` vSphere API 6.7
+ // `**Since:**` vSphere API Release 6.7
HostDigestInfoDigestMethodTypeSHA384 = HostDigestInfoDigestMethodType("SHA384")
- // `**Since:**` vSphere API 6.7
+ // `**Since:**` vSphere API Release 6.7
HostDigestInfoDigestMethodTypeSHA512 = HostDigestInfoDigestMethodType("SHA512")
- // `**Since:**` vSphere API 6.7
+ // `**Since:**` vSphere API Release 6.7
HostDigestInfoDigestMethodTypeSM3_256 = HostDigestInfoDigestMethodType("SM3_256")
)
func init() {
+ t["HostDigestInfoDigestMethodType"] = reflect.TypeOf((*HostDigestInfoDigestMethodType)(nil)).Elem()
minAPIVersionForType["HostDigestInfoDigestMethodType"] = "4.0"
minAPIVersionForEnumValue["HostDigestInfoDigestMethodType"] = map[string]string{
"SHA256": "6.7",
@@ -2706,7 +2752,6 @@ func init() {
"SHA512": "6.7",
"SM3_256": "6.7",
}
- t["HostDigestInfoDigestMethodType"] = reflect.TypeOf((*HostDigestInfoDigestMethodType)(nil)).Elem()
}
// This enum specifies the supported digest verification settings.
@@ -2729,8 +2774,8 @@ const (
)
func init() {
- minAPIVersionForType["HostDigestVerificationSetting"] = "7.0.3.0"
t["HostDigestVerificationSetting"] = reflect.TypeOf((*HostDigestVerificationSetting)(nil)).Elem()
+ minAPIVersionForType["HostDigestVerificationSetting"] = "7.0.3.0"
}
type HostDisconnectedEventReasonCode string
@@ -2757,6 +2802,7 @@ const (
)
func init() {
+ t["HostDisconnectedEventReasonCode"] = reflect.TypeOf((*HostDisconnectedEventReasonCode)(nil)).Elem()
minAPIVersionForType["HostDisconnectedEventReasonCode"] = "4.0"
minAPIVersionForEnumValue["HostDisconnectedEventReasonCode"] = map[string]string{
"agentOutOfDate": "4.1",
@@ -2764,7 +2810,6 @@ func init() {
"unknown": "4.1",
"vcVRAMCapacityExceeded": "5.1",
}
- t["HostDisconnectedEventReasonCode"] = reflect.TypeOf((*HostDisconnectedEventReasonCode)(nil)).Elem()
}
// List of partition format types.
@@ -2777,8 +2822,8 @@ const (
)
func init() {
- minAPIVersionForType["HostDiskPartitionInfoPartitionFormat"] = "5.0"
t["HostDiskPartitionInfoPartitionFormat"] = reflect.TypeOf((*HostDiskPartitionInfoPartitionFormat)(nil)).Elem()
+ minAPIVersionForType["HostDiskPartitionInfoPartitionFormat"] = "5.0"
}
// List of symbol partition types
@@ -2792,15 +2837,15 @@ const (
HostDiskPartitionInfoTypeExtended = HostDiskPartitionInfoType("extended")
HostDiskPartitionInfoTypeNtfs = HostDiskPartitionInfoType("ntfs")
HostDiskPartitionInfoTypeVmkDiagnostic = HostDiskPartitionInfoType("vmkDiagnostic")
- // `**Since:**` vSphere API 5.5
+ // `**Since:**` vSphere API Release 5.5
HostDiskPartitionInfoTypeVffs = HostDiskPartitionInfoType("vffs")
)
func init() {
+ t["HostDiskPartitionInfoType"] = reflect.TypeOf((*HostDiskPartitionInfoType)(nil)).Elem()
minAPIVersionForEnumValue["HostDiskPartitionInfoType"] = map[string]string{
"vffs": "5.5",
}
- t["HostDiskPartitionInfoType"] = reflect.TypeOf((*HostDiskPartitionInfoType)(nil)).Elem()
}
// Set of possible values for
@@ -2822,8 +2867,8 @@ const (
)
func init() {
- minAPIVersionForType["HostFeatureVersionKey"] = "4.1"
t["HostFeatureVersionKey"] = reflect.TypeOf((*HostFeatureVersionKey)(nil)).Elem()
+ minAPIVersionForType["HostFeatureVersionKey"] = "4.1"
}
type HostFileSystemVolumeFileSystemType string
@@ -2869,6 +2914,7 @@ const (
)
func init() {
+ t["HostFileSystemVolumeFileSystemType"] = reflect.TypeOf((*HostFileSystemVolumeFileSystemType)(nil)).Elem()
minAPIVersionForType["HostFileSystemVolumeFileSystemType"] = "6.0"
minAPIVersionForEnumValue["HostFileSystemVolumeFileSystemType"] = map[string]string{
"NFS41": "6.0",
@@ -2878,7 +2924,6 @@ func init() {
"PMEM": "6.7",
"vsanD": "7.0.1.0",
}
- t["HostFileSystemVolumeFileSystemType"] = reflect.TypeOf((*HostFileSystemVolumeFileSystemType)(nil)).Elem()
}
// Enumeration of port directions.
@@ -2901,8 +2946,8 @@ const (
)
func init() {
- minAPIVersionForType["HostFirewallRulePortType"] = "5.0"
t["HostFirewallRulePortType"] = reflect.TypeOf((*HostFirewallRulePortType)(nil)).Elem()
+ minAPIVersionForType["HostFirewallRulePortType"] = "5.0"
}
// Set of valid port protocols.
@@ -2917,6 +2962,31 @@ func init() {
t["HostFirewallRuleProtocol"] = reflect.TypeOf((*HostFirewallRuleProtocol)(nil)).Elem()
}
+type HostFirewallSystemRuleSetId string
+
+const (
+ HostFirewallSystemRuleSetIdFaultTolerance = HostFirewallSystemRuleSetId("faultTolerance")
+ HostFirewallSystemRuleSetIdFdm = HostFirewallSystemRuleSetId("fdm")
+ HostFirewallSystemRuleSetIdUpdateManager = HostFirewallSystemRuleSetId("updateManager")
+ HostFirewallSystemRuleSetIdVpxHeartbeats = HostFirewallSystemRuleSetId("vpxHeartbeats")
+)
+
+func init() {
+ t["HostFirewallSystemRuleSetId"] = reflect.TypeOf((*HostFirewallSystemRuleSetId)(nil)).Elem()
+ minAPIVersionForType["HostFirewallSystemRuleSetId"] = "8.0.2.0"
+}
+
+type HostFirewallSystemServiceName string
+
+const (
+ HostFirewallSystemServiceNameVpxa = HostFirewallSystemServiceName("vpxa")
+)
+
+func init() {
+ t["HostFirewallSystemServiceName"] = reflect.TypeOf((*HostFirewallSystemServiceName)(nil)).Elem()
+ minAPIVersionForType["HostFirewallSystemServiceName"] = "8.0.2.0"
+}
+
// The vendor definition for type of Field Replaceable Unit (FRU).
type HostFruFruType string
@@ -2944,8 +3014,8 @@ const (
)
func init() {
- minAPIVersionForType["HostGraphicsConfigGraphicsType"] = "6.5"
t["HostGraphicsConfigGraphicsType"] = reflect.TypeOf((*HostGraphicsConfigGraphicsType)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsConfigGraphicsType"] = "6.5"
}
type HostGraphicsConfigSharedPassthruAssignmentPolicy string
@@ -2958,8 +3028,8 @@ const (
)
func init() {
- minAPIVersionForType["HostGraphicsConfigSharedPassthruAssignmentPolicy"] = "6.5"
t["HostGraphicsConfigSharedPassthruAssignmentPolicy"] = reflect.TypeOf((*HostGraphicsConfigSharedPassthruAssignmentPolicy)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsConfigSharedPassthruAssignmentPolicy"] = "6.5"
}
type HostGraphicsInfoGraphicsType string
@@ -2982,11 +3052,11 @@ const (
)
func init() {
+ t["HostGraphicsInfoGraphicsType"] = reflect.TypeOf((*HostGraphicsInfoGraphicsType)(nil)).Elem()
minAPIVersionForType["HostGraphicsInfoGraphicsType"] = "5.5"
minAPIVersionForEnumValue["HostGraphicsInfoGraphicsType"] = map[string]string{
"sharedDirect": "6.5",
}
- t["HostGraphicsInfoGraphicsType"] = reflect.TypeOf((*HostGraphicsInfoGraphicsType)(nil)).Elem()
}
type HostHardwareElementStatus string
@@ -3007,8 +3077,8 @@ const (
)
func init() {
- minAPIVersionForType["HostHardwareElementStatus"] = "2.5"
t["HostHardwareElementStatus"] = reflect.TypeOf((*HostHardwareElementStatus)(nil)).Elem()
+ minAPIVersionForType["HostHardwareElementStatus"] = "2.5"
}
type HostHasComponentFailureHostComponentType string
@@ -3018,8 +3088,8 @@ const (
)
func init() {
- minAPIVersionForType["HostHasComponentFailureHostComponentType"] = "6.0"
t["HostHasComponentFailureHostComponentType"] = reflect.TypeOf((*HostHasComponentFailureHostComponentType)(nil)).Elem()
+ minAPIVersionForType["HostHasComponentFailureHostComponentType"] = "6.0"
}
type HostImageAcceptanceLevel string
@@ -3036,8 +3106,8 @@ const (
)
func init() {
- minAPIVersionForType["HostImageAcceptanceLevel"] = "5.0"
t["HostImageAcceptanceLevel"] = reflect.TypeOf((*HostImageAcceptanceLevel)(nil)).Elem()
+ minAPIVersionForType["HostImageAcceptanceLevel"] = "5.0"
}
type HostIncompatibleForFaultToleranceReason string
@@ -3050,8 +3120,8 @@ const (
)
func init() {
- minAPIVersionForType["HostIncompatibleForFaultToleranceReason"] = "4.0"
t["HostIncompatibleForFaultToleranceReason"] = reflect.TypeOf((*HostIncompatibleForFaultToleranceReason)(nil)).Elem()
+ minAPIVersionForType["HostIncompatibleForFaultToleranceReason"] = "4.0"
}
type HostIncompatibleForRecordReplayReason string
@@ -3064,8 +3134,8 @@ const (
)
func init() {
- minAPIVersionForType["HostIncompatibleForRecordReplayReason"] = "4.0"
t["HostIncompatibleForRecordReplayReason"] = reflect.TypeOf((*HostIncompatibleForRecordReplayReason)(nil)).Elem()
+ minAPIVersionForType["HostIncompatibleForRecordReplayReason"] = "4.0"
}
// The type of CHAP authentication setting to use.
@@ -3086,8 +3156,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaChapAuthenticationType"] = "4.0"
t["HostInternetScsiHbaChapAuthenticationType"] = reflect.TypeOf((*HostInternetScsiHbaChapAuthenticationType)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaChapAuthenticationType"] = "4.0"
}
// The type of integrity checks to use.
@@ -3110,8 +3180,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaDigestType"] = "4.0"
t["HostInternetScsiHbaDigestType"] = reflect.TypeOf((*HostInternetScsiHbaDigestType)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaDigestType"] = "4.0"
}
type HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType string
@@ -3134,8 +3204,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType"] = "6.0"
t["HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressAddressConfigurationType"] = "6.0"
}
type HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation string
@@ -3146,8 +3216,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation"] = "6.0"
t["HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaIscsiIpv6AddressIPv6AddressOperation"] = "6.0"
}
type HostInternetScsiHbaNetworkBindingSupportType string
@@ -3159,8 +3229,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaNetworkBindingSupportType"] = "5.0"
t["HostInternetScsiHbaNetworkBindingSupportType"] = reflect.TypeOf((*HostInternetScsiHbaNetworkBindingSupportType)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaNetworkBindingSupportType"] = "5.0"
}
// The method of discovery of an iScsi target.
@@ -3180,8 +3250,8 @@ const (
)
func init() {
- minAPIVersionForType["HostInternetScsiHbaStaticTargetTargetDiscoveryMethod"] = "5.1"
t["HostInternetScsiHbaStaticTargetTargetDiscoveryMethod"] = reflect.TypeOf((*HostInternetScsiHbaStaticTargetTargetDiscoveryMethod)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaStaticTargetTargetDiscoveryMethod"] = "5.1"
}
// This specifies how the ipv6 address is configured for the interface.
@@ -3208,8 +3278,8 @@ const (
)
func init() {
- minAPIVersionForType["HostIpConfigIpV6AddressConfigType"] = "4.0"
t["HostIpConfigIpV6AddressConfigType"] = reflect.TypeOf((*HostIpConfigIpV6AddressConfigType)(nil)).Elem()
+ minAPIVersionForType["HostIpConfigIpV6AddressConfigType"] = "4.0"
}
type HostIpConfigIpV6AddressStatus string
@@ -3236,8 +3306,8 @@ const (
)
func init() {
- minAPIVersionForType["HostIpConfigIpV6AddressStatus"] = "4.0"
t["HostIpConfigIpV6AddressStatus"] = reflect.TypeOf((*HostIpConfigIpV6AddressStatus)(nil)).Elem()
+ minAPIVersionForType["HostIpConfigIpV6AddressStatus"] = "4.0"
}
type HostLicensableResourceKey string
@@ -3258,8 +3328,8 @@ const (
)
func init() {
- minAPIVersionForType["HostLicensableResourceKey"] = "5.0"
t["HostLicensableResourceKey"] = reflect.TypeOf((*HostLicensableResourceKey)(nil)).Elem()
+ minAPIVersionForType["HostLicensableResourceKey"] = "5.0"
}
type HostLockdownMode string
@@ -3279,8 +3349,8 @@ const (
)
func init() {
- minAPIVersionForType["HostLockdownMode"] = "6.0"
t["HostLockdownMode"] = reflect.TypeOf((*HostLockdownMode)(nil)).Elem()
+ minAPIVersionForType["HostLockdownMode"] = "6.0"
}
// This enum defines the possible types of file types that can be reserved
@@ -3293,8 +3363,8 @@ const (
)
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerFileType"] = "6.0"
t["HostLowLevelProvisioningManagerFileType"] = reflect.TypeOf((*HostLowLevelProvisioningManagerFileType)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerFileType"] = "6.0"
}
type HostLowLevelProvisioningManagerReloadTarget string
@@ -3310,8 +3380,8 @@ const (
)
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerReloadTarget"] = "4.0"
t["HostLowLevelProvisioningManagerReloadTarget"] = reflect.TypeOf((*HostLowLevelProvisioningManagerReloadTarget)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerReloadTarget"] = "4.0"
}
type HostMaintenanceSpecPurpose string
@@ -3321,8 +3391,8 @@ const (
)
func init() {
- minAPIVersionForType["HostMaintenanceSpecPurpose"] = "7.0"
t["HostMaintenanceSpecPurpose"] = reflect.TypeOf((*HostMaintenanceSpecPurpose)(nil)).Elem()
+ minAPIVersionForType["HostMaintenanceSpecPurpose"] = "7.0"
}
// Enumeration of flags pertaining to a memory tier.
@@ -3361,8 +3431,8 @@ const (
)
func init() {
- minAPIVersionForType["HostMemoryTierFlags"] = "7.0.3.0"
t["HostMemoryTierFlags"] = reflect.TypeOf((*HostMemoryTierFlags)(nil)).Elem()
+ minAPIVersionForType["HostMemoryTierFlags"] = "7.0.3.0"
}
type HostMemoryTierType string
@@ -3375,8 +3445,8 @@ const (
)
func init() {
- minAPIVersionForType["HostMemoryTierType"] = "7.0.3.0"
t["HostMemoryTierType"] = reflect.TypeOf((*HostMemoryTierType)(nil)).Elem()
+ minAPIVersionForType["HostMemoryTierType"] = "7.0.3.0"
}
type HostMemoryTieringType string
@@ -3392,8 +3462,8 @@ const (
)
func init() {
- minAPIVersionForType["HostMemoryTieringType"] = "7.0.3.0"
t["HostMemoryTieringType"] = reflect.TypeOf((*HostMemoryTieringType)(nil)).Elem()
+ minAPIVersionForType["HostMemoryTieringType"] = "7.0.3.0"
}
// A datastore can become inaccessible due to a number of reasons as
@@ -3434,8 +3504,8 @@ const (
)
func init() {
- minAPIVersionForType["HostMountInfoInaccessibleReason"] = "5.1"
t["HostMountInfoInaccessibleReason"] = reflect.TypeOf((*HostMountInfoInaccessibleReason)(nil)).Elem()
+ minAPIVersionForType["HostMountInfoInaccessibleReason"] = "5.1"
}
// NFS mount request can be failed due to a number of reasons as
@@ -3443,7 +3513,6 @@ func init() {
//
// The reason for the mount failure is reported in
// `HostMountInfo.mountFailedReason`. This is applicable only for those
-// datastores to which mount retry is configured.
type HostMountInfoMountFailedReason string
const (
@@ -3471,6 +3540,7 @@ const (
func init() {
t["HostMountInfoMountFailedReason"] = reflect.TypeOf((*HostMountInfoMountFailedReason)(nil)).Elem()
+ minAPIVersionForType["HostMountInfoMountFailedReason"] = "8.0.0.1"
}
// Defines the access mode of the datastore.
@@ -3514,11 +3584,11 @@ const (
)
func init() {
+ t["HostNasVolumeSecurityType"] = reflect.TypeOf((*HostNasVolumeSecurityType)(nil)).Elem()
minAPIVersionForType["HostNasVolumeSecurityType"] = "6.0"
minAPIVersionForEnumValue["HostNasVolumeSecurityType"] = map[string]string{
"SEC_KRB5I": "6.5",
}
- t["HostNasVolumeSecurityType"] = reflect.TypeOf((*HostNasVolumeSecurityType)(nil)).Elem()
}
type HostNetStackInstanceCongestionControlAlgorithmType string
@@ -3535,8 +3605,8 @@ const (
)
func init() {
- minAPIVersionForType["HostNetStackInstanceCongestionControlAlgorithmType"] = "5.5"
t["HostNetStackInstanceCongestionControlAlgorithmType"] = reflect.TypeOf((*HostNetStackInstanceCongestionControlAlgorithmType)(nil)).Elem()
+ minAPIVersionForType["HostNetStackInstanceCongestionControlAlgorithmType"] = "5.5"
}
type HostNetStackInstanceSystemStackKey string
@@ -3555,12 +3625,14 @@ const (
)
func init() {
+ t["HostNetStackInstanceSystemStackKey"] = reflect.TypeOf((*HostNetStackInstanceSystemStackKey)(nil)).Elem()
minAPIVersionForType["HostNetStackInstanceSystemStackKey"] = "5.5"
minAPIVersionForEnumValue["HostNetStackInstanceSystemStackKey"] = map[string]string{
"vmotion": "6.0",
"vSphereProvisioning": "6.0",
+ "mirror": "8.0.0.1",
+ "ops": "8.0.0.1",
}
- t["HostNetStackInstanceSystemStackKey"] = reflect.TypeOf((*HostNetStackInstanceSystemStackKey)(nil)).Elem()
}
// Health state of the numeric sensor as reported by the sensor probes.
@@ -3583,8 +3655,8 @@ const (
)
func init() {
- minAPIVersionForType["HostNumericSensorHealthState"] = "2.5"
t["HostNumericSensorHealthState"] = reflect.TypeOf((*HostNumericSensorHealthState)(nil)).Elem()
+ minAPIVersionForType["HostNumericSensorHealthState"] = "2.5"
}
// Sensor Types for specific hardware component are either based on
@@ -3620,6 +3692,7 @@ const (
)
func init() {
+ t["HostNumericSensorType"] = reflect.TypeOf((*HostNumericSensorType)(nil)).Elem()
minAPIVersionForType["HostNumericSensorType"] = "2.5"
minAPIVersionForEnumValue["HostNumericSensorType"] = map[string]string{
"processor": "6.5",
@@ -3631,7 +3704,6 @@ func init() {
"cable": "6.5",
"watchdog": "6.5",
}
- t["HostNumericSensorType"] = reflect.TypeOf((*HostNumericSensorType)(nil)).Elem()
}
// This enum represents the supported NVM subsystem types.
@@ -3687,8 +3759,8 @@ const (
)
func init() {
- minAPIVersionForType["HostNvmeTransportParametersNvmeAddressFamily"] = "7.0"
t["HostNvmeTransportParametersNvmeAddressFamily"] = reflect.TypeOf((*HostNvmeTransportParametersNvmeAddressFamily)(nil)).Elem()
+ minAPIVersionForType["HostNvmeTransportParametersNvmeAddressFamily"] = "7.0"
}
// The set of NVM Express over Fabrics transport types.
@@ -3713,11 +3785,11 @@ const (
)
func init() {
+ t["HostNvmeTransportType"] = reflect.TypeOf((*HostNvmeTransportType)(nil)).Elem()
minAPIVersionForType["HostNvmeTransportType"] = "7.0"
minAPIVersionForEnumValue["HostNvmeTransportType"] = map[string]string{
"tcp": "7.0.3.0",
}
- t["HostNvmeTransportType"] = reflect.TypeOf((*HostNvmeTransportType)(nil)).Elem()
}
type HostOpaqueSwitchOpaqueSwitchState string
@@ -3734,11 +3806,11 @@ const (
)
func init() {
+ t["HostOpaqueSwitchOpaqueSwitchState"] = reflect.TypeOf((*HostOpaqueSwitchOpaqueSwitchState)(nil)).Elem()
minAPIVersionForType["HostOpaqueSwitchOpaqueSwitchState"] = "6.0"
minAPIVersionForEnumValue["HostOpaqueSwitchOpaqueSwitchState"] = map[string]string{
"maintenance": "7.0",
}
- t["HostOpaqueSwitchOpaqueSwitchState"] = reflect.TypeOf((*HostOpaqueSwitchOpaqueSwitchState)(nil)).Elem()
}
// The installation state if the update is installed on the server.
@@ -3820,8 +3892,8 @@ const (
)
func init() {
- minAPIVersionForType["HostPowerOperationType"] = "2.5"
t["HostPowerOperationType"] = reflect.TypeOf((*HostPowerOperationType)(nil)).Elem()
+ minAPIVersionForType["HostPowerOperationType"] = "2.5"
}
// The `HostProfileManagerAnswerFileStatus_enum` enum
@@ -3848,8 +3920,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileManagerAnswerFileStatus"] = "5.0"
t["HostProfileManagerAnswerFileStatus"] = reflect.TypeOf((*HostProfileManagerAnswerFileStatus)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerAnswerFileStatus"] = "5.0"
}
type HostProfileManagerCompositionResultResultElementStatus string
@@ -3860,8 +3932,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileManagerCompositionResultResultElementStatus"] = "6.5"
t["HostProfileManagerCompositionResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElementStatus)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionResultResultElementStatus"] = "6.5"
}
type HostProfileManagerCompositionValidationResultResultElementStatus string
@@ -3872,8 +3944,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElementStatus"] = "6.5"
t["HostProfileManagerCompositionValidationResultResultElementStatus"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResultResultElementStatus)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElementStatus"] = "6.5"
}
// The `HostProfileManagerTaskListRequirement_enum` enum
@@ -3892,8 +3964,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileManagerTaskListRequirement"] = "6.0"
t["HostProfileManagerTaskListRequirement"] = reflect.TypeOf((*HostProfileManagerTaskListRequirement)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerTaskListRequirement"] = "6.0"
}
type HostProfileValidationFailureInfoUpdateType string
@@ -3910,8 +3982,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileValidationFailureInfoUpdateType"] = "6.7"
t["HostProfileValidationFailureInfoUpdateType"] = reflect.TypeOf((*HostProfileValidationFailureInfoUpdateType)(nil)).Elem()
+ minAPIVersionForType["HostProfileValidationFailureInfoUpdateType"] = "6.7"
}
type HostProfileValidationState string
@@ -3923,8 +3995,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProfileValidationState"] = "6.7"
t["HostProfileValidationState"] = reflect.TypeOf((*HostProfileValidationState)(nil)).Elem()
+ minAPIVersionForType["HostProfileValidationState"] = "6.7"
}
// Deprecated from all vmodl version above @released("6.0").
@@ -3936,8 +4008,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProtocolEndpointPEType"] = "6.0"
t["HostProtocolEndpointPEType"] = reflect.TypeOf((*HostProtocolEndpointPEType)(nil)).Elem()
+ minAPIVersionForType["HostProtocolEndpointPEType"] = "6.0"
}
type HostProtocolEndpointProtocolEndpointType string
@@ -3949,8 +4021,8 @@ const (
)
func init() {
- minAPIVersionForType["HostProtocolEndpointProtocolEndpointType"] = "6.5"
t["HostProtocolEndpointProtocolEndpointType"] = reflect.TypeOf((*HostProtocolEndpointProtocolEndpointType)(nil)).Elem()
+ minAPIVersionForType["HostProtocolEndpointProtocolEndpointType"] = "6.5"
}
type HostPtpConfigDeviceType string
@@ -3970,8 +4042,8 @@ const (
)
func init() {
- minAPIVersionForType["HostPtpConfigDeviceType"] = "7.0.3.0"
t["HostPtpConfigDeviceType"] = reflect.TypeOf((*HostPtpConfigDeviceType)(nil)).Elem()
+ minAPIVersionForType["HostPtpConfigDeviceType"] = "7.0.3.0"
}
type HostQualifiedNameType string
@@ -3984,8 +4056,11 @@ const (
)
func init() {
- minAPIVersionForType["HostQualifiedNameType"] = "7.0.3.0"
t["HostQualifiedNameType"] = reflect.TypeOf((*HostQualifiedNameType)(nil)).Elem()
+ minAPIVersionForType["HostQualifiedNameType"] = "7.0.3.0"
+ minAPIVersionForEnumValue["HostQualifiedNameType"] = map[string]string{
+ "vvolNvmeQualifiedName": "8.0.0.0",
+ }
}
// Possible RDMA device connection states.
@@ -4039,8 +4114,8 @@ const (
)
func init() {
- minAPIVersionForType["HostRdmaDeviceConnectionState"] = "7.0"
t["HostRdmaDeviceConnectionState"] = reflect.TypeOf((*HostRdmaDeviceConnectionState)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDeviceConnectionState"] = "7.0"
}
// Deprecated as of vSphere API 6.0.
@@ -4059,8 +4134,8 @@ const (
)
func init() {
- minAPIVersionForType["HostReplayUnsupportedReason"] = "4.0"
t["HostReplayUnsupportedReason"] = reflect.TypeOf((*HostReplayUnsupportedReason)(nil)).Elem()
+ minAPIVersionForType["HostReplayUnsupportedReason"] = "4.0"
}
type HostRuntimeInfoNetStackInstanceRuntimeInfoState string
@@ -4077,8 +4152,8 @@ const (
)
func init() {
- minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = "5.5"
t["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = reflect.TypeOf((*HostRuntimeInfoNetStackInstanceRuntimeInfoState)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfoState"] = "5.5"
}
type HostRuntimeInfoStateEncryptionInfoProtectionMode string
@@ -4091,8 +4166,8 @@ const (
)
func init() {
- minAPIVersionForType["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = "7.0.3.0"
t["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = reflect.TypeOf((*HostRuntimeInfoStateEncryptionInfoProtectionMode)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoStateEncryptionInfoProtectionMode"] = "7.0.3.0"
}
type HostRuntimeInfoStatelessNvdsMigrationState string
@@ -4107,8 +4182,8 @@ const (
)
func init() {
- minAPIVersionForType["HostRuntimeInfoStatelessNvdsMigrationState"] = "7.0.2.0"
t["HostRuntimeInfoStatelessNvdsMigrationState"] = reflect.TypeOf((*HostRuntimeInfoStatelessNvdsMigrationState)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoStatelessNvdsMigrationState"] = "7.0.2.0"
}
// Set of valid service policy strings.
@@ -4136,8 +4211,8 @@ const (
)
func init() {
- minAPIVersionForType["HostSevInfoSevState"] = "7.0.1.0"
t["HostSevInfoSevState"] = reflect.TypeOf((*HostSevInfoSevState)(nil)).Elem()
+ minAPIVersionForType["HostSevInfoSevState"] = "7.0.1.0"
}
type HostSgxInfoFlcModes string
@@ -4157,8 +4232,8 @@ const (
)
func init() {
- minAPIVersionForType["HostSgxInfoFlcModes"] = "7.0"
t["HostSgxInfoFlcModes"] = reflect.TypeOf((*HostSgxInfoFlcModes)(nil)).Elem()
+ minAPIVersionForType["HostSgxInfoFlcModes"] = "7.0"
}
type HostSgxInfoSgxStates string
@@ -4186,11 +4261,10 @@ const (
)
func init() {
- minAPIVersionForType["HostSgxInfoSgxStates"] = "7.0"
t["HostSgxInfoSgxStates"] = reflect.TypeOf((*HostSgxInfoSgxStates)(nil)).Elem()
+ minAPIVersionForType["HostSgxInfoSgxStates"] = "7.0"
}
-// SGX registration status for ESX host.
type HostSgxRegistrationInfoRegistrationStatus string
const (
@@ -4204,9 +4278,9 @@ const (
func init() {
t["HostSgxRegistrationInfoRegistrationStatus"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationStatus)(nil)).Elem()
+ minAPIVersionForType["HostSgxRegistrationInfoRegistrationStatus"] = "8.0.0.1"
}
-// SGX host registration type.
type HostSgxRegistrationInfoRegistrationType string
const (
@@ -4219,6 +4293,7 @@ const (
func init() {
t["HostSgxRegistrationInfoRegistrationType"] = reflect.TypeOf((*HostSgxRegistrationInfoRegistrationType)(nil)).Elem()
+ minAPIVersionForType["HostSgxRegistrationInfoRegistrationType"] = "8.0.0.1"
}
type HostSnmpAgentCapability string
@@ -4233,8 +4308,8 @@ const (
)
func init() {
- minAPIVersionForType["HostSnmpAgentCapability"] = "4.0"
t["HostSnmpAgentCapability"] = reflect.TypeOf((*HostSnmpAgentCapability)(nil)).Elem()
+ minAPIVersionForType["HostSnmpAgentCapability"] = "4.0"
}
type HostStandbyMode string
@@ -4252,8 +4327,8 @@ const (
)
func init() {
- minAPIVersionForType["HostStandbyMode"] = "4.1"
t["HostStandbyMode"] = reflect.TypeOf((*HostStandbyMode)(nil)).Elem()
+ minAPIVersionForType["HostStandbyMode"] = "4.1"
}
type HostStorageProtocol string
@@ -4266,8 +4341,8 @@ const (
)
func init() {
- minAPIVersionForType["HostStorageProtocol"] = "7.0"
t["HostStorageProtocol"] = reflect.TypeOf((*HostStorageProtocol)(nil)).Elem()
+ minAPIVersionForType["HostStorageProtocol"] = "7.0"
}
// Defines a host's connection state.
@@ -4312,13 +4387,13 @@ const (
)
func init() {
+ t["HostSystemIdentificationInfoIdentifier"] = reflect.TypeOf((*HostSystemIdentificationInfoIdentifier)(nil)).Elem()
minAPIVersionForType["HostSystemIdentificationInfoIdentifier"] = "2.5"
minAPIVersionForEnumValue["HostSystemIdentificationInfoIdentifier"] = map[string]string{
"OemSpecificString": "5.0",
"EnclosureSerialNumberTag": "6.0",
"SerialNumberTag": "6.0",
}
- t["HostSystemIdentificationInfoIdentifier"] = reflect.TypeOf((*HostSystemIdentificationInfoIdentifier)(nil)).Elem()
}
type HostSystemPowerState string
@@ -4356,8 +4431,8 @@ const (
)
func init() {
- minAPIVersionForType["HostSystemPowerState"] = "2.5"
t["HostSystemPowerState"] = reflect.TypeOf((*HostSystemPowerState)(nil)).Elem()
+ minAPIVersionForType["HostSystemPowerState"] = "2.5"
}
type HostSystemRemediationStateState string
@@ -4378,8 +4453,8 @@ const (
)
func init() {
- minAPIVersionForType["HostSystemRemediationStateState"] = "6.7"
t["HostSystemRemediationStateState"] = reflect.TypeOf((*HostSystemRemediationStateState)(nil)).Elem()
+ minAPIVersionForType["HostSystemRemediationStateState"] = "6.7"
}
type HostTpmAttestationInfoAcceptanceStatus string
@@ -4392,8 +4467,8 @@ const (
)
func init() {
- minAPIVersionForType["HostTpmAttestationInfoAcceptanceStatus"] = "6.7"
t["HostTpmAttestationInfoAcceptanceStatus"] = reflect.TypeOf((*HostTpmAttestationInfoAcceptanceStatus)(nil)).Elem()
+ minAPIVersionForType["HostTpmAttestationInfoAcceptanceStatus"] = "6.7"
}
type HostTrustAuthorityAttestationInfoAttestationStatus string
@@ -4408,8 +4483,8 @@ const (
)
func init() {
- minAPIVersionForType["HostTrustAuthorityAttestationInfoAttestationStatus"] = "7.0.1.0"
t["HostTrustAuthorityAttestationInfoAttestationStatus"] = reflect.TypeOf((*HostTrustAuthorityAttestationInfoAttestationStatus)(nil)).Elem()
+ minAPIVersionForType["HostTrustAuthorityAttestationInfoAttestationStatus"] = "7.0.1.0"
}
// Reasons for identifying the disk extent
@@ -4424,8 +4499,8 @@ const (
)
func init() {
- minAPIVersionForType["HostUnresolvedVmfsExtentUnresolvedReason"] = "4.0"
t["HostUnresolvedVmfsExtentUnresolvedReason"] = reflect.TypeOf((*HostUnresolvedVmfsExtentUnresolvedReason)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsExtentUnresolvedReason"] = "4.0"
}
type HostUnresolvedVmfsResolutionSpecVmfsUuidResolution string
@@ -4446,8 +4521,8 @@ const (
)
func init() {
- minAPIVersionForType["HostUnresolvedVmfsResolutionSpecVmfsUuidResolution"] = "4.0"
t["HostUnresolvedVmfsResolutionSpecVmfsUuidResolution"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionSpecVmfsUuidResolution)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsResolutionSpecVmfsUuidResolution"] = "4.0"
}
type HostVirtualNicManagerNicType string
@@ -4483,8 +4558,8 @@ const (
// (i.e.
//
// the NFC traffic between ESX hosts as a part of a VC initiated
- // provisioning operations like cold-migrations, clones, storage vmotion
- // with snapshots etc.
+ // provisioning operations like cold-migrations, clones, snapshot and
+ // cold data in hot migration).
HostVirtualNicManagerNicTypeVSphereProvisioning = HostVirtualNicManagerNicType("vSphereProvisioning")
// The VirtualNic is used for Virtual SAN witness traffic.
//
@@ -4510,6 +4585,7 @@ const (
)
func init() {
+ t["HostVirtualNicManagerNicType"] = reflect.TypeOf((*HostVirtualNicManagerNicType)(nil)).Elem()
minAPIVersionForType["HostVirtualNicManagerNicType"] = "4.0"
minAPIVersionForEnumValue["HostVirtualNicManagerNicType"] = map[string]string{
"vSphereReplication": "5.1",
@@ -4522,7 +4598,6 @@ func init() {
"nvmeTcp": "7.0.3.0",
"nvmeRdma": "7.0.3.0",
}
- t["HostVirtualNicManagerNicType"] = reflect.TypeOf((*HostVirtualNicManagerNicType)(nil)).Elem()
}
type HostVmciAccessManagerMode string
@@ -4537,8 +4612,8 @@ const (
)
func init() {
- minAPIVersionForType["HostVmciAccessManagerMode"] = "5.0"
t["HostVmciAccessManagerMode"] = reflect.TypeOf((*HostVmciAccessManagerMode)(nil)).Elem()
+ minAPIVersionForType["HostVmciAccessManagerMode"] = "5.0"
}
// VMFS unmap bandwidth policy.
@@ -4554,8 +4629,8 @@ const (
)
func init() {
- minAPIVersionForType["HostVmfsVolumeUnmapBandwidthPolicy"] = "6.7"
t["HostVmfsVolumeUnmapBandwidthPolicy"] = reflect.TypeOf((*HostVmfsVolumeUnmapBandwidthPolicy)(nil)).Elem()
+ minAPIVersionForType["HostVmfsVolumeUnmapBandwidthPolicy"] = "6.7"
}
// VMFS unmap priority.
@@ -4571,8 +4646,8 @@ const (
)
func init() {
- minAPIVersionForType["HostVmfsVolumeUnmapPriority"] = "6.5"
t["HostVmfsVolumeUnmapPriority"] = reflect.TypeOf((*HostVmfsVolumeUnmapPriority)(nil)).Elem()
+ minAPIVersionForType["HostVmfsVolumeUnmapPriority"] = "6.5"
}
type HttpNfcLeaseManifestEntryChecksumType string
@@ -4583,8 +4658,8 @@ const (
)
func init() {
- minAPIVersionForType["HttpNfcLeaseManifestEntryChecksumType"] = "6.7"
t["HttpNfcLeaseManifestEntryChecksumType"] = reflect.TypeOf((*HttpNfcLeaseManifestEntryChecksumType)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseManifestEntryChecksumType"] = "6.7"
}
type HttpNfcLeaseMode string
@@ -4600,8 +4675,8 @@ const (
)
func init() {
- minAPIVersionForType["HttpNfcLeaseMode"] = "6.7"
t["HttpNfcLeaseMode"] = reflect.TypeOf((*HttpNfcLeaseMode)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseMode"] = "6.7"
}
type HttpNfcLeaseState string
@@ -4619,8 +4694,8 @@ const (
)
func init() {
- minAPIVersionForType["HttpNfcLeaseState"] = "4.0"
t["HttpNfcLeaseState"] = reflect.TypeOf((*HttpNfcLeaseState)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseState"] = "4.0"
}
type IncompatibleHostForVmReplicationIncompatibleReason string
@@ -4634,8 +4709,8 @@ const (
)
func init() {
- minAPIVersionForType["IncompatibleHostForVmReplicationIncompatibleReason"] = "6.0"
t["IncompatibleHostForVmReplicationIncompatibleReason"] = reflect.TypeOf((*IncompatibleHostForVmReplicationIncompatibleReason)(nil)).Elem()
+ minAPIVersionForType["IncompatibleHostForVmReplicationIncompatibleReason"] = "6.0"
}
// The available iSNS discovery methods.
@@ -4663,8 +4738,8 @@ const (
)
func init() {
- minAPIVersionForType["InvalidDasConfigArgumentEntryForInvalidArgument"] = "5.1"
t["InvalidDasConfigArgumentEntryForInvalidArgument"] = reflect.TypeOf((*InvalidDasConfigArgumentEntryForInvalidArgument)(nil)).Elem()
+ minAPIVersionForType["InvalidDasConfigArgumentEntryForInvalidArgument"] = "5.1"
}
type InvalidProfileReferenceHostReason string
@@ -4677,8 +4752,8 @@ const (
)
func init() {
- minAPIVersionForType["InvalidProfileReferenceHostReason"] = "5.0"
t["InvalidProfileReferenceHostReason"] = reflect.TypeOf((*InvalidProfileReferenceHostReason)(nil)).Elem()
+ minAPIVersionForType["InvalidProfileReferenceHostReason"] = "5.0"
}
type IoFilterOperation string
@@ -4693,8 +4768,8 @@ const (
)
func init() {
- minAPIVersionForType["IoFilterOperation"] = "6.0"
t["IoFilterOperation"] = reflect.TypeOf((*IoFilterOperation)(nil)).Elem()
+ minAPIVersionForType["IoFilterOperation"] = "6.0"
}
type IoFilterType string
@@ -4719,11 +4794,11 @@ const (
)
func init() {
+ t["IoFilterType"] = reflect.TypeOf((*IoFilterType)(nil)).Elem()
minAPIVersionForType["IoFilterType"] = "6.5"
minAPIVersionForEnumValue["IoFilterType"] = map[string]string{
"dataCapture": "7.0.2.1",
}
- t["IoFilterType"] = reflect.TypeOf((*IoFilterType)(nil)).Elem()
}
type IscsiPortInfoPathStatus string
@@ -4746,8 +4821,8 @@ const (
)
func init() {
- minAPIVersionForType["IscsiPortInfoPathStatus"] = "5.0"
t["IscsiPortInfoPathStatus"] = reflect.TypeOf((*IscsiPortInfoPathStatus)(nil)).Elem()
+ minAPIVersionForType["IscsiPortInfoPathStatus"] = "5.0"
}
type KmipClusterInfoKmsManagementType string
@@ -4756,16 +4831,16 @@ const (
KmipClusterInfoKmsManagementTypeUnknown = KmipClusterInfoKmsManagementType("unknown")
KmipClusterInfoKmsManagementTypeVCenter = KmipClusterInfoKmsManagementType("vCenter")
KmipClusterInfoKmsManagementTypeTrustAuthority = KmipClusterInfoKmsManagementType("trustAuthority")
- // `**Since:**` vSphere API 7.0.2.0
+ // `**Since:**` vSphere API Release 7.0.2.0
KmipClusterInfoKmsManagementTypeNativeProvider = KmipClusterInfoKmsManagementType("nativeProvider")
)
func init() {
+ t["KmipClusterInfoKmsManagementType"] = reflect.TypeOf((*KmipClusterInfoKmsManagementType)(nil)).Elem()
minAPIVersionForType["KmipClusterInfoKmsManagementType"] = "7.0"
minAPIVersionForEnumValue["KmipClusterInfoKmsManagementType"] = map[string]string{
"nativeProvider": "7.0.2.0",
}
- t["KmipClusterInfoKmsManagementType"] = reflect.TypeOf((*KmipClusterInfoKmsManagementType)(nil)).Elem()
}
// Enumeration of the nominal latency-sensitive values which can be
@@ -4801,8 +4876,8 @@ const (
)
func init() {
- minAPIVersionForType["LatencySensitivitySensitivityLevel"] = "5.1"
t["LatencySensitivitySensitivityLevel"] = reflect.TypeOf((*LatencySensitivitySensitivityLevel)(nil)).Elem()
+ minAPIVersionForType["LatencySensitivitySensitivityLevel"] = "5.1"
}
type LicenseAssignmentFailedReason string
@@ -4819,8 +4894,8 @@ const (
)
func init() {
- minAPIVersionForType["LicenseAssignmentFailedReason"] = "4.0"
t["LicenseAssignmentFailedReason"] = reflect.TypeOf((*LicenseAssignmentFailedReason)(nil)).Elem()
+ minAPIVersionForType["LicenseAssignmentFailedReason"] = "4.0"
}
// Some licenses may only be allowed to load from a specified source.
@@ -4836,8 +4911,8 @@ const (
)
func init() {
- minAPIVersionForType["LicenseFeatureInfoSourceRestriction"] = "2.5"
t["LicenseFeatureInfoSourceRestriction"] = reflect.TypeOf((*LicenseFeatureInfoSourceRestriction)(nil)).Elem()
+ minAPIVersionForType["LicenseFeatureInfoSourceRestriction"] = "2.5"
}
// Describes the state of the feature.
@@ -4971,12 +5046,12 @@ const (
)
func init() {
+ t["LicenseManagerLicenseKey"] = reflect.TypeOf((*LicenseManagerLicenseKey)(nil)).Elem()
minAPIVersionForEnumValue["LicenseManagerLicenseKey"] = map[string]string{
"vcExpress": "2.5",
"serverHost": "2.5",
"drsPower": "2.5",
}
- t["LicenseManagerLicenseKey"] = reflect.TypeOf((*LicenseManagerLicenseKey)(nil)).Elem()
}
// Deprecated as of vSphere API 4.0, this is not used by the system.
@@ -4994,8 +5069,8 @@ const (
)
func init() {
- minAPIVersionForType["LicenseManagerState"] = "2.5"
t["LicenseManagerState"] = reflect.TypeOf((*LicenseManagerState)(nil)).Elem()
+ minAPIVersionForType["LicenseManagerState"] = "2.5"
}
// Describes the reservation state of a license.
@@ -5044,8 +5119,8 @@ const (
)
func init() {
- minAPIVersionForType["LinkDiscoveryProtocolConfigOperationType"] = "4.0"
t["LinkDiscoveryProtocolConfigOperationType"] = reflect.TypeOf((*LinkDiscoveryProtocolConfigOperationType)(nil)).Elem()
+ minAPIVersionForType["LinkDiscoveryProtocolConfigOperationType"] = "4.0"
}
type LinkDiscoveryProtocolConfigProtocolType string
@@ -5058,8 +5133,8 @@ const (
)
func init() {
- minAPIVersionForType["LinkDiscoveryProtocolConfigProtocolType"] = "4.0"
t["LinkDiscoveryProtocolConfigProtocolType"] = reflect.TypeOf((*LinkDiscoveryProtocolConfigProtocolType)(nil)).Elem()
+ minAPIVersionForType["LinkDiscoveryProtocolConfigProtocolType"] = "4.0"
}
// The Status enumeration defines a general "health" value for a managed entity.
@@ -5123,8 +5198,8 @@ const (
)
func init() {
- minAPIVersionForType["NetBIOSConfigInfoMode"] = "4.1"
t["NetBIOSConfigInfoMode"] = reflect.TypeOf((*NetBIOSConfigInfoMode)(nil)).Elem()
+ minAPIVersionForType["NetBIOSConfigInfoMode"] = "4.1"
}
// This specifies how an IP address was obtained for a given interface.
@@ -5154,8 +5229,8 @@ const (
)
func init() {
- minAPIVersionForType["NetIpConfigInfoIpAddressOrigin"] = "4.1"
t["NetIpConfigInfoIpAddressOrigin"] = reflect.TypeOf((*NetIpConfigInfoIpAddressOrigin)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigInfoIpAddressOrigin"] = "4.1"
}
type NetIpConfigInfoIpAddressStatus string
@@ -5182,8 +5257,8 @@ const (
)
func init() {
- minAPIVersionForType["NetIpConfigInfoIpAddressStatus"] = "4.1"
t["NetIpConfigInfoIpAddressStatus"] = reflect.TypeOf((*NetIpConfigInfoIpAddressStatus)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigInfoIpAddressStatus"] = "4.1"
}
// IP Stack keeps state on entries in IpNetToMedia table to perform
@@ -5205,8 +5280,8 @@ const (
)
func init() {
- minAPIVersionForType["NetIpStackInfoEntryType"] = "4.1"
t["NetIpStackInfoEntryType"] = reflect.TypeOf((*NetIpStackInfoEntryType)(nil)).Elem()
+ minAPIVersionForType["NetIpStackInfoEntryType"] = "4.1"
}
// The set of values used to determine ordering of default routers.
@@ -5220,8 +5295,8 @@ const (
)
func init() {
- minAPIVersionForType["NetIpStackInfoPreference"] = "4.1"
t["NetIpStackInfoPreference"] = reflect.TypeOf((*NetIpStackInfoPreference)(nil)).Elem()
+ minAPIVersionForType["NetIpStackInfoPreference"] = "4.1"
}
type NotSupportedDeviceForFTDeviceType string
@@ -5234,8 +5309,8 @@ const (
)
func init() {
- minAPIVersionForType["NotSupportedDeviceForFTDeviceType"] = "4.1"
t["NotSupportedDeviceForFTDeviceType"] = reflect.TypeOf((*NotSupportedDeviceForFTDeviceType)(nil)).Elem()
+ minAPIVersionForType["NotSupportedDeviceForFTDeviceType"] = "4.1"
}
type NumVirtualCpusIncompatibleReason string
@@ -5252,8 +5327,8 @@ const (
)
func init() {
- minAPIVersionForType["NumVirtualCpusIncompatibleReason"] = "4.0"
t["NumVirtualCpusIncompatibleReason"] = reflect.TypeOf((*NumVirtualCpusIncompatibleReason)(nil)).Elem()
+ minAPIVersionForType["NumVirtualCpusIncompatibleReason"] = "4.0"
}
type NvdimmInterleaveSetState string
@@ -5266,8 +5341,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmInterleaveSetState"] = "6.7"
t["NvdimmInterleaveSetState"] = reflect.TypeOf((*NvdimmInterleaveSetState)(nil)).Elem()
+ minAPIVersionForType["NvdimmInterleaveSetState"] = "6.7"
}
type NvdimmNamespaceDetailsHealthStatus string
@@ -5286,8 +5361,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNamespaceDetailsHealthStatus"] = "6.7.1"
t["NvdimmNamespaceDetailsHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceDetailsHealthStatus)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceDetailsHealthStatus"] = "6.7.1"
}
type NvdimmNamespaceDetailsState string
@@ -5302,8 +5377,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNamespaceDetailsState"] = "6.7.1"
t["NvdimmNamespaceDetailsState"] = reflect.TypeOf((*NvdimmNamespaceDetailsState)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceDetailsState"] = "6.7.1"
}
type NvdimmNamespaceHealthStatus string
@@ -5326,8 +5401,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNamespaceHealthStatus"] = "6.7"
t["NvdimmNamespaceHealthStatus"] = reflect.TypeOf((*NvdimmNamespaceHealthStatus)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceHealthStatus"] = "6.7"
}
type NvdimmNamespaceState string
@@ -5342,8 +5417,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNamespaceState"] = "6.7"
t["NvdimmNamespaceState"] = reflect.TypeOf((*NvdimmNamespaceState)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceState"] = "6.7"
}
type NvdimmNamespaceType string
@@ -5356,8 +5431,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNamespaceType"] = "6.7"
t["NvdimmNamespaceType"] = reflect.TypeOf((*NvdimmNamespaceType)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceType"] = "6.7"
}
type NvdimmNvdimmHealthInfoState string
@@ -5372,8 +5447,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmNvdimmHealthInfoState"] = "6.7"
t["NvdimmNvdimmHealthInfoState"] = reflect.TypeOf((*NvdimmNvdimmHealthInfoState)(nil)).Elem()
+ minAPIVersionForType["NvdimmNvdimmHealthInfoState"] = "6.7"
}
type NvdimmRangeType string
@@ -5398,8 +5473,8 @@ const (
)
func init() {
- minAPIVersionForType["NvdimmRangeType"] = "6.7"
t["NvdimmRangeType"] = reflect.TypeOf((*NvdimmRangeType)(nil)).Elem()
+ minAPIVersionForType["NvdimmRangeType"] = "6.7"
}
// Enumeration of different kinds of updates.
@@ -5436,8 +5511,8 @@ const (
)
func init() {
- minAPIVersionForType["OvfConsumerOstNodeType"] = "5.0"
t["OvfConsumerOstNodeType"] = reflect.TypeOf((*OvfConsumerOstNodeType)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerOstNodeType"] = "5.0"
}
// Types of disk provisioning that can be set for the disk in the deployed OVF
@@ -5491,12 +5566,12 @@ const (
)
func init() {
+ t["OvfCreateImportSpecParamsDiskProvisioningType"] = reflect.TypeOf((*OvfCreateImportSpecParamsDiskProvisioningType)(nil)).Elem()
minAPIVersionForType["OvfCreateImportSpecParamsDiskProvisioningType"] = "4.1"
minAPIVersionForEnumValue["OvfCreateImportSpecParamsDiskProvisioningType"] = map[string]string{
"seSparse": "5.1",
"eagerZeroedThick": "5.0",
}
- t["OvfCreateImportSpecParamsDiskProvisioningType"] = reflect.TypeOf((*OvfCreateImportSpecParamsDiskProvisioningType)(nil)).Elem()
}
// The format in which performance counter data is returned.
@@ -5617,14 +5692,15 @@ const (
)
func init() {
+ t["PerformanceManagerUnit"] = reflect.TypeOf((*PerformanceManagerUnit)(nil)).Elem()
minAPIVersionForEnumValue["PerformanceManagerUnit"] = map[string]string{
"microsecond": "4.0",
"watt": "4.1",
"joule": "4.1",
"teraBytes": "6.0",
"celsius": "6.5",
+ "nanosecond": "8.0.0.1",
}
- t["PerformanceManagerUnit"] = reflect.TypeOf((*PerformanceManagerUnit)(nil)).Elem()
}
type PhysicalNicResourcePoolSchedulerDisallowedReason string
@@ -5639,8 +5715,8 @@ const (
)
func init() {
- minAPIVersionForType["PhysicalNicResourcePoolSchedulerDisallowedReason"] = "4.1"
t["PhysicalNicResourcePoolSchedulerDisallowedReason"] = reflect.TypeOf((*PhysicalNicResourcePoolSchedulerDisallowedReason)(nil)).Elem()
+ minAPIVersionForType["PhysicalNicResourcePoolSchedulerDisallowedReason"] = "4.1"
}
type PhysicalNicVmDirectPathGen2SupportedMode string
@@ -5650,8 +5726,8 @@ const (
)
func init() {
- minAPIVersionForType["PhysicalNicVmDirectPathGen2SupportedMode"] = "4.1"
t["PhysicalNicVmDirectPathGen2SupportedMode"] = reflect.TypeOf((*PhysicalNicVmDirectPathGen2SupportedMode)(nil)).Elem()
+ minAPIVersionForType["PhysicalNicVmDirectPathGen2SupportedMode"] = "4.1"
}
// Rule scope determines conditions when an affinity rule is
@@ -5675,8 +5751,8 @@ const (
)
func init() {
- minAPIVersionForType["PlacementAffinityRuleRuleScope"] = "6.0"
t["PlacementAffinityRuleRuleScope"] = reflect.TypeOf((*PlacementAffinityRuleRuleScope)(nil)).Elem()
+ minAPIVersionForType["PlacementAffinityRuleRuleScope"] = "6.0"
}
// Rule type determines how the affinity rule is to be enforced:
@@ -5699,8 +5775,8 @@ const (
)
func init() {
- minAPIVersionForType["PlacementAffinityRuleRuleType"] = "6.0"
t["PlacementAffinityRuleRuleType"] = reflect.TypeOf((*PlacementAffinityRuleRuleType)(nil)).Elem()
+ minAPIVersionForType["PlacementAffinityRuleRuleType"] = "6.0"
}
type PlacementSpecPlacementType string
@@ -5717,8 +5793,8 @@ const (
)
func init() {
- minAPIVersionForType["PlacementSpecPlacementType"] = "6.0"
t["PlacementSpecPlacementType"] = reflect.TypeOf((*PlacementSpecPlacementType)(nil)).Elem()
+ minAPIVersionForType["PlacementSpecPlacementType"] = "6.0"
}
// The type of component connected to a port group.
@@ -5765,8 +5841,8 @@ const (
)
func init() {
- minAPIVersionForType["ProfileExecuteResultStatus"] = "4.0"
t["ProfileExecuteResultStatus"] = reflect.TypeOf((*ProfileExecuteResultStatus)(nil)).Elem()
+ minAPIVersionForType["ProfileExecuteResultStatus"] = "4.0"
}
// Enumerates different operations supported for comparing
@@ -5782,8 +5858,8 @@ const (
)
func init() {
- minAPIVersionForType["ProfileNumericComparator"] = "4.0"
t["ProfileNumericComparator"] = reflect.TypeOf((*ProfileNumericComparator)(nil)).Elem()
+ minAPIVersionForType["ProfileNumericComparator"] = "4.0"
}
type ProfileParameterMetadataRelationType string
@@ -5803,8 +5879,8 @@ const (
)
func init() {
- minAPIVersionForType["ProfileParameterMetadataRelationType"] = "6.7"
t["ProfileParameterMetadataRelationType"] = reflect.TypeOf((*ProfileParameterMetadataRelationType)(nil)).Elem()
+ minAPIVersionForType["ProfileParameterMetadataRelationType"] = "6.7"
}
// Enumeration of possible changes to a property.
@@ -5840,8 +5916,8 @@ const (
)
func init() {
- minAPIVersionForType["QuarantineModeFaultFaultType"] = "6.5"
t["QuarantineModeFaultFaultType"] = reflect.TypeOf((*QuarantineModeFaultFaultType)(nil)).Elem()
+ minAPIVersionForType["QuarantineModeFaultFaultType"] = "6.5"
}
// Quiescing is a boolean flag in `ReplicationConfigSpec`
@@ -5866,8 +5942,8 @@ const (
)
func init() {
- minAPIVersionForType["QuiesceMode"] = "6.0"
t["QuiesceMode"] = reflect.TypeOf((*QuiesceMode)(nil)).Elem()
+ minAPIVersionForType["QuiesceMode"] = "6.0"
}
type RecommendationReasonCode string
@@ -5939,11 +6015,14 @@ const (
RecommendationReasonCodeVmHostAntiAffinityPolicy = RecommendationReasonCode("vmHostAntiAffinityPolicy")
// Fix VM-VM anti-affinity policy violations
RecommendationReasonCodeVmAntiAffinityPolicy = RecommendationReasonCode("vmAntiAffinityPolicy")
- // `**Since:**` vSphere API 7.0.2.0
+ // `**Since:**` vSphere API Release 7.0.2.0
RecommendationReasonCodeBalanceVsanUsage = RecommendationReasonCode("balanceVsanUsage")
+ // Optimize assignable hardware resource orchestration
+ RecommendationReasonCodeAhPlacementOptimization = RecommendationReasonCode("ahPlacementOptimization")
)
func init() {
+ t["RecommendationReasonCode"] = reflect.TypeOf((*RecommendationReasonCode)(nil)).Elem()
minAPIVersionForType["RecommendationReasonCode"] = "2.5"
minAPIVersionForEnumValue["RecommendationReasonCode"] = map[string]string{
"checkResource": "4.0",
@@ -5969,8 +6048,8 @@ func init() {
"vmHostAntiAffinityPolicy": "6.8.7",
"vmAntiAffinityPolicy": "6.8.7",
"balanceVsanUsage": "7.0.2.0",
+ "ahPlacementOptimization": "8.0.2.0",
}
- t["RecommendationReasonCode"] = reflect.TypeOf((*RecommendationReasonCode)(nil)).Elem()
}
// Pre-defined constants for possible recommendation types.
@@ -5983,8 +6062,8 @@ const (
)
func init() {
- minAPIVersionForType["RecommendationType"] = "2.5"
t["RecommendationType"] = reflect.TypeOf((*RecommendationType)(nil)).Elem()
+ minAPIVersionForType["RecommendationType"] = "2.5"
}
type ReplicationDiskConfigFaultReasonForFault string
@@ -6007,8 +6086,8 @@ const (
)
func init() {
- minAPIVersionForType["ReplicationDiskConfigFaultReasonForFault"] = "5.0"
t["ReplicationDiskConfigFaultReasonForFault"] = reflect.TypeOf((*ReplicationDiskConfigFaultReasonForFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationDiskConfigFaultReasonForFault"] = "5.0"
}
type ReplicationVmConfigFaultReasonForFault string
@@ -6053,13 +6132,13 @@ const (
)
func init() {
+ t["ReplicationVmConfigFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmConfigFaultReasonForFault)(nil)).Elem()
minAPIVersionForType["ReplicationVmConfigFaultReasonForFault"] = "5.0"
minAPIVersionForEnumValue["ReplicationVmConfigFaultReasonForFault"] = map[string]string{
"encryptedVm": "6.5",
"invalidThumbprint": "6.7",
"incompatibleDevice": "6.7",
}
- t["ReplicationVmConfigFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmConfigFaultReasonForFault)(nil)).Elem()
}
type ReplicationVmFaultReasonForFault string
@@ -6095,12 +6174,12 @@ const (
)
func init() {
+ t["ReplicationVmFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmFaultReasonForFault)(nil)).Elem()
minAPIVersionForType["ReplicationVmFaultReasonForFault"] = "5.0"
minAPIVersionForEnumValue["ReplicationVmFaultReasonForFault"] = map[string]string{
"closeDiskError": "6.5",
"groupExist": "6.7",
}
- t["ReplicationVmFaultReasonForFault"] = reflect.TypeOf((*ReplicationVmFaultReasonForFault)(nil)).Elem()
}
type ReplicationVmInProgressFaultActivity string
@@ -6113,8 +6192,8 @@ const (
)
func init() {
- minAPIVersionForType["ReplicationVmInProgressFaultActivity"] = "6.0"
t["ReplicationVmInProgressFaultActivity"] = reflect.TypeOf((*ReplicationVmInProgressFaultActivity)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmInProgressFaultActivity"] = "6.0"
}
type ReplicationVmState string
@@ -6144,8 +6223,8 @@ const (
)
func init() {
- minAPIVersionForType["ReplicationVmState"] = "5.0"
t["ReplicationVmState"] = reflect.TypeOf((*ReplicationVmState)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmState"] = "5.0"
}
type ResourceConfigSpecScaleSharesBehavior string
@@ -6158,8 +6237,8 @@ const (
)
func init() {
- minAPIVersionForType["ResourceConfigSpecScaleSharesBehavior"] = "7.0"
t["ResourceConfigSpecScaleSharesBehavior"] = reflect.TypeOf((*ResourceConfigSpecScaleSharesBehavior)(nil)).Elem()
+ minAPIVersionForType["ResourceConfigSpecScaleSharesBehavior"] = "7.0"
}
// The policy setting used to determine when to perform scheduled
@@ -6175,8 +6254,8 @@ const (
)
func init() {
- minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"] = "5.1"
t["ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfoHardwareUpgradePolicy)(nil)).Elem()
+ minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"] = "5.1"
}
type ScheduledHardwareUpgradeInfoHardwareUpgradeStatus string
@@ -6197,8 +6276,8 @@ const (
)
func init() {
- minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradeStatus"] = "5.1"
t["ScheduledHardwareUpgradeInfoHardwareUpgradeStatus"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfoHardwareUpgradeStatus)(nil)).Elem()
+ minAPIVersionForType["ScheduledHardwareUpgradeInfoHardwareUpgradeStatus"] = "5.1"
}
type ScsiDiskType string
@@ -6217,11 +6296,11 @@ const (
)
func init() {
+ t["ScsiDiskType"] = reflect.TypeOf((*ScsiDiskType)(nil)).Elem()
minAPIVersionForType["ScsiDiskType"] = "6.5"
minAPIVersionForEnumValue["ScsiDiskType"] = map[string]string{
"SoftwareEmulated4k": "6.7",
}
- t["ScsiDiskType"] = reflect.TypeOf((*ScsiDiskType)(nil)).Elem()
}
// An indicator of the utility of Descriptor in being used as an
@@ -6243,8 +6322,8 @@ const (
)
func init() {
- minAPIVersionForType["ScsiLunDescriptorQuality"] = "4.0"
t["ScsiLunDescriptorQuality"] = reflect.TypeOf((*ScsiLunDescriptorQuality)(nil)).Elem()
+ minAPIVersionForType["ScsiLunDescriptorQuality"] = "4.0"
}
// The Operational state of the LUN
@@ -6275,12 +6354,12 @@ const (
)
func init() {
+ t["ScsiLunState"] = reflect.TypeOf((*ScsiLunState)(nil)).Elem()
minAPIVersionForEnumValue["ScsiLunState"] = map[string]string{
"off": "4.0",
"quiesced": "4.0",
"timeout": "5.1",
}
- t["ScsiLunState"] = reflect.TypeOf((*ScsiLunState)(nil)).Elem()
}
// The list of SCSI device types.
@@ -6331,8 +6410,8 @@ const (
)
func init() {
- minAPIVersionForType["ScsiLunVStorageSupportStatus"] = "4.1"
t["ScsiLunVStorageSupportStatus"] = reflect.TypeOf((*ScsiLunVStorageSupportStatus)(nil)).Elem()
+ minAPIVersionForType["ScsiLunVStorageSupportStatus"] = "4.1"
}
type SessionManagerGenericServiceTicketTicketType string
@@ -6347,8 +6426,8 @@ const (
)
func init() {
- minAPIVersionForType["SessionManagerGenericServiceTicketTicketType"] = "7.0.2.0"
t["SessionManagerGenericServiceTicketTicketType"] = reflect.TypeOf((*SessionManagerGenericServiceTicketTicketType)(nil)).Elem()
+ minAPIVersionForType["SessionManagerGenericServiceTicketTicketType"] = "7.0.2.0"
}
type SessionManagerHttpServiceRequestSpecMethod string
@@ -6365,8 +6444,8 @@ const (
)
func init() {
- minAPIVersionForType["SessionManagerHttpServiceRequestSpecMethod"] = "5.0"
t["SessionManagerHttpServiceRequestSpecMethod"] = reflect.TypeOf((*SessionManagerHttpServiceRequestSpecMethod)(nil)).Elem()
+ minAPIVersionForType["SessionManagerHttpServiceRequestSpecMethod"] = "5.0"
}
// Simplified shares notation.
@@ -6412,8 +6491,8 @@ const (
)
func init() {
- minAPIVersionForType["SimpleCommandEncoding"] = "2.5"
t["SimpleCommandEncoding"] = reflect.TypeOf((*SimpleCommandEncoding)(nil)).Elem()
+ minAPIVersionForType["SimpleCommandEncoding"] = "2.5"
}
// The available SLP discovery methods.
@@ -6447,8 +6526,8 @@ const (
)
func init() {
- minAPIVersionForType["SoftwarePackageConstraint"] = "6.5"
t["SoftwarePackageConstraint"] = reflect.TypeOf((*SoftwarePackageConstraint)(nil)).Elem()
+ minAPIVersionForType["SoftwarePackageConstraint"] = "6.5"
}
type SoftwarePackageVibType string
@@ -6464,8 +6543,8 @@ const (
)
func init() {
- minAPIVersionForType["SoftwarePackageVibType"] = "6.5"
t["SoftwarePackageVibType"] = reflect.TypeOf((*SoftwarePackageVibType)(nil)).Elem()
+ minAPIVersionForType["SoftwarePackageVibType"] = "6.5"
}
// The operation on the target state.
@@ -6500,8 +6579,8 @@ const (
)
func init() {
- minAPIVersionForType["StorageDrsPodConfigInfoBehavior"] = "5.0"
t["StorageDrsPodConfigInfoBehavior"] = reflect.TypeOf((*StorageDrsPodConfigInfoBehavior)(nil)).Elem()
+ minAPIVersionForType["StorageDrsPodConfigInfoBehavior"] = "5.0"
}
type StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode string
@@ -6514,8 +6593,8 @@ const (
)
func init() {
- minAPIVersionForType["StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode"] = "6.0"
t["StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode"] = reflect.TypeOf((*StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode)(nil)).Elem()
+ minAPIVersionForType["StorageDrsSpaceLoadBalanceConfigSpaceThresholdMode"] = "6.0"
}
// User specification of congestion threshold mode on a given datastore
@@ -6534,8 +6613,8 @@ const (
)
func init() {
- minAPIVersionForType["StorageIORMThresholdMode"] = "5.1"
t["StorageIORMThresholdMode"] = reflect.TypeOf((*StorageIORMThresholdMode)(nil)).Elem()
+ minAPIVersionForType["StorageIORMThresholdMode"] = "5.1"
}
type StoragePlacementSpecPlacementType string
@@ -6552,8 +6631,8 @@ const (
)
func init() {
- minAPIVersionForType["StoragePlacementSpecPlacementType"] = "5.0"
t["StoragePlacementSpecPlacementType"] = reflect.TypeOf((*StoragePlacementSpecPlacementType)(nil)).Elem()
+ minAPIVersionForType["StoragePlacementSpecPlacementType"] = "5.0"
}
// This option specifies how to select tasks based on child relationships
@@ -6628,8 +6707,8 @@ const (
)
func init() {
- minAPIVersionForType["ThirdPartyLicenseAssignmentFailedReason"] = "5.0"
t["ThirdPartyLicenseAssignmentFailedReason"] = reflect.TypeOf((*ThirdPartyLicenseAssignmentFailedReason)(nil)).Elem()
+ minAPIVersionForType["ThirdPartyLicenseAssignmentFailedReason"] = "5.0"
}
// The policy setting used to determine when tools are auto-upgraded for
@@ -6652,8 +6731,8 @@ const (
)
func init() {
- minAPIVersionForType["UpgradePolicy"] = "2.5"
t["UpgradePolicy"] = reflect.TypeOf((*UpgradePolicy)(nil)).Elem()
+ minAPIVersionForType["UpgradePolicy"] = "2.5"
}
type VAppAutoStartAction string
@@ -6679,8 +6758,8 @@ const (
)
func init() {
- minAPIVersionForType["VAppAutoStartAction"] = "4.0"
t["VAppAutoStartAction"] = reflect.TypeOf((*VAppAutoStartAction)(nil)).Elem()
+ minAPIVersionForType["VAppAutoStartAction"] = "4.0"
}
// The cloned VMs can either be provisioned the same way as the VMs
@@ -6704,8 +6783,8 @@ const (
)
func init() {
- minAPIVersionForType["VAppCloneSpecProvisioningType"] = "4.1"
t["VAppCloneSpecProvisioningType"] = reflect.TypeOf((*VAppCloneSpecProvisioningType)(nil)).Elem()
+ minAPIVersionForType["VAppCloneSpecProvisioningType"] = "4.1"
}
type VAppIPAssignmentInfoAllocationSchemes string
@@ -6719,8 +6798,8 @@ const (
)
func init() {
- minAPIVersionForType["VAppIPAssignmentInfoAllocationSchemes"] = "4.0"
t["VAppIPAssignmentInfoAllocationSchemes"] = reflect.TypeOf((*VAppIPAssignmentInfoAllocationSchemes)(nil)).Elem()
+ minAPIVersionForType["VAppIPAssignmentInfoAllocationSchemes"] = "4.0"
}
type VAppIPAssignmentInfoIpAllocationPolicy string
@@ -6751,11 +6830,11 @@ const (
)
func init() {
+ t["VAppIPAssignmentInfoIpAllocationPolicy"] = reflect.TypeOf((*VAppIPAssignmentInfoIpAllocationPolicy)(nil)).Elem()
minAPIVersionForType["VAppIPAssignmentInfoIpAllocationPolicy"] = "4.0"
minAPIVersionForEnumValue["VAppIPAssignmentInfoIpAllocationPolicy"] = map[string]string{
"fixedAllocatedPolicy": "5.1",
}
- t["VAppIPAssignmentInfoIpAllocationPolicy"] = reflect.TypeOf((*VAppIPAssignmentInfoIpAllocationPolicy)(nil)).Elem()
}
type VAppIPAssignmentInfoProtocols string
@@ -6768,8 +6847,8 @@ const (
)
func init() {
- minAPIVersionForType["VAppIPAssignmentInfoProtocols"] = "4.0"
t["VAppIPAssignmentInfoProtocols"] = reflect.TypeOf((*VAppIPAssignmentInfoProtocols)(nil)).Elem()
+ minAPIVersionForType["VAppIPAssignmentInfoProtocols"] = "4.0"
}
type VFlashModuleNotSupportedReason string
@@ -6783,8 +6862,8 @@ const (
)
func init() {
- minAPIVersionForType["VFlashModuleNotSupportedReason"] = "5.5"
t["VFlashModuleNotSupportedReason"] = reflect.TypeOf((*VFlashModuleNotSupportedReason)(nil)).Elem()
+ minAPIVersionForType["VFlashModuleNotSupportedReason"] = "5.5"
}
// Types of a host's compatibility with a designated virtual machine
@@ -6835,8 +6914,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDVSTeamingMatchStatus"] = "5.1"
t["VMwareDVSTeamingMatchStatus"] = reflect.TypeOf((*VMwareDVSTeamingMatchStatus)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSTeamingMatchStatus"] = "5.1"
}
type VMwareDVSVspanSessionEncapType string
@@ -6851,8 +6930,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDVSVspanSessionEncapType"] = "6.5"
t["VMwareDVSVspanSessionEncapType"] = reflect.TypeOf((*VMwareDVSVspanSessionEncapType)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVspanSessionEncapType"] = "6.5"
}
type VMwareDVSVspanSessionType string
@@ -6880,8 +6959,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDVSVspanSessionType"] = "5.1"
t["VMwareDVSVspanSessionType"] = reflect.TypeOf((*VMwareDVSVspanSessionType)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVspanSessionType"] = "5.1"
}
type VMwareDvsLacpApiVersion string
@@ -6898,8 +6977,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDvsLacpApiVersion"] = "5.5"
t["VMwareDvsLacpApiVersion"] = reflect.TypeOf((*VMwareDvsLacpApiVersion)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLacpApiVersion"] = "5.5"
}
type VMwareDvsLacpLoadBalanceAlgorithm string
@@ -6949,8 +7028,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDvsLacpLoadBalanceAlgorithm"] = "5.5"
t["VMwareDvsLacpLoadBalanceAlgorithm"] = reflect.TypeOf((*VMwareDvsLacpLoadBalanceAlgorithm)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLacpLoadBalanceAlgorithm"] = "5.5"
}
type VMwareDvsMulticastFilteringMode string
@@ -6963,8 +7042,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareDvsMulticastFilteringMode"] = "6.0"
t["VMwareDvsMulticastFilteringMode"] = reflect.TypeOf((*VMwareDvsMulticastFilteringMode)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsMulticastFilteringMode"] = "6.0"
}
type VMwareUplinkLacpMode string
@@ -6977,8 +7056,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareUplinkLacpMode"] = "5.1"
t["VMwareUplinkLacpMode"] = reflect.TypeOf((*VMwareUplinkLacpMode)(nil)).Elem()
+ minAPIVersionForType["VMwareUplinkLacpMode"] = "5.1"
}
type VMwareUplinkLacpTimeoutMode string
@@ -6995,8 +7074,8 @@ const (
)
func init() {
- minAPIVersionForType["VMwareUplinkLacpTimeoutMode"] = "7.0.2.0"
t["VMwareUplinkLacpTimeoutMode"] = reflect.TypeOf((*VMwareUplinkLacpTimeoutMode)(nil)).Elem()
+ minAPIVersionForType["VMwareUplinkLacpTimeoutMode"] = "7.0.2.0"
}
// Consumption type constants.
@@ -7010,8 +7089,8 @@ const (
)
func init() {
- minAPIVersionForType["VStorageObjectConsumptionType"] = "6.5"
t["VStorageObjectConsumptionType"] = reflect.TypeOf((*VStorageObjectConsumptionType)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectConsumptionType"] = "6.5"
}
// Deprecated as of vSphere API 4.0, use `CheckTestType_enum` instead.
@@ -7076,8 +7155,8 @@ const (
)
func init() {
- minAPIVersionForType["VchaClusterMode"] = "6.5"
t["VchaClusterMode"] = reflect.TypeOf((*VchaClusterMode)(nil)).Elem()
+ minAPIVersionForType["VchaClusterMode"] = "6.5"
}
type VchaClusterState string
@@ -7100,8 +7179,8 @@ const (
)
func init() {
- minAPIVersionForType["VchaClusterState"] = "6.5"
t["VchaClusterState"] = reflect.TypeOf((*VchaClusterState)(nil)).Elem()
+ minAPIVersionForType["VchaClusterState"] = "6.5"
}
type VchaNodeRole string
@@ -7126,8 +7205,8 @@ const (
)
func init() {
- minAPIVersionForType["VchaNodeRole"] = "6.5"
t["VchaNodeRole"] = reflect.TypeOf((*VchaNodeRole)(nil)).Elem()
+ minAPIVersionForType["VchaNodeRole"] = "6.5"
}
// VchaNodeState enum defines possible state a node can be in a
@@ -7141,8 +7220,8 @@ const (
)
func init() {
- minAPIVersionForType["VchaNodeState"] = "6.5"
t["VchaNodeState"] = reflect.TypeOf((*VchaNodeState)(nil)).Elem()
+ minAPIVersionForType["VchaNodeState"] = "6.5"
}
type VchaState string
@@ -7159,8 +7238,8 @@ const (
)
func init() {
- minAPIVersionForType["VchaState"] = "6.5"
t["VchaState"] = reflect.TypeOf((*VchaState)(nil)).Elem()
+ minAPIVersionForType["VchaState"] = "6.5"
}
// The VAppState type defines the set of states a vApp can be
@@ -7182,14 +7261,13 @@ const (
)
func init() {
- minAPIVersionForType["VirtualAppVAppState"] = "4.0"
t["VirtualAppVAppState"] = reflect.TypeOf((*VirtualAppVAppState)(nil)).Elem()
+ minAPIVersionForType["VirtualAppVAppState"] = "4.0"
}
// Describes the change mode of the device.
//
// Applies only to virtual disks during VirtualDeviceSpec.Operation "add"
-// that have no VirtualDeviceSpec.FileOperation set.
type VirtualDeviceConfigSpecChangeMode string
const (
@@ -7199,6 +7277,7 @@ const (
func init() {
t["VirtualDeviceConfigSpecChangeMode"] = reflect.TypeOf((*VirtualDeviceConfigSpecChangeMode)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceConfigSpecChangeMode"] = "8.0.0.1"
}
// The type of operation being performed on the backing of a virtual device.
@@ -7263,8 +7342,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDeviceConnectInfoMigrateConnectOp"] = "6.7"
t["VirtualDeviceConnectInfoMigrateConnectOp"] = reflect.TypeOf((*VirtualDeviceConnectInfoMigrateConnectOp)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceConnectInfoMigrateConnectOp"] = "6.7"
}
type VirtualDeviceConnectInfoStatus string
@@ -7290,8 +7369,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDeviceConnectInfoStatus"] = "4.0"
t["VirtualDeviceConnectInfoStatus"] = reflect.TypeOf((*VirtualDeviceConnectInfoStatus)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceConnectInfoStatus"] = "4.0"
}
// All known file extensions.
@@ -7330,8 +7409,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDeviceURIBackingOptionDirection"] = "4.1"
t["VirtualDeviceURIBackingOptionDirection"] = reflect.TypeOf((*VirtualDeviceURIBackingOptionDirection)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceURIBackingOptionDirection"] = "4.1"
}
type VirtualDiskAdapterType string
@@ -7346,8 +7425,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskAdapterType"] = "2.5"
t["VirtualDiskAdapterType"] = reflect.TypeOf((*VirtualDiskAdapterType)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskAdapterType"] = "2.5"
}
// All known compatibility modes for raw disk mappings.
@@ -7386,11 +7465,11 @@ const (
)
func init() {
+ t["VirtualDiskDeltaDiskFormat"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormat)(nil)).Elem()
minAPIVersionForType["VirtualDiskDeltaDiskFormat"] = "5.0"
minAPIVersionForEnumValue["VirtualDiskDeltaDiskFormat"] = map[string]string{
"seSparseFormat": "5.1",
}
- t["VirtualDiskDeltaDiskFormat"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormat)(nil)).Elem()
}
type VirtualDiskDeltaDiskFormatVariant string
@@ -7403,8 +7482,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskDeltaDiskFormatVariant"] = "6.0"
t["VirtualDiskDeltaDiskFormatVariant"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormatVariant)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskDeltaDiskFormatVariant"] = "6.0"
}
// The list of known disk modes.
@@ -7446,8 +7525,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskRuleSpecRuleType"] = "6.7"
t["VirtualDiskRuleSpecRuleType"] = reflect.TypeOf((*VirtualDiskRuleSpecRuleType)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskRuleSpecRuleType"] = "6.7"
}
// The sharing mode of the virtual disk.
@@ -7464,8 +7543,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskSharing"] = "6.0"
t["VirtualDiskSharing"] = reflect.TypeOf((*VirtualDiskSharing)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskSharing"] = "6.0"
}
type VirtualDiskType string
@@ -7552,6 +7631,7 @@ const (
)
func init() {
+ t["VirtualDiskType"] = reflect.TypeOf((*VirtualDiskType)(nil)).Elem()
minAPIVersionForType["VirtualDiskType"] = "2.5"
minAPIVersionForEnumValue["VirtualDiskType"] = map[string]string{
"seSparse": "5.1",
@@ -7559,7 +7639,6 @@ func init() {
"sparseMonolithic": "4.0",
"flatMonolithic": "4.0",
}
- t["VirtualDiskType"] = reflect.TypeOf((*VirtualDiskType)(nil)).Elem()
}
type VirtualDiskVFlashCacheConfigInfoCacheConsistencyType string
@@ -7573,8 +7652,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheConsistencyType"] = "5.5"
t["VirtualDiskVFlashCacheConfigInfoCacheConsistencyType"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfoCacheConsistencyType)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheConsistencyType"] = "5.5"
}
type VirtualDiskVFlashCacheConfigInfoCacheMode string
@@ -7595,8 +7674,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheMode"] = "5.5"
t["VirtualDiskVFlashCacheConfigInfoCacheMode"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfoCacheMode)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskVFlashCacheConfigInfoCacheMode"] = "5.5"
}
// Possible device names for legacy network backing option are listed below.
@@ -7636,7 +7715,6 @@ func init() {
t["VirtualEthernetCardMacType"] = reflect.TypeOf((*VirtualEthernetCardMacType)(nil)).Elem()
}
-// Motherboard layout of the VM.
type VirtualHardwareMotherboardLayout string
const (
@@ -7648,6 +7726,7 @@ const (
func init() {
t["VirtualHardwareMotherboardLayout"] = reflect.TypeOf((*VirtualHardwareMotherboardLayout)(nil)).Elem()
+ minAPIVersionForType["VirtualHardwareMotherboardLayout"] = "8.0.0.1"
}
type VirtualMachineAppHeartbeatStatusType string
@@ -7662,8 +7741,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineAppHeartbeatStatusType"] = "4.1"
t["VirtualMachineAppHeartbeatStatusType"] = reflect.TypeOf((*VirtualMachineAppHeartbeatStatusType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineAppHeartbeatStatusType"] = "4.1"
}
type VirtualMachineBootOptionsNetworkBootProtocolType string
@@ -7680,11 +7759,10 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsNetworkBootProtocolType"] = "6.0"
t["VirtualMachineBootOptionsNetworkBootProtocolType"] = reflect.TypeOf((*VirtualMachineBootOptionsNetworkBootProtocolType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsNetworkBootProtocolType"] = "6.0"
}
-// Set of supported hash algorithms for thumbprints.
type VirtualMachineCertThumbprintHashAlgorithm string
const (
@@ -7694,10 +7772,10 @@ const (
func init() {
t["VirtualMachineCertThumbprintHashAlgorithm"] = reflect.TypeOf((*VirtualMachineCertThumbprintHashAlgorithm)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineCertThumbprintHashAlgorithm"] = "7.0.3.1"
}
// TPM provisioning policies used when cloning a VM with a virtual TPM
-// device.
type VirtualMachineCloneSpecTpmProvisionPolicy string
const (
@@ -7715,6 +7793,7 @@ const (
func init() {
t["VirtualMachineCloneSpecTpmProvisionPolicy"] = reflect.TypeOf((*VirtualMachineCloneSpecTpmProvisionPolicy)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineCloneSpecTpmProvisionPolicy"] = "8.0.0.1"
}
type VirtualMachineConfigInfoNpivWwnType string
@@ -7729,8 +7808,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineConfigInfoNpivWwnType"] = "2.5"
t["VirtualMachineConfigInfoNpivWwnType"] = reflect.TypeOf((*VirtualMachineConfigInfoNpivWwnType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConfigInfoNpivWwnType"] = "2.5"
}
// Available choices for virtual machine swapfile placement policy.
@@ -7762,8 +7841,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineConfigInfoSwapPlacementType"] = "2.5"
t["VirtualMachineConfigInfoSwapPlacementType"] = reflect.TypeOf((*VirtualMachineConfigInfoSwapPlacementType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConfigInfoSwapPlacementType"] = "2.5"
}
// The set of valid encrypted Fault Tolerance modes for a VM.
@@ -7788,8 +7867,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineConfigSpecEncryptedFtModes"] = "7.0.2.0"
t["VirtualMachineConfigSpecEncryptedFtModes"] = reflect.TypeOf((*VirtualMachineConfigSpecEncryptedFtModes)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConfigSpecEncryptedFtModes"] = "7.0.2.0"
}
// The set of valid encrypted vMotion modes for a VM.
@@ -7811,8 +7890,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineConfigSpecEncryptedVMotionModes"] = "6.5"
t["VirtualMachineConfigSpecEncryptedVMotionModes"] = reflect.TypeOf((*VirtualMachineConfigSpecEncryptedVMotionModes)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConfigSpecEncryptedVMotionModes"] = "6.5"
}
type VirtualMachineConfigSpecNpivWwnOp string
@@ -7833,11 +7912,11 @@ const (
)
func init() {
+ t["VirtualMachineConfigSpecNpivWwnOp"] = reflect.TypeOf((*VirtualMachineConfigSpecNpivWwnOp)(nil)).Elem()
minAPIVersionForType["VirtualMachineConfigSpecNpivWwnOp"] = "2.5"
minAPIVersionForEnumValue["VirtualMachineConfigSpecNpivWwnOp"] = map[string]string{
"extend": "4.0",
}
- t["VirtualMachineConfigSpecNpivWwnOp"] = reflect.TypeOf((*VirtualMachineConfigSpecNpivWwnOp)(nil)).Elem()
}
// The connectivity state of a virtual machine.
@@ -7894,8 +7973,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineCryptoState"] = "6.7"
t["VirtualMachineCryptoState"] = reflect.TypeOf((*VirtualMachineCryptoState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineCryptoState"] = "6.7"
}
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther string
@@ -7918,8 +7997,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther"] = "4.1"
t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonOther"] = "4.1"
}
type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm string
@@ -7985,11 +8064,11 @@ const (
)
func init() {
+ t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm)(nil)).Elem()
minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = "4.1"
minAPIVersionForEnumValue["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = map[string]string{
"vmNptVMCIActive": "5.1",
}
- t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeStateVmDirectPathGen2InactiveReasonVm)(nil)).Elem()
}
// The FaultToleranceState type defines a simple set of states for a
@@ -8037,8 +8116,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineFaultToleranceState"] = "4.0"
t["VirtualMachineFaultToleranceState"] = reflect.TypeOf((*VirtualMachineFaultToleranceState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFaultToleranceState"] = "4.0"
}
// The FaultToleranceType defines the type of fault tolerance, if any,
@@ -8054,11 +8133,11 @@ const (
)
func init() {
+ t["VirtualMachineFaultToleranceType"] = reflect.TypeOf((*VirtualMachineFaultToleranceType)(nil)).Elem()
minAPIVersionForType["VirtualMachineFaultToleranceType"] = "6.0"
minAPIVersionForEnumValue["VirtualMachineFaultToleranceType"] = map[string]string{
"unset": "6.0",
}
- t["VirtualMachineFaultToleranceType"] = reflect.TypeOf((*VirtualMachineFaultToleranceType)(nil)).Elem()
}
type VirtualMachineFileLayoutExFileType string
@@ -8123,20 +8202,22 @@ const (
)
func init() {
+ t["VirtualMachineFileLayoutExFileType"] = reflect.TypeOf((*VirtualMachineFileLayoutExFileType)(nil)).Elem()
minAPIVersionForType["VirtualMachineFileLayoutExFileType"] = "4.0"
minAPIVersionForEnumValue["VirtualMachineFileLayoutExFileType"] = map[string]string{
- "digestDescriptor": "5.0",
- "digestExtent": "5.0",
- "diskReplicationState": "5.0",
- "namespaceData": "5.1",
- "snapshotMemory": "6.0",
- "snapshotManifestList": "5.0",
- "suspendMemory": "6.0",
- "uwswap": "5.0",
- "ftMetadata": "6.0",
- "guestCustomization": "6.0",
+ "digestDescriptor": "5.0",
+ "digestExtent": "5.0",
+ "diskReplicationState": "5.0",
+ "namespaceData": "5.1",
+ "dataSetsDiskModeStore": "8.0.0.0",
+ "dataSetsVmModeStore": "8.0.0.0",
+ "snapshotMemory": "6.0",
+ "snapshotManifestList": "5.0",
+ "suspendMemory": "6.0",
+ "uwswap": "5.0",
+ "ftMetadata": "6.0",
+ "guestCustomization": "6.0",
}
- t["VirtualMachineFileLayoutExFileType"] = reflect.TypeOf((*VirtualMachineFileLayoutExFileType)(nil)).Elem()
}
type VirtualMachineFlagInfoMonitorType string
@@ -8151,8 +8232,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineFlagInfoMonitorType"] = "2.5"
t["VirtualMachineFlagInfoMonitorType"] = reflect.TypeOf((*VirtualMachineFlagInfoMonitorType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFlagInfoMonitorType"] = "2.5"
}
type VirtualMachineFlagInfoVirtualExecUsage string
@@ -8167,8 +8248,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineFlagInfoVirtualExecUsage"] = "4.0"
t["VirtualMachineFlagInfoVirtualExecUsage"] = reflect.TypeOf((*VirtualMachineFlagInfoVirtualExecUsage)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFlagInfoVirtualExecUsage"] = "4.0"
}
type VirtualMachineFlagInfoVirtualMmuUsage string
@@ -8183,8 +8264,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineFlagInfoVirtualMmuUsage"] = "2.5"
t["VirtualMachineFlagInfoVirtualMmuUsage"] = reflect.TypeOf((*VirtualMachineFlagInfoVirtualMmuUsage)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFlagInfoVirtualMmuUsage"] = "2.5"
}
// Fork child type.
@@ -8202,8 +8283,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineForkConfigInfoChildType"] = "6.0"
t["VirtualMachineForkConfigInfoChildType"] = reflect.TypeOf((*VirtualMachineForkConfigInfoChildType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineForkConfigInfoChildType"] = "6.0"
}
// Guest operating system family constants.
@@ -8225,10 +8306,10 @@ const (
)
func init() {
+ t["VirtualMachineGuestOsFamily"] = reflect.TypeOf((*VirtualMachineGuestOsFamily)(nil)).Elem()
minAPIVersionForEnumValue["VirtualMachineGuestOsFamily"] = map[string]string{
"darwinGuestFamily": "5.0",
}
- t["VirtualMachineGuestOsFamily"] = reflect.TypeOf((*VirtualMachineGuestOsFamily)(nil)).Elem()
}
// Guest operating system identifier.
@@ -8628,6 +8709,7 @@ const (
)
func init() {
+ t["VirtualMachineGuestOsIdentifier"] = reflect.TypeOf((*VirtualMachineGuestOsIdentifier)(nil)).Elem()
minAPIVersionForEnumValue["VirtualMachineGuestOsIdentifier"] = map[string]string{
"winNetDatacenterGuest": "2.5",
"winLonghornGuest": "2.5",
@@ -8642,15 +8724,20 @@ func init() {
"windows9Guest": "6.0",
"windows9_64Guest": "6.0",
"windows9Server64Guest": "6.0",
+ "windows11_64Guest": "8.0.0.1",
+ "windows12_64Guest": "8.0.0.1",
"windowsHyperVGuest": "5.5",
"windows2019srv_64Guest": "7.0",
"windows2019srvNext_64Guest": "7.0.1.0",
+ "windows2022srvNext_64Guest": "8.0.0.1",
"freebsd11Guest": "6.7",
"freebsd11_64Guest": "6.7",
"freebsd12Guest": "6.7",
"freebsd12_64Guest": "6.7",
"freebsd13Guest": "7.0.1.0",
"freebsd13_64Guest": "7.0.1.0",
+ "freebsd14Guest": "8.0.0.1",
+ "freebsd14_64Guest": "8.0.0.1",
"rhel5Guest": "2.5",
"rhel5_64Guest": "2.5",
"rhel6Guest": "4.0",
@@ -8684,11 +8771,11 @@ func init() {
"sles15_64Guest": "6.7",
"sles16_64Guest": "7.0.1.0",
"mandrakeGuest": "5.5",
- "mandrivaGuest": "4.0",
- "mandriva64Guest": "4.0",
- "turboLinux64Guest": "4.0",
- "debian4Guest": "4.0",
- "debian4_64Guest": "4.0",
+ "mandrivaGuest": "2.5 U2",
+ "mandriva64Guest": "2.5 U2",
+ "turboLinux64Guest": "2.5 U2",
+ "debian4Guest": "2.5 U2",
+ "debian4_64Guest": "2.5 U2",
"debian5Guest": "4.0",
"debian5_64Guest": "4.0",
"debian6Guest": "5.0",
@@ -8703,8 +8790,10 @@ func init() {
"debian10_64Guest": "6.5",
"debian11Guest": "7.0",
"debian11_64Guest": "7.0",
- "asianux3Guest": "4.0",
- "asianux3_64Guest": "4.0",
+ "debian12Guest": "8.0.0.1",
+ "debian12_64Guest": "8.0.0.1",
+ "asianux3Guest": "2.5 U2",
+ "asianux3_64Guest": "2.5 U2",
"asianux4Guest": "4.0",
"asianux4_64Guest": "4.0",
"asianux5_64Guest": "6.0",
@@ -8720,16 +8809,18 @@ func init() {
"other3xLinuxGuest": "5.5",
"other4xLinuxGuest": "6.7",
"other5xLinuxGuest": "7.0.1.0",
+ "other6xLinuxGuest": "8.0.0.1",
"genericLinuxGuest": "5.5",
"other3xLinux64Guest": "5.5",
"other4xLinux64Guest": "6.7",
"other5xLinux64Guest": "7.0.1.0",
+ "other6xLinux64Guest": "8.0.0.1",
"solaris11_64Guest": "5.0",
"eComStationGuest": "4.1",
"eComStation2Guest": "5.0",
- "openServer5Guest": "4.0",
- "openServer6Guest": "4.0",
- "unixWare7Guest": "4.0",
+ "openServer5Guest": "2.5 U2",
+ "openServer6Guest": "2.5 U2",
+ "unixWare7Guest": "2.5 U2",
"darwin64Guest": "4.0",
"darwin10Guest": "5.0",
"darwin10_64Guest": "5.0",
@@ -8745,16 +8836,20 @@ func init() {
"darwin19_64Guest": "7.0",
"darwin20_64Guest": "7.0.1.0",
"darwin21_64Guest": "7.0.1.0",
+ "darwin22_64Guest": "8.0.0.1",
+ "darwin23_64Guest": "8.0.0.1",
"vmkernelGuest": "5.0",
"vmkernel5Guest": "5.0",
"vmkernel6Guest": "6.0",
"vmkernel65Guest": "6.5",
"vmkernel7Guest": "7.0",
+ "vmkernel8Guest": "8.0.0.1",
"amazonlinux2_64Guest": "6.7.1",
"amazonlinux3_64Guest": "7.0.1.0",
"crxPod1Guest": "7.0",
+ "rockylinux_64Guest": "8.0.0.1",
+ "almalinux_64Guest": "8.0.0.1",
}
- t["VirtualMachineGuestOsIdentifier"] = reflect.TypeOf((*VirtualMachineGuestOsIdentifier)(nil)).Elem()
}
// The possible hints that the guest could display about current tasks
@@ -8820,8 +8915,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineMemoryAllocationPolicy"] = "2.5"
t["VirtualMachineMemoryAllocationPolicy"] = reflect.TypeOf((*VirtualMachineMemoryAllocationPolicy)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMemoryAllocationPolicy"] = "2.5"
}
type VirtualMachineMetadataManagerVmMetadataOp string
@@ -8834,8 +8929,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOp"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadataOp"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOp)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOp"] = "5.5"
}
// This enum contains a list of valid owner values for
@@ -8846,8 +8941,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwnerOwner"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadataOwnerOwner"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOwnerOwner)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwnerOwner"] = "5.5"
}
// MovePriority is an enumeration of values that indicate the priority of the task
@@ -8891,11 +8986,11 @@ const (
)
func init() {
+ t["VirtualMachineNeedSecondaryReason"] = reflect.TypeOf((*VirtualMachineNeedSecondaryReason)(nil)).Elem()
minAPIVersionForType["VirtualMachineNeedSecondaryReason"] = "4.0"
minAPIVersionForEnumValue["VirtualMachineNeedSecondaryReason"] = map[string]string{
"checkpointError": "6.0",
}
- t["VirtualMachineNeedSecondaryReason"] = reflect.TypeOf((*VirtualMachineNeedSecondaryReason)(nil)).Elem()
}
type VirtualMachinePowerOffBehavior string
@@ -8912,11 +9007,11 @@ const (
)
func init() {
+ t["VirtualMachinePowerOffBehavior"] = reflect.TypeOf((*VirtualMachinePowerOffBehavior)(nil)).Elem()
minAPIVersionForType["VirtualMachinePowerOffBehavior"] = "2.5"
minAPIVersionForEnumValue["VirtualMachinePowerOffBehavior"] = map[string]string{
"take": "6.0",
}
- t["VirtualMachinePowerOffBehavior"] = reflect.TypeOf((*VirtualMachinePowerOffBehavior)(nil)).Elem()
}
// The list of possible default power operations available for the virtual machine
@@ -8977,8 +9072,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineRecordReplayState"] = "4.0"
t["VirtualMachineRecordReplayState"] = reflect.TypeOf((*VirtualMachineRecordReplayState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineRecordReplayState"] = "4.0"
}
// Specifies how a virtual disk is moved or copied to a
@@ -9055,11 +9150,11 @@ const (
)
func init() {
+ t["VirtualMachineRelocateDiskMoveOptions"] = reflect.TypeOf((*VirtualMachineRelocateDiskMoveOptions)(nil)).Elem()
minAPIVersionForType["VirtualMachineRelocateDiskMoveOptions"] = "4.0"
minAPIVersionForEnumValue["VirtualMachineRelocateDiskMoveOptions"] = map[string]string{
"moveAllDiskBackingsAndConsolidate": "5.1",
}
- t["VirtualMachineRelocateDiskMoveOptions"] = reflect.TypeOf((*VirtualMachineRelocateDiskMoveOptions)(nil)).Elem()
}
// Deprecated as of vSphere API 5.0.
@@ -9115,8 +9210,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineSgxInfoFlcModes"] = "7.0"
t["VirtualMachineSgxInfoFlcModes"] = reflect.TypeOf((*VirtualMachineSgxInfoFlcModes)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSgxInfoFlcModes"] = "7.0"
}
// The list of possible standby actions that the virtual machine can take
@@ -9189,13 +9284,13 @@ const (
)
func init() {
+ t["VirtualMachineTicketType"] = reflect.TypeOf((*VirtualMachineTicketType)(nil)).Elem()
minAPIVersionForType["VirtualMachineTicketType"] = "4.1"
minAPIVersionForEnumValue["VirtualMachineTicketType"] = map[string]string{
"webmks": "6.0",
"guestIntegrity": "6.7",
"webRemoteDevice": "7.0",
}
- t["VirtualMachineTicketType"] = reflect.TypeOf((*VirtualMachineTicketType)(nil)).Elem()
}
type VirtualMachineToolsInstallType string
@@ -9222,8 +9317,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineToolsInstallType"] = "6.5"
t["VirtualMachineToolsInstallType"] = reflect.TypeOf((*VirtualMachineToolsInstallType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineToolsInstallType"] = "6.5"
}
// Current running status of VMware Tools running in the guest
@@ -9239,8 +9334,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineToolsRunningStatus"] = "4.0"
t["VirtualMachineToolsRunningStatus"] = reflect.TypeOf((*VirtualMachineToolsRunningStatus)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineToolsRunningStatus"] = "4.0"
}
// Deprecated as of vSphere API 4.0 use `VirtualMachineToolsVersionStatus_enum`
@@ -9298,6 +9393,7 @@ const (
)
func init() {
+ t["VirtualMachineToolsVersionStatus"] = reflect.TypeOf((*VirtualMachineToolsVersionStatus)(nil)).Elem()
minAPIVersionForType["VirtualMachineToolsVersionStatus"] = "4.0"
minAPIVersionForEnumValue["VirtualMachineToolsVersionStatus"] = map[string]string{
"guestToolsTooOld": "5.0",
@@ -9306,7 +9402,6 @@ func init() {
"guestToolsTooNew": "5.0",
"guestToolsBlacklisted": "5.0",
}
- t["VirtualMachineToolsVersionStatus"] = reflect.TypeOf((*VirtualMachineToolsVersionStatus)(nil)).Elem()
}
type VirtualMachineUsbInfoFamily string
@@ -9356,8 +9451,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineUsbInfoFamily"] = "2.5"
t["VirtualMachineUsbInfoFamily"] = reflect.TypeOf((*VirtualMachineUsbInfoFamily)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineUsbInfoFamily"] = "2.5"
}
type VirtualMachineUsbInfoSpeed string
@@ -9380,12 +9475,13 @@ const (
)
func init() {
+ t["VirtualMachineUsbInfoSpeed"] = reflect.TypeOf((*VirtualMachineUsbInfoSpeed)(nil)).Elem()
minAPIVersionForType["VirtualMachineUsbInfoSpeed"] = "2.5"
minAPIVersionForEnumValue["VirtualMachineUsbInfoSpeed"] = map[string]string{
- "superSpeed": "5.0",
- "superSpeedPlus": "6.8.7",
+ "superSpeed": "5.0",
+ "superSpeedPlus": "6.8.7",
+ "superSpeed20Gbps": "7.0.3.2",
}
- t["VirtualMachineUsbInfoSpeed"] = reflect.TypeOf((*VirtualMachineUsbInfoSpeed)(nil)).Elem()
}
// Set of possible values for action field in FilterSpec.
@@ -9399,8 +9495,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceAction"] = "6.0"
t["VirtualMachineVMCIDeviceAction"] = reflect.TypeOf((*VirtualMachineVMCIDeviceAction)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceAction"] = "6.0"
}
type VirtualMachineVMCIDeviceDirection string
@@ -9415,8 +9511,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceDirection"] = "6.0"
t["VirtualMachineVMCIDeviceDirection"] = reflect.TypeOf((*VirtualMachineVMCIDeviceDirection)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceDirection"] = "6.0"
}
type VirtualMachineVMCIDeviceProtocol string
@@ -9444,11 +9540,10 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceProtocol"] = "6.0"
t["VirtualMachineVMCIDeviceProtocol"] = reflect.TypeOf((*VirtualMachineVMCIDeviceProtocol)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceProtocol"] = "6.0"
}
-// Type of component device.
type VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType string
const (
@@ -9460,6 +9555,7 @@ const (
func init() {
t["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfoComponentType"] = "8.0.0.1"
}
type VirtualMachineVgpuProfileInfoProfileClass string
@@ -9470,8 +9566,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileClass"] = "7.0.3.0"
t["VirtualMachineVgpuProfileInfoProfileClass"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileClass)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileClass"] = "7.0.3.0"
}
type VirtualMachineVgpuProfileInfoProfileSharing string
@@ -9484,8 +9580,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileSharing"] = "7.0.3.0"
t["VirtualMachineVgpuProfileInfoProfileSharing"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfoProfileSharing)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVgpuProfileInfoProfileSharing"] = "7.0.3.0"
}
type VirtualMachineVideoCardUse3dRenderer string
@@ -9500,8 +9596,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVideoCardUse3dRenderer"] = "5.1"
t["VirtualMachineVideoCardUse3dRenderer"] = reflect.TypeOf((*VirtualMachineVideoCardUse3dRenderer)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVideoCardUse3dRenderer"] = "5.1"
}
type VirtualMachineVirtualDeviceSwapDeviceSwapStatus string
@@ -9521,6 +9617,7 @@ const (
func init() {
t["VirtualMachineVirtualDeviceSwapDeviceSwapStatus"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwapDeviceSwapStatus)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualDeviceSwapDeviceSwapStatus"] = "8.0.0.1"
}
type VirtualMachineVirtualPMemSnapshotMode string
@@ -9536,8 +9633,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineVirtualPMemSnapshotMode"] = "7.0.3.0"
t["VirtualMachineVirtualPMemSnapshotMode"] = reflect.TypeOf((*VirtualMachineVirtualPMemSnapshotMode)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualPMemSnapshotMode"] = "7.0.3.0"
}
// The VSS Snapshot Context
@@ -9557,8 +9654,20 @@ const (
)
func init() {
- minAPIVersionForType["VirtualMachineWindowsQuiesceSpecVssBackupContext"] = "6.5"
t["VirtualMachineWindowsQuiesceSpecVssBackupContext"] = reflect.TypeOf((*VirtualMachineWindowsQuiesceSpecVssBackupContext)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineWindowsQuiesceSpecVssBackupContext"] = "6.5"
+}
+
+type VirtualNVMEControllerSharing string
+
+const (
+ VirtualNVMEControllerSharingNoSharing = VirtualNVMEControllerSharing("noSharing")
+ VirtualNVMEControllerSharingPhysicalSharing = VirtualNVMEControllerSharing("physicalSharing")
+)
+
+func init() {
+ t["VirtualNVMEControllerSharing"] = reflect.TypeOf((*VirtualNVMEControllerSharing)(nil)).Elem()
+ minAPIVersionForType["VirtualNVMEControllerSharing"] = "8.0.2.0"
}
// The valid choices for host pointing devices are:
@@ -9644,8 +9753,8 @@ const (
)
func init() {
- minAPIVersionForType["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = "6.7"
t["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = reflect.TypeOf((*VirtualVmxnet3VrdmaOptionDeviceProtocols)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet3VrdmaOptionDeviceProtocols"] = "6.7"
}
type VmDasBeingResetEventReasonCode string
@@ -9662,12 +9771,12 @@ const (
)
func init() {
+ t["VmDasBeingResetEventReasonCode"] = reflect.TypeOf((*VmDasBeingResetEventReasonCode)(nil)).Elem()
minAPIVersionForType["VmDasBeingResetEventReasonCode"] = "4.1"
minAPIVersionForEnumValue["VmDasBeingResetEventReasonCode"] = map[string]string{
"appImmediateResetRequest": "5.5",
"vmcpResetApdCleared": "6.0",
}
- t["VmDasBeingResetEventReasonCode"] = reflect.TypeOf((*VmDasBeingResetEventReasonCode)(nil)).Elem()
}
type VmFailedStartingSecondaryEventFailureReason string
@@ -9688,8 +9797,8 @@ const (
)
func init() {
- minAPIVersionForType["VmFailedStartingSecondaryEventFailureReason"] = "4.0"
t["VmFailedStartingSecondaryEventFailureReason"] = reflect.TypeOf((*VmFailedStartingSecondaryEventFailureReason)(nil)).Elem()
+ minAPIVersionForType["VmFailedStartingSecondaryEventFailureReason"] = "4.0"
}
type VmFaultToleranceConfigIssueReasonForIssue string
@@ -9748,7 +9857,7 @@ const (
VmFaultToleranceConfigIssueReasonForIssueEsxAgentVm = VmFaultToleranceConfigIssueReasonForIssue("esxAgentVm")
// The virtual machine video device has 3D enabled
VmFaultToleranceConfigIssueReasonForIssueVideo3dEnabled = VmFaultToleranceConfigIssueReasonForIssue("video3dEnabled")
- // `**Since:**` vSphere API 5.1
+ // `**Since:**` vSphere API Release 5.1
VmFaultToleranceConfigIssueReasonForIssueHasUnsupportedDisk = VmFaultToleranceConfigIssueReasonForIssue("hasUnsupportedDisk")
// FT logging nic does not have desired bandwidth
VmFaultToleranceConfigIssueReasonForIssueInsufficientBandwidth = VmFaultToleranceConfigIssueReasonForIssue("insufficientBandwidth")
@@ -9781,6 +9890,7 @@ const (
)
func init() {
+ t["VmFaultToleranceConfigIssueReasonForIssue"] = reflect.TypeOf((*VmFaultToleranceConfigIssueReasonForIssue)(nil)).Elem()
minAPIVersionForType["VmFaultToleranceConfigIssueReasonForIssue"] = "4.0"
minAPIVersionForEnumValue["VmFaultToleranceConfigIssueReasonForIssue"] = map[string]string{
"esxAgentVm": "5.0",
@@ -9798,7 +9908,6 @@ func init() {
"tooMuchMemory": "6.7",
"unsupportedPMemHAFailOver": "7.0.2.0",
}
- t["VmFaultToleranceConfigIssueReasonForIssue"] = reflect.TypeOf((*VmFaultToleranceConfigIssueReasonForIssue)(nil)).Elem()
}
type VmFaultToleranceInvalidFileBackingDeviceType string
@@ -9817,8 +9926,8 @@ const (
)
func init() {
- minAPIVersionForType["VmFaultToleranceInvalidFileBackingDeviceType"] = "4.0"
t["VmFaultToleranceInvalidFileBackingDeviceType"] = reflect.TypeOf((*VmFaultToleranceInvalidFileBackingDeviceType)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceInvalidFileBackingDeviceType"] = "4.0"
}
type VmShutdownOnIsolationEventOperation string
@@ -9831,8 +9940,8 @@ const (
)
func init() {
- minAPIVersionForType["VmShutdownOnIsolationEventOperation"] = "4.0"
t["VmShutdownOnIsolationEventOperation"] = reflect.TypeOf((*VmShutdownOnIsolationEventOperation)(nil)).Elem()
+ minAPIVersionForType["VmShutdownOnIsolationEventOperation"] = "4.0"
}
type VmwareDistributedVirtualSwitchPvlanPortType string
@@ -9853,8 +9962,8 @@ const (
)
func init() {
- minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanPortType"] = "4.0"
t["VmwareDistributedVirtualSwitchPvlanPortType"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchPvlanPortType)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanPortType"] = "4.0"
}
type VsanDiskIssueType string
@@ -9866,8 +9975,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanDiskIssueType"] = "5.5"
t["VsanDiskIssueType"] = reflect.TypeOf((*VsanDiskIssueType)(nil)).Elem()
+ minAPIVersionForType["VsanDiskIssueType"] = "5.5"
}
// The action to take with regard to storage objects upon decommissioning
@@ -9885,8 +9994,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanHostDecommissionModeObjectAction"] = "5.5"
t["VsanHostDecommissionModeObjectAction"] = reflect.TypeOf((*VsanHostDecommissionModeObjectAction)(nil)).Elem()
+ minAPIVersionForType["VsanHostDecommissionModeObjectAction"] = "5.5"
}
// Values used for indicating a disk's status for use by the VSAN service.
@@ -9913,8 +10022,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanHostDiskResultState"] = "5.5"
t["VsanHostDiskResultState"] = reflect.TypeOf((*VsanHostDiskResultState)(nil)).Elem()
+ minAPIVersionForType["VsanHostDiskResultState"] = "5.5"
}
// A `VsanHostHealthState_enum` represents the state of a participating
@@ -9931,8 +10040,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanHostHealthState"] = "5.5"
t["VsanHostHealthState"] = reflect.TypeOf((*VsanHostHealthState)(nil)).Elem()
+ minAPIVersionForType["VsanHostHealthState"] = "5.5"
}
// A `VsanHostNodeState_enum` represents the state of participation of a host
@@ -9973,8 +10082,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanHostNodeState"] = "5.5"
t["VsanHostNodeState"] = reflect.TypeOf((*VsanHostNodeState)(nil)).Elem()
+ minAPIVersionForType["VsanHostNodeState"] = "5.5"
}
type VsanUpgradeSystemUpgradeHistoryDiskGroupOpType string
@@ -9987,8 +10096,8 @@ const (
)
func init() {
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOpType"] = "6.0"
t["VsanUpgradeSystemUpgradeHistoryDiskGroupOpType"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryDiskGroupOpType)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOpType"] = "6.0"
}
type WeekOfMonth string
@@ -10015,8 +10124,8 @@ const (
)
func init() {
- minAPIVersionForType["WillLoseHAProtectionResolution"] = "5.0"
t["WillLoseHAProtectionResolution"] = reflect.TypeOf((*WillLoseHAProtectionResolution)(nil)).Elem()
+ minAPIVersionForType["WillLoseHAProtectionResolution"] = "5.0"
}
type VslmDiskInfoFlag string
diff --git a/vim25/types/registry.go b/vim25/types/registry.go
index a49bc2a8b..6fdb1fa75 100644
--- a/vim25/types/registry.go
+++ b/vim25/types/registry.go
@@ -37,6 +37,20 @@ func Add(name string, kind reflect.Type) {
t[name] = kind
}
+func AddMinAPIVersionForType(name, minAPIVersion string) {
+ minAPIVersionForType[name] = minAPIVersion
+}
+
+func AddMinAPIVersionForEnumValue(enumName, enumValue, minAPIVersion string) {
+ if v, ok := minAPIVersionForEnumValue[enumName]; ok {
+ v[enumValue] = minAPIVersion
+ } else {
+ minAPIVersionForEnumValue[enumName] = map[string]string{
+ enumValue: minAPIVersion,
+ }
+ }
+}
+
type Func func(string) (reflect.Type, bool)
func TypeFunc() Func {
diff --git a/vim25/types/types.go b/vim25/types/types.go
index e34a5d8fe..dc9976b5b 100644
--- a/vim25/types/types.go
+++ b/vim25/types/types.go
@@ -68,7 +68,7 @@ type AbortCustomizationRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
}
func init() {
@@ -280,7 +280,7 @@ type AcquireCredentialsInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data used to acquire credentials.
// See `GuestAuthentication`.
- RequestedAuth BaseGuestAuthentication `xml:"requestedAuth,typeattr" json:"requestedAuth" vim:"5.0"`
+ RequestedAuth BaseGuestAuthentication `xml:"requestedAuth,typeattr" json:"requestedAuth"`
// The sessionID number should be provided only when
// responding to a server challenge. The sessionID number to be used with
// the challenge is found in the
@@ -307,7 +307,7 @@ type AcquireGenericServiceTicketRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// specification for the service request which will be
// invoked with the ticket.
- Spec BaseSessionManagerServiceRequestSpec `xml:"spec,typeattr" json:"spec" vim:"5.0"`
+ Spec BaseSessionManagerServiceRequestSpec `xml:"spec,typeattr" json:"spec"`
}
func init() {
@@ -397,12 +397,12 @@ type ActiveDirectoryFault struct {
VimFault
// The error code reported by the Active Directory API.
- ErrorCode int32 `xml:"errorCode,omitempty" json:"errorCode,omitempty" vim:"4.1"`
+ ErrorCode int32 `xml:"errorCode,omitempty" json:"errorCode,omitempty"`
}
func init() {
- minAPIVersionForType["ActiveDirectoryFault"] = "4.1"
t["ActiveDirectoryFault"] = reflect.TypeOf((*ActiveDirectoryFault)(nil)).Elem()
+ minAPIVersionForType["ActiveDirectoryFault"] = "4.1"
}
type ActiveDirectoryFaultFault BaseActiveDirectoryFault
@@ -422,8 +422,8 @@ type ActiveDirectoryProfile struct {
}
func init() {
- minAPIVersionForType["ActiveDirectoryProfile"] = "4.1"
t["ActiveDirectoryProfile"] = reflect.TypeOf((*ActiveDirectoryProfile)(nil)).Elem()
+ minAPIVersionForType["ActiveDirectoryProfile"] = "4.1"
}
// An attempt to enable Enhanced VMotion Compatibility on a cluster, or to
@@ -458,8 +458,8 @@ type ActiveVMsBlockingEVC struct {
}
func init() {
- minAPIVersionForType["ActiveVMsBlockingEVC"] = "2.5u2"
t["ActiveVMsBlockingEVC"] = reflect.TypeOf((*ActiveVMsBlockingEVC)(nil)).Elem()
+ minAPIVersionForType["ActiveVMsBlockingEVC"] = "2.5u2"
}
type ActiveVMsBlockingEVCFault ActiveVMsBlockingEVC
@@ -504,7 +504,7 @@ type AddCustomFieldDefRequestType struct {
Name string `xml:"name" json:"name"`
// The managed object type to which this field
// will apply
- MoType string `xml:"moType,omitempty" json:"moType,omitempty"`
+ MoType string `xml:"moType,omitempty" json:"moType,omitempty" vim:"2.5"`
// Privilege policy to apply to FieldDef being
// created
FieldDefPolicy *PrivilegePolicyDef `xml:"fieldDefPolicy,omitempty" json:"fieldDefPolicy,omitempty" vim:"2.5"`
@@ -524,7 +524,7 @@ type AddCustomFieldDefResponse struct {
type AddDVPortgroupRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The specification for the portgroup.
- Spec []DVPortgroupConfigSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec []DVPortgroupConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -633,7 +633,7 @@ type AddGuestAliasRequestType struct {
// `GuestAuthentication`. These credentials must satisfy
// authentication requirements
// for a guest account on the specified virtual machine.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// Username for the guest account on the virtual machine.
Username string `xml:"username" json:"username"`
// Indicates whether the certificate associated with the
@@ -653,7 +653,7 @@ type AddGuestAliasRequestType struct {
// the value of the Subject element
// in SAML tokens. The ESXi Server uses the subject
// name to authenticate guest operation requests.
- AliasInfo GuestAuthAliasInfo `xml:"aliasInfo" json:"aliasInfo" vim:"6.0"`
+ AliasInfo GuestAuthAliasInfo `xml:"aliasInfo" json:"aliasInfo"`
}
func init() {
@@ -679,7 +679,7 @@ type AddHostRequestType struct {
// Refers instance of `ResourcePool`.
ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
// Provide a licenseKey or licenseKeyType. See `LicenseManager`
- License string `xml:"license,omitempty" json:"license,omitempty"`
+ License string `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
}
func init() {
@@ -750,7 +750,7 @@ func init() {
type AddKeyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] The cryptographic key to add.
- Key CryptoKeyPlain `xml:"key" json:"key" vim:"6.5"`
+ Key CryptoKeyPlain `xml:"key" json:"key"`
}
func init() {
@@ -770,7 +770,7 @@ func init() {
type AddKeysRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] List of cryptographic keys to add.
- Keys []CryptoKeyPlain `xml:"keys,omitempty" json:"keys,omitempty" vim:"6.5"`
+ Keys []CryptoKeyPlain `xml:"keys,omitempty" json:"keys,omitempty"`
}
func init() {
@@ -793,7 +793,7 @@ type AddLicenseRequestType struct {
// A license. E.g. a serial license.
LicenseKey string `xml:"licenseKey" json:"licenseKey"`
// array of key-value labels. Ignored by ESX Server.
- Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty" vim:"2.5"`
+ Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty"`
}
func init() {
@@ -839,7 +839,7 @@ func init() {
type AddNetworkResourcePoolRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// the network resource pool configuration specification.
- ConfigSpec []DVSNetworkResourcePoolConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.1"`
+ ConfigSpec []DVSNetworkResourcePoolConfigSpec `xml:"configSpec" json:"configSpec"`
}
func init() {
@@ -902,7 +902,7 @@ type AddStandaloneHostRequestType struct {
// be added if a connection attempt is made and fails.
AddConnected bool `xml:"addConnected" json:"addConnected"`
// Provide a licenseKey or licenseKeyType. See `LicenseManager`
- License string `xml:"license,omitempty" json:"license,omitempty"`
+ License string `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
}
func init() {
@@ -969,8 +969,8 @@ type AdminDisabled struct {
}
func init() {
- minAPIVersionForType["AdminDisabled"] = "2.5"
t["AdminDisabled"] = reflect.TypeOf((*AdminDisabled)(nil)).Elem()
+ minAPIVersionForType["AdminDisabled"] = "2.5"
}
type AdminDisabledFault AdminDisabled
@@ -986,8 +986,8 @@ type AdminNotDisabled struct {
}
func init() {
- minAPIVersionForType["AdminNotDisabled"] = "2.5"
t["AdminNotDisabled"] = reflect.TypeOf((*AdminNotDisabled)(nil)).Elem()
+ minAPIVersionForType["AdminNotDisabled"] = "2.5"
}
type AdminNotDisabledFault AdminNotDisabled
@@ -1002,8 +1002,8 @@ type AdminPasswordNotChangedEvent struct {
}
func init() {
- minAPIVersionForType["AdminPasswordNotChangedEvent"] = "2.5"
t["AdminPasswordNotChangedEvent"] = reflect.TypeOf((*AdminPasswordNotChangedEvent)(nil)).Elem()
+ minAPIVersionForType["AdminPasswordNotChangedEvent"] = "2.5"
}
// Virtual machine has a configured memory and/or CPU affinity that will
@@ -1078,14 +1078,14 @@ type AlarmAcknowledgedEvent struct {
AlarmEvent
// The entity that triggered the alarm.
- Source ManagedEntityEventArgument `xml:"source" json:"source" vim:"5.0"`
+ Source ManagedEntityEventArgument `xml:"source" json:"source"`
// The entity with which the alarm is registered.
- Entity ManagedEntityEventArgument `xml:"entity" json:"entity" vim:"5.0"`
+ Entity ManagedEntityEventArgument `xml:"entity" json:"entity"`
}
func init() {
- minAPIVersionForType["AlarmAcknowledgedEvent"] = "5.0"
t["AlarmAcknowledgedEvent"] = reflect.TypeOf((*AlarmAcknowledgedEvent)(nil)).Elem()
+ minAPIVersionForType["AlarmAcknowledgedEvent"] = "5.0"
}
// Action invoked by triggered alarm.
@@ -1118,16 +1118,16 @@ type AlarmClearedEvent struct {
AlarmEvent
// The entity that triggered the alarm.
- Source ManagedEntityEventArgument `xml:"source" json:"source" vim:"5.0"`
+ Source ManagedEntityEventArgument `xml:"source" json:"source"`
// The entity with which the alarm is registered.
- Entity ManagedEntityEventArgument `xml:"entity" json:"entity" vim:"5.0"`
+ Entity ManagedEntityEventArgument `xml:"entity" json:"entity"`
// The original alarm status from which it was cleared
- From string `xml:"from" json:"from" vim:"5.0"`
+ From string `xml:"from" json:"from"`
}
func init() {
- minAPIVersionForType["AlarmClearedEvent"] = "5.0"
t["AlarmClearedEvent"] = reflect.TypeOf((*AlarmClearedEvent)(nil)).Elem()
+ minAPIVersionForType["AlarmClearedEvent"] = "5.0"
}
// This event records the creation of an alarm.
@@ -1248,16 +1248,16 @@ type AlarmFilterSpec struct {
//
// If all triggered alarms need to be matched an empty array or
// ManagedEntity::red and ManagedEntity::yellow could be filled in the array.
- Status []ManagedEntityStatus `xml:"status,omitempty" json:"status,omitempty" vim:"6.7"`
+ Status []ManagedEntityStatus `xml:"status,omitempty" json:"status,omitempty"`
// Use values from `AlarmFilterSpecAlarmTypeByEntity_enum`
- TypeEntity string `xml:"typeEntity,omitempty" json:"typeEntity,omitempty" vim:"6.7"`
+ TypeEntity string `xml:"typeEntity,omitempty" json:"typeEntity,omitempty"`
// Use values from `AlarmFilterSpecAlarmTypeByTrigger_enum`
- TypeTrigger string `xml:"typeTrigger,omitempty" json:"typeTrigger,omitempty" vim:"6.7"`
+ TypeTrigger string `xml:"typeTrigger,omitempty" json:"typeTrigger,omitempty"`
}
func init() {
- minAPIVersionForType["AlarmFilterSpec"] = "6.7"
t["AlarmFilterSpec"] = reflect.TypeOf((*AlarmFilterSpec)(nil)).Elem()
+ minAPIVersionForType["AlarmFilterSpec"] = "6.7"
}
// Attributes of an alarm.
@@ -1578,19 +1578,19 @@ type AlarmTriggeringActionTransitionSpec struct {
// fire.
//
// Valid choices are red, yellow and green.
- StartState ManagedEntityStatus `xml:"startState" json:"startState" vim:"4.0"`
+ StartState ManagedEntityStatus `xml:"startState" json:"startState"`
// The state to which the alarm must transition for the action to fire.
//
// Valid choices are red, yellow, and green.
- FinalState ManagedEntityStatus `xml:"finalState" json:"finalState" vim:"4.0"`
+ FinalState ManagedEntityStatus `xml:"finalState" json:"finalState"`
// Whether or not the action repeats, as per the actionFrequency defined
// in the enclosing Alarm.
- Repeats bool `xml:"repeats" json:"repeats" vim:"4.0"`
+ Repeats bool `xml:"repeats" json:"repeats"`
}
func init() {
- minAPIVersionForType["AlarmTriggeringActionTransitionSpec"] = "4.0"
t["AlarmTriggeringActionTransitionSpec"] = reflect.TypeOf((*AlarmTriggeringActionTransitionSpec)(nil)).Elem()
+ minAPIVersionForType["AlarmTriggeringActionTransitionSpec"] = "4.0"
}
// This event records that the previously unlicensed virtual machines on
@@ -1606,8 +1606,8 @@ type AllVirtualMachinesLicensedEvent struct {
}
func init() {
- minAPIVersionForType["AllVirtualMachinesLicensedEvent"] = "2.5"
t["AllVirtualMachinesLicensedEvent"] = reflect.TypeOf((*AllVirtualMachinesLicensedEvent)(nil)).Elem()
+ minAPIVersionForType["AllVirtualMachinesLicensedEvent"] = "2.5"
}
type AllocateIpv4Address AllocateIpv4AddressRequestType
@@ -1791,16 +1791,16 @@ type AnswerFile struct {
DynamicData
// List containing host-specific configuration data.
- UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty" vim:"5.0"`
+ UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty"`
// Time at which the answer file was created.
- CreatedTime time.Time `xml:"createdTime" json:"createdTime" vim:"5.0"`
+ CreatedTime time.Time `xml:"createdTime" json:"createdTime"`
// Time at which the answer file was last modified.
- ModifiedTime time.Time `xml:"modifiedTime" json:"modifiedTime" vim:"5.0"`
+ ModifiedTime time.Time `xml:"modifiedTime" json:"modifiedTime"`
}
func init() {
- minAPIVersionForType["AnswerFile"] = "5.0"
t["AnswerFile"] = reflect.TypeOf((*AnswerFile)(nil)).Elem()
+ minAPIVersionForType["AnswerFile"] = "5.0"
}
// Base class for host-specific answer file options.
@@ -1816,8 +1816,8 @@ type AnswerFileCreateSpec struct {
}
func init() {
- minAPIVersionForType["AnswerFileCreateSpec"] = "5.0"
t["AnswerFileCreateSpec"] = reflect.TypeOf((*AnswerFileCreateSpec)(nil)).Elem()
+ minAPIVersionForType["AnswerFileCreateSpec"] = "5.0"
}
// The `AnswerFileOptionsCreateSpec`
@@ -1826,12 +1826,12 @@ type AnswerFileOptionsCreateSpec struct {
AnswerFileCreateSpec
// List of parameters that contain host-specific data.
- UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty" vim:"5.0"`
+ UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty"`
}
func init() {
- minAPIVersionForType["AnswerFileOptionsCreateSpec"] = "5.0"
t["AnswerFileOptionsCreateSpec"] = reflect.TypeOf((*AnswerFileOptionsCreateSpec)(nil)).Elem()
+ minAPIVersionForType["AnswerFileOptionsCreateSpec"] = "5.0"
}
// The `AnswerFileSerializedCreateSpec` data object
@@ -1840,12 +1840,12 @@ type AnswerFileSerializedCreateSpec struct {
AnswerFileCreateSpec
// Host-specific user input.
- AnswerFileConfigString string `xml:"answerFileConfigString" json:"answerFileConfigString" vim:"5.0"`
+ AnswerFileConfigString string `xml:"answerFileConfigString" json:"answerFileConfigString"`
}
func init() {
- minAPIVersionForType["AnswerFileSerializedCreateSpec"] = "5.0"
t["AnswerFileSerializedCreateSpec"] = reflect.TypeOf((*AnswerFileSerializedCreateSpec)(nil)).Elem()
+ minAPIVersionForType["AnswerFileSerializedCreateSpec"] = "5.0"
}
// The `AnswerFileStatusError` data object describes an answer file
@@ -1855,14 +1855,14 @@ type AnswerFileStatusError struct {
DynamicData
// Path to a profile or a policy option for host-specific data.
- UserInputPath ProfilePropertyPath `xml:"userInputPath" json:"userInputPath" vim:"5.0"`
+ UserInputPath ProfilePropertyPath `xml:"userInputPath" json:"userInputPath"`
// Message describing the error.
- ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg" vim:"5.0"`
+ ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg"`
}
func init() {
- minAPIVersionForType["AnswerFileStatusError"] = "5.0"
t["AnswerFileStatusError"] = reflect.TypeOf((*AnswerFileStatusError)(nil)).Elem()
+ minAPIVersionForType["AnswerFileStatusError"] = "5.0"
}
// The `AnswerFileStatusResult` data object shows the validity of the
@@ -1871,23 +1871,23 @@ type AnswerFileStatusResult struct {
DynamicData
// Time that the answer file status was determined.
- CheckedTime time.Time `xml:"checkedTime" json:"checkedTime" vim:"5.0"`
+ CheckedTime time.Time `xml:"checkedTime" json:"checkedTime"`
// Host associated with the answer file.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"5.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Status of the answer file.
//
// See `HostProfileManagerAnswerFileStatus_enum` for valid values.
- Status string `xml:"status" json:"status" vim:"5.0"`
+ Status string `xml:"status" json:"status"`
// If status
is invalid
, this property contains a list
// of status error objects.
- Error []AnswerFileStatusError `xml:"error,omitempty" json:"error,omitempty" vim:"5.0"`
+ Error []AnswerFileStatusError `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["AnswerFileStatusResult"] = "5.0"
t["AnswerFileStatusResult"] = reflect.TypeOf((*AnswerFileStatusResult)(nil)).Elem()
+ minAPIVersionForType["AnswerFileStatusResult"] = "5.0"
}
// Could not update the answer file as it has invalid inputs.
@@ -1895,12 +1895,12 @@ type AnswerFileUpdateFailed struct {
VimFault
// Failures encountered during answer file update
- Failure []AnswerFileUpdateFailure `xml:"failure" json:"failure" vim:"5.0"`
+ Failure []AnswerFileUpdateFailure `xml:"failure" json:"failure"`
}
func init() {
- minAPIVersionForType["AnswerFileUpdateFailed"] = "5.0"
t["AnswerFileUpdateFailed"] = reflect.TypeOf((*AnswerFileUpdateFailed)(nil)).Elem()
+ minAPIVersionForType["AnswerFileUpdateFailed"] = "5.0"
}
type AnswerFileUpdateFailedFault AnswerFileUpdateFailed
@@ -1915,14 +1915,14 @@ type AnswerFileUpdateFailure struct {
DynamicData
// The user input that has the error
- UserInputPath ProfilePropertyPath `xml:"userInputPath" json:"userInputPath" vim:"5.0"`
+ UserInputPath ProfilePropertyPath `xml:"userInputPath" json:"userInputPath"`
// Message which explains the error
- ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg" vim:"5.0"`
+ ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg"`
}
func init() {
- minAPIVersionForType["AnswerFileUpdateFailure"] = "5.0"
t["AnswerFileUpdateFailure"] = reflect.TypeOf((*AnswerFileUpdateFailure)(nil)).Elem()
+ minAPIVersionForType["AnswerFileUpdateFailure"] = "5.0"
}
type AnswerVM AnswerVMRequestType
@@ -1978,7 +1978,7 @@ type ApplyEntitiesConfigRequestType struct {
// required to remediate a host. The API caller should expand
// a cluster to all its hosts for the purpose of providing the
// required data object for configuration apply of each host.
- ApplyConfigSpecs []ApplyHostProfileConfigurationSpec `xml:"applyConfigSpecs,omitempty" json:"applyConfigSpecs,omitempty" vim:"6.5"`
+ ApplyConfigSpecs []ApplyHostProfileConfigurationSpec `xml:"applyConfigSpecs,omitempty" json:"applyConfigSpecs,omitempty"`
}
func init() {
@@ -2000,7 +2000,7 @@ type ApplyEvcModeVMRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The feature masks to apply to the virtual machine.
// An empty set of masks will clear EVC settings.
- Mask []HostFeatureMask `xml:"mask,omitempty" json:"mask,omitempty" vim:"5.1"`
+ Mask []HostFeatureMask `xml:"mask,omitempty" json:"mask,omitempty"`
// Defaults to true if not set. A true value implies
// that any unspecified feature will not be exposed to the guest.
// A false value will expose any unspecified feature to the guest
@@ -2036,13 +2036,13 @@ type ApplyHostConfigRequestType struct {
// method in the
// `ProfileExecuteResult*.*ProfileExecuteResult.configSpec`
// property.
- ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec"`
// Additional host-specific data to be applied to the host.
// This data is the complete list of deferred parameters verified by the
// `HostProfile*.*HostProfile.ExecuteHostProfile`
// method, contained in the `ProfileExecuteResult` object
// returned by the method.
- UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty" vim:"4.0"`
+ UserInput []ProfileDeferredPolicyOptionParameter `xml:"userInput,omitempty" json:"userInput,omitempty" vim:"5.0"`
}
func init() {
@@ -2066,27 +2066,27 @@ type ApplyHostProfileConfigurationResult struct {
DynamicData
// Time that the host config apply starts.
- StartTime time.Time `xml:"startTime" json:"startTime" vim:"6.5"`
+ StartTime time.Time `xml:"startTime" json:"startTime"`
// Time that the host config apply completes.
- CompleteTime time.Time `xml:"completeTime" json:"completeTime" vim:"6.5"`
+ CompleteTime time.Time `xml:"completeTime" json:"completeTime"`
// Host to be remediated.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Status of the remediation.
//
// See
// `ApplyHostProfileConfigurationResultStatus_enum`
// for valid values.
- Status string `xml:"status" json:"status" vim:"6.5"`
+ Status string `xml:"status" json:"status"`
// If status
is fail
, this property contains
// a list of status error message objects.
- Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty" vim:"6.5"`
+ Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty"`
}
func init() {
- minAPIVersionForType["ApplyHostProfileConfigurationResult"] = "6.5"
t["ApplyHostProfileConfigurationResult"] = reflect.TypeOf((*ApplyHostProfileConfigurationResult)(nil)).Elem()
+ minAPIVersionForType["ApplyHostProfileConfigurationResult"] = "6.5"
}
// The data object that contains the objects needed to remediate a host
@@ -2097,13 +2097,13 @@ type ApplyHostProfileConfigurationSpec struct {
// The host to be remediated.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The task requirements from the results of
// `HostProfileManager.GenerateConfigTaskList` method
- TaskListRequirement []string `xml:"taskListRequirement,omitempty" json:"taskListRequirement,omitempty" vim:"6.5"`
+ TaskListRequirement []string `xml:"taskListRequirement,omitempty" json:"taskListRequirement,omitempty"`
// Description of tasks that will be performed on the host
// to carry out HostProfile application.
- TaskDescription []LocalizableMessage `xml:"taskDescription,omitempty" json:"taskDescription,omitempty" vim:"6.5"`
+ TaskDescription []LocalizableMessage `xml:"taskDescription,omitempty" json:"taskDescription,omitempty"`
// For a stateless host, there are two approaches to apply a host
// profile:
// (1) Reboot the host and apply the host profile at boot time.
@@ -2113,7 +2113,7 @@ type ApplyHostProfileConfigurationSpec struct {
// The variable rebootStateless allows users to choose the first
// approach from the two approaches above:
// apply host profile by rebooting this host.
- RebootStateless *bool `xml:"rebootStateless" json:"rebootStateless,omitempty" vim:"6.5"`
+ RebootStateless *bool `xml:"rebootStateless" json:"rebootStateless,omitempty"`
// For regular apply, when some of the tasks requires reboot,
// that this variable istrue
indicates that the
// reboot automatically happens in the batch profile apply
@@ -2122,14 +2122,14 @@ type ApplyHostProfileConfigurationSpec struct {
// For stateless host, this variable takes effect only when
// the variable rebootStateless
above is
// false
.
- RebootHost *bool `xml:"rebootHost" json:"rebootHost,omitempty" vim:"6.5"`
+ RebootHost *bool `xml:"rebootHost" json:"rebootHost,omitempty"`
// This contains the error details.
- FaultData *LocalizedMethodFault `xml:"faultData,omitempty" json:"faultData,omitempty" vim:"6.5"`
+ FaultData *LocalizedMethodFault `xml:"faultData,omitempty" json:"faultData,omitempty"`
}
func init() {
- minAPIVersionForType["ApplyHostProfileConfigurationSpec"] = "6.5"
t["ApplyHostProfileConfigurationSpec"] = reflect.TypeOf((*ApplyHostProfileConfigurationSpec)(nil)).Elem()
+ minAPIVersionForType["ApplyHostProfileConfigurationSpec"] = "6.5"
}
// The `ApplyProfile` data object is the base class for all data objects
@@ -2141,7 +2141,7 @@ type ApplyProfile struct {
DynamicData
// Indicates whether the profile is enabled.
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// The list of policies comprising the profile.
//
// A `ProfilePolicy`
@@ -2149,7 +2149,7 @@ type ApplyProfile struct {
// The policy option is one of the configuration options from the
// `ProfilePolicyMetadata*.*ProfilePolicyMetadata.possibleOption`
// list.
- Policy []ProfilePolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"4.0"`
+ Policy []ProfilePolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// Identifies the profile type.
ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
// Profile engine version.
@@ -2178,8 +2178,8 @@ type ApplyProfile struct {
}
func init() {
- minAPIVersionForType["ApplyProfile"] = "4.0"
t["ApplyProfile"] = reflect.TypeOf((*ApplyProfile)(nil)).Elem()
+ minAPIVersionForType["ApplyProfile"] = "4.0"
}
type ApplyRecommendation ApplyRecommendationRequestType
@@ -2219,7 +2219,7 @@ type ApplyStorageDrsRecommendationToPodRequestType struct {
// The storage pod.
//
// Refers instance of `StoragePod`.
- Pod ManagedObjectReference `xml:"pod" json:"pod" vim:"5.0"`
+ Pod ManagedObjectReference `xml:"pod" json:"pod"`
// The key field of the Recommendation.
Key string `xml:"key" json:"key"`
}
@@ -2268,12 +2268,12 @@ type ApplyStorageRecommendationResult struct {
// task launched when the recommendation was applied.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
}
func init() {
- minAPIVersionForType["ApplyStorageRecommendationResult"] = "5.0"
t["ApplyStorageRecommendationResult"] = reflect.TypeOf((*ApplyStorageRecommendationResult)(nil)).Elem()
+ minAPIVersionForType["ApplyStorageRecommendationResult"] = "5.0"
}
type AreAlarmActionsEnabled AreAlarmActionsEnabledRequestType
@@ -3658,6 +3658,15 @@ func init() {
t["ArrayOfFileInfo"] = reflect.TypeOf((*ArrayOfFileInfo)(nil)).Elem()
}
+// A boxed array of `FileLockInfo`. To be used in `Any` placeholders.
+type ArrayOfFileLockInfo struct {
+ FileLockInfo []FileLockInfo `xml:"FileLockInfo,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfFileLockInfo"] = reflect.TypeOf((*ArrayOfFileLockInfo)(nil)).Elem()
+}
+
// A boxed array of `FileQuery`. To be used in `Any` placeholders.
type ArrayOfFileQuery struct {
FileQuery []BaseFileQuery `xml:"FileQuery,omitempty,typeattr" json:"_value"`
@@ -4720,15 +4729,6 @@ func init() {
t["ArrayOfHostProfileManagerCompositionValidationResultResultElement"] = reflect.TypeOf((*ArrayOfHostProfileManagerCompositionValidationResultResultElement)(nil)).Elem()
}
-// A boxed array of `HostProfileManagerHostToConfigSpecMap`. To be used in `Any` placeholders.
-type ArrayOfHostProfileManagerHostToConfigSpecMap struct {
- HostProfileManagerHostToConfigSpecMap []HostProfileManagerHostToConfigSpecMap `xml:"HostProfileManagerHostToConfigSpecMap,omitempty" json:"_value"`
-}
-
-func init() {
- t["ArrayOfHostProfileManagerHostToConfigSpecMap"] = reflect.TypeOf((*ArrayOfHostProfileManagerHostToConfigSpecMap)(nil)).Elem()
-}
-
// A boxed array of `HostProfilesEntityCustomizations`. To be used in `Any` placeholders.
type ArrayOfHostProfilesEntityCustomizations struct {
HostProfilesEntityCustomizations []BaseHostProfilesEntityCustomizations `xml:"HostProfilesEntityCustomizations,omitempty,typeattr" json:"_value"`
@@ -5179,6 +5179,24 @@ func init() {
t["ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = reflect.TypeOf((*ArrayOfHostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult)(nil)).Elem()
}
+// A boxed array of `HostVvolNQN`. To be used in `Any` placeholders.
+type ArrayOfHostVvolNQN struct {
+ HostVvolNQN []HostVvolNQN `xml:"HostVvolNQN,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfHostVvolNQN"] = reflect.TypeOf((*ArrayOfHostVvolNQN)(nil)).Elem()
+}
+
+// A boxed array of `HostVvolVolumeHostVvolNQN`. To be used in `Any` placeholders.
+type ArrayOfHostVvolVolumeHostVvolNQN struct {
+ HostVvolVolumeHostVvolNQN []HostVvolVolumeHostVvolNQN `xml:"HostVvolVolumeHostVvolNQN,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfHostVvolVolumeHostVvolNQN"] = reflect.TypeOf((*ArrayOfHostVvolVolumeHostVvolNQN)(nil)).Elem()
+}
+
// A boxed array of `HttpNfcLeaseDatastoreLeaseInfo`. To be used in `Any` placeholders.
type ArrayOfHttpNfcLeaseDatastoreLeaseInfo struct {
HttpNfcLeaseDatastoreLeaseInfo []HttpNfcLeaseDatastoreLeaseInfo `xml:"HttpNfcLeaseDatastoreLeaseInfo,omitempty" json:"_value"`
@@ -7311,6 +7329,15 @@ func init() {
t["ArrayOfVirtualMachineVMCIDeviceFilterSpec"] = reflect.TypeOf((*ArrayOfVirtualMachineVMCIDeviceFilterSpec)(nil)).Elem()
}
+// A boxed array of `VirtualMachineVMotionStunTimeInfo`. To be used in `Any` placeholders.
+type ArrayOfVirtualMachineVMotionStunTimeInfo struct {
+ VirtualMachineVMotionStunTimeInfo []VirtualMachineVMotionStunTimeInfo `xml:"VirtualMachineVMotionStunTimeInfo,omitempty" json:"_value"`
+}
+
+func init() {
+ t["ArrayOfVirtualMachineVMotionStunTimeInfo"] = reflect.TypeOf((*ArrayOfVirtualMachineVMotionStunTimeInfo)(nil)).Elem()
+}
+
// A boxed array of `VirtualMachineVcpuConfig`. To be used in `Any` placeholders.
type ArrayOfVirtualMachineVcpuConfig struct {
VirtualMachineVcpuConfig []VirtualMachineVcpuConfig `xml:"VirtualMachineVcpuConfig,omitempty" json:"_value"`
@@ -7680,7 +7707,7 @@ type AttachDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be operated. See
// `ID`
- DiskId ID `xml:"diskId" json:"diskId" vim:"6.5"`
+ DiskId ID `xml:"diskId" json:"diskId"`
// The datastore where the virtual disk is located.
//
// Refers instance of `Datastore`.
@@ -7766,7 +7793,7 @@ func init() {
type AttachTagToVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The identifier(ID) of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The category to which the tag belongs.
Category string `xml:"category" json:"category"`
// The tag which has to be associated with the virtual storage
@@ -7831,12 +7858,12 @@ type AuthenticationProfile struct {
ApplyProfile
// Subprofile representing the Active Directory configuration.
- ActiveDirectory *ActiveDirectoryProfile `xml:"activeDirectory,omitempty" json:"activeDirectory,omitempty" vim:"4.1"`
+ ActiveDirectory *ActiveDirectoryProfile `xml:"activeDirectory,omitempty" json:"activeDirectory,omitempty"`
}
func init() {
- minAPIVersionForType["AuthenticationProfile"] = "4.1"
t["AuthenticationProfile"] = reflect.TypeOf((*AuthenticationProfile)(nil)).Elem()
+ minAPIVersionForType["AuthenticationProfile"] = "4.1"
}
// Static strings for authorization.
@@ -8080,16 +8107,16 @@ type BackupBlobReadFailure struct {
DvsFault
// The entity name on which backupConfig read failed
- EntityName string `xml:"entityName" json:"entityName" vim:"5.1"`
+ EntityName string `xml:"entityName" json:"entityName"`
// The entity type on which backupConfig read failed
- EntityType string `xml:"entityType" json:"entityType" vim:"5.1"`
+ EntityType string `xml:"entityType" json:"entityType"`
// The fault that occurred.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"5.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["BackupBlobReadFailure"] = "5.1"
t["BackupBlobReadFailure"] = reflect.TypeOf((*BackupBlobReadFailure)(nil)).Elem()
+ minAPIVersionForType["BackupBlobReadFailure"] = "5.1"
}
type BackupBlobReadFailureFault BackupBlobReadFailure
@@ -8103,16 +8130,16 @@ type BackupBlobWriteFailure struct {
DvsFault
// The entity name on which backupConfig write failed
- EntityName string `xml:"entityName" json:"entityName" vim:"5.1"`
+ EntityName string `xml:"entityName" json:"entityName"`
// The entity type on which backupConfig write failed
- EntityType string `xml:"entityType" json:"entityType" vim:"5.1"`
+ EntityType string `xml:"entityType" json:"entityType"`
// The fault that occurred.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"5.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["BackupBlobWriteFailure"] = "5.1"
t["BackupBlobWriteFailure"] = reflect.TypeOf((*BackupBlobWriteFailure)(nil)).Elem()
+ minAPIVersionForType["BackupBlobWriteFailure"] = "5.1"
}
type BackupBlobWriteFailureFault BackupBlobWriteFailure
@@ -8165,11 +8192,11 @@ type BaseConfigInfo struct {
DynamicData
// ID of this object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// Descriptive name of this object.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// The date and time this object was created.
- CreateTime time.Time `xml:"createTime" json:"createTime" vim:"6.5"`
+ CreateTime time.Time `xml:"createTime" json:"createTime"`
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is false.
@@ -8187,7 +8214,7 @@ type BaseConfigInfo struct {
// If not set, the default value is false.
ChangedBlockTrackingEnabled *bool `xml:"changedBlockTrackingEnabled" json:"changedBlockTrackingEnabled,omitempty" vim:"6.7"`
// Backing of this object.
- Backing BaseBaseConfigInfoBackingInfo `xml:"backing,typeattr" json:"backing" vim:"6.5"`
+ Backing BaseBaseConfigInfoBackingInfo `xml:"backing,typeattr" json:"backing"`
// Metadata associated with the FCD if available.
Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"7.0.2.0"`
// VClock associated with the fcd when the operation completed.
@@ -8202,8 +8229,8 @@ type BaseConfigInfo struct {
}
func init() {
- minAPIVersionForType["BaseConfigInfo"] = "6.5"
t["BaseConfigInfo"] = reflect.TypeOf((*BaseConfigInfo)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfo"] = "6.5"
}
// The data object type is a base type of backing of a virtual
@@ -8214,12 +8241,12 @@ type BaseConfigInfoBackingInfo struct {
// The datastore managed object where this backing is located.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"6.5"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["BaseConfigInfoBackingInfo"] = "6.5"
t["BaseConfigInfoBackingInfo"] = reflect.TypeOf((*BaseConfigInfoBackingInfo)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfoBackingInfo"] = "6.5"
}
// The data object type for disk file backing of a virtual storage
@@ -8234,12 +8261,12 @@ type BaseConfigInfoDiskFileBackingInfo struct {
//
// See `BaseConfigInfoDiskFileBackingInfoProvisioningType_enum` for the
// supported types.
- ProvisioningType string `xml:"provisioningType" json:"provisioningType" vim:"6.5"`
+ ProvisioningType string `xml:"provisioningType" json:"provisioningType"`
}
func init() {
- minAPIVersionForType["BaseConfigInfoDiskFileBackingInfo"] = "6.5"
t["BaseConfigInfoDiskFileBackingInfo"] = reflect.TypeOf((*BaseConfigInfoDiskFileBackingInfo)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfoDiskFileBackingInfo"] = "6.5"
}
// Information for file backing of a virtual storage
@@ -8250,10 +8277,10 @@ type BaseConfigInfoFileBackingInfo struct {
BaseConfigInfoBackingInfo
// Full file path for the host file used in this backing.
- FilePath string `xml:"filePath" json:"filePath" vim:"6.5"`
+ FilePath string `xml:"filePath" json:"filePath"`
// Id refers to the backed storage object where the virtual storage object
// is backed on.
- BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty" vim:"6.5"`
+ BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is the root disk backing.
@@ -8266,19 +8293,19 @@ type BaseConfigInfoFileBackingInfo struct {
//
// Only raw disk mappings in
// *virtual compatibility mode* can have parents.
- Parent BaseBaseConfigInfoFileBackingInfo `xml:"parent,omitempty,typeattr" json:"parent,omitempty" vim:"6.5"`
+ Parent BaseBaseConfigInfoFileBackingInfo `xml:"parent,omitempty,typeattr" json:"parent,omitempty"`
// Size allocated by the FS for this file/chain/link/extent only.
//
// This property is used only for a delta disk whose
// `BaseConfigInfoFileBackingInfo.parent` is set.
- DeltaSizeInMB int64 `xml:"deltaSizeInMB,omitempty" json:"deltaSizeInMB,omitempty" vim:"6.5"`
+ DeltaSizeInMB int64 `xml:"deltaSizeInMB,omitempty" json:"deltaSizeInMB,omitempty"`
// key id used to encrypt the backing disk.
KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"7.0"`
}
func init() {
- minAPIVersionForType["BaseConfigInfoFileBackingInfo"] = "6.5"
t["BaseConfigInfoFileBackingInfo"] = reflect.TypeOf((*BaseConfigInfoFileBackingInfo)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfoFileBackingInfo"] = "6.5"
}
// This data object type contains information about raw device mapping.
@@ -8286,19 +8313,19 @@ type BaseConfigInfoRawDiskMappingBackingInfo struct {
BaseConfigInfoFileBackingInfo
// Unique identifier of the LUN accessed by the raw disk mapping.
- LunUuid string `xml:"lunUuid" json:"lunUuid" vim:"6.5"`
+ LunUuid string `xml:"lunUuid" json:"lunUuid"`
// The compatibility mode of the raw disk mapping (RDM).
//
// This must be
// specified when a new virtual disk with an RDM backing is created.
//
// See also `VirtualDiskCompatibilityMode_enum`.
- CompatibilityMode string `xml:"compatibilityMode" json:"compatibilityMode" vim:"6.5"`
+ CompatibilityMode string `xml:"compatibilityMode" json:"compatibilityMode"`
}
func init() {
- minAPIVersionForType["BaseConfigInfoRawDiskMappingBackingInfo"] = "6.5"
t["BaseConfigInfoRawDiskMappingBackingInfo"] = reflect.TypeOf((*BaseConfigInfoRawDiskMappingBackingInfo)(nil)).Elem()
+ minAPIVersionForType["BaseConfigInfoRawDiskMappingBackingInfo"] = "6.5"
}
// The parameters of `Folder.BatchAddHostsToCluster_Task`.
@@ -8311,7 +8338,7 @@ type BatchAddHostsToClusterRequestType struct {
Cluster ManagedObjectReference `xml:"cluster" json:"cluster"`
// Specifies a list of new hosts to be added to
// the cluster. Hosts are first added as standalone hosts.
- NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty" json:"newHosts,omitempty" vim:"6.7.1"`
+ NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty" json:"newHosts,omitempty"`
// Specifies a list of existing hosts to be
// added to the cluster. Hosts are first moved to the desired state
// before moving them to cluster.
@@ -8320,7 +8347,7 @@ type BatchAddHostsToClusterRequestType struct {
ExistingHosts []ManagedObjectReference `xml:"existingHosts,omitempty" json:"existingHosts,omitempty"`
// Specifies the configuration for the compute
// resource that will be created to contain all the hosts.
- CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty" vim:"2.5"`
+ CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty"`
// Specifies desired state for hosts once added to
// the cluster. If not specified, hosts are added to the cluster in their
// current state. See `FolderDesiredHostState_enum` for valid values.
@@ -8345,11 +8372,11 @@ type BatchAddHostsToCluster_TaskResponse struct {
type BatchAddStandaloneHostsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specifies a list of host specifications for new hosts.
- NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty" json:"newHosts,omitempty" vim:"6.7.1"`
+ NewHosts []FolderNewHostSpec `xml:"newHosts,omitempty" json:"newHosts,omitempty"`
// Specifies the configuration for the compute
// resource that will be created to contain all the
// hosts.
- CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty" vim:"2.5"`
+ CompResSpec BaseComputeResourceConfigSpec `xml:"compResSpec,omitempty,typeattr" json:"compResSpec,omitempty"`
// Flag to specify whether or not hosts should be
// connected at the time they are added. A host will not
// be added if a connection attempt is made and fails.
@@ -8396,20 +8423,20 @@ type BatchResult struct {
DynamicData
// Enum value for @link BatchResult.Result
- Result string `xml:"result" json:"result" vim:"6.0"`
+ Result string `xml:"result" json:"result"`
// Host for which the result applies.
- HostKey string `xml:"hostKey" json:"hostKey" vim:"6.0"`
+ HostKey string `xml:"hostKey" json:"hostKey"`
// The datastore that is created.
//
// Refers instance of `Datastore`.
- Ds *ManagedObjectReference `xml:"ds,omitempty" json:"ds,omitempty" vim:"6.0"`
+ Ds *ManagedObjectReference `xml:"ds,omitempty" json:"ds,omitempty"`
// 'fault' would be set if the operation was not successful
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["BatchResult"] = "6.0"
t["BatchResult"] = reflect.TypeOf((*BatchResult)(nil)).Elem()
+ minAPIVersionForType["BatchResult"] = "6.0"
}
type BindVnic BindVnicRequestType
@@ -8442,8 +8469,8 @@ type BlockedByFirewall struct {
}
func init() {
- minAPIVersionForType["BlockedByFirewall"] = "4.1"
t["BlockedByFirewall"] = reflect.TypeOf((*BlockedByFirewall)(nil)).Elem()
+ minAPIVersionForType["BlockedByFirewall"] = "4.1"
}
type BlockedByFirewallFault BlockedByFirewall
@@ -8475,12 +8502,12 @@ type BoolPolicy struct {
InheritablePolicy
// The boolean value that is either set or inherited.
- Value *bool `xml:"value" json:"value,omitempty" vim:"4.0"`
+ Value *bool `xml:"value" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["BoolPolicy"] = "4.0"
t["BoolPolicy"] = reflect.TypeOf((*BoolPolicy)(nil)).Elem()
+ minAPIVersionForType["BoolPolicy"] = "4.0"
}
type BrowseDiagnosticLog BrowseDiagnosticLogRequestType
@@ -8528,8 +8555,8 @@ type CAMServerRefusedConnection struct {
}
func init() {
- minAPIVersionForType["CAMServerRefusedConnection"] = "5.0"
t["CAMServerRefusedConnection"] = reflect.TypeOf((*CAMServerRefusedConnection)(nil)).Elem()
+ minAPIVersionForType["CAMServerRefusedConnection"] = "5.0"
}
type CAMServerRefusedConnectionFault CAMServerRefusedConnection
@@ -8548,10 +8575,10 @@ func init() {
type CanProvisionObjectsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// List of NewPolicyBatch structure with sizes and policies.
- Npbs []VsanNewPolicyBatch `xml:"npbs" json:"npbs" vim:"5.5"`
+ Npbs []VsanNewPolicyBatch `xml:"npbs" json:"npbs"`
// Optionally populate PolicyCost even though
// object cannot be provisioned in the current cluster topology.
- IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty"`
+ IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty" vim:"6.0"`
}
func init() {
@@ -8834,8 +8861,8 @@ type CannotAddHostWithFTVmAsStandalone struct {
}
func init() {
- minAPIVersionForType["CannotAddHostWithFTVmAsStandalone"] = "4.0"
t["CannotAddHostWithFTVmAsStandalone"] = reflect.TypeOf((*CannotAddHostWithFTVmAsStandalone)(nil)).Elem()
+ minAPIVersionForType["CannotAddHostWithFTVmAsStandalone"] = "4.0"
}
type CannotAddHostWithFTVmAsStandaloneFault CannotAddHostWithFTVmAsStandalone
@@ -8851,8 +8878,8 @@ type CannotAddHostWithFTVmToDifferentCluster struct {
}
func init() {
- minAPIVersionForType["CannotAddHostWithFTVmToDifferentCluster"] = "4.0"
t["CannotAddHostWithFTVmToDifferentCluster"] = reflect.TypeOf((*CannotAddHostWithFTVmToDifferentCluster)(nil)).Elem()
+ minAPIVersionForType["CannotAddHostWithFTVmToDifferentCluster"] = "4.0"
}
type CannotAddHostWithFTVmToDifferentClusterFault CannotAddHostWithFTVmToDifferentCluster
@@ -8867,8 +8894,8 @@ type CannotAddHostWithFTVmToNonHACluster struct {
}
func init() {
- minAPIVersionForType["CannotAddHostWithFTVmToNonHACluster"] = "4.0"
t["CannotAddHostWithFTVmToNonHACluster"] = reflect.TypeOf((*CannotAddHostWithFTVmToNonHACluster)(nil)).Elem()
+ minAPIVersionForType["CannotAddHostWithFTVmToNonHACluster"] = "4.0"
}
type CannotAddHostWithFTVmToNonHAClusterFault CannotAddHostWithFTVmToNonHACluster
@@ -8885,14 +8912,14 @@ type CannotChangeDrsBehaviorForFtSecondary struct {
// The virtual machine whose behavior cannot be modified
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Name of the virtual machine
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["CannotChangeDrsBehaviorForFtSecondary"] = "4.1"
t["CannotChangeDrsBehaviorForFtSecondary"] = reflect.TypeOf((*CannotChangeDrsBehaviorForFtSecondary)(nil)).Elem()
+ minAPIVersionForType["CannotChangeDrsBehaviorForFtSecondary"] = "4.1"
}
type CannotChangeDrsBehaviorForFtSecondaryFault CannotChangeDrsBehaviorForFtSecondary
@@ -8909,14 +8936,14 @@ type CannotChangeHaSettingsForFtSecondary struct {
// The FT secondary virtual machine whose behavior cannot be modified
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Name of the FT secondary virtual machine
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["CannotChangeHaSettingsForFtSecondary"] = "4.1"
t["CannotChangeHaSettingsForFtSecondary"] = reflect.TypeOf((*CannotChangeHaSettingsForFtSecondary)(nil)).Elem()
+ minAPIVersionForType["CannotChangeHaSettingsForFtSecondary"] = "4.1"
}
type CannotChangeHaSettingsForFtSecondaryFault CannotChangeHaSettingsForFtSecondary
@@ -8939,8 +8966,8 @@ type CannotChangeVsanClusterUuid struct {
}
func init() {
- minAPIVersionForType["CannotChangeVsanClusterUuid"] = "5.5"
t["CannotChangeVsanClusterUuid"] = reflect.TypeOf((*CannotChangeVsanClusterUuid)(nil)).Elem()
+ minAPIVersionForType["CannotChangeVsanClusterUuid"] = "5.5"
}
type CannotChangeVsanClusterUuidFault CannotChangeVsanClusterUuid
@@ -8960,8 +8987,8 @@ type CannotChangeVsanNodeUuid struct {
}
func init() {
- minAPIVersionForType["CannotChangeVsanNodeUuid"] = "5.5"
t["CannotChangeVsanNodeUuid"] = reflect.TypeOf((*CannotChangeVsanNodeUuid)(nil)).Elem()
+ minAPIVersionForType["CannotChangeVsanNodeUuid"] = "5.5"
}
type CannotChangeVsanNodeUuidFault CannotChangeVsanNodeUuid
@@ -8977,14 +9004,14 @@ type CannotComputeFTCompatibleHosts struct {
// The virtual machine for FT compatible hosts is being computed
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Name of the virtual machine
- VmName string `xml:"vmName" json:"vmName" vim:"6.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["CannotComputeFTCompatibleHosts"] = "6.0"
t["CannotComputeFTCompatibleHosts"] = reflect.TypeOf((*CannotComputeFTCompatibleHosts)(nil)).Elem()
+ minAPIVersionForType["CannotComputeFTCompatibleHosts"] = "6.0"
}
type CannotComputeFTCompatibleHostsFault CannotComputeFTCompatibleHosts
@@ -9000,8 +9027,8 @@ type CannotCreateFile struct {
}
func init() {
- minAPIVersionForType["CannotCreateFile"] = "2.5"
t["CannotCreateFile"] = reflect.TypeOf((*CannotCreateFile)(nil)).Elem()
+ minAPIVersionForType["CannotCreateFile"] = "2.5"
}
type CannotCreateFileFault CannotCreateFile
@@ -9049,8 +9076,8 @@ type CannotDisableDrsOnClustersWithVApps struct {
}
func init() {
- minAPIVersionForType["CannotDisableDrsOnClustersWithVApps"] = "4.1"
t["CannotDisableDrsOnClustersWithVApps"] = reflect.TypeOf((*CannotDisableDrsOnClustersWithVApps)(nil)).Elem()
+ minAPIVersionForType["CannotDisableDrsOnClustersWithVApps"] = "4.1"
}
type CannotDisableDrsOnClustersWithVAppsFault CannotDisableDrsOnClustersWithVApps
@@ -9069,8 +9096,8 @@ type CannotDisableSnapshot struct {
}
func init() {
- minAPIVersionForType["CannotDisableSnapshot"] = "2.5"
t["CannotDisableSnapshot"] = reflect.TypeOf((*CannotDisableSnapshot)(nil)).Elem()
+ minAPIVersionForType["CannotDisableSnapshot"] = "2.5"
}
type CannotDisableSnapshotFault CannotDisableSnapshot
@@ -9085,12 +9112,12 @@ type CannotDisconnectHostWithFaultToleranceVm struct {
VimFault
// The name of the host to be disconnected
- HostName string `xml:"hostName" json:"hostName" vim:"4.0"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["CannotDisconnectHostWithFaultToleranceVm"] = "4.0"
t["CannotDisconnectHostWithFaultToleranceVm"] = reflect.TypeOf((*CannotDisconnectHostWithFaultToleranceVm)(nil)).Elem()
+ minAPIVersionForType["CannotDisconnectHostWithFaultToleranceVm"] = "4.0"
}
type CannotDisconnectHostWithFaultToleranceVmFault CannotDisconnectHostWithFaultToleranceVm
@@ -9110,25 +9137,25 @@ type CannotEnableVmcpForCluster struct {
// for this fault i.e this host has ADPTimeout disabled.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// If set this reports the hostName.
//
// This is used for printing the host name in the
// localized message as the host may have been removed
// from the vCenter's inventory by the time localization would
// be taking place.
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"6.0"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// This reports the reason for host not meeting the requirements
// for enabling vSphere VMCP.
//
// It can be the following reason.
// - APDTimeout disabled.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"6.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["CannotEnableVmcpForCluster"] = "6.0"
t["CannotEnableVmcpForCluster"] = reflect.TypeOf((*CannotEnableVmcpForCluster)(nil)).Elem()
+ minAPIVersionForType["CannotEnableVmcpForCluster"] = "6.0"
}
type CannotEnableVmcpForClusterFault CannotEnableVmcpForCluster
@@ -9179,14 +9206,14 @@ type CannotMoveFaultToleranceVm struct {
VimFault
// The type of the move
- MoveType string `xml:"moveType" json:"moveType" vim:"4.0"`
+ MoveType string `xml:"moveType" json:"moveType"`
// The virtual machine name to be moved.
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["CannotMoveFaultToleranceVm"] = "4.0"
t["CannotMoveFaultToleranceVm"] = reflect.TypeOf((*CannotMoveFaultToleranceVm)(nil)).Elem()
+ minAPIVersionForType["CannotMoveFaultToleranceVm"] = "4.0"
}
type CannotMoveFaultToleranceVmFault CannotMoveFaultToleranceVm
@@ -9202,8 +9229,8 @@ type CannotMoveHostWithFaultToleranceVm struct {
}
func init() {
- minAPIVersionForType["CannotMoveHostWithFaultToleranceVm"] = "4.0"
t["CannotMoveHostWithFaultToleranceVm"] = reflect.TypeOf((*CannotMoveHostWithFaultToleranceVm)(nil)).Elem()
+ minAPIVersionForType["CannotMoveHostWithFaultToleranceVm"] = "4.0"
}
type CannotMoveHostWithFaultToleranceVmFault CannotMoveHostWithFaultToleranceVm
@@ -9218,12 +9245,12 @@ type CannotMoveVmWithDeltaDisk struct {
MigrationFault
// The label of the delta disk device
- Device string `xml:"device" json:"device" vim:"5.0"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["CannotMoveVmWithDeltaDisk"] = "5.0"
t["CannotMoveVmWithDeltaDisk"] = reflect.TypeOf((*CannotMoveVmWithDeltaDisk)(nil)).Elem()
+ minAPIVersionForType["CannotMoveVmWithDeltaDisk"] = "5.0"
}
type CannotMoveVmWithDeltaDiskFault CannotMoveVmWithDeltaDisk
@@ -9239,8 +9266,8 @@ type CannotMoveVmWithNativeDeltaDisk struct {
}
func init() {
- minAPIVersionForType["CannotMoveVmWithNativeDeltaDisk"] = "5.0"
t["CannotMoveVmWithNativeDeltaDisk"] = reflect.TypeOf((*CannotMoveVmWithNativeDeltaDisk)(nil)).Elem()
+ minAPIVersionForType["CannotMoveVmWithNativeDeltaDisk"] = "5.0"
}
type CannotMoveVmWithNativeDeltaDiskFault CannotMoveVmWithNativeDeltaDisk
@@ -9261,8 +9288,8 @@ type CannotMoveVsanEnabledHost struct {
}
func init() {
- minAPIVersionForType["CannotMoveVsanEnabledHost"] = "5.5"
t["CannotMoveVsanEnabledHost"] = reflect.TypeOf((*CannotMoveVsanEnabledHost)(nil)).Elem()
+ minAPIVersionForType["CannotMoveVsanEnabledHost"] = "5.5"
}
type CannotMoveVsanEnabledHostFault BaseCannotMoveVsanEnabledHost
@@ -9279,8 +9306,8 @@ type CannotPlaceWithoutPrerequisiteMoves struct {
}
func init() {
- minAPIVersionForType["CannotPlaceWithoutPrerequisiteMoves"] = "5.1"
t["CannotPlaceWithoutPrerequisiteMoves"] = reflect.TypeOf((*CannotPlaceWithoutPrerequisiteMoves)(nil)).Elem()
+ minAPIVersionForType["CannotPlaceWithoutPrerequisiteMoves"] = "5.1"
}
type CannotPlaceWithoutPrerequisiteMovesFault CannotPlaceWithoutPrerequisiteMoves
@@ -9299,18 +9326,18 @@ type CannotPowerOffVmInCluster struct {
//
// Values come from
// `CannotPowerOffVmInClusterOperation_enum`.
- Operation string `xml:"operation" json:"operation" vim:"5.0"`
+ Operation string `xml:"operation" json:"operation"`
// The Virtual Machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Name of the Virtual Machine
- VmName string `xml:"vmName" json:"vmName" vim:"5.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["CannotPowerOffVmInCluster"] = "5.0"
t["CannotPowerOffVmInCluster"] = reflect.TypeOf((*CannotPowerOffVmInCluster)(nil)).Elem()
+ minAPIVersionForType["CannotPowerOffVmInCluster"] = "5.0"
}
type CannotPowerOffVmInClusterFault CannotPowerOffVmInCluster
@@ -9328,8 +9355,8 @@ type CannotReconfigureVsanWhenHaEnabled struct {
}
func init() {
- minAPIVersionForType["CannotReconfigureVsanWhenHaEnabled"] = "5.5"
t["CannotReconfigureVsanWhenHaEnabled"] = reflect.TypeOf((*CannotReconfigureVsanWhenHaEnabled)(nil)).Elem()
+ minAPIVersionForType["CannotReconfigureVsanWhenHaEnabled"] = "5.5"
}
type CannotReconfigureVsanWhenHaEnabledFault CannotReconfigureVsanWhenHaEnabled
@@ -9344,13 +9371,13 @@ type CannotUseNetwork struct {
VmConfigFault
// The label of the network device.
- Device string `xml:"device" json:"device" vim:"5.5"`
+ Device string `xml:"device" json:"device"`
// The backing of the network device.
- Backing string `xml:"backing" json:"backing" vim:"5.5"`
+ Backing string `xml:"backing" json:"backing"`
// The connected/disconnected state of the device.
- Connected bool `xml:"connected" json:"connected" vim:"5.5"`
+ Connected bool `xml:"connected" json:"connected"`
// Reason describing why the network cannot be used.
- Reason string `xml:"reason" json:"reason" vim:"5.5"`
+ Reason string `xml:"reason" json:"reason"`
// A reference to the network that cannot be used
//
// Refers instance of `Network`.
@@ -9358,8 +9385,8 @@ type CannotUseNetwork struct {
}
func init() {
- minAPIVersionForType["CannotUseNetwork"] = "5.5"
t["CannotUseNetwork"] = reflect.TypeOf((*CannotUseNetwork)(nil)).Elem()
+ minAPIVersionForType["CannotUseNetwork"] = "5.5"
}
type CannotUseNetworkFault CannotUseNetwork
@@ -9419,7 +9446,7 @@ type Capability struct {
HadcsSupported *bool `xml:"hadcsSupported" json:"hadcsSupported,omitempty" vim:"7.0.1.1"`
// Specifies if desired configuration management platform is supported
// on the cluster.
- ConfigMgmtSupported *bool `xml:"configMgmtSupported" json:"configMgmtSupported,omitempty"`
+ ConfigMgmtSupported *bool `xml:"configMgmtSupported" json:"configMgmtSupported,omitempty" vim:"7.0.3.1"`
}
func init() {
@@ -9512,7 +9539,7 @@ type ChangeAccessModeRequestType struct {
// AccessMode to be granted.
// `accessOther` is meaningless and
// will result in InvalidArgument exception.
- AccessMode HostAccessMode `xml:"accessMode" json:"accessMode" vim:"6.0"`
+ AccessMode HostAccessMode `xml:"accessMode" json:"accessMode"`
}
func init() {
@@ -9539,7 +9566,7 @@ type ChangeFileAttributesInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the file to be copied in
// the guest. If the file points to an symbolic link, then the
// attributes of the target file are changed.
@@ -9549,7 +9576,7 @@ type ChangeFileAttributesInGuestRequestType struct {
// See `GuestFileAttributes`.
// If any property is not specified, then the specific attribute of
// the file will be unchanged.
- FileAttributes BaseGuestFileAttributes `xml:"fileAttributes,typeattr" json:"fileAttributes" vim:"5.0"`
+ FileAttributes BaseGuestFileAttributes `xml:"fileAttributes,typeattr" json:"fileAttributes"`
}
func init() {
@@ -9563,7 +9590,7 @@ type ChangeFileAttributesInGuestResponse struct {
type ChangeKeyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The key that replaces the existing core dump encryption key
- NewKey CryptoKeyPlain `xml:"newKey" json:"newKey" vim:"6.5"`
+ NewKey CryptoKeyPlain `xml:"newKey" json:"newKey"`
}
func init() {
@@ -9605,7 +9632,7 @@ type ChangeLockdownModeRequestType struct {
// If this is `lockdownStrict`
// then lockdown mode will be enabled and the system will
// stop service DCUI if it is running.
- Mode HostLockdownMode `xml:"mode" json:"mode" vim:"6.0"`
+ Mode HostLockdownMode `xml:"mode" json:"mode"`
}
func init() {
@@ -9688,16 +9715,16 @@ type ChangesInfoEventArgument struct {
DynamicData
// Modified properties.
- Modified string `xml:"modified,omitempty" json:"modified,omitempty" vim:"6.5"`
+ Modified string `xml:"modified,omitempty" json:"modified,omitempty"`
// Added properties.
- Added string `xml:"added,omitempty" json:"added,omitempty" vim:"6.5"`
+ Added string `xml:"added,omitempty" json:"added,omitempty"`
// Deleted properties.
- Deleted string `xml:"deleted,omitempty" json:"deleted,omitempty" vim:"6.5"`
+ Deleted string `xml:"deleted,omitempty" json:"deleted,omitempty"`
}
func init() {
- minAPIVersionForType["ChangesInfoEventArgument"] = "6.5"
t["ChangesInfoEventArgument"] = reflect.TypeOf((*ChangesInfoEventArgument)(nil)).Elem()
+ minAPIVersionForType["ChangesInfoEventArgument"] = "6.5"
}
// The parameters of `ClusterEVCManager.CheckAddHostEvc_Task`.
@@ -9857,7 +9884,7 @@ type CheckComplianceRequestType struct {
// ---------------------------------------------------
//
// Refers instances of `Profile`.
- Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// If specified, the compliance check is done against this entity.
//
// Refers instances of `ManagedEntity`.
@@ -9885,7 +9912,7 @@ type CheckConfigureEvcModeRequestType struct {
EvcModeKey string `xml:"evcModeKey" json:"evcModeKey"`
// A key referencing the desired EVC Graphics
// mode `Capability.supportedEVCGraphicsMode`.
- EvcGraphicsModeKey string `xml:"evcGraphicsModeKey,omitempty" json:"evcGraphicsModeKey,omitempty"`
+ EvcGraphicsModeKey string `xml:"evcGraphicsModeKey,omitempty" json:"evcGraphicsModeKey,omitempty" vim:"7.0.1.0"`
}
func init() {
@@ -10001,7 +10028,7 @@ type CheckInstantCloneRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Specifies how to instant clone the virtual machine.
- Spec VirtualMachineInstantCloneSpec `xml:"spec" json:"spec" vim:"6.7"`
+ Spec VirtualMachineInstantCloneSpec `xml:"spec" json:"spec"`
// The set of tests to run. If this argument is not set, all
// tests will be run. See `CheckTestType_enum` for possible values.
TestType []string `xml:"testType,omitempty" json:"testType,omitempty"`
@@ -10210,14 +10237,14 @@ type CheckResult struct {
// The virtual machine involved in the testing.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"4.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The host involved in the testing.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// A list of faults representing problems which may
// require attention, but which are not fatal.
- Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty" vim:"4.0"`
+ Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// A list of faults representing problems which are fatal
// to the operation.
//
@@ -10226,12 +10253,12 @@ type CheckResult struct {
// For `VirtualMachineCompatibilityChecker` an error means that either
// a power-on of this virtual machine would fail, or that the
// virtual machine would not run correctly once powered-on.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["CheckResult"] = "4.0"
t["CheckResult"] = reflect.TypeOf((*CheckResult)(nil)).Elem()
+ minAPIVersionForType["CheckResult"] = "4.0"
}
// The parameters of `VirtualMachineCompatibilityChecker.CheckVmConfig_Task`.
@@ -10309,7 +10336,7 @@ type ClearComplianceStatusRequestType struct {
// If specified, clear the ComplianceResult related to the Profile.
//
// Refers instances of `Profile`.
- Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// If specified, clear the ComplianceResult related to the entity.
// If profile and entity are not specified, all the ComplianceResults will be cleared.
//
@@ -10387,7 +10414,7 @@ func init() {
type ClearVStorageObjectControlFlagsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -10414,8 +10441,8 @@ type ClockSkew struct {
}
func init() {
- minAPIVersionForType["ClockSkew"] = "4.1"
t["ClockSkew"] = reflect.TypeOf((*ClockSkew)(nil)).Elem()
+ minAPIVersionForType["ClockSkew"] = "4.1"
}
type ClockSkewFault ClockSkew
@@ -10433,8 +10460,8 @@ type CloneFromSnapshotNotSupported struct {
}
func init() {
- minAPIVersionForType["CloneFromSnapshotNotSupported"] = "4.0"
t["CloneFromSnapshotNotSupported"] = reflect.TypeOf((*CloneFromSnapshotNotSupported)(nil)).Elem()
+ minAPIVersionForType["CloneFromSnapshotNotSupported"] = "4.0"
}
type CloneFromSnapshotNotSupportedFault CloneFromSnapshotNotSupported
@@ -10475,7 +10502,7 @@ type CloneVAppRequestType struct {
// Refers instance of `ResourcePool`.
Target ManagedObjectReference `xml:"target" json:"target"`
// Specifies how to clone the vApp.
- Spec VAppCloneSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec VAppCloneSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -10526,7 +10553,7 @@ type CloneVM_TaskResponse struct {
type CloneVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -10534,7 +10561,7 @@ type CloneVStorageObjectRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The specification for cloning the virtual storage
// object.
- Spec VslmCloneSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmCloneSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -10585,19 +10612,19 @@ type ClusterAction struct {
//
// This is encoded to differentiate between
// different types of actions aimed at achieving different goals.
- Type string `xml:"type" json:"type" vim:"2.5"`
+ Type string `xml:"type" json:"type"`
// The target object on which this action will be applied.
//
// For
// instance, a migration action will have a virtual machine as its
// target object, while a host power action will have a host as its
// target action.
- Target *ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty" vim:"2.5"`
+ Target *ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterAction"] = "2.5"
t["ClusterAction"] = reflect.TypeOf((*ClusterAction)(nil)).Elem()
+ minAPIVersionForType["ClusterAction"] = "2.5"
}
// Base class for all action history.
@@ -10605,14 +10632,14 @@ type ClusterActionHistory struct {
DynamicData
// The action that was executed recently.
- Action BaseClusterAction `xml:"action,typeattr" json:"action" vim:"2.5"`
+ Action BaseClusterAction `xml:"action,typeattr" json:"action"`
// The time when the action was executed.
- Time time.Time `xml:"time" json:"time" vim:"2.5"`
+ Time time.Time `xml:"time" json:"time"`
}
func init() {
- minAPIVersionForType["ClusterActionHistory"] = "2.5"
t["ClusterActionHistory"] = reflect.TypeOf((*ClusterActionHistory)(nil)).Elem()
+ minAPIVersionForType["ClusterActionHistory"] = "2.5"
}
// The `ClusterAffinityRuleSpec` data object defines a set
@@ -10658,16 +10685,16 @@ type ClusterAttemptedVmInfo struct {
// The virtual machine being powered on.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"2.5"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The ID of the task, which monitors powering on.
//
// Refers instance of `Task`.
- Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty" vim:"2.5"`
+ Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterAttemptedVmInfo"] = "2.5"
t["ClusterAttemptedVmInfo"] = reflect.TypeOf((*ClusterAttemptedVmInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterAttemptedVmInfo"] = "2.5"
}
// Describes an action for the initial placement of a virtual machine in a
@@ -10733,6 +10760,7 @@ type ClusterClusterInitialPlacementAction struct {
func init() {
t["ClusterClusterInitialPlacementAction"] = reflect.TypeOf((*ClusterClusterInitialPlacementAction)(nil)).Elem()
+ minAPIVersionForType["ClusterClusterInitialPlacementAction"] = "8.0.0.1"
}
// This event records that a compliance check was triggered
@@ -10744,8 +10772,8 @@ type ClusterComplianceCheckedEvent struct {
}
func init() {
- minAPIVersionForType["ClusterComplianceCheckedEvent"] = "4.0"
t["ClusterComplianceCheckedEvent"] = reflect.TypeOf((*ClusterComplianceCheckedEvent)(nil)).Elem()
+ minAPIVersionForType["ClusterComplianceCheckedEvent"] = "4.0"
}
// ClusterConfigResult is the result returned for the `ClusterComputeResource.ConfigureHCI_Task`
@@ -10754,16 +10782,16 @@ type ClusterComputeResourceClusterConfigResult struct {
DynamicData
// List of failed hosts.
- FailedHosts []FolderFailedHostResult `xml:"failedHosts,omitempty" json:"failedHosts,omitempty" vim:"6.7.1"`
+ FailedHosts []FolderFailedHostResult `xml:"failedHosts,omitempty" json:"failedHosts,omitempty"`
// List of successfully configured hosts.
//
// Refers instances of `HostSystem`.
- ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty" json:"configuredHosts,omitempty" vim:"6.7.1"`
+ ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty" json:"configuredHosts,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceClusterConfigResult"] = "6.7.1"
t["ClusterComputeResourceClusterConfigResult"] = reflect.TypeOf((*ClusterComputeResourceClusterConfigResult)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceClusterConfigResult"] = "6.7.1"
}
// Describes the validations applicable to the network settings.
@@ -10775,14 +10803,14 @@ type ClusterComputeResourceDVSConfigurationValidation struct {
ClusterComputeResourceValidationResultBase
// Check if the DVS is alive.
- IsDvsValid bool `xml:"isDvsValid" json:"isDvsValid" vim:"6.7.1"`
+ IsDvsValid bool `xml:"isDvsValid" json:"isDvsValid"`
// Check if the portgroups are valid.
- IsDvpgValid bool `xml:"isDvpgValid" json:"isDvpgValid" vim:"6.7.1"`
+ IsDvpgValid bool `xml:"isDvpgValid" json:"isDvpgValid"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceDVSConfigurationValidation"] = "6.7.1"
t["ClusterComputeResourceDVSConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceDVSConfigurationValidation)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceDVSConfigurationValidation"] = "6.7.1"
}
// Contains reference to the DVS, list of physical nics attached to it,
@@ -10794,16 +10822,16 @@ type ClusterComputeResourceDVSSetting struct {
// Managed object reference to the DVS.
//
// Refers instance of `DistributedVirtualSwitch`.
- DvSwitch ManagedObjectReference `xml:"dvSwitch" json:"dvSwitch" vim:"6.7.1"`
+ DvSwitch ManagedObjectReference `xml:"dvSwitch" json:"dvSwitch"`
// List of physical nics attached to the DVS.
- PnicDevices []string `xml:"pnicDevices,omitempty" json:"pnicDevices,omitempty" vim:"6.7.1"`
+ PnicDevices []string `xml:"pnicDevices,omitempty" json:"pnicDevices,omitempty"`
// Describes dvportgroups on the DVS and services residing on each one.
- DvPortgroupSetting []ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping `xml:"dvPortgroupSetting,omitempty" json:"dvPortgroupSetting,omitempty" vim:"6.7.1"`
+ DvPortgroupSetting []ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping `xml:"dvPortgroupSetting,omitempty" json:"dvPortgroupSetting,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceDVSSetting"] = "6.7.1"
t["ClusterComputeResourceDVSSetting"] = reflect.TypeOf((*ClusterComputeResourceDVSSetting)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceDVSSetting"] = "6.7.1"
}
type ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping struct {
@@ -10812,13 +10840,13 @@ type ClusterComputeResourceDVSSettingDVPortgroupToServiceMapping struct {
// Managed object reference to the dvportgroup.
//
// Refers instance of `DistributedVirtualPortgroup`.
- DvPortgroup ManagedObjectReference `xml:"dvPortgroup" json:"dvPortgroup" vim:"6.7.1"`
+ DvPortgroup ManagedObjectReference `xml:"dvPortgroup" json:"dvPortgroup"`
// Service to be configured on the virtual nics attached to this
// dvportgroup.
//
// See `HostVirtualNicManagerNicType_enum` for
// supported values.
- Service string `xml:"service" json:"service" vim:"6.7.1"`
+ Service string `xml:"service" json:"service"`
}
func init() {
@@ -10834,36 +10862,36 @@ type ClusterComputeResourceDvsProfile struct {
DynamicData
// Name of the new `DistributedVirtualSwitch`.
- DvsName string `xml:"dvsName,omitempty" json:"dvsName,omitempty" vim:"6.7.1"`
+ DvsName string `xml:"dvsName,omitempty" json:"dvsName,omitempty"`
// Managed object reference to an existing `DistributedVirtualSwitch`.
//
// Refers instance of `DistributedVirtualSwitch`.
- DvSwitch *ManagedObjectReference `xml:"dvSwitch,omitempty" json:"dvSwitch,omitempty" vim:"6.7.1"`
+ DvSwitch *ManagedObjectReference `xml:"dvSwitch,omitempty" json:"dvSwitch,omitempty"`
// List of physical Nics to be attached to the DVS.
- PnicDevices []string `xml:"pnicDevices,omitempty" json:"pnicDevices,omitempty" vim:"6.7.1"`
+ PnicDevices []string `xml:"pnicDevices,omitempty" json:"pnicDevices,omitempty"`
DvPortgroupMapping []ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping `xml:"dvPortgroupMapping,omitempty" json:"dvPortgroupMapping,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceDvsProfile"] = "6.7.1"
t["ClusterComputeResourceDvsProfile"] = reflect.TypeOf((*ClusterComputeResourceDvsProfile)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceDvsProfile"] = "6.7.1"
}
type ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping struct {
DynamicData
// Specification for a new `DistributedVirtualPortgroup`.
- DvPortgroupSpec *DVPortgroupConfigSpec `xml:"dvPortgroupSpec,omitempty" json:"dvPortgroupSpec,omitempty" vim:"6.7.1"`
+ DvPortgroupSpec *DVPortgroupConfigSpec `xml:"dvPortgroupSpec,omitempty" json:"dvPortgroupSpec,omitempty"`
// Managed object reference to an existing `DistributedVirtualPortgroup`.
//
// Refers instance of `DistributedVirtualPortgroup`.
- DvPortgroup *ManagedObjectReference `xml:"dvPortgroup,omitempty" json:"dvPortgroup,omitempty" vim:"6.7.1"`
+ DvPortgroup *ManagedObjectReference `xml:"dvPortgroup,omitempty" json:"dvPortgroup,omitempty"`
// Service to be configured on the virtual nics attached to this
// dvportgroup.
//
// See `HostVirtualNicManagerNicType_enum` for
// supported values.
- Service string `xml:"service" json:"service" vim:"6.7.1"`
+ Service string `xml:"service" json:"service"`
}
func init() {
@@ -10880,10 +10908,10 @@ type ClusterComputeResourceHCIConfigInfo struct {
// Valid
// values are enumerated by the `HCIWorkflowState`
// type.
- WorkflowState string `xml:"workflowState" json:"workflowState" vim:"6.7.1"`
+ WorkflowState string `xml:"workflowState" json:"workflowState"`
// Contains DVS related information captured while configuring
// the cluster.
- DvsSetting []ClusterComputeResourceDVSSetting `xml:"dvsSetting,omitempty" json:"dvsSetting,omitempty" vim:"6.7.1"`
+ DvsSetting []ClusterComputeResourceDVSSetting `xml:"dvsSetting,omitempty" json:"dvsSetting,omitempty"`
// Contains a list of hosts that are currently configured using
// `ClusterComputeResource.ConfigureHCI_Task` and `ClusterComputeResource.ExtendHCI_Task`
// method.
@@ -10891,14 +10919,14 @@ type ClusterComputeResourceHCIConfigInfo struct {
// A failed host will not be part of this list.
//
// Refers instances of `HostSystem`.
- ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty" json:"configuredHosts,omitempty" vim:"6.7.1"`
+ ConfiguredHosts []ManagedObjectReference `xml:"configuredHosts,omitempty" json:"configuredHosts,omitempty"`
// Configuration of host services and host settings.
- HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty" json:"hostConfigProfile,omitempty" vim:"6.7.1"`
+ HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty" json:"hostConfigProfile,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHCIConfigInfo"] = "6.7.1"
t["ClusterComputeResourceHCIConfigInfo"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHCIConfigInfo"] = "6.7.1"
}
// Specification to configure the cluster.
@@ -10914,21 +10942,21 @@ type ClusterComputeResourceHCIConfigSpec struct {
// `ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.dvPortgroup` or
// `ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.dvPortgroupSpec` per
// `ClusterComputeResourceDvsProfileDVPortgroupSpecToServiceMapping.service`.
- DvsProf []ClusterComputeResourceDvsProfile `xml:"dvsProf,omitempty" json:"dvsProf,omitempty" vim:"6.7.1"`
+ DvsProf []ClusterComputeResourceDvsProfile `xml:"dvsProf,omitempty" json:"dvsProf,omitempty"`
// Configuration of host services and host settings.
- HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty" json:"hostConfigProfile,omitempty" vim:"6.7.1"`
+ HostConfigProfile *ClusterComputeResourceHostConfigurationProfile `xml:"hostConfigProfile,omitempty" json:"hostConfigProfile,omitempty"`
// vSan configuration specification.
//
// This is vim.vsan.ReconfigSpec object
// represented via the VIM object.
- VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty" json:"vSanConfigSpec,omitempty" vim:"6.7.1"`
+ VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty" json:"vSanConfigSpec,omitempty"`
// Describes cluster and EVC configuration.
- VcProf *ClusterComputeResourceVCProfile `xml:"vcProf,omitempty" json:"vcProf,omitempty" vim:"6.7.1"`
+ VcProf *ClusterComputeResourceVCProfile `xml:"vcProf,omitempty" json:"vcProf,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHCIConfigSpec"] = "6.7.1"
t["ClusterComputeResourceHCIConfigSpec"] = reflect.TypeOf((*ClusterComputeResourceHCIConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHCIConfigSpec"] = "6.7.1"
}
// Host configuration input to configure hosts in a cluster.
@@ -10942,12 +10970,12 @@ type ClusterComputeResourceHostConfigurationInput struct {
//
// This constraint can be relaxed by setting this
// flag to true.
- AllowedInNonMaintenanceMode *bool `xml:"allowedInNonMaintenanceMode" json:"allowedInNonMaintenanceMode,omitempty" vim:"6.7.1"`
+ AllowedInNonMaintenanceMode *bool `xml:"allowedInNonMaintenanceMode" json:"allowedInNonMaintenanceMode,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHostConfigurationInput"] = "6.7.1"
t["ClusterComputeResourceHostConfigurationInput"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationInput)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHostConfigurationInput"] = "6.7.1"
}
// HostConfigurationProfile describes the configuration of services
@@ -10956,14 +10984,14 @@ type ClusterComputeResourceHostConfigurationProfile struct {
DynamicData
// Date and time settings
- DateTimeConfig *HostDateTimeConfig `xml:"dateTimeConfig,omitempty" json:"dateTimeConfig,omitempty" vim:"6.7.1"`
+ DateTimeConfig *HostDateTimeConfig `xml:"dateTimeConfig,omitempty" json:"dateTimeConfig,omitempty"`
// Desired lockdown mode
- LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty" vim:"6.7.1"`
+ LockdownMode HostLockdownMode `xml:"lockdownMode,omitempty" json:"lockdownMode,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHostConfigurationProfile"] = "6.7.1"
t["ClusterComputeResourceHostConfigurationProfile"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationProfile)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHostConfigurationProfile"] = "6.7.1"
}
// Describes the validations applicable to the settings on the host.
@@ -10973,21 +11001,21 @@ type ClusterComputeResourceHostConfigurationValidation struct {
// Host being validated.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.7.1"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Check if the host is attached to the DVS on right adapters.
- IsDvsSettingValid *bool `xml:"isDvsSettingValid" json:"isDvsSettingValid,omitempty" vim:"6.7.1"`
+ IsDvsSettingValid *bool `xml:"isDvsSettingValid" json:"isDvsSettingValid,omitempty"`
// Check if the adapters for services are present and on the right
// portgroups.
- IsVmknicSettingValid *bool `xml:"isVmknicSettingValid" json:"isVmknicSettingValid,omitempty" vim:"6.7.1"`
+ IsVmknicSettingValid *bool `xml:"isVmknicSettingValid" json:"isVmknicSettingValid,omitempty"`
// Check if NTP is configured per specification.
- IsNtpSettingValid *bool `xml:"isNtpSettingValid" json:"isNtpSettingValid,omitempty" vim:"6.7.1"`
+ IsNtpSettingValid *bool `xml:"isNtpSettingValid" json:"isNtpSettingValid,omitempty"`
// Check if lockdown mode is set per specification
- IsLockdownModeValid *bool `xml:"isLockdownModeValid" json:"isLockdownModeValid,omitempty" vim:"6.7.1"`
+ IsLockdownModeValid *bool `xml:"isLockdownModeValid" json:"isLockdownModeValid,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHostConfigurationValidation"] = "6.7.1"
t["ClusterComputeResourceHostConfigurationValidation"] = reflect.TypeOf((*ClusterComputeResourceHostConfigurationValidation)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHostConfigurationValidation"] = "6.7.1"
}
// This data object describes how a vmknic on a host must be configured.
@@ -10995,17 +11023,17 @@ type ClusterComputeResourceHostVmkNicInfo struct {
DynamicData
// NIC specification
- NicSpec HostVirtualNicSpec `xml:"nicSpec" json:"nicSpec" vim:"6.7.1"`
+ NicSpec HostVirtualNicSpec `xml:"nicSpec" json:"nicSpec"`
// Service type for this adapter.
//
// See
// `HostVirtualNicManagerNicType_enum` for supported values.
- Service string `xml:"service" json:"service" vim:"6.7.1"`
+ Service string `xml:"service" json:"service"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceHostVmkNicInfo"] = "6.7.1"
t["ClusterComputeResourceHostVmkNicInfo"] = reflect.TypeOf((*ClusterComputeResourceHostVmkNicInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceHostVmkNicInfo"] = "6.7.1"
}
// The `ClusterComputeResourceSummary` data object
@@ -11094,16 +11122,16 @@ type ClusterComputeResourceVCProfile struct {
DynamicData
// Cluster configurarion.
- ClusterSpec *ClusterConfigSpecEx `xml:"clusterSpec,omitempty" json:"clusterSpec,omitempty" vim:"6.7.1"`
+ ClusterSpec *ClusterConfigSpecEx `xml:"clusterSpec,omitempty" json:"clusterSpec,omitempty"`
// EVC mode key.
- EvcModeKey string `xml:"evcModeKey,omitempty" json:"evcModeKey,omitempty" vim:"6.7.1"`
+ EvcModeKey string `xml:"evcModeKey,omitempty" json:"evcModeKey,omitempty"`
// EVC Graphics mode key
EvcGraphicsModeKey string `xml:"evcGraphicsModeKey,omitempty" json:"evcGraphicsModeKey,omitempty" vim:"7.0.1.0"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceVCProfile"] = "6.7.1"
t["ClusterComputeResourceVCProfile"] = reflect.TypeOf((*ClusterComputeResourceVCProfile)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceVCProfile"] = "6.7.1"
}
// Describes the validation results.
@@ -11111,12 +11139,12 @@ type ClusterComputeResourceValidationResultBase struct {
DynamicData
// Describes the messages relevant to the validation result
- Info []LocalizableMessage `xml:"info,omitempty" json:"info,omitempty" vim:"6.7.1"`
+ Info []LocalizableMessage `xml:"info,omitempty" json:"info,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterComputeResourceValidationResultBase"] = "6.7.1"
t["ClusterComputeResourceValidationResultBase"] = reflect.TypeOf((*ClusterComputeResourceValidationResultBase)(nil)).Elem()
+ minAPIVersionForType["ClusterComputeResourceValidationResultBase"] = "6.7.1"
}
type ClusterComputeResourceVcsSlots struct {
@@ -11127,13 +11155,13 @@ type ClusterComputeResourceVcsSlots struct {
// The host that has vSphere Cluster Services slots.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"7.0.1.1"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Datastores on the host which are recommended for vCLS VM deployment.
//
// Refers instances of `Datastore`.
Datastore []ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty" vim:"7.0.3.0"`
// The number of total vSphere Cluster Services slots on the host.
- TotalSlots int32 `xml:"totalSlots" json:"totalSlots" vim:"7.0.1.1"`
+ TotalSlots int32 `xml:"totalSlots" json:"totalSlots"`
}
func init() {
@@ -11185,7 +11213,7 @@ type ClusterConfigInfoEx struct {
// Configuration for vCLS system VMs deployment.
SystemVMsConfig *ClusterSystemVMsConfigInfo `xml:"systemVMsConfig,omitempty" json:"systemVMsConfig,omitempty" vim:"7.0.3.0"`
// Cluster-wide configuration of the vSphere HA service.
- DasConfig ClusterDasConfigInfo `xml:"dasConfig" json:"dasConfig" vim:"2.5"`
+ DasConfig ClusterDasConfigInfo `xml:"dasConfig" json:"dasConfig"`
// List of virtual machine configurations for the vSphere HA
// service.
//
@@ -11193,9 +11221,9 @@ type ClusterConfigInfoEx struct {
//
// If a virtual machine is not specified in this array, the service uses
// the default settings for that virtual machine.
- DasVmConfig []ClusterDasVmConfigInfo `xml:"dasVmConfig,omitempty" json:"dasVmConfig,omitempty" vim:"2.5"`
+ DasVmConfig []ClusterDasVmConfigInfo `xml:"dasVmConfig,omitempty" json:"dasVmConfig,omitempty"`
// Cluster-wide configuration of the VMware DRS service.
- DrsConfig ClusterDrsConfigInfo `xml:"drsConfig" json:"drsConfig" vim:"2.5"`
+ DrsConfig ClusterDrsConfigInfo `xml:"drsConfig" json:"drsConfig"`
// List of virtual machine configurations for the VMware DRS
// service.
//
@@ -11203,9 +11231,9 @@ type ClusterConfigInfoEx struct {
//
// If a virtual machine is not specified in this array, the service uses
// the default settings for that virtual machine.
- DrsVmConfig []ClusterDrsVmConfigInfo `xml:"drsVmConfig,omitempty" json:"drsVmConfig,omitempty" vim:"2.5"`
+ DrsVmConfig []ClusterDrsVmConfigInfo `xml:"drsVmConfig,omitempty" json:"drsVmConfig,omitempty"`
// Cluster-wide rules.
- Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty" vim:"2.5"`
+ Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty"`
// Cluster-wide configuration of VM orchestration.
Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty" vim:"6.5"`
// List of virtual machine configurations that apply during cluster wide
@@ -11217,7 +11245,7 @@ type ClusterConfigInfoEx struct {
// the default settings for that virtual machine.
VmOrchestration []ClusterVmOrchestrationInfo `xml:"vmOrchestration,omitempty" json:"vmOrchestration,omitempty" vim:"6.5"`
// Cluster-wide configuration of the VMware DPM service.
- DpmConfigInfo *ClusterDpmConfigInfo `xml:"dpmConfigInfo,omitempty" json:"dpmConfigInfo,omitempty" vim:"2.5"`
+ DpmConfigInfo *ClusterDpmConfigInfo `xml:"dpmConfigInfo,omitempty" json:"dpmConfigInfo,omitempty"`
// List of host configurations for the VMware DPM
// service.
//
@@ -11225,7 +11253,7 @@ type ClusterConfigInfoEx struct {
//
// If a host is not specified in this array, the service uses
// the cluster default settings for that host.
- DpmHostConfig []ClusterDpmHostConfigInfo `xml:"dpmHostConfig,omitempty" json:"dpmHostConfig,omitempty" vim:"2.5"`
+ DpmHostConfig []ClusterDpmHostConfigInfo `xml:"dpmHostConfig,omitempty" json:"dpmHostConfig,omitempty"`
// Cluster-wide configuration of the VMware VSAN service.
VsanConfigInfo *VsanClusterConfigInfo `xml:"vsanConfigInfo,omitempty" json:"vsanConfigInfo,omitempty" vim:"5.5"`
// List of host configurations for the VMware VSAN service.
@@ -11246,8 +11274,8 @@ type ClusterConfigInfoEx struct {
}
func init() {
- minAPIVersionForType["ClusterConfigInfoEx"] = "2.5"
t["ClusterConfigInfoEx"] = reflect.TypeOf((*ClusterConfigInfoEx)(nil)).Elem()
+ minAPIVersionForType["ClusterConfigInfoEx"] = "2.5"
}
// Deprecated as of VI API 2.5, use `ClusterConfigSpecEx`.
@@ -11472,7 +11500,7 @@ type ClusterConfigSpecEx struct {
// Configuration for vCLS system VMs deployment.
SystemVMsConfig *ClusterSystemVMsConfigSpec `xml:"systemVMsConfig,omitempty" json:"systemVMsConfig,omitempty" vim:"7.0.3.0"`
// HA configuration; includes default settings for virtual machines.
- DasConfig *ClusterDasConfigInfo `xml:"dasConfig,omitempty" json:"dasConfig,omitempty" vim:"2.5"`
+ DasConfig *ClusterDasConfigInfo `xml:"dasConfig,omitempty" json:"dasConfig,omitempty"`
// HA configuration for individual virtual machines.
//
// The entries in this array override the cluster default
@@ -11484,9 +11512,9 @@ type ClusterConfigSpecEx struct {
// include an entry for a secondary, the reconfigure method
// will throw the fault
// `CannotChangeHaSettingsForFtSecondary`.
- DasVmConfigSpec []ClusterDasVmConfigSpec `xml:"dasVmConfigSpec,omitempty" json:"dasVmConfigSpec,omitempty" vim:"2.5"`
+ DasVmConfigSpec []ClusterDasVmConfigSpec `xml:"dasVmConfigSpec,omitempty" json:"dasVmConfigSpec,omitempty"`
// DRS configuration; includes default settings for virtual machines.
- DrsConfig *ClusterDrsConfigInfo `xml:"drsConfig,omitempty" json:"drsConfig,omitempty" vim:"2.5"`
+ DrsConfig *ClusterDrsConfigInfo `xml:"drsConfig,omitempty" json:"drsConfig,omitempty"`
// DRS configuration for individual virtual machines.
//
// The entries in this array override the cluster default
@@ -11498,9 +11526,9 @@ type ClusterConfigSpecEx struct {
// include an entry for a secondary, the reconfigure method
// will throw the fault
// `CannotChangeDrsBehaviorForFtSecondary`.
- DrsVmConfigSpec []ClusterDrsVmConfigSpec `xml:"drsVmConfigSpec,omitempty" json:"drsVmConfigSpec,omitempty" vim:"2.5"`
+ DrsVmConfigSpec []ClusterDrsVmConfigSpec `xml:"drsVmConfigSpec,omitempty" json:"drsVmConfigSpec,omitempty"`
// Cluster affinity and anti-affinity rule configuration.
- RulesSpec []ClusterRuleSpec `xml:"rulesSpec,omitempty" json:"rulesSpec,omitempty" vim:"2.5"`
+ RulesSpec []ClusterRuleSpec `xml:"rulesSpec,omitempty" json:"rulesSpec,omitempty"`
// Cluster configuration of VM orchestration.
Orchestration *ClusterOrchestrationInfo `xml:"orchestration,omitempty" json:"orchestration,omitempty" vim:"6.5"`
// List of specific VM configurations that apply during cluster wide
@@ -11510,13 +11538,13 @@ type ClusterConfigSpecEx struct {
// overrides the cluster default settings.
VmOrchestrationSpec []ClusterVmOrchestrationSpec `xml:"vmOrchestrationSpec,omitempty" json:"vmOrchestrationSpec,omitempty" vim:"6.5"`
// DPM configuration; includes default settings for hosts.
- DpmConfig *ClusterDpmConfigInfo `xml:"dpmConfig,omitempty" json:"dpmConfig,omitempty" vim:"2.5"`
+ DpmConfig *ClusterDpmConfigInfo `xml:"dpmConfig,omitempty" json:"dpmConfig,omitempty"`
// DPM configuration for individual hosts.
//
// The entries in this array override the cluster default
// settings
// (`ClusterDpmConfigInfo*.*ClusterDpmConfigInfo.defaultDpmBehavior`).
- DpmHostConfigSpec []ClusterDpmHostConfigSpec `xml:"dpmHostConfigSpec,omitempty" json:"dpmHostConfigSpec,omitempty" vim:"2.5"`
+ DpmHostConfigSpec []ClusterDpmHostConfigSpec `xml:"dpmHostConfigSpec,omitempty" json:"dpmHostConfigSpec,omitempty"`
// VSAN configuration; includes default settings for hosts.
//
// When it is requested to change, vSAN related sub tasks will be
@@ -11551,8 +11579,8 @@ type ClusterConfigSpecEx struct {
}
func init() {
- minAPIVersionForType["ClusterConfigSpecEx"] = "2.5"
t["ClusterConfigSpecEx"] = reflect.TypeOf((*ClusterConfigSpecEx)(nil)).Elem()
+ minAPIVersionForType["ClusterConfigSpecEx"] = "2.5"
}
// This event records when a cluster is created.
@@ -11570,10 +11598,10 @@ func init() {
type ClusterCryptoConfigInfo struct {
DynamicData
- // The cluster encrypton mode.
+ // The cluster encryption mode.
//
// See `ClusterCryptoConfigInfoCryptoMode_enum` for supported values.
- CryptoMode string `xml:"cryptoMode,omitempty" json:"cryptoMode,omitempty" vim:"7.0"`
+ CryptoMode string `xml:"cryptoMode,omitempty" json:"cryptoMode,omitempty"`
}
func init() {
@@ -11621,14 +11649,14 @@ type ClusterDasAamHostInfo struct {
ClusterDasHostInfo
// The state of HA on the hosts.
- HostDasState []ClusterDasAamNodeState `xml:"hostDasState,omitempty" json:"hostDasState,omitempty" vim:"4.0"`
+ HostDasState []ClusterDasAamNodeState `xml:"hostDasState,omitempty" json:"hostDasState,omitempty"`
// The list of primary hosts.
- PrimaryHosts []string `xml:"primaryHosts,omitempty" json:"primaryHosts,omitempty" vim:"4.0"`
+ PrimaryHosts []string `xml:"primaryHosts,omitempty" json:"primaryHosts,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDasAamHostInfo"] = "4.0"
t["ClusterDasAamHostInfo"] = reflect.TypeOf((*ClusterDasAamHostInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAamHostInfo"] = "4.0"
}
// Deprecated as of vSphere API 5.0, this object is no longer returned by
@@ -11645,10 +11673,10 @@ type ClusterDasAamNodeState struct {
// Reference to the host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Name of the host
// (`HostSystem*.*ManagedEntity.name`).
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Configuration state of the HA agent on the host.
//
// The property can be one of the following values:
@@ -11662,7 +11690,7 @@ type ClusterDasAamNodeState struct {
// configuration on the host. If the configuration operation is
// successful, the value of configState
changes
// to running
. See `ClusterDasAamNodeStateDasState_enum`.
- ConfigState string `xml:"configState" json:"configState" vim:"4.0"`
+ ConfigState string `xml:"configState" json:"configState"`
// The runtime state of the HA agent on the node.
//
// The property can be one of the following values:
@@ -11675,12 +11703,12 @@ type ClusterDasAamNodeState struct {
// nodeFailed
//
// See `ClusterDasAamNodeStateDasState_enum`.
- RuntimeState string `xml:"runtimeState" json:"runtimeState" vim:"4.0"`
+ RuntimeState string `xml:"runtimeState" json:"runtimeState"`
}
func init() {
- minAPIVersionForType["ClusterDasAamNodeState"] = "4.0"
t["ClusterDasAamNodeState"] = reflect.TypeOf((*ClusterDasAamNodeState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAamNodeState"] = "4.0"
}
// Base class for admission control related information of a vSphere HA cluster.
@@ -11689,8 +11717,8 @@ type ClusterDasAdmissionControlInfo struct {
}
func init() {
- minAPIVersionForType["ClusterDasAdmissionControlInfo"] = "4.0"
t["ClusterDasAdmissionControlInfo"] = reflect.TypeOf((*ClusterDasAdmissionControlInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAdmissionControlInfo"] = "4.0"
}
// Base class for specifying how admission control should be done for vSphere HA.
@@ -11716,8 +11744,8 @@ type ClusterDasAdmissionControlPolicy struct {
}
func init() {
- minAPIVersionForType["ClusterDasAdmissionControlPolicy"] = "4.0"
t["ClusterDasAdmissionControlPolicy"] = reflect.TypeOf((*ClusterDasAdmissionControlPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAdmissionControlPolicy"] = "4.0"
}
// Base class for advanced runtime information related to the high
@@ -11726,7 +11754,7 @@ type ClusterDasAdvancedRuntimeInfo struct {
DynamicData
// The information pertaining to the HA agents on the hosts
- DasHostInfo BaseClusterDasHostInfo `xml:"dasHostInfo,omitempty,typeattr" json:"dasHostInfo,omitempty" vim:"4.0"`
+ DasHostInfo BaseClusterDasHostInfo `xml:"dasHostInfo,omitempty,typeattr" json:"dasHostInfo,omitempty"`
// Whether HA VM Component Protection can be enabled for the cluster.
VmcpSupported *ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo `xml:"vmcpSupported,omitempty" json:"vmcpSupported,omitempty" vim:"6.0"`
// The map of a datastore to the set of hosts that are using
@@ -11735,8 +11763,8 @@ type ClusterDasAdvancedRuntimeInfo struct {
}
func init() {
- minAPIVersionForType["ClusterDasAdvancedRuntimeInfo"] = "4.0"
t["ClusterDasAdvancedRuntimeInfo"] = reflect.TypeOf((*ClusterDasAdvancedRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAdvancedRuntimeInfo"] = "4.0"
}
// Class for capability to support VM Component Protection
@@ -11746,16 +11774,16 @@ type ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo struct {
// If all hosts in the cluster support the reaction of VM Component Protection
// to storage All Paths Down timeout
// (@link vim.host.MountInfo.InaccessibleReason#AllPathsDown\_Timeout}
- StorageAPDSupported bool `xml:"storageAPDSupported" json:"storageAPDSupported" vim:"6.0"`
+ StorageAPDSupported bool `xml:"storageAPDSupported" json:"storageAPDSupported"`
// If all hosts in the cluster support the reaction of VM Component Protection
// to storage Permanent Device Loss
// (@link vim.host.MountInfo.InaccessibleReason#PermanentDeviceLoss}
- StoragePDLSupported bool `xml:"storagePDLSupported" json:"storagePDLSupported" vim:"6.0"`
+ StoragePDLSupported bool `xml:"storagePDLSupported" json:"storagePDLSupported"`
}
func init() {
- minAPIVersionForType["ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo"] = "6.0"
t["ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo"] = reflect.TypeOf((*ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasAdvancedRuntimeInfoVmcpCapabilityInfo"] = "6.0"
}
// The `ClusterDasConfigInfo` data object contains configuration data
@@ -11920,8 +11948,8 @@ type ClusterDasData struct {
}
func init() {
- minAPIVersionForType["ClusterDasData"] = "5.0"
t["ClusterDasData"] = reflect.TypeOf((*ClusterDasData)(nil)).Elem()
+ minAPIVersionForType["ClusterDasData"] = "5.0"
}
// This class contains the summary of the data that DAS needs/uses.
@@ -11933,16 +11961,16 @@ type ClusterDasDataSummary struct {
ClusterDasData
// The version corresponding to the hostList
- HostListVersion int64 `xml:"hostListVersion" json:"hostListVersion" vim:"5.0"`
+ HostListVersion int64 `xml:"hostListVersion" json:"hostListVersion"`
// The version corresponding to the clusterConfig
- ClusterConfigVersion int64 `xml:"clusterConfigVersion" json:"clusterConfigVersion" vim:"5.0"`
+ ClusterConfigVersion int64 `xml:"clusterConfigVersion" json:"clusterConfigVersion"`
// The version corresponding to the compatList
- CompatListVersion int64 `xml:"compatListVersion" json:"compatListVersion" vim:"5.0"`
+ CompatListVersion int64 `xml:"compatListVersion" json:"compatListVersion"`
}
func init() {
- minAPIVersionForType["ClusterDasDataSummary"] = "5.0"
t["ClusterDasDataSummary"] = reflect.TypeOf((*ClusterDasDataSummary)(nil)).Elem()
+ minAPIVersionForType["ClusterDasDataSummary"] = "5.0"
}
// Advanced runtime information related to the high availability service
@@ -11954,15 +11982,15 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfo struct {
ClusterDasAdvancedRuntimeInfo
// Slot information for this cluster.
- SlotInfo ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo `xml:"slotInfo" json:"slotInfo" vim:"4.0"`
+ SlotInfo ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo `xml:"slotInfo" json:"slotInfo"`
// The total number of slots available in the cluster.
//
// See also `ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo`.
- TotalSlots int32 `xml:"totalSlots" json:"totalSlots" vim:"4.0"`
+ TotalSlots int32 `xml:"totalSlots" json:"totalSlots"`
// The number of slots currently being used.
//
// See also `ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo`.
- UsedSlots int32 `xml:"usedSlots" json:"usedSlots" vim:"4.0"`
+ UsedSlots int32 `xml:"usedSlots" json:"usedSlots"`
// The number of slots that are not used by currently powered on virtual machines
// and not reserved to satisfy the configured failover level.
//
@@ -11977,14 +12005,14 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfo struct {
// (see `ClusterDasFailoverLevelAdvancedRuntimeInfo.usedSlots`). If this number is negative, use zero instead.
//
// See also `ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo`.
- UnreservedSlots int32 `xml:"unreservedSlots" json:"unreservedSlots" vim:"4.0"`
+ UnreservedSlots int32 `xml:"unreservedSlots" json:"unreservedSlots"`
// The total number of powered on vms in the cluster.
- TotalVms int32 `xml:"totalVms" json:"totalVms" vim:"4.0"`
+ TotalVms int32 `xml:"totalVms" json:"totalVms"`
// The total number of hosts in the cluster.
- TotalHosts int32 `xml:"totalHosts" json:"totalHosts" vim:"4.0"`
+ TotalHosts int32 `xml:"totalHosts" json:"totalHosts"`
// The total number of connected hosts that are not in maintance mode and that
// do not have any DAS-related config issues on them.
- TotalGoodHosts int32 `xml:"totalGoodHosts" json:"totalGoodHosts" vim:"4.0"`
+ TotalGoodHosts int32 `xml:"totalGoodHosts" json:"totalGoodHosts"`
HostSlots []ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots `xml:"hostSlots,omitempty" json:"hostSlots,omitempty"`
// The list of virtual machines whose reservations and memory overhead are not
// satisfied by a single slot.
@@ -11992,8 +12020,8 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfo struct {
}
func init() {
- minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfo"] = "4.0"
t["ClusterDasFailoverLevelAdvancedRuntimeInfo"] = reflect.TypeOf((*ClusterDasFailoverLevelAdvancedRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfo"] = "4.0"
}
type ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots struct {
@@ -12002,9 +12030,9 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfoHostSlots struct {
// The reference to the host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The number of slots in this host.
- Slots int32 `xml:"slots" json:"slots" vim:"4.0"`
+ Slots int32 `xml:"slots" json:"slots"`
}
func init() {
@@ -12024,20 +12052,20 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo struct {
//
// The number of virtual cpus of a slot is defined as the maximum number of
// virtual cpus any powered on virtual machine has.
- NumVcpus int32 `xml:"numVcpus" json:"numVcpus" vim:"4.0"`
+ NumVcpus int32 `xml:"numVcpus" json:"numVcpus"`
// The cpu speed of a slot is defined as the maximum cpu reservation of any
// powered on virtual machine in the cluster, or any otherwise defined minimum,
// whichever is larger.
- CpuMHz int32 `xml:"cpuMHz" json:"cpuMHz" vim:"4.0"`
+ CpuMHz int32 `xml:"cpuMHz" json:"cpuMHz"`
// The memory size of a slot is defined as the maximum memory reservation plus
// memory overhead of any powered on virtual machine in the cluster, or any
// otherwise defined minimum, whichever is larger.
- MemoryMB int32 `xml:"memoryMB" json:"memoryMB" vim:"4.0"`
+ MemoryMB int32 `xml:"memoryMB" json:"memoryMB"`
}
func init() {
- minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo"] = "4.0"
t["ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo"] = reflect.TypeOf((*ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasFailoverLevelAdvancedRuntimeInfoSlotInfo"] = "4.0"
}
type ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots struct {
@@ -12046,9 +12074,9 @@ type ClusterDasFailoverLevelAdvancedRuntimeInfoVmSlots struct {
// The reference to the virtual machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The number of slots required by this virtual machine
- Slots int32 `xml:"slots" json:"slots" vim:"5.1"`
+ Slots int32 `xml:"slots" json:"slots"`
}
func init() {
@@ -12095,7 +12123,7 @@ type ClusterDasFdmHostState struct {
// See
// `ClusterDasFdmAvailabilityState_enum` for the set of
// states.
- State string `xml:"state" json:"state" vim:"5.0"`
+ State string `xml:"state" json:"state"`
// The entity reporting the state of the host.
//
// If the reporter is a host,
@@ -12103,12 +12131,12 @@ type ClusterDasFdmHostState struct {
// the property is unset.
//
// Refers instance of `HostSystem`.
- StateReporter *ManagedObjectReference `xml:"stateReporter,omitempty" json:"stateReporter,omitempty" vim:"5.0"`
+ StateReporter *ManagedObjectReference `xml:"stateReporter,omitempty" json:"stateReporter,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDasFdmHostState"] = "5.0"
t["ClusterDasFdmHostState"] = reflect.TypeOf((*ClusterDasFdmHostState)(nil)).Elem()
+ minAPIVersionForType["ClusterDasFdmHostState"] = "5.0"
}
// HA specific advanced information pertaining to the hosts in the cluster.
@@ -12117,8 +12145,8 @@ type ClusterDasHostInfo struct {
}
func init() {
- minAPIVersionForType["ClusterDasHostInfo"] = "4.0"
t["ClusterDasHostInfo"] = reflect.TypeOf((*ClusterDasHostInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDasHostInfo"] = "4.0"
}
// A host recommendation for a virtual machine managed by the VMware
@@ -12129,18 +12157,18 @@ type ClusterDasHostRecommendation struct {
// The recommended host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Rating as computed by DRS for a DRS-enabled cluster.
//
// Rating
// range from 1 to 5, and the higher the rating, the stronger DRS
// suggests this host is picked for the operation.
- DrsRating int32 `xml:"drsRating,omitempty" json:"drsRating,omitempty" vim:"4.0"`
+ DrsRating int32 `xml:"drsRating,omitempty" json:"drsRating,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDasHostRecommendation"] = "4.0"
t["ClusterDasHostRecommendation"] = reflect.TypeOf((*ClusterDasHostRecommendation)(nil)).Elem()
+ minAPIVersionForType["ClusterDasHostRecommendation"] = "4.0"
}
// The `ClusterDasVmConfigInfo` data object contains
@@ -12227,7 +12255,7 @@ type ClusterDasVmSettings struct {
// the virtual machine level, this will default to medium
.
//
// See also `ClusterDasVmSettingsRestartPriority_enum`.
- RestartPriority string `xml:"restartPriority,omitempty" json:"restartPriority,omitempty" vim:"2.5"`
+ RestartPriority string `xml:"restartPriority,omitempty" json:"restartPriority,omitempty"`
// This setting is used to specify a maximum time the lower priority VMs
// should wait for the higher priority VMs to be ready.
//
@@ -12252,7 +12280,7 @@ type ClusterDasVmSettings struct {
// the virtual machine level, this will default to powerOff
.
//
// See also `ClusterDasVmSettingsIsolationResponse_enum`.
- IsolationResponse string `xml:"isolationResponse,omitempty" json:"isolationResponse,omitempty" vim:"2.5"`
+ IsolationResponse string `xml:"isolationResponse,omitempty" json:"isolationResponse,omitempty"`
// Configuration for the VM Health Monitoring Service.
VmToolsMonitoringSettings *ClusterVmToolsMonitoringSettings `xml:"vmToolsMonitoringSettings,omitempty" json:"vmToolsMonitoringSettings,omitempty" vim:"4.0"`
// Configuration for the VM Component Protection Service.
@@ -12260,8 +12288,8 @@ type ClusterDasVmSettings struct {
}
func init() {
- minAPIVersionForType["ClusterDasVmSettings"] = "2.5"
t["ClusterDasVmSettings"] = reflect.TypeOf((*ClusterDasVmSettings)(nil)).Elem()
+ minAPIVersionForType["ClusterDasVmSettings"] = "2.5"
}
// An incremental update to a Datastore list.
@@ -12272,8 +12300,8 @@ type ClusterDatastoreUpdateSpec struct {
}
func init() {
- minAPIVersionForType["ClusterDatastoreUpdateSpec"] = "7.0.3.0"
t["ClusterDatastoreUpdateSpec"] = reflect.TypeOf((*ClusterDatastoreUpdateSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterDatastoreUpdateSpec"] = "7.0.3.0"
}
// The `ClusterDependencyRuleInfo` data object indentifies VM-to-VM
@@ -12300,17 +12328,17 @@ type ClusterDependencyRuleInfo struct {
// The virtual group may contain one or more virtual
// machines.
// `ClusterVmGroup*.*ClusterGroupInfo.name`
- VmGroup string `xml:"vmGroup" json:"vmGroup" vim:"6.5"`
+ VmGroup string `xml:"vmGroup" json:"vmGroup"`
// Depdendency virtual group name
// (`ClusterVmGroup*.*ClusterGroupInfo.name`).
//
// The virtual group may contain one or more virtual machines.
- DependsOnVmGroup string `xml:"dependsOnVmGroup" json:"dependsOnVmGroup" vim:"6.5"`
+ DependsOnVmGroup string `xml:"dependsOnVmGroup" json:"dependsOnVmGroup"`
}
func init() {
- minAPIVersionForType["ClusterDependencyRuleInfo"] = "6.5"
t["ClusterDependencyRuleInfo"] = reflect.TypeOf((*ClusterDependencyRuleInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDependencyRuleInfo"] = "6.5"
}
// This event records when a cluster is destroyed.
@@ -12333,13 +12361,13 @@ type ClusterDpmConfigInfo struct {
//
// This
// service can not be enabled, unless DRS is enabled as well.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"2.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Specifies the default VMware DPM behavior for
// hosts.
//
// This default behavior can be overridden on a per host
// basis using the `ClusterDpmHostConfigInfo` object.
- DefaultDpmBehavior DpmBehavior `xml:"defaultDpmBehavior,omitempty" json:"defaultDpmBehavior,omitempty" vim:"2.5"`
+ DefaultDpmBehavior DpmBehavior `xml:"defaultDpmBehavior,omitempty" json:"defaultDpmBehavior,omitempty"`
// DPM generates only those recommendations that are above the
// specified rating.
//
@@ -12350,12 +12378,12 @@ type ClusterDpmConfigInfo struct {
// `ClusterDrsConfigInfo.option`.
//
// Advanced settings.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"2.5"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDpmConfigInfo"] = "2.5"
t["ClusterDpmConfigInfo"] = reflect.TypeOf((*ClusterDpmConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDpmConfigInfo"] = "2.5"
}
// DPM configuration for a single host.
@@ -12369,7 +12397,7 @@ type ClusterDpmHostConfigInfo struct {
// Reference to the host.
//
// Refers instance of `HostSystem`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"2.5"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Flag to indicate whether or not VirtualCenter is allowed to perform any
// power related operations or recommendations for this host.
//
@@ -12378,16 +12406,16 @@ type ClusterDpmHostConfigInfo struct {
//
// If no individual DPM specification exists for a host,
// this property defaults to true.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"2.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Specifies the particular DPM behavior for this host.
//
// See also `ClusterDpmConfigInfo`.
- Behavior DpmBehavior `xml:"behavior,omitempty" json:"behavior,omitempty" vim:"2.5"`
+ Behavior DpmBehavior `xml:"behavior,omitempty" json:"behavior,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDpmHostConfigInfo"] = "2.5"
t["ClusterDpmHostConfigInfo"] = reflect.TypeOf((*ClusterDpmHostConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterDpmHostConfigInfo"] = "2.5"
}
// The `ClusterDpmHostConfigSpec` data object provides information
@@ -12432,8 +12460,8 @@ type ClusterDpmHostConfigSpec struct {
}
func init() {
- minAPIVersionForType["ClusterDpmHostConfigSpec"] = "2.5"
t["ClusterDpmHostConfigSpec"] = reflect.TypeOf((*ClusterDpmHostConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterDpmHostConfigSpec"] = "2.5"
}
// The `ClusterDrsConfigInfo` data object contains configuration information
@@ -12525,14 +12553,14 @@ type ClusterDrsFaults struct {
// A reason code explaining why this set of recommendations were attempted
// by DRS when it generated the faults.
- Reason string `xml:"reason" json:"reason" vim:"4.0"`
+ Reason string `xml:"reason" json:"reason"`
// The faults grouped by VMs that DRS was trying to migrate.
- FaultsByVm []BaseClusterDrsFaultsFaultsByVm `xml:"faultsByVm,typeattr" json:"faultsByVm" vim:"4.0"`
+ FaultsByVm []BaseClusterDrsFaultsFaultsByVm `xml:"faultsByVm,typeattr" json:"faultsByVm"`
}
func init() {
- minAPIVersionForType["ClusterDrsFaults"] = "4.0"
t["ClusterDrsFaults"] = reflect.TypeOf((*ClusterDrsFaults)(nil)).Elem()
+ minAPIVersionForType["ClusterDrsFaults"] = "4.0"
}
// The faults generated by storage DRS when it tries to move a virtual disk.
@@ -12544,12 +12572,12 @@ type ClusterDrsFaultsFaultsByVirtualDisk struct {
//
// If this property is NULL, the fault is not
// associated with a particular virtual disk.
- Disk *VirtualDiskId `xml:"disk,omitempty" json:"disk,omitempty" vim:"5.0"`
+ Disk *VirtualDiskId `xml:"disk,omitempty" json:"disk,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterDrsFaultsFaultsByVirtualDisk"] = "5.0"
t["ClusterDrsFaultsFaultsByVirtualDisk"] = reflect.TypeOf((*ClusterDrsFaultsFaultsByVirtualDisk)(nil)).Elem()
+ minAPIVersionForType["ClusterDrsFaultsFaultsByVirtualDisk"] = "5.0"
}
// FaultsByVm is the faults generated by DRS when it tries to
@@ -12562,14 +12590,14 @@ type ClusterDrsFaultsFaultsByVm struct {
// If this property is NULL, the fault is not associated with a particular VM.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"4.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The faults generated by DRS when it was trying to move the given VM.
- Fault []LocalizedMethodFault `xml:"fault" json:"fault" vim:"4.0"`
+ Fault []LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["ClusterDrsFaultsFaultsByVm"] = "4.0"
t["ClusterDrsFaultsFaultsByVm"] = reflect.TypeOf((*ClusterDrsFaultsFaultsByVm)(nil)).Elem()
+ minAPIVersionForType["ClusterDrsFaultsFaultsByVm"] = "4.0"
}
// Describes a single virtual machine migration.
@@ -12717,14 +12745,14 @@ type ClusterEVCManagerCheckResult struct {
DynamicData
// The EVC mode being tested for legal application.
- EvcModeKey string `xml:"evcModeKey" json:"evcModeKey" vim:"6.0"`
+ EvcModeKey string `xml:"evcModeKey" json:"evcModeKey"`
// A problem that would prevent applying the desired EVC mode.
- Error LocalizedMethodFault `xml:"error" json:"error" vim:"6.0"`
+ Error LocalizedMethodFault `xml:"error" json:"error"`
// The set of hosts which would generate the fault described by the
// `ClusterEVCManagerCheckResult.error` property when the desired EVC mode is applied.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.0"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
@@ -12738,7 +12766,7 @@ type ClusterEVCManagerEVCState struct {
//
// Identical to
// `Capability.supportedEVCMode`.
- SupportedEVCMode []EVCMode `xml:"supportedEVCMode" json:"supportedEVCMode" vim:"6.0"`
+ SupportedEVCMode []EVCMode `xml:"supportedEVCMode" json:"supportedEVCMode"`
// If unset, then EVC is disabled.
//
// If set, then EVC is enabled, and the
@@ -12748,7 +12776,7 @@ type ClusterEVCManagerEVCState struct {
// compatibility issues will not block any VMotion within the cluster
// (unless some VM is specifically configured to do different CPUID
// overrides).
- CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty" vim:"6.0"`
+ CurrentEVCModeKey string `xml:"currentEVCModeKey,omitempty" json:"currentEVCModeKey,omitempty"`
// Deprecated as of vSphere API 6.5 use `ClusterEVCManagerEVCState.featureCapability`.
//
// When EVC is enabled, this array contains the CPU feature bits that are
@@ -12759,7 +12787,7 @@ type ClusterEVCManagerEVCState struct {
// features either naturally match these values because of the CPU
// hardware, or else CPU feature override is used to mask out differences
// and enforce a match. This array is empty when EVC is disabled.
- GuaranteedCPUFeatures []HostCpuIdInfo `xml:"guaranteedCPUFeatures,omitempty" json:"guaranteedCPUFeatures,omitempty" vim:"6.0"`
+ GuaranteedCPUFeatures []HostCpuIdInfo `xml:"guaranteedCPUFeatures,omitempty" json:"guaranteedCPUFeatures,omitempty"`
// When EVC is enabled, this array contains the feature capabilities that
// are guaranteed (by EVC) to be the same among all hosts in the cluster.
//
@@ -12768,13 +12796,13 @@ type ClusterEVCManagerEVCState struct {
// capabilities either naturally match these values because of the CPU
// hardware, or else feature masks are used to mask out differences and
// enforce a match. This array is empty when EVC is disabled.
- FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty" vim:"6.0"`
+ FeatureCapability []HostFeatureCapability `xml:"featureCapability,omitempty" json:"featureCapability,omitempty"`
// The masks (modifications to a host's feature capabilities) that limit a
// host's capabilities to that of the EVC mode baseline.
- FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty" vim:"6.0"`
+ FeatureMask []HostFeatureMask `xml:"featureMask,omitempty" json:"featureMask,omitempty"`
// The conditions that must be true of a host's feature capabilities in order
// for the host to meet the minimum requirements of the EVC mode baseline.
- FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"6.0"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty"`
}
func init() {
@@ -12824,15 +12852,15 @@ type ClusterEnterMaintenanceResult struct {
// recommendations is not supported currently. The client will have
// to put the hosts into maintenance mode by calling the separate
// method `HostSystem.EnterMaintenanceMode_Task`.
- Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty" vim:"5.0"`
+ Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty"`
// The faults that explain why the Virtual Center cannot evacuate
// some hosts.
- Fault *ClusterDrsFaults `xml:"fault,omitempty" json:"fault,omitempty" vim:"5.0"`
+ Fault *ClusterDrsFaults `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterEnterMaintenanceResult"] = "5.0"
t["ClusterEnterMaintenanceResult"] = reflect.TypeOf((*ClusterEnterMaintenanceResult)(nil)).Elem()
+ minAPIVersionForType["ClusterEnterMaintenanceResult"] = "5.0"
}
// These are cluster events.
@@ -12850,12 +12878,12 @@ type ClusterFailoverHostAdmissionControlInfo struct {
ClusterDasAdmissionControlInfo
// Status of the failover hosts in the cluster.
- HostStatus []ClusterFailoverHostAdmissionControlInfoHostStatus `xml:"hostStatus,omitempty" json:"hostStatus,omitempty" vim:"4.0"`
+ HostStatus []ClusterFailoverHostAdmissionControlInfoHostStatus `xml:"hostStatus,omitempty" json:"hostStatus,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterFailoverHostAdmissionControlInfo"] = "4.0"
t["ClusterFailoverHostAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverHostAdmissionControlInfo"] = "4.0"
}
// Data object containing the status of a failover host.
@@ -12865,7 +12893,7 @@ type ClusterFailoverHostAdmissionControlInfoHostStatus struct {
// The failover host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The status of the failover host.
//
// The status is green for a connected host with no vSphere HA errors and
@@ -12874,12 +12902,12 @@ type ClusterFailoverHostAdmissionControlInfoHostStatus struct {
// some virtual machines running on it.
// The status red for a disconnected or not responding host, a host that
// is in maintenance or standby mode or that has a vSphere HA error on it.
- Status ManagedEntityStatus `xml:"status" json:"status" vim:"4.0"`
+ Status ManagedEntityStatus `xml:"status" json:"status"`
}
func init() {
- minAPIVersionForType["ClusterFailoverHostAdmissionControlInfoHostStatus"] = "4.0"
t["ClusterFailoverHostAdmissionControlInfoHostStatus"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlInfoHostStatus)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverHostAdmissionControlInfoHostStatus"] = "4.0"
}
// The `ClusterFailoverHostAdmissionControlPolicy` dedicates
@@ -12906,7 +12934,7 @@ type ClusterFailoverHostAdmissionControlPolicy struct {
// List of managed object references to failover hosts.
//
// Refers instances of `HostSystem`.
- FailoverHosts []ManagedObjectReference `xml:"failoverHosts,omitempty" json:"failoverHosts,omitempty" vim:"4.0"`
+ FailoverHosts []ManagedObjectReference `xml:"failoverHosts,omitempty" json:"failoverHosts,omitempty"`
// Number of host failures that should be tolerated, still guaranteeing
// sufficient resources to restart virtual machines on available hosts.
//
@@ -12915,8 +12943,8 @@ type ClusterFailoverHostAdmissionControlPolicy struct {
}
func init() {
- minAPIVersionForType["ClusterFailoverHostAdmissionControlPolicy"] = "4.0"
t["ClusterFailoverHostAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverHostAdmissionControlPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverHostAdmissionControlPolicy"] = "4.0"
}
// The current admission control related information if the cluster was
@@ -12930,12 +12958,12 @@ type ClusterFailoverLevelAdmissionControlInfo struct {
// can be tolerated without impacting the ability to satisfy the minimums for
// all running virtual machines. This represents the current value, as
// opposed to desired value configured by the user.
- CurrentFailoverLevel int32 `xml:"currentFailoverLevel" json:"currentFailoverLevel" vim:"4.0"`
+ CurrentFailoverLevel int32 `xml:"currentFailoverLevel" json:"currentFailoverLevel"`
}
func init() {
- minAPIVersionForType["ClusterFailoverLevelAdmissionControlInfo"] = "4.0"
t["ClusterFailoverLevelAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverLevelAdmissionControlInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverLevelAdmissionControlInfo"] = "4.0"
}
// The `ClusterFailoverLevelAdmissionControlPolicy`
@@ -12995,7 +13023,7 @@ type ClusterFailoverLevelAdmissionControlPolicy struct {
// Number of host failures that should be tolerated, still guaranteeing
// sufficient resources to restart virtual machines on available hosts.
- FailoverLevel int32 `xml:"failoverLevel" json:"failoverLevel" vim:"4.0"`
+ FailoverLevel int32 `xml:"failoverLevel" json:"failoverLevel"`
// A policy for how to compute the slot size.
//
// If left unset, the slot is
@@ -13005,8 +13033,8 @@ type ClusterFailoverLevelAdmissionControlPolicy struct {
}
func init() {
- minAPIVersionForType["ClusterFailoverLevelAdmissionControlPolicy"] = "4.0"
t["ClusterFailoverLevelAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverLevelAdmissionControlPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverLevelAdmissionControlPolicy"] = "4.0"
}
// The current admission control related information if the cluster was configured
@@ -13015,17 +13043,17 @@ type ClusterFailoverResourcesAdmissionControlInfo struct {
ClusterDasAdmissionControlInfo
// The percentage of cpu resources in the cluster available for failover.
- CurrentCpuFailoverResourcesPercent int32 `xml:"currentCpuFailoverResourcesPercent" json:"currentCpuFailoverResourcesPercent" vim:"4.0"`
+ CurrentCpuFailoverResourcesPercent int32 `xml:"currentCpuFailoverResourcesPercent" json:"currentCpuFailoverResourcesPercent"`
// The percentage of memory resources in the cluster available for failover.
- CurrentMemoryFailoverResourcesPercent int32 `xml:"currentMemoryFailoverResourcesPercent" json:"currentMemoryFailoverResourcesPercent" vim:"4.0"`
+ CurrentMemoryFailoverResourcesPercent int32 `xml:"currentMemoryFailoverResourcesPercent" json:"currentMemoryFailoverResourcesPercent"`
// The percentage of persistent memory resources in the cluster available
// for failover.
CurrentPMemFailoverResourcesPercent int32 `xml:"currentPMemFailoverResourcesPercent,omitempty" json:"currentPMemFailoverResourcesPercent,omitempty" vim:"7.0.2.0"`
}
func init() {
- minAPIVersionForType["ClusterFailoverResourcesAdmissionControlInfo"] = "4.0"
t["ClusterFailoverResourcesAdmissionControlInfo"] = reflect.TypeOf((*ClusterFailoverResourcesAdmissionControlInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverResourcesAdmissionControlInfo"] = "4.0"
}
// The `ClusterFailoverResourcesAdmissionControlPolicy`
@@ -13058,11 +13086,11 @@ type ClusterFailoverResourcesAdmissionControlPolicy struct {
// Percentage of CPU resources in the cluster to reserve for failover.
//
// You can specify up to 100% of CPU resources for failover.
- CpuFailoverResourcesPercent int32 `xml:"cpuFailoverResourcesPercent" json:"cpuFailoverResourcesPercent" vim:"4.0"`
+ CpuFailoverResourcesPercent int32 `xml:"cpuFailoverResourcesPercent" json:"cpuFailoverResourcesPercent"`
// Percentage of memory resources in the cluster to reserve for failover.
//
// You can specify up to 100% of memory resources for failover.
- MemoryFailoverResourcesPercent int32 `xml:"memoryFailoverResourcesPercent" json:"memoryFailoverResourcesPercent" vim:"4.0"`
+ MemoryFailoverResourcesPercent int32 `xml:"memoryFailoverResourcesPercent" json:"memoryFailoverResourcesPercent"`
// Number of host failures that should be tolerated, still guaranteeing
// sufficient resources to restart virtual machines on available hosts.
//
@@ -13095,8 +13123,8 @@ type ClusterFailoverResourcesAdmissionControlPolicy struct {
}
func init() {
- minAPIVersionForType["ClusterFailoverResourcesAdmissionControlPolicy"] = "4.0"
t["ClusterFailoverResourcesAdmissionControlPolicy"] = reflect.TypeOf((*ClusterFailoverResourcesAdmissionControlPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterFailoverResourcesAdmissionControlPolicy"] = "4.0"
}
// This policy allows setting a fixed slot size
@@ -13104,14 +13132,14 @@ type ClusterFixedSizeSlotPolicy struct {
ClusterSlotPolicy
// The cpu component of the slot size (in MHz)
- Cpu int32 `xml:"cpu" json:"cpu" vim:"5.1"`
+ Cpu int32 `xml:"cpu" json:"cpu"`
// The memory component of the slot size (in megabytes)
- Memory int32 `xml:"memory" json:"memory" vim:"5.1"`
+ Memory int32 `xml:"memory" json:"memory"`
}
func init() {
- minAPIVersionForType["ClusterFixedSizeSlotPolicy"] = "5.1"
t["ClusterFixedSizeSlotPolicy"] = reflect.TypeOf((*ClusterFixedSizeSlotPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterFixedSizeSlotPolicy"] = "5.1"
}
// `ClusterGroupInfo` is the base type for all virtual machine
@@ -13123,7 +13151,7 @@ type ClusterGroupInfo struct {
DynamicData
// Unique name of the group.
- Name string `xml:"name" json:"name" vim:"4.1"`
+ Name string `xml:"name" json:"name"`
// Flag to indicate whether the group is created by the user or the system.
UserCreated *bool `xml:"userCreated" json:"userCreated,omitempty" vim:"5.0"`
// Unique ID for the group.
@@ -13134,8 +13162,8 @@ type ClusterGroupInfo struct {
}
func init() {
- minAPIVersionForType["ClusterGroupInfo"] = "4.1"
t["ClusterGroupInfo"] = reflect.TypeOf((*ClusterGroupInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterGroupInfo"] = "4.1"
}
// An incremental update to the cluster-wide groups.
@@ -13146,8 +13174,8 @@ type ClusterGroupSpec struct {
}
func init() {
- minAPIVersionForType["ClusterGroupSpec"] = "4.1"
t["ClusterGroupSpec"] = reflect.TypeOf((*ClusterGroupSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterGroupSpec"] = "4.1"
}
// The `ClusterHostGroup` data object identifies hosts for VM-Host rules.
@@ -13163,12 +13191,12 @@ type ClusterHostGroup struct {
// A host group can contain zero or more hosts.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.1"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterHostGroup"] = "4.1"
t["ClusterHostGroup"] = reflect.TypeOf((*ClusterHostGroup)(nil)).Elem()
+ minAPIVersionForType["ClusterHostGroup"] = "4.1"
}
// Describes a HostSystem's quarantine or maintenance mode change action.
@@ -13179,12 +13207,12 @@ type ClusterHostInfraUpdateHaModeAction struct {
//
// Values are of type
// `OperationType`.
- OperationType string `xml:"operationType" json:"operationType" vim:"6.5"`
+ OperationType string `xml:"operationType" json:"operationType"`
}
func init() {
- minAPIVersionForType["ClusterHostInfraUpdateHaModeAction"] = "6.5"
t["ClusterHostInfraUpdateHaModeAction"] = reflect.TypeOf((*ClusterHostInfraUpdateHaModeAction)(nil)).Elem()
+ minAPIVersionForType["ClusterHostInfraUpdateHaModeAction"] = "6.5"
}
// Describes a single host power action.
@@ -13192,33 +13220,33 @@ type ClusterHostPowerAction struct {
ClusterAction
// Specify whether the action is power on or power off
- OperationType HostPowerOperationType `xml:"operationType" json:"operationType" vim:"2.5"`
+ OperationType HostPowerOperationType `xml:"operationType" json:"operationType"`
// Estimated power consumption of the host.
//
// In case of power-on,
// this is the projected increase in the cluster's power
// consumption. In case of power off, this is the projected
// decrease in the cluster's power consumption
- PowerConsumptionWatt int32 `xml:"powerConsumptionWatt,omitempty" json:"powerConsumptionWatt,omitempty" vim:"2.5"`
+ PowerConsumptionWatt int32 `xml:"powerConsumptionWatt,omitempty" json:"powerConsumptionWatt,omitempty"`
// CPU capacity of the host in units of MHz.
//
// In case of power-on
// action, this is the projected increase in the cluster's CPU
// capacity. In case of power off, this is the projected decrease
// in the cluster's CPU capacity.
- CpuCapacityMHz int32 `xml:"cpuCapacityMHz,omitempty" json:"cpuCapacityMHz,omitempty" vim:"2.5"`
+ CpuCapacityMHz int32 `xml:"cpuCapacityMHz,omitempty" json:"cpuCapacityMHz,omitempty"`
// Memory capacity of the host in units of MM.
//
// In case of power-on
// action, this is the projected increase in the cluster's memory
// capacity. In case of power off, this is the projected decrease
// in the cluster's memory capacity.
- MemCapacityMB int32 `xml:"memCapacityMB,omitempty" json:"memCapacityMB,omitempty" vim:"2.5"`
+ MemCapacityMB int32 `xml:"memCapacityMB,omitempty" json:"memCapacityMB,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterHostPowerAction"] = "2.5"
t["ClusterHostPowerAction"] = reflect.TypeOf((*ClusterHostPowerAction)(nil)).Elem()
+ minAPIVersionForType["ClusterHostPowerAction"] = "2.5"
}
// A DRS recommended host for either powering on, resuming or
@@ -13254,24 +13282,24 @@ type ClusterInfraUpdateHaConfigInfo struct {
//
// InfraUpdateHA
// will not be active, unless DRS is enabled as well.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"6.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Configured behavior.
//
// Values are of type
// `BehaviorType`.
- Behavior string `xml:"behavior,omitempty" json:"behavior,omitempty" vim:"6.5"`
+ Behavior string `xml:"behavior,omitempty" json:"behavior,omitempty"`
// Configured remediation for moderately degraded hosts.
//
// Values are of type
// `RemediationType`.
// Configuring MaintenanceMode for moderateRemedation and QuarantineMode for
// severeRemediation is not supported and will throw InvalidArgument.
- ModerateRemediation string `xml:"moderateRemediation,omitempty" json:"moderateRemediation,omitempty" vim:"6.5"`
+ ModerateRemediation string `xml:"moderateRemediation,omitempty" json:"moderateRemediation,omitempty"`
// Configured remediation for severely degraded hosts.
//
// Values are of type
// `RemediationType`.
- SevereRemediation string `xml:"severeRemediation,omitempty" json:"severeRemediation,omitempty" vim:"6.5"`
+ SevereRemediation string `xml:"severeRemediation,omitempty" json:"severeRemediation,omitempty"`
// The list of health update providers configured for this cluster.
//
// Providers are identified by their id.
@@ -13280,12 +13308,12 @@ type ClusterInfraUpdateHaConfigInfo struct {
// clear the list of providers.
//
// If the provider list is empty, InfraUpdateHA will not be active.
- Providers []string `xml:"providers,omitempty" json:"providers,omitempty" vim:"6.5"`
+ Providers []string `xml:"providers,omitempty" json:"providers,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterInfraUpdateHaConfigInfo"] = "6.5"
t["ClusterInfraUpdateHaConfigInfo"] = reflect.TypeOf((*ClusterInfraUpdateHaConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterInfraUpdateHaConfigInfo"] = "6.5"
}
// Describes an initial placement of a single virtual machine
@@ -13295,17 +13323,17 @@ type ClusterInitialPlacementAction struct {
// The host where the virtual machine should be initially placed.
//
// Refers instance of `HostSystem`.
- TargetHost ManagedObjectReference `xml:"targetHost" json:"targetHost" vim:"2.5"`
+ TargetHost ManagedObjectReference `xml:"targetHost" json:"targetHost"`
// The resource pool to place the virtual machine into in case this
// action is for migrating from outside cluster.
//
// Refers instance of `ResourcePool`.
- Pool *ManagedObjectReference `xml:"pool,omitempty" json:"pool,omitempty" vim:"2.5"`
+ Pool *ManagedObjectReference `xml:"pool,omitempty" json:"pool,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterInitialPlacementAction"] = "2.5"
t["ClusterInitialPlacementAction"] = reflect.TypeOf((*ClusterInitialPlacementAction)(nil)).Elem()
+ minAPIVersionForType["ClusterInitialPlacementAction"] = "2.5"
}
// Information about an IO Filter on a compute resource.
@@ -13320,7 +13348,7 @@ type ClusterIoFilterInfo struct {
// and the uninstallation of the filter was sucessful on all the hosts
// in the cluster, the filter will be removed from the cluster's filter
// list.
- OpType string `xml:"opType" json:"opType" vim:"6.0"`
+ OpType string `xml:"opType" json:"opType"`
// The URL of the VIB package that the IO Filter is installed from.
//
// The property is unset if the information is not available.
@@ -13328,8 +13356,8 @@ type ClusterIoFilterInfo struct {
}
func init() {
- minAPIVersionForType["ClusterIoFilterInfo"] = "6.0"
t["ClusterIoFilterInfo"] = reflect.TypeOf((*ClusterIoFilterInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterIoFilterInfo"] = "6.0"
}
// Describes a single VM migration action.
@@ -13337,12 +13365,12 @@ type ClusterMigrationAction struct {
ClusterAction
// The details of the migration action
- DrsMigration *ClusterDrsMigration `xml:"drsMigration,omitempty" json:"drsMigration,omitempty" vim:"2.5"`
+ DrsMigration *ClusterDrsMigration `xml:"drsMigration,omitempty" json:"drsMigration,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterMigrationAction"] = "2.5"
t["ClusterMigrationAction"] = reflect.TypeOf((*ClusterMigrationAction)(nil)).Elem()
+ minAPIVersionForType["ClusterMigrationAction"] = "2.5"
}
// The Cluster network config spec allows specification of
@@ -13356,7 +13384,7 @@ type ClusterNetworkConfigSpec struct {
// added to the Active vCenter.
//
// Refers instance of `Network`.
- NetworkPortGroup ManagedObjectReference `xml:"networkPortGroup" json:"networkPortGroup" vim:"6.5"`
+ NetworkPortGroup ManagedObjectReference `xml:"networkPortGroup" json:"networkPortGroup"`
// VCHA Cluster network configuration of the node.
//
// All cluster communication (state replication, heartbeat,
@@ -13364,12 +13392,12 @@ type ClusterNetworkConfigSpec struct {
// Only a single Gateway IPv4 Address is supported.
// IPAddress and NetMask must be specified or an InvalidArgument
// exception will be reported.
- IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings" vim:"6.5"`
+ IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings"`
}
func init() {
- minAPIVersionForType["ClusterNetworkConfigSpec"] = "6.5"
t["ClusterNetworkConfigSpec"] = reflect.TypeOf((*ClusterNetworkConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterNetworkConfigSpec"] = "6.5"
}
// This data class reports one virtual machine powerOn failure.
@@ -13379,14 +13407,14 @@ type ClusterNotAttemptedVmInfo struct {
// The virtual machine that can not be powered on.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"2.5"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The exception returned.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"2.5"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["ClusterNotAttemptedVmInfo"] = "2.5"
t["ClusterNotAttemptedVmInfo"] = reflect.TypeOf((*ClusterNotAttemptedVmInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterNotAttemptedVmInfo"] = "2.5"
}
// vSphere cluster VM orchestration settings.
@@ -13405,12 +13433,12 @@ type ClusterOrchestrationInfo struct {
DynamicData
// Cluster-wide defaults for virtual machine readiness
- DefaultVmReadiness *ClusterVmReadiness `xml:"defaultVmReadiness,omitempty" json:"defaultVmReadiness,omitempty" vim:"6.5"`
+ DefaultVmReadiness *ClusterVmReadiness `xml:"defaultVmReadiness,omitempty" json:"defaultVmReadiness,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterOrchestrationInfo"] = "6.5"
t["ClusterOrchestrationInfo"] = reflect.TypeOf((*ClusterOrchestrationInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterOrchestrationInfo"] = "6.5"
}
// This event records when a cluster's host capacity cannot satisfy resource
@@ -13431,18 +13459,18 @@ type ClusterPowerOnVmResult struct {
// The list of virtual machines the Virtual Center has attempted to power on.
//
// For a virtual machine not managed by DRS, a task ID is also returned.
- Attempted []ClusterAttemptedVmInfo `xml:"attempted,omitempty" json:"attempted,omitempty" vim:"2.5"`
+ Attempted []ClusterAttemptedVmInfo `xml:"attempted,omitempty" json:"attempted,omitempty"`
// The list of virtual machines DRS can not find suitable hosts for powering on.
//
// There is one fault associated with each virtual machine.
- NotAttempted []ClusterNotAttemptedVmInfo `xml:"notAttempted,omitempty" json:"notAttempted,omitempty" vim:"2.5"`
+ NotAttempted []ClusterNotAttemptedVmInfo `xml:"notAttempted,omitempty" json:"notAttempted,omitempty"`
// The list of recommendations that need the client to approve manually.
- Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty" vim:"2.5"`
+ Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterPowerOnVmResult"] = "2.5"
t["ClusterPowerOnVmResult"] = reflect.TypeOf((*ClusterPowerOnVmResult)(nil)).Elem()
+ minAPIVersionForType["ClusterPowerOnVmResult"] = "2.5"
}
// The `ClusterPreemptibleVmPairInfo` data object contains the monitored and the
@@ -13491,6 +13519,7 @@ type ClusterPreemptibleVmPairInfo struct {
func init() {
t["ClusterPreemptibleVmPairInfo"] = reflect.TypeOf((*ClusterPreemptibleVmPairInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterPreemptibleVmPairInfo"] = "8.0.0.1"
}
// Provides monitored and preemptible VM pair along with any of the operations
@@ -13507,13 +13536,14 @@ type ClusterPreemptibleVmPairSpec struct {
func init() {
t["ClusterPreemptibleVmPairSpec"] = reflect.TypeOf((*ClusterPreemptibleVmPairSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterPreemptibleVmPairSpec"] = "8.0.0.1"
}
type ClusterProactiveDrsConfigInfo struct {
DynamicData
// Flag indicating whether or not the service is enabled.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"6.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
}
func init() {
@@ -13528,19 +13558,19 @@ type ClusterProfileCompleteConfigSpec struct {
// User defined compliance profile for the cluster.
//
// If unset, clear the complyProfile.
- ComplyProfile *ComplianceProfile `xml:"complyProfile,omitempty" json:"complyProfile,omitempty" vim:"4.0"`
+ ComplyProfile *ComplianceProfile `xml:"complyProfile,omitempty" json:"complyProfile,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterProfileCompleteConfigSpec"] = "4.0"
t["ClusterProfileCompleteConfigSpec"] = reflect.TypeOf((*ClusterProfileCompleteConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterProfileCompleteConfigSpec"] = "4.0"
}
type ClusterProfileConfigInfo struct {
ProfileConfigInfo
// Compliance profile for the cluster
- ComplyProfile *ComplianceProfile `xml:"complyProfile,omitempty" json:"complyProfile,omitempty" vim:"4.0"`
+ ComplyProfile *ComplianceProfile `xml:"complyProfile,omitempty" json:"complyProfile,omitempty"`
}
func init() {
@@ -13559,12 +13589,12 @@ type ClusterProfileConfigServiceCreateSpec struct {
// Possible values are specified by
// `ClusterProfileServiceType_enum`.
// If unset, clear the compliance expressions on the profile.
- ServiceType []string `xml:"serviceType,omitempty" json:"serviceType,omitempty" vim:"4.0"`
+ ServiceType []string `xml:"serviceType,omitempty" json:"serviceType,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterProfileConfigServiceCreateSpec"] = "4.0"
t["ClusterProfileConfigServiceCreateSpec"] = reflect.TypeOf((*ClusterProfileConfigServiceCreateSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterProfileConfigServiceCreateSpec"] = "4.0"
}
// DataObject which is a baseclass for other configuration
@@ -13574,8 +13604,8 @@ type ClusterProfileConfigSpec struct {
}
func init() {
- minAPIVersionForType["ClusterProfileConfigSpec"] = "4.0"
t["ClusterProfileConfigSpec"] = reflect.TypeOf((*ClusterProfileConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterProfileConfigSpec"] = "4.0"
}
// Base class for Cluster CreateSpecs
@@ -13584,8 +13614,8 @@ type ClusterProfileCreateSpec struct {
}
func init() {
- minAPIVersionForType["ClusterProfileCreateSpec"] = "4.0"
t["ClusterProfileCreateSpec"] = reflect.TypeOf((*ClusterProfileCreateSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterProfileCreateSpec"] = "4.0"
}
// Recommendation is the base class for any packaged group of
@@ -13595,23 +13625,23 @@ type ClusterRecommendation struct {
DynamicData
// Key to identify the recommendation when calling applyRecommendation.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// Type of the recommendation.
//
// This differentiates between various
// of recommendations aimed at achieving different goals.
- Type string `xml:"type" json:"type" vim:"2.5"`
+ Type string `xml:"type" json:"type"`
// The time this recommendation was computed.
- Time time.Time `xml:"time" json:"time" vim:"2.5"`
+ Time time.Time `xml:"time" json:"time"`
// A rating of the recommendation.
//
// Valid values range from 1 (lowest confidence) to 5 (highest confidence).
- Rating int32 `xml:"rating" json:"rating" vim:"2.5"`
+ Rating int32 `xml:"rating" json:"rating"`
// A reason code explaining why this set of migrations is being suggested.
- Reason string `xml:"reason" json:"reason" vim:"2.5"`
+ Reason string `xml:"reason" json:"reason"`
// Text that provides more information about the reason code for the suggested
// set of migrations.
- ReasonText string `xml:"reasonText" json:"reasonText" vim:"2.5"`
+ ReasonText string `xml:"reasonText" json:"reasonText"`
// Text that provides warnings about potential adverse implications of
// applying this recommendation
WarningText string `xml:"warningText,omitempty" json:"warningText,omitempty" vim:"6.0"`
@@ -13620,16 +13650,16 @@ type ClusterRecommendation struct {
// This recommendation may depend on some other recommendations.
//
// The prerequisite recommendations are listed by their keys.
- Prerequisite []string `xml:"prerequisite,omitempty" json:"prerequisite,omitempty" vim:"2.5"`
+ Prerequisite []string `xml:"prerequisite,omitempty" json:"prerequisite,omitempty"`
// List of actions that are executed as part of this recommendation
- Action []BaseClusterAction `xml:"action,omitempty,typeattr" json:"action,omitempty" vim:"2.5"`
+ Action []BaseClusterAction `xml:"action,omitempty,typeattr" json:"action,omitempty"`
// The target object of this recommendation.
- Target *ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty" vim:"2.5"`
+ Target *ManagedObjectReference `xml:"target,omitempty" json:"target,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterRecommendation"] = "2.5"
t["ClusterRecommendation"] = reflect.TypeOf((*ClusterRecommendation)(nil)).Elem()
+ minAPIVersionForType["ClusterRecommendation"] = "2.5"
}
// This event records when a cluster is reconfigured.
@@ -13660,8 +13690,8 @@ type ClusterResourceUsageSummary struct {
}
func init() {
- minAPIVersionForType["ClusterResourceUsageSummary"] = "6.0"
t["ClusterResourceUsageSummary"] = reflect.TypeOf((*ClusterResourceUsageSummary)(nil)).Elem()
+ minAPIVersionForType["ClusterResourceUsageSummary"] = "6.0"
}
// The `ClusterRuleInfo` data object is the base type for affinity
@@ -13804,8 +13834,8 @@ type ClusterSlotPolicy struct {
}
func init() {
- minAPIVersionForType["ClusterSlotPolicy"] = "5.1"
t["ClusterSlotPolicy"] = reflect.TypeOf((*ClusterSlotPolicy)(nil)).Elem()
+ minAPIVersionForType["ClusterSlotPolicy"] = "5.1"
}
// This event records when a cluster's overall status changed.
@@ -13829,19 +13859,27 @@ type ClusterSystemVMsConfigInfo struct {
// The only datastores which can be used for System VMs deployment.
//
// Refers instances of `Datastore`.
- AllowedDatastores []ManagedObjectReference `xml:"allowedDatastores,omitempty" json:"allowedDatastores,omitempty" vim:"7.0.3.0"`
+ AllowedDatastores []ManagedObjectReference `xml:"allowedDatastores,omitempty" json:"allowedDatastores,omitempty"`
// Datastores which cannot be used for System VMs deployment.
//
// Refers instances of `Datastore`.
- NotAllowedDatastores []ManagedObjectReference `xml:"notAllowedDatastores,omitempty" json:"notAllowedDatastores,omitempty" vim:"7.0.3.0"`
+ NotAllowedDatastores []ManagedObjectReference `xml:"notAllowedDatastores,omitempty" json:"notAllowedDatastores,omitempty"`
// Tag categories identifying datastores, which cannot be used for System VMs
// deployment.
- DsTagCategoriesToExclude []string `xml:"dsTagCategoriesToExclude,omitempty" json:"dsTagCategoriesToExclude,omitempty" vim:"7.0.3.0"`
+ DsTagCategoriesToExclude []string `xml:"dsTagCategoriesToExclude,omitempty" json:"dsTagCategoriesToExclude,omitempty"`
+ // The System VM deployment mode for vSphere clusters.
+ //
+ // Supported values are enumerated by the
+ // `DeploymentMode`
+ // type.
+ // An unset value implies SYSTEM\_MANAGED,
+ // unless the cluster is put in "Retreat Mode".
+ DeploymentMode string `xml:"deploymentMode,omitempty" json:"deploymentMode,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["ClusterSystemVMsConfigInfo"] = "7.0.3.0"
t["ClusterSystemVMsConfigInfo"] = reflect.TypeOf((*ClusterSystemVMsConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterSystemVMsConfigInfo"] = "7.0.3.0"
}
// Configuration for System VMs deployment.
@@ -13849,17 +13887,24 @@ type ClusterSystemVMsConfigSpec struct {
DynamicData
// The only datastores which can be used for System VMs deployment.
- AllowedDatastores []ClusterDatastoreUpdateSpec `xml:"allowedDatastores,omitempty" json:"allowedDatastores,omitempty" vim:"7.0.3.0"`
+ AllowedDatastores []ClusterDatastoreUpdateSpec `xml:"allowedDatastores,omitempty" json:"allowedDatastores,omitempty"`
// Datastores which cannot be used for System VMs deployment.
- NotAllowedDatastores []ClusterDatastoreUpdateSpec `xml:"notAllowedDatastores,omitempty" json:"notAllowedDatastores,omitempty" vim:"7.0.3.0"`
+ NotAllowedDatastores []ClusterDatastoreUpdateSpec `xml:"notAllowedDatastores,omitempty" json:"notAllowedDatastores,omitempty"`
// Tag categories identifying datastores, which cannot be used for System VMs
// deployment.
- DsTagCategoriesToExclude []ClusterTagCategoryUpdateSpec `xml:"dsTagCategoriesToExclude,omitempty" json:"dsTagCategoriesToExclude,omitempty" vim:"7.0.3.0"`
+ DsTagCategoriesToExclude []ClusterTagCategoryUpdateSpec `xml:"dsTagCategoriesToExclude,omitempty" json:"dsTagCategoriesToExclude,omitempty"`
+ // The System VM deployment mode for vSphere clusters.
+ //
+ // Supported values are enumerated by the
+ // `DeploymentMode`
+ // type.
+ // Providing an unset value does not modify deploymentMode.
+ DeploymentMode string `xml:"deploymentMode,omitempty" json:"deploymentMode,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["ClusterSystemVMsConfigSpec"] = "7.0.3.0"
t["ClusterSystemVMsConfigSpec"] = reflect.TypeOf((*ClusterSystemVMsConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterSystemVMsConfigSpec"] = "7.0.3.0"
}
// An incremental update to a TagCategory list.
@@ -13870,8 +13915,8 @@ type ClusterTagCategoryUpdateSpec struct {
}
func init() {
- minAPIVersionForType["ClusterTagCategoryUpdateSpec"] = "7.0.3.0"
t["ClusterTagCategoryUpdateSpec"] = reflect.TypeOf((*ClusterTagCategoryUpdateSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterTagCategoryUpdateSpec"] = "7.0.3.0"
}
// This class contains cluster usage summary that is populated
@@ -13880,39 +13925,39 @@ type ClusterUsageSummary struct {
DynamicData
// Total CPU capacity of the cluster.
- TotalCpuCapacityMhz int32 `xml:"totalCpuCapacityMhz" json:"totalCpuCapacityMhz" vim:"6.0"`
+ TotalCpuCapacityMhz int32 `xml:"totalCpuCapacityMhz" json:"totalCpuCapacityMhz"`
// Total memory capacity of the cluster.
- TotalMemCapacityMB int32 `xml:"totalMemCapacityMB" json:"totalMemCapacityMB" vim:"6.0"`
+ TotalMemCapacityMB int32 `xml:"totalMemCapacityMB" json:"totalMemCapacityMB"`
// Sum of CPU reservation of all the Resource Pools and powered-on VMs in the cluster.
- CpuReservationMhz int32 `xml:"cpuReservationMhz" json:"cpuReservationMhz" vim:"6.0"`
+ CpuReservationMhz int32 `xml:"cpuReservationMhz" json:"cpuReservationMhz"`
// Sum of memory reservation of all the Resource Pools and powered-on VMs in the cluster.
- MemReservationMB int32 `xml:"memReservationMB" json:"memReservationMB" vim:"6.0"`
+ MemReservationMB int32 `xml:"memReservationMB" json:"memReservationMB"`
// Sum of CPU reservation of all the powered-off VMs in the cluster.
- PoweredOffCpuReservationMhz int32 `xml:"poweredOffCpuReservationMhz,omitempty" json:"poweredOffCpuReservationMhz,omitempty" vim:"6.0"`
+ PoweredOffCpuReservationMhz int32 `xml:"poweredOffCpuReservationMhz,omitempty" json:"poweredOffCpuReservationMhz,omitempty"`
// Sum of memory reservation of all the powered-off VMs in the cluster.
- PoweredOffMemReservationMB int32 `xml:"poweredOffMemReservationMB,omitempty" json:"poweredOffMemReservationMB,omitempty" vim:"6.0"`
+ PoweredOffMemReservationMB int32 `xml:"poweredOffMemReservationMB,omitempty" json:"poweredOffMemReservationMB,omitempty"`
// Sum of CPU demand of all the powered-on VMs in the cluster.
- CpuDemandMhz int32 `xml:"cpuDemandMhz" json:"cpuDemandMhz" vim:"6.0"`
+ CpuDemandMhz int32 `xml:"cpuDemandMhz" json:"cpuDemandMhz"`
// Sum of memory demand of all the powered-on VMs in the cluster.
- MemDemandMB int32 `xml:"memDemandMB" json:"memDemandMB" vim:"6.0"`
+ MemDemandMB int32 `xml:"memDemandMB" json:"memDemandMB"`
// Generation number of the usage stats.
//
// Updated during every DRS load
// balancing call.
- StatsGenNumber int64 `xml:"statsGenNumber" json:"statsGenNumber" vim:"6.0"`
+ StatsGenNumber int64 `xml:"statsGenNumber" json:"statsGenNumber"`
// This is the current CPU entitlement across the cluster
- CpuEntitledMhz int32 `xml:"cpuEntitledMhz" json:"cpuEntitledMhz" vim:"6.0"`
+ CpuEntitledMhz int32 `xml:"cpuEntitledMhz" json:"cpuEntitledMhz"`
// This is the current memory entitlement across the cluster
- MemEntitledMB int32 `xml:"memEntitledMB" json:"memEntitledMB" vim:"6.0"`
+ MemEntitledMB int32 `xml:"memEntitledMB" json:"memEntitledMB"`
// The number of powered off VMs in the cluster
- PoweredOffVmCount int32 `xml:"poweredOffVmCount" json:"poweredOffVmCount" vim:"6.0"`
+ PoweredOffVmCount int32 `xml:"poweredOffVmCount" json:"poweredOffVmCount"`
// The number of VMs in the cluster
- TotalVmCount int32 `xml:"totalVmCount" json:"totalVmCount" vim:"6.0"`
+ TotalVmCount int32 `xml:"totalVmCount" json:"totalVmCount"`
}
func init() {
- minAPIVersionForType["ClusterUsageSummary"] = "6.0"
t["ClusterUsageSummary"] = reflect.TypeOf((*ClusterUsageSummary)(nil)).Elem()
+ minAPIVersionForType["ClusterUsageSummary"] = "6.0"
}
// vSphere HA Virtual Machine Component Protection Service settings.
@@ -13956,7 +14001,7 @@ type ClusterVmComponentProtectionSettings struct {
// even if it may not able to be restarted or lose Fault Tolerance redundancy.
// - `**clusterDefault**`, service will implement
// cluster default.
- VmStorageProtectionForAPD string `xml:"vmStorageProtectionForAPD,omitempty" json:"vmStorageProtectionForAPD,omitempty" vim:"6.0"`
+ VmStorageProtectionForAPD string `xml:"vmStorageProtectionForAPD,omitempty" json:"vmStorageProtectionForAPD,omitempty"`
// This property indicates if APD timeout will be enabled for all the hosts
// in the cluster when vSphere HA is configured.
//
@@ -13973,7 +14018,7 @@ type ClusterVmComponentProtectionSettings struct {
//
// Note that this property is not persisted by vSphere backend. It does not impact any cluster
// reconfiguration or host operation (such as adding a host to a cluster) that might happen later.
- EnableAPDTimeoutForHosts *bool `xml:"enableAPDTimeoutForHosts" json:"enableAPDTimeoutForHosts,omitempty" vim:"6.0"`
+ EnableAPDTimeoutForHosts *bool `xml:"enableAPDTimeoutForHosts" json:"enableAPDTimeoutForHosts,omitempty"`
// The time interval after an APD timeout has been declared and before VM Component
// Protection service will terminate the VM.
//
@@ -13983,7 +14028,7 @@ type ClusterVmComponentProtectionSettings struct {
//
// The default value is 180 seconds if not specified. To use cluster setting for a VM override,
// set to -1 in per-VM setting.
- VmTerminateDelayForAPDSec int32 `xml:"vmTerminateDelayForAPDSec,omitempty" json:"vmTerminateDelayForAPDSec,omitempty" vim:"6.0"`
+ VmTerminateDelayForAPDSec int32 `xml:"vmTerminateDelayForAPDSec,omitempty" json:"vmTerminateDelayForAPDSec,omitempty"`
// Action taken by VM Component Protection service for a powered on VM when APD
// condition clears after APD timeout.
//
@@ -13991,7 +14036,7 @@ type ClusterVmComponentProtectionSettings struct {
// specified by `ClusterVmComponentProtectionSettingsVmReactionOnAPDCleared_enum`. The default value is
// `none` for cluster setting and
// `useClusterDefault` for per-VM setting.
- VmReactionOnAPDCleared string `xml:"vmReactionOnAPDCleared,omitempty" json:"vmReactionOnAPDCleared,omitempty" vim:"6.0"`
+ VmReactionOnAPDCleared string `xml:"vmReactionOnAPDCleared,omitempty" json:"vmReactionOnAPDCleared,omitempty"`
// VM storage protection setting for storage failures categorized as Permenant Device
// Loss (PDL).
//
@@ -14009,12 +14054,12 @@ type ClusterVmComponentProtectionSettings struct {
// will immediately terminate the VMs impacted by PDL and will attempt to restart the VMs
// with best effort. When set to the other values, the behavior is the same as described for
// `ClusterVmComponentProtectionSettings.vmStorageProtectionForAPD`.
- VmStorageProtectionForPDL string `xml:"vmStorageProtectionForPDL,omitempty" json:"vmStorageProtectionForPDL,omitempty" vim:"6.0"`
+ VmStorageProtectionForPDL string `xml:"vmStorageProtectionForPDL,omitempty" json:"vmStorageProtectionForPDL,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterVmComponentProtectionSettings"] = "6.0"
t["ClusterVmComponentProtectionSettings"] = reflect.TypeOf((*ClusterVmComponentProtectionSettings)(nil)).Elem()
+ minAPIVersionForType["ClusterVmComponentProtectionSettings"] = "6.0"
}
// The `ClusterVmGroup` data object identifies virtual machines
@@ -14036,12 +14081,12 @@ type ClusterVmGroup struct {
// A virtual machine group can contain zero or more virtual machines.
//
// Refers instances of `VirtualMachine`.
- Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"4.1"`
+ Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterVmGroup"] = "4.1"
t["ClusterVmGroup"] = reflect.TypeOf((*ClusterVmGroup)(nil)).Elem()
+ minAPIVersionForType["ClusterVmGroup"] = "4.1"
}
// A `ClusterVmHostRuleInfo` object identifies virtual machines
@@ -14065,7 +14110,7 @@ type ClusterVmHostRuleInfo struct {
// Virtual group name (`ClusterVmGroup*.*ClusterGroupInfo.name`).
//
// The virtual group may contain one or more virtual machines.
- VmGroupName string `xml:"vmGroupName,omitempty" json:"vmGroupName,omitempty" vim:"4.1"`
+ VmGroupName string `xml:"vmGroupName,omitempty" json:"vmGroupName,omitempty"`
// Name of the affine host group
// (`ClusterHostGroup*.*ClusterGroupInfo.name`).
//
@@ -14073,7 +14118,7 @@ type ClusterVmHostRuleInfo struct {
// `ClusterVmHostRuleInfo.vmGroupName` virtual machines can be powered-on.
// The value of the `ClusterRuleInfo.mandatory` property
// determines how the Server interprets the rule.
- AffineHostGroupName string `xml:"affineHostGroupName,omitempty" json:"affineHostGroupName,omitempty" vim:"4.1"`
+ AffineHostGroupName string `xml:"affineHostGroupName,omitempty" json:"affineHostGroupName,omitempty"`
// Name of the anti-affine host group
// (`ClusterHostGroup*.*ClusterGroupInfo.name`).
//
@@ -14082,12 +14127,12 @@ type ClusterVmHostRuleInfo struct {
// be powered-on.
// The value of the `ClusterRuleInfo.mandatory` property
// determines how the Server interprets the rule.
- AntiAffineHostGroupName string `xml:"antiAffineHostGroupName,omitempty" json:"antiAffineHostGroupName,omitempty" vim:"4.1"`
+ AntiAffineHostGroupName string `xml:"antiAffineHostGroupName,omitempty" json:"antiAffineHostGroupName,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterVmHostRuleInfo"] = "4.1"
t["ClusterVmHostRuleInfo"] = reflect.TypeOf((*ClusterVmHostRuleInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterVmHostRuleInfo"] = "4.1"
}
// The `ClusterVmOrchestrationInfo` data object contains the orchestration
@@ -14101,18 +14146,18 @@ type ClusterVmOrchestrationInfo struct {
// Reference to the VM that the ready state is applied to.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.5"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Readiness policy that apply to this virtual machine.
//
// Values specified in this object override the cluster-wide
// defaults for virtual machines.
// `ClusterOrchestrationInfo.defaultVmReadiness`
- VmReadiness ClusterVmReadiness `xml:"vmReadiness" json:"vmReadiness" vim:"6.5"`
+ VmReadiness ClusterVmReadiness `xml:"vmReadiness" json:"vmReadiness"`
}
func init() {
- minAPIVersionForType["ClusterVmOrchestrationInfo"] = "6.5"
t["ClusterVmOrchestrationInfo"] = reflect.TypeOf((*ClusterVmOrchestrationInfo)(nil)).Elem()
+ minAPIVersionForType["ClusterVmOrchestrationInfo"] = "6.5"
}
// An incremental update to the per-VM orchestration config.
@@ -14123,8 +14168,8 @@ type ClusterVmOrchestrationSpec struct {
}
func init() {
- minAPIVersionForType["ClusterVmOrchestrationSpec"] = "6.5"
t["ClusterVmOrchestrationSpec"] = reflect.TypeOf((*ClusterVmOrchestrationSpec)(nil)).Elem()
+ minAPIVersionForType["ClusterVmOrchestrationSpec"] = "6.5"
}
// VM readiness policy specifies when a VM is deemed ready.
@@ -14140,7 +14185,7 @@ type ClusterVmReadiness struct {
//
// If not specified at either the cluster level or the virtual machine
// level, this will default to `none`.
- ReadyCondition string `xml:"readyCondition,omitempty" json:"readyCondition,omitempty" vim:"6.5"`
+ ReadyCondition string `xml:"readyCondition,omitempty" json:"readyCondition,omitempty"`
// Additional delay in seconds after ready condition is met.
//
// A VM is
@@ -14149,12 +14194,12 @@ type ClusterVmReadiness struct {
// If not specified in a VM override, cluster default setting is
// used. Alternatively, set to -1 in per-VM setting to use cluster default
// value.
- PostReadyDelay int32 `xml:"postReadyDelay,omitempty" json:"postReadyDelay,omitempty" vim:"6.5"`
+ PostReadyDelay int32 `xml:"postReadyDelay,omitempty" json:"postReadyDelay,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterVmReadiness"] = "6.5"
t["ClusterVmReadiness"] = reflect.TypeOf((*ClusterVmReadiness)(nil)).Elem()
+ minAPIVersionForType["ClusterVmReadiness"] = "6.5"
}
// The `ClusterVmToolsMonitoringSettings` data object contains
@@ -14178,7 +14223,7 @@ type ClusterVmToolsMonitoringSettings struct {
// service is enabled.
//
// The Server does not use this property.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"4.0"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Indicates the type of virtual machine monitoring.
//
// Specify a string value corresponding to one of the
@@ -14213,12 +14258,12 @@ type ClusterVmToolsMonitoringSettings struct {
// Flag indicating whether to use the cluster settings or the per VM settings.
//
// The default value is true.
- ClusterSettings *bool `xml:"clusterSettings" json:"clusterSettings,omitempty" vim:"4.0"`
+ ClusterSettings *bool `xml:"clusterSettings" json:"clusterSettings,omitempty"`
// If no heartbeat has been received for at least the specified number of seconds,
// the virtual machine is declared as failed.
//
// The default value is 30.
- FailureInterval int32 `xml:"failureInterval,omitempty" json:"failureInterval,omitempty" vim:"4.0"`
+ FailureInterval int32 `xml:"failureInterval,omitempty" json:"failureInterval,omitempty"`
// The number of seconds for the virtual machine's heartbeats to stabilize
// after the virtual machine has been powered on.
//
@@ -14227,7 +14272,7 @@ type ClusterVmToolsMonitoringSettings struct {
// will begin only after this period.
//
// The default value is 120.
- MinUpTime int32 `xml:"minUpTime,omitempty" json:"minUpTime,omitempty" vim:"4.0"`
+ MinUpTime int32 `xml:"minUpTime,omitempty" json:"minUpTime,omitempty"`
// Maximum number of failures and automated resets allowed during the time that
// `ClusterVmToolsMonitoringSettings.maxFailureWindow` specifies.
//
@@ -14239,19 +14284,19 @@ type ClusterVmToolsMonitoringSettings struct {
// usually needed.
//
// The default value is 3.
- MaxFailures int32 `xml:"maxFailures,omitempty" json:"maxFailures,omitempty" vim:"4.0"`
+ MaxFailures int32 `xml:"maxFailures,omitempty" json:"maxFailures,omitempty"`
// The number of seconds for the window during which up to `ClusterVmToolsMonitoringSettings.maxFailures`
// resets can occur before automated responses stop.
//
// If set to -1, no failure window is specified.
//
// The default value is -1.
- MaxFailureWindow int32 `xml:"maxFailureWindow,omitempty" json:"maxFailureWindow,omitempty" vim:"4.0"`
+ MaxFailureWindow int32 `xml:"maxFailureWindow,omitempty" json:"maxFailureWindow,omitempty"`
}
func init() {
- minAPIVersionForType["ClusterVmToolsMonitoringSettings"] = "4.0"
t["ClusterVmToolsMonitoringSettings"] = reflect.TypeOf((*ClusterVmToolsMonitoringSettings)(nil)).Elem()
+ minAPIVersionForType["ClusterVmToolsMonitoringSettings"] = "4.0"
}
// The distributed virtual switch received a reconfiguration request to
@@ -14264,8 +14309,8 @@ type CollectorAddressUnset struct {
}
func init() {
- minAPIVersionForType["CollectorAddressUnset"] = "5.1"
t["CollectorAddressUnset"] = reflect.TypeOf((*CollectorAddressUnset)(nil)).Elem()
+ minAPIVersionForType["CollectorAddressUnset"] = "5.1"
}
type CollectorAddressUnsetFault CollectorAddressUnset
@@ -14278,13 +14323,13 @@ type ComplianceFailure struct {
DynamicData
// String uniquely identifying the failure.
- FailureType string `xml:"failureType" json:"failureType" vim:"4.0"`
+ FailureType string `xml:"failureType" json:"failureType"`
// Message which describes the compliance failures
// message.key serves as a key to the localized
// message catalog.
- Message LocalizableMessage `xml:"message" json:"message" vim:"4.0"`
+ Message LocalizableMessage `xml:"message" json:"message"`
// Name of the Expression which generated the ComplianceFailure
- ExpressionName string `xml:"expressionName,omitempty" json:"expressionName,omitempty" vim:"4.0"`
+ ExpressionName string `xml:"expressionName,omitempty" json:"expressionName,omitempty"`
// If complianceStatus is non-compliant, failureValues will
// contain values of the non-compliant fields on the host and
// in the profile.
@@ -14300,13 +14345,13 @@ type ComplianceFailureComplianceFailureValues struct {
// Unique key to a message in the localized message catalog,
// identifying the fields being compared.
- ComparisonIdentifier string `xml:"comparisonIdentifier" json:"comparisonIdentifier" vim:"6.5"`
+ ComparisonIdentifier string `xml:"comparisonIdentifier" json:"comparisonIdentifier"`
// Name of the profile instance, in case of non-singleton profiles.
- ProfileInstance string `xml:"profileInstance,omitempty" json:"profileInstance,omitempty" vim:"6.5"`
+ ProfileInstance string `xml:"profileInstance,omitempty" json:"profileInstance,omitempty"`
// Value of the non-compliant field on the host.
- HostValue AnyType `xml:"hostValue,omitempty,typeattr" json:"hostValue,omitempty" vim:"6.5"`
+ HostValue AnyType `xml:"hostValue,omitempty,typeattr" json:"hostValue,omitempty"`
// Value of the non-compliant field in the profile.
- ProfileValue AnyType `xml:"profileValue,omitempty,typeattr" json:"profileValue,omitempty" vim:"6.5"`
+ ProfileValue AnyType `xml:"profileValue,omitempty,typeattr" json:"profileValue,omitempty"`
}
func init() {
@@ -14319,17 +14364,17 @@ type ComplianceLocator struct {
DynamicData
// Exression for which the Locator corresponds to
- ExpressionName string `xml:"expressionName" json:"expressionName" vim:"4.0"`
+ ExpressionName string `xml:"expressionName" json:"expressionName"`
// Complete path to the profile/policy which was responsible for the
// generation of the ComplianceExpression.
//
// \[ProfilePath + policyId\] will uniquely identify a Policy.
- ApplyPath ProfilePropertyPath `xml:"applyPath" json:"applyPath" vim:"4.0"`
+ ApplyPath ProfilePropertyPath `xml:"applyPath" json:"applyPath"`
}
func init() {
- minAPIVersionForType["ComplianceLocator"] = "4.0"
t["ComplianceLocator"] = reflect.TypeOf((*ComplianceLocator)(nil)).Elem()
+ minAPIVersionForType["ComplianceLocator"] = "4.0"
}
// DataObject contains the verifications that need to be done
@@ -14338,14 +14383,14 @@ type ComplianceProfile struct {
DynamicData
// List of expressions that make up the ComplianceChecks.
- Expression []BaseProfileExpression `xml:"expression,typeattr" json:"expression" vim:"4.0"`
+ Expression []BaseProfileExpression `xml:"expression,typeattr" json:"expression"`
// Name of the Expression which is the root of the expression tree.
- RootExpression string `xml:"rootExpression" json:"rootExpression" vim:"4.0"`
+ RootExpression string `xml:"rootExpression" json:"rootExpression"`
}
func init() {
- minAPIVersionForType["ComplianceProfile"] = "4.0"
t["ComplianceProfile"] = reflect.TypeOf((*ComplianceProfile)(nil)).Elem()
+ minAPIVersionForType["ComplianceProfile"] = "4.0"
}
// DataObject representing the result from a ComplianceCheck
@@ -14355,27 +14400,27 @@ type ComplianceResult struct {
// Profile for which the ComplianceResult applies
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// Indicates the compliance status of the entity.
//
// See @link Status
- ComplianceStatus string `xml:"complianceStatus" json:"complianceStatus" vim:"4.0"`
+ ComplianceStatus string `xml:"complianceStatus" json:"complianceStatus"`
// Entity on which the compliance check was carried out.
//
// Entity can be a Cluster, Host and so on.
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"4.0"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
// Time at which compliance check was last run on the entity
- CheckTime *time.Time `xml:"checkTime" json:"checkTime,omitempty" vim:"4.0"`
+ CheckTime *time.Time `xml:"checkTime" json:"checkTime,omitempty"`
// If complianceStatus is non-compliant, failure will
// contain additional information about the compliance errors.
- Failure []ComplianceFailure `xml:"failure,omitempty" json:"failure,omitempty" vim:"4.0"`
+ Failure []ComplianceFailure `xml:"failure,omitempty" json:"failure,omitempty"`
}
func init() {
- minAPIVersionForType["ComplianceResult"] = "4.0"
t["ComplianceResult"] = reflect.TypeOf((*ComplianceResult)(nil)).Elem()
+ minAPIVersionForType["ComplianceResult"] = "4.0"
}
// The parameters of `HostProfileManager.CompositeHostProfile_Task`.
@@ -14423,12 +14468,12 @@ type CompositePolicyOption struct {
// It will apply PolicyOptions in a pre-determined order.
// Clients of the API must produce PolicyOption in the same order as specified
// in the metadata.
- Option []BasePolicyOption `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"4.0"`
+ Option []BasePolicyOption `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
func init() {
- minAPIVersionForType["CompositePolicyOption"] = "4.0"
t["CompositePolicyOption"] = reflect.TypeOf((*CompositePolicyOption)(nil)).Elem()
+ minAPIVersionForType["CompositePolicyOption"] = "4.0"
}
type ComputeDiskPartitionInfo ComputeDiskPartitionInfoRequestType
@@ -14456,7 +14501,7 @@ type ComputeDiskPartitionInfoForResizeRequestType struct {
// computed from the block range.
// If partitionFormat is not specified, the existing partitionFormat
// on disk is used, if the disk is not blank and mbr otherwise.
- PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty"`
+ PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty" vim:"5.0"`
}
func init() {
@@ -14478,7 +14523,7 @@ type ComputeDiskPartitionInfoRequestType struct {
// computed from the block range.
// If partitionFormat is not specified, the existing partitionFormat
// on disk is used, if the disk is not blank and mbr otherwise.
- PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty"`
+ PartitionFormat string `xml:"partitionFormat,omitempty" json:"partitionFormat,omitempty" vim:"5.0"`
}
func init() {
@@ -14508,7 +14553,7 @@ type ComputeResourceConfigInfo struct {
// to "inherit".
//
// See also `VirtualMachineConfigInfoSwapPlacementType_enum`.
- VmSwapPlacement string `xml:"vmSwapPlacement" json:"vmSwapPlacement" vim:"2.5"`
+ VmSwapPlacement string `xml:"vmSwapPlacement" json:"vmSwapPlacement"`
// Flag indicating whether or not the SPBM(Storage Policy Based Management)
// feature is enabled on this compute resource
SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty" vim:"5.0"`
@@ -14531,8 +14576,8 @@ type ComputeResourceConfigInfo struct {
}
func init() {
- minAPIVersionForType["ComputeResourceConfigInfo"] = "2.5"
t["ComputeResourceConfigInfo"] = reflect.TypeOf((*ComputeResourceConfigInfo)(nil)).Elem()
+ minAPIVersionForType["ComputeResourceConfigInfo"] = "2.5"
}
// Changes to apply to the compute resource configuration.
@@ -14549,7 +14594,7 @@ type ComputeResourceConfigSpec struct {
// not yet be affected.
//
// See also `VirtualMachineConfigInfoSwapPlacementType_enum`.
- VmSwapPlacement string `xml:"vmSwapPlacement,omitempty" json:"vmSwapPlacement,omitempty" vim:"2.5"`
+ VmSwapPlacement string `xml:"vmSwapPlacement,omitempty" json:"vmSwapPlacement,omitempty"`
// Flag indicating whether or not the SPBM(Storage Policy Based Management)
// feature is enabled on this compute resource
SpbmEnabled *bool `xml:"spbmEnabled" json:"spbmEnabled,omitempty" vim:"5.0"`
@@ -14581,12 +14626,12 @@ type ComputeResourceConfigSpec struct {
// flag is not set, the Config Manager feature will be disabled by
// default. This parameter is only supported in `Folder.CreateClusterEx`
// operation.
- EnableConfigManager *bool `xml:"enableConfigManager" json:"enableConfigManager,omitempty"`
+ EnableConfigManager *bool `xml:"enableConfigManager" json:"enableConfigManager,omitempty" vim:"7.0.3.1"`
}
func init() {
- minAPIVersionForType["ComputeResourceConfigSpec"] = "2.5"
t["ComputeResourceConfigSpec"] = reflect.TypeOf((*ComputeResourceConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ComputeResourceConfigSpec"] = "2.5"
}
// The event argument is a ComputeResource object.
@@ -14614,8 +14659,31 @@ type ComputeResourceHostSPBMLicenseInfo struct {
}
func init() {
- minAPIVersionForType["ComputeResourceHostSPBMLicenseInfo"] = "5.0"
t["ComputeResourceHostSPBMLicenseInfo"] = reflect.TypeOf((*ComputeResourceHostSPBMLicenseInfo)(nil)).Elem()
+ minAPIVersionForType["ComputeResourceHostSPBMLicenseInfo"] = "5.0"
+}
+
+// This data object contains a specification for a single candidate host
+// for the host seeding operation.
+//
+// If the candidate host is:
+// \- A new host not managed by vCenter Server: A `HostConnectSpec`
+// needs to be provided.
+// \- A host managed by vCenter Server: A `HostSystem`
+// needs to be provided.
+type ComputeResourceHostSeedSpecSingleHostSpec struct {
+ DynamicData
+
+ // Connection Spec for a new host.
+ NewHostCnxSpec *HostConnectSpec `xml:"newHostCnxSpec,omitempty" json:"newHostCnxSpec,omitempty"`
+ // Reference to an existing host.
+ //
+ // Refers instance of `HostSystem`.
+ ExistingHost *ManagedObjectReference `xml:"existingHost,omitempty" json:"existingHost,omitempty"`
+}
+
+func init() {
+ t["ComputeResourceHostSeedSpecSingleHostSpec"] = reflect.TypeOf((*ComputeResourceHostSeedSpecSingleHostSpec)(nil)).Elem()
}
// This data object type encapsulates a typical set of ComputeResource information
@@ -14827,11 +14895,11 @@ type ConfigTarget struct {
// List of vGPU profile attributes.
VgpuProfileInfo []VirtualMachineVgpuProfileInfo `xml:"vgpuProfileInfo,omitempty" json:"vgpuProfileInfo,omitempty" vim:"7.0.3.0"`
// List of PCI Vendor Device Groups.
- VendorDeviceGroupInfo []VirtualMachineVendorDeviceGroupInfo `xml:"vendorDeviceGroupInfo,omitempty" json:"vendorDeviceGroupInfo,omitempty"`
+ VendorDeviceGroupInfo []VirtualMachineVendorDeviceGroupInfo `xml:"vendorDeviceGroupInfo,omitempty" json:"vendorDeviceGroupInfo,omitempty" vim:"8.0.0.1"`
// Max SMT (Simultaneous multithreading) threads.
- MaxSimultaneousThreads int32 `xml:"maxSimultaneousThreads,omitempty" json:"maxSimultaneousThreads,omitempty"`
+ MaxSimultaneousThreads int32 `xml:"maxSimultaneousThreads,omitempty" json:"maxSimultaneousThreads,omitempty" vim:"8.0.0.1"`
// List of Device Virtualization Extensions (DVX) classes.
- DvxClassInfo []VirtualMachineDvxClassInfo `xml:"dvxClassInfo,omitempty" json:"dvxClassInfo,omitempty"`
+ DvxClassInfo []VirtualMachineDvxClassInfo `xml:"dvxClassInfo,omitempty" json:"dvxClassInfo,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -14850,7 +14918,7 @@ type ConfigureCryptoKeyRequestType struct {
// The key to be used for coredump encryption. If unset, uses
// existing host or cluster key or new key is generated from
// the default KMIP server.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
@@ -14868,7 +14936,7 @@ type ConfigureDatastoreIORMRequestType struct {
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The configuration spec.
- Spec StorageIORMConfigSpec `xml:"spec" json:"spec" vim:"4.1"`
+ Spec StorageIORMConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -14915,7 +14983,7 @@ type ConfigureEvcModeRequestType struct {
EvcModeKey string `xml:"evcModeKey" json:"evcModeKey"`
// A key referencing the desired EVC Graphics
// mode `Capability.supportedEVCGraphicsMode`.
- EvcGraphicsModeKey string `xml:"evcGraphicsModeKey,omitempty" json:"evcGraphicsModeKey,omitempty"`
+ EvcGraphicsModeKey string `xml:"evcGraphicsModeKey,omitempty" json:"evcGraphicsModeKey,omitempty" vim:"7.0.1.0"`
}
func init() {
@@ -14942,7 +15010,7 @@ type ConfigureHCIRequestType struct {
// within the specification must be in the same datacenter as the
// cluster. Specify `ClusterComputeResourceHCIConfigSpec.vSanConfigSpec` only when
// vSan is enabled on the cluster.
- ClusterSpec ClusterComputeResourceHCIConfigSpec `xml:"clusterSpec" json:"clusterSpec" vim:"6.7.1"`
+ ClusterSpec ClusterComputeResourceHCIConfigSpec `xml:"clusterSpec" json:"clusterSpec"`
// Inputs to configure each host in the cluster,
// see `ClusterComputeResourceHostConfigurationInput`
// for details. Hosts in this list should be part of the cluster and
@@ -14951,7 +15019,7 @@ type ConfigureHCIRequestType struct {
// operates on all the hosts in the cluster. Hosts which were not
// configured due to not being in maintenance
// mode will be returned in `ClusterComputeResourceClusterConfigResult.failedHosts`.
- HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty" json:"hostInputs,omitempty" vim:"6.7.1"`
+ HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty" json:"hostInputs,omitempty"`
}
func init() {
@@ -14972,7 +15040,7 @@ type ConfigureHCI_TaskResponse struct {
type ConfigureHostCacheRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification for solid state drive cache configuration.
- Spec HostCacheConfigurationSpec `xml:"spec" json:"spec" vim:"5.0"`
+ Spec HostCacheConfigurationSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -15042,11 +15110,11 @@ type ConfigureStorageDrsForPodRequestType struct {
// Required privileges: StoragePod.Config
//
// Refers instance of `StoragePod`.
- Pod ManagedObjectReference `xml:"pod" json:"pod" vim:"5.0"`
+ Pod ManagedObjectReference `xml:"pod" json:"pod"`
// A set of storage Drs configuration changes to apply to the storage pod.
// The specification can be a complete set of changes or a partial
// set of changes, applied incrementally.
- Spec StorageDrsConfigSpec `xml:"spec" json:"spec" vim:"5.0"`
+ Spec StorageDrsConfigSpec `xml:"spec" json:"spec"`
// Flag to specify whether the specification ("spec") should
// be applied incrementally. If "modify" is false and the
// operation succeeds, then the configuration of the storage pod
@@ -15097,12 +15165,12 @@ type ConflictingConfiguration struct {
DvsFault
// The configurations that are in conflict.
- ConfigInConflict []ConflictingConfigurationConfig `xml:"configInConflict" json:"configInConflict" vim:"5.5"`
+ ConfigInConflict []ConflictingConfigurationConfig `xml:"configInConflict" json:"configInConflict"`
}
func init() {
- minAPIVersionForType["ConflictingConfiguration"] = "5.5"
t["ConflictingConfiguration"] = reflect.TypeOf((*ConflictingConfiguration)(nil)).Elem()
+ minAPIVersionForType["ConflictingConfiguration"] = "5.5"
}
// This class defines the configuration that is in conflict.
@@ -15112,14 +15180,14 @@ type ConflictingConfigurationConfig struct {
// The entity on which the configuration is in conflict.
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"5.5"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
// The property paths that are in conflict.
- PropertyPath string `xml:"propertyPath" json:"propertyPath" vim:"5.5"`
+ PropertyPath string `xml:"propertyPath" json:"propertyPath"`
}
func init() {
- minAPIVersionForType["ConflictingConfigurationConfig"] = "5.5"
t["ConflictingConfigurationConfig"] = reflect.TypeOf((*ConflictingConfigurationConfig)(nil)).Elem()
+ minAPIVersionForType["ConflictingConfigurationConfig"] = "5.5"
}
type ConflictingConfigurationFault ConflictingConfiguration
@@ -15135,14 +15203,14 @@ type ConflictingDatastoreFound struct {
RuntimeFault
// The name of the datastore.
- Name string `xml:"name" json:"name" vim:"5.1"`
+ Name string `xml:"name" json:"name"`
// The unique locator for the datastore.
- Url string `xml:"url" json:"url" vim:"5.1"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["ConflictingDatastoreFound"] = "5.1"
t["ConflictingDatastoreFound"] = reflect.TypeOf((*ConflictingDatastoreFound)(nil)).Elem()
+ minAPIVersionForType["ConflictingDatastoreFound"] = "5.1"
}
type ConflictingDatastoreFoundFault ConflictingDatastoreFound
@@ -15162,7 +15230,7 @@ type ConnectNvmeControllerExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A list of data objects, each specifying the parameters
// necessary to connect to an NVMe controller.
- ConnectSpec []HostNvmeConnectSpec `xml:"connectSpec,omitempty" json:"connectSpec,omitempty" vim:"7.0"`
+ ConnectSpec []HostNvmeConnectSpec `xml:"connectSpec,omitempty" json:"connectSpec,omitempty"`
}
func init() {
@@ -15184,7 +15252,7 @@ type ConnectNvmeControllerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A data object that specifies the parameters
// necessary to connect to the controller.
- ConnectSpec HostNvmeConnectSpec `xml:"connectSpec" json:"connectSpec" vim:"7.0"`
+ ConnectSpec HostNvmeConnectSpec `xml:"connectSpec" json:"connectSpec"`
}
func init() {
@@ -15198,9 +15266,9 @@ type ConnectedIso struct {
OvfExport
// The CD-ROM drive that caused the event.
- Cdrom VirtualCdrom `xml:"cdrom" json:"cdrom" vim:"4.0"`
+ Cdrom VirtualCdrom `xml:"cdrom" json:"cdrom"`
// The filename of the ISO
- Filename string `xml:"filename" json:"filename" vim:"4.0"`
+ Filename string `xml:"filename" json:"filename"`
}
func init() {
@@ -15358,7 +15426,7 @@ type CopyVirtualDiskRequestType struct {
DestDatacenter *ManagedObjectReference `xml:"destDatacenter,omitempty" json:"destDatacenter,omitempty"`
// The specification of the virtual disk to be created.
// If not specified, a preallocated format and busLogic adapter type is assumed.
- DestSpec BaseVirtualDiskSpec `xml:"destSpec,omitempty,typeattr" json:"destSpec,omitempty" vim:"2.5"`
+ DestSpec BaseVirtualDiskSpec `xml:"destSpec,omitempty,typeattr" json:"destSpec,omitempty"`
// The force flag is currently ignored. The FileAlreadyExists fault is thrown if
// the destination file already exists.
Force *bool `xml:"force" json:"force,omitempty"`
@@ -15405,8 +15473,8 @@ type CpuHotPlugNotSupported struct {
}
func init() {
- minAPIVersionForType["CpuHotPlugNotSupported"] = "4.0"
t["CpuHotPlugNotSupported"] = reflect.TypeOf((*CpuHotPlugNotSupported)(nil)).Elem()
+ minAPIVersionForType["CpuHotPlugNotSupported"] = "4.0"
}
type CpuHotPlugNotSupportedFault CpuHotPlugNotSupported
@@ -15466,33 +15534,33 @@ type CpuIncompatible1ECX struct {
CpuIncompatible
// Flag to indicate bit 0 is incompatible.
- Sse3 bool `xml:"sse3" json:"sse3" vim:"2.5"`
+ Sse3 bool `xml:"sse3" json:"sse3"`
// Flag to indicate bit 1 is incompatible.
Pclmulqdq *bool `xml:"pclmulqdq" json:"pclmulqdq,omitempty" vim:"5.0"`
// Flag to indicate bit 9 is incompatible.
- Ssse3 bool `xml:"ssse3" json:"ssse3" vim:"2.5"`
+ Ssse3 bool `xml:"ssse3" json:"ssse3"`
// Flag to indicate bit 19 is incompatible.
- Sse41 bool `xml:"sse41" json:"sse41" vim:"2.5"`
+ Sse41 bool `xml:"sse41" json:"sse41"`
// Flag to indicate bit 20 is incompatible.
- Sse42 bool `xml:"sse42" json:"sse42" vim:"2.5"`
+ Sse42 bool `xml:"sse42" json:"sse42"`
// Flag to indicate bit 25 is incompatible.
Aes *bool `xml:"aes" json:"aes,omitempty" vim:"5.0"`
// Flag to indicate that bits other than 0/1/9/19/20/25 are incompatible.
//
// I.e. the detected incompatibilities cannot be completely described by
// the sse3, pclmulqdq, ssse3, sse41, sse42, and/or aes flags.
- Other bool `xml:"other" json:"other" vim:"2.5"`
+ Other bool `xml:"other" json:"other"`
// Flag to indicate that the sse3, pclmulqdq, ssse3, sse41, sse42, and aes
// flags are all false, and the "other" flag is true.
//
// Purely a convenience
// property for the client processing this fault.
- OtherOnly bool `xml:"otherOnly" json:"otherOnly" vim:"2.5"`
+ OtherOnly bool `xml:"otherOnly" json:"otherOnly"`
}
func init() {
- minAPIVersionForType["CpuIncompatible1ECX"] = "2.5"
t["CpuIncompatible1ECX"] = reflect.TypeOf((*CpuIncompatible1ECX)(nil)).Elem()
+ minAPIVersionForType["CpuIncompatible1ECX"] = "2.5"
}
type CpuIncompatible1ECXFault CpuIncompatible1ECX
@@ -15510,29 +15578,29 @@ type CpuIncompatible81EDX struct {
CpuIncompatible
// Flag to indicate bit 20 is incompatible.
- Nx bool `xml:"nx" json:"nx" vim:"2.5"`
+ Nx bool `xml:"nx" json:"nx"`
// Flag to indicate bit 25 is incompatible.
- Ffxsr bool `xml:"ffxsr" json:"ffxsr" vim:"2.5"`
+ Ffxsr bool `xml:"ffxsr" json:"ffxsr"`
// Flag to indicate bit 27 is incompatible.
- Rdtscp bool `xml:"rdtscp" json:"rdtscp" vim:"2.5"`
+ Rdtscp bool `xml:"rdtscp" json:"rdtscp"`
// Flag to indicate bit 29 is incompatible.
- Lm bool `xml:"lm" json:"lm" vim:"2.5"`
+ Lm bool `xml:"lm" json:"lm"`
// Flag to indicate that bits other than 20/25/27/29 are incompatible.
//
// I.e. the detected incompatibilities cannot be completely described by
// the nx, ffxsr, rdtscp, and/or lm flags.
- Other bool `xml:"other" json:"other" vim:"2.5"`
+ Other bool `xml:"other" json:"other"`
// Flag to indicate that the nx, ffxsr, rdtscp, and lm flags are all false,
// and the "other" flag is true.
//
// Purely a convenience property for the
// client processing this fault.
- OtherOnly bool `xml:"otherOnly" json:"otherOnly" vim:"2.5"`
+ OtherOnly bool `xml:"otherOnly" json:"otherOnly"`
}
func init() {
- minAPIVersionForType["CpuIncompatible81EDX"] = "2.5"
t["CpuIncompatible81EDX"] = reflect.TypeOf((*CpuIncompatible81EDX)(nil)).Elem()
+ minAPIVersionForType["CpuIncompatible81EDX"] = "2.5"
}
type CpuIncompatible81EDXFault CpuIncompatible81EDX
@@ -15620,7 +15688,7 @@ type CreateClusterExRequestType struct {
// Name for the new cluster.
Name string `xml:"name" json:"name"`
// Specification for the cluster.
- Spec ClusterConfigSpecEx `xml:"spec" json:"spec" vim:"2.5"`
+ Spec ClusterConfigSpecEx `xml:"spec" json:"spec"`
}
func init() {
@@ -15799,7 +15867,7 @@ type CreateCustomizationSpecResponse struct {
type CreateDVPortgroupRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The specification for the portgroup.
- Spec DVPortgroupConfigSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec DVPortgroupConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -15821,7 +15889,7 @@ type CreateDVSRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The `DVSCreateSpec`
// to create the distributed virtual switch.
- Spec DVSCreateSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec DVSCreateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -15879,11 +15947,11 @@ type CreateDefaultProfileRequestType struct {
// containing data for the named profile. The type name does not have
// to be system-defined. A user-defined profile can include various
// dynamically-defined profiles.
- ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty"`
+ ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
// Base profile used during the operation.
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
}
func init() {
@@ -15912,7 +15980,7 @@ type CreateDescriptorRequestType struct {
Obj ManagedObjectReference `xml:"obj" json:"obj"`
// Parameters to the method, bundled in an instance of
// CreateDescriptorParams.
- Cdp OvfCreateDescriptorParams `xml:"cdp" json:"cdp" vim:"4.0"`
+ Cdp OvfCreateDescriptorParams `xml:"cdp" json:"cdp"`
}
func init() {
@@ -15964,7 +16032,7 @@ type CreateDirectoryRequestType struct {
// directory size in MB on vvol/vsan backed object storage.
// default directory size will be used for vsan backed
// object storage if not set.
- Size int64 `xml:"size,omitempty" json:"size,omitempty"`
+ Size int64 `xml:"size,omitempty" json:"size,omitempty" vim:"7.0.2.0"`
}
func init() {
@@ -15979,20 +16047,20 @@ type CreateDirectoryResponse struct {
type CreateDiskFromSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of the virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
// A user friendly name to be associated with the new disk.
Name string `xml:"name" json:"name"`
// SPBM Profile requirement on the new virtual storage object.
// If not specified datastore default policy would be
// assigned.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Crypto information of the new disk.
// If unset and if profile contains an encryption iofilter and
// if snapshto is unencrypted, then cyrpto will be of
@@ -16009,7 +16077,7 @@ type CreateDiskFromSnapshotRequestType struct {
// CryptoSpecDecrypt.
// To recrypt the disk during creating disk, crypto has to be
// present.
- Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty" vim:"6.5"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
// Relative location in the specified datastore where disk needs
// to be created. If not specified disk gets created at the
// defualt VStorageObject location on the specified datastore.
@@ -16035,7 +16103,7 @@ type CreateDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The specification of the virtual storage object
// to be created.
- Spec VslmCreateSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmCreateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -16154,7 +16222,7 @@ type CreateImportSpecRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// Additional parameters to the method, bundled in an instance of
// CreateImportSpecParams.
- Cisp OvfCreateImportSpecParams `xml:"cisp" json:"cisp" vim:"4.0"`
+ Cisp OvfCreateImportSpecParams `xml:"cisp" json:"cisp"`
}
func init() {
@@ -16199,7 +16267,7 @@ type CreateIpPoolRequestType struct {
// Refers instance of `Datacenter`.
Dc ManagedObjectReference `xml:"dc" json:"dc"`
// The IP pool to create on the server
- Pool IpPool `xml:"pool" json:"pool" vim:"4.0"`
+ Pool IpPool `xml:"pool" json:"pool"`
}
func init() {
@@ -16229,7 +16297,7 @@ type CreateListViewFromViewRequestType struct {
// new ListView object.
//
// Refers instance of `View`.
- View ManagedObjectReference `xml:"view" json:"view" vim:"2.5"`
+ View ManagedObjectReference `xml:"view" json:"view"`
}
func init() {
@@ -16306,7 +16374,7 @@ type CreateNasDatastoreResponse struct {
type CreateNvdimmNamespaceRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Parameters to create the required namespace.
- CreateSpec NvdimmNamespaceCreateSpec `xml:"createSpec" json:"createSpec" vim:"6.7"`
+ CreateSpec NvdimmNamespaceCreateSpec `xml:"createSpec" json:"createSpec"`
}
func init() {
@@ -16327,7 +16395,7 @@ type CreateNvdimmNamespace_TaskResponse struct {
type CreateNvdimmPMemNamespaceRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Parameters to create the required namespace.
- CreateSpec NvdimmPMemNamespaceCreateSpec `xml:"createSpec" json:"createSpec" vim:"6.7.1"`
+ CreateSpec NvdimmPMemNamespaceCreateSpec `xml:"createSpec" json:"createSpec"`
}
func init() {
@@ -16426,7 +16494,7 @@ type CreateProfileRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification for the profile being created.
// Usually a derived class CreateSpec can be used to create the Profile.
- CreateSpec BaseProfileCreateSpec `xml:"createSpec,typeattr" json:"createSpec" vim:"4.0"`
+ CreateSpec BaseProfileCreateSpec `xml:"createSpec,typeattr" json:"createSpec"`
}
func init() {
@@ -16471,9 +16539,9 @@ type CreateRegistryKeyInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The path to the registry key to be created.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// If true, the key is created in memory and is not
// preserved across system reboot. Otherwise, it shall
// persist in the file system.
@@ -16600,7 +16668,7 @@ type CreateSecondaryVMExRequestType struct {
// `FaultToleranceVMConfigSpec`. The system will
// automatically place the corresponding secondary disk on
// persistent memory.
- Spec *FaultToleranceConfigSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"6.0"`
+ Spec *FaultToleranceConfigSpec `xml:"spec,omitempty" json:"spec,omitempty"`
}
func init() {
@@ -16673,7 +16741,7 @@ type CreateSnapshotExRequestType struct {
// default quiescing process will be applied. If the spec type is
// `VirtualMachineWindowsQuiesceSpec` and Guest OS is Windows, the parameters
// will control the VSS process.
- QuiesceSpec BaseVirtualMachineGuestQuiesceSpec `xml:"quiesceSpec,omitempty,typeattr" json:"quiesceSpec,omitempty" vim:"6.5"`
+ QuiesceSpec BaseVirtualMachineGuestQuiesceSpec `xml:"quiesceSpec,omitempty,typeattr" json:"quiesceSpec,omitempty"`
}
func init() {
@@ -16743,7 +16811,7 @@ type CreateSoftwareAdapterRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A data object that specifices the parameters necessary
// to create a software host bus adapter of a specific type.
- Spec BaseHostHbaCreateSpec `xml:"spec,typeattr" json:"spec" vim:"7.0.3.0"`
+ Spec BaseHostHbaCreateSpec `xml:"spec,typeattr" json:"spec"`
}
func init() {
@@ -16787,14 +16855,14 @@ type CreateTaskAction struct {
// Extension registered task type identifier
// for type of task being created.
- TaskTypeId string `xml:"taskTypeId" json:"taskTypeId" vim:"2.5"`
+ TaskTypeId string `xml:"taskTypeId" json:"taskTypeId"`
// Whether the task should be cancelable.
- Cancelable bool `xml:"cancelable" json:"cancelable" vim:"2.5"`
+ Cancelable bool `xml:"cancelable" json:"cancelable"`
}
func init() {
- minAPIVersionForType["CreateTaskAction"] = "2.5"
t["CreateTaskAction"] = reflect.TypeOf((*CreateTaskAction)(nil)).Elem()
+ minAPIVersionForType["CreateTaskAction"] = "2.5"
}
// The parameters of `TaskManager.CreateTask`.
@@ -16812,11 +16880,11 @@ type CreateTaskRequestType struct {
// false otherwise
Cancelable bool `xml:"cancelable" json:"cancelable"`
// Key of the task that is the parent of this task
- ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
+ ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty" vim:"4.0"`
// Activation Id is a client-provided token to link an
// API call with a task. When provided, the activationId is added to the
// `TaskInfo`
- ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty"`
+ ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty" vim:"6.0"`
}
func init() {
@@ -16844,7 +16912,7 @@ type CreateTemporaryDirectoryInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The prefix to be given to the new temporary directory.
Prefix string `xml:"prefix" json:"prefix"`
// The suffix to be given to the new temporary directory.
@@ -16880,7 +16948,7 @@ type CreateTemporaryFileInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The prefix to be given to the new temporary file.
Prefix string `xml:"prefix" json:"prefix"`
// The suffix to be given to the new temporary file.
@@ -16934,7 +17002,7 @@ type CreateVAppRequestType struct {
// regular resource pool).
ResSpec ResourceConfigSpec `xml:"resSpec" json:"resSpec"`
// The specification of the vApp specific meta-data.
- ConfigSpec VAppConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec VAppConfigSpec `xml:"configSpec" json:"configSpec"`
// The parent folder for the vApp. This must be null if this is
// a child vApp.
//
@@ -16998,7 +17066,7 @@ type CreateVirtualDiskRequestType struct {
// Refers instance of `Datacenter`.
Datacenter *ManagedObjectReference `xml:"datacenter,omitempty" json:"datacenter,omitempty"`
// The specification of the virtual disk to be created.
- Spec BaseVirtualDiskSpec `xml:"spec,typeattr" json:"spec" vim:"2.5"`
+ Spec BaseVirtualDiskSpec `xml:"spec,typeattr" json:"spec"`
}
func init() {
@@ -17046,7 +17114,7 @@ func init() {
type CreateVvolDatastoreRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification for creating a Virtual-Volume based datastore.
- Spec HostDatastoreSystemVvolDatastoreSpec `xml:"spec" json:"spec" vim:"6.0"`
+ Spec HostDatastoreSystemVvolDatastoreSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -17067,16 +17135,16 @@ type CryptoKeyId struct {
// server.
// An empty string must be used when encrypting with a Trusted Key Provider,
// because the key is generated at the time of encryption.
- KeyId string `xml:"keyId" json:"keyId" vim:"6.5"`
+ KeyId string `xml:"keyId" json:"keyId"`
// The provider holding the key data.
//
// May be ignored if the key is known to be stored in another provider.
- ProviderId *KeyProviderId `xml:"providerId,omitempty" json:"providerId,omitempty" vim:"6.5"`
+ ProviderId *KeyProviderId `xml:"providerId,omitempty" json:"providerId,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoKeyId"] = "6.5"
t["CryptoKeyId"] = reflect.TypeOf((*CryptoKeyId)(nil)).Elem()
+ minAPIVersionForType["CryptoKeyId"] = "6.5"
}
// Data Object representing a plain text cryptographic key.
@@ -17089,8 +17157,8 @@ type CryptoKeyPlain struct {
}
func init() {
- minAPIVersionForType["CryptoKeyPlain"] = "6.5"
t["CryptoKeyPlain"] = reflect.TypeOf((*CryptoKeyPlain)(nil)).Elem()
+ minAPIVersionForType["CryptoKeyPlain"] = "6.5"
}
// CryptoKeyResult.java --
@@ -17106,8 +17174,8 @@ type CryptoKeyResult struct {
}
func init() {
- minAPIVersionForType["CryptoKeyResult"] = "6.5"
t["CryptoKeyResult"] = reflect.TypeOf((*CryptoKeyResult)(nil)).Elem()
+ minAPIVersionForType["CryptoKeyResult"] = "6.5"
}
type CryptoManagerHostDisable CryptoManagerHostDisableRequestType
@@ -17137,7 +17205,7 @@ func init() {
type CryptoManagerHostEnableRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The key to be used for core dump encryption
- InitialKey CryptoKeyPlain `xml:"initialKey" json:"initialKey" vim:"6.5"`
+ InitialKey CryptoKeyPlain `xml:"initialKey" json:"initialKey"`
}
func init() {
@@ -17163,6 +17231,7 @@ type CryptoManagerHostKeyStatus struct {
func init() {
t["CryptoManagerHostKeyStatus"] = reflect.TypeOf((*CryptoManagerHostKeyStatus)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerHostKeyStatus"] = "8.0.1.0"
}
type CryptoManagerHostPrepare CryptoManagerHostPrepareRequestType
@@ -17227,36 +17296,36 @@ type CryptoManagerKmipCertificateInfo struct {
DynamicData
// Subject identifies whom the certificate is issued to.
- Subject string `xml:"subject" json:"subject" vim:"6.5"`
+ Subject string `xml:"subject" json:"subject"`
// Issuer identifies the party that issued this certificate.
- Issuer string `xml:"issuer" json:"issuer" vim:"6.5"`
+ Issuer string `xml:"issuer" json:"issuer"`
// The unique serial number of the certificate given by issuer.
- SerialNumber string `xml:"serialNumber" json:"serialNumber" vim:"6.5"`
+ SerialNumber string `xml:"serialNumber" json:"serialNumber"`
// The beginning time of the period of validity.
- NotBefore time.Time `xml:"notBefore" json:"notBefore" vim:"6.5"`
+ NotBefore time.Time `xml:"notBefore" json:"notBefore"`
// The ending time of the period of validity.
- NotAfter time.Time `xml:"notAfter" json:"notAfter" vim:"6.5"`
+ NotAfter time.Time `xml:"notAfter" json:"notAfter"`
// The SSL SHA1 fingerprint of the certificate.
- Fingerprint string `xml:"fingerprint" json:"fingerprint" vim:"6.5"`
+ Fingerprint string `xml:"fingerprint" json:"fingerprint"`
// The timestamp when the state of the certificate is checked.
- CheckTime time.Time `xml:"checkTime" json:"checkTime" vim:"6.5"`
+ CheckTime time.Time `xml:"checkTime" json:"checkTime"`
// Total seconds since this certificate has entered valid state.
//
// It is the time difference between "now" and "notBefore".
// If it is negative value, that means the certificate will become
// valid in a future time.
- SecondsSinceValid int32 `xml:"secondsSinceValid,omitempty" json:"secondsSinceValid,omitempty" vim:"6.5"`
+ SecondsSinceValid int32 `xml:"secondsSinceValid,omitempty" json:"secondsSinceValid,omitempty"`
// Total seconds before this certificate expires.
//
// It is the time difference between "notAfter" and "now".
// If it is negative value, that means the certificate has already
// expired.
- SecondsBeforeExpire int32 `xml:"secondsBeforeExpire,omitempty" json:"secondsBeforeExpire,omitempty" vim:"6.5"`
+ SecondsBeforeExpire int32 `xml:"secondsBeforeExpire,omitempty" json:"secondsBeforeExpire,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoManagerKmipCertificateInfo"] = "6.5"
t["CryptoManagerKmipCertificateInfo"] = reflect.TypeOf((*CryptoManagerKmipCertificateInfo)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipCertificateInfo"] = "6.5"
}
// Status of a KMIP cluster.
@@ -17264,7 +17333,7 @@ type CryptoManagerKmipClusterStatus struct {
DynamicData
// The ID of the KMIP cluster.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// KMS cluster overall status.
OverallStatus ManagedEntityStatus `xml:"overallStatus,omitempty" json:"overallStatus,omitempty" vim:"7.0"`
// Key provider management type.
@@ -17272,14 +17341,14 @@ type CryptoManagerKmipClusterStatus struct {
// See `KmipClusterInfoKmsManagementType_enum` for valid values.
ManagementType string `xml:"managementType,omitempty" json:"managementType,omitempty" vim:"7.0"`
// Status of the KMIP servers in this cluster.
- Servers []CryptoManagerKmipServerStatus `xml:"servers" json:"servers" vim:"6.5"`
+ Servers []CryptoManagerKmipServerStatus `xml:"servers" json:"servers"`
// The basic information about the client's certificate.
- ClientCertInfo *CryptoManagerKmipCertificateInfo `xml:"clientCertInfo,omitempty" json:"clientCertInfo,omitempty" vim:"6.5"`
+ ClientCertInfo *CryptoManagerKmipCertificateInfo `xml:"clientCertInfo,omitempty" json:"clientCertInfo,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoManagerKmipClusterStatus"] = "6.5"
t["CryptoManagerKmipClusterStatus"] = reflect.TypeOf((*CryptoManagerKmipClusterStatus)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipClusterStatus"] = "6.5"
}
// Status of a Crypto key
@@ -17287,28 +17356,28 @@ type CryptoManagerKmipCryptoKeyStatus struct {
DynamicData
// Crypto key Id
- KeyId CryptoKeyId `xml:"keyId" json:"keyId" vim:"6.7.2"`
+ KeyId CryptoKeyId `xml:"keyId" json:"keyId"`
// If the key is available for crypto operation
- KeyAvailable *bool `xml:"keyAvailable" json:"keyAvailable,omitempty" vim:"6.7.2"`
+ KeyAvailable *bool `xml:"keyAvailable" json:"keyAvailable,omitempty"`
// The reason for key not available, valid when keyAvailable is false.
//
// `CryptoManagerKmipCryptoKeyStatusKeyUnavailableReason_enum` lists the set of supported values.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"6.7.2"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The list of VMs which use that key
//
// Refers instances of `VirtualMachine`.
- EncryptedVMs []ManagedObjectReference `xml:"encryptedVMs,omitempty" json:"encryptedVMs,omitempty" vim:"6.7.2"`
+ EncryptedVMs []ManagedObjectReference `xml:"encryptedVMs,omitempty" json:"encryptedVMs,omitempty"`
// The lists of hosts which use that key as host key
//
// Refers instances of `HostSystem`.
- AffectedHosts []ManagedObjectReference `xml:"affectedHosts,omitempty" json:"affectedHosts,omitempty" vim:"6.7.2"`
+ AffectedHosts []ManagedObjectReference `xml:"affectedHosts,omitempty" json:"affectedHosts,omitempty"`
// The identifier list for the 3rd party who are using the key
- ReferencedByTags []string `xml:"referencedByTags,omitempty" json:"referencedByTags,omitempty" vim:"6.7.2"`
+ ReferencedByTags []string `xml:"referencedByTags,omitempty" json:"referencedByTags,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoManagerKmipCryptoKeyStatus"] = "6.7.2"
t["CryptoManagerKmipCryptoKeyStatus"] = reflect.TypeOf((*CryptoManagerKmipCryptoKeyStatus)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipCryptoKeyStatus"] = "6.7.2"
}
// Crypto key custom attribute spec
@@ -17321,6 +17390,7 @@ type CryptoManagerKmipCustomAttributeSpec struct {
func init() {
t["CryptoManagerKmipCustomAttributeSpec"] = reflect.TypeOf((*CryptoManagerKmipCustomAttributeSpec)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipCustomAttributeSpec"] = "8.0.1.0"
}
// Information about the KMIP server certificate.
@@ -17328,16 +17398,16 @@ type CryptoManagerKmipServerCertInfo struct {
DynamicData
// The server certificate.
- Certificate string `xml:"certificate" json:"certificate" vim:"6.5"`
+ Certificate string `xml:"certificate" json:"certificate"`
// The basic information about server's certificate.
- CertInfo *CryptoManagerKmipCertificateInfo `xml:"certInfo,omitempty" json:"certInfo,omitempty" vim:"6.5"`
+ CertInfo *CryptoManagerKmipCertificateInfo `xml:"certInfo,omitempty" json:"certInfo,omitempty"`
// Whether this KMS server is trusted by local Kmip client.
- ClientTrustServer *bool `xml:"clientTrustServer" json:"clientTrustServer,omitempty" vim:"6.5"`
+ ClientTrustServer *bool `xml:"clientTrustServer" json:"clientTrustServer,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoManagerKmipServerCertInfo"] = "6.5"
t["CryptoManagerKmipServerCertInfo"] = reflect.TypeOf((*CryptoManagerKmipServerCertInfo)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipServerCertInfo"] = "6.5"
}
// Status of a KMIP server.
@@ -17345,22 +17415,22 @@ type CryptoManagerKmipServerStatus struct {
DynamicData
// Name of the KMIP server.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// KMIP server status.
- Status ManagedEntityStatus `xml:"status" json:"status" vim:"6.5"`
+ Status ManagedEntityStatus `xml:"status" json:"status"`
// KMIP server connection status description.
- ConnectionStatus string `xml:"connectionStatus" json:"connectionStatus" vim:"6.5"`
+ ConnectionStatus string `xml:"connectionStatus" json:"connectionStatus"`
// The basic information about the KMIP server's certificate.
- CertInfo *CryptoManagerKmipCertificateInfo `xml:"certInfo,omitempty" json:"certInfo,omitempty" vim:"6.5"`
+ CertInfo *CryptoManagerKmipCertificateInfo `xml:"certInfo,omitempty" json:"certInfo,omitempty"`
// Whether this KMS server is trusted by local Kmip client.
- ClientTrustServer *bool `xml:"clientTrustServer" json:"clientTrustServer,omitempty" vim:"6.5"`
+ ClientTrustServer *bool `xml:"clientTrustServer" json:"clientTrustServer,omitempty"`
// Whether this KMS server trusts the local Kmip client.
- ServerTrustClient *bool `xml:"serverTrustClient" json:"serverTrustClient,omitempty" vim:"6.5"`
+ ServerTrustClient *bool `xml:"serverTrustClient" json:"serverTrustClient,omitempty"`
}
func init() {
- minAPIVersionForType["CryptoManagerKmipServerStatus"] = "6.5"
t["CryptoManagerKmipServerStatus"] = reflect.TypeOf((*CryptoManagerKmipServerStatus)(nil)).Elem()
+ minAPIVersionForType["CryptoManagerKmipServerStatus"] = "6.5"
}
// This data object type encapsulates virtual machine or disk encryption
@@ -17370,8 +17440,8 @@ type CryptoSpec struct {
}
func init() {
- minAPIVersionForType["CryptoSpec"] = "6.5"
t["CryptoSpec"] = reflect.TypeOf((*CryptoSpec)(nil)).Elem()
+ minAPIVersionForType["CryptoSpec"] = "6.5"
}
// This data object type encapsulates virtual machine or disk encryption
@@ -17381,8 +17451,8 @@ type CryptoSpecDecrypt struct {
}
func init() {
- minAPIVersionForType["CryptoSpecDecrypt"] = "6.5"
t["CryptoSpecDecrypt"] = reflect.TypeOf((*CryptoSpecDecrypt)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecDecrypt"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptographic
@@ -17394,8 +17464,8 @@ type CryptoSpecDeepRecrypt struct {
}
func init() {
- minAPIVersionForType["CryptoSpecDeepRecrypt"] = "6.5"
t["CryptoSpecDeepRecrypt"] = reflect.TypeOf((*CryptoSpecDeepRecrypt)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecDeepRecrypt"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptohraphic
@@ -17407,8 +17477,8 @@ type CryptoSpecEncrypt struct {
}
func init() {
- minAPIVersionForType["CryptoSpecEncrypt"] = "6.5"
t["CryptoSpecEncrypt"] = reflect.TypeOf((*CryptoSpecEncrypt)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecEncrypt"] = "6.5"
}
// This data object type indicates that the encryption settings of the
@@ -17418,8 +17488,8 @@ type CryptoSpecNoOp struct {
}
func init() {
- minAPIVersionForType["CryptoSpecNoOp"] = "6.5"
t["CryptoSpecNoOp"] = reflect.TypeOf((*CryptoSpecNoOp)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecNoOp"] = "6.5"
}
// This data object type indicates that the operation requires keys to be sent
@@ -17429,12 +17499,12 @@ type CryptoSpecRegister struct {
CryptoSpecNoOp
// The key the VM/disk is already encrypted with.
- CryptoKeyId CryptoKeyId `xml:"cryptoKeyId" json:"cryptoKeyId" vim:"6.5"`
+ CryptoKeyId CryptoKeyId `xml:"cryptoKeyId" json:"cryptoKeyId"`
}
func init() {
- minAPIVersionForType["CryptoSpecRegister"] = "6.5"
t["CryptoSpecRegister"] = reflect.TypeOf((*CryptoSpecRegister)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecRegister"] = "6.5"
}
// This data object type encapsulates virtual machine or disk cryptographic
@@ -17446,8 +17516,8 @@ type CryptoSpecShallowRecrypt struct {
}
func init() {
- minAPIVersionForType["CryptoSpecShallowRecrypt"] = "6.5"
t["CryptoSpecShallowRecrypt"] = reflect.TypeOf((*CryptoSpecShallowRecrypt)(nil)).Elem()
+ minAPIVersionForType["CryptoSpecShallowRecrypt"] = "6.5"
}
type CryptoUnlockRequestType struct {
@@ -17647,8 +17717,8 @@ type CustomizationAutoIpV6Generator struct {
}
func init() {
- minAPIVersionForType["CustomizationAutoIpV6Generator"] = "4.0"
t["CustomizationAutoIpV6Generator"] = reflect.TypeOf((*CustomizationAutoIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationAutoIpV6Generator"] = "4.0"
}
// Guest customization settings to customize a Linux guest operating
@@ -17662,18 +17732,18 @@ type CustomizationCloudinitPrep struct {
// It is in json or yaml format.
// The max size of the metadata is 524288 bytes.
// See detail information about Instance Metadata.
- Metadata string `xml:"metadata" json:"metadata" vim:"7.0.3.0"`
+ Metadata string `xml:"metadata" json:"metadata"`
// Userdata is the user custom content that cloud-init processes to
// configure the VM.
//
// The max size of the userdata is 524288 bytes.
// See detail information about User-Data formats.
- Userdata string `xml:"userdata,omitempty" json:"userdata,omitempty" vim:"7.0.3.0"`
+ Userdata string `xml:"userdata,omitempty" json:"userdata,omitempty"`
}
func init() {
- minAPIVersionForType["CustomizationCloudinitPrep"] = "7.0.3.0"
t["CustomizationCloudinitPrep"] = reflect.TypeOf((*CustomizationCloudinitPrep)(nil)).Elem()
+ minAPIVersionForType["CustomizationCloudinitPrep"] = "7.0.3.0"
}
// Use a command-line program configured with the VirtualCenter server.
@@ -17699,12 +17769,12 @@ type CustomizationCustomIpV6Generator struct {
//
// The
// meaning of this field is user-defined, in the script.
- Argument string `xml:"argument,omitempty" json:"argument,omitempty" vim:"4.0"`
+ Argument string `xml:"argument,omitempty" json:"argument,omitempty"`
}
func init() {
- minAPIVersionForType["CustomizationCustomIpV6Generator"] = "4.0"
t["CustomizationCustomIpV6Generator"] = reflect.TypeOf((*CustomizationCustomIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationCustomIpV6Generator"] = "4.0"
}
// Specifies that the VirtualCenter server will launch an external application to
@@ -17741,8 +17811,8 @@ type CustomizationDhcpIpV6Generator struct {
}
func init() {
- minAPIVersionForType["CustomizationDhcpIpV6Generator"] = "4.0"
t["CustomizationDhcpIpV6Generator"] = reflect.TypeOf((*CustomizationDhcpIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationDhcpIpV6Generator"] = "4.0"
}
// Base for customization events.
@@ -17751,12 +17821,12 @@ type CustomizationEvent struct {
// The location of the in-guest customization log which will contain
// details of the customization operation.
- LogLocation string `xml:"logLocation,omitempty" json:"logLocation,omitempty" vim:"2.5"`
+ LogLocation string `xml:"logLocation,omitempty" json:"logLocation,omitempty"`
}
func init() {
- minAPIVersionForType["CustomizationEvent"] = "2.5"
t["CustomizationEvent"] = reflect.TypeOf((*CustomizationEvent)(nil)).Elem()
+ minAPIVersionForType["CustomizationEvent"] = "2.5"
}
// The customization sequence in the guest failed.
@@ -17768,8 +17838,8 @@ type CustomizationFailed struct {
}
func init() {
- minAPIVersionForType["CustomizationFailed"] = "2.5"
t["CustomizationFailed"] = reflect.TypeOf((*CustomizationFailed)(nil)).Elem()
+ minAPIVersionForType["CustomizationFailed"] = "2.5"
}
// Base for exceptions that can be thrown from the customizer.
@@ -17807,8 +17877,8 @@ type CustomizationFixedIpV6 struct {
}
func init() {
- minAPIVersionForType["CustomizationFixedIpV6"] = "4.0"
t["CustomizationFixedIpV6"] = reflect.TypeOf((*CustomizationFixedIpV6)(nil)).Elem()
+ minAPIVersionForType["CustomizationFixedIpV6"] = "4.0"
}
// A fixed name.
@@ -17971,14 +18041,14 @@ type CustomizationIPSettingsIpV6AddressSpec struct {
DynamicData
// ipv6 address generators
- Ip []BaseCustomizationIpV6Generator `xml:"ip,typeattr" json:"ip" vim:"4.0"`
+ Ip []BaseCustomizationIpV6Generator `xml:"ip,typeattr" json:"ip"`
// gateways
- Gateway []string `xml:"gateway,omitempty" json:"gateway,omitempty" vim:"4.0"`
+ Gateway []string `xml:"gateway,omitempty" json:"gateway,omitempty"`
}
func init() {
- minAPIVersionForType["CustomizationIPSettingsIpV6AddressSpec"] = "4.0"
t["CustomizationIPSettingsIpV6AddressSpec"] = reflect.TypeOf((*CustomizationIPSettingsIpV6AddressSpec)(nil)).Elem()
+ minAPIVersionForType["CustomizationIPSettingsIpV6AddressSpec"] = "4.0"
}
// The Identification data object type provides information needed to join a workgroup
@@ -18011,6 +18081,14 @@ type CustomizationIdentification struct {
// This is the password for the domain user account used for authentication if the
// virtual machine is joining a domain.
DomainAdminPassword *CustomizationPassword `xml:"domainAdminPassword,omitempty" json:"domainAdminPassword,omitempty"`
+ // This is the MachineObjectOU which specifies the full LDAP path name of
+ // the OU to which the computer belongs.
+ //
+ // For example, OU=MyOu,DC=MyDom,DC=MyCompany,DC=com
+ // Refer to: https://docs.microsoft.com/en-us/windows-hardware/customize/
+ // desktop/unattend/microsoft-windows-unattendedjoin-
+ // identification-machineobjectou
+ DomainOU string `xml:"domainOU,omitempty" json:"domainOU,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -18041,8 +18119,8 @@ type CustomizationIpV6Generator struct {
}
func init() {
- minAPIVersionForType["CustomizationIpV6Generator"] = "4.0"
t["CustomizationIpV6Generator"] = reflect.TypeOf((*CustomizationIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationIpV6Generator"] = "4.0"
}
// The LicenseFilePrintData type maps directly to the LicenseFilePrintData key in the
@@ -18076,8 +18154,8 @@ type CustomizationLinuxIdentityFailed struct {
}
func init() {
- minAPIVersionForType["CustomizationLinuxIdentityFailed"] = "2.5"
t["CustomizationLinuxIdentityFailed"] = reflect.TypeOf((*CustomizationLinuxIdentityFailed)(nil)).Elem()
+ minAPIVersionForType["CustomizationLinuxIdentityFailed"] = "2.5"
}
// Base object type for optional operations supported by the customization process for
@@ -18141,8 +18219,8 @@ type CustomizationNetworkSetupFailed struct {
}
func init() {
- minAPIVersionForType["CustomizationNetworkSetupFailed"] = "2.5"
t["CustomizationNetworkSetupFailed"] = reflect.TypeOf((*CustomizationNetworkSetupFailed)(nil)).Elem()
+ minAPIVersionForType["CustomizationNetworkSetupFailed"] = "2.5"
}
// Base object type for optional operations supported by the customization process.
@@ -18179,8 +18257,8 @@ type CustomizationPending struct {
}
func init() {
- minAPIVersionForType["CustomizationPending"] = "2.5"
t["CustomizationPending"] = reflect.TypeOf((*CustomizationPending)(nil)).Elem()
+ minAPIVersionForType["CustomizationPending"] = "2.5"
}
type CustomizationPendingFault CustomizationPending
@@ -18317,8 +18395,8 @@ type CustomizationStartedEvent struct {
}
func init() {
- minAPIVersionForType["CustomizationStartedEvent"] = "2.5"
t["CustomizationStartedEvent"] = reflect.TypeOf((*CustomizationStartedEvent)(nil)).Elem()
+ minAPIVersionForType["CustomizationStartedEvent"] = "2.5"
}
// Use stateless autoconfiguration to configure to ipv6 address
@@ -18327,8 +18405,8 @@ type CustomizationStatelessIpV6Generator struct {
}
func init() {
- minAPIVersionForType["CustomizationStatelessIpV6Generator"] = "4.0"
t["CustomizationStatelessIpV6Generator"] = reflect.TypeOf((*CustomizationStatelessIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationStatelessIpV6Generator"] = "4.0"
}
// The customization sequence completed successfully in the guest.
@@ -18337,8 +18415,8 @@ type CustomizationSucceeded struct {
}
func init() {
- minAPIVersionForType["CustomizationSucceeded"] = "2.5"
t["CustomizationSucceeded"] = reflect.TypeOf((*CustomizationSucceeded)(nil)).Elem()
+ minAPIVersionForType["CustomizationSucceeded"] = "2.5"
}
// An object representation of a Windows `sysprep.xml` answer file.
@@ -18378,14 +18456,14 @@ type CustomizationSysprepFailed struct {
// The version string for the sysprep files that were included in the
// customization package.
- SysprepVersion string `xml:"sysprepVersion" json:"sysprepVersion" vim:"2.5"`
+ SysprepVersion string `xml:"sysprepVersion" json:"sysprepVersion"`
// The version string for the system
- SystemVersion string `xml:"systemVersion" json:"systemVersion" vim:"2.5"`
+ SystemVersion string `xml:"systemVersion" json:"systemVersion"`
}
func init() {
- minAPIVersionForType["CustomizationSysprepFailed"] = "2.5"
t["CustomizationSysprepFailed"] = reflect.TypeOf((*CustomizationSysprepFailed)(nil)).Elem()
+ minAPIVersionForType["CustomizationSysprepFailed"] = "2.5"
}
// An alternate way to specify the `sysprep.xml` answer file.
@@ -18412,8 +18490,8 @@ type CustomizationUnknownFailure struct {
}
func init() {
- minAPIVersionForType["CustomizationUnknownFailure"] = "2.5"
t["CustomizationUnknownFailure"] = reflect.TypeOf((*CustomizationUnknownFailure)(nil)).Elem()
+ minAPIVersionForType["CustomizationUnknownFailure"] = "2.5"
}
// The IP address is left unspecified.
@@ -18437,8 +18515,8 @@ type CustomizationUnknownIpV6Generator struct {
}
func init() {
- minAPIVersionForType["CustomizationUnknownIpV6Generator"] = "4.0"
t["CustomizationUnknownIpV6Generator"] = reflect.TypeOf((*CustomizationUnknownIpV6Generator)(nil)).Elem()
+ minAPIVersionForType["CustomizationUnknownIpV6Generator"] = "4.0"
}
// Indicates that the name is not specified in advance.
@@ -18544,7 +18622,7 @@ type CustomizeGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// Is a `CustomizationSpec`.
// It specifies the virtual machine's configuration.
Spec CustomizationSpec `xml:"spec" json:"spec"`
@@ -18593,7 +18671,7 @@ type DVPortConfigInfo struct {
DynamicData
// The name of the port.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Deprecated as of vSphere API 5.5.
//
// The eligible entities that can connect to the port.
@@ -18607,18 +18685,18 @@ type DVPortConfigInfo struct {
// raise an exception.
//
// Refers instances of `ManagedEntity`.
- Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty"`
// A description string of the port.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The network configuration of the port.
- Setting BaseDVPortSetting `xml:"setting,omitempty,typeattr" json:"setting,omitempty" vim:"4.0"`
+ Setting BaseDVPortSetting `xml:"setting,omitempty,typeattr" json:"setting,omitempty"`
// The version string of the configuration.
- ConfigVersion string `xml:"configVersion" json:"configVersion" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion" json:"configVersion"`
}
func init() {
- minAPIVersionForType["DVPortConfigInfo"] = "4.0"
t["DVPortConfigInfo"] = reflect.TypeOf((*DVPortConfigInfo)(nil)).Elem()
+ minAPIVersionForType["DVPortConfigInfo"] = "4.0"
}
// Specification to reconfigure a `DistributedVirtualPort`.
@@ -18631,29 +18709,29 @@ type DVPortConfigSpec struct {
// are:
// - `edit`
// - `remove`
- Operation string `xml:"operation" json:"operation" vim:"4.0"`
+ Operation string `xml:"operation" json:"operation"`
// Key of the port to be reconfigured.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"4.0"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The name of the port.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Deprecated as of vSphere API 5.5.
//
// The eligible entities that can connect to the port, for detail see
// `DVPortConfigInfo.scope`.
//
// Refers instances of `ManagedEntity`.
- Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty"`
// The description string of the port.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The network setting of the port.
- Setting BaseDVPortSetting `xml:"setting,omitempty,typeattr" json:"setting,omitempty" vim:"4.0"`
+ Setting BaseDVPortSetting `xml:"setting,omitempty,typeattr" json:"setting,omitempty"`
// The version string of the configuration.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
}
func init() {
- minAPIVersionForType["DVPortConfigSpec"] = "4.0"
t["DVPortConfigSpec"] = reflect.TypeOf((*DVPortConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DVPortConfigSpec"] = "4.0"
}
// The virtual machine is configured to use a DVPort, which is not
@@ -18667,8 +18745,8 @@ type DVPortNotSupported struct {
}
func init() {
- minAPIVersionForType["DVPortNotSupported"] = "4.1"
t["DVPortNotSupported"] = reflect.TypeOf((*DVPortNotSupported)(nil)).Elem()
+ minAPIVersionForType["DVPortNotSupported"] = "4.1"
}
type DVPortNotSupportedFault DVPortNotSupported
@@ -18686,7 +18764,7 @@ type DVPortSetting struct {
//
// If a port is blocked,
// packet forwarding is stopped.
- Blocked *BoolPolicy `xml:"blocked,omitempty" json:"blocked,omitempty" vim:"4.0"`
+ Blocked *BoolPolicy `xml:"blocked,omitempty" json:"blocked,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -18699,11 +18777,11 @@ type DVPortSetting struct {
// and `VirtualEthernetCardOption` objects.
VmDirectPathGen2Allowed *BoolPolicy `xml:"vmDirectPathGen2Allowed,omitempty" json:"vmDirectPathGen2Allowed,omitempty" vim:"4.1"`
// Network shaping policy for controlling throughput of inbound traffic.
- InShapingPolicy *DVSTrafficShapingPolicy `xml:"inShapingPolicy,omitempty" json:"inShapingPolicy,omitempty" vim:"4.0"`
+ InShapingPolicy *DVSTrafficShapingPolicy `xml:"inShapingPolicy,omitempty" json:"inShapingPolicy,omitempty"`
// Network shaping policy for controlling throughput of outbound traffic.
- OutShapingPolicy *DVSTrafficShapingPolicy `xml:"outShapingPolicy,omitempty" json:"outShapingPolicy,omitempty" vim:"4.0"`
+ OutShapingPolicy *DVSTrafficShapingPolicy `xml:"outShapingPolicy,omitempty" json:"outShapingPolicy,omitempty"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig *DVSVendorSpecificConfig `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig *DVSVendorSpecificConfig `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// Deprecated as of vSphere API 6.0
// Use `DVPortgroupConfigInfo.vmVnicNetworkResourcePoolKey` instead
// to reference the virtual NIC network resource pool.
@@ -18718,8 +18796,8 @@ type DVPortSetting struct {
}
func init() {
- minAPIVersionForType["DVPortSetting"] = "4.0"
t["DVPortSetting"] = reflect.TypeOf((*DVPortSetting)(nil)).Elem()
+ minAPIVersionForType["DVPortSetting"] = "4.0"
}
// The state of a DistributedVirtualPort.
@@ -18729,16 +18807,16 @@ type DVPortState struct {
// Run time information of the port.
//
// This property is set only when the port is running.
- RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"4.0"`
+ RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty"`
// Statistics of the port.
- Stats DistributedVirtualSwitchPortStatistics `xml:"stats" json:"stats" vim:"4.0"`
+ Stats DistributedVirtualSwitchPortStatistics `xml:"stats" json:"stats"`
// Opaque binary blob that stores vendor-specific runtime state data.
- VendorSpecificState []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificState,omitempty" json:"vendorSpecificState,omitempty" vim:"4.0"`
+ VendorSpecificState []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificState,omitempty" json:"vendorSpecificState,omitempty"`
}
func init() {
- minAPIVersionForType["DVPortState"] = "4.0"
t["DVPortState"] = reflect.TypeOf((*DVPortState)(nil)).Elem()
+ minAPIVersionForType["DVPortState"] = "4.0"
}
// The `DVPortStatus` data object
@@ -18747,13 +18825,13 @@ type DVPortStatus struct {
DynamicData
// Indicates whether the port is in linkUp status.
- LinkUp bool `xml:"linkUp" json:"linkUp" vim:"4.0"`
+ LinkUp bool `xml:"linkUp" json:"linkUp"`
// Indicates whether the port is blocked by switch implementation.
- Blocked bool `xml:"blocked" json:"blocked" vim:"4.0"`
+ Blocked bool `xml:"blocked" json:"blocked"`
// VLAN ID of the port.
- VlanIds []NumericRange `xml:"vlanIds,omitempty" json:"vlanIds,omitempty" vim:"4.0"`
+ VlanIds []NumericRange `xml:"vlanIds,omitempty" json:"vlanIds,omitempty"`
// True if the port VLAN tagging/stripping is disabled.
- TrunkingMode *bool `xml:"trunkingMode" json:"trunkingMode,omitempty" vim:"4.0"`
+ TrunkingMode *bool `xml:"trunkingMode" json:"trunkingMode,omitempty"`
// Maximum transmission unit (MTU) of the port.
//
// You can set the MTU only
@@ -18761,11 +18839,11 @@ type DVPortStatus struct {
// (`VMwareDVSConfigSpec`).
// If you attempt to change it at the portgroup or port level,
// the Server throws an exception.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"4.0"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
// Name of the connected entity.
- LinkPeer string `xml:"linkPeer,omitempty" json:"linkPeer,omitempty" vim:"4.0"`
+ LinkPeer string `xml:"linkPeer,omitempty" json:"linkPeer,omitempty"`
// The MAC address that is used at this port.
- MacAddress string `xml:"macAddress,omitempty" json:"macAddress,omitempty" vim:"4.0"`
+ MacAddress string `xml:"macAddress,omitempty" json:"macAddress,omitempty"`
// Additional information regarding the current status of the port.
StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"4.1"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
@@ -18833,8 +18911,8 @@ type DVPortStatus struct {
}
func init() {
- minAPIVersionForType["DVPortStatus"] = "4.0"
t["DVPortStatus"] = reflect.TypeOf((*DVPortStatus)(nil)).Elem()
+ minAPIVersionForType["DVPortStatus"] = "4.0"
}
// The `DVPortgroupConfigInfo` data object defines
@@ -18843,11 +18921,11 @@ type DVPortgroupConfigInfo struct {
DynamicData
// Key of the portgroup.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Name of the portgroup.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Number of ports in the portgroup.
- NumPorts int32 `xml:"numPorts" json:"numPorts" vim:"4.0"`
+ NumPorts int32 `xml:"numPorts" json:"numPorts"`
// Distributed virtual switch that the portgroup is defined on.
//
// This property should always be set unless the user's setting
@@ -18855,17 +18933,17 @@ type DVPortgroupConfigInfo struct {
// by this property.
//
// Refers instance of `DistributedVirtualSwitch`.
- DistributedVirtualSwitch *ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty" vim:"4.0"`
+ DistributedVirtualSwitch *ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty"`
// Common network setting for all the ports in the portgroup.
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty" vim:"4.0"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty"`
// Description of the portgroup.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Type of portgroup.
//
// See
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroupPortgroupType_enum`
// for possible values.
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// Backing type of portgroup.
//
// See
@@ -18874,7 +18952,7 @@ type DVPortgroupConfigInfo struct {
// The default value is "standard"
BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty" vim:"7.0"`
// Portgroup policy.
- Policy BaseDVPortgroupPolicy `xml:"policy,typeattr" json:"policy" vim:"4.0"`
+ Policy BaseDVPortgroupPolicy `xml:"policy,typeattr" json:"policy"`
// If set, a name will be automatically generated based on this format
// string for a port when it is created in or moved into the portgroup.
//
@@ -18897,7 +18975,7 @@ type DVPortgroupConfigInfo struct {
// To prevent a meta tag from being expanded, prefix the meta tag with a
// '\\' (backslash). For example, the format string "abc\\<portIndex>def"
// results in the generated port name "abc<portIndex>def".
- PortNameFormat string `xml:"portNameFormat,omitempty" json:"portNameFormat,omitempty" vim:"4.0"`
+ PortNameFormat string `xml:"portNameFormat,omitempty" json:"portNameFormat,omitempty"`
// Deprecated as of vSphere API 5.5.
//
// Eligible entities that can connect to the portgroup.
@@ -18911,11 +18989,11 @@ type DVPortgroupConfigInfo struct {
// reconfigure operation will raise an exception.
//
// Refers instances of `ManagedEntity`.
- Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// Configuration version number.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
// If set to true, this property ignores the limit on the number of ports in the
// portgroup.
//
@@ -18950,8 +19028,8 @@ type DVPortgroupConfigInfo struct {
}
func init() {
- minAPIVersionForType["DVPortgroupConfigInfo"] = "4.0"
t["DVPortgroupConfigInfo"] = reflect.TypeOf((*DVPortgroupConfigInfo)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupConfigInfo"] = "4.0"
}
// The `DVPortgroupConfigSpec`
@@ -18971,9 +19049,9 @@ type DVPortgroupConfigSpec struct {
// should be set to the same value as the
// `DVPortgroupConfigInfo.configVersion`.
// This property is ignored in creating a portgroup if set.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
// Name of the portgroup.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Number of ports in the portgroup.
//
// Setting this number larger than the
@@ -18984,21 +19062,21 @@ type DVPortgroupConfigSpec struct {
// a fault is raised. If new ports are added to the portgroup, they
// are also added to the switch. For portgroups of type ephemeral this
// property is ignored.
- NumPorts int32 `xml:"numPorts,omitempty" json:"numPorts,omitempty" vim:"4.0"`
+ NumPorts int32 `xml:"numPorts,omitempty" json:"numPorts,omitempty"`
// Format of the name of the ports when ports are created in the portgroup.
//
// For details see `DVPortgroupConfigInfo.portNameFormat`.
- PortNameFormat string `xml:"portNameFormat,omitempty" json:"portNameFormat,omitempty" vim:"4.0"`
+ PortNameFormat string `xml:"portNameFormat,omitempty" json:"portNameFormat,omitempty"`
// Default network setting for all the ports in the portgroup.
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty" vim:"4.0"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty"`
// Description of the portgroup.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Type of portgroup.
//
// See
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroupPortgroupType_enum`
// for possible values.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Backing type of portgroup.
//
// See
@@ -19014,11 +19092,11 @@ type DVPortgroupConfigSpec struct {
// `DVPortgroupConfigInfo*.*DVPortgroupConfigInfo.scope`.
//
// Refers instances of `ManagedEntity`.
- Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope []ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty"`
// Portgroup policy.
- Policy BaseDVPortgroupPolicy `xml:"policy,omitempty,typeattr" json:"policy,omitempty" vim:"4.0"`
+ Policy BaseDVPortgroupPolicy `xml:"policy,omitempty,typeattr" json:"policy,omitempty"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// If set to true, this property ignores the limit on the number of ports in the
// portgroup.
//
@@ -19048,8 +19126,8 @@ type DVPortgroupConfigSpec struct {
}
func init() {
- minAPIVersionForType["DVPortgroupConfigSpec"] = "4.0"
t["DVPortgroupConfigSpec"] = reflect.TypeOf((*DVPortgroupConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupConfigSpec"] = "4.0"
}
// Two distributed virtual portgroup was created.
@@ -19058,8 +19136,8 @@ type DVPortgroupCreatedEvent struct {
}
func init() {
- minAPIVersionForType["DVPortgroupCreatedEvent"] = "4.0"
t["DVPortgroupCreatedEvent"] = reflect.TypeOf((*DVPortgroupCreatedEvent)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupCreatedEvent"] = "4.0"
}
// Two distributed virtual portgroup was destroyed.
@@ -19068,8 +19146,8 @@ type DVPortgroupDestroyedEvent struct {
}
func init() {
- minAPIVersionForType["DVPortgroupDestroyedEvent"] = "4.0"
t["DVPortgroupDestroyedEvent"] = reflect.TypeOf((*DVPortgroupDestroyedEvent)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupDestroyedEvent"] = "4.0"
}
// DVPortgroup related events.
@@ -19078,8 +19156,8 @@ type DVPortgroupEvent struct {
}
func init() {
- minAPIVersionForType["DVPortgroupEvent"] = "4.0"
t["DVPortgroupEvent"] = reflect.TypeOf((*DVPortgroupEvent)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupEvent"] = "4.0"
}
// The DistributedVirtualPortgroup policies.
@@ -19093,24 +19171,24 @@ type DVPortgroupPolicy struct {
// of an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- BlockOverrideAllowed bool `xml:"blockOverrideAllowed" json:"blockOverrideAllowed" vim:"4.0"`
+ BlockOverrideAllowed bool `xml:"blockOverrideAllowed" json:"blockOverrideAllowed"`
// Allow the `DVPortSetting.inShapingPolicy` or
// `DVPortSetting.outShapingPolicy` settings
// of an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- ShapingOverrideAllowed bool `xml:"shapingOverrideAllowed" json:"shapingOverrideAllowed" vim:"4.0"`
+ ShapingOverrideAllowed bool `xml:"shapingOverrideAllowed" json:"shapingOverrideAllowed"`
// Allow the `DVPortSetting.vendorSpecificConfig`
// setting of an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- VendorConfigOverrideAllowed bool `xml:"vendorConfigOverrideAllowed" json:"vendorConfigOverrideAllowed" vim:"4.0"`
+ VendorConfigOverrideAllowed bool `xml:"vendorConfigOverrideAllowed" json:"vendorConfigOverrideAllowed"`
// Allow a live port to be moved in and out of the portgroup.
- LivePortMovingAllowed bool `xml:"livePortMovingAllowed" json:"livePortMovingAllowed" vim:"4.0"`
+ LivePortMovingAllowed bool `xml:"livePortMovingAllowed" json:"livePortMovingAllowed"`
// If true, reset the port network setting back to the portgroup setting
// (thus removing the per-port setting) when the port is disconnected from
// the connectee.
- PortConfigResetAtDisconnect bool `xml:"portConfigResetAtDisconnect" json:"portConfigResetAtDisconnect" vim:"4.0"`
+ PortConfigResetAtDisconnect bool `xml:"portConfigResetAtDisconnect" json:"portConfigResetAtDisconnect"`
// Allow the setting of
// `DVPortSetting.networkResourcePoolKey` of an
// individual port to override the setting in
@@ -19126,8 +19204,8 @@ type DVPortgroupPolicy struct {
}
func init() {
- minAPIVersionForType["DVPortgroupPolicy"] = "4.0"
t["DVPortgroupPolicy"] = reflect.TypeOf((*DVPortgroupPolicy)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupPolicy"] = "4.0"
}
// Two distributed virtual portgroup was reconfigured.
@@ -19135,14 +19213,14 @@ type DVPortgroupReconfiguredEvent struct {
DVPortgroupEvent
// The reconfiguration spec.
- ConfigSpec DVPortgroupConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec DVPortgroupConfigSpec `xml:"configSpec" json:"configSpec"`
// The configuration values changed during the reconfiguration.
ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["DVPortgroupReconfiguredEvent"] = "4.0"
t["DVPortgroupReconfiguredEvent"] = reflect.TypeOf((*DVPortgroupReconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupReconfiguredEvent"] = "4.0"
}
// Two distributed virtual portgroup was renamed.
@@ -19150,21 +19228,21 @@ type DVPortgroupRenamedEvent struct {
DVPortgroupEvent
// The old portgroup name.
- OldName string `xml:"oldName" json:"oldName" vim:"4.0"`
+ OldName string `xml:"oldName" json:"oldName"`
// The new portgroup name.
- NewName string `xml:"newName" json:"newName" vim:"4.0"`
+ NewName string `xml:"newName" json:"newName"`
}
func init() {
- minAPIVersionForType["DVPortgroupRenamedEvent"] = "4.0"
t["DVPortgroupRenamedEvent"] = reflect.TypeOf((*DVPortgroupRenamedEvent)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupRenamedEvent"] = "4.0"
}
// The parameters of `DistributedVirtualPortgroup.DVPortgroupRollback_Task`.
type DVPortgroupRollbackRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The backup of Distributed Virtual PortGroup entity.
- EntityBackup *EntityBackupConfig `xml:"entityBackup,omitempty" json:"entityBackup,omitempty" vim:"5.1"`
+ EntityBackup *EntityBackupConfig `xml:"entityBackup,omitempty" json:"entityBackup,omitempty"`
}
func init() {
@@ -19186,14 +19264,14 @@ type DVPortgroupSelection struct {
SelectionSet
// vSphere Distributed Switch uuid
- DvsUuid string `xml:"dvsUuid" json:"dvsUuid" vim:"5.0"`
+ DvsUuid string `xml:"dvsUuid" json:"dvsUuid"`
// List of vNetwork Distributed Portgroup keys
- PortgroupKey []string `xml:"portgroupKey" json:"portgroupKey" vim:"5.0"`
+ PortgroupKey []string `xml:"portgroupKey" json:"portgroupKey"`
}
func init() {
- minAPIVersionForType["DVPortgroupSelection"] = "5.0"
t["DVPortgroupSelection"] = reflect.TypeOf((*DVPortgroupSelection)(nil)).Elem()
+ minAPIVersionForType["DVPortgroupSelection"] = "5.0"
}
// The `DVSBackupRestoreCapability` data object
@@ -19207,12 +19285,12 @@ type DVSBackupRestoreCapability struct {
DynamicData
// Indicates whether backup, restore, and rollback are supported.
- BackupRestoreSupported bool `xml:"backupRestoreSupported" json:"backupRestoreSupported" vim:"5.1"`
+ BackupRestoreSupported bool `xml:"backupRestoreSupported" json:"backupRestoreSupported"`
}
func init() {
- minAPIVersionForType["DVSBackupRestoreCapability"] = "5.1"
t["DVSBackupRestoreCapability"] = reflect.TypeOf((*DVSBackupRestoreCapability)(nil)).Elem()
+ minAPIVersionForType["DVSBackupRestoreCapability"] = "5.1"
}
// The `DVSCapability` data object
@@ -19224,18 +19302,18 @@ type DVSCapability struct {
// Indicates whether this switch allows vCenter users to modify
// the switch configuration at the switch level,
// except for host member, policy, and scope operations.
- DvsOperationSupported *bool `xml:"dvsOperationSupported" json:"dvsOperationSupported,omitempty" vim:"4.0"`
+ DvsOperationSupported *bool `xml:"dvsOperationSupported" json:"dvsOperationSupported,omitempty"`
// Indicates whether this switch allows vCenter users to modify
// the switch configuration at the portgroup level,
// except for host member, policy, and scope operations.
- DvPortGroupOperationSupported *bool `xml:"dvPortGroupOperationSupported" json:"dvPortGroupOperationSupported,omitempty" vim:"4.0"`
+ DvPortGroupOperationSupported *bool `xml:"dvPortGroupOperationSupported" json:"dvPortGroupOperationSupported,omitempty"`
// Indicates whether this switch allows vCenter users to modify
// the switch configuration at the port level,
// except for host member, policy, and scope operations.
- DvPortOperationSupported *bool `xml:"dvPortOperationSupported" json:"dvPortOperationSupported,omitempty" vim:"4.0"`
+ DvPortOperationSupported *bool `xml:"dvPortOperationSupported" json:"dvPortOperationSupported,omitempty"`
// List of host component product information that is compatible
// with the current switch implementation.
- CompatibleHostComponentProductInfo []DistributedVirtualSwitchHostProductSpec `xml:"compatibleHostComponentProductInfo,omitempty" json:"compatibleHostComponentProductInfo,omitempty" vim:"4.0"`
+ CompatibleHostComponentProductInfo []DistributedVirtualSwitchHostProductSpec `xml:"compatibleHostComponentProductInfo,omitempty" json:"compatibleHostComponentProductInfo,omitempty"`
// Indicators for which version-specific distributed virtual switch
// features are available on this switch.
//
@@ -19249,8 +19327,8 @@ type DVSCapability struct {
}
func init() {
- minAPIVersionForType["DVSCapability"] = "4.0"
t["DVSCapability"] = reflect.TypeOf((*DVSCapability)(nil)).Elem()
+ minAPIVersionForType["DVSCapability"] = "4.0"
}
// Configuration of a `DistributedVirtualSwitch`.
@@ -19261,21 +19339,21 @@ type DVSConfigInfo struct {
//
// Unique across vCenter Server
// inventory and instances.
- Uuid string `xml:"uuid" json:"uuid" vim:"4.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Name of the switch.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Number of standalone ports in the switch.
//
// Standalone ports are
// ports that do not belong to any portgroup.
- NumStandalonePorts int32 `xml:"numStandalonePorts" json:"numStandalonePorts" vim:"4.0"`
+ NumStandalonePorts int32 `xml:"numStandalonePorts" json:"numStandalonePorts"`
// Current number of ports, not including conflict ports.
- NumPorts int32 `xml:"numPorts" json:"numPorts" vim:"4.0"`
+ NumPorts int32 `xml:"numPorts" json:"numPorts"`
// Maximum number of ports allowed in the switch,
// not including conflict ports.
- MaxPorts int32 `xml:"maxPorts" json:"maxPorts" vim:"4.0"`
+ MaxPorts int32 `xml:"maxPorts" json:"maxPorts"`
// Uplink port policy.
- UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,typeattr" json:"uplinkPortPolicy" vim:"4.0"`
+ UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,typeattr" json:"uplinkPortPolicy"`
// List of uplink portgroups.
//
// When adding host members, the server
@@ -19285,39 +19363,39 @@ type DVSConfigInfo struct {
// evenly spread among the portgroups.
//
// Refers instances of `DistributedVirtualPortgroup`.
- UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty" json:"uplinkPortgroup,omitempty" vim:"4.0"`
+ UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty" json:"uplinkPortgroup,omitempty"`
// Default configuration for the ports in the switch, if the port
// does not inherit configuration from the parent portgroup or has
// its own configuration.
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,typeattr" json:"defaultPortConfig" vim:"4.0"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,typeattr" json:"defaultPortConfig"`
// Hosts that join the switch.
- Host []DistributedVirtualSwitchHostMember `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []DistributedVirtualSwitchHostMember `xml:"host,omitempty" json:"host,omitempty"`
// Vendor, product, and version information for the implementation
// module of the switch.
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo" vim:"4.0"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo"`
// Intended vendor, product, and version information for the
// implementation module of the switch.
- TargetInfo *DistributedVirtualSwitchProductSpec `xml:"targetInfo,omitempty" json:"targetInfo,omitempty" vim:"4.0"`
+ TargetInfo *DistributedVirtualSwitchProductSpec `xml:"targetInfo,omitempty" json:"targetInfo,omitempty"`
// Key of the extension registered by the remote server that
// controls the switch.
- ExtensionKey string `xml:"extensionKey,omitempty" json:"extensionKey,omitempty" vim:"4.0"`
+ ExtensionKey string `xml:"extensionKey,omitempty" json:"extensionKey,omitempty"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// Usage policy of the switch.
- Policy *DVSPolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"4.0"`
+ Policy *DVSPolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// Description string for the switch.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Version string of the configuration.
- ConfigVersion string `xml:"configVersion" json:"configVersion" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion" json:"configVersion"`
// Human operator contact information.
- Contact DVSContactInfo `xml:"contact" json:"contact" vim:"4.0"`
+ Contact DVSContactInfo `xml:"contact" json:"contact"`
// IP address for the switch, specified using IPv4 dot notation.
//
// The
// utility of this address is defined by other switch features.
SwitchIpAddress string `xml:"switchIpAddress,omitempty" json:"switchIpAddress,omitempty" vim:"5.0"`
// Create time of the switch.
- CreateTime time.Time `xml:"createTime" json:"createTime" vim:"4.0"`
+ CreateTime time.Time `xml:"createTime" json:"createTime"`
// Boolean to indicate if network I/O control is enabled on the
// switch.
NetworkResourceManagementEnabled *bool `xml:"networkResourceManagementEnabled" json:"networkResourceManagementEnabled,omitempty" vim:"4.1"`
@@ -19346,8 +19424,8 @@ type DVSConfigInfo struct {
}
func init() {
- minAPIVersionForType["DVSConfigInfo"] = "4.0"
t["DVSConfigInfo"] = reflect.TypeOf((*DVSConfigInfo)(nil)).Elem()
+ minAPIVersionForType["DVSConfigInfo"] = "4.0"
}
// The `DVSConfigSpec`
@@ -19367,11 +19445,11 @@ type DVSConfigSpec struct {
// and should be set to the same value as
// `DVSConfigInfo.configVersion`.
// This property is ignored during switch creation.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"4.0"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
// The name of the switch.
//
// Must be unique in the parent folder.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The number of standalone ports in the switch.
//
// Standalone ports are
@@ -19381,7 +19459,7 @@ type DVSConfigSpec struct {
// of existing standalone ports, free ports (uplink ports excluded) are
// deleted to meet the number. If the set number cannot be met by
// deleting free standalone ports, a fault is raised.
- NumStandalonePorts int32 `xml:"numStandalonePorts,omitempty" json:"numStandalonePorts,omitempty" vim:"4.0"`
+ NumStandalonePorts int32 `xml:"numStandalonePorts,omitempty" json:"numStandalonePorts,omitempty"`
// Deprecated as of vSphere API 5.0
// The default value of this propoerty is maxint and there is no reason
// for users to change it to a lower value.
@@ -19390,15 +19468,15 @@ type DVSConfigSpec struct {
//
// If specified in a reconfigure operation, this number cannot be smaller
// than the number of existing DistributedVirtualPorts.
- MaxPorts int32 `xml:"maxPorts,omitempty" json:"maxPorts,omitempty" vim:"4.0"`
+ MaxPorts int32 `xml:"maxPorts,omitempty" json:"maxPorts,omitempty"`
// The uplink port policy.
- UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,omitempty,typeattr" json:"uplinkPortPolicy,omitempty" vim:"4.0"`
+ UplinkPortPolicy BaseDVSUplinkPortPolicy `xml:"uplinkPortPolicy,omitempty,typeattr" json:"uplinkPortPolicy,omitempty"`
// The uplink portgroups.
//
// Refers instances of `DistributedVirtualPortgroup`.
- UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty" json:"uplinkPortgroup,omitempty" vim:"4.0"`
+ UplinkPortgroup []ManagedObjectReference `xml:"uplinkPortgroup,omitempty" json:"uplinkPortgroup,omitempty"`
// The default configuration for ports.
- DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty" vim:"4.0"`
+ DefaultPortConfig BaseDVPortSetting `xml:"defaultPortConfig,omitempty,typeattr" json:"defaultPortConfig,omitempty"`
// The host member specification.
//
// A particular host should have only one entry
@@ -19407,18 +19485,18 @@ type DVSConfigSpec struct {
// `DistributedVirtualSwitch`. Use
// `DistributedVirtualSwitchManager.QueryDvsCheckCompatibility`
// to check for compatibility.
- Host []DistributedVirtualSwitchHostMemberConfigSpec `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []DistributedVirtualSwitchHostMemberConfigSpec `xml:"host,omitempty" json:"host,omitempty"`
// The key of the extension registered by a remote server that
// controls the switch.
- ExtensionKey string `xml:"extensionKey,omitempty" json:"extensionKey,omitempty" vim:"4.0"`
+ ExtensionKey string `xml:"extensionKey,omitempty" json:"extensionKey,omitempty"`
// Set the description string of the switch.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The usage policy of the switch.
- Policy *DVSPolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"4.0"`
+ Policy *DVSPolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// Set the opaque blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// Set the human operator contact information.
- Contact *DVSContactInfo `xml:"contact,omitempty" json:"contact,omitempty" vim:"4.0"`
+ Contact *DVSContactInfo `xml:"contact,omitempty" json:"contact,omitempty"`
// IP address for the switch, specified using IPv4 dot notation.
//
// IPv6 address is not supported for this property.
@@ -19444,8 +19522,8 @@ type DVSConfigSpec struct {
}
func init() {
- minAPIVersionForType["DVSConfigSpec"] = "4.0"
t["DVSConfigSpec"] = reflect.TypeOf((*DVSConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DVSConfigSpec"] = "4.0"
}
// Contact information of a human operator.
@@ -19453,14 +19531,14 @@ type DVSContactInfo struct {
DynamicData
// The name of the person who is responsible for the switch.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The contact information for the person.
- Contact string `xml:"contact,omitempty" json:"contact,omitempty" vim:"4.0"`
+ Contact string `xml:"contact,omitempty" json:"contact,omitempty"`
}
func init() {
- minAPIVersionForType["DVSContactInfo"] = "4.0"
t["DVSContactInfo"] = reflect.TypeOf((*DVSContactInfo)(nil)).Elem()
+ minAPIVersionForType["DVSContactInfo"] = "4.0"
}
// Specification to create a `DistributedVirtualSwitch`.
@@ -19468,20 +19546,20 @@ type DVSCreateSpec struct {
DynamicData
// Configuration data.
- ConfigSpec BaseDVSConfigSpec `xml:"configSpec,typeattr" json:"configSpec" vim:"4.0"`
+ ConfigSpec BaseDVSConfigSpec `xml:"configSpec,typeattr" json:"configSpec"`
// Product information for this switch implementation.
//
// If you
// do not specify this property, the Server will use the latest
// version to create the `DistributedVirtualSwitch`.
- ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty" vim:"4.0"`
+ ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty"`
// Capability of the switch.
- Capability *DVSCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"4.0"`
+ Capability *DVSCapability `xml:"capability,omitempty" json:"capability,omitempty"`
}
func init() {
- minAPIVersionForType["DVSCreateSpec"] = "4.0"
t["DVSCreateSpec"] = reflect.TypeOf((*DVSCreateSpec)(nil)).Elem()
+ minAPIVersionForType["DVSCreateSpec"] = "4.0"
}
// This data object type describes the network adapter failover
@@ -19497,9 +19575,9 @@ type DVSFailureCriteria struct {
// `*speed*` is the configured minimum speed in megabits per second.
// - **empty string**: Do not use link speed to detect failure.
// `*speed*` is unused in this case.
- CheckSpeed *StringPolicy `xml:"checkSpeed,omitempty" json:"checkSpeed,omitempty" vim:"4.0"`
+ CheckSpeed *StringPolicy `xml:"checkSpeed,omitempty" json:"checkSpeed,omitempty"`
// See also `DVSFailureCriteria.checkSpeed`.
- Speed *IntPolicy `xml:"speed,omitempty" json:"speed,omitempty" vim:"4.0"`
+ Speed *IntPolicy `xml:"speed,omitempty" json:"speed,omitempty"`
// The flag to indicate whether or not to use the link duplex reported
// by the driver as link selection criteria.
//
@@ -19509,9 +19587,9 @@ type DVSFailureCriteria struct {
//
// If `*checkDuplex*` is false, then fullDuplex is unused, and
// link duplexity is not used as a detection method.
- CheckDuplex *BoolPolicy `xml:"checkDuplex,omitempty" json:"checkDuplex,omitempty" vim:"4.0"`
+ CheckDuplex *BoolPolicy `xml:"checkDuplex,omitempty" json:"checkDuplex,omitempty"`
// See also `DVSFailureCriteria.checkDuplex`.
- FullDuplex *BoolPolicy `xml:"fullDuplex,omitempty" json:"fullDuplex,omitempty" vim:"4.0"`
+ FullDuplex *BoolPolicy `xml:"fullDuplex,omitempty" json:"fullDuplex,omitempty"`
// The flag to indicate whether or not to use link error percentage
// to detect failure.
//
@@ -19521,9 +19599,9 @@ type DVSFailureCriteria struct {
//
// If `*checkErrorPercent*` is false, percentage is unused, and
// error percentage is not used as a detection method.
- CheckErrorPercent *BoolPolicy `xml:"checkErrorPercent,omitempty" json:"checkErrorPercent,omitempty" vim:"4.0"`
+ CheckErrorPercent *BoolPolicy `xml:"checkErrorPercent,omitempty" json:"checkErrorPercent,omitempty"`
// See also `DVSFailureCriteria.checkErrorPercent`.
- Percentage *IntPolicy `xml:"percentage,omitempty" json:"percentage,omitempty" vim:"4.0"`
+ Percentage *IntPolicy `xml:"percentage,omitempty" json:"percentage,omitempty"`
// The flag to indicate whether or not to enable this property to
// enable beacon probing as a method to validate
// the link status of a physical network adapter.
@@ -19532,12 +19610,12 @@ type DVSFailureCriteria struct {
// configured to use the beacon. Attempting to set `*checkBeacon*`
// on a PortGroup or VirtualSwitch that does not have beacon probing
// configured for the applicable VirtualSwitch results in an error.
- CheckBeacon *BoolPolicy `xml:"checkBeacon,omitempty" json:"checkBeacon,omitempty" vim:"4.0"`
+ CheckBeacon *BoolPolicy `xml:"checkBeacon,omitempty" json:"checkBeacon,omitempty"`
}
func init() {
- minAPIVersionForType["DVSFailureCriteria"] = "4.0"
t["DVSFailureCriteria"] = reflect.TypeOf((*DVSFailureCriteria)(nil)).Elem()
+ minAPIVersionForType["DVSFailureCriteria"] = "4.0"
}
// The `DVSFeatureCapability` data object
@@ -19555,7 +19633,7 @@ type DVSFeatureCapability struct {
//
// Indicates whether network I/O control is
// supported on the vSphere Distributed Switch.
- NetworkResourceManagementSupported bool `xml:"networkResourceManagementSupported" json:"networkResourceManagementSupported" vim:"4.1"`
+ NetworkResourceManagementSupported bool `xml:"networkResourceManagementSupported" json:"networkResourceManagementSupported"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and
// there is no replacement.
//
@@ -19572,13 +19650,13 @@ type DVSFeatureCapability struct {
//
// VMDirectPath Gen 2 is supported in
// vSphere Distributed Switch Version 4.1 or later.
- VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty" vim:"4.1"`
+ VmDirectPathGen2Supported *bool `xml:"vmDirectPathGen2Supported" json:"vmDirectPathGen2Supported,omitempty"`
// The available teaming modes for the vSphere Distributed Switch.
//
// The
// value can be one or more of
// `DistributedVirtualSwitchNicTeamingPolicyMode_enum`.
- NicTeamingPolicy []string `xml:"nicTeamingPolicy,omitempty" json:"nicTeamingPolicy,omitempty" vim:"4.1"`
+ NicTeamingPolicy []string `xml:"nicTeamingPolicy,omitempty" json:"nicTeamingPolicy,omitempty"`
// Deprecated as of vSphere API 5.0, use
// networkResourceManagementCapability
.`DVSNetworkResourceManagementCapability.networkResourcePoolHighShareValue`.
//
@@ -19590,7 +19668,7 @@ type DVSFeatureCapability struct {
// This also defines values for other level types, such as
// `normal` being one half of this value and
// `low` being one fourth of this value.
- NetworkResourcePoolHighShareValue int32 `xml:"networkResourcePoolHighShareValue,omitempty" json:"networkResourcePoolHighShareValue,omitempty" vim:"4.1"`
+ NetworkResourcePoolHighShareValue int32 `xml:"networkResourcePoolHighShareValue,omitempty" json:"networkResourcePoolHighShareValue,omitempty"`
// Network resource management capabilities supported by a
// distributed virtual switch.
NetworkResourceManagementCapability *DVSNetworkResourceManagementCapability `xml:"networkResourceManagementCapability,omitempty" json:"networkResourceManagementCapability,omitempty" vim:"5.0"`
@@ -19625,8 +19703,8 @@ type DVSFeatureCapability struct {
}
func init() {
- minAPIVersionForType["DVSFeatureCapability"] = "4.1"
t["DVSFeatureCapability"] = reflect.TypeOf((*DVSFeatureCapability)(nil)).Elem()
+ minAPIVersionForType["DVSFeatureCapability"] = "4.1"
}
// Health check capabilities of health check supported by the
@@ -19636,8 +19714,8 @@ type DVSHealthCheckCapability struct {
}
func init() {
- minAPIVersionForType["DVSHealthCheckCapability"] = "5.1"
t["DVSHealthCheckCapability"] = reflect.TypeOf((*DVSHealthCheckCapability)(nil)).Elem()
+ minAPIVersionForType["DVSHealthCheckCapability"] = "5.1"
}
// The `DVSHealthCheckConfig` data object
@@ -19646,14 +19724,14 @@ type DVSHealthCheckConfig struct {
DynamicData
// True if enable health check.
- Enable *bool `xml:"enable" json:"enable,omitempty" vim:"5.1"`
+ Enable *bool `xml:"enable" json:"enable,omitempty"`
// Interval of health check, in minutes.
- Interval int32 `xml:"interval,omitempty" json:"interval,omitempty" vim:"5.1"`
+ Interval int32 `xml:"interval,omitempty" json:"interval,omitempty"`
}
func init() {
- minAPIVersionForType["DVSHealthCheckConfig"] = "5.1"
t["DVSHealthCheckConfig"] = reflect.TypeOf((*DVSHealthCheckConfig)(nil)).Elem()
+ minAPIVersionForType["DVSHealthCheckConfig"] = "5.1"
}
// This data object type describes the information about the host local port.
@@ -19664,18 +19742,18 @@ type DVSHostLocalPortInfo struct {
DynamicData
// UUID of the vSphere Distributed Switch that management interface is connected to.
- SwitchUuid string `xml:"switchUuid" json:"switchUuid" vim:"5.1"`
+ SwitchUuid string `xml:"switchUuid" json:"switchUuid"`
// Portkey of the DVPort that management interface is now connected to.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The configuration of the new host local port.
- Setting BaseDVPortSetting `xml:"setting,typeattr" json:"setting" vim:"5.1"`
+ Setting BaseDVPortSetting `xml:"setting,typeattr" json:"setting"`
// The Virtual NIC device connected to this port
- Vnic string `xml:"vnic" json:"vnic" vim:"5.1"`
+ Vnic string `xml:"vnic" json:"vnic"`
}
func init() {
- minAPIVersionForType["DVSHostLocalPortInfo"] = "5.1"
t["DVSHostLocalPortInfo"] = reflect.TypeOf((*DVSHostLocalPortInfo)(nil)).Elem()
+ minAPIVersionForType["DVSHostLocalPortInfo"] = "5.1"
}
// This data object type describes MAC learning policy of a port.
@@ -19683,21 +19761,21 @@ type DVSMacLearningPolicy struct {
InheritablePolicy
// The flag to indicate if source MAC address learning is allowed.
- Enabled bool `xml:"enabled" json:"enabled" vim:"6.7"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// The flag to allow flooding of unlearned MAC for ingress traffic.
- AllowUnicastFlooding *bool `xml:"allowUnicastFlooding" json:"allowUnicastFlooding,omitempty" vim:"6.7"`
+ AllowUnicastFlooding *bool `xml:"allowUnicastFlooding" json:"allowUnicastFlooding,omitempty"`
// The maximum number of MAC addresses that can be learned.
- Limit *int32 `xml:"limit" json:"limit,omitempty" vim:"6.7"`
+ Limit *int32 `xml:"limit" json:"limit,omitempty"`
// The default switching policy after MAC limit is exceeded.
//
// See `DVSMacLimitPolicyType_enum`
// for valid values.
- LimitPolicy string `xml:"limitPolicy,omitempty" json:"limitPolicy,omitempty" vim:"6.7"`
+ LimitPolicy string `xml:"limitPolicy,omitempty" json:"limitPolicy,omitempty"`
}
func init() {
- minAPIVersionForType["DVSMacLearningPolicy"] = "6.7"
t["DVSMacLearningPolicy"] = reflect.TypeOf((*DVSMacLearningPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSMacLearningPolicy"] = "6.7"
}
// This data object type describes MAC management policy of a port.
@@ -19706,21 +19784,21 @@ type DVSMacManagementPolicy struct {
// The flag to indicate whether or not all traffic is seen
// on the port.
- AllowPromiscuous *bool `xml:"allowPromiscuous" json:"allowPromiscuous,omitempty" vim:"6.7"`
+ AllowPromiscuous *bool `xml:"allowPromiscuous" json:"allowPromiscuous,omitempty"`
// The flag to indicate whether or not the Media Access
// Control (MAC) address can be changed.
- MacChanges *bool `xml:"macChanges" json:"macChanges,omitempty" vim:"6.7"`
+ MacChanges *bool `xml:"macChanges" json:"macChanges,omitempty"`
// The flag to indicate whether or not the virtual network adapter
// should be allowed to send network traffic with a different MAC
// address than that of the virtual network adapter.
- ForgedTransmits *bool `xml:"forgedTransmits" json:"forgedTransmits,omitempty" vim:"6.7"`
+ ForgedTransmits *bool `xml:"forgedTransmits" json:"forgedTransmits,omitempty"`
// The MAC learning policy.
- MacLearningPolicy *DVSMacLearningPolicy `xml:"macLearningPolicy,omitempty" json:"macLearningPolicy,omitempty" vim:"6.7"`
+ MacLearningPolicy *DVSMacLearningPolicy `xml:"macLearningPolicy,omitempty" json:"macLearningPolicy,omitempty"`
}
func init() {
- minAPIVersionForType["DVSMacManagementPolicy"] = "6.7"
t["DVSMacManagementPolicy"] = reflect.TypeOf((*DVSMacManagementPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSMacManagementPolicy"] = "6.7"
}
// Configuration specification for a DistributedVirtualSwitch or
@@ -19729,14 +19807,14 @@ type DVSManagerDvsConfigTarget struct {
DynamicData
// List of any DistributedVirtualPortgroup available for host Virtual NIC connection.
- DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty" vim:"4.0"`
+ DistributedVirtualPortgroup []DistributedVirtualPortgroupInfo `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty"`
// List of any DistributedVirtualSwitch available for host Virtual NIC connection.
- DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty" vim:"4.0"`
+ DistributedVirtualSwitch []DistributedVirtualSwitchInfo `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty"`
}
func init() {
- minAPIVersionForType["DVSManagerDvsConfigTarget"] = "4.0"
t["DVSManagerDvsConfigTarget"] = reflect.TypeOf((*DVSManagerDvsConfigTarget)(nil)).Elem()
+ minAPIVersionForType["DVSManagerDvsConfigTarget"] = "4.0"
}
// The parameters of `DistributedVirtualSwitchManager.DVSManagerExportEntity_Task`.
@@ -19744,7 +19822,7 @@ type DVSManagerExportEntityRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The selection criteria for a set of
// entities to export the configuration.
- SelectionSet []BaseSelectionSet `xml:"selectionSet,typeattr" json:"selectionSet" vim:"5.0"`
+ SelectionSet []BaseSelectionSet `xml:"selectionSet,typeattr" json:"selectionSet"`
}
func init() {
@@ -19767,7 +19845,7 @@ type DVSManagerImportEntityRequestType struct {
// Configuration of one or more entities to be imported.
// The entity backup configuration is returned
// by the `DistributedVirtualSwitchManager.DVSManagerExportEntity_Task` method.
- EntityBackup []EntityBackupConfig `xml:"entityBackup" json:"entityBackup" vim:"5.1"`
+ EntityBackup []EntityBackupConfig `xml:"entityBackup" json:"entityBackup"`
// Specifies whether to create a new configuration
// or restore a previous configuration. See `EntityImportType_enum` for valid values.
ImportType string `xml:"importType" json:"importType"`
@@ -19821,6 +19899,7 @@ type DVSManagerPhysicalNicsList struct {
func init() {
t["DVSManagerPhysicalNicsList"] = reflect.TypeOf((*DVSManagerPhysicalNicsList)(nil)).Elem()
+ minAPIVersionForType["DVSManagerPhysicalNicsList"] = "8.0.0.1"
}
// The uplink port policy specifies an array of uniform names
@@ -19844,12 +19923,12 @@ type DVSNameArrayUplinkPortPolicy struct {
DVSUplinkPortPolicy
// The uniform name of uplink ports on each host.
- UplinkPortName []string `xml:"uplinkPortName" json:"uplinkPortName" vim:"4.0"`
+ UplinkPortName []string `xml:"uplinkPortName" json:"uplinkPortName"`
}
func init() {
- minAPIVersionForType["DVSNameArrayUplinkPortPolicy"] = "4.0"
t["DVSNameArrayUplinkPortPolicy"] = reflect.TypeOf((*DVSNameArrayUplinkPortPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSNameArrayUplinkPortPolicy"] = "4.0"
}
// Dataobject representing the feature capabilities of network resource management
@@ -19862,7 +19941,7 @@ type DVSNetworkResourceManagementCapability struct {
//
// Network I/O control
// is supported in vSphere Distributed Switch Version 4.1 or later.
- NetworkResourceManagementSupported bool `xml:"networkResourceManagementSupported" json:"networkResourceManagementSupported" vim:"5.0"`
+ NetworkResourceManagementSupported bool `xml:"networkResourceManagementSupported" json:"networkResourceManagementSupported"`
// High share level (`SharesLevel_enum*.*high`)
// for `DVSNetworkResourcePoolAllocationInfo*.*DVSNetworkResourcePoolAllocationInfo.shares`.
//
@@ -19873,19 +19952,19 @@ type DVSNetworkResourceManagementCapability struct {
// `low` being one fourth of this value.
// This feature is supported in vSphere Distributed
// Switch Version 4.1 or later.
- NetworkResourcePoolHighShareValue int32 `xml:"networkResourcePoolHighShareValue" json:"networkResourcePoolHighShareValue" vim:"5.0"`
+ NetworkResourcePoolHighShareValue int32 `xml:"networkResourcePoolHighShareValue" json:"networkResourcePoolHighShareValue"`
// Indicates whether Qos Tag(802.1p priority tag)is supported on the
// vSphere Distributed Switch.
//
// Qos Tag is supported in vSphere
// Distributed Switch Version 5.0 or later.
- QosSupported bool `xml:"qosSupported" json:"qosSupported" vim:"5.0"`
+ QosSupported bool `xml:"qosSupported" json:"qosSupported"`
// Indicates whether the switch supports creating user defined resource
// pools.
//
// This feature is supported in vSphere Distributed
// Switch Version 5.0 or later.
- UserDefinedNetworkResourcePoolsSupported bool `xml:"userDefinedNetworkResourcePoolsSupported" json:"userDefinedNetworkResourcePoolsSupported" vim:"5.0"`
+ UserDefinedNetworkResourcePoolsSupported bool `xml:"userDefinedNetworkResourcePoolsSupported" json:"userDefinedNetworkResourcePoolsSupported"`
// Flag to indicate whether Network Resource Control version 3 is supported.
//
// The API supported by Network Resouce Control version 3 include:
@@ -19904,8 +19983,8 @@ type DVSNetworkResourceManagementCapability struct {
}
func init() {
- minAPIVersionForType["DVSNetworkResourceManagementCapability"] = "5.0"
t["DVSNetworkResourceManagementCapability"] = reflect.TypeOf((*DVSNetworkResourceManagementCapability)(nil)).Elem()
+ minAPIVersionForType["DVSNetworkResourceManagementCapability"] = "5.0"
}
// Deprecated as of vSphere API 6.0
@@ -19921,20 +20000,20 @@ type DVSNetworkResourcePool struct {
DynamicData
// Key of the network resource pool.
- Key string `xml:"key" json:"key" vim:"4.1"`
+ Key string `xml:"key" json:"key"`
// Name of the network resource pool.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.1"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Description of the network resource pool.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.1"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Configuration version for the network resource pool.
- ConfigVersion string `xml:"configVersion" json:"configVersion" vim:"4.1"`
+ ConfigVersion string `xml:"configVersion" json:"configVersion"`
// Resource settings of the resource pool.
- AllocationInfo DVSNetworkResourcePoolAllocationInfo `xml:"allocationInfo" json:"allocationInfo" vim:"4.1"`
+ AllocationInfo DVSNetworkResourcePoolAllocationInfo `xml:"allocationInfo" json:"allocationInfo"`
}
func init() {
- minAPIVersionForType["DVSNetworkResourcePool"] = "4.1"
t["DVSNetworkResourcePool"] = reflect.TypeOf((*DVSNetworkResourcePool)(nil)).Elem()
+ minAPIVersionForType["DVSNetworkResourcePool"] = "4.1"
}
// Resource allocation information for a network resource pool.
@@ -19954,7 +20033,7 @@ type DVSNetworkResourcePoolAllocationInfo struct {
// allocation information of a network resource pool indicates that
// there is no limit on the network resource usage for the clients
// belonging to this resource group.
- Limit *int64 `xml:"limit" json:"limit,omitempty" vim:"4.1"`
+ Limit *int64 `xml:"limit" json:"limit,omitempty"`
// Share settings associated with the network resource pool to
// facilitate proportional sharing of the physical network resources.
//
@@ -19962,7 +20041,7 @@ type DVSNetworkResourcePoolAllocationInfo struct {
// resource pool, it is treated as unset and the property is not updated.
// The property is always set when reading back the allocation
// information of a network resource pool.
- Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty" vim:"4.1"`
+ Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty"`
// 802.1p tag to be used for this resource pool.
//
// The tag is a priority value
@@ -19971,8 +20050,8 @@ type DVSNetworkResourcePoolAllocationInfo struct {
}
func init() {
- minAPIVersionForType["DVSNetworkResourcePoolAllocationInfo"] = "4.1"
t["DVSNetworkResourcePoolAllocationInfo"] = reflect.TypeOf((*DVSNetworkResourcePoolAllocationInfo)(nil)).Elem()
+ minAPIVersionForType["DVSNetworkResourcePoolAllocationInfo"] = "4.1"
}
// The `DVSNetworkResourcePoolConfigSpec` data object
@@ -19986,7 +20065,7 @@ type DVSNetworkResourcePoolConfigSpec struct {
// The property is ignored for
// `DistributedVirtualSwitch*.*DistributedVirtualSwitch.AddNetworkResourcePool`
// operations.
- Key string `xml:"key" json:"key" vim:"4.1"`
+ Key string `xml:"key" json:"key"`
// Unique identifier for a given version
// of the configuration.
//
@@ -20003,9 +20082,9 @@ type DVSNetworkResourcePoolConfigSpec struct {
// that may have occurred between the time when the client
// reads `DVSNetworkResourcePool.configVersion`
// and when the configuration is applied.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"4.1"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
// Network resource allocation for the network resource pool.
- AllocationInfo *DVSNetworkResourcePoolAllocationInfo `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty" vim:"4.1"`
+ AllocationInfo *DVSNetworkResourcePoolAllocationInfo `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty"`
// User defined name for the resource pool.
//
// The property is required for
@@ -20017,8 +20096,8 @@ type DVSNetworkResourcePoolConfigSpec struct {
}
func init() {
- minAPIVersionForType["DVSNetworkResourcePoolConfigSpec"] = "4.1"
t["DVSNetworkResourcePoolConfigSpec"] = reflect.TypeOf((*DVSNetworkResourcePoolConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DVSNetworkResourcePoolConfigSpec"] = "4.1"
}
// The switch usage policy types
@@ -20027,22 +20106,22 @@ type DVSPolicy struct {
// Whether downloading a new proxy VirtualSwitch module to the host is
// allowed to be automatically executed by the switch.
- AutoPreInstallAllowed *bool `xml:"autoPreInstallAllowed" json:"autoPreInstallAllowed,omitempty" vim:"4.0"`
+ AutoPreInstallAllowed *bool `xml:"autoPreInstallAllowed" json:"autoPreInstallAllowed,omitempty"`
// Whether upgrading of the switch is allowed to be automatically
// executed by the switch.
- AutoUpgradeAllowed *bool `xml:"autoUpgradeAllowed" json:"autoUpgradeAllowed,omitempty" vim:"4.0"`
+ AutoUpgradeAllowed *bool `xml:"autoUpgradeAllowed" json:"autoUpgradeAllowed,omitempty"`
// Whether to allow upgrading a switch when some of the hosts failed to
// install the needed module.
//
// The vCenter Server will reattempt the
// pre-install operation of the host module on those failed hosts,
// whenever they reconnect to vCenter.
- PartialUpgradeAllowed *bool `xml:"partialUpgradeAllowed" json:"partialUpgradeAllowed,omitempty" vim:"4.0"`
+ PartialUpgradeAllowed *bool `xml:"partialUpgradeAllowed" json:"partialUpgradeAllowed,omitempty"`
}
func init() {
- minAPIVersionForType["DVSPolicy"] = "4.0"
t["DVSPolicy"] = reflect.TypeOf((*DVSPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSPolicy"] = "4.0"
}
// The `DVSRollbackCapability` data object
@@ -20051,12 +20130,12 @@ type DVSRollbackCapability struct {
DynamicData
// Indicates whether rollback is supported on the distributed switch.
- RollbackSupported bool `xml:"rollbackSupported" json:"rollbackSupported" vim:"5.1"`
+ RollbackSupported bool `xml:"rollbackSupported" json:"rollbackSupported"`
}
func init() {
- minAPIVersionForType["DVSRollbackCapability"] = "5.1"
t["DVSRollbackCapability"] = reflect.TypeOf((*DVSRollbackCapability)(nil)).Elem()
+ minAPIVersionForType["DVSRollbackCapability"] = "5.1"
}
// The parameters of `DistributedVirtualSwitch.DVSRollback_Task`.
@@ -20065,7 +20144,7 @@ type DVSRollbackRequestType struct {
// Backup of a distributed virtual switch, returned by
// the `DistributedVirtualSwitchManager.DVSManagerExportEntity_Task`
// method.
- EntityBackup *EntityBackupConfig `xml:"entityBackup,omitempty" json:"entityBackup,omitempty" vim:"5.1"`
+ EntityBackup *EntityBackupConfig `xml:"entityBackup,omitempty" json:"entityBackup,omitempty"`
}
func init() {
@@ -20088,14 +20167,14 @@ type DVSRuntimeInfo struct {
DynamicData
// Runtime information of the hosts that joined the switch.
- HostMemberRuntime []HostMemberRuntimeInfo `xml:"hostMemberRuntime,omitempty" json:"hostMemberRuntime,omitempty" vim:"5.1"`
+ HostMemberRuntime []HostMemberRuntimeInfo `xml:"hostMemberRuntime,omitempty" json:"hostMemberRuntime,omitempty"`
// The bandwidth reservation information for the switch.
ResourceRuntimeInfo *DvsResourceRuntimeInfo `xml:"resourceRuntimeInfo,omitempty" json:"resourceRuntimeInfo,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["DVSRuntimeInfo"] = "5.1"
t["DVSRuntimeInfo"] = reflect.TypeOf((*DVSRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["DVSRuntimeInfo"] = "5.1"
}
// This data object type describes security policy governing ports.
@@ -20104,19 +20183,19 @@ type DVSSecurityPolicy struct {
// The flag to indicate whether or not all traffic is seen
// on the port.
- AllowPromiscuous *BoolPolicy `xml:"allowPromiscuous,omitempty" json:"allowPromiscuous,omitempty" vim:"4.0"`
+ AllowPromiscuous *BoolPolicy `xml:"allowPromiscuous,omitempty" json:"allowPromiscuous,omitempty"`
// The flag to indicate whether or not the Media Access
// Control (MAC) address can be changed.
- MacChanges *BoolPolicy `xml:"macChanges,omitempty" json:"macChanges,omitempty" vim:"4.0"`
+ MacChanges *BoolPolicy `xml:"macChanges,omitempty" json:"macChanges,omitempty"`
// The flag to indicate whether or not the virtual network adapter
// should be allowed to send network traffic with a different MAC
// address than that of the virtual network adapter.
- ForgedTransmits *BoolPolicy `xml:"forgedTransmits,omitempty" json:"forgedTransmits,omitempty" vim:"4.0"`
+ ForgedTransmits *BoolPolicy `xml:"forgedTransmits,omitempty" json:"forgedTransmits,omitempty"`
}
func init() {
- minAPIVersionForType["DVSSecurityPolicy"] = "4.0"
t["DVSSecurityPolicy"] = reflect.TypeOf((*DVSSecurityPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSSecurityPolicy"] = "4.0"
}
// Class to specify selection criteria of vSphere Distributed Switch.
@@ -20124,12 +20203,12 @@ type DVSSelection struct {
SelectionSet
// vSphere Distributed Switch uuid
- DvsUuid string `xml:"dvsUuid" json:"dvsUuid" vim:"5.0"`
+ DvsUuid string `xml:"dvsUuid" json:"dvsUuid"`
}
func init() {
- minAPIVersionForType["DVSSelection"] = "5.0"
t["DVSSelection"] = reflect.TypeOf((*DVSSelection)(nil)).Elem()
+ minAPIVersionForType["DVSSelection"] = "5.0"
}
// Summary of the distributed switch configuration.
@@ -20137,17 +20216,17 @@ type DVSSummary struct {
DynamicData
// The name of the switch.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The generated UUID of the switch.
- Uuid string `xml:"uuid" json:"uuid" vim:"4.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Current number of ports, not including conflict ports.
- NumPorts int32 `xml:"numPorts" json:"numPorts" vim:"4.0"`
+ NumPorts int32 `xml:"numPorts" json:"numPorts"`
// The product information for the implementation of the switch.
- ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty" vim:"4.0"`
+ ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty"`
// The names of the hosts that join the switch.
//
// Refers instances of `HostSystem`.
- HostMember []ManagedObjectReference `xml:"hostMember,omitempty" json:"hostMember,omitempty" vim:"4.0"`
+ HostMember []ManagedObjectReference `xml:"hostMember,omitempty" json:"hostMember,omitempty"`
// The Virtual Machines with Virtual NICs that connect to the switch.
//
// In releases after vSphere API 5.0, vSphere Servers might not
@@ -20162,17 +20241,17 @@ type DVSSummary struct {
// version parameter, the value for this property may not be current.
//
// Refers instances of `VirtualMachine`.
- Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"4.0"`
+ Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The hosts with Virtual NICs that connect to the switch.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The names of the portgroups that are defined on the switch.
- PortgroupName []string `xml:"portgroupName,omitempty" json:"portgroupName,omitempty" vim:"4.0"`
+ PortgroupName []string `xml:"portgroupName,omitempty" json:"portgroupName,omitempty"`
// A description string of the switch.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The human operator contact information.
- Contact *DVSContactInfo `xml:"contact,omitempty" json:"contact,omitempty" vim:"4.0"`
+ Contact *DVSContactInfo `xml:"contact,omitempty" json:"contact,omitempty"`
// The number of hosts in the switch.
//
// The value of this property
@@ -20181,8 +20260,8 @@ type DVSSummary struct {
}
func init() {
- minAPIVersionForType["DVSSummary"] = "4.0"
t["DVSSummary"] = reflect.TypeOf((*DVSSummary)(nil)).Elem()
+ minAPIVersionForType["DVSSummary"] = "4.0"
}
// This data object type describes traffic shaping policy.
@@ -20191,21 +20270,21 @@ type DVSTrafficShapingPolicy struct {
// The flag to indicate whether or not traffic shaper is enabled on
// the port.
- Enabled *BoolPolicy `xml:"enabled,omitempty" json:"enabled,omitempty" vim:"4.0"`
+ Enabled *BoolPolicy `xml:"enabled,omitempty" json:"enabled,omitempty"`
// The average bandwidth in bits per second if shaping is enabled on
// the port.
- AverageBandwidth *LongPolicy `xml:"averageBandwidth,omitempty" json:"averageBandwidth,omitempty" vim:"4.0"`
+ AverageBandwidth *LongPolicy `xml:"averageBandwidth,omitempty" json:"averageBandwidth,omitempty"`
// The peak bandwidth during bursts in bits per second if traffic
// shaping is enabled on the port.
- PeakBandwidth *LongPolicy `xml:"peakBandwidth,omitempty" json:"peakBandwidth,omitempty" vim:"4.0"`
+ PeakBandwidth *LongPolicy `xml:"peakBandwidth,omitempty" json:"peakBandwidth,omitempty"`
// The maximum burst size allowed in bytes if shaping is enabled on
// the port.
- BurstSize *LongPolicy `xml:"burstSize,omitempty" json:"burstSize,omitempty" vim:"4.0"`
+ BurstSize *LongPolicy `xml:"burstSize,omitempty" json:"burstSize,omitempty"`
}
func init() {
- minAPIVersionForType["DVSTrafficShapingPolicy"] = "4.0"
t["DVSTrafficShapingPolicy"] = reflect.TypeOf((*DVSTrafficShapingPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSTrafficShapingPolicy"] = "4.0"
}
// The base class for uplink port policy.
@@ -20214,8 +20293,8 @@ type DVSUplinkPortPolicy struct {
}
func init() {
- minAPIVersionForType["DVSUplinkPortPolicy"] = "4.0"
t["DVSUplinkPortPolicy"] = reflect.TypeOf((*DVSUplinkPortPolicy)(nil)).Elem()
+ minAPIVersionForType["DVSUplinkPortPolicy"] = "4.0"
}
// This data object type describes vendor specific configuration.
@@ -20223,12 +20302,12 @@ type DVSVendorSpecificConfig struct {
InheritablePolicy
// An opaque binary blob that stores vendor specific configuration.
- KeyValue []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"keyValue,omitempty" json:"keyValue,omitempty" vim:"4.0"`
+ KeyValue []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"keyValue,omitempty" json:"keyValue,omitempty"`
}
func init() {
- minAPIVersionForType["DVSVendorSpecificConfig"] = "4.0"
t["DVSVendorSpecificConfig"] = reflect.TypeOf((*DVSVendorSpecificConfig)(nil)).Elem()
+ minAPIVersionForType["DVSVendorSpecificConfig"] = "4.0"
}
// DataObject describing the resource configuration and management of
@@ -20237,20 +20316,20 @@ type DVSVmVnicNetworkResourcePool struct {
DynamicData
// The key of the virtual NIC network resource pool.
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// The name of the virtual NIC network resource pool.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"6.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The description of the virtual NIC network resource pool.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"6.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The config version for the virtual NIC network resource pool.
- ConfigVersion string `xml:"configVersion" json:"configVersion" vim:"6.0"`
+ ConfigVersion string `xml:"configVersion" json:"configVersion"`
// The resource settings of the virtual NIC network resource pool.
- AllocationInfo *DvsVmVnicResourceAllocation `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty" vim:"6.0"`
+ AllocationInfo *DvsVmVnicResourceAllocation `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty"`
}
func init() {
- minAPIVersionForType["DVSVmVnicNetworkResourcePool"] = "6.0"
t["DVSVmVnicNetworkResourcePool"] = reflect.TypeOf((*DVSVmVnicNetworkResourcePool)(nil)).Elem()
+ minAPIVersionForType["DVSVmVnicNetworkResourcePool"] = "6.0"
}
// The `DailyTaskScheduler` data object sets the time for daily
@@ -20340,8 +20419,8 @@ type DasClusterIsolatedEvent struct {
}
func init() {
- minAPIVersionForType["DasClusterIsolatedEvent"] = "4.0"
t["DasClusterIsolatedEvent"] = reflect.TypeOf((*DasClusterIsolatedEvent)(nil)).Elem()
+ minAPIVersionForType["DasClusterIsolatedEvent"] = "4.0"
}
// This fault indicates that some error has occurred during the
@@ -20398,8 +20477,8 @@ type DasHeartbeatDatastoreInfo struct {
}
func init() {
- minAPIVersionForType["DasHeartbeatDatastoreInfo"] = "5.0"
t["DasHeartbeatDatastoreInfo"] = reflect.TypeOf((*DasHeartbeatDatastoreInfo)(nil)).Elem()
+ minAPIVersionForType["DasHeartbeatDatastoreInfo"] = "5.0"
}
// This event records when a host failure has been detected by HA.
@@ -20458,12 +20537,12 @@ type DatabaseSizeEstimate struct {
DynamicData
// The estimated size required in MB
- Size int64 `xml:"size" json:"size" vim:"4.0"`
+ Size int64 `xml:"size" json:"size"`
}
func init() {
- minAPIVersionForType["DatabaseSizeEstimate"] = "4.0"
t["DatabaseSizeEstimate"] = reflect.TypeOf((*DatabaseSizeEstimate)(nil)).Elem()
+ minAPIVersionForType["DatabaseSizeEstimate"] = "4.0"
}
// DatabaseSizeParam contains information about a sample inventory.
@@ -20481,15 +20560,15 @@ type DatabaseSizeParam struct {
DynamicData
// Object to capture inventory description
- InventoryDesc InventoryDescription `xml:"inventoryDesc" json:"inventoryDesc" vim:"4.0"`
+ InventoryDesc InventoryDescription `xml:"inventoryDesc" json:"inventoryDesc"`
// Object to capture performance statistics
// related parameters
- PerfStatsDesc *PerformanceStatisticsDescription `xml:"perfStatsDesc,omitempty" json:"perfStatsDesc,omitempty" vim:"4.0"`
+ PerfStatsDesc *PerformanceStatisticsDescription `xml:"perfStatsDesc,omitempty" json:"perfStatsDesc,omitempty"`
}
func init() {
- minAPIVersionForType["DatabaseSizeParam"] = "4.0"
t["DatabaseSizeParam"] = reflect.TypeOf((*DatabaseSizeParam)(nil)).Elem()
+ minAPIVersionForType["DatabaseSizeParam"] = "4.0"
}
// BasicConnectInfo consists of essential information about the host.
@@ -20501,30 +20580,30 @@ type DatacenterBasicConnectInfo struct {
DynamicData
// Target host.
- Hostname string `xml:"hostname,omitempty" json:"hostname,omitempty" vim:"6.7.1"`
+ Hostname string `xml:"hostname,omitempty" json:"hostname,omitempty"`
// Error encountered while querying the host.
//
// See
// `Datacenter.QueryConnectionInfo` for the list of exceptions which can
// be represented here.
- Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"6.7.1"`
+ Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
// IP address of the VirtualCenter already managing this host, if any.
- ServerIp string `xml:"serverIp,omitempty" json:"serverIp,omitempty" vim:"6.7.1"`
+ ServerIp string `xml:"serverIp,omitempty" json:"serverIp,omitempty"`
// Specifies the number of VMs on the host.
- NumVm int32 `xml:"numVm,omitempty" json:"numVm,omitempty" vim:"6.7.1"`
+ NumVm int32 `xml:"numVm,omitempty" json:"numVm,omitempty"`
// Specifies the number of powered-on VMs on the host.
- NumPoweredOnVm int32 `xml:"numPoweredOnVm,omitempty" json:"numPoweredOnVm,omitempty" vim:"6.7.1"`
+ NumPoweredOnVm int32 `xml:"numPoweredOnVm,omitempty" json:"numPoweredOnVm,omitempty"`
// Information about the software running on the host.
- HostProductInfo *AboutInfo `xml:"hostProductInfo,omitempty" json:"hostProductInfo,omitempty" vim:"6.7.1"`
+ HostProductInfo *AboutInfo `xml:"hostProductInfo,omitempty" json:"hostProductInfo,omitempty"`
// Hardware vendor identification.
- HardwareVendor string `xml:"hardwareVendor,omitempty" json:"hardwareVendor,omitempty" vim:"6.7.1"`
+ HardwareVendor string `xml:"hardwareVendor,omitempty" json:"hardwareVendor,omitempty"`
// System model identification.
- HardwareModel string `xml:"hardwareModel,omitempty" json:"hardwareModel,omitempty" vim:"6.7.1"`
+ HardwareModel string `xml:"hardwareModel,omitempty" json:"hardwareModel,omitempty"`
}
func init() {
- minAPIVersionForType["DatacenterBasicConnectInfo"] = "6.7.1"
t["DatacenterBasicConnectInfo"] = reflect.TypeOf((*DatacenterBasicConnectInfo)(nil)).Elem()
+ minAPIVersionForType["DatacenterBasicConnectInfo"] = "6.7.1"
}
// Configuration of the datacenter.
@@ -20538,7 +20617,7 @@ type DatacenterConfigInfo struct {
// `VirtualMachineConfigOptionDescriptor.defaultConfigOption` returned
// by `ComputeResource.environmentBrowser` of all its children
// with this field unset.
- DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty" vim:"5.1"`
+ DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty"`
// Key for Maximum Hardware Version used on this datacenter
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -20550,8 +20629,8 @@ type DatacenterConfigInfo struct {
}
func init() {
- minAPIVersionForType["DatacenterConfigInfo"] = "5.1"
t["DatacenterConfigInfo"] = reflect.TypeOf((*DatacenterConfigInfo)(nil)).Elem()
+ minAPIVersionForType["DatacenterConfigInfo"] = "5.1"
}
// Changes to apply to the datacenter configuration.
@@ -20565,7 +20644,7 @@ type DatacenterConfigSpec struct {
// `VirtualMachineConfigOptionDescriptor.defaultConfigOption` returned
// by `ComputeResource.environmentBrowser` of all its children
// with this field unset.
- DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty" vim:"5.1"`
+ DefaultHardwareVersionKey string `xml:"defaultHardwareVersionKey,omitempty" json:"defaultHardwareVersionKey,omitempty"`
// Key for Maximum Hardware Version to be used on this datacenter
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
//
@@ -20577,15 +20656,15 @@ type DatacenterConfigSpec struct {
}
func init() {
- minAPIVersionForType["DatacenterConfigSpec"] = "5.1"
t["DatacenterConfigSpec"] = reflect.TypeOf((*DatacenterConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DatacenterConfigSpec"] = "5.1"
}
type DatacenterCreatedEvent struct {
DatacenterEvent
// The folder where the datacenter is created.
- Parent FolderEventArgument `xml:"parent" json:"parent" vim:"2.5"`
+ Parent FolderEventArgument `xml:"parent" json:"parent"`
}
func init() {
@@ -20598,8 +20677,8 @@ type DatacenterEvent struct {
}
func init() {
- minAPIVersionForType["DatacenterEvent"] = "2.5"
t["DatacenterEvent"] = reflect.TypeOf((*DatacenterEvent)(nil)).Elem()
+ minAPIVersionForType["DatacenterEvent"] = "2.5"
}
// The event argument is a Datacenter object.
@@ -20661,9 +20740,9 @@ type DatacenterRenamedEvent struct {
DatacenterEvent
// The old datacenter name.
- OldName string `xml:"oldName" json:"oldName" vim:"2.5"`
+ OldName string `xml:"oldName" json:"oldName"`
// The new datacenter name.
- NewName string `xml:"newName" json:"newName" vim:"2.5"`
+ NewName string `xml:"newName" json:"newName"`
}
func init() {
@@ -20733,14 +20812,14 @@ type DatastoreCapacityIncreasedEvent struct {
DatastoreEvent
// The old datastore capacity.
- OldCapacity int64 `xml:"oldCapacity" json:"oldCapacity" vim:"4.0"`
+ OldCapacity int64 `xml:"oldCapacity" json:"oldCapacity"`
// The new datastore capacity.
- NewCapacity int64 `xml:"newCapacity" json:"newCapacity" vim:"4.0"`
+ NewCapacity int64 `xml:"newCapacity" json:"newCapacity"`
}
func init() {
- minAPIVersionForType["DatastoreCapacityIncreasedEvent"] = "4.0"
t["DatastoreCapacityIncreasedEvent"] = reflect.TypeOf((*DatastoreCapacityIncreasedEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreCapacityIncreasedEvent"] = "4.0"
}
// This event records when a datastore is removed from VirtualCenter.
@@ -20844,14 +20923,14 @@ type DatastoreFileCopiedEvent struct {
DatastoreFileEvent
// Source datastore.
- SourceDatastore DatastoreEventArgument `xml:"sourceDatastore" json:"sourceDatastore" vim:"4.0"`
+ SourceDatastore DatastoreEventArgument `xml:"sourceDatastore" json:"sourceDatastore"`
// Datastore path of the source file or directory.
- SourceFile string `xml:"sourceFile" json:"sourceFile" vim:"4.0"`
+ SourceFile string `xml:"sourceFile" json:"sourceFile"`
}
func init() {
- minAPIVersionForType["DatastoreFileCopiedEvent"] = "4.0"
t["DatastoreFileCopiedEvent"] = reflect.TypeOf((*DatastoreFileCopiedEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreFileCopiedEvent"] = "4.0"
}
// This event records deletion of a file or directory.
@@ -20860,8 +20939,8 @@ type DatastoreFileDeletedEvent struct {
}
func init() {
- minAPIVersionForType["DatastoreFileDeletedEvent"] = "4.0"
t["DatastoreFileDeletedEvent"] = reflect.TypeOf((*DatastoreFileDeletedEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreFileDeletedEvent"] = "4.0"
}
// Base class for events related to datastore file and directory
@@ -20874,7 +20953,7 @@ type DatastoreFileEvent struct {
DatastoreEvent
// Datastore path of the target file or directory.
- TargetFile string `xml:"targetFile" json:"targetFile" vim:"4.0"`
+ TargetFile string `xml:"targetFile" json:"targetFile"`
// Identifier of the initiator of the file operation.
SourceOfOperation string `xml:"sourceOfOperation,omitempty" json:"sourceOfOperation,omitempty" vim:"6.5"`
// Indicator whether the datastore file operation succeeded.
@@ -20882,8 +20961,8 @@ type DatastoreFileEvent struct {
}
func init() {
- minAPIVersionForType["DatastoreFileEvent"] = "4.0"
t["DatastoreFileEvent"] = reflect.TypeOf((*DatastoreFileEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreFileEvent"] = "4.0"
}
// This event records move of a file or directory.
@@ -20891,14 +20970,14 @@ type DatastoreFileMovedEvent struct {
DatastoreFileEvent
// Source datastore.
- SourceDatastore DatastoreEventArgument `xml:"sourceDatastore" json:"sourceDatastore" vim:"4.0"`
+ SourceDatastore DatastoreEventArgument `xml:"sourceDatastore" json:"sourceDatastore"`
// Datastore path of the source file or directory.
- SourceFile string `xml:"sourceFile" json:"sourceFile" vim:"4.0"`
+ SourceFile string `xml:"sourceFile" json:"sourceFile"`
}
func init() {
- minAPIVersionForType["DatastoreFileMovedEvent"] = "4.0"
t["DatastoreFileMovedEvent"] = reflect.TypeOf((*DatastoreFileMovedEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreFileMovedEvent"] = "4.0"
}
// Host-specific datastore information.
@@ -20924,8 +21003,8 @@ type DatastoreIORMReconfiguredEvent struct {
}
func init() {
- minAPIVersionForType["DatastoreIORMReconfiguredEvent"] = "4.1"
t["DatastoreIORMReconfiguredEvent"] = reflect.TypeOf((*DatastoreIORMReconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["DatastoreIORMReconfiguredEvent"] = "4.1"
}
// Detailed information about a datastore.
@@ -20978,16 +21057,16 @@ type DatastoreMountPathDatastorePair struct {
// Old file path where file system volume is mounted, which
// should be `path` value in
// `HostMountInfo`
- OldMountPath string `xml:"oldMountPath" json:"oldMountPath" vim:"4.1"`
+ OldMountPath string `xml:"oldMountPath" json:"oldMountPath"`
// The resignatured or remounted datastore corresponding to the oldMountPath
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"4.1"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["DatastoreMountPathDatastorePair"] = "4.1"
t["DatastoreMountPathDatastorePair"] = reflect.TypeOf((*DatastoreMountPathDatastorePair)(nil)).Elem()
+ minAPIVersionForType["DatastoreMountPathDatastorePair"] = "4.1"
}
type DatastoreNamespaceManagerDirectoryInfo struct {
@@ -21174,17 +21253,17 @@ type DatastoreVVolContainerFailoverPair struct {
DynamicData
// Storage container on the source side.
- SrcContainer string `xml:"srcContainer,omitempty" json:"srcContainer,omitempty" vim:"6.5"`
+ SrcContainer string `xml:"srcContainer,omitempty" json:"srcContainer,omitempty"`
// Storage container on the target side.
- TgtContainer string `xml:"tgtContainer" json:"tgtContainer" vim:"6.5"`
+ TgtContainer string `xml:"tgtContainer" json:"tgtContainer"`
// Mapping of VVol IDs from source to target corresponding to the
// given set of containers.
- VvolMapping []KeyValue `xml:"vvolMapping,omitempty" json:"vvolMapping,omitempty" vim:"6.5"`
+ VvolMapping []KeyValue `xml:"vvolMapping,omitempty" json:"vvolMapping,omitempty"`
}
func init() {
- minAPIVersionForType["DatastoreVVolContainerFailoverPair"] = "6.5"
t["DatastoreVVolContainerFailoverPair"] = reflect.TypeOf((*DatastoreVVolContainerFailoverPair)(nil)).Elem()
+ minAPIVersionForType["DatastoreVVolContainerFailoverPair"] = "6.5"
}
// The `DateTimeProfile` data object represents host date and time configuration.
@@ -21197,8 +21276,8 @@ type DateTimeProfile struct {
}
func init() {
- minAPIVersionForType["DateTimeProfile"] = "4.0"
t["DateTimeProfile"] = reflect.TypeOf((*DateTimeProfile)(nil)).Elem()
+ minAPIVersionForType["DateTimeProfile"] = "4.0"
}
type DecodeLicense DecodeLicenseRequestType
@@ -21341,7 +21420,7 @@ type DeleteDirectoryInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the directory to be deleted.
DirectoryPath string `xml:"directoryPath" json:"directoryPath"`
// If true, all subdirectories are also deleted.
@@ -21401,7 +21480,7 @@ type DeleteFileInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the file or symbolic link to be deleted.
FilePath string `xml:"filePath" json:"filePath"`
}
@@ -21496,7 +21575,7 @@ type DeleteNvdimmBlockNamespaces_TaskResponse struct {
type DeleteNvdimmNamespaceRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Details of namespace to be deleted.
- DeleteSpec NvdimmNamespaceDeleteSpec `xml:"deleteSpec" json:"deleteSpec" vim:"6.7"`
+ DeleteSpec NvdimmNamespaceDeleteSpec `xml:"deleteSpec" json:"deleteSpec"`
}
func init() {
@@ -21529,9 +21608,9 @@ type DeleteRegistryKeyInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The path to the registry key to be deleted.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// If true, the key is deleted along with any subkeys (if
// present). Otherwise, it shall only delete the key if it
// has no subkeys.
@@ -21561,13 +21640,13 @@ type DeleteRegistryValueInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The registry value name to be deleted.
// The Value "name" (specified in
// `GuestRegValueNameSpec`)
// can be empty. If "name" is empty, it deletes the value
// for the unnamed or default value of the given key.
- ValueName GuestRegValueNameSpec `xml:"valueName" json:"valueName" vim:"6.0"`
+ ValueName GuestRegValueNameSpec `xml:"valueName" json:"valueName"`
}
func init() {
@@ -21602,14 +21681,14 @@ type DeleteScsiLunStateResponse struct {
type DeleteSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of a virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -21630,7 +21709,7 @@ type DeleteSnapshot_TaskResponse struct {
type DeleteVStorageObjectExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be deleted.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object
// is located.
//
@@ -21656,7 +21735,7 @@ type DeleteVStorageObjectEx_TaskResponse struct {
type DeleteVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be deleted.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object
// is located.
//
@@ -21777,16 +21856,16 @@ type DeltaDiskFormatNotSupported struct {
// The datastores which do not support the specified format.
//
// Refers instances of `Datastore`.
- Datastore []ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty" vim:"5.0"`
+ Datastore []ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty"`
// The format not supported.
//
// See `DeltaDiskFormat`.
- DeltaDiskFormat string `xml:"deltaDiskFormat" json:"deltaDiskFormat" vim:"5.0"`
+ DeltaDiskFormat string `xml:"deltaDiskFormat" json:"deltaDiskFormat"`
}
func init() {
- minAPIVersionForType["DeltaDiskFormatNotSupported"] = "5.0"
t["DeltaDiskFormatNotSupported"] = reflect.TypeOf((*DeltaDiskFormatNotSupported)(nil)).Elem()
+ minAPIVersionForType["DeltaDiskFormatNotSupported"] = "5.0"
}
type DeltaDiskFormatNotSupportedFault DeltaDiskFormatNotSupported
@@ -21854,9 +21933,9 @@ type DesiredSoftwareSpec struct {
DynamicData
// Describes a specific base-image spec for the ESX host.
- BaseImageSpec DesiredSoftwareSpecBaseImageSpec `xml:"baseImageSpec" json:"baseImageSpec" vim:"7.0"`
+ BaseImageSpec DesiredSoftwareSpecBaseImageSpec `xml:"baseImageSpec" json:"baseImageSpec"`
// Vendor add-on info for desired software spec.
- VendorAddOnSpec *DesiredSoftwareSpecVendorAddOnSpec `xml:"vendorAddOnSpec,omitempty" json:"vendorAddOnSpec,omitempty" vim:"7.0"`
+ VendorAddOnSpec *DesiredSoftwareSpecVendorAddOnSpec `xml:"vendorAddOnSpec,omitempty" json:"vendorAddOnSpec,omitempty"`
// Additional components which should be part of the desired software
// spec.
//
@@ -21866,8 +21945,8 @@ type DesiredSoftwareSpec struct {
}
func init() {
- minAPIVersionForType["DesiredSoftwareSpec"] = "7.0"
t["DesiredSoftwareSpec"] = reflect.TypeOf((*DesiredSoftwareSpec)(nil)).Elem()
+ minAPIVersionForType["DesiredSoftwareSpec"] = "7.0"
}
// Describes base-image spec for the ESX host.
@@ -21875,12 +21954,12 @@ type DesiredSoftwareSpecBaseImageSpec struct {
DynamicData
// Version of the base-image.
- Version string `xml:"version" json:"version" vim:"7.0"`
+ Version string `xml:"version" json:"version"`
}
func init() {
- minAPIVersionForType["DesiredSoftwareSpecBaseImageSpec"] = "7.0"
t["DesiredSoftwareSpecBaseImageSpec"] = reflect.TypeOf((*DesiredSoftwareSpecBaseImageSpec)(nil)).Elem()
+ minAPIVersionForType["DesiredSoftwareSpecBaseImageSpec"] = "7.0"
}
// Component information for the ESX host.
@@ -21888,17 +21967,17 @@ type DesiredSoftwareSpecComponentSpec struct {
DynamicData
// Name of the component.
- Name string `xml:"name" json:"name" vim:"7.0.2.0"`
+ Name string `xml:"name" json:"name"`
// Version of the component.
//
// This field is required in the
// current release.
- Version string `xml:"version,omitempty" json:"version,omitempty" vim:"7.0.2.0"`
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
}
func init() {
- minAPIVersionForType["DesiredSoftwareSpecComponentSpec"] = "7.0.2.0"
t["DesiredSoftwareSpecComponentSpec"] = reflect.TypeOf((*DesiredSoftwareSpecComponentSpec)(nil)).Elem()
+ minAPIVersionForType["DesiredSoftwareSpecComponentSpec"] = "7.0.2.0"
}
// Vendor specific add-on info for ESX host.
@@ -21906,14 +21985,14 @@ type DesiredSoftwareSpecVendorAddOnSpec struct {
DynamicData
// Vendor add-on name.
- Name string `xml:"name" json:"name" vim:"7.0"`
+ Name string `xml:"name" json:"name"`
// Vendor add-on version.
- Version string `xml:"version" json:"version" vim:"7.0"`
+ Version string `xml:"version" json:"version"`
}
func init() {
- minAPIVersionForType["DesiredSoftwareSpecVendorAddOnSpec"] = "7.0"
t["DesiredSoftwareSpecVendorAddOnSpec"] = reflect.TypeOf((*DesiredSoftwareSpecVendorAddOnSpec)(nil)).Elem()
+ minAPIVersionForType["DesiredSoftwareSpecVendorAddOnSpec"] = "7.0"
}
// For one of the networks that the virtual machine is using, the corresponding
@@ -21949,12 +22028,12 @@ type DestinationVsanDisabled struct {
// Name of the disabled destination `ClusterComputeResource`.
//
// See also `ManagedEntity.name`.
- DestinationCluster string `xml:"destinationCluster" json:"destinationCluster" vim:"5.5"`
+ DestinationCluster string `xml:"destinationCluster" json:"destinationCluster"`
}
func init() {
- minAPIVersionForType["DestinationVsanDisabled"] = "5.5"
t["DestinationVsanDisabled"] = reflect.TypeOf((*DestinationVsanDisabled)(nil)).Elem()
+ minAPIVersionForType["DestinationVsanDisabled"] = "5.5"
}
type DestinationVsanDisabledFault DestinationVsanDisabled
@@ -22170,7 +22249,7 @@ type DetachDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be operated. See
// `ID`
- DiskId ID `xml:"diskId" json:"diskId" vim:"6.5"`
+ DiskId ID `xml:"diskId" json:"diskId"`
}
func init() {
@@ -22238,7 +22317,7 @@ func init() {
type DetachTagFromVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The identifier(ID) of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The category to which the tag belongs.
Category string `xml:"category" json:"category"`
// The tag which has to be disassociated with the virtual storage
@@ -22260,12 +22339,12 @@ type DeviceBackedVirtualDiskSpec struct {
// The deviceName of the backing device
//
// See also `ScsiLun`.
- Device string `xml:"device" json:"device" vim:"2.5"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["DeviceBackedVirtualDiskSpec"] = "2.5"
t["DeviceBackedVirtualDiskSpec"] = reflect.TypeOf((*DeviceBackedVirtualDiskSpec)(nil)).Elem()
+ minAPIVersionForType["DeviceBackedVirtualDiskSpec"] = "2.5"
}
// The device is backed by a backing type which is not supported
@@ -22280,12 +22359,12 @@ type DeviceBackingNotSupported struct {
DeviceNotSupported
// The type of the backing.
- Backing string `xml:"backing" json:"backing" vim:"2.5"`
+ Backing string `xml:"backing" json:"backing"`
}
func init() {
- minAPIVersionForType["DeviceBackingNotSupported"] = "2.5"
t["DeviceBackingNotSupported"] = reflect.TypeOf((*DeviceBackingNotSupported)(nil)).Elem()
+ minAPIVersionForType["DeviceBackingNotSupported"] = "2.5"
}
type DeviceBackingNotSupportedFault BaseDeviceBackingNotSupported
@@ -22306,12 +22385,12 @@ type DeviceControllerNotSupported struct {
DeviceNotSupported
// The type of the controller.
- Controller string `xml:"controller" json:"controller" vim:"2.5"`
+ Controller string `xml:"controller" json:"controller"`
}
func init() {
- minAPIVersionForType["DeviceControllerNotSupported"] = "2.5"
t["DeviceControllerNotSupported"] = reflect.TypeOf((*DeviceControllerNotSupported)(nil)).Elem()
+ minAPIVersionForType["DeviceControllerNotSupported"] = "2.5"
}
type DeviceControllerNotSupportedFault DeviceControllerNotSupported
@@ -22325,12 +22404,12 @@ type DeviceGroupId struct {
DynamicData
// ID of the device group.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
}
func init() {
- minAPIVersionForType["DeviceGroupId"] = "6.5"
t["DeviceGroupId"] = reflect.TypeOf((*DeviceGroupId)(nil)).Elem()
+ minAPIVersionForType["DeviceGroupId"] = "6.5"
}
// A DeviceHotPlugNotSupported exception is thrown if the specified device
@@ -22341,8 +22420,8 @@ type DeviceHotPlugNotSupported struct {
}
func init() {
- minAPIVersionForType["DeviceHotPlugNotSupported"] = "4.0"
t["DeviceHotPlugNotSupported"] = reflect.TypeOf((*DeviceHotPlugNotSupported)(nil)).Elem()
+ minAPIVersionForType["DeviceHotPlugNotSupported"] = "2.5 U2"
}
type DeviceHotPlugNotSupportedFault DeviceHotPlugNotSupported
@@ -22416,8 +22495,8 @@ type DeviceUnsupportedForVmPlatform struct {
}
func init() {
- minAPIVersionForType["DeviceUnsupportedForVmPlatform"] = "4.0"
t["DeviceUnsupportedForVmPlatform"] = reflect.TypeOf((*DeviceUnsupportedForVmPlatform)(nil)).Elem()
+ minAPIVersionForType["DeviceUnsupportedForVmPlatform"] = "2.5 U2"
}
type DeviceUnsupportedForVmPlatformFault DeviceUnsupportedForVmPlatform
@@ -22432,15 +22511,15 @@ type DeviceUnsupportedForVmVersion struct {
InvalidDeviceSpec
// The current version of the virtual machine.
- CurrentVersion string `xml:"currentVersion" json:"currentVersion" vim:"4.0"`
+ CurrentVersion string `xml:"currentVersion" json:"currentVersion"`
// The minimum expected virtual mahcine version needed to
// support this device.
- ExpectedVersion string `xml:"expectedVersion" json:"expectedVersion" vim:"4.0"`
+ ExpectedVersion string `xml:"expectedVersion" json:"expectedVersion"`
}
func init() {
- minAPIVersionForType["DeviceUnsupportedForVmVersion"] = "4.0"
t["DeviceUnsupportedForVmVersion"] = reflect.TypeOf((*DeviceUnsupportedForVmVersion)(nil)).Elem()
+ minAPIVersionForType["DeviceUnsupportedForVmVersion"] = "2.5 U2"
}
type DeviceUnsupportedForVmVersionFault DeviceUnsupportedForVmVersion
@@ -22460,11 +22539,11 @@ type DiagnosticManagerAuditRecordResult struct {
// The HOSTNAME and MSGID fields are set to "-", the structured data
// contains the audit record parameters, no unstructured data will be
// present, and each record is terminated with an ASCII LF (newline).
- Records []string `xml:"records,omitempty" json:"records,omitempty" vim:"7.0.3.0"`
+ Records []string `xml:"records,omitempty" json:"records,omitempty"`
// The token to be used for subsequent read operations.
//
// The string is "opaque"; the format of this data changes over time.
- NextToken string `xml:"nextToken" json:"nextToken" vim:"7.0.3.0"`
+ NextToken string `xml:"nextToken" json:"nextToken"`
}
func init() {
@@ -22563,8 +22642,8 @@ type DigestNotSupported struct {
}
func init() {
- minAPIVersionForType["DigestNotSupported"] = "6.0"
t["DigestNotSupported"] = reflect.TypeOf((*DigestNotSupported)(nil)).Elem()
+ minAPIVersionForType["DigestNotSupported"] = "6.0"
}
type DigestNotSupportedFault DigestNotSupported
@@ -22580,8 +22659,8 @@ type DirectoryNotEmpty struct {
}
func init() {
- minAPIVersionForType["DirectoryNotEmpty"] = "5.0"
t["DirectoryNotEmpty"] = reflect.TypeOf((*DirectoryNotEmpty)(nil)).Elem()
+ minAPIVersionForType["DirectoryNotEmpty"] = "5.0"
}
type DirectoryNotEmptyFault DirectoryNotEmpty
@@ -22599,8 +22678,8 @@ type DisableAdminNotSupported struct {
}
func init() {
- minAPIVersionForType["DisableAdminNotSupported"] = "2.5"
t["DisableAdminNotSupported"] = reflect.TypeOf((*DisableAdminNotSupported)(nil)).Elem()
+ minAPIVersionForType["DisableAdminNotSupported"] = "2.5"
}
type DisableAdminNotSupportedFault DisableAdminNotSupported
@@ -22816,15 +22895,15 @@ type DisallowedChangeByService struct {
RuntimeFault
// The service that has disallowed the change.
- ServiceName string `xml:"serviceName" json:"serviceName" vim:"5.0"`
+ ServiceName string `xml:"serviceName" json:"serviceName"`
// The change this is not allowed, the set of possible values is
// described in `DisallowedChangeByServiceDisallowedChange_enum`.
- DisallowedChange string `xml:"disallowedChange,omitempty" json:"disallowedChange,omitempty" vim:"5.0"`
+ DisallowedChange string `xml:"disallowedChange,omitempty" json:"disallowedChange,omitempty"`
}
func init() {
- minAPIVersionForType["DisallowedChangeByService"] = "5.0"
t["DisallowedChangeByService"] = reflect.TypeOf((*DisallowedChangeByService)(nil)).Elem()
+ minAPIVersionForType["DisallowedChangeByService"] = "5.0"
}
type DisallowedChangeByServiceFault DisallowedChangeByService
@@ -22888,14 +22967,14 @@ type DisallowedOperationOnFailoverHost struct {
// The failover host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Name of the failover host.
- Hostname string `xml:"hostname" json:"hostname" vim:"4.0"`
+ Hostname string `xml:"hostname" json:"hostname"`
}
func init() {
- minAPIVersionForType["DisallowedOperationOnFailoverHost"] = "4.0"
t["DisallowedOperationOnFailoverHost"] = reflect.TypeOf((*DisallowedOperationOnFailoverHost)(nil)).Elem()
+ minAPIVersionForType["DisallowedOperationOnFailoverHost"] = "4.0"
}
type DisallowedOperationOnFailoverHostFault DisallowedOperationOnFailoverHost
@@ -22933,7 +23012,7 @@ type DisconnectNvmeControllerExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A list of data objects, each specifying the parameters
// necessary to disconnect an NVMe controller.
- DisconnectSpec []HostNvmeDisconnectSpec `xml:"disconnectSpec,omitempty" json:"disconnectSpec,omitempty" vim:"7.0"`
+ DisconnectSpec []HostNvmeDisconnectSpec `xml:"disconnectSpec,omitempty" json:"disconnectSpec,omitempty"`
}
func init() {
@@ -22955,7 +23034,7 @@ type DisconnectNvmeControllerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A data object that specifies the parameters
// necessary to perform the disconnection.
- DisconnectSpec HostNvmeDisconnectSpec `xml:"disconnectSpec" json:"disconnectSpec" vim:"7.0"`
+ DisconnectSpec HostNvmeDisconnectSpec `xml:"disconnectSpec" json:"disconnectSpec"`
}
func init() {
@@ -22973,8 +23052,8 @@ type DisconnectedHostsBlockingEVC struct {
}
func init() {
- minAPIVersionForType["DisconnectedHostsBlockingEVC"] = "2.5u2"
t["DisconnectedHostsBlockingEVC"] = reflect.TypeOf((*DisconnectedHostsBlockingEVC)(nil)).Elem()
+ minAPIVersionForType["DisconnectedHostsBlockingEVC"] = "2.5u2"
}
type DisconnectedHostsBlockingEVCFault DisconnectedHostsBlockingEVC
@@ -23013,7 +23092,7 @@ type DiscoverNvmeControllersRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A data object that specifies the parameters
// necessary to retrieve the Discovery Log.
- DiscoverSpec HostNvmeDiscoverSpec `xml:"discoverSpec" json:"discoverSpec" vim:"7.0"`
+ DiscoverSpec HostNvmeDiscoverSpec `xml:"discoverSpec" json:"discoverSpec"`
}
func init() {
@@ -23029,14 +23108,14 @@ type DiskChangeExtent struct {
DynamicData
// Start offset (in bytes) of modified area
- Start int64 `xml:"start" json:"start" vim:"4.0"`
+ Start int64 `xml:"start" json:"start"`
// Length (in bytes) of modified area
- Length int64 `xml:"length" json:"length" vim:"4.0"`
+ Length int64 `xml:"length" json:"length"`
}
func init() {
- minAPIVersionForType["DiskChangeExtent"] = "4.0"
t["DiskChangeExtent"] = reflect.TypeOf((*DiskChangeExtent)(nil)).Elem()
+ minAPIVersionForType["DiskChangeExtent"] = "4.0"
}
// Data structure to describe areas in a disk associated with this VM that have
@@ -23050,19 +23129,19 @@ type DiskChangeInfo struct {
DynamicData
// Start offset (in bytes) of disk area described by this data structure.
- StartOffset int64 `xml:"startOffset" json:"startOffset" vim:"4.0"`
+ StartOffset int64 `xml:"startOffset" json:"startOffset"`
// Length (in bytes) of disk area described by this data structure.
- Length int64 `xml:"length" json:"length" vim:"4.0"`
+ Length int64 `xml:"length" json:"length"`
// Modified disk areas.
//
// Might be empty if no parts of the disk between
// startOffset and startOffset + length were modified.
- ChangedArea []DiskChangeExtent `xml:"changedArea,omitempty" json:"changedArea,omitempty" vim:"4.0"`
+ ChangedArea []DiskChangeExtent `xml:"changedArea,omitempty" json:"changedArea,omitempty"`
}
func init() {
- minAPIVersionForType["DiskChangeInfo"] = "4.0"
t["DiskChangeInfo"] = reflect.TypeOf((*DiskChangeInfo)(nil)).Elem()
+ minAPIVersionForType["DiskChangeInfo"] = "4.0"
}
// This data object type contains the crypto information of all disks along
@@ -23071,14 +23150,14 @@ type DiskCryptoSpec struct {
DynamicData
// The parent in the chain.
- Parent *DiskCryptoSpec `xml:"parent,omitempty" json:"parent,omitempty" vim:"7.0"`
+ Parent *DiskCryptoSpec `xml:"parent,omitempty" json:"parent,omitempty"`
// Crypto information of the current disk.
- Crypto BaseCryptoSpec `xml:"crypto,typeattr" json:"crypto" vim:"7.0"`
+ Crypto BaseCryptoSpec `xml:"crypto,typeattr" json:"crypto"`
}
func init() {
- minAPIVersionForType["DiskCryptoSpec"] = "7.0"
t["DiskCryptoSpec"] = reflect.TypeOf((*DiskCryptoSpec)(nil)).Elem()
+ minAPIVersionForType["DiskCryptoSpec"] = "7.0"
}
// Fault used for disks which have existing, non-VSAN partitions.
@@ -23089,8 +23168,8 @@ type DiskHasPartitions struct {
}
func init() {
- minAPIVersionForType["DiskHasPartitions"] = "5.5"
t["DiskHasPartitions"] = reflect.TypeOf((*DiskHasPartitions)(nil)).Elem()
+ minAPIVersionForType["DiskHasPartitions"] = "5.5"
}
type DiskHasPartitionsFault DiskHasPartitions
@@ -23108,8 +23187,8 @@ type DiskIsLastRemainingNonSSD struct {
}
func init() {
- minAPIVersionForType["DiskIsLastRemainingNonSSD"] = "5.5"
t["DiskIsLastRemainingNonSSD"] = reflect.TypeOf((*DiskIsLastRemainingNonSSD)(nil)).Elem()
+ minAPIVersionForType["DiskIsLastRemainingNonSSD"] = "5.5"
}
type DiskIsLastRemainingNonSSDFault DiskIsLastRemainingNonSSD
@@ -23127,8 +23206,8 @@ type DiskIsNonLocal struct {
}
func init() {
- minAPIVersionForType["DiskIsNonLocal"] = "5.5"
t["DiskIsNonLocal"] = reflect.TypeOf((*DiskIsNonLocal)(nil)).Elem()
+ minAPIVersionForType["DiskIsNonLocal"] = "5.5"
}
type DiskIsNonLocalFault DiskIsNonLocal
@@ -23146,8 +23225,8 @@ type DiskIsUSB struct {
}
func init() {
- minAPIVersionForType["DiskIsUSB"] = "5.5"
t["DiskIsUSB"] = reflect.TypeOf((*DiskIsUSB)(nil)).Elem()
+ minAPIVersionForType["DiskIsUSB"] = "5.5"
}
type DiskIsUSBFault DiskIsUSB
@@ -23164,8 +23243,8 @@ type DiskMoveTypeNotSupported struct {
}
func init() {
- minAPIVersionForType["DiskMoveTypeNotSupported"] = "4.0"
t["DiskMoveTypeNotSupported"] = reflect.TypeOf((*DiskMoveTypeNotSupported)(nil)).Elem()
+ minAPIVersionForType["DiskMoveTypeNotSupported"] = "4.0"
}
type DiskMoveTypeNotSupportedFault DiskMoveTypeNotSupported
@@ -23204,8 +23283,8 @@ type DiskTooSmall struct {
}
func init() {
- minAPIVersionForType["DiskTooSmall"] = "5.5"
t["DiskTooSmall"] = reflect.TypeOf((*DiskTooSmall)(nil)).Elem()
+ minAPIVersionForType["DiskTooSmall"] = "5.5"
}
type DiskTooSmallFault DiskTooSmall
@@ -23258,21 +23337,21 @@ type DistributedVirtualPort struct {
DynamicData
// Port key.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Port configuration, including identifying information, network
// settings, and the set of entities that can connect to the port.
- Config DVPortConfigInfo `xml:"config" json:"config" vim:"4.0"`
+ Config DVPortConfigInfo `xml:"config" json:"config"`
// UUID of the `DistributedVirtualSwitch` to which the port belongs.
- DvsUuid string `xml:"dvsUuid" json:"dvsUuid" vim:"4.0"`
+ DvsUuid string `xml:"dvsUuid" json:"dvsUuid"`
// Key of the portgroup `DistributedVirtualPortgroup` to which
// the port belongs, if any.
- PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty" vim:"4.0"`
+ PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty"`
// `HostSystem` that services this port.
//
// Refers instance of `HostSystem`.
- ProxyHost *ManagedObjectReference `xml:"proxyHost,omitempty" json:"proxyHost,omitempty" vim:"4.0"`
+ ProxyHost *ManagedObjectReference `xml:"proxyHost,omitempty" json:"proxyHost,omitempty"`
// Entity that connects to the port.
- Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty" vim:"4.0"`
+ Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty"`
// Specifies whether the port is a conflict port.
//
// A port could be marked
@@ -23284,14 +23363,14 @@ type DistributedVirtualPort struct {
// of a conflict port. Also, the port cannot move away from the host.
// vCenter Server will not move a virtual machine (VMotion) that is
// using a conflict port.
- Conflict bool `xml:"conflict" json:"conflict" vim:"4.0"`
+ Conflict bool `xml:"conflict" json:"conflict"`
// If the port is marked conflict in the case of two entities connecting to
// the same port (see
// `DistributedVirtualPort.conflict`), this is the
// key of the port which the connected entity is contending for.
- ConflictPortKey string `xml:"conflictPortKey,omitempty" json:"conflictPortKey,omitempty" vim:"4.0"`
+ ConflictPortKey string `xml:"conflictPortKey,omitempty" json:"conflictPortKey,omitempty"`
// Runtime state of the port.
- State *DVPortState `xml:"state,omitempty" json:"state,omitempty" vim:"4.0"`
+ State *DVPortState `xml:"state,omitempty" json:"state,omitempty"`
// Cookie representing the current instance of association between a
// port and a virtual or physical NIC.
//
@@ -23300,11 +23379,11 @@ type DistributedVirtualPort struct {
// (`DistributedVirtualSwitchPortConnection*.*DistributedVirtualSwitchPortConnection.connectionCookie`)
// so that the Server can verify that the entity is the rightful
// connectee of the port.
- ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty" vim:"4.0"`
+ ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty"`
// The last time the
// `DistributedVirtualPort.state*.*DVPortState.runtimeInfo`
// value was changed.
- LastStatusChange time.Time `xml:"lastStatusChange" json:"lastStatusChange" vim:"4.0"`
+ LastStatusChange time.Time `xml:"lastStatusChange" json:"lastStatusChange"`
// Specifies whether the port is a host local port.
//
// A host local port is created
@@ -23320,8 +23399,8 @@ type DistributedVirtualPort struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualPort"] = "4.0"
t["DistributedVirtualPort"] = reflect.TypeOf((*DistributedVirtualPort)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPort"] = "4.0"
}
// This class describes a DistributedVirtualPortgroup that a device backing
@@ -23330,23 +23409,23 @@ type DistributedVirtualPortgroupInfo struct {
DynamicData
// The name of the switch.
- SwitchName string `xml:"switchName" json:"switchName" vim:"4.0"`
+ SwitchName string `xml:"switchName" json:"switchName"`
// The UUID of the switch.
- SwitchUuid string `xml:"switchUuid" json:"switchUuid" vim:"4.0"`
+ SwitchUuid string `xml:"switchUuid" json:"switchUuid"`
// The name of the portgroup.
- PortgroupName string `xml:"portgroupName" json:"portgroupName" vim:"4.0"`
+ PortgroupName string `xml:"portgroupName" json:"portgroupName"`
// The key of the portgroup.
- PortgroupKey string `xml:"portgroupKey" json:"portgroupKey" vim:"4.0"`
+ PortgroupKey string `xml:"portgroupKey" json:"portgroupKey"`
// The type of portgroup.
//
// See `DistributedVirtualPortgroupPortgroupType_enum`
- PortgroupType string `xml:"portgroupType" json:"portgroupType" vim:"4.0"`
+ PortgroupType string `xml:"portgroupType" json:"portgroupType"`
// Whether this portgroup is an uplink portgroup.
- UplinkPortgroup bool `xml:"uplinkPortgroup" json:"uplinkPortgroup" vim:"4.0"`
+ UplinkPortgroup bool `xml:"uplinkPortgroup" json:"uplinkPortgroup"`
// The portgroup.
//
// Refers instance of `DistributedVirtualPortgroup`.
- Portgroup ManagedObjectReference `xml:"portgroup" json:"portgroup" vim:"4.0"`
+ Portgroup ManagedObjectReference `xml:"portgroup" json:"portgroup"`
// Indicates whether network bandwidth reservation is supported on
// the portgroup
NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
@@ -23364,8 +23443,8 @@ type DistributedVirtualPortgroupInfo struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupInfo"] = "4.0"
t["DistributedVirtualPortgroupInfo"] = reflect.TypeOf((*DistributedVirtualPortgroupInfo)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupInfo"] = "4.0"
}
// The `DistributedVirtualPortgroupNsxPortgroupOperationResult`
@@ -23382,14 +23461,14 @@ type DistributedVirtualPortgroupNsxPortgroupOperationResult struct {
// For delete operation, it indicates the port groups failed deleted.
//
// Refers instances of `DistributedVirtualPortgroup`.
- Portgroups []ManagedObjectReference `xml:"portgroups,omitempty" json:"portgroups,omitempty" vim:"7.0"`
+ Portgroups []ManagedObjectReference `xml:"portgroups,omitempty" json:"portgroups,omitempty"`
// The failed port group operation details.
- Problems []DistributedVirtualPortgroupProblem `xml:"problems,omitempty" json:"problems,omitempty" vim:"7.0"`
+ Problems []DistributedVirtualPortgroupProblem `xml:"problems,omitempty" json:"problems,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupNsxPortgroupOperationResult"] = "7.0"
t["DistributedVirtualPortgroupNsxPortgroupOperationResult"] = reflect.TypeOf((*DistributedVirtualPortgroupNsxPortgroupOperationResult)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupNsxPortgroupOperationResult"] = "7.0"
}
// The `DistributedVirtualPortgroupProblem`
@@ -23398,14 +23477,14 @@ type DistributedVirtualPortgroupProblem struct {
DynamicData
// The problematic logical switch UUID
- LogicalSwitchUuid string `xml:"logicalSwitchUuid" json:"logicalSwitchUuid" vim:"7.0"`
+ LogicalSwitchUuid string `xml:"logicalSwitchUuid" json:"logicalSwitchUuid"`
// The failure reason for each problematic logical switch UUID
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"7.0"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["DistributedVirtualPortgroupProblem"] = "7.0"
t["DistributedVirtualPortgroupProblem"] = reflect.TypeOf((*DistributedVirtualPortgroupProblem)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualPortgroupProblem"] = "7.0"
}
// The `DistributedVirtualSwitchHostMember` data object represents an ESXi host that
@@ -23422,15 +23501,15 @@ type DistributedVirtualSwitchHostMember struct {
// Host member runtime state.
RuntimeState *DistributedVirtualSwitchHostMemberRuntimeState `xml:"runtimeState,omitempty" json:"runtimeState,omitempty" vim:"5.0"`
// Host member configuration.
- Config DistributedVirtualSwitchHostMemberConfigInfo `xml:"config" json:"config" vim:"4.0"`
+ Config DistributedVirtualSwitchHostMemberConfigInfo `xml:"config" json:"config"`
// Vendor, product and version information for the proxy switch
// module.
- ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty" vim:"4.0"`
+ ProductInfo *DistributedVirtualSwitchProductSpec `xml:"productInfo,omitempty" json:"productInfo,omitempty"`
// Port keys of the uplink ports created for the host member.
//
// These ports
// will be deleted after the host leaves the switch.
- UplinkPortKey []string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty" vim:"4.0"`
+ UplinkPortKey []string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty"`
// Deprecated as of vSphere API 5.1, use
// `HostMemberRuntimeInfo*.*HostMemberRuntimeInfo.status` instead.
//
@@ -23438,7 +23517,7 @@ type DistributedVirtualSwitchHostMember struct {
//
// See
// `HostComponentState` for valid values.
- Status string `xml:"status" json:"status" vim:"4.0"`
+ Status string `xml:"status" json:"status"`
// Deprecated as of vSphere API 5.1, use
// `HostMemberRuntimeInfo*.*HostMemberRuntimeInfo.statusDetail` instead.
//
@@ -23447,8 +23526,8 @@ type DistributedVirtualSwitchHostMember struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMember"] = "4.0"
t["DistributedVirtualSwitchHostMember"] = reflect.TypeOf((*DistributedVirtualSwitchHostMember)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMember"] = "4.0"
}
// Base class.
@@ -23457,8 +23536,8 @@ type DistributedVirtualSwitchHostMemberBacking struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberBacking"] = "4.0"
t["DistributedVirtualSwitchHostMemberBacking"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberBacking)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberBacking"] = "4.0"
}
// The `DistributedVirtualSwitchHostMemberConfigInfo` data object
@@ -23473,18 +23552,18 @@ type DistributedVirtualSwitchHostMemberConfigInfo struct {
// by this property.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// Maximum number of ports than can be created in the proxy switch.
//
// _ESXi 5.0 and earlier hosts_:
// If you change the maximum number of ports, you must reboot
// the host for the new value to take effect.
- MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts" json:"maxProxySwitchPorts" vim:"4.0"`
+ MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts" json:"maxProxySwitchPorts"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
// Host membership backing, specifying physical NIC, portgroup, and port
// bindings for the proxy switch.
- Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,typeattr" json:"backing" vim:"4.0"`
+ Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,typeattr" json:"backing"`
// Indicate whether the proxy switch is used by NSX on this particular
// host member of the VDS.
NsxSwitch *bool `xml:"nsxSwitch" json:"nsxSwitch,omitempty" vim:"7.0"`
@@ -23506,12 +23585,12 @@ type DistributedVirtualSwitchHostMemberConfigInfo struct {
// member of the VDS.
//
// Unset implies that network offloading is disabled.
- NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled" json:"networkOffloadingEnabled,omitempty"`
+ NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled" json:"networkOffloadingEnabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigInfo"] = "4.0"
t["DistributedVirtualSwitchHostMemberConfigInfo"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberConfigInfo)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigInfo"] = "4.0"
}
// Specification to create or reconfigure ESXi host membership
@@ -23523,29 +23602,29 @@ type DistributedVirtualSwitchHostMemberConfigSpec struct {
//
// See
// `ConfigSpecOperation_enum` for valid values.
- Operation string `xml:"operation" json:"operation" vim:"4.0"`
+ Operation string `xml:"operation" json:"operation"`
// Identifies a host member of a `DistributedVirtualSwitch`
// for a `Folder.CreateDVS_Task` or
// `DistributedVirtualSwitch*.*DistributedVirtualSwitch.ReconfigureDvs_Task` operation.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Specifies the physical NICs to use as backing for the proxy switch
// on the host.
- Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty" vim:"4.0"`
+ Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty"`
// Maximum number of ports allowed in the `HostProxySwitch`.
//
// _ESXi 5.0 and earlier hosts_: If you are reconfiguring an existing
// host membership, that is, the proxy switch already exists, you must reboot
// the host for the new setting to take effect.
- MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts,omitempty" json:"maxProxySwitchPorts,omitempty" vim:"4.0"`
+ MaxProxySwitchPorts int32 `xml:"maxProxySwitchPorts,omitempty" json:"maxProxySwitchPorts,omitempty"`
// Opaque binary blob that stores vendor specific configuration.
- VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty" vim:"4.0"`
+ VendorSpecificConfig []DistributedVirtualSwitchKeyedOpaqueBlob `xml:"vendorSpecificConfig,omitempty" json:"vendorSpecificConfig,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigSpec"] = "4.0"
t["DistributedVirtualSwitchHostMemberConfigSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberConfigSpec"] = "4.0"
}
// The `DistributedVirtualSwitchHostMemberPnicBacking` data object
@@ -23562,12 +23641,12 @@ type DistributedVirtualSwitchHostMemberPnicBacking struct {
// Each entry identifies
// a pNIC to the proxy switch and optionally specifies uplink
// portgroup and port connections for the pNIC.
- PnicSpec []DistributedVirtualSwitchHostMemberPnicSpec `xml:"pnicSpec,omitempty" json:"pnicSpec,omitempty" vim:"4.0"`
+ PnicSpec []DistributedVirtualSwitchHostMemberPnicSpec `xml:"pnicSpec,omitempty" json:"pnicSpec,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicBacking"] = "4.0"
t["DistributedVirtualSwitchHostMemberPnicBacking"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberPnicBacking)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicBacking"] = "4.0"
}
// Specification for an individual physical NIC.
@@ -23577,11 +23656,11 @@ type DistributedVirtualSwitchHostMemberPnicSpec struct {
// Name of the physical NIC to be added to the proxy switch.
//
// See `PhysicalNic*.*PhysicalNic.device`.
- PnicDevice string `xml:"pnicDevice" json:"pnicDevice" vim:"4.0"`
+ PnicDevice string `xml:"pnicDevice" json:"pnicDevice"`
// Key of the port to be connected to the physical NIC.
- UplinkPortKey string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty" vim:"4.0"`
+ UplinkPortKey string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty"`
// Key of the portgroup to be connected to the physical NIC.
- UplinkPortgroupKey string `xml:"uplinkPortgroupKey,omitempty" json:"uplinkPortgroupKey,omitempty" vim:"4.0"`
+ UplinkPortgroupKey string `xml:"uplinkPortgroupKey,omitempty" json:"uplinkPortgroupKey,omitempty"`
// Cookie that represents this `DistributedVirtualSwitchPortConnection`
// instance for the port.
//
@@ -23592,12 +23671,12 @@ type DistributedVirtualSwitchHostMemberPnicSpec struct {
// (`DistributedVirtualPort*.*DistributedVirtualPort.connectionCookie`)
// so that the Server can verify that the entity is the rightful
// connectee of the port.
- ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty" vim:"4.0"`
+ ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicSpec"] = "4.0"
t["DistributedVirtualSwitchHostMemberPnicSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberPnicSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberPnicSpec"] = "4.0"
}
// Runtime state of a host member.
@@ -23606,12 +23685,12 @@ type DistributedVirtualSwitchHostMemberRuntimeState struct {
// Current maximum number of ports allowed to be created in the
// proxy switch.
- CurrentMaxProxySwitchPorts int32 `xml:"currentMaxProxySwitchPorts" json:"currentMaxProxySwitchPorts" vim:"5.0"`
+ CurrentMaxProxySwitchPorts int32 `xml:"currentMaxProxySwitchPorts" json:"currentMaxProxySwitchPorts"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberRuntimeState"] = "5.0"
t["DistributedVirtualSwitchHostMemberRuntimeState"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberRuntimeState)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberRuntimeState"] = "5.0"
}
// Transport zone information.
@@ -23619,16 +23698,16 @@ type DistributedVirtualSwitchHostMemberTransportZoneInfo struct {
DynamicData
// The UUID of transport zone.
- Uuid string `xml:"uuid" json:"uuid" vim:"7.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// The type of transport zone.
//
// See `DistributedVirtualSwitchHostMemberTransportZoneType_enum` for valid values.
- Type string `xml:"type" json:"type" vim:"7.0"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneInfo"] = "7.0"
t["DistributedVirtualSwitchHostMemberTransportZoneInfo"] = reflect.TypeOf((*DistributedVirtualSwitchHostMemberTransportZoneInfo)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostMemberTransportZoneInfo"] = "7.0"
}
// This data object type is a subset of `AboutInfo`.
@@ -23639,16 +23718,16 @@ type DistributedVirtualSwitchHostProductSpec struct {
DynamicData
// The product-line name.
- ProductLineId string `xml:"productLineId,omitempty" json:"productLineId,omitempty" vim:"4.0"`
+ ProductLineId string `xml:"productLineId,omitempty" json:"productLineId,omitempty"`
// Dot-separated version string.
//
// For example, "1.2".
- Version string `xml:"version,omitempty" json:"version,omitempty" vim:"4.0"`
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchHostProductSpec"] = "4.0"
t["DistributedVirtualSwitchHostProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchHostProductSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchHostProductSpec"] = "4.0"
}
// This class describes a DistributedVirtualSwitch that a device backing
@@ -23657,21 +23736,21 @@ type DistributedVirtualSwitchInfo struct {
DynamicData
// The name of the switch.
- SwitchName string `xml:"switchName" json:"switchName" vim:"4.0"`
+ SwitchName string `xml:"switchName" json:"switchName"`
// The UUID of the switch.
- SwitchUuid string `xml:"switchUuid" json:"switchUuid" vim:"4.0"`
+ SwitchUuid string `xml:"switchUuid" json:"switchUuid"`
// The switch.
//
// Refers instance of `DistributedVirtualSwitch`.
- DistributedVirtualSwitch ManagedObjectReference `xml:"distributedVirtualSwitch" json:"distributedVirtualSwitch" vim:"4.0"`
+ DistributedVirtualSwitch ManagedObjectReference `xml:"distributedVirtualSwitch" json:"distributedVirtualSwitch"`
// Indicates whether network bandwidth reservation is supported on
// the switch
NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchInfo"] = "4.0"
t["DistributedVirtualSwitchInfo"] = reflect.TypeOf((*DistributedVirtualSwitchInfo)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchInfo"] = "4.0"
}
// This class defines a data structure to hold opaque binary data
@@ -23680,17 +23759,17 @@ type DistributedVirtualSwitchKeyedOpaqueBlob struct {
DynamicData
// A key that identifies the opaque binary blob.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// The opaque data.
//
// It is recommended that base64 encoding be used for binary
// data.
- OpaqueData string `xml:"opaqueData" json:"opaqueData" vim:"4.0"`
+ OpaqueData string `xml:"opaqueData" json:"opaqueData"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchKeyedOpaqueBlob"] = "4.0"
t["DistributedVirtualSwitchKeyedOpaqueBlob"] = reflect.TypeOf((*DistributedVirtualSwitchKeyedOpaqueBlob)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchKeyedOpaqueBlob"] = "4.0"
}
// This is the return type for the checkCompatibility method.
@@ -23709,18 +23788,18 @@ type DistributedVirtualSwitchManagerCompatibilityResult struct {
// host entity.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.1"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// This property contains the faults that makes the host not compatible
// with a given DvsProductSpec.
//
// For example, a host might not be compatible
// because it's an older version of ESX that doesn't support DVS.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.1"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerCompatibilityResult"] = "4.1"
t["DistributedVirtualSwitchManagerCompatibilityResult"] = reflect.TypeOf((*DistributedVirtualSwitchManagerCompatibilityResult)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerCompatibilityResult"] = "4.1"
}
// This class is used to specify ProductSpec for the DVS.
@@ -23732,16 +23811,16 @@ type DistributedVirtualSwitchManagerDvsProductSpec struct {
DynamicData
// The ProductSpec for new DVS
- NewSwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"newSwitchProductSpec,omitempty" json:"newSwitchProductSpec,omitempty" vim:"4.1"`
+ NewSwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"newSwitchProductSpec,omitempty" json:"newSwitchProductSpec,omitempty"`
// Get ProductSpec from the existing DVS
//
// Refers instance of `DistributedVirtualSwitch`.
- DistributedVirtualSwitch *ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty" vim:"4.1"`
+ DistributedVirtualSwitch *ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerDvsProductSpec"] = "4.1"
t["DistributedVirtualSwitchManagerDvsProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchManagerDvsProductSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerDvsProductSpec"] = "4.1"
}
// Check host compatibility against all hosts specified in the array.
@@ -23751,12 +23830,12 @@ type DistributedVirtualSwitchManagerHostArrayFilter struct {
// List of hosts to consider.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host" json:"host" vim:"4.1"`
+ Host []ManagedObjectReference `xml:"host" json:"host"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerHostArrayFilter"] = "4.1"
t["DistributedVirtualSwitchManagerHostArrayFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostArrayFilter)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerHostArrayFilter"] = "4.1"
}
// Check host compatibility for all hosts in the container.
@@ -23774,18 +23853,18 @@ type DistributedVirtualSwitchManagerHostContainer struct {
// types are Datacenter, Folder, and ComputeResource.
//
// Refers instance of `ManagedEntity`.
- Container ManagedObjectReference `xml:"container" json:"container" vim:"4.1"`
+ Container ManagedObjectReference `xml:"container" json:"container"`
// If true, include hosts of all levels in the hierarchy with
// container as root of the tree.
//
// In case of container being a `Datacenter`,
// the recursive flag is applied to its HostFolder.
- Recursive bool `xml:"recursive" json:"recursive" vim:"4.1"`
+ Recursive bool `xml:"recursive" json:"recursive"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerHostContainer"] = "4.1"
t["DistributedVirtualSwitchManagerHostContainer"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostContainer)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerHostContainer"] = "4.1"
}
// Check host compatibility against all hosts in this
@@ -23794,12 +23873,12 @@ type DistributedVirtualSwitchManagerHostContainerFilter struct {
DistributedVirtualSwitchManagerHostDvsFilterSpec
// Container of hosts that are part of the filter.
- HostContainer DistributedVirtualSwitchManagerHostContainer `xml:"hostContainer" json:"hostContainer" vim:"4.1"`
+ HostContainer DistributedVirtualSwitchManagerHostContainer `xml:"hostContainer" json:"hostContainer"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerHostContainerFilter"] = "4.1"
t["DistributedVirtualSwitchManagerHostContainerFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostContainerFilter)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerHostContainerFilter"] = "4.1"
}
// Base class for filters to check host compatibility.
@@ -23810,12 +23889,12 @@ type DistributedVirtualSwitchManagerHostDvsFilterSpec struct {
// `DistributedVirtualSwitchManagerHostContainer`
// that satisfy the criteria specified by this filter, otherwise
// it returns hosts that don't meet the criteria.
- Inclusive bool `xml:"inclusive" json:"inclusive" vim:"4.1"`
+ Inclusive bool `xml:"inclusive" json:"inclusive"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsFilterSpec"] = "4.1"
t["DistributedVirtualSwitchManagerHostDvsFilterSpec"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostDvsFilterSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsFilterSpec"] = "4.1"
}
// Check host compatibility against all hosts in the DVS (or not in the DVS if
@@ -23827,8 +23906,8 @@ type DistributedVirtualSwitchManagerHostDvsMembershipFilter struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsMembershipFilter"] = "4.1"
t["DistributedVirtualSwitchManagerHostDvsMembershipFilter"] = reflect.TypeOf((*DistributedVirtualSwitchManagerHostDvsMembershipFilter)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerHostDvsMembershipFilter"] = "4.1"
}
// The `DistributedVirtualSwitchManagerImportResult`
@@ -23845,18 +23924,18 @@ type DistributedVirtualSwitchManagerImportResult struct {
// List of distributed virtual switches.
//
// Refers instances of `DistributedVirtualSwitch`.
- DistributedVirtualSwitch []ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty" vim:"5.1"`
+ DistributedVirtualSwitch []ManagedObjectReference `xml:"distributedVirtualSwitch,omitempty" json:"distributedVirtualSwitch,omitempty"`
// List of distributed virtual portgroups.
//
// Refers instances of `DistributedVirtualPortgroup`.
- DistributedVirtualPortgroup []ManagedObjectReference `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty" vim:"5.1"`
+ DistributedVirtualPortgroup []ManagedObjectReference `xml:"distributedVirtualPortgroup,omitempty" json:"distributedVirtualPortgroup,omitempty"`
// Faults that occurred on the entities during the import operation.
- ImportFault []ImportOperationBulkFaultFaultOnImport `xml:"importFault,omitempty" json:"importFault,omitempty" vim:"5.1"`
+ ImportFault []ImportOperationBulkFaultFaultOnImport `xml:"importFault,omitempty" json:"importFault,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchManagerImportResult"] = "5.1"
t["DistributedVirtualSwitchManagerImportResult"] = reflect.TypeOf((*DistributedVirtualSwitchManagerImportResult)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchManagerImportResult"] = "5.1"
}
// Describe the network offload specification of a
@@ -23874,6 +23953,7 @@ type DistributedVirtualSwitchNetworkOffloadSpec struct {
func init() {
t["DistributedVirtualSwitchNetworkOffloadSpec"] = reflect.TypeOf((*DistributedVirtualSwitchNetworkOffloadSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchNetworkOffloadSpec"] = "8.0.0.1"
}
// Information about the entity that connects to a DistributedVirtualPort.
@@ -23887,20 +23967,20 @@ type DistributedVirtualSwitchPortConnectee struct {
// by this property.
//
// Refers instance of `ManagedEntity`.
- ConnectedEntity *ManagedObjectReference `xml:"connectedEntity,omitempty" json:"connectedEntity,omitempty" vim:"4.0"`
+ ConnectedEntity *ManagedObjectReference `xml:"connectedEntity,omitempty" json:"connectedEntity,omitempty"`
// The key of the virtual NIC that connects to this port.
- NicKey string `xml:"nicKey,omitempty" json:"nicKey,omitempty" vim:"4.0"`
+ NicKey string `xml:"nicKey,omitempty" json:"nicKey,omitempty"`
// The type of the connectee.
//
// See `ConnecteeType` for valid values.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// A hint on address information of the NIC that connects to this port.
- AddressHint string `xml:"addressHint,omitempty" json:"addressHint,omitempty" vim:"4.0"`
+ AddressHint string `xml:"addressHint,omitempty" json:"addressHint,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchPortConnectee"] = "4.0"
t["DistributedVirtualSwitchPortConnectee"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnectee)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchPortConnectee"] = "4.0"
}
// The `DistributedVirtualSwitchPortConnection` data object represents a connection
@@ -23914,7 +23994,7 @@ type DistributedVirtualSwitchPortConnection struct {
DynamicData
// UUID of the switch (`DistributedVirtualSwitch*.*DistributedVirtualSwitch.uuid`).
- SwitchUuid string `xml:"switchUuid" json:"switchUuid" vim:"4.0"`
+ SwitchUuid string `xml:"switchUuid" json:"switchUuid"`
// Key of the portgroup.
//
// If specified, the connection object represents a connection
@@ -23924,14 +24004,14 @@ type DistributedVirtualSwitchPortConnection struct {
// early-binding portgroup and is not allowed for a late-binding portgroup.
// The `DistributedVirtualSwitchPortConnection.portKey` property will be populated by the implementation
// at the time of port binding.
- PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty" vim:"4.0"`
+ PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty"`
// Key of the port.
//
// If specified, this object represents a connection
// or an association between an individual `DistributedVirtualPort`
// and a Virtual NIC or physical NIC. See `DistributedVirtualSwitchPortConnection.portgroupKey` for more information on populating
// this property.
- PortKey string `xml:"portKey,omitempty" json:"portKey,omitempty" vim:"4.0"`
+ PortKey string `xml:"portKey,omitempty" json:"portKey,omitempty"`
// Cookie that represents this `DistributedVirtualSwitchPortConnection`
// instance for the port.
//
@@ -23942,12 +24022,12 @@ type DistributedVirtualSwitchPortConnection struct {
// (`DistributedVirtualPort*.*DistributedVirtualPort.connectionCookie`)
// so that the Server can verify that the entity is the rightful
// connectee of the port.
- ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty" vim:"4.0"`
+ ConnectionCookie int32 `xml:"connectionCookie,omitempty" json:"connectionCookie,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchPortConnection"] = "4.0"
t["DistributedVirtualSwitchPortConnection"] = reflect.TypeOf((*DistributedVirtualSwitchPortConnection)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchPortConnection"] = "4.0"
}
// The criteria specification for selecting ports.
@@ -23955,14 +24035,14 @@ type DistributedVirtualSwitchPortCriteria struct {
DynamicData
// If set, only the connected ports are qualified.
- Connected *bool `xml:"connected" json:"connected,omitempty" vim:"4.0"`
+ Connected *bool `xml:"connected" json:"connected,omitempty"`
// If set, only the active ports are qualified.
- Active *bool `xml:"active" json:"active,omitempty" vim:"4.0"`
+ Active *bool `xml:"active" json:"active,omitempty"`
// If set to true, only the uplink ports are qualified.
//
// If set to false, only
// non-uplink ports are qualified.
- UplinkPort *bool `xml:"uplinkPort" json:"uplinkPort,omitempty" vim:"4.0"`
+ UplinkPort *bool `xml:"uplinkPort" json:"uplinkPort,omitempty"`
// If set to true, only the NSX ports are qualified.
//
// If set to false, only
@@ -23975,22 +24055,22 @@ type DistributedVirtualSwitchPortCriteria struct {
// qualified.
//
// Refers instance of `ManagedEntity`.
- Scope *ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope *ManagedObjectReference `xml:"scope,omitempty" json:"scope,omitempty"`
// The keys of the portgroup that is used for the scope of `DistributedVirtualSwitchPortCriteria.inside`.
//
// If this property is unset, it means any portgroup. If `DistributedVirtualSwitchPortCriteria.inside`
// is unset, this property is ignored.
- PortgroupKey []string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty" vim:"4.0"`
+ PortgroupKey []string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty"`
// If unset, all ports in the switch are qualified.
//
// If set to true, only ports inside `DistributedVirtualSwitchPortCriteria.portgroupKey` or any
// portgroup, if not set, are qualified.
// If set to false, only ports outside `DistributedVirtualSwitchPortCriteria.portgroupKey` or any
// portgroup, if not set, are qualified.
- Inside *bool `xml:"inside" json:"inside,omitempty" vim:"4.0"`
+ Inside *bool `xml:"inside" json:"inside,omitempty"`
// If set, only the ports of which the key is in the array are
// qualified.
- PortKey []string `xml:"portKey,omitempty" json:"portKey,omitempty" vim:"4.0"`
+ PortKey []string `xml:"portKey,omitempty" json:"portKey,omitempty"`
// If set, only the ports that are present in one of the host are qualified.
//
// Refers instances of `HostSystem`.
@@ -23998,8 +24078,8 @@ type DistributedVirtualSwitchPortCriteria struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchPortCriteria"] = "4.0"
t["DistributedVirtualSwitchPortCriteria"] = reflect.TypeOf((*DistributedVirtualSwitchPortCriteria)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchPortCriteria"] = "4.0"
}
// Statistic data of a DistributedVirtualPort.
@@ -24007,37 +24087,37 @@ type DistributedVirtualSwitchPortStatistics struct {
DynamicData
// The number of multicast packets received.
- PacketsInMulticast int64 `xml:"packetsInMulticast" json:"packetsInMulticast" vim:"4.0"`
+ PacketsInMulticast int64 `xml:"packetsInMulticast" json:"packetsInMulticast"`
// The number of multicast packets forwarded.
- PacketsOutMulticast int64 `xml:"packetsOutMulticast" json:"packetsOutMulticast" vim:"4.0"`
+ PacketsOutMulticast int64 `xml:"packetsOutMulticast" json:"packetsOutMulticast"`
// The number of bytes received from multicast packets.
- BytesInMulticast int64 `xml:"bytesInMulticast" json:"bytesInMulticast" vim:"4.0"`
+ BytesInMulticast int64 `xml:"bytesInMulticast" json:"bytesInMulticast"`
// The number of bytes forwarded from multicast packets.
- BytesOutMulticast int64 `xml:"bytesOutMulticast" json:"bytesOutMulticast" vim:"4.0"`
+ BytesOutMulticast int64 `xml:"bytesOutMulticast" json:"bytesOutMulticast"`
// The number of unicast packets received.
- PacketsInUnicast int64 `xml:"packetsInUnicast" json:"packetsInUnicast" vim:"4.0"`
+ PacketsInUnicast int64 `xml:"packetsInUnicast" json:"packetsInUnicast"`
// The number of unicast packets forwarded.
- PacketsOutUnicast int64 `xml:"packetsOutUnicast" json:"packetsOutUnicast" vim:"4.0"`
+ PacketsOutUnicast int64 `xml:"packetsOutUnicast" json:"packetsOutUnicast"`
// The number of bytes received from unicast packets.
- BytesInUnicast int64 `xml:"bytesInUnicast" json:"bytesInUnicast" vim:"4.0"`
+ BytesInUnicast int64 `xml:"bytesInUnicast" json:"bytesInUnicast"`
// The number of bytes forwarded from unicast packets.
- BytesOutUnicast int64 `xml:"bytesOutUnicast" json:"bytesOutUnicast" vim:"4.0"`
+ BytesOutUnicast int64 `xml:"bytesOutUnicast" json:"bytesOutUnicast"`
// The number of broadcast packets received.
- PacketsInBroadcast int64 `xml:"packetsInBroadcast" json:"packetsInBroadcast" vim:"4.0"`
+ PacketsInBroadcast int64 `xml:"packetsInBroadcast" json:"packetsInBroadcast"`
// The number of broadcast packets forwarded.
- PacketsOutBroadcast int64 `xml:"packetsOutBroadcast" json:"packetsOutBroadcast" vim:"4.0"`
+ PacketsOutBroadcast int64 `xml:"packetsOutBroadcast" json:"packetsOutBroadcast"`
// The number of bytes received from broadcast packets.
- BytesInBroadcast int64 `xml:"bytesInBroadcast" json:"bytesInBroadcast" vim:"4.0"`
+ BytesInBroadcast int64 `xml:"bytesInBroadcast" json:"bytesInBroadcast"`
// The number of bytes forwarded from broadcast packets.
- BytesOutBroadcast int64 `xml:"bytesOutBroadcast" json:"bytesOutBroadcast" vim:"4.0"`
+ BytesOutBroadcast int64 `xml:"bytesOutBroadcast" json:"bytesOutBroadcast"`
// The number of received packets dropped.
- PacketsInDropped int64 `xml:"packetsInDropped" json:"packetsInDropped" vim:"4.0"`
+ PacketsInDropped int64 `xml:"packetsInDropped" json:"packetsInDropped"`
// The number of packets to be forwarded dropped.
- PacketsOutDropped int64 `xml:"packetsOutDropped" json:"packetsOutDropped" vim:"4.0"`
+ PacketsOutDropped int64 `xml:"packetsOutDropped" json:"packetsOutDropped"`
// The number of packets received that cause an exception.
- PacketsInException int64 `xml:"packetsInException" json:"packetsInException" vim:"4.0"`
+ PacketsInException int64 `xml:"packetsInException" json:"packetsInException"`
// The number of packets to be forwarded that cause an exception.
- PacketsOutException int64 `xml:"packetsOutException" json:"packetsOutException" vim:"4.0"`
+ PacketsOutException int64 `xml:"packetsOutException" json:"packetsOutException"`
// The number of bytes received at a pnic on the behalf of a port's
// connectee (inter-host rx).
BytesInFromPnic int64 `xml:"bytesInFromPnic,omitempty" json:"bytesInFromPnic,omitempty" vim:"6.5"`
@@ -24047,8 +24127,8 @@ type DistributedVirtualSwitchPortStatistics struct {
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchPortStatistics"] = "4.0"
t["DistributedVirtualSwitchPortStatistics"] = reflect.TypeOf((*DistributedVirtualSwitchPortStatistics)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchPortStatistics"] = "4.0"
}
// This data object type is a subset of `AboutInfo`.
@@ -24060,31 +24140,31 @@ type DistributedVirtualSwitchProductSpec struct {
DynamicData
// Short form of the product name.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Name of the vendor of this product.
- Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty" vim:"4.0"`
+ Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty"`
// Dot-separated version string.
//
// For example, "1.2".
- Version string `xml:"version,omitempty" json:"version,omitempty" vim:"4.0"`
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
// Build string for the server on which this call is made.
//
// For example, x.y.z-num.
// This string does not apply to the API.
- Build string `xml:"build,omitempty" json:"build,omitempty" vim:"4.0"`
+ Build string `xml:"build,omitempty" json:"build,omitempty"`
// Forwarding class of the distributed virtual switch.
- ForwardingClass string `xml:"forwardingClass,omitempty" json:"forwardingClass,omitempty" vim:"4.0"`
+ ForwardingClass string `xml:"forwardingClass,omitempty" json:"forwardingClass,omitempty"`
// The ID of the bundle if a host component bundle needs to be installed on
// the host members to support the functionality of the switch.
- BundleId string `xml:"bundleId,omitempty" json:"bundleId,omitempty" vim:"4.0"`
+ BundleId string `xml:"bundleId,omitempty" json:"bundleId,omitempty"`
// The URL of the bundle that VMware Update Manager will use to install
// the bundle on the host members, if `DistributedVirtualSwitchProductSpec.bundleId` is set.
- BundleUrl string `xml:"bundleUrl,omitempty" json:"bundleUrl,omitempty" vim:"4.0"`
+ BundleUrl string `xml:"bundleUrl,omitempty" json:"bundleUrl,omitempty"`
}
func init() {
- minAPIVersionForType["DistributedVirtualSwitchProductSpec"] = "4.0"
t["DistributedVirtualSwitchProductSpec"] = reflect.TypeOf((*DistributedVirtualSwitchProductSpec)(nil)).Elem()
+ minAPIVersionForType["DistributedVirtualSwitchProductSpec"] = "4.0"
}
type DoesCustomizationSpecExist DoesCustomizationSpecExistRequestType
@@ -24113,12 +24193,12 @@ type DomainNotFound struct {
ActiveDirectoryFault
// The domain that cannot be accessed.
- DomainName string `xml:"domainName" json:"domainName" vim:"4.1"`
+ DomainName string `xml:"domainName" json:"domainName"`
}
func init() {
- minAPIVersionForType["DomainNotFound"] = "4.1"
t["DomainNotFound"] = reflect.TypeOf((*DomainNotFound)(nil)).Elem()
+ minAPIVersionForType["DomainNotFound"] = "4.1"
}
type DomainNotFoundFault DomainNotFound
@@ -24162,6 +24242,7 @@ type DpuStatusInfo struct {
func init() {
t["DpuStatusInfo"] = reflect.TypeOf((*DpuStatusInfo)(nil)).Elem()
+ minAPIVersionForType["DpuStatusInfo"] = "8.0.0.1"
}
// Sensor information provided by DPU that provides health status.
@@ -24191,6 +24272,7 @@ type DpuStatusInfoOperationalInfo struct {
func init() {
t["DpuStatusInfoOperationalInfo"] = reflect.TypeOf((*DpuStatusInfoOperationalInfo)(nil)).Elem()
+ minAPIVersionForType["DpuStatusInfoOperationalInfo"] = "8.0.0.1"
}
type DropConnections DropConnectionsRequestType
@@ -24229,8 +24311,8 @@ type DrsDisabledOnVm struct {
}
func init() {
- minAPIVersionForType["DrsDisabledOnVm"] = "4.0"
t["DrsDisabledOnVm"] = reflect.TypeOf((*DrsDisabledOnVm)(nil)).Elem()
+ minAPIVersionForType["DrsDisabledOnVm"] = "4.0"
}
type DrsDisabledOnVmFault DrsDisabledOnVm
@@ -24261,8 +24343,8 @@ type DrsEnteredStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["DrsEnteredStandbyModeEvent"] = "2.5"
t["DrsEnteredStandbyModeEvent"] = reflect.TypeOf((*DrsEnteredStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["DrsEnteredStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -24272,8 +24354,8 @@ type DrsEnteringStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["DrsEnteringStandbyModeEvent"] = "4.0"
t["DrsEnteringStandbyModeEvent"] = reflect.TypeOf((*DrsEnteringStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["DrsEnteringStandbyModeEvent"] = "4.0"
}
// This event records that Distributed Power Management tried to bring a host out
@@ -24283,8 +24365,8 @@ type DrsExitStandbyModeFailedEvent struct {
}
func init() {
- minAPIVersionForType["DrsExitStandbyModeFailedEvent"] = "4.0"
t["DrsExitStandbyModeFailedEvent"] = reflect.TypeOf((*DrsExitStandbyModeFailedEvent)(nil)).Elem()
+ minAPIVersionForType["DrsExitStandbyModeFailedEvent"] = "4.0"
}
// This event records that Distributed Power Management brings this host
@@ -24294,8 +24376,8 @@ type DrsExitedStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["DrsExitedStandbyModeEvent"] = "2.5"
t["DrsExitedStandbyModeEvent"] = reflect.TypeOf((*DrsExitedStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["DrsExitedStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -24305,8 +24387,8 @@ type DrsExitingStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["DrsExitingStandbyModeEvent"] = "4.0"
t["DrsExitingStandbyModeEvent"] = reflect.TypeOf((*DrsExitingStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["DrsExitingStandbyModeEvent"] = "4.0"
}
// This event records DRS invocation failure.
@@ -24315,8 +24397,8 @@ type DrsInvocationFailedEvent struct {
}
func init() {
- minAPIVersionForType["DrsInvocationFailedEvent"] = "4.0"
t["DrsInvocationFailedEvent"] = reflect.TypeOf((*DrsInvocationFailedEvent)(nil)).Elem()
+ minAPIVersionForType["DrsInvocationFailedEvent"] = "4.0"
}
// This event records that DRS has recovered from failure.
@@ -24327,8 +24409,8 @@ type DrsRecoveredFromFailureEvent struct {
}
func init() {
- minAPIVersionForType["DrsRecoveredFromFailureEvent"] = "4.0"
t["DrsRecoveredFromFailureEvent"] = reflect.TypeOf((*DrsRecoveredFromFailureEvent)(nil)).Elem()
+ minAPIVersionForType["DrsRecoveredFromFailureEvent"] = "4.0"
}
// This event records when resource configuration
@@ -24360,8 +24442,8 @@ type DrsRuleComplianceEvent struct {
}
func init() {
- minAPIVersionForType["DrsRuleComplianceEvent"] = "4.1"
t["DrsRuleComplianceEvent"] = reflect.TypeOf((*DrsRuleComplianceEvent)(nil)).Elem()
+ minAPIVersionForType["DrsRuleComplianceEvent"] = "4.1"
}
// This event records when a virtual machine violates a DRS VM-Host rule.
@@ -24370,8 +24452,8 @@ type DrsRuleViolationEvent struct {
}
func init() {
- minAPIVersionForType["DrsRuleViolationEvent"] = "4.1"
t["DrsRuleViolationEvent"] = reflect.TypeOf((*DrsRuleViolationEvent)(nil)).Elem()
+ minAPIVersionForType["DrsRuleViolationEvent"] = "4.1"
}
// This event records when a virtual machine violates a soft VM-Host rule.
@@ -24380,8 +24462,8 @@ type DrsSoftRuleViolationEvent struct {
}
func init() {
- minAPIVersionForType["DrsSoftRuleViolationEvent"] = "6.0"
t["DrsSoftRuleViolationEvent"] = reflect.TypeOf((*DrsSoftRuleViolationEvent)(nil)).Elem()
+ minAPIVersionForType["DrsSoftRuleViolationEvent"] = "6.0"
}
// This event records a virtual machine migration that was recommended by DRS.
@@ -24399,8 +24481,8 @@ type DrsVmPoweredOnEvent struct {
}
func init() {
- minAPIVersionForType["DrsVmPoweredOnEvent"] = "2.5"
t["DrsVmPoweredOnEvent"] = reflect.TypeOf((*DrsVmPoweredOnEvent)(nil)).Elem()
+ minAPIVersionForType["DrsVmPoweredOnEvent"] = "2.5"
}
// This fault is thrown when DRS tries to migrate a virtual machine to a host,
@@ -24411,12 +24493,12 @@ type DrsVmotionIncompatibleFault struct {
// The host that is incompatible with a given virtual machine.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
}
func init() {
- minAPIVersionForType["DrsVmotionIncompatibleFault"] = "4.0"
t["DrsVmotionIncompatibleFault"] = reflect.TypeOf((*DrsVmotionIncompatibleFault)(nil)).Elem()
+ minAPIVersionForType["DrsVmotionIncompatibleFault"] = "4.0"
}
type DrsVmotionIncompatibleFaultFault DrsVmotionIncompatibleFault
@@ -24454,8 +24536,8 @@ type DuplicateDisks struct {
}
func init() {
- minAPIVersionForType["DuplicateDisks"] = "5.5"
t["DuplicateDisks"] = reflect.TypeOf((*DuplicateDisks)(nil)).Elem()
+ minAPIVersionForType["DuplicateDisks"] = "5.5"
}
type DuplicateDisksFault DuplicateDisks
@@ -24471,14 +24553,14 @@ type DuplicateIpDetectedEvent struct {
HostEvent
// The Duplicate IP address detected.
- DuplicateIP string `xml:"duplicateIP" json:"duplicateIP" vim:"2.5"`
+ DuplicateIP string `xml:"duplicateIP" json:"duplicateIP"`
// The MAC associated with duplicate IP.
- MacAddress string `xml:"macAddress" json:"macAddress" vim:"2.5"`
+ MacAddress string `xml:"macAddress" json:"macAddress"`
}
func init() {
- minAPIVersionForType["DuplicateIpDetectedEvent"] = "2.5"
t["DuplicateIpDetectedEvent"] = reflect.TypeOf((*DuplicateIpDetectedEvent)(nil)).Elem()
+ minAPIVersionForType["DuplicateIpDetectedEvent"] = "2.5"
}
// A DuplicateName exception is thrown because a name already exists
@@ -24510,12 +24592,12 @@ type DuplicateVsanNetworkInterface struct {
VsanFault
// The network interface name found to be duplicated.
- Device string `xml:"device" json:"device" vim:"5.5"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["DuplicateVsanNetworkInterface"] = "5.5"
t["DuplicateVsanNetworkInterface"] = reflect.TypeOf((*DuplicateVsanNetworkInterface)(nil)).Elem()
+ minAPIVersionForType["DuplicateVsanNetworkInterface"] = "5.5"
}
type DuplicateVsanNetworkInterfaceFault DuplicateVsanNetworkInterface
@@ -24532,12 +24614,12 @@ type DvpgImportEvent struct {
// The type of restore operation.
//
// See `EntityImportType_enum` for valid values
- ImportType string `xml:"importType" json:"importType" vim:"5.1"`
+ ImportType string `xml:"importType" json:"importType"`
}
func init() {
- minAPIVersionForType["DvpgImportEvent"] = "5.1"
t["DvpgImportEvent"] = reflect.TypeOf((*DvpgImportEvent)(nil)).Elem()
+ minAPIVersionForType["DvpgImportEvent"] = "5.1"
}
// This event is generated when a restore operation is
@@ -24547,8 +24629,8 @@ type DvpgRestoreEvent struct {
}
func init() {
- minAPIVersionForType["DvpgRestoreEvent"] = "5.1"
t["DvpgRestoreEvent"] = reflect.TypeOf((*DvpgRestoreEvent)(nil)).Elem()
+ minAPIVersionForType["DvpgRestoreEvent"] = "5.1"
}
// This class defines network rule action to accept packets.
@@ -24557,8 +24639,8 @@ type DvsAcceptNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsAcceptNetworkRuleAction"] = "5.5"
t["DvsAcceptNetworkRuleAction"] = reflect.TypeOf((*DvsAcceptNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsAcceptNetworkRuleAction"] = "5.5"
}
// Thrown if a vSphere Distributed Switch apply operation failed to set or remove
@@ -24567,12 +24649,12 @@ type DvsApplyOperationFault struct {
DvsFault
// Faults occurred on the host during a DistributedVirtualSwitch operation.
- ObjectFault []DvsApplyOperationFaultFaultOnObject `xml:"objectFault" json:"objectFault" vim:"5.1"`
+ ObjectFault []DvsApplyOperationFaultFaultOnObject `xml:"objectFault" json:"objectFault"`
}
func init() {
- minAPIVersionForType["DvsApplyOperationFault"] = "5.1"
t["DvsApplyOperationFault"] = reflect.TypeOf((*DvsApplyOperationFault)(nil)).Elem()
+ minAPIVersionForType["DvsApplyOperationFault"] = "5.1"
}
type DvsApplyOperationFaultFault DvsApplyOperationFault
@@ -24589,16 +24671,16 @@ type DvsApplyOperationFaultFaultOnObject struct {
//
// It should be UUID for vSphere Distributed Switches,
// keys for vNetwork distributed portgroups and ports.
- ObjectId string `xml:"objectId" json:"objectId" vim:"5.1"`
+ ObjectId string `xml:"objectId" json:"objectId"`
// The Type of the objects.
- Type string `xml:"type" json:"type" vim:"5.1"`
+ Type string `xml:"type" json:"type"`
// The fault that occurred.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"5.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["DvsApplyOperationFaultFaultOnObject"] = "5.1"
t["DvsApplyOperationFaultFaultOnObject"] = reflect.TypeOf((*DvsApplyOperationFaultFaultOnObject)(nil)).Elem()
+ minAPIVersionForType["DvsApplyOperationFaultFaultOnObject"] = "5.1"
}
// This class defines network rule action to copy the packet to an
@@ -24609,8 +24691,8 @@ type DvsCopyNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsCopyNetworkRuleAction"] = "5.5"
t["DvsCopyNetworkRuleAction"] = reflect.TypeOf((*DvsCopyNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsCopyNetworkRuleAction"] = "5.5"
}
// A distributed virtual switch was created.
@@ -24618,12 +24700,12 @@ type DvsCreatedEvent struct {
DvsEvent
// The folder where the DistributedVirtualSwitch is created.
- Parent FolderEventArgument `xml:"parent" json:"parent" vim:"4.0"`
+ Parent FolderEventArgument `xml:"parent" json:"parent"`
}
func init() {
- minAPIVersionForType["DvsCreatedEvent"] = "4.0"
t["DvsCreatedEvent"] = reflect.TypeOf((*DvsCreatedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsCreatedEvent"] = "4.0"
}
// A distributed virtual switch was destroyed.
@@ -24632,8 +24714,8 @@ type DvsDestroyedEvent struct {
}
func init() {
- minAPIVersionForType["DvsDestroyedEvent"] = "4.0"
t["DvsDestroyedEvent"] = reflect.TypeOf((*DvsDestroyedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsDestroyedEvent"] = "4.0"
}
// This class defines network rule action to drop packets.
@@ -24642,8 +24724,8 @@ type DvsDropNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsDropNetworkRuleAction"] = "5.5"
t["DvsDropNetworkRuleAction"] = reflect.TypeOf((*DvsDropNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsDropNetworkRuleAction"] = "5.5"
}
// These are dvs-related events.
@@ -24652,8 +24734,8 @@ type DvsEvent struct {
}
func init() {
- minAPIVersionForType["DvsEvent"] = "4.0"
t["DvsEvent"] = reflect.TypeOf((*DvsEvent)(nil)).Elem()
+ minAPIVersionForType["DvsEvent"] = "4.0"
}
// The event argument is a Host object.
@@ -24663,12 +24745,12 @@ type DvsEventArgument struct {
// The distributed virtual switch object.
//
// Refers instance of `DistributedVirtualSwitch`.
- Dvs ManagedObjectReference `xml:"dvs" json:"dvs" vim:"4.0"`
+ Dvs ManagedObjectReference `xml:"dvs" json:"dvs"`
}
func init() {
- minAPIVersionForType["DvsEventArgument"] = "4.0"
t["DvsEventArgument"] = reflect.TypeOf((*DvsEventArgument)(nil)).Elem()
+ minAPIVersionForType["DvsEventArgument"] = "4.0"
}
// Base class for faults that can be thrown while invoking a distributed virtual switch
@@ -24678,8 +24760,8 @@ type DvsFault struct {
}
func init() {
- minAPIVersionForType["DvsFault"] = "4.0"
t["DvsFault"] = reflect.TypeOf((*DvsFault)(nil)).Elem()
+ minAPIVersionForType["DvsFault"] = "4.0"
}
type DvsFaultFault BaseDvsFault
@@ -24721,24 +24803,24 @@ type DvsFilterConfig struct {
InheritablePolicy
// The key of Network Filter Config.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The name of the network traffic filter agent.
- AgentName string `xml:"agentName,omitempty" json:"agentName,omitempty" vim:"5.5"`
+ AgentName string `xml:"agentName,omitempty" json:"agentName,omitempty"`
// The slot number of the network filter agent.
- SlotNumber string `xml:"slotNumber,omitempty" json:"slotNumber,omitempty" vim:"5.5"`
+ SlotNumber string `xml:"slotNumber,omitempty" json:"slotNumber,omitempty"`
// Network Filter Parameter
- Parameters *DvsFilterParameter `xml:"parameters,omitempty" json:"parameters,omitempty" vim:"5.5"`
+ Parameters *DvsFilterParameter `xml:"parameters,omitempty" json:"parameters,omitempty"`
// This property specifies whether to allow all traffic or to deny all
// traffic when a Network Filter fails to configure.
//
// Please see `DvsFilterOnFailure_enum`
// for more details.
- OnFailure string `xml:"onFailure,omitempty" json:"onFailure,omitempty" vim:"5.5"`
+ OnFailure string `xml:"onFailure,omitempty" json:"onFailure,omitempty"`
}
func init() {
- minAPIVersionForType["DvsFilterConfig"] = "5.5"
t["DvsFilterConfig"] = reflect.TypeOf((*DvsFilterConfig)(nil)).Elem()
+ minAPIVersionForType["DvsFilterConfig"] = "5.5"
}
// The specification to reconfigure Network Filter.
@@ -24768,12 +24850,12 @@ type DvsFilterConfigSpec struct {
// Operation type.
//
// See `ConfigSpecOperation_enum` for valid values.
- Operation string `xml:"operation" json:"operation" vim:"5.5"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["DvsFilterConfigSpec"] = "5.5"
t["DvsFilterConfigSpec"] = reflect.TypeOf((*DvsFilterConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DvsFilterConfigSpec"] = "5.5"
}
// This class defines Network Filter parameter.
@@ -24781,12 +24863,12 @@ type DvsFilterParameter struct {
DynamicData
// List of parameters for a Network Filter.
- Parameters []string `xml:"parameters,omitempty" json:"parameters,omitempty" vim:"5.5"`
+ Parameters []string `xml:"parameters,omitempty" json:"parameters,omitempty"`
}
func init() {
- minAPIVersionForType["DvsFilterParameter"] = "5.5"
t["DvsFilterParameter"] = reflect.TypeOf((*DvsFilterParameter)(nil)).Elem()
+ minAPIVersionForType["DvsFilterParameter"] = "5.5"
}
// This class defines Network Filter Policy.
@@ -24817,12 +24899,12 @@ type DvsFilterPolicy struct {
// true in the specified array will be ignored. The updated result will
// include `DvsFilterConfig*/*DvsTrafficFilterConfig` objects
// inherited from parent, if any.
- FilterConfig []BaseDvsFilterConfig `xml:"filterConfig,omitempty,typeattr" json:"filterConfig,omitempty" vim:"5.5"`
+ FilterConfig []BaseDvsFilterConfig `xml:"filterConfig,omitempty,typeattr" json:"filterConfig,omitempty"`
}
func init() {
- minAPIVersionForType["DvsFilterPolicy"] = "5.5"
t["DvsFilterPolicy"] = reflect.TypeOf((*DvsFilterPolicy)(nil)).Elem()
+ minAPIVersionForType["DvsFilterPolicy"] = "5.5"
}
// This class defines network rule action to GRE Encapsulate a packet.
@@ -24832,12 +24914,12 @@ type DvsGreEncapNetworkRuleAction struct {
// Single IP address.
//
// Only IPv4 is supported for vSphere API 5.5.
- EncapsulationIp SingleIp `xml:"encapsulationIp" json:"encapsulationIp" vim:"5.5"`
+ EncapsulationIp SingleIp `xml:"encapsulationIp" json:"encapsulationIp"`
}
func init() {
- minAPIVersionForType["DvsGreEncapNetworkRuleAction"] = "5.5"
t["DvsGreEncapNetworkRuleAction"] = reflect.TypeOf((*DvsGreEncapNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsGreEncapNetworkRuleAction"] = "5.5"
}
// Health check status of an switch is changed.
@@ -24845,14 +24927,14 @@ type DvsHealthStatusChangeEvent struct {
HostEvent
// UUID of the DVS the host is connected to.
- SwitchUuid string `xml:"switchUuid" json:"switchUuid" vim:"5.1"`
+ SwitchUuid string `xml:"switchUuid" json:"switchUuid"`
// Health check status.
- HealthResult BaseHostMemberHealthCheckResult `xml:"healthResult,omitempty,typeattr" json:"healthResult,omitempty" vim:"5.1"`
+ HealthResult BaseHostMemberHealthCheckResult `xml:"healthResult,omitempty,typeattr" json:"healthResult,omitempty"`
}
func init() {
- minAPIVersionForType["DvsHealthStatusChangeEvent"] = "5.1"
t["DvsHealthStatusChangeEvent"] = reflect.TypeOf((*DvsHealthStatusChangeEvent)(nil)).Elem()
+ minAPIVersionForType["DvsHealthStatusChangeEvent"] = "5.1"
}
// The DVS configuration on the host was synchronized with that of
@@ -24862,12 +24944,12 @@ type DvsHostBackInSyncEvent struct {
DvsEvent
// The host that was synchronized.
- HostBackInSync HostEventArgument `xml:"hostBackInSync" json:"hostBackInSync" vim:"4.0"`
+ HostBackInSync HostEventArgument `xml:"hostBackInSync" json:"hostBackInSync"`
}
func init() {
- minAPIVersionForType["DvsHostBackInSyncEvent"] = "4.0"
t["DvsHostBackInSyncEvent"] = reflect.TypeOf((*DvsHostBackInSyncEvent)(nil)).Elem()
+ minAPIVersionForType["DvsHostBackInSyncEvent"] = "4.0"
}
// This class defines the resource allocation for a host infrastructure
@@ -24879,18 +24961,18 @@ type DvsHostInfrastructureTrafficResource struct {
//
// Possible value can be of
// `DistributedVirtualSwitchHostInfrastructureTrafficClass_enum`.
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// The description of the host infrastructure resource.
//
// This property is ignored for update operation.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"6.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// The allocation settings of the host infrastructure resource.
- AllocationInfo DvsHostInfrastructureTrafficResourceAllocation `xml:"allocationInfo" json:"allocationInfo" vim:"6.0"`
+ AllocationInfo DvsHostInfrastructureTrafficResourceAllocation `xml:"allocationInfo" json:"allocationInfo"`
}
func init() {
- minAPIVersionForType["DvsHostInfrastructureTrafficResource"] = "6.0"
t["DvsHostInfrastructureTrafficResource"] = reflect.TypeOf((*DvsHostInfrastructureTrafficResource)(nil)).Elem()
+ minAPIVersionForType["DvsHostInfrastructureTrafficResource"] = "6.0"
}
// Resource allocation information for a
@@ -24906,12 +24988,12 @@ type DvsHostInfrastructureTrafficResourceAllocation struct {
// or set to -1 in an update operation, then there is no limit on the network
// resource usage (only bounded by available resource and shares).
// Units are in Mbits/sec.
- Limit *int64 `xml:"limit" json:"limit,omitempty" vim:"6.0"`
+ Limit *int64 `xml:"limit" json:"limit,omitempty"`
// Network share.
//
// The value is used as a relative weight in competing for
// shared bandwidth, in case of resource contention.
- Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty" vim:"6.0"`
+ Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty"`
// Amount of bandwidth resource that is guaranteed available
// to the host infrastructure traffic class.
//
@@ -24921,12 +25003,12 @@ type DvsHostInfrastructureTrafficResourceAllocation struct {
// `DvsHostInfrastructureTrafficResourceAllocation.limit`, if
// `DvsHostInfrastructureTrafficResourceAllocation.limit` is set.
// Unit is Mbits/sec.
- Reservation *int64 `xml:"reservation" json:"reservation,omitempty" vim:"6.0"`
+ Reservation *int64 `xml:"reservation" json:"reservation,omitempty"`
}
func init() {
- minAPIVersionForType["DvsHostInfrastructureTrafficResourceAllocation"] = "6.0"
t["DvsHostInfrastructureTrafficResourceAllocation"] = reflect.TypeOf((*DvsHostInfrastructureTrafficResourceAllocation)(nil)).Elem()
+ minAPIVersionForType["DvsHostInfrastructureTrafficResourceAllocation"] = "6.0"
}
// A host joined the distributed virtual switch.
@@ -24934,12 +25016,12 @@ type DvsHostJoinedEvent struct {
DvsEvent
// The host that joined DVS.
- HostJoined HostEventArgument `xml:"hostJoined" json:"hostJoined" vim:"4.0"`
+ HostJoined HostEventArgument `xml:"hostJoined" json:"hostJoined"`
}
func init() {
- minAPIVersionForType["DvsHostJoinedEvent"] = "4.0"
t["DvsHostJoinedEvent"] = reflect.TypeOf((*DvsHostJoinedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsHostJoinedEvent"] = "4.0"
}
// A host left the distributed virtual switch.
@@ -24947,12 +25029,12 @@ type DvsHostLeftEvent struct {
DvsEvent
// The host that left DVS.
- HostLeft HostEventArgument `xml:"hostLeft" json:"hostLeft" vim:"4.0"`
+ HostLeft HostEventArgument `xml:"hostLeft" json:"hostLeft"`
}
func init() {
- minAPIVersionForType["DvsHostLeftEvent"] = "4.0"
t["DvsHostLeftEvent"] = reflect.TypeOf((*DvsHostLeftEvent)(nil)).Elem()
+ minAPIVersionForType["DvsHostLeftEvent"] = "4.0"
}
// A host has it's status or statusDetail updated.
@@ -24960,20 +25042,20 @@ type DvsHostStatusUpdated struct {
DvsEvent
// The host.
- HostMember HostEventArgument `xml:"hostMember" json:"hostMember" vim:"4.1"`
+ HostMember HostEventArgument `xml:"hostMember" json:"hostMember"`
// Host's old status.
- OldStatus string `xml:"oldStatus,omitempty" json:"oldStatus,omitempty" vim:"4.1"`
+ OldStatus string `xml:"oldStatus,omitempty" json:"oldStatus,omitempty"`
// Host's new status.
- NewStatus string `xml:"newStatus,omitempty" json:"newStatus,omitempty" vim:"4.1"`
+ NewStatus string `xml:"newStatus,omitempty" json:"newStatus,omitempty"`
// Comments regarding host's old status.
- OldStatusDetail string `xml:"oldStatusDetail,omitempty" json:"oldStatusDetail,omitempty" vim:"4.1"`
+ OldStatusDetail string `xml:"oldStatusDetail,omitempty" json:"oldStatusDetail,omitempty"`
// Comments regarding host's new status.
- NewStatusDetail string `xml:"newStatusDetail,omitempty" json:"newStatusDetail,omitempty" vim:"4.1"`
+ NewStatusDetail string `xml:"newStatusDetail,omitempty" json:"newStatusDetail,omitempty"`
}
func init() {
- minAPIVersionForType["DvsHostStatusUpdated"] = "4.1"
t["DvsHostStatusUpdated"] = reflect.TypeOf((*DvsHostStatusUpdated)(nil)).Elem()
+ minAPIVersionForType["DvsHostStatusUpdated"] = "4.1"
}
// The `DvsHostVNicProfile` data object describes the IP configuration
@@ -24988,8 +25070,8 @@ type DvsHostVNicProfile struct {
}
func init() {
- minAPIVersionForType["DvsHostVNicProfile"] = "4.0"
t["DvsHostVNicProfile"] = reflect.TypeOf((*DvsHostVNicProfile)(nil)).Elem()
+ minAPIVersionForType["DvsHostVNicProfile"] = "4.0"
}
// The DVS configuration on the host diverged from that of
@@ -24998,12 +25080,12 @@ type DvsHostWentOutOfSyncEvent struct {
DvsEvent
// The host that went out of sync.
- HostOutOfSync DvsOutOfSyncHostArgument `xml:"hostOutOfSync" json:"hostOutOfSync" vim:"4.0"`
+ HostOutOfSync DvsOutOfSyncHostArgument `xml:"hostOutOfSync" json:"hostOutOfSync"`
}
func init() {
- minAPIVersionForType["DvsHostWentOutOfSyncEvent"] = "4.0"
t["DvsHostWentOutOfSyncEvent"] = reflect.TypeOf((*DvsHostWentOutOfSyncEvent)(nil)).Elem()
+ minAPIVersionForType["DvsHostWentOutOfSyncEvent"] = "4.0"
}
// This event is generated when a import operation is
@@ -25014,12 +25096,12 @@ type DvsImportEvent struct {
// The type of restore operation.
//
// See `EntityImportType_enum` for valid values
- ImportType string `xml:"importType" json:"importType" vim:"5.1"`
+ ImportType string `xml:"importType" json:"importType"`
}
func init() {
- minAPIVersionForType["DvsImportEvent"] = "5.1"
t["DvsImportEvent"] = reflect.TypeOf((*DvsImportEvent)(nil)).Elem()
+ minAPIVersionForType["DvsImportEvent"] = "5.1"
}
// This class defines the IP Rule Qualifier.
@@ -25032,31 +25114,31 @@ type DvsIpNetworkRuleQualifier struct {
// IP qualifier for source.
//
// If this property is NULL, it will match "any IPv4 or any IPv6 address".
- SourceAddress BaseIpAddress `xml:"sourceAddress,omitempty,typeattr" json:"sourceAddress,omitempty" vim:"5.5"`
+ SourceAddress BaseIpAddress `xml:"sourceAddress,omitempty,typeattr" json:"sourceAddress,omitempty"`
// IP qualifier for destination.
//
// If this property is NULL, it will match "any IPv4 or any IPv6 address".
- DestinationAddress BaseIpAddress `xml:"destinationAddress,omitempty,typeattr" json:"destinationAddress,omitempty" vim:"5.5"`
+ DestinationAddress BaseIpAddress `xml:"destinationAddress,omitempty,typeattr" json:"destinationAddress,omitempty"`
// Protocols like TCP, UDP, ICMP etc.
//
// The valid value for a protocol
// is got from IANA assigned value for the protocol. This can be got
// from RFC 5237 and IANA website section related to protocol numbers.
- Protocol *IntExpression `xml:"protocol,omitempty" json:"protocol,omitempty" vim:"5.5"`
+ Protocol *IntExpression `xml:"protocol,omitempty" json:"protocol,omitempty"`
// Source IP Port.
- SourceIpPort BaseDvsIpPort `xml:"sourceIpPort,omitempty,typeattr" json:"sourceIpPort,omitempty" vim:"5.5"`
+ SourceIpPort BaseDvsIpPort `xml:"sourceIpPort,omitempty,typeattr" json:"sourceIpPort,omitempty"`
// Destination IP Port.
- DestinationIpPort BaseDvsIpPort `xml:"destinationIpPort,omitempty,typeattr" json:"destinationIpPort,omitempty" vim:"5.5"`
+ DestinationIpPort BaseDvsIpPort `xml:"destinationIpPort,omitempty,typeattr" json:"destinationIpPort,omitempty"`
// TCP flags.
//
// The valid values can be found at RFC 3168.
// TCP flags are not supported by Traffic Filtering
- TcpFlags *IntExpression `xml:"tcpFlags,omitempty" json:"tcpFlags,omitempty" vim:"5.5"`
+ TcpFlags *IntExpression `xml:"tcpFlags,omitempty" json:"tcpFlags,omitempty"`
}
func init() {
- minAPIVersionForType["DvsIpNetworkRuleQualifier"] = "5.5"
t["DvsIpNetworkRuleQualifier"] = reflect.TypeOf((*DvsIpNetworkRuleQualifier)(nil)).Elem()
+ minAPIVersionForType["DvsIpNetworkRuleQualifier"] = "5.5"
}
// Base class for specifying Ports.
@@ -25067,8 +25149,8 @@ type DvsIpPort struct {
}
func init() {
- minAPIVersionForType["DvsIpPort"] = "5.5"
t["DvsIpPort"] = reflect.TypeOf((*DvsIpPort)(nil)).Elem()
+ minAPIVersionForType["DvsIpPort"] = "5.5"
}
// This class defines a range of Ports.
@@ -25076,14 +25158,14 @@ type DvsIpPortRange struct {
DvsIpPort
// Starting port number of the ports range.
- StartPortNumber int32 `xml:"startPortNumber" json:"startPortNumber" vim:"5.5"`
+ StartPortNumber int32 `xml:"startPortNumber" json:"startPortNumber"`
// Ending port number of the ports range.
- EndPortNumber int32 `xml:"endPortNumber" json:"endPortNumber" vim:"5.5"`
+ EndPortNumber int32 `xml:"endPortNumber" json:"endPortNumber"`
}
func init() {
- minAPIVersionForType["DvsIpPortRange"] = "5.5"
t["DvsIpPortRange"] = reflect.TypeOf((*DvsIpPortRange)(nil)).Elem()
+ minAPIVersionForType["DvsIpPortRange"] = "5.5"
}
// This class defines network rule action to just log the rule.
@@ -25092,8 +25174,8 @@ type DvsLogNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsLogNetworkRuleAction"] = "5.5"
t["DvsLogNetworkRuleAction"] = reflect.TypeOf((*DvsLogNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsLogNetworkRuleAction"] = "5.5"
}
// This class defines the MAC Rule Qualifier.
@@ -25106,24 +25188,24 @@ type DvsMacNetworkRuleQualifier struct {
// MAC address for source.
//
// If this property is NULL, it will match "any MAC address".
- SourceAddress BaseMacAddress `xml:"sourceAddress,omitempty,typeattr" json:"sourceAddress,omitempty" vim:"5.5"`
+ SourceAddress BaseMacAddress `xml:"sourceAddress,omitempty,typeattr" json:"sourceAddress,omitempty"`
// MAC address for destination.
//
// If this property is NULL, it will match "any MAC address".
- DestinationAddress BaseMacAddress `xml:"destinationAddress,omitempty,typeattr" json:"destinationAddress,omitempty" vim:"5.5"`
+ DestinationAddress BaseMacAddress `xml:"destinationAddress,omitempty,typeattr" json:"destinationAddress,omitempty"`
// Protocol used.
//
// This corresponds to the EtherType field in Ethernet
// frame. The valid values can be found from IEEE list at:
// http://standards.ieee.org/regauth/ as mentioned in RFC 5342.
- Protocol *IntExpression `xml:"protocol,omitempty" json:"protocol,omitempty" vim:"5.5"`
+ Protocol *IntExpression `xml:"protocol,omitempty" json:"protocol,omitempty"`
// vlan id.
- VlanId *IntExpression `xml:"vlanId,omitempty" json:"vlanId,omitempty" vim:"5.5"`
+ VlanId *IntExpression `xml:"vlanId,omitempty" json:"vlanId,omitempty"`
}
func init() {
- minAPIVersionForType["DvsMacNetworkRuleQualifier"] = "5.5"
t["DvsMacNetworkRuleQualifier"] = reflect.TypeOf((*DvsMacNetworkRuleQualifier)(nil)).Elem()
+ minAPIVersionForType["DvsMacNetworkRuleQualifier"] = "5.5"
}
// This class defines network rule action to MAC Rewrite.
@@ -25131,12 +25213,12 @@ type DvsMacRewriteNetworkRuleAction struct {
DvsNetworkRuleAction
// Rewrite Destination MAC with this MAC address.
- RewriteMac string `xml:"rewriteMac" json:"rewriteMac" vim:"5.5"`
+ RewriteMac string `xml:"rewriteMac" json:"rewriteMac"`
}
func init() {
- minAPIVersionForType["DvsMacRewriteNetworkRuleAction"] = "5.5"
t["DvsMacRewriteNetworkRuleAction"] = reflect.TypeOf((*DvsMacRewriteNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsMacRewriteNetworkRuleAction"] = "5.5"
}
// Two distributed virtual switches was merged.
@@ -25144,14 +25226,14 @@ type DvsMergedEvent struct {
DvsEvent
// The source DVS.
- SourceDvs DvsEventArgument `xml:"sourceDvs" json:"sourceDvs" vim:"4.0"`
+ SourceDvs DvsEventArgument `xml:"sourceDvs" json:"sourceDvs"`
// The destination DVS.
- DestinationDvs DvsEventArgument `xml:"destinationDvs" json:"destinationDvs" vim:"4.0"`
+ DestinationDvs DvsEventArgument `xml:"destinationDvs" json:"destinationDvs"`
}
func init() {
- minAPIVersionForType["DvsMergedEvent"] = "4.0"
t["DvsMergedEvent"] = reflect.TypeOf((*DvsMergedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsMergedEvent"] = "4.0"
}
// This class is the base class for network rule action.
@@ -25160,8 +25242,8 @@ type DvsNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsNetworkRuleAction"] = "5.5"
t["DvsNetworkRuleAction"] = reflect.TypeOf((*DvsNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsNetworkRuleAction"] = "5.5"
}
// This class is the base class for identifying network traffic.
@@ -25169,12 +25251,12 @@ type DvsNetworkRuleQualifier struct {
DynamicData
// The key of the Qualifier
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
}
func init() {
- minAPIVersionForType["DvsNetworkRuleQualifier"] = "5.5"
t["DvsNetworkRuleQualifier"] = reflect.TypeOf((*DvsNetworkRuleQualifier)(nil)).Elem()
+ minAPIVersionForType["DvsNetworkRuleQualifier"] = "5.5"
}
// Thrown if
@@ -25185,14 +25267,14 @@ type DvsNotAuthorized struct {
DvsFault
// The extension key associated with the user-session.
- SessionExtensionKey string `xml:"sessionExtensionKey,omitempty" json:"sessionExtensionKey,omitempty" vim:"4.0"`
+ SessionExtensionKey string `xml:"sessionExtensionKey,omitempty" json:"sessionExtensionKey,omitempty"`
// The value of `DVSConfigInfo.extensionKey`.
- DvsExtensionKey string `xml:"dvsExtensionKey,omitempty" json:"dvsExtensionKey,omitempty" vim:"4.0"`
+ DvsExtensionKey string `xml:"dvsExtensionKey,omitempty" json:"dvsExtensionKey,omitempty"`
}
func init() {
- minAPIVersionForType["DvsNotAuthorized"] = "4.0"
t["DvsNotAuthorized"] = reflect.TypeOf((*DvsNotAuthorized)(nil)).Elem()
+ minAPIVersionForType["DvsNotAuthorized"] = "4.0"
}
type DvsNotAuthorizedFault DvsNotAuthorized
@@ -25206,12 +25288,12 @@ type DvsOperationBulkFault struct {
DvsFault
// Faults occurred on the host during a DistributedVirtualSwitch operation.
- HostFault []DvsOperationBulkFaultFaultOnHost `xml:"hostFault" json:"hostFault" vim:"4.0"`
+ HostFault []DvsOperationBulkFaultFaultOnHost `xml:"hostFault" json:"hostFault"`
}
func init() {
- minAPIVersionForType["DvsOperationBulkFault"] = "4.0"
t["DvsOperationBulkFault"] = reflect.TypeOf((*DvsOperationBulkFault)(nil)).Elem()
+ minAPIVersionForType["DvsOperationBulkFault"] = "4.0"
}
type DvsOperationBulkFaultFault DvsOperationBulkFault
@@ -25227,14 +25309,14 @@ type DvsOperationBulkFaultFaultOnHost struct {
// The host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The fault that occurred.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"4.0"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["DvsOperationBulkFaultFaultOnHost"] = "4.0"
t["DvsOperationBulkFaultFaultOnHost"] = reflect.TypeOf((*DvsOperationBulkFaultFaultOnHost)(nil)).Elem()
+ minAPIVersionForType["DvsOperationBulkFaultFaultOnHost"] = "4.0"
}
// The host on which the DVS configuration is different from that
@@ -25243,15 +25325,15 @@ type DvsOutOfSyncHostArgument struct {
DynamicData
// The host.
- OutOfSyncHost HostEventArgument `xml:"outOfSyncHost" json:"outOfSyncHost" vim:"4.0"`
+ OutOfSyncHost HostEventArgument `xml:"outOfSyncHost" json:"outOfSyncHost"`
// The DVS configuration parameters that are different between
// Virtual Center server and the host.
- ConfigParamters []string `xml:"configParamters" json:"configParamters" vim:"4.0"`
+ ConfigParamters []string `xml:"configParamters" json:"configParamters"`
}
func init() {
- minAPIVersionForType["DvsOutOfSyncHostArgument"] = "4.0"
t["DvsOutOfSyncHostArgument"] = reflect.TypeOf((*DvsOutOfSyncHostArgument)(nil)).Elem()
+ minAPIVersionForType["DvsOutOfSyncHostArgument"] = "4.0"
}
// A port is blocked in the distributed virtual switch.
@@ -25259,7 +25341,7 @@ type DvsPortBlockedEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// Reason for port's current status
StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"4.1"`
// The port runtime information.
@@ -25271,8 +25353,8 @@ type DvsPortBlockedEvent struct {
}
func init() {
- minAPIVersionForType["DvsPortBlockedEvent"] = "4.0"
t["DvsPortBlockedEvent"] = reflect.TypeOf((*DvsPortBlockedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortBlockedEvent"] = "4.0"
}
// A port is connected in the distributed virtual switch.
@@ -25280,14 +25362,14 @@ type DvsPortConnectedEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port's connectee.
- Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty" vim:"4.0"`
+ Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty"`
}
func init() {
- minAPIVersionForType["DvsPortConnectedEvent"] = "4.0"
t["DvsPortConnectedEvent"] = reflect.TypeOf((*DvsPortConnectedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortConnectedEvent"] = "4.0"
}
// New ports are created in the distributed virtual switch.
@@ -25295,12 +25377,12 @@ type DvsPortCreatedEvent struct {
DvsEvent
// The key of the ports that are created.
- PortKey []string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey []string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["DvsPortCreatedEvent"] = "4.0"
t["DvsPortCreatedEvent"] = reflect.TypeOf((*DvsPortCreatedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortCreatedEvent"] = "4.0"
}
// Existing ports are deleted in the distributed virtual switch.
@@ -25308,12 +25390,12 @@ type DvsPortDeletedEvent struct {
DvsEvent
// The key of the ports that are deleted.
- PortKey []string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey []string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["DvsPortDeletedEvent"] = "4.0"
t["DvsPortDeletedEvent"] = reflect.TypeOf((*DvsPortDeletedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortDeletedEvent"] = "4.0"
}
// A port is disconnected in the distributed virtual switch.
@@ -25321,14 +25403,14 @@ type DvsPortDisconnectedEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port's formal connectee.
- Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty" vim:"4.0"`
+ Connectee *DistributedVirtualSwitchPortConnectee `xml:"connectee,omitempty" json:"connectee,omitempty"`
}
func init() {
- minAPIVersionForType["DvsPortDisconnectedEvent"] = "4.0"
t["DvsPortDisconnectedEvent"] = reflect.TypeOf((*DvsPortDisconnectedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortDisconnectedEvent"] = "4.0"
}
// A port has entered passthrough mode on the distributed virtual switch.
@@ -25336,14 +25418,14 @@ type DvsPortEnteredPassthruEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
}
func init() {
- minAPIVersionForType["DvsPortEnteredPassthruEvent"] = "4.1"
t["DvsPortEnteredPassthruEvent"] = reflect.TypeOf((*DvsPortEnteredPassthruEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortEnteredPassthruEvent"] = "4.1"
}
// A port has exited passthrough mode on the distributed virtual switch.
@@ -25351,14 +25433,14 @@ type DvsPortExitedPassthruEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
}
func init() {
- minAPIVersionForType["DvsPortExitedPassthruEvent"] = "4.1"
t["DvsPortExitedPassthruEvent"] = reflect.TypeOf((*DvsPortExitedPassthruEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortExitedPassthruEvent"] = "4.1"
}
// A port was moved into the distributed virtual portgroup.
@@ -25366,16 +25448,16 @@ type DvsPortJoinPortgroupEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The portgroup key.
- PortgroupKey string `xml:"portgroupKey" json:"portgroupKey" vim:"4.0"`
+ PortgroupKey string `xml:"portgroupKey" json:"portgroupKey"`
// The portgroup name.
- PortgroupName string `xml:"portgroupName" json:"portgroupName" vim:"4.0"`
+ PortgroupName string `xml:"portgroupName" json:"portgroupName"`
}
func init() {
- minAPIVersionForType["DvsPortJoinPortgroupEvent"] = "4.0"
t["DvsPortJoinPortgroupEvent"] = reflect.TypeOf((*DvsPortJoinPortgroupEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortJoinPortgroupEvent"] = "4.0"
}
// A port was moved out of the distributed virtual portgroup.
@@ -25383,16 +25465,16 @@ type DvsPortLeavePortgroupEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The portgroup key.
- PortgroupKey string `xml:"portgroupKey" json:"portgroupKey" vim:"4.0"`
+ PortgroupKey string `xml:"portgroupKey" json:"portgroupKey"`
// The portgroup name.
- PortgroupName string `xml:"portgroupName" json:"portgroupName" vim:"4.0"`
+ PortgroupName string `xml:"portgroupName" json:"portgroupName"`
}
func init() {
- minAPIVersionForType["DvsPortLeavePortgroupEvent"] = "4.0"
t["DvsPortLeavePortgroupEvent"] = reflect.TypeOf((*DvsPortLeavePortgroupEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortLeavePortgroupEvent"] = "4.0"
}
// A port of which link status is changed to down in the distributed
@@ -25401,14 +25483,14 @@ type DvsPortLinkDownEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
}
func init() {
- minAPIVersionForType["DvsPortLinkDownEvent"] = "4.0"
t["DvsPortLinkDownEvent"] = reflect.TypeOf((*DvsPortLinkDownEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortLinkDownEvent"] = "4.0"
}
// A port of which link status is changed to up in the distributed
@@ -25417,14 +25499,14 @@ type DvsPortLinkUpEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
}
func init() {
- minAPIVersionForType["DvsPortLinkUpEvent"] = "4.0"
t["DvsPortLinkUpEvent"] = reflect.TypeOf((*DvsPortLinkUpEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortLinkUpEvent"] = "4.0"
}
// Existing ports are reconfigured in the distributed virtual switch.
@@ -25432,14 +25514,14 @@ type DvsPortReconfiguredEvent struct {
DvsEvent
// The key of the ports that are reconfigured.
- PortKey []string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey []string `xml:"portKey" json:"portKey"`
// The configuration values changed during the reconfiguration.
ConfigChanges []ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["DvsPortReconfiguredEvent"] = "4.0"
t["DvsPortReconfiguredEvent"] = reflect.TypeOf((*DvsPortReconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortReconfiguredEvent"] = "4.0"
}
// A port of which runtime information is changed in the vNetwork Distributed
@@ -25448,14 +25530,14 @@ type DvsPortRuntimeChangeEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The new port runtime information.
- RuntimeInfo DVPortStatus `xml:"runtimeInfo" json:"runtimeInfo" vim:"5.1"`
+ RuntimeInfo DVPortStatus `xml:"runtimeInfo" json:"runtimeInfo"`
}
func init() {
- minAPIVersionForType["DvsPortRuntimeChangeEvent"] = "5.1"
t["DvsPortRuntimeChangeEvent"] = reflect.TypeOf((*DvsPortRuntimeChangeEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortRuntimeChangeEvent"] = "5.1"
}
// A port is unblocked in the distributed virtual switch.
@@ -25463,7 +25545,7 @@ type DvsPortUnblockedEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"4.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The port runtime information.
RuntimeInfo *DVPortStatus `xml:"runtimeInfo,omitempty" json:"runtimeInfo,omitempty" vim:"5.1"`
// Previous state of the DvsPort.
@@ -25473,8 +25555,8 @@ type DvsPortUnblockedEvent struct {
}
func init() {
- minAPIVersionForType["DvsPortUnblockedEvent"] = "4.0"
t["DvsPortUnblockedEvent"] = reflect.TypeOf((*DvsPortUnblockedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortUnblockedEvent"] = "4.0"
}
// A port of which vendor specific state is changed in the vNetwork Distributed
@@ -25483,12 +25565,12 @@ type DvsPortVendorSpecificStateChangeEvent struct {
DvsEvent
// The port key.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["DvsPortVendorSpecificStateChangeEvent"] = "5.1"
t["DvsPortVendorSpecificStateChangeEvent"] = reflect.TypeOf((*DvsPortVendorSpecificStateChangeEvent)(nil)).Elem()
+ minAPIVersionForType["DvsPortVendorSpecificStateChangeEvent"] = "5.1"
}
// The `DvsProfile` data object represents the distributed virtual switch
@@ -25501,19 +25583,19 @@ type DvsProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Unique identifier for the distributed virtual switch.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// List of subprofiles that map physical NICs to uplink ports.
//
// Use the `PnicUplinkProfile.key` property to access
// subprofiles in the list.
- Uplink []PnicUplinkProfile `xml:"uplink,omitempty" json:"uplink,omitempty" vim:"4.0"`
+ Uplink []PnicUplinkProfile `xml:"uplink,omitempty" json:"uplink,omitempty"`
}
func init() {
- minAPIVersionForType["DvsProfile"] = "4.0"
t["DvsProfile"] = reflect.TypeOf((*DvsProfile)(nil)).Elem()
+ minAPIVersionForType["DvsProfile"] = "4.0"
}
// This class defines network rule action to punt.
@@ -25525,8 +25607,8 @@ type DvsPuntNetworkRuleAction struct {
}
func init() {
- minAPIVersionForType["DvsPuntNetworkRuleAction"] = "5.5"
t["DvsPuntNetworkRuleAction"] = reflect.TypeOf((*DvsPuntNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsPuntNetworkRuleAction"] = "5.5"
}
// This class defines network rule action to ratelimit packets.
@@ -25534,19 +25616,19 @@ type DvsRateLimitNetworkRuleAction struct {
DvsNetworkRuleAction
// Rate limit value specified in packets per second.
- PacketsPerSecond int32 `xml:"packetsPerSecond" json:"packetsPerSecond" vim:"5.5"`
+ PacketsPerSecond int32 `xml:"packetsPerSecond" json:"packetsPerSecond"`
}
func init() {
- minAPIVersionForType["DvsRateLimitNetworkRuleAction"] = "5.5"
t["DvsRateLimitNetworkRuleAction"] = reflect.TypeOf((*DvsRateLimitNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsRateLimitNetworkRuleAction"] = "5.5"
}
// The parameters of `DistributedVirtualSwitch.DvsReconfigureVmVnicNetworkResourcePool_Task`.
type DvsReconfigureVmVnicNetworkResourcePoolRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The Virtual NIC network resource pool configuration specification and operation type.
- ConfigSpec []DvsVmVnicResourcePoolConfigSpec `xml:"configSpec" json:"configSpec" vim:"6.0"`
+ ConfigSpec []DvsVmVnicResourcePoolConfigSpec `xml:"configSpec" json:"configSpec"`
}
func init() {
@@ -25568,14 +25650,14 @@ type DvsReconfiguredEvent struct {
DvsEvent
// The reconfiguration spec.
- ConfigSpec BaseDVSConfigSpec `xml:"configSpec,typeattr" json:"configSpec" vim:"4.0"`
+ ConfigSpec BaseDVSConfigSpec `xml:"configSpec,typeattr" json:"configSpec"`
// The configuration values changed during the reconfiguration.
ConfigChanges *ChangesInfoEventArgument `xml:"configChanges,omitempty" json:"configChanges,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["DvsReconfiguredEvent"] = "4.0"
t["DvsReconfiguredEvent"] = reflect.TypeOf((*DvsReconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["DvsReconfiguredEvent"] = "4.0"
}
// A distributed virtual switch was renamed.
@@ -25583,14 +25665,14 @@ type DvsRenamedEvent struct {
DvsEvent
// The old DistributedVirtualSwitch name.
- OldName string `xml:"oldName" json:"oldName" vim:"4.0"`
+ OldName string `xml:"oldName" json:"oldName"`
// The new DistributedVirtualSwitch name.
- NewName string `xml:"newName" json:"newName" vim:"4.0"`
+ NewName string `xml:"newName" json:"newName"`
}
func init() {
- minAPIVersionForType["DvsRenamedEvent"] = "4.0"
t["DvsRenamedEvent"] = reflect.TypeOf((*DvsRenamedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsRenamedEvent"] = "4.0"
}
// This class defines the bandwidth reservation information for the
@@ -25602,7 +25684,7 @@ type DvsResourceRuntimeInfo struct {
// Traffic for this switch.
//
// Units in Mbits/s.
- Capacity int32 `xml:"capacity,omitempty" json:"capacity,omitempty" vim:"6.0"`
+ Capacity int32 `xml:"capacity,omitempty" json:"capacity,omitempty"`
// usage: Current total usage.
//
// This is the sum of all reservations
@@ -25610,21 +25692,21 @@ type DvsResourceRuntimeInfo struct {
// sum of reservation taken by `VirtualEthernetCard` whose
// backing is not associdated with any `DVSVmVnicNetworkResourcePool`.
// Units in Mbits/s.
- Usage int32 `xml:"usage,omitempty" json:"usage,omitempty" vim:"6.0"`
+ Usage int32 `xml:"usage,omitempty" json:"usage,omitempty"`
// Available: Current available resource for reservation (capacity - usage).
//
// Units in Mbits/s.
- Available int32 `xml:"available,omitempty" json:"available,omitempty" vim:"6.0"`
+ Available int32 `xml:"available,omitempty" json:"available,omitempty"`
// The reservation taken by `VirtualEthernetCard` of which the
// backing is not associdated with any `DVSVmVnicNetworkResourcePool`
- AllocatedResource []DvsVnicAllocatedResource `xml:"allocatedResource,omitempty" json:"allocatedResource,omitempty" vim:"6.0"`
+ AllocatedResource []DvsVnicAllocatedResource `xml:"allocatedResource,omitempty" json:"allocatedResource,omitempty"`
// The runtime information of `DVSVmVnicNetworkResourcePool`.
- VmVnicNetworkResourcePoolRuntime []DvsVmVnicNetworkResourcePoolRuntimeInfo `xml:"vmVnicNetworkResourcePoolRuntime,omitempty" json:"vmVnicNetworkResourcePoolRuntime,omitempty" vim:"6.0"`
+ VmVnicNetworkResourcePoolRuntime []DvsVmVnicNetworkResourcePoolRuntimeInfo `xml:"vmVnicNetworkResourcePoolRuntime,omitempty" json:"vmVnicNetworkResourcePoolRuntime,omitempty"`
}
func init() {
- minAPIVersionForType["DvsResourceRuntimeInfo"] = "6.0"
t["DvsResourceRuntimeInfo"] = reflect.TypeOf((*DvsResourceRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["DvsResourceRuntimeInfo"] = "6.0"
}
// This event is generated when a restore operation is
@@ -25634,8 +25716,8 @@ type DvsRestoreEvent struct {
}
func init() {
- minAPIVersionForType["DvsRestoreEvent"] = "5.1"
t["DvsRestoreEvent"] = reflect.TypeOf((*DvsRestoreEvent)(nil)).Elem()
+ minAPIVersionForType["DvsRestoreEvent"] = "5.1"
}
// Deprecated as of vSphere API 5.5.
@@ -25648,16 +25730,16 @@ type DvsScopeViolated struct {
// The configured scope.
//
// Refers instances of `ManagedEntity`.
- Scope []ManagedObjectReference `xml:"scope" json:"scope" vim:"4.0"`
+ Scope []ManagedObjectReference `xml:"scope" json:"scope"`
// The entity that violates the scope.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"4.0"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
}
func init() {
- minAPIVersionForType["DvsScopeViolated"] = "4.0"
t["DvsScopeViolated"] = reflect.TypeOf((*DvsScopeViolated)(nil)).Elem()
+ minAPIVersionForType["DvsScopeViolated"] = "4.0"
}
type DvsScopeViolatedFault DvsScopeViolated
@@ -25678,8 +25760,8 @@ type DvsServiceConsoleVNicProfile struct {
}
func init() {
- minAPIVersionForType["DvsServiceConsoleVNicProfile"] = "4.0"
t["DvsServiceConsoleVNicProfile"] = reflect.TypeOf((*DvsServiceConsoleVNicProfile)(nil)).Elem()
+ minAPIVersionForType["DvsServiceConsoleVNicProfile"] = "4.0"
}
// This class defines a Single Port
@@ -25687,12 +25769,12 @@ type DvsSingleIpPort struct {
DvsIpPort
// The IP port number.
- PortNumber int32 `xml:"portNumber" json:"portNumber" vim:"5.5"`
+ PortNumber int32 `xml:"portNumber" json:"portNumber"`
}
func init() {
- minAPIVersionForType["DvsSingleIpPort"] = "5.5"
t["DvsSingleIpPort"] = reflect.TypeOf((*DvsSingleIpPort)(nil)).Elem()
+ minAPIVersionForType["DvsSingleIpPort"] = "5.5"
}
// This class defines the System Traffic Qualifier.
@@ -25706,12 +25788,12 @@ type DvsSystemTrafficNetworkRuleQualifier struct {
//
// See `DistributedVirtualSwitchHostInfrastructureTrafficClass_enum`
// for valid values.
- TypeOfSystemTraffic *StringExpression `xml:"typeOfSystemTraffic,omitempty" json:"typeOfSystemTraffic,omitempty" vim:"5.5"`
+ TypeOfSystemTraffic *StringExpression `xml:"typeOfSystemTraffic,omitempty" json:"typeOfSystemTraffic,omitempty"`
}
func init() {
- minAPIVersionForType["DvsSystemTrafficNetworkRuleQualifier"] = "5.5"
t["DvsSystemTrafficNetworkRuleQualifier"] = reflect.TypeOf((*DvsSystemTrafficNetworkRuleQualifier)(nil)).Elem()
+ minAPIVersionForType["DvsSystemTrafficNetworkRuleQualifier"] = "5.5"
}
// This class defines Traffic Filter configuration.
@@ -25747,12 +25829,12 @@ type DvsTrafficFilterConfig struct {
DvsFilterConfig
// Network Traffic Ruleset
- TrafficRuleset *DvsTrafficRuleset `xml:"trafficRuleset,omitempty" json:"trafficRuleset,omitempty" vim:"5.5"`
+ TrafficRuleset *DvsTrafficRuleset `xml:"trafficRuleset,omitempty" json:"trafficRuleset,omitempty"`
}
func init() {
- minAPIVersionForType["DvsTrafficFilterConfig"] = "5.5"
t["DvsTrafficFilterConfig"] = reflect.TypeOf((*DvsTrafficFilterConfig)(nil)).Elem()
+ minAPIVersionForType["DvsTrafficFilterConfig"] = "5.5"
}
// The specification to reconfigure Traffic Filter.
@@ -25782,12 +25864,12 @@ type DvsTrafficFilterConfigSpec struct {
// Operation type.
//
// See `ConfigSpecOperation_enum` for valid values.
- Operation string `xml:"operation" json:"operation" vim:"5.5"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["DvsTrafficFilterConfigSpec"] = "5.5"
t["DvsTrafficFilterConfigSpec"] = reflect.TypeOf((*DvsTrafficFilterConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DvsTrafficFilterConfigSpec"] = "5.5"
}
// This class defines a single rule that will be applied to network traffic.
@@ -25795,14 +25877,14 @@ type DvsTrafficRule struct {
DynamicData
// The key of the rule
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// Description of the rule
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"5.5"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Sequence of this rule.
//
// i.e, the order in which this rule appears
// in the ruleset.
- Sequence int32 `xml:"sequence,omitempty" json:"sequence,omitempty" vim:"5.5"`
+ Sequence int32 `xml:"sequence,omitempty" json:"sequence,omitempty"`
// List of Network rule qualifiers.
//
// 'AND' of this array of
@@ -25813,19 +25895,19 @@ type DvsTrafficRule struct {
// 1 `DvsMacNetworkRuleQualifier` and
// 1 `DvsSystemTrafficNetworkRuleQualifier` for a total of
// 3 `DvsTrafficRule.qualifier`
- Qualifier []BaseDvsNetworkRuleQualifier `xml:"qualifier,omitempty,typeattr" json:"qualifier,omitempty" vim:"5.5"`
+ Qualifier []BaseDvsNetworkRuleQualifier `xml:"qualifier,omitempty,typeattr" json:"qualifier,omitempty"`
// Action to be applied for this rule.
- Action BaseDvsNetworkRuleAction `xml:"action,omitempty,typeattr" json:"action,omitempty" vim:"5.5"`
+ Action BaseDvsNetworkRuleAction `xml:"action,omitempty,typeattr" json:"action,omitempty"`
// Whether this rule needs to be applied to incoming packets,
// to outgoing packets or both.
//
// See `DvsNetworkRuleDirectionType_enum` for valid values.
- Direction string `xml:"direction,omitempty" json:"direction,omitempty" vim:"5.5"`
+ Direction string `xml:"direction,omitempty" json:"direction,omitempty"`
}
func init() {
- minAPIVersionForType["DvsTrafficRule"] = "5.5"
t["DvsTrafficRule"] = reflect.TypeOf((*DvsTrafficRule)(nil)).Elem()
+ minAPIVersionForType["DvsTrafficRule"] = "5.5"
}
// This class defines a ruleset(set of rules) that will be
@@ -25834,21 +25916,21 @@ type DvsTrafficRuleset struct {
DynamicData
// The key of the ruleset.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// Whether ruleset is enabled or not.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"5.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Precedence of the ruleset.
//
// Rulesets for a port will be executed
// in the order of their precedence.
- Precedence int32 `xml:"precedence,omitempty" json:"precedence,omitempty" vim:"5.5"`
+ Precedence int32 `xml:"precedence,omitempty" json:"precedence,omitempty"`
// List of rules belonging to this ruleset.
- Rules []DvsTrafficRule `xml:"rules,omitempty" json:"rules,omitempty" vim:"5.5"`
+ Rules []DvsTrafficRule `xml:"rules,omitempty" json:"rules,omitempty"`
}
func init() {
- minAPIVersionForType["DvsTrafficRuleset"] = "5.5"
t["DvsTrafficRuleset"] = reflect.TypeOf((*DvsTrafficRuleset)(nil)).Elem()
+ minAPIVersionForType["DvsTrafficRuleset"] = "5.5"
}
// This class defines network rule action to tag packets(qos,dscp) or
@@ -25864,7 +25946,7 @@ type DvsUpdateTagNetworkRuleAction struct {
// The valid values are between 0-7. Please refer the IEEE 802.1p
// documentation for more details about what each value represents.
// If qosTag is set to 0 then the tag on the packets will be cleared.
- QosTag int32 `xml:"qosTag,omitempty" json:"qosTag,omitempty" vim:"5.5"`
+ QosTag int32 `xml:"qosTag,omitempty" json:"qosTag,omitempty"`
// DSCP tag.
//
// The valid values for DSCP tag can be found in
@@ -25872,12 +25954,12 @@ type DvsUpdateTagNetworkRuleAction struct {
// The information can also be got from reading all of the below RFC:
// RFC 2474, RFC 2597, RFC 3246, RFC 5865.
// If the dscpTag is set to 0 then the dscp tag on packets will be cleared.
- DscpTag int32 `xml:"dscpTag,omitempty" json:"dscpTag,omitempty" vim:"5.5"`
+ DscpTag int32 `xml:"dscpTag,omitempty" json:"dscpTag,omitempty"`
}
func init() {
- minAPIVersionForType["DvsUpdateTagNetworkRuleAction"] = "5.5"
t["DvsUpdateTagNetworkRuleAction"] = reflect.TypeOf((*DvsUpdateTagNetworkRuleAction)(nil)).Elem()
+ minAPIVersionForType["DvsUpdateTagNetworkRuleAction"] = "5.5"
}
// An upgrade for the distributed virtual switch is available.
@@ -25885,12 +25967,12 @@ type DvsUpgradeAvailableEvent struct {
DvsEvent
// The product info of the upgrade.
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo" vim:"4.0"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo"`
}
func init() {
- minAPIVersionForType["DvsUpgradeAvailableEvent"] = "4.0"
t["DvsUpgradeAvailableEvent"] = reflect.TypeOf((*DvsUpgradeAvailableEvent)(nil)).Elem()
+ minAPIVersionForType["DvsUpgradeAvailableEvent"] = "4.0"
}
// An upgrade for the distributed virtual switch is in progress.
@@ -25898,12 +25980,12 @@ type DvsUpgradeInProgressEvent struct {
DvsEvent
// The product info of the upgrade.
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo" vim:"4.0"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo"`
}
func init() {
- minAPIVersionForType["DvsUpgradeInProgressEvent"] = "4.0"
t["DvsUpgradeInProgressEvent"] = reflect.TypeOf((*DvsUpgradeInProgressEvent)(nil)).Elem()
+ minAPIVersionForType["DvsUpgradeInProgressEvent"] = "4.0"
}
// An upgrade for the distributed virtual switch is rejected.
@@ -25911,12 +25993,12 @@ type DvsUpgradeRejectedEvent struct {
DvsEvent
// The product info of the upgrade.
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo" vim:"4.0"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo"`
}
func init() {
- minAPIVersionForType["DvsUpgradeRejectedEvent"] = "4.0"
t["DvsUpgradeRejectedEvent"] = reflect.TypeOf((*DvsUpgradeRejectedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsUpgradeRejectedEvent"] = "4.0"
}
// The distributed virtual switch was upgraded.
@@ -25924,12 +26006,12 @@ type DvsUpgradedEvent struct {
DvsEvent
// The product info of the upgrade.
- ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo" vim:"4.0"`
+ ProductInfo DistributedVirtualSwitchProductSpec `xml:"productInfo" json:"productInfo"`
}
func init() {
- minAPIVersionForType["DvsUpgradedEvent"] = "4.0"
t["DvsUpgradedEvent"] = reflect.TypeOf((*DvsUpgradedEvent)(nil)).Elem()
+ minAPIVersionForType["DvsUpgradedEvent"] = "4.0"
}
// The `DvsVNicProfile` data object is the base object
@@ -25942,14 +26024,14 @@ type DvsVNicProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// IP address for the Virtual NIC belonging to a distributed virtual switch.
- IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig" vim:"4.0"`
+ IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig"`
}
func init() {
- minAPIVersionForType["DvsVNicProfile"] = "4.0"
t["DvsVNicProfile"] = reflect.TypeOf((*DvsVNicProfile)(nil)).Elem()
+ minAPIVersionForType["DvsVNicProfile"] = "4.0"
}
// This class defines the runtime information for the
@@ -25958,22 +26040,22 @@ type DvsVmVnicNetworkResourcePoolRuntimeInfo struct {
DynamicData
// The key of the virtual NIC network resource pool
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// The name of the virtual NIC network resource pool
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"6.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Capacity: Reservation allocated for this Network Resource Pool.
//
// Units in Mbits/s.
- Capacity int32 `xml:"capacity,omitempty" json:"capacity,omitempty" vim:"6.0"`
+ Capacity int32 `xml:"capacity,omitempty" json:"capacity,omitempty"`
// usage: Reservation taken by all `VirtualEthernetCard` for which the
// backing is associdated with this `DVSVmVnicNetworkResourcePool`.
//
// Units in Mbits/s.
- Usage int32 `xml:"usage,omitempty" json:"usage,omitempty" vim:"6.0"`
+ Usage int32 `xml:"usage,omitempty" json:"usage,omitempty"`
// Available: Current available resource for reservation (capacity - usage).
//
// Units in Mbits/s.
- Available int32 `xml:"available,omitempty" json:"available,omitempty" vim:"6.0"`
+ Available int32 `xml:"available,omitempty" json:"available,omitempty"`
// The status of the virtual NIC network resource pool
// See `ManagedEntityStatus_enum` for possible values
//
@@ -25988,15 +26070,15 @@ type DvsVmVnicNetworkResourcePoolRuntimeInfo struct {
// `green` indicates that the resource pool
// is in good state. The reservations for all virtual network adapters can
// be fulfilled.
- Status string `xml:"status" json:"status" vim:"6.0"`
+ Status string `xml:"status" json:"status"`
// The virtual network adapaters that
// are currently associated with the resource pool
- AllocatedResource []DvsVnicAllocatedResource `xml:"allocatedResource,omitempty" json:"allocatedResource,omitempty" vim:"6.0"`
+ AllocatedResource []DvsVnicAllocatedResource `xml:"allocatedResource,omitempty" json:"allocatedResource,omitempty"`
}
func init() {
- minAPIVersionForType["DvsVmVnicNetworkResourcePoolRuntimeInfo"] = "6.0"
t["DvsVmVnicNetworkResourcePoolRuntimeInfo"] = reflect.TypeOf((*DvsVmVnicNetworkResourcePoolRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["DvsVmVnicNetworkResourcePoolRuntimeInfo"] = "6.0"
}
// Resource allocation information for a virtual NIC network resource pool.
@@ -26006,12 +26088,12 @@ type DvsVmVnicResourceAllocation struct {
// Quota for the total amount of virtual machine nic reservation in this pool.
//
// Unit in Mbits/sec.
- ReservationQuota int64 `xml:"reservationQuota,omitempty" json:"reservationQuota,omitempty" vim:"6.0"`
+ ReservationQuota int64 `xml:"reservationQuota,omitempty" json:"reservationQuota,omitempty"`
}
func init() {
- minAPIVersionForType["DvsVmVnicResourceAllocation"] = "6.0"
t["DvsVmVnicResourceAllocation"] = reflect.TypeOf((*DvsVmVnicResourceAllocation)(nil)).Elem()
+ minAPIVersionForType["DvsVmVnicResourceAllocation"] = "6.0"
}
// The configuration specification data object to update the resource configuration
@@ -26022,12 +26104,12 @@ type DvsVmVnicResourcePoolConfigSpec struct {
// The type of operation on the virtual NIC network resource pool
// Possible value can be of
// `ConfigSpecOperation_enum`
- Operation string `xml:"operation" json:"operation" vim:"6.0"`
+ Operation string `xml:"operation" json:"operation"`
// The key of the network resource pool.
//
// The property is ignored for add
// operations.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"6.0"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The configVersion is a unique identifier for a given version
// of the configuration.
//
@@ -26041,20 +26123,20 @@ type DvsVmVnicResourcePoolConfigSpec struct {
// specified configVersion. This field can be used to guard against
// updates that that may have occurred between the time when configVersion
// was read and when it is applied.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"6.0"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
// The resource allocation for the virtual NIC network resource pool.
- AllocationInfo *DvsVmVnicResourceAllocation `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty" vim:"6.0"`
+ AllocationInfo *DvsVmVnicResourceAllocation `xml:"allocationInfo,omitempty" json:"allocationInfo,omitempty"`
// The name for the virtual NIC network resource pool.
//
// The property is required for Add operations.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"6.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The description for the virtual NIC network resource pool.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"6.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
- minAPIVersionForType["DvsVmVnicResourcePoolConfigSpec"] = "6.0"
t["DvsVmVnicResourcePoolConfigSpec"] = reflect.TypeOf((*DvsVmVnicResourcePoolConfigSpec)(nil)).Elem()
+ minAPIVersionForType["DvsVmVnicResourcePoolConfigSpec"] = "6.0"
}
// This class defines the allocated resource information on a virtual NIC
@@ -26064,18 +26146,18 @@ type DvsVnicAllocatedResource struct {
// The virtual machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The virtual NIC key
- VnicKey string `xml:"vnicKey" json:"vnicKey" vim:"6.0"`
+ VnicKey string `xml:"vnicKey" json:"vnicKey"`
// The reservation specification on the virtual NIC.
//
// Units in Mbits/s
- Reservation *int64 `xml:"reservation" json:"reservation,omitempty" vim:"6.0"`
+ Reservation *int64 `xml:"reservation" json:"reservation,omitempty"`
}
func init() {
- minAPIVersionForType["DvsVnicAllocatedResource"] = "6.0"
t["DvsVnicAllocatedResource"] = reflect.TypeOf((*DvsVnicAllocatedResource)(nil)).Elem()
+ minAPIVersionForType["DvsVnicAllocatedResource"] = "6.0"
}
// DynamicArray is a data object type that represents an array of dynamically-typed
@@ -26125,8 +26207,8 @@ type EVCAdmissionFailed struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailed"] = "4.0"
t["EVCAdmissionFailed"] = reflect.TypeOf((*EVCAdmissionFailed)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailed"] = "4.0"
}
// The host's CPU hardware is a family/model that should support the
@@ -26137,12 +26219,12 @@ type EVCAdmissionFailedCPUFeaturesForMode struct {
// The Enhanced VMotion Compatibility mode that is currently in effect for
// the cluster.
- CurrentEVCModeKey string `xml:"currentEVCModeKey" json:"currentEVCModeKey" vim:"4.0"`
+ CurrentEVCModeKey string `xml:"currentEVCModeKey" json:"currentEVCModeKey"`
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedCPUFeaturesForMode"] = "4.0"
t["EVCAdmissionFailedCPUFeaturesForMode"] = reflect.TypeOf((*EVCAdmissionFailedCPUFeaturesForMode)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedCPUFeaturesForMode"] = "4.0"
}
type EVCAdmissionFailedCPUFeaturesForModeFault EVCAdmissionFailedCPUFeaturesForMode
@@ -26158,8 +26240,8 @@ type EVCAdmissionFailedCPUModel struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedCPUModel"] = "4.0"
t["EVCAdmissionFailedCPUModel"] = reflect.TypeOf((*EVCAdmissionFailedCPUModel)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedCPUModel"] = "4.0"
}
type EVCAdmissionFailedCPUModelFault EVCAdmissionFailedCPUModel
@@ -26175,12 +26257,12 @@ type EVCAdmissionFailedCPUModelForMode struct {
// The Enhanced VMotion Compatibility mode that is currently in effect for
// the cluster.
- CurrentEVCModeKey string `xml:"currentEVCModeKey" json:"currentEVCModeKey" vim:"4.0"`
+ CurrentEVCModeKey string `xml:"currentEVCModeKey" json:"currentEVCModeKey"`
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedCPUModelForMode"] = "4.0"
t["EVCAdmissionFailedCPUModelForMode"] = reflect.TypeOf((*EVCAdmissionFailedCPUModelForMode)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedCPUModelForMode"] = "4.0"
}
type EVCAdmissionFailedCPUModelForModeFault EVCAdmissionFailedCPUModelForMode
@@ -26195,14 +26277,14 @@ type EVCAdmissionFailedCPUVendor struct {
EVCAdmissionFailed
// The CPU vendor required for entering the cluster.
- ClusterCPUVendor string `xml:"clusterCPUVendor" json:"clusterCPUVendor" vim:"4.0"`
+ ClusterCPUVendor string `xml:"clusterCPUVendor" json:"clusterCPUVendor"`
// The CPU vendor of the host.
- HostCPUVendor string `xml:"hostCPUVendor" json:"hostCPUVendor" vim:"4.0"`
+ HostCPUVendor string `xml:"hostCPUVendor" json:"hostCPUVendor"`
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedCPUVendor"] = "4.0"
t["EVCAdmissionFailedCPUVendor"] = reflect.TypeOf((*EVCAdmissionFailedCPUVendor)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedCPUVendor"] = "4.0"
}
type EVCAdmissionFailedCPUVendorFault EVCAdmissionFailedCPUVendor
@@ -26218,8 +26300,8 @@ type EVCAdmissionFailedCPUVendorUnknown struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedCPUVendorUnknown"] = "4.0"
t["EVCAdmissionFailedCPUVendorUnknown"] = reflect.TypeOf((*EVCAdmissionFailedCPUVendorUnknown)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedCPUVendorUnknown"] = "4.0"
}
type EVCAdmissionFailedCPUVendorUnknownFault EVCAdmissionFailedCPUVendorUnknown
@@ -26241,8 +26323,8 @@ type EVCAdmissionFailedHostDisconnected struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedHostDisconnected"] = "4.0"
t["EVCAdmissionFailedHostDisconnected"] = reflect.TypeOf((*EVCAdmissionFailedHostDisconnected)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedHostDisconnected"] = "4.0"
}
type EVCAdmissionFailedHostDisconnectedFault EVCAdmissionFailedHostDisconnected
@@ -26257,8 +26339,8 @@ type EVCAdmissionFailedHostSoftware struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedHostSoftware"] = "4.0"
t["EVCAdmissionFailedHostSoftware"] = reflect.TypeOf((*EVCAdmissionFailedHostSoftware)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedHostSoftware"] = "4.0"
}
type EVCAdmissionFailedHostSoftwareFault EVCAdmissionFailedHostSoftware
@@ -26274,8 +26356,8 @@ type EVCAdmissionFailedHostSoftwareForMode struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedHostSoftwareForMode"] = "4.0"
t["EVCAdmissionFailedHostSoftwareForMode"] = reflect.TypeOf((*EVCAdmissionFailedHostSoftwareForMode)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedHostSoftwareForMode"] = "4.0"
}
type EVCAdmissionFailedHostSoftwareForModeFault EVCAdmissionFailedHostSoftwareForMode
@@ -26303,8 +26385,8 @@ type EVCAdmissionFailedVmActive struct {
}
func init() {
- minAPIVersionForType["EVCAdmissionFailedVmActive"] = "4.0"
t["EVCAdmissionFailedVmActive"] = reflect.TypeOf((*EVCAdmissionFailedVmActive)(nil)).Elem()
+ minAPIVersionForType["EVCAdmissionFailedVmActive"] = "4.0"
}
type EVCAdmissionFailedVmActiveFault EVCAdmissionFailedVmActive
@@ -26323,8 +26405,8 @@ type EVCConfigFault struct {
}
func init() {
- minAPIVersionForType["EVCConfigFault"] = "2.5u2"
t["EVCConfigFault"] = reflect.TypeOf((*EVCConfigFault)(nil)).Elem()
+ minAPIVersionForType["EVCConfigFault"] = "2.5u2"
}
type EVCConfigFaultFault BaseEVCConfigFault
@@ -26399,7 +26481,7 @@ type EVCMode struct {
// for the host to meet the minimum requirements of the EVC mode baseline.
FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"5.1"`
// CPU hardware vendor required for this mode.
- Vendor string `xml:"vendor" json:"vendor" vim:"4.0"`
+ Vendor string `xml:"vendor" json:"vendor"`
// Identifiers for feature groups that are at least partially present in
// the `EVCMode.guaranteedCPUFeatures` array for this mode.
//
@@ -26412,12 +26494,12 @@ type EVCMode struct {
// Use this property to compare vendor tier values from two modes.
// Do not use this property to determine the presence or absence
// of specific features.
- VendorTier int32 `xml:"vendorTier" json:"vendorTier" vim:"4.0"`
+ VendorTier int32 `xml:"vendorTier" json:"vendorTier"`
}
func init() {
- minAPIVersionForType["EVCMode"] = "4.0"
t["EVCMode"] = reflect.TypeOf((*EVCMode)(nil)).Elem()
+ minAPIVersionForType["EVCMode"] = "4.0"
}
// An attempt to enable Enhanced VMotion Compatibility on a cluster, or change
@@ -26428,14 +26510,14 @@ type EVCModeIllegalByVendor struct {
EVCConfigFault
// The CPU vendor in use in the cluster.
- ClusterCPUVendor string `xml:"clusterCPUVendor" json:"clusterCPUVendor" vim:"2.5u2"`
+ ClusterCPUVendor string `xml:"clusterCPUVendor" json:"clusterCPUVendor"`
// The CPU vendor for the requested EVC mode.
- ModeCPUVendor string `xml:"modeCPUVendor" json:"modeCPUVendor" vim:"2.5u2"`
+ ModeCPUVendor string `xml:"modeCPUVendor" json:"modeCPUVendor"`
}
func init() {
- minAPIVersionForType["EVCModeIllegalByVendor"] = "2.5u2"
t["EVCModeIllegalByVendor"] = reflect.TypeOf((*EVCModeIllegalByVendor)(nil)).Elem()
+ minAPIVersionForType["EVCModeIllegalByVendor"] = "2.5u2"
}
type EVCModeIllegalByVendorFault EVCModeIllegalByVendor
@@ -26451,19 +26533,19 @@ type EVCModeUnsupportedByHosts struct {
EVCConfigFault
// The requested EVC mode.
- EvcMode string `xml:"evcMode,omitempty" json:"evcMode,omitempty" vim:"4.0"`
+ EvcMode string `xml:"evcMode,omitempty" json:"evcMode,omitempty"`
// The set of hosts which are blocking EVC because their CPU hardware does
// not support the requested EVC mode.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The names of the hosts in the host array.
- HostName []string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"4.0"`
+ HostName []string `xml:"hostName,omitempty" json:"hostName,omitempty"`
}
func init() {
- minAPIVersionForType["EVCModeUnsupportedByHosts"] = "4.0"
t["EVCModeUnsupportedByHosts"] = reflect.TypeOf((*EVCModeUnsupportedByHosts)(nil)).Elem()
+ minAPIVersionForType["EVCModeUnsupportedByHosts"] = "4.0"
}
type EVCModeUnsupportedByHostsFault EVCModeUnsupportedByHosts
@@ -26482,14 +26564,14 @@ type EVCUnsupportedByHostHardware struct {
// not support CPUID override.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host" json:"host" vim:"4.1"`
+ Host []ManagedObjectReference `xml:"host" json:"host"`
// The names of the hosts in the host array.
- HostName []string `xml:"hostName" json:"hostName" vim:"4.1"`
+ HostName []string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["EVCUnsupportedByHostHardware"] = "4.1"
t["EVCUnsupportedByHostHardware"] = reflect.TypeOf((*EVCUnsupportedByHostHardware)(nil)).Elem()
+ minAPIVersionForType["EVCUnsupportedByHostHardware"] = "4.1"
}
type EVCUnsupportedByHostHardwareFault EVCUnsupportedByHostHardware
@@ -26508,14 +26590,14 @@ type EVCUnsupportedByHostSoftware struct {
// software does not support CPUID override.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host" json:"host" vim:"4.1"`
+ Host []ManagedObjectReference `xml:"host" json:"host"`
// The names of the hosts in the host array.
- HostName []string `xml:"hostName" json:"hostName" vim:"4.1"`
+ HostName []string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["EVCUnsupportedByHostSoftware"] = "4.1"
t["EVCUnsupportedByHostSoftware"] = reflect.TypeOf((*EVCUnsupportedByHostSoftware)(nil)).Elem()
+ minAPIVersionForType["EVCUnsupportedByHostSoftware"] = "4.1"
}
type EVCUnsupportedByHostSoftwareFault EVCUnsupportedByHostSoftware
@@ -26569,8 +26651,8 @@ type EightHostLimitViolated struct {
}
func init() {
- minAPIVersionForType["EightHostLimitViolated"] = "4.0"
t["EightHostLimitViolated"] = reflect.TypeOf((*EightHostLimitViolated)(nil)).Elem()
+ minAPIVersionForType["EightHostLimitViolated"] = "4.0"
}
type EightHostLimitViolatedFault EightHostLimitViolated
@@ -26700,7 +26782,7 @@ func init() {
type EnableCryptoRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The key to be used for coredump encryption
- KeyPlain CryptoKeyPlain `xml:"keyPlain" json:"keyPlain" vim:"6.5"`
+ KeyPlain CryptoKeyPlain `xml:"keyPlain" json:"keyPlain"`
}
func init() {
@@ -26869,12 +26951,12 @@ type EncryptionKeyRequired struct {
InvalidState
// A list of required key identifiers.
- RequiredKey []CryptoKeyId `xml:"requiredKey,omitempty" json:"requiredKey,omitempty" vim:"6.7"`
+ RequiredKey []CryptoKeyId `xml:"requiredKey,omitempty" json:"requiredKey,omitempty"`
}
func init() {
- minAPIVersionForType["EncryptionKeyRequired"] = "6.7"
t["EncryptionKeyRequired"] = reflect.TypeOf((*EncryptionKeyRequired)(nil)).Elem()
+ minAPIVersionForType["EncryptionKeyRequired"] = "6.7"
}
type EncryptionKeyRequiredFault EncryptionKeyRequired
@@ -26917,7 +26999,7 @@ type EnterMaintenanceModeRequestType struct {
// reasons: (a) no compatible host found for reregistration, (b) DRS
// is disabled for the virtual machine. If set to false, powered-off
// virtual machines do not need to be moved.
- EvacuatePoweredOffVms *bool `xml:"evacuatePoweredOffVms" json:"evacuatePoweredOffVms,omitempty"`
+ EvacuatePoweredOffVms *bool `xml:"evacuatePoweredOffVms" json:"evacuatePoweredOffVms,omitempty" vim:"2.5"`
// Any additional actions to be taken by the host upon
// entering maintenance mode. If omitted, default actions will
// be taken as documented in the `HostMaintenanceSpec`.
@@ -26961,8 +27043,8 @@ type EnteredStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["EnteredStandbyModeEvent"] = "2.5"
t["EnteredStandbyModeEvent"] = reflect.TypeOf((*EnteredStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["EnteredStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of entering
@@ -26998,8 +27080,8 @@ type EnteringStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["EnteringStandbyModeEvent"] = "2.5"
t["EnteringStandbyModeEvent"] = reflect.TypeOf((*EnteringStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["EnteringStandbyModeEvent"] = "2.5"
}
// `EntityBackup` is an abstract data object that contains
@@ -27015,8 +27097,8 @@ type EntityBackup struct {
}
func init() {
- minAPIVersionForType["EntityBackup"] = "5.1"
t["EntityBackup"] = reflect.TypeOf((*EntityBackup)(nil)).Elem()
+ minAPIVersionForType["EntityBackup"] = "5.1"
}
// The `EntityBackupConfig` data object
@@ -27050,9 +27132,9 @@ type EntityBackupConfig struct {
//
// See `EntityType_enum`
// for valid values.
- EntityType string `xml:"entityType" json:"entityType" vim:"5.1"`
+ EntityType string `xml:"entityType" json:"entityType"`
// Opaque blob that contains the configuration of the entity.
- ConfigBlob []byte `xml:"configBlob" json:"configBlob" vim:"5.1"`
+ ConfigBlob []byte `xml:"configBlob" json:"configBlob"`
// Unique identifier of the exported entity or the entity to be restored
// through an import operation.
// - If you are importing a virtual distributed switch and the import type is
@@ -27065,13 +27147,13 @@ type EntityBackupConfig struct {
// `DistributedVirtualPortgroup*.*DistributedVirtualPortgroup.key`.
//
// The Server ignores the key value when the import operation creates a new entity.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.1"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// Name of the exported entity or the entity to be restored with the backup configuration.
//
// If you are importing an entity and the import type is
// `applyToEntitySpecified`,
// the Server will use this value to rename the existing entity.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.1"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Container for this entity.
//
// If `EntityBackupConfig.entityType` is "distributedVirtualSwitch",
@@ -27080,14 +27162,14 @@ type EntityBackupConfig struct {
// `DistributedVirtualSwitch`.
//
// Refers instance of `ManagedEntity`.
- Container *ManagedObjectReference `xml:"container,omitempty" json:"container,omitempty" vim:"5.1"`
+ Container *ManagedObjectReference `xml:"container,omitempty" json:"container,omitempty"`
// Configuration version.
- ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty" vim:"5.1"`
+ ConfigVersion string `xml:"configVersion,omitempty" json:"configVersion,omitempty"`
}
func init() {
- minAPIVersionForType["EntityBackupConfig"] = "5.1"
t["EntityBackupConfig"] = reflect.TypeOf((*EntityBackupConfig)(nil)).Elem()
+ minAPIVersionForType["EntityBackupConfig"] = "5.1"
}
// The event argument is a managed entity object.
@@ -27112,14 +27194,14 @@ type EntityPrivilege struct {
// The entity on which the privileges are checked.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"5.5"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
// whether a set of privileges are granted for the managed entity.
- PrivAvailability []PrivilegeAvailability `xml:"privAvailability" json:"privAvailability" vim:"5.5"`
+ PrivAvailability []PrivilegeAvailability `xml:"privAvailability" json:"privAvailability"`
}
func init() {
- minAPIVersionForType["EntityPrivilege"] = "5.5"
t["EntityPrivilege"] = reflect.TypeOf((*EntityPrivilege)(nil)).Elem()
+ minAPIVersionForType["EntityPrivilege"] = "5.5"
}
// Static strings used for describing an enumerated type.
@@ -27127,14 +27209,14 @@ type EnumDescription struct {
DynamicData
// Type of enumeration being described.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Element descriptions of all the tags for that enumerated type.
- Tags []BaseElementDescription `xml:"tags,typeattr" json:"tags" vim:"4.0"`
+ Tags []BaseElementDescription `xml:"tags,typeattr" json:"tags"`
}
func init() {
- minAPIVersionForType["EnumDescription"] = "4.0"
t["EnumDescription"] = reflect.TypeOf((*EnumDescription)(nil)).Elem()
+ minAPIVersionForType["EnumDescription"] = "4.0"
}
// Represent search criteria and filters on a `VirtualMachineConfigOption`
@@ -27145,19 +27227,19 @@ type EnvironmentBrowserConfigOptionQuerySpec struct {
// The key found in the VirtualMachineConfigOptionDescriptor,
// obtained by invoking the
// `EnvironmentBrowser.QueryConfigOptionDescriptor` operation.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"6.0"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The host whose ConfigOption is requested.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The Guest OS IDs whose `VirtualMachineConfigOption` is requested
// `GuestOsIdentifier`
- GuestId []string `xml:"guestId,omitempty" json:"guestId,omitempty" vim:"6.0"`
+ GuestId []string `xml:"guestId,omitempty" json:"guestId,omitempty"`
}
func init() {
- minAPIVersionForType["EnvironmentBrowserConfigOptionQuerySpec"] = "6.0"
t["EnvironmentBrowserConfigOptionQuerySpec"] = reflect.TypeOf((*EnvironmentBrowserConfigOptionQuerySpec)(nil)).Elem()
+ minAPIVersionForType["EnvironmentBrowserConfigOptionQuerySpec"] = "6.0"
}
// This event is a general error event from upgrade.
@@ -27186,7 +27268,7 @@ type EstimateDatabaseSizeRequestType struct {
// the current virtual center historical settings are used by default.
// There are many other optional fields in the dbSizeParam structure
// that are appropriately filled up based on some heuristics.
- DbSizeParam DatabaseSizeParam `xml:"dbSizeParam" json:"dbSizeParam" vim:"4.0"`
+ DbSizeParam DatabaseSizeParam `xml:"dbSizeParam" json:"dbSizeParam"`
}
func init() {
@@ -27225,7 +27307,7 @@ func init() {
type EsxAgentHostManagerUpdateConfigRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// configuration of agent virtual machine resources
- ConfigInfo HostEsxAgentHostManagerConfigInfo `xml:"configInfo" json:"configInfo" vim:"5.0"`
+ ConfigInfo HostEsxAgentHostManagerConfigInfo `xml:"configInfo" json:"configInfo"`
}
func init() {
@@ -27241,7 +27323,7 @@ type EvacuateVsanNodeRequestType struct {
// Specifies the data evacuation mode. See `HostMaintenanceSpec`.
// If unspecified, the default mode chosen will be
// `ensureObjectAccessibility`.
- MaintenanceSpec HostMaintenanceSpec `xml:"maintenanceSpec" json:"maintenanceSpec" vim:"5.5"`
+ MaintenanceSpec HostMaintenanceSpec `xml:"maintenanceSpec" json:"maintenanceSpec"`
// Time to wait for the task to complete in seconds.
// If the value is less than or equal to zero, there
// is no timeout. The operation fails with a Timedout
@@ -27272,12 +27354,12 @@ type EvaluationLicenseSource struct {
LicenseSource
// The number of remaining hours before product evaluation expires
- RemainingHours int64 `xml:"remainingHours,omitempty" json:"remainingHours,omitempty" vim:"2.5"`
+ RemainingHours int64 `xml:"remainingHours,omitempty" json:"remainingHours,omitempty"`
}
func init() {
- minAPIVersionForType["EvaluationLicenseSource"] = "2.5"
t["EvaluationLicenseSource"] = reflect.TypeOf((*EvaluationLicenseSource)(nil)).Elem()
+ minAPIVersionForType["EvaluationLicenseSource"] = "2.5"
}
type EvcManager EvcManagerRequestType
@@ -27352,7 +27434,7 @@ type EventAlarmExpression struct {
// Deprecated use eventTypeId
instead.
//
// The type of the event to trigger the alarm on.
- EventType string `xml:"eventType" json:"eventType" vim:"2.5"`
+ EventType string `xml:"eventType" json:"eventType"`
// The eventTypeId of the event to match.
//
// The semantics of how eventTypeId matching is done is as follows:
@@ -27364,7 +27446,7 @@ type EventAlarmExpression struct {
//
// Either eventType
or eventTypeId
_must_
// be set.
- EventTypeId string `xml:"eventTypeId,omitempty" json:"eventTypeId,omitempty" vim:"2.5"`
+ EventTypeId string `xml:"eventTypeId,omitempty" json:"eventTypeId,omitempty"`
// Name of the type of managed object on which the event is logged.
//
// An event alarm defined on a `ManagedEntity`
@@ -27397,8 +27479,8 @@ type EventAlarmExpression struct {
}
func init() {
- minAPIVersionForType["EventAlarmExpression"] = "2.5"
t["EventAlarmExpression"] = reflect.TypeOf((*EventAlarmExpression)(nil)).Elem()
+ minAPIVersionForType["EventAlarmExpression"] = "2.5"
}
// Encapsulates Comparison of an event's attribute to a value.
@@ -27406,16 +27488,16 @@ type EventAlarmExpressionComparison struct {
DynamicData
// The attribute of the event to compare
- AttributeName string `xml:"attributeName" json:"attributeName" vim:"4.0"`
+ AttributeName string `xml:"attributeName" json:"attributeName"`
// An operator from the list above
- Operator string `xml:"operator" json:"operator" vim:"4.0"`
+ Operator string `xml:"operator" json:"operator"`
// The value to compare against
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["EventAlarmExpressionComparison"] = "4.0"
t["EventAlarmExpressionComparison"] = reflect.TypeOf((*EventAlarmExpressionComparison)(nil)).Elem()
+ minAPIVersionForType["EventAlarmExpressionComparison"] = "4.0"
}
// Describes an available event argument name for an Event type, which
@@ -27424,21 +27506,21 @@ type EventArgDesc struct {
DynamicData
// The name of the argument
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The type of the argument.
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// The localized description of the event argument.
//
// The key holds
// the localization prefix for the argument, which is decided by
// the Event type that it is actually declared in, which may be a
// base type of this event type.
- Description BaseElementDescription `xml:"description,omitempty,typeattr" json:"description,omitempty" vim:"4.0"`
+ Description BaseElementDescription `xml:"description,omitempty,typeattr" json:"description,omitempty"`
}
func init() {
- minAPIVersionForType["EventArgDesc"] = "4.0"
t["EventArgDesc"] = reflect.TypeOf((*EventArgDesc)(nil)).Elem()
+ minAPIVersionForType["EventArgDesc"] = "4.0"
}
// This is the base type for event argument types.
@@ -27596,21 +27678,21 @@ type EventEx struct {
Event
// The type of the event.
- EventTypeId string `xml:"eventTypeId" json:"eventTypeId" vim:"4.0"`
+ EventTypeId string `xml:"eventTypeId" json:"eventTypeId"`
// The severity level of the message: null=>info.
//
// See also `EventEventSeverity_enum`.
- Severity string `xml:"severity,omitempty" json:"severity,omitempty" vim:"4.0"`
+ Severity string `xml:"severity,omitempty" json:"severity,omitempty"`
// An arbitrary message string, not localized.
- Message string `xml:"message,omitempty" json:"message,omitempty" vim:"4.0"`
+ Message string `xml:"message,omitempty" json:"message,omitempty"`
// The event arguments associated with the event
- Arguments []KeyAnyValue `xml:"arguments,omitempty" json:"arguments,omitempty" vim:"4.0"`
+ Arguments []KeyAnyValue `xml:"arguments,omitempty" json:"arguments,omitempty"`
// The ID of the object (VM, Host, Folder..) which the event pertains to.
//
// Federated or local inventory path.
- ObjectId string `xml:"objectId,omitempty" json:"objectId,omitempty" vim:"4.0"`
+ ObjectId string `xml:"objectId,omitempty" json:"objectId,omitempty"`
// the type of the object, if known to the VirtualCenter inventory
- ObjectType string `xml:"objectType,omitempty" json:"objectType,omitempty" vim:"4.0"`
+ ObjectType string `xml:"objectType,omitempty" json:"objectType,omitempty"`
// The name of the object
ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty" vim:"4.1"`
// The fault that triggered the event, if any
@@ -27618,8 +27700,8 @@ type EventEx struct {
}
func init() {
- minAPIVersionForType["EventEx"] = "4.0"
t["EventEx"] = reflect.TypeOf((*EventEx)(nil)).Elem()
+ minAPIVersionForType["EventEx"] = "4.0"
}
// Event filter used to query events in the history collector database.
@@ -27792,7 +27874,7 @@ type ExecuteHostProfileRequestType struct {
// Additional configuration data to be applied to the host.
// This should contain all of the host-specific data, including data from from
// previous calls to the method.
- DeferredParam []ProfileDeferredPolicyOptionParameter `xml:"deferredParam,omitempty" json:"deferredParam,omitempty" vim:"4.0"`
+ DeferredParam []ProfileDeferredPolicyOptionParameter `xml:"deferredParam,omitempty" json:"deferredParam,omitempty"`
}
func init() {
@@ -27880,8 +27962,8 @@ type ExitStandbyModeFailedEvent struct {
}
func init() {
- minAPIVersionForType["ExitStandbyModeFailedEvent"] = "4.0"
t["ExitStandbyModeFailedEvent"] = reflect.TypeOf((*ExitStandbyModeFailedEvent)(nil)).Elem()
+ minAPIVersionForType["ExitStandbyModeFailedEvent"] = "4.0"
}
// This event records that the host is no longer in
@@ -27891,8 +27973,8 @@ type ExitedStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["ExitedStandbyModeEvent"] = "2.5"
t["ExitedStandbyModeEvent"] = reflect.TypeOf((*ExitedStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["ExitedStandbyModeEvent"] = "2.5"
}
// This event records that a host has begun the process of
@@ -27902,8 +27984,8 @@ type ExitingStandbyModeEvent struct {
}
func init() {
- minAPIVersionForType["ExitingStandbyModeEvent"] = "4.0"
t["ExitingStandbyModeEvent"] = reflect.TypeOf((*ExitingStandbyModeEvent)(nil)).Elem()
+ minAPIVersionForType["ExitingStandbyModeEvent"] = "4.0"
}
type ExpandVmfsDatastore ExpandVmfsDatastoreRequestType
@@ -27921,7 +28003,7 @@ type ExpandVmfsDatastoreRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The specification describing which extent of the VMFS
// datastore to expand.
- Spec VmfsDatastoreExpandSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec VmfsDatastoreExpandSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -27962,8 +28044,8 @@ type ExpiredAddonLicense struct {
}
func init() {
- minAPIVersionForType["ExpiredAddonLicense"] = "2.5"
t["ExpiredAddonLicense"] = reflect.TypeOf((*ExpiredAddonLicense)(nil)).Elem()
+ minAPIVersionForType["ExpiredAddonLicense"] = "2.5"
}
type ExpiredAddonLicenseFault ExpiredAddonLicense
@@ -27979,8 +28061,8 @@ type ExpiredEditionLicense struct {
}
func init() {
- minAPIVersionForType["ExpiredEditionLicense"] = "2.5"
t["ExpiredEditionLicense"] = reflect.TypeOf((*ExpiredEditionLicense)(nil)).Elem()
+ minAPIVersionForType["ExpiredEditionLicense"] = "2.5"
}
type ExpiredEditionLicenseFault ExpiredEditionLicense
@@ -28000,8 +28082,8 @@ type ExpiredFeatureLicense struct {
}
func init() {
- minAPIVersionForType["ExpiredFeatureLicense"] = "2.5"
t["ExpiredFeatureLicense"] = reflect.TypeOf((*ExpiredFeatureLicense)(nil)).Elem()
+ minAPIVersionForType["ExpiredFeatureLicense"] = "2.5"
}
type ExpiredFeatureLicenseFault BaseExpiredFeatureLicense
@@ -28110,20 +28192,20 @@ type ExtExtendedProductInfo struct {
DynamicData
// URL to extension vendor.
- CompanyUrl string `xml:"companyUrl,omitempty" json:"companyUrl,omitempty" vim:"5.0"`
+ CompanyUrl string `xml:"companyUrl,omitempty" json:"companyUrl,omitempty"`
// URL to vendor's description of this extension.
- ProductUrl string `xml:"productUrl,omitempty" json:"productUrl,omitempty" vim:"5.0"`
+ ProductUrl string `xml:"productUrl,omitempty" json:"productUrl,omitempty"`
// URL to management UI for this extension.
- ManagementUrl string `xml:"managementUrl,omitempty" json:"managementUrl,omitempty" vim:"5.0"`
+ ManagementUrl string `xml:"managementUrl,omitempty" json:"managementUrl,omitempty"`
// The VirtualMachine or VirtualApp that is running this extension.
//
// Refers instance of `ManagedEntity`.
- Self *ManagedObjectReference `xml:"self,omitempty" json:"self,omitempty" vim:"5.0"`
+ Self *ManagedObjectReference `xml:"self,omitempty" json:"self,omitempty"`
}
func init() {
- minAPIVersionForType["ExtExtendedProductInfo"] = "5.0"
t["ExtExtendedProductInfo"] = reflect.TypeOf((*ExtExtendedProductInfo)(nil)).Elem()
+ minAPIVersionForType["ExtExtendedProductInfo"] = "5.0"
}
// This data object contains information about entities managed by this
@@ -28140,7 +28222,7 @@ type ExtManagedEntityInfo struct {
// This matches the
// `type` field in the configuration
// about a virtual machine or vApp.
- Type string `xml:"type" json:"type" vim:"5.0"`
+ Type string `xml:"type" json:"type"`
// The URL to a 16x16 pixel icon in PNG format for entities of this
// type managed by this extension.
//
@@ -28150,7 +28232,7 @@ type ExtManagedEntityInfo struct {
// icon, the icon at
// `iconUrl`, if found, is
// scaled down to 16x16 pixels.
- SmallIconUrl string `xml:"smallIconUrl,omitempty" json:"smallIconUrl,omitempty" vim:"5.0"`
+ SmallIconUrl string `xml:"smallIconUrl,omitempty" json:"smallIconUrl,omitempty"`
// The URL to an icon in PNG format that is no larger than 256x256
// pixels.
//
@@ -28163,12 +28245,12 @@ type ExtManagedEntityInfo struct {
// This is typically displayed
// by clients, and should provide users with information about the
// function of entities of this type.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"5.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
- minAPIVersionForType["ExtManagedEntityInfo"] = "5.0"
t["ExtManagedEntityInfo"] = reflect.TypeOf((*ExtManagedEntityInfo)(nil)).Elem()
+ minAPIVersionForType["ExtManagedEntityInfo"] = "5.0"
}
// This data object encapsulates the Solution Manager configuration for
@@ -28182,18 +28264,18 @@ type ExtSolutionManagerInfo struct {
// List of tabs that must be shown in the Solution Manager for this extension.
//
// Tabs are shown ordered by their position in this array.
- Tab []ExtSolutionManagerInfoTabInfo `xml:"tab,omitempty" json:"tab,omitempty" vim:"5.0"`
+ Tab []ExtSolutionManagerInfoTabInfo `xml:"tab,omitempty" json:"tab,omitempty"`
// URL for an icon for this extension.
//
// The icon will be shown in the Solution
// Manager for this extension. The icon must be 16x16, and should be in PNG
// format.
- SmallIconUrl string `xml:"smallIconUrl,omitempty" json:"smallIconUrl,omitempty" vim:"5.0"`
+ SmallIconUrl string `xml:"smallIconUrl,omitempty" json:"smallIconUrl,omitempty"`
}
func init() {
- minAPIVersionForType["ExtSolutionManagerInfo"] = "5.0"
t["ExtSolutionManagerInfo"] = reflect.TypeOf((*ExtSolutionManagerInfo)(nil)).Elem()
+ minAPIVersionForType["ExtSolutionManagerInfo"] = "5.0"
}
// Deprecated as of vSphere API 5.1.
@@ -28204,25 +28286,25 @@ type ExtSolutionManagerInfoTabInfo struct {
DynamicData
// The name of the tab.
- Label string `xml:"label" json:"label" vim:"5.0"`
+ Label string `xml:"label" json:"label"`
// The URL for the webpage to show in the tab.
//
// Extra parameters will be added
// to this URL when vSphere Client loads it. See the "Customizing the vSphere
// Client" technical note for more information.
- Url string `xml:"url" json:"url" vim:"5.0"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["ExtSolutionManagerInfoTabInfo"] = "5.0"
t["ExtSolutionManagerInfoTabInfo"] = reflect.TypeOf((*ExtSolutionManagerInfoTabInfo)(nil)).Elem()
+ minAPIVersionForType["ExtSolutionManagerInfoTabInfo"] = "5.0"
}
// The parameters of `VcenterVStorageObjectManager.ExtendDisk_Task`.
type ExtendDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be extended.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual disk is located.
//
// Refers instance of `Datastore`.
@@ -28258,11 +28340,11 @@ type ExtendHCIRequestType struct {
// `ClusterComputeResourceClusterConfigResult.failedHosts`. Specify
// `ClusterComputeResourceHostConfigurationInput.hostVmkNics` only if `dvsSetting`
// is set.
- HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty" json:"hostInputs,omitempty" vim:"6.7.1"`
+ HostInputs []ClusterComputeResourceHostConfigurationInput `xml:"hostInputs,omitempty" json:"hostInputs,omitempty"`
// Specification to configure vSAN on specified set of
// hosts. See vim.vsan.ReconfigSpec for details. This parameter
// should be specified only when vSan is enabled on the cluster.
- VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty" json:"vSanConfigSpec,omitempty" vim:"6.0"`
+ VSanConfigSpec *SDDCBase `xml:"vSanConfigSpec,omitempty" json:"vSanConfigSpec,omitempty"`
}
func init() {
@@ -28322,7 +28404,7 @@ type ExtendVirtualDiskRequestType struct {
NewCapacityKb int64 `xml:"newCapacityKb" json:"newCapacityKb"`
// If true, the extended part of the disk will be
// explicitly filled with zeroes.
- EagerZero *bool `xml:"eagerZero" json:"eagerZero,omitempty"`
+ EagerZero *bool `xml:"eagerZero" json:"eagerZero,omitempty" vim:"4.0"`
}
func init() {
@@ -28381,10 +28463,10 @@ type ExtendedDescription struct {
// respectively.
// Description.summary and Description.label will contain
// the strings in server locale.
- MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix" vim:"4.0"`
+ MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix"`
// Provides named arguments that can be used to localize the
// message in the catalog.
- MessageArg []KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty" vim:"4.0"`
+ MessageArg []KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty"`
}
func init() {
@@ -28407,10 +28489,10 @@ type ExtendedElementDescription struct {
// respectively.
// ElementDescription.summary and ElementDescription.label will contain
// the strings in server locale.
- MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix" vim:"4.0"`
+ MessageCatalogKeyPrefix string `xml:"messageCatalogKeyPrefix" json:"messageCatalogKeyPrefix"`
// Provides named arguments that can be used to localize the
// message in the catalog.
- MessageArg []KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty" vim:"4.0"`
+ MessageArg []KeyAnyValue `xml:"messageArg,omitempty" json:"messageArg,omitempty"`
}
func init() {
@@ -28422,16 +28504,16 @@ type ExtendedEvent struct {
GeneralEvent
// The id of the type of extended event.
- EventTypeId string `xml:"eventTypeId" json:"eventTypeId" vim:"2.5"`
+ EventTypeId string `xml:"eventTypeId" json:"eventTypeId"`
// The object on which the event was logged.
- ManagedObject ManagedObjectReference `xml:"managedObject" json:"managedObject" vim:"2.5"`
+ ManagedObject ManagedObjectReference `xml:"managedObject" json:"managedObject"`
// Key/value pairs associated with event.
- Data []ExtendedEventPair `xml:"data,omitempty" json:"data,omitempty" vim:"2.5"`
+ Data []ExtendedEventPair `xml:"data,omitempty" json:"data,omitempty"`
}
func init() {
- minAPIVersionForType["ExtendedEvent"] = "2.5"
t["ExtendedEvent"] = reflect.TypeOf((*ExtendedEvent)(nil)).Elem()
+ minAPIVersionForType["ExtendedEvent"] = "2.5"
}
// key/value pair
@@ -28443,8 +28525,8 @@ type ExtendedEventPair struct {
}
func init() {
- minAPIVersionForType["ExtendedEventPair"] = "2.5"
t["ExtendedEventPair"] = reflect.TypeOf((*ExtendedEventPair)(nil)).Elem()
+ minAPIVersionForType["ExtendedEventPair"] = "2.5"
}
// This fault is the container for faults logged by extensions.
@@ -28452,14 +28534,14 @@ type ExtendedFault struct {
VimFault
// The id of the type of extended fault.
- FaultTypeId string `xml:"faultTypeId" json:"faultTypeId" vim:"2.5"`
+ FaultTypeId string `xml:"faultTypeId" json:"faultTypeId"`
// Key/value pairs associated with fault.
- Data []KeyValue `xml:"data,omitempty" json:"data,omitempty" vim:"2.5"`
+ Data []KeyValue `xml:"data,omitempty" json:"data,omitempty"`
}
func init() {
- minAPIVersionForType["ExtendedFault"] = "2.5"
t["ExtendedFault"] = reflect.TypeOf((*ExtendedFault)(nil)).Elem()
+ minAPIVersionForType["ExtendedFault"] = "2.5"
}
type ExtendedFaultFault ExtendedFault
@@ -28476,7 +28558,7 @@ type Extension struct {
DynamicData
// Description of extension.
- Description BaseDescription `xml:"description,typeattr" json:"description" vim:"2.5"`
+ Description BaseDescription `xml:"description,typeattr" json:"description"`
// Extension key.
//
// Should follow java package naming conventions
@@ -28490,7 +28572,7 @@ type Extension struct {
// 3. Comma (ascii 0x2c), Forward slash (ascii 0x2f), Backward slash (ascii 0x5c),
// Hash/Pound (ascii 0x23), Plus (ascii 0x2b), Greater (ascii 0x3e), Lesser (ascii 0x3c),
// Equals (ascii 0x3d), Semi-colon (ascii 0x3b) and Double quote (ascii 0x22).
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// Company information.
Company string `xml:"company,omitempty" json:"company,omitempty" vim:"4.0"`
// Type of extension (example may include CP-DVS, NUOVA-DVS, etc.).
@@ -28498,25 +28580,25 @@ type Extension struct {
// Extension version number as a dot-separated string.
//
// For example, "1.0.0"
- Version string `xml:"version" json:"version" vim:"2.5"`
+ Version string `xml:"version" json:"version"`
// Subject name from client certificate.
- SubjectName string `xml:"subjectName,omitempty" json:"subjectName,omitempty" vim:"2.5"`
+ SubjectName string `xml:"subjectName,omitempty" json:"subjectName,omitempty"`
// Servers for this extension.
- Server []ExtensionServerInfo `xml:"server,omitempty" json:"server,omitempty" vim:"2.5"`
+ Server []ExtensionServerInfo `xml:"server,omitempty" json:"server,omitempty"`
// Clients for this extension.
- Client []ExtensionClientInfo `xml:"client,omitempty" json:"client,omitempty" vim:"2.5"`
+ Client []ExtensionClientInfo `xml:"client,omitempty" json:"client,omitempty"`
// Definitions of tasks defined by this extension.
- TaskList []ExtensionTaskTypeInfo `xml:"taskList,omitempty" json:"taskList,omitempty" vim:"2.5"`
+ TaskList []ExtensionTaskTypeInfo `xml:"taskList,omitempty" json:"taskList,omitempty"`
// Definitions of events defined by this extension.
- EventList []ExtensionEventTypeInfo `xml:"eventList,omitempty" json:"eventList,omitempty" vim:"2.5"`
+ EventList []ExtensionEventTypeInfo `xml:"eventList,omitempty" json:"eventList,omitempty"`
// Definitions of faults defined by this extension.
- FaultList []ExtensionFaultTypeInfo `xml:"faultList,omitempty" json:"faultList,omitempty" vim:"2.5"`
+ FaultList []ExtensionFaultTypeInfo `xml:"faultList,omitempty" json:"faultList,omitempty"`
// Definitions privileges defined by this extension.
- PrivilegeList []ExtensionPrivilegeInfo `xml:"privilegeList,omitempty" json:"privilegeList,omitempty" vim:"2.5"`
+ PrivilegeList []ExtensionPrivilegeInfo `xml:"privilegeList,omitempty" json:"privilegeList,omitempty"`
// Resource data for all locales
- ResourceList []ExtensionResourceInfo `xml:"resourceList,omitempty" json:"resourceList,omitempty" vim:"2.5"`
+ ResourceList []ExtensionResourceInfo `xml:"resourceList,omitempty" json:"resourceList,omitempty"`
// Last extension heartbeat time.
- LastHeartbeatTime time.Time `xml:"lastHeartbeatTime" json:"lastHeartbeatTime" vim:"2.5"`
+ LastHeartbeatTime time.Time `xml:"lastHeartbeatTime" json:"lastHeartbeatTime"`
// Health specification provided by this extension.
HealthInfo *ExtensionHealthInfo `xml:"healthInfo,omitempty" json:"healthInfo,omitempty" vim:"4.0"`
// OVF consumer specification provided by this extension.
@@ -28541,8 +28623,8 @@ type Extension struct {
}
func init() {
- minAPIVersionForType["Extension"] = "2.5"
t["Extension"] = reflect.TypeOf((*Extension)(nil)).Elem()
+ minAPIVersionForType["Extension"] = "2.5"
}
// This data object type describes a client of the extension.
@@ -28552,20 +28634,20 @@ type ExtensionClientInfo struct {
// Client version number as a dot-separated string.
//
// For example, "1.0.0"
- Version string `xml:"version" json:"version" vim:"2.5"`
+ Version string `xml:"version" json:"version"`
// Description of client.
- Description BaseDescription `xml:"description,typeattr" json:"description" vim:"2.5"`
+ Description BaseDescription `xml:"description,typeattr" json:"description"`
// Company information.
- Company string `xml:"company" json:"company" vim:"2.5"`
+ Company string `xml:"company" json:"company"`
// Type of client (examples may include win32, .net, linux, etc.).
- Type string `xml:"type" json:"type" vim:"2.5"`
+ Type string `xml:"type" json:"type"`
// Plugin url.
- Url string `xml:"url" json:"url" vim:"2.5"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["ExtensionClientInfo"] = "2.5"
t["ExtensionClientInfo"] = reflect.TypeOf((*ExtensionClientInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionClientInfo"] = "2.5"
}
// This data object type describes event types defined by the extension.
@@ -28576,7 +28658,7 @@ type ExtensionEventTypeInfo struct {
//
// Should follow java package
// naming conventions for uniqueness.
- EventID string `xml:"eventID" json:"eventID" vim:"2.5"`
+ EventID string `xml:"eventID" json:"eventID"`
// Optional XML descriptor for the EventType.
//
// The structure of this descriptor is:
@@ -28616,8 +28698,8 @@ type ExtensionEventTypeInfo struct {
}
func init() {
- minAPIVersionForType["ExtensionEventTypeInfo"] = "2.5"
t["ExtensionEventTypeInfo"] = reflect.TypeOf((*ExtensionEventTypeInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionEventTypeInfo"] = "2.5"
}
// This data object type describes fault types defined by the extension.
@@ -28628,12 +28710,12 @@ type ExtensionFaultTypeInfo struct {
//
// Should follow java package
// naming conventions for uniqueness.
- FaultID string `xml:"faultID" json:"faultID" vim:"2.5"`
+ FaultID string `xml:"faultID" json:"faultID"`
}
func init() {
- minAPIVersionForType["ExtensionFaultTypeInfo"] = "2.5"
t["ExtensionFaultTypeInfo"] = reflect.TypeOf((*ExtensionFaultTypeInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionFaultTypeInfo"] = "2.5"
}
// This data object encapsulates the health specification for the
@@ -28645,8 +28727,8 @@ type ExtensionHealthInfo struct {
}
func init() {
- minAPIVersionForType["ExtensionHealthInfo"] = "4.0"
t["ExtensionHealthInfo"] = reflect.TypeOf((*ExtensionHealthInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionHealthInfo"] = "4.0"
}
// This data object type contains usage information about an
@@ -28656,14 +28738,14 @@ type ExtensionManagerIpAllocationUsage struct {
// Key of the extension whose usage is being
// reported.
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.1"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// Number of IP addresses allocated from IP pools.
- NumAddresses int32 `xml:"numAddresses" json:"numAddresses" vim:"5.1"`
+ NumAddresses int32 `xml:"numAddresses" json:"numAddresses"`
}
func init() {
- minAPIVersionForType["ExtensionManagerIpAllocationUsage"] = "5.1"
t["ExtensionManagerIpAllocationUsage"] = reflect.TypeOf((*ExtensionManagerIpAllocationUsage)(nil)).Elem()
+ minAPIVersionForType["ExtensionManagerIpAllocationUsage"] = "5.1"
}
// This data object contains configuration for extensions that also extend the OVF
@@ -28681,7 +28763,7 @@ type ExtensionOvfConsumerInfo struct {
// Example: https://extension-host:8081/
//
// This callback is for internal use only.
- CallbackUrl string `xml:"callbackUrl" json:"callbackUrl" vim:"5.0"`
+ CallbackUrl string `xml:"callbackUrl" json:"callbackUrl"`
// A list of fully qualified OVF section types that this consumer handles.
//
// Fully qualified means that each section type must be prefixed with its namespace
@@ -28693,12 +28775,12 @@ type ExtensionOvfConsumerInfo struct {
//
// Example: \[ "{http://www.vmware.com/schema/vServiceManager}vServiceDependency",
// "{http://www.vmware.com/schema/vServiceManager}vServiceBinding" \]
- SectionType []string `xml:"sectionType" json:"sectionType" vim:"5.0"`
+ SectionType []string `xml:"sectionType" json:"sectionType"`
}
func init() {
- minAPIVersionForType["ExtensionOvfConsumerInfo"] = "5.0"
t["ExtensionOvfConsumerInfo"] = reflect.TypeOf((*ExtensionOvfConsumerInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionOvfConsumerInfo"] = "5.0"
}
// This data object type describes privileges defined by the extension.
@@ -28715,18 +28797,18 @@ type ExtensionPrivilegeInfo struct {
// The privilege name should follow java package naming
// conventions for uniqueness. The set of characters allowed
// follow the same rules as `Extension.key`.
- PrivID string `xml:"privID" json:"privID" vim:"2.5"`
+ PrivID string `xml:"privID" json:"privID"`
// Hierarchical group name.
//
// Each level of the grouping hierarchy is
// separated by a "." so group names may not include a ".".
// `AuthorizationPrivilege.privGroupName`.
- PrivGroupName string `xml:"privGroupName" json:"privGroupName" vim:"2.5"`
+ PrivGroupName string `xml:"privGroupName" json:"privGroupName"`
}
func init() {
- minAPIVersionForType["ExtensionPrivilegeInfo"] = "2.5"
t["ExtensionPrivilegeInfo"] = reflect.TypeOf((*ExtensionPrivilegeInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionPrivilegeInfo"] = "2.5"
}
// This data object encapsulates the message resources for all locales.
@@ -28737,13 +28819,13 @@ type ExtensionResourceInfo struct {
// Module for a resource type and other message or fault resources.
//
// Examples: "task" for task, "event" for event and "auth" for "privilege".
- Module string `xml:"module" json:"module" vim:"2.5"`
+ Module string `xml:"module" json:"module"`
Data []KeyValue `xml:"data" json:"data"`
}
func init() {
- minAPIVersionForType["ExtensionResourceInfo"] = "2.5"
t["ExtensionResourceInfo"] = reflect.TypeOf((*ExtensionResourceInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionResourceInfo"] = "2.5"
}
// This data object type describes a server for the extension.
@@ -28751,22 +28833,25 @@ type ExtensionServerInfo struct {
DynamicData
// Server url.
- Url string `xml:"url" json:"url" vim:"2.5"`
+ Url string `xml:"url" json:"url"`
// Server description.
- Description BaseDescription `xml:"description,typeattr" json:"description" vim:"2.5"`
+ Description BaseDescription `xml:"description,typeattr" json:"description"`
// Company information.
- Company string `xml:"company" json:"company" vim:"2.5"`
+ Company string `xml:"company" json:"company"`
// Type of server (examples may include SOAP, REST, HTTP, etc.).
- Type string `xml:"type" json:"type" vim:"2.5"`
+ Type string `xml:"type" json:"type"`
// Extension administrator email addresses.
- AdminEmail []string `xml:"adminEmail" json:"adminEmail" vim:"2.5"`
+ AdminEmail []string `xml:"adminEmail" json:"adminEmail"`
// Thumbprint of the extension server certificate presented to clients
ServerThumbprint string `xml:"serverThumbprint,omitempty" json:"serverThumbprint,omitempty" vim:"4.1"`
+ // X.509 certificate of the extension server presented to clients in PEM
+ // format according to RFC 7468
+ ServerCertificate string `xml:"serverCertificate,omitempty" json:"serverCertificate,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["ExtensionServerInfo"] = "2.5"
t["ExtensionServerInfo"] = reflect.TypeOf((*ExtensionServerInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionServerInfo"] = "2.5"
}
// This data object type describes task types defined by the extension.
@@ -28777,12 +28862,12 @@ type ExtensionTaskTypeInfo struct {
//
// Should follow java package
// naming conventions for uniqueness.
- TaskID string `xml:"taskID" json:"taskID" vim:"2.5"`
+ TaskID string `xml:"taskID" json:"taskID"`
}
func init() {
- minAPIVersionForType["ExtensionTaskTypeInfo"] = "2.5"
t["ExtensionTaskTypeInfo"] = reflect.TypeOf((*ExtensionTaskTypeInfo)(nil)).Elem()
+ minAPIVersionForType["ExtensionTaskTypeInfo"] = "2.5"
}
type ExtractOvfEnvironment ExtractOvfEnvironmentRequestType
@@ -28811,17 +28896,17 @@ type FailToEnableSPBM struct {
// The compute resource
//
// Refers instance of `ComputeResource`.
- Cs ManagedObjectReference `xml:"cs" json:"cs" vim:"5.0"`
+ Cs ManagedObjectReference `xml:"cs" json:"cs"`
// The computer resource name
- CsName string `xml:"csName" json:"csName" vim:"5.0"`
+ CsName string `xml:"csName" json:"csName"`
// Array of `ComputeResourceHostSPBMLicenseInfo` that
// contains SPBM license information for all hosts in the compute resource
- HostLicenseStates []ComputeResourceHostSPBMLicenseInfo `xml:"hostLicenseStates" json:"hostLicenseStates" vim:"5.0"`
+ HostLicenseStates []ComputeResourceHostSPBMLicenseInfo `xml:"hostLicenseStates" json:"hostLicenseStates"`
}
func init() {
- minAPIVersionForType["FailToEnableSPBM"] = "5.0"
t["FailToEnableSPBM"] = reflect.TypeOf((*FailToEnableSPBM)(nil)).Elem()
+ minAPIVersionForType["FailToEnableSPBM"] = "5.0"
}
type FailToEnableSPBMFault FailToEnableSPBM
@@ -28836,20 +28921,20 @@ type FailToLockFaultToleranceVMs struct {
RuntimeFault
// The name of the vm to be locked.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
// The vm to be locked, this can be a Fault Tolerance primary or secondary VM
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The vm that is already locked, this can be a Fault Tolerance primary or secondary VM
//
// Refers instance of `VirtualMachine`.
- AlreadyLockedVm ManagedObjectReference `xml:"alreadyLockedVm" json:"alreadyLockedVm" vim:"4.1"`
+ AlreadyLockedVm ManagedObjectReference `xml:"alreadyLockedVm" json:"alreadyLockedVm"`
}
func init() {
- minAPIVersionForType["FailToLockFaultToleranceVMs"] = "4.1"
t["FailToLockFaultToleranceVMs"] = reflect.TypeOf((*FailToLockFaultToleranceVMs)(nil)).Elem()
+ minAPIVersionForType["FailToLockFaultToleranceVMs"] = "4.1"
}
type FailToLockFaultToleranceVMsFault FailToLockFaultToleranceVMs
@@ -28875,18 +28960,18 @@ type FailoverNodeInfo struct {
//
// All cluster communication (state replication, heartbeat,
// cluster messages) happens over this network.
- ClusterIpSettings CustomizationIPSettings `xml:"clusterIpSettings" json:"clusterIpSettings" vim:"6.5"`
+ ClusterIpSettings CustomizationIPSettings `xml:"clusterIpSettings" json:"clusterIpSettings"`
// Failover IP address that this node will assume after the failover
// to serve client requests.
//
// Each failover node can have a different
// failover IP address.
- FailoverIp *CustomizationIPSettings `xml:"failoverIp,omitempty" json:"failoverIp,omitempty" vim:"6.5"`
+ FailoverIp *CustomizationIPSettings `xml:"failoverIp,omitempty" json:"failoverIp,omitempty"`
// BIOS UUID for the node.
//
// It is set only if the VCHA Cluster was
// formed using automatic provisioning by the deploy API.
- BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty" vim:"6.5"`
+ BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty"`
}
func init() {
@@ -28901,12 +28986,12 @@ type FaultDomainId struct {
DynamicData
// ID of the fault domain.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
}
func init() {
- minAPIVersionForType["FaultDomainId"] = "6.5"
t["FaultDomainId"] = reflect.TypeOf((*FaultDomainId)(nil)).Elem()
+ minAPIVersionForType["FaultDomainId"] = "6.5"
}
// More than one VM in the same fault tolerance group are placed on the same host
@@ -28914,16 +28999,16 @@ type FaultToleranceAntiAffinityViolated struct {
MigrationFault
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"4.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// The host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
}
func init() {
- minAPIVersionForType["FaultToleranceAntiAffinityViolated"] = "4.0"
t["FaultToleranceAntiAffinityViolated"] = reflect.TypeOf((*FaultToleranceAntiAffinityViolated)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceAntiAffinityViolated"] = "4.0"
}
type FaultToleranceAntiAffinityViolatedFault FaultToleranceAntiAffinityViolated
@@ -28938,16 +29023,16 @@ type FaultToleranceCannotEditMem struct {
VmConfigFault
// The name of the VM.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
// The VM.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
- minAPIVersionForType["FaultToleranceCannotEditMem"] = "4.1"
t["FaultToleranceCannotEditMem"] = reflect.TypeOf((*FaultToleranceCannotEditMem)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceCannotEditMem"] = "4.1"
}
type FaultToleranceCannotEditMemFault FaultToleranceCannotEditMem
@@ -28966,23 +29051,23 @@ type FaultToleranceConfigInfo struct {
// The index of the current VM in instanceUuids array starting from 1, so
// 1 means that it is the primary VM.
- Role int32 `xml:"role" json:"role" vim:"4.0"`
+ Role int32 `xml:"role" json:"role"`
// The instanceUuid of all the VMs in this fault tolerance group.
//
// The
// first element is the instanceUuid of the primary VM.
- InstanceUuids []string `xml:"instanceUuids" json:"instanceUuids" vim:"4.0"`
+ InstanceUuids []string `xml:"instanceUuids" json:"instanceUuids"`
// The configuration file path for all the VMs in this fault tolerance
// group.
- ConfigPaths []string `xml:"configPaths" json:"configPaths" vim:"4.0"`
+ ConfigPaths []string `xml:"configPaths" json:"configPaths"`
// Indicates whether a secondary VM is orphaned (no longer associated with
// the primary VM).
Orphaned *bool `xml:"orphaned" json:"orphaned,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["FaultToleranceConfigInfo"] = "4.0"
t["FaultToleranceConfigInfo"] = reflect.TypeOf((*FaultToleranceConfigInfo)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceConfigInfo"] = "4.0"
}
// FaultToleranceConfigSpec contains information about the metadata file
@@ -28991,14 +29076,14 @@ type FaultToleranceConfigSpec struct {
DynamicData
// Metadata file information
- MetaDataPath *FaultToleranceMetaSpec `xml:"metaDataPath,omitempty" json:"metaDataPath,omitempty" vim:"6.0"`
+ MetaDataPath *FaultToleranceMetaSpec `xml:"metaDataPath,omitempty" json:"metaDataPath,omitempty"`
// Placement information for secondary
- SecondaryVmSpec *FaultToleranceVMConfigSpec `xml:"secondaryVmSpec,omitempty" json:"secondaryVmSpec,omitempty" vim:"6.0"`
+ SecondaryVmSpec *FaultToleranceVMConfigSpec `xml:"secondaryVmSpec,omitempty" json:"secondaryVmSpec,omitempty"`
}
func init() {
- minAPIVersionForType["FaultToleranceConfigSpec"] = "6.0"
t["FaultToleranceConfigSpec"] = reflect.TypeOf((*FaultToleranceConfigSpec)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceConfigSpec"] = "6.0"
}
// Convenience subclass for calling out some named features among the
@@ -29007,16 +29092,16 @@ type FaultToleranceCpuIncompatible struct {
CpuIncompatible
// Flag to indicate CPU model is incompatible.
- Model bool `xml:"model" json:"model" vim:"4.0"`
+ Model bool `xml:"model" json:"model"`
// Flag to indicate CPU family is incompatible.
- Family bool `xml:"family" json:"family" vim:"4.0"`
+ Family bool `xml:"family" json:"family"`
// Flag to indicate CPU stepping is incompatible.
- Stepping bool `xml:"stepping" json:"stepping" vim:"4.0"`
+ Stepping bool `xml:"stepping" json:"stepping"`
}
func init() {
- minAPIVersionForType["FaultToleranceCpuIncompatible"] = "4.0"
t["FaultToleranceCpuIncompatible"] = reflect.TypeOf((*FaultToleranceCpuIncompatible)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceCpuIncompatible"] = "4.0"
}
type FaultToleranceCpuIncompatibleFault FaultToleranceCpuIncompatible
@@ -29031,16 +29116,16 @@ type FaultToleranceDiskSpec struct {
DynamicData
// Disk Managed Object
- Disk BaseVirtualDevice `xml:"disk,typeattr" json:"disk" vim:"6.0"`
+ Disk BaseVirtualDevice `xml:"disk,typeattr" json:"disk"`
// Destination location for disk
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"6.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["FaultToleranceDiskSpec"] = "6.0"
t["FaultToleranceDiskSpec"] = reflect.TypeOf((*FaultToleranceDiskSpec)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceDiskSpec"] = "6.0"
}
// This data object encapsulates the Datastore for the shared metadata file
@@ -29051,12 +29136,12 @@ type FaultToleranceMetaSpec struct {
// Datastore for the metadata file
//
// Refers instance of `Datastore`.
- MetaDataDatastore ManagedObjectReference `xml:"metaDataDatastore" json:"metaDataDatastore" vim:"6.0"`
+ MetaDataDatastore ManagedObjectReference `xml:"metaDataDatastore" json:"metaDataDatastore"`
}
func init() {
- minAPIVersionForType["FaultToleranceMetaSpec"] = "6.0"
t["FaultToleranceMetaSpec"] = reflect.TypeOf((*FaultToleranceMetaSpec)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceMetaSpec"] = "6.0"
}
// Fault Tolerance VM requires thick disks
@@ -29064,12 +29149,12 @@ type FaultToleranceNeedsThickDisk struct {
MigrationFault
// The name of the VM.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["FaultToleranceNeedsThickDisk"] = "4.1"
t["FaultToleranceNeedsThickDisk"] = reflect.TypeOf((*FaultToleranceNeedsThickDisk)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceNeedsThickDisk"] = "4.1"
}
type FaultToleranceNeedsThickDiskFault FaultToleranceNeedsThickDisk
@@ -29086,12 +29171,12 @@ type FaultToleranceNotLicensed struct {
VmFaultToleranceIssue
// The host name
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"4.0"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
}
func init() {
- minAPIVersionForType["FaultToleranceNotLicensed"] = "4.0"
t["FaultToleranceNotLicensed"] = reflect.TypeOf((*FaultToleranceNotLicensed)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceNotLicensed"] = "4.0"
}
type FaultToleranceNotLicensedFault FaultToleranceNotLicensed
@@ -29106,12 +29191,12 @@ type FaultToleranceNotSameBuild struct {
MigrationFault
// The string.
- Build string `xml:"build" json:"build" vim:"4.0"`
+ Build string `xml:"build" json:"build"`
}
func init() {
- minAPIVersionForType["FaultToleranceNotSameBuild"] = "4.0"
t["FaultToleranceNotSameBuild"] = reflect.TypeOf((*FaultToleranceNotSameBuild)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceNotSameBuild"] = "4.0"
}
type FaultToleranceNotSameBuildFault FaultToleranceNotSameBuild
@@ -29129,8 +29214,8 @@ type FaultTolerancePrimaryConfigInfo struct {
}
func init() {
- minAPIVersionForType["FaultTolerancePrimaryConfigInfo"] = "4.0"
t["FaultTolerancePrimaryConfigInfo"] = reflect.TypeOf((*FaultTolerancePrimaryConfigInfo)(nil)).Elem()
+ minAPIVersionForType["FaultTolerancePrimaryConfigInfo"] = "4.0"
}
// This fault is used to report that VirtualCenter did not attempt to power on
@@ -29142,16 +29227,16 @@ type FaultTolerancePrimaryPowerOnNotAttempted struct {
// The secondary virtual machine that was not attempted
//
// Refers instance of `VirtualMachine`.
- SecondaryVm ManagedObjectReference `xml:"secondaryVm" json:"secondaryVm" vim:"4.0"`
+ SecondaryVm ManagedObjectReference `xml:"secondaryVm" json:"secondaryVm"`
// The corresponding primary virtual machine
//
// Refers instance of `VirtualMachine`.
- PrimaryVm ManagedObjectReference `xml:"primaryVm" json:"primaryVm" vim:"4.0"`
+ PrimaryVm ManagedObjectReference `xml:"primaryVm" json:"primaryVm"`
}
func init() {
- minAPIVersionForType["FaultTolerancePrimaryPowerOnNotAttempted"] = "4.0"
t["FaultTolerancePrimaryPowerOnNotAttempted"] = reflect.TypeOf((*FaultTolerancePrimaryPowerOnNotAttempted)(nil)).Elem()
+ minAPIVersionForType["FaultTolerancePrimaryPowerOnNotAttempted"] = "4.0"
}
type FaultTolerancePrimaryPowerOnNotAttemptedFault FaultTolerancePrimaryPowerOnNotAttempted
@@ -29169,8 +29254,8 @@ type FaultToleranceSecondaryConfigInfo struct {
}
func init() {
- minAPIVersionForType["FaultToleranceSecondaryConfigInfo"] = "4.0"
t["FaultToleranceSecondaryConfigInfo"] = reflect.TypeOf((*FaultToleranceSecondaryConfigInfo)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceSecondaryConfigInfo"] = "4.0"
}
// FaultToleranceSecondaryOpResult is a data object that reports on
@@ -29182,13 +29267,13 @@ type FaultToleranceSecondaryOpResult struct {
// The Secondary VirtualMachine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Whether an attempt was made to power on the secondary.
//
// If
// an attempt was made, `FaultToleranceSecondaryOpResult.powerOnResult` will report the
// status of this attempt.
- PowerOnAttempted bool `xml:"powerOnAttempted" json:"powerOnAttempted" vim:"4.0"`
+ PowerOnAttempted bool `xml:"powerOnAttempted" json:"powerOnAttempted"`
// The powerOnResult property reports the outcome of powering on the
// Secondary VirtualMachine if a power on was required.
//
@@ -29202,12 +29287,12 @@ type FaultToleranceSecondaryOpResult struct {
// `ClusterAttemptedVmInfo` is returned, its
// `ClusterAttemptedVmInfo.task` property is only set if the cluster
// is a HA-only cluster.
- PowerOnResult *ClusterPowerOnVmResult `xml:"powerOnResult,omitempty" json:"powerOnResult,omitempty" vim:"4.0"`
+ PowerOnResult *ClusterPowerOnVmResult `xml:"powerOnResult,omitempty" json:"powerOnResult,omitempty"`
}
func init() {
- minAPIVersionForType["FaultToleranceSecondaryOpResult"] = "4.0"
t["FaultToleranceSecondaryOpResult"] = reflect.TypeOf((*FaultToleranceSecondaryOpResult)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceSecondaryOpResult"] = "4.0"
}
// FaultToleranceVMConfigSpec contains information about placement of
@@ -29221,14 +29306,14 @@ type FaultToleranceVMConfigSpec struct {
// This also implicitly defines the configuration directory.
//
// Refers instance of `Datastore`.
- VmConfig *ManagedObjectReference `xml:"vmConfig,omitempty" json:"vmConfig,omitempty" vim:"6.0"`
+ VmConfig *ManagedObjectReference `xml:"vmConfig,omitempty" json:"vmConfig,omitempty"`
// Array of disks associated with the VM
- Disks []FaultToleranceDiskSpec `xml:"disks,omitempty" json:"disks,omitempty" vim:"6.0"`
+ Disks []FaultToleranceDiskSpec `xml:"disks,omitempty" json:"disks,omitempty"`
}
func init() {
- minAPIVersionForType["FaultToleranceVMConfigSpec"] = "6.0"
t["FaultToleranceVMConfigSpec"] = reflect.TypeOf((*FaultToleranceVMConfigSpec)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceVMConfigSpec"] = "6.0"
}
// A FaultToleranceVmNotDasProtected fault occurs when an Fault Tolerance VM
@@ -29240,14 +29325,14 @@ type FaultToleranceVmNotDasProtected struct {
// The Fault Toelrance primary VM
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Name of the VM
- VmName string `xml:"vmName" json:"vmName" vim:"5.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["FaultToleranceVmNotDasProtected"] = "5.0"
t["FaultToleranceVmNotDasProtected"] = reflect.TypeOf((*FaultToleranceVmNotDasProtected)(nil)).Elem()
+ minAPIVersionForType["FaultToleranceVmNotDasProtected"] = "5.0"
}
type FaultToleranceVmNotDasProtectedFault FaultToleranceVmNotDasProtected
@@ -29266,14 +29351,14 @@ type FaultsByHost struct {
// The Host in the cluster for which faults were generated.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.7"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The array of faults related to the given Host.
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"6.7"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
- minAPIVersionForType["FaultsByHost"] = "6.7"
t["FaultsByHost"] = reflect.TypeOf((*FaultsByHost)(nil)).Elem()
+ minAPIVersionForType["FaultsByHost"] = "6.7"
}
// VM specific faults.
@@ -29286,14 +29371,14 @@ type FaultsByVM struct {
// The VM for which faults were generated.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.7"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The array of faults related to the given VM.
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"6.7"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
- minAPIVersionForType["FaultsByVM"] = "6.7"
t["FaultsByVM"] = reflect.TypeOf((*FaultsByVM)(nil)).Elem()
+ minAPIVersionForType["FaultsByVM"] = "6.7"
}
// This data object type describes an FCoE configuration as it pertains
@@ -29306,7 +29391,7 @@ type FcoeConfig struct {
DynamicData
// 802.1p priority class used for FCoE traffic.
- PriorityClass int32 `xml:"priorityClass" json:"priorityClass" vim:"5.0"`
+ PriorityClass int32 `xml:"priorityClass" json:"priorityClass"`
// Source MAC address used for FCoE traffic.
//
// This MAC address is associated with the logical construct that is a
@@ -29314,20 +29399,20 @@ type FcoeConfig struct {
// FC-BB-5 standard.
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where 'x' is
// a hexadecimal digit. Valid MAC addresses are unicast addresses.
- SourceMac string `xml:"sourceMac" json:"sourceMac" vim:"5.0"`
+ SourceMac string `xml:"sourceMac" json:"sourceMac"`
// VLAN ranges associated with this FcoeConfig.
- VlanRange []FcoeConfigVlanRange `xml:"vlanRange" json:"vlanRange" vim:"5.0"`
+ VlanRange []FcoeConfigVlanRange `xml:"vlanRange" json:"vlanRange"`
// Settable capabilities for this FcoeConfig.
- Capabilities FcoeConfigFcoeCapabilities `xml:"capabilities" json:"capabilities" vim:"5.0"`
+ Capabilities FcoeConfigFcoeCapabilities `xml:"capabilities" json:"capabilities"`
// Indicates whether this FcoeConfig is "active" (has been used in
// conjunction with a parent physical network adapter for FCoE
// discovery).
- FcoeActive bool `xml:"fcoeActive" json:"fcoeActive" vim:"5.0"`
+ FcoeActive bool `xml:"fcoeActive" json:"fcoeActive"`
}
func init() {
- minAPIVersionForType["FcoeConfig"] = "5.0"
t["FcoeConfig"] = reflect.TypeOf((*FcoeConfig)(nil)).Elem()
+ minAPIVersionForType["FcoeConfig"] = "5.0"
}
// Flags which indicate what parameters are settable for this FcoeConfig.
@@ -29340,8 +29425,8 @@ type FcoeConfigFcoeCapabilities struct {
}
func init() {
- minAPIVersionForType["FcoeConfigFcoeCapabilities"] = "5.0"
t["FcoeConfigFcoeCapabilities"] = reflect.TypeOf((*FcoeConfigFcoeCapabilities)(nil)).Elem()
+ minAPIVersionForType["FcoeConfigFcoeCapabilities"] = "5.0"
}
// An FcoeSpecification contains values relevant to issuing FCoE discovery.
@@ -29351,9 +29436,9 @@ type FcoeConfigFcoeSpecification struct {
DynamicData
// The name of this FcoeSpecification's underlying PhysicalNic
- UnderlyingPnic string `xml:"underlyingPnic" json:"underlyingPnic" vim:"5.0"`
+ UnderlyingPnic string `xml:"underlyingPnic" json:"underlyingPnic"`
// 802.1p priority class to use for FCoE traffic.
- PriorityClass int32 `xml:"priorityClass,omitempty" json:"priorityClass,omitempty" vim:"5.0"`
+ PriorityClass int32 `xml:"priorityClass,omitempty" json:"priorityClass,omitempty"`
// Source MAC address to use for FCoE traffic.
//
// This MAC address is associated with the logical construct that is a
@@ -29361,14 +29446,14 @@ type FcoeConfigFcoeSpecification struct {
// the FC-BB-5 standard.
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where 'x'
// is a hexadecimal digit. Valid MAC addresses are unicast addresses.
- SourceMac string `xml:"sourceMac,omitempty" json:"sourceMac,omitempty" vim:"5.0"`
+ SourceMac string `xml:"sourceMac,omitempty" json:"sourceMac,omitempty"`
// VLAN ranges to use for FCoE traffic.
- VlanRange []FcoeConfigVlanRange `xml:"vlanRange,omitempty" json:"vlanRange,omitempty" vim:"5.0"`
+ VlanRange []FcoeConfigVlanRange `xml:"vlanRange,omitempty" json:"vlanRange,omitempty"`
}
func init() {
- minAPIVersionForType["FcoeConfigFcoeSpecification"] = "5.0"
t["FcoeConfigFcoeSpecification"] = reflect.TypeOf((*FcoeConfigFcoeSpecification)(nil)).Elem()
+ minAPIVersionForType["FcoeConfigFcoeSpecification"] = "5.0"
}
// Used to represent inclusive intervals of VLAN IDs.
@@ -29383,8 +29468,8 @@ type FcoeConfigVlanRange struct {
}
func init() {
- minAPIVersionForType["FcoeConfigVlanRange"] = "5.0"
t["FcoeConfigVlanRange"] = reflect.TypeOf((*FcoeConfigVlanRange)(nil)).Elem()
+ minAPIVersionForType["FcoeConfigVlanRange"] = "5.0"
}
// Deprecated as of vSphere API 8.0. Software FCoE not supported.
@@ -29395,8 +29480,8 @@ type FcoeFault struct {
}
func init() {
- minAPIVersionForType["FcoeFault"] = "5.0"
t["FcoeFault"] = reflect.TypeOf((*FcoeFault)(nil)).Elem()
+ minAPIVersionForType["FcoeFault"] = "5.0"
}
type FcoeFaultFault BaseFcoeFault
@@ -29416,8 +29501,8 @@ type FcoeFaultPnicHasNoPortSet struct {
}
func init() {
- minAPIVersionForType["FcoeFaultPnicHasNoPortSet"] = "5.0"
t["FcoeFaultPnicHasNoPortSet"] = reflect.TypeOf((*FcoeFaultPnicHasNoPortSet)(nil)).Elem()
+ minAPIVersionForType["FcoeFaultPnicHasNoPortSet"] = "5.0"
}
type FcoeFaultPnicHasNoPortSetFault FcoeFaultPnicHasNoPortSet
@@ -29448,22 +29533,22 @@ type FeatureEVCMode struct {
// The masks (modifications to a host's feature capabilities) that limit a
// host's capabilities to that of the EVC mode baseline.
- Mask []HostFeatureMask `xml:"mask,omitempty" json:"mask,omitempty" vim:"7.0.1.0"`
+ Mask []HostFeatureMask `xml:"mask,omitempty" json:"mask,omitempty"`
// Describes the feature capability baseline associated with the EVC mode.
//
// On the cluster where a particular EVC mode is configured,
// these features capabilities are guaranteed, either because the host
// hardware naturally matches those features or because feature masks
// are used to mask out differences and enforce a match.
- Capability []HostFeatureCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"7.0.1.0"`
+ Capability []HostFeatureCapability `xml:"capability,omitempty" json:"capability,omitempty"`
// The conditions that must be true of a host's feature capabilities in order
// for the host to meet the minimum requirements of the EVC mode baseline.
- Requirement []VirtualMachineFeatureRequirement `xml:"requirement,omitempty" json:"requirement,omitempty" vim:"7.0.1.0"`
+ Requirement []VirtualMachineFeatureRequirement `xml:"requirement,omitempty" json:"requirement,omitempty"`
}
func init() {
- minAPIVersionForType["FeatureEVCMode"] = "7.0.1.0"
t["FeatureEVCMode"] = reflect.TypeOf((*FeatureEVCMode)(nil)).Elem()
+ minAPIVersionForType["FeatureEVCMode"] = "7.0.1.0"
}
// The host does not meet feature requirements of the virtual machine.
@@ -29471,20 +29556,20 @@ type FeatureRequirementsNotMet struct {
VirtualHardwareCompatibilityIssue
// The feature requirements that were not met.
- FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty" vim:"5.1"`
+ FeatureRequirement []VirtualMachineFeatureRequirement `xml:"featureRequirement,omitempty" json:"featureRequirement,omitempty"`
// The virtual machine whose feature requirements were not met.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.1"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The host whose capabilities did not meet the virtual machine's feature requirements.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"5.1"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
- minAPIVersionForType["FeatureRequirementsNotMet"] = "5.1"
t["FeatureRequirementsNotMet"] = reflect.TypeOf((*FeatureRequirementsNotMet)(nil)).Elem()
+ minAPIVersionForType["FeatureRequirementsNotMet"] = "5.1"
}
type FeatureRequirementsNotMetFault FeatureRequirementsNotMet
@@ -29527,7 +29612,7 @@ type FetchDVPortKeysRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The port selection criteria. If unset, the operation
// returns the keys of all the ports in the switch.
- Criteria *DistributedVirtualSwitchPortCriteria `xml:"criteria,omitempty" json:"criteria,omitempty" vim:"4.0"`
+ Criteria *DistributedVirtualSwitchPortCriteria `xml:"criteria,omitempty" json:"criteria,omitempty"`
}
func init() {
@@ -29549,7 +29634,7 @@ type FetchDVPortsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The port selection criteria. If unset, the operation
// returns the keys of all the ports in the portgroup.
- Criteria *DistributedVirtualSwitchPortCriteria `xml:"criteria,omitempty" json:"criteria,omitempty" vim:"4.0"`
+ Criteria *DistributedVirtualSwitchPortCriteria `xml:"criteria,omitempty" json:"criteria,omitempty"`
}
func init() {
@@ -29631,8 +29716,8 @@ type FileBackedPortNotSupported struct {
}
func init() {
- minAPIVersionForType["FileBackedPortNotSupported"] = "2.5"
t["FileBackedPortNotSupported"] = reflect.TypeOf((*FileBackedPortNotSupported)(nil)).Elem()
+ minAPIVersionForType["FileBackedPortNotSupported"] = "2.5"
}
type FileBackedPortNotSupportedFault FileBackedPortNotSupported
@@ -29646,7 +29731,7 @@ type FileBackedVirtualDiskSpec struct {
VirtualDiskSpec
// Specify the capacity of the virtual disk in Kb.
- CapacityKb int64 `xml:"capacityKb" json:"capacityKb" vim:"2.5"`
+ CapacityKb int64 `xml:"capacityKb" json:"capacityKb"`
// Virtual Disk Profile requirement.
//
// Profiles are solution specifics.
@@ -29661,8 +29746,8 @@ type FileBackedVirtualDiskSpec struct {
}
func init() {
- minAPIVersionForType["FileBackedVirtualDiskSpec"] = "2.5"
t["FileBackedVirtualDiskSpec"] = reflect.TypeOf((*FileBackedVirtualDiskSpec)(nil)).Elem()
+ minAPIVersionForType["FileBackedVirtualDiskSpec"] = "2.5"
}
// The common base type for all file-related exceptions.
@@ -29709,6 +29794,49 @@ func init() {
t["FileInfo"] = reflect.TypeOf((*FileInfo)(nil)).Elem()
}
+// The File information available on a particular file on the host that
+// can be fetched.
+//
+// Attempt is made to query and fetch as much information
+// as possible depending on the file system the file is residing on.
+type FileLockInfo struct {
+ DynamicData
+
+ FilePath string `xml:"filePath" json:"filePath"`
+ Host string `xml:"host" json:"host"`
+ Mac string `xml:"mac" json:"mac"`
+ Id string `xml:"id" json:"id"`
+ WorldName string `xml:"worldName" json:"worldName"`
+ OwnerId string `xml:"ownerId,omitempty" json:"ownerId,omitempty"`
+ LockMode string `xml:"lockMode" json:"lockMode"`
+ // Optional future - will be fetched if available.
+ Acquired *time.Time `xml:"acquired" json:"acquired,omitempty"`
+ Heartbeat *time.Time `xml:"heartbeat" json:"heartbeat,omitempty"`
+ RefCount int32 `xml:"refCount,omitempty" json:"refCount,omitempty"`
+}
+
+func init() {
+ t["FileLockInfo"] = reflect.TypeOf((*FileLockInfo)(nil)).Elem()
+ minAPIVersionForType["FileLockInfo"] = "8.0.2.0"
+}
+
+type FileLockInfoResult struct {
+ DynamicData
+
+ // FileLockInfo entries populated based on results fetched from host.
+ //
+ // If a single path is provided result should contain a single entry.
+ // For a generic VM name potentially multiple entries could be fetched
+ // and populated. Refer to `FileManager.QueryFileLockInfo` for
+ // more details.
+ LockInfo []FileLockInfo `xml:"lockInfo,omitempty" json:"lockInfo,omitempty"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+}
+
+func init() {
+ t["FileLockInfoResult"] = reflect.TypeOf((*FileLockInfoResult)(nil)).Elem()
+}
+
// Thrown if an attempt is made to lock a file that is already in use.
type FileLocked struct {
FileFault
@@ -29731,8 +29859,8 @@ type FileNameTooLong struct {
}
func init() {
- minAPIVersionForType["FileNameTooLong"] = "5.0"
t["FileNameTooLong"] = reflect.TypeOf((*FileNameTooLong)(nil)).Elem()
+ minAPIVersionForType["FileNameTooLong"] = "5.0"
}
type FileNameTooLongFault FileNameTooLong
@@ -29819,16 +29947,16 @@ type FileTooLarge struct {
FileFault
// The name of the datastore that does not support the file's size.
- Datastore string `xml:"datastore" json:"datastore" vim:"2.5"`
+ Datastore string `xml:"datastore" json:"datastore"`
// The size (in bytes) of the file.
- FileSize int64 `xml:"fileSize" json:"fileSize" vim:"2.5"`
+ FileSize int64 `xml:"fileSize" json:"fileSize"`
// The max file size (in bytes) supported on the datastore.
- MaxFileSize int64 `xml:"maxFileSize,omitempty" json:"maxFileSize,omitempty" vim:"2.5"`
+ MaxFileSize int64 `xml:"maxFileSize,omitempty" json:"maxFileSize,omitempty"`
}
func init() {
- minAPIVersionForType["FileTooLarge"] = "2.5"
t["FileTooLarge"] = reflect.TypeOf((*FileTooLarge)(nil)).Elem()
+ minAPIVersionForType["FileTooLarge"] = "2.5"
}
type FileTooLargeFault FileTooLarge
@@ -29849,9 +29977,9 @@ type FileTransferInformation struct {
DynamicData
// File attributes of the file that is being transferred from the guest.
- Attributes BaseGuestFileAttributes `xml:"attributes,typeattr" json:"attributes" vim:"5.0"`
+ Attributes BaseGuestFileAttributes `xml:"attributes,typeattr" json:"attributes"`
// Total size of the file in bytes.
- Size int64 `xml:"size" json:"size" vim:"5.0"`
+ Size int64 `xml:"size" json:"size"`
// Specifies the URL to which the user has to send HTTP GET request.
//
// Multiple GET requests cannot be sent to the URL simultaneously. URL
@@ -29872,12 +30000,12 @@ type FileTransferInformation struct {
// The URL is valid only for 10 minutes from the time it is generated.
// Also, the URL becomes invalid whenever the virtual machine is powered
// off, suspended or unregistered.
- Url string `xml:"url" json:"url" vim:"5.0"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["FileTransferInformation"] = "5.0"
t["FileTransferInformation"] = reflect.TypeOf((*FileTransferInformation)(nil)).Elem()
+ minAPIVersionForType["FileTransferInformation"] = "5.0"
}
// This fault is thrown when creating a quiesced snapshot failed
@@ -29908,12 +30036,12 @@ type FilterInUse struct {
ResourceInUse
// Virtual disks that use the filter.
- Disk []VirtualDiskId `xml:"disk,omitempty" json:"disk,omitempty" vim:"6.0"`
+ Disk []VirtualDiskId `xml:"disk,omitempty" json:"disk,omitempty"`
}
func init() {
- minAPIVersionForType["FilterInUse"] = "6.0"
t["FilterInUse"] = reflect.TypeOf((*FilterInUse)(nil)).Elem()
+ minAPIVersionForType["FilterInUse"] = "6.0"
}
type FilterInUseFault FilterInUse
@@ -30172,7 +30300,7 @@ type FindByUuidRequestType struct {
// for virtual machines whose instance UUID matches the given uuid.
// Otherwise, search for virtual machines whose BIOS UUID matches the given
// uuid.
- InstanceUuid *bool `xml:"instanceUuid" json:"instanceUuid,omitempty"`
+ InstanceUuid *bool `xml:"instanceUuid" json:"instanceUuid,omitempty" vim:"4.0"`
}
func init() {
@@ -30263,19 +30391,19 @@ type FirewallProfile struct {
// List of Rulesets that will be configured for the firewall subprofile.
//
// The rulesets can be enabled or disabled from the profile.
- Ruleset []FirewallProfileRulesetProfile `xml:"ruleset,omitempty" json:"ruleset,omitempty" vim:"4.0"`
+ Ruleset []FirewallProfileRulesetProfile `xml:"ruleset,omitempty" json:"ruleset,omitempty"`
}
func init() {
- minAPIVersionForType["FirewallProfile"] = "4.0"
t["FirewallProfile"] = reflect.TypeOf((*FirewallProfile)(nil)).Elem()
+ minAPIVersionForType["FirewallProfile"] = "4.0"
}
type FirewallProfileRulesetProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
@@ -30324,11 +30452,11 @@ type FolderBatchAddHostsToClusterResult struct {
// in the desired state.
//
// Refers instances of `HostSystem`.
- HostsAddedToCluster []ManagedObjectReference `xml:"hostsAddedToCluster,omitempty" json:"hostsAddedToCluster,omitempty" vim:"6.7.1"`
+ HostsAddedToCluster []ManagedObjectReference `xml:"hostsAddedToCluster,omitempty" json:"hostsAddedToCluster,omitempty"`
// Contains a fault for each host that failed addition to the inventory.
//
// A failed host will not be part of hostsAddedToCluster list.
- HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty" json:"hostsFailedInventoryAdd,omitempty" vim:"6.7.1"`
+ HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty" json:"hostsFailedInventoryAdd,omitempty"`
// List of hosts that are part of inventory but failed to move to the
// cluster in the desired state.
//
@@ -30336,7 +30464,7 @@ type FolderBatchAddHostsToClusterResult struct {
// a failed host will be part of inventory as it might have been added
// as a standalone host but failed to move to cluster in the desired
// state.
- HostsFailedMoveToCluster []FolderFailedHostResult `xml:"hostsFailedMoveToCluster,omitempty" json:"hostsFailedMoveToCluster,omitempty" vim:"6.7.1"`
+ HostsFailedMoveToCluster []FolderFailedHostResult `xml:"hostsFailedMoveToCluster,omitempty" json:"hostsFailedMoveToCluster,omitempty"`
}
func init() {
@@ -30350,12 +30478,12 @@ type FolderBatchAddStandaloneHostsResult struct {
// to the inventory.
//
// Refers instances of `HostSystem`.
- AddedHosts []ManagedObjectReference `xml:"addedHosts,omitempty" json:"addedHosts,omitempty" vim:"6.7.1"`
+ AddedHosts []ManagedObjectReference `xml:"addedHosts,omitempty" json:"addedHosts,omitempty"`
// Contains a fault for each host that failed to add.
//
// A failed host
// will not be part of addedHosts list.
- HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty" json:"hostsFailedInventoryAdd,omitempty" vim:"6.7.1"`
+ HostsFailedInventoryAdd []FolderFailedHostResult `xml:"hostsFailedInventoryAdd,omitempty" json:"hostsFailedInventoryAdd,omitempty"`
}
func init() {
@@ -30380,18 +30508,18 @@ type FolderFailedHostResult struct {
DynamicData
// Host name for which fault belongs to.
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"6.7.1"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// Host for which fault belongs to.
//
// Only set when the HostSystem
// reference is avaibale as a result of Host being part of inventory.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.7.1"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// Message describing context where the failure happened.
- Context LocalizableMessage `xml:"context" json:"context" vim:"6.7.1"`
+ Context LocalizableMessage `xml:"context" json:"context"`
// Exception encountered while operating on this host.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"6.7.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
@@ -30420,12 +30548,12 @@ type FolderNewHostSpec struct {
DynamicData
// Connection Spec for new host that needs to be added to the inventory.
- HostCnxSpec HostConnectSpec `xml:"hostCnxSpec" json:"hostCnxSpec" vim:"6.7.1"`
+ HostCnxSpec HostConnectSpec `xml:"hostCnxSpec" json:"hostCnxSpec"`
// LicenseKey.
//
// See `LicenseManager`. If supplied, new
// host will be updated with the license.
- EsxLicense string `xml:"esxLicense,omitempty" json:"esxLicense,omitempty" vim:"6.7.1"`
+ EsxLicense string `xml:"esxLicense,omitempty" json:"esxLicense,omitempty"`
}
func init() {
@@ -30443,7 +30571,7 @@ type FormatVffsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// A data object that describes the VFFS volume
// creation specification.
- CreateSpec HostVffsSpec `xml:"createSpec" json:"createSpec" vim:"5.5"`
+ CreateSpec HostVffsSpec `xml:"createSpec" json:"createSpec"`
}
func init() {
@@ -30485,16 +30613,16 @@ type FtIssuesOnHost struct {
// The host which has Fault Tolerance issues.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Name for the host which has Fault Tolerance issues.
- HostName string `xml:"hostName" json:"hostName" vim:"4.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// Information on the details of the Fault Tolerance issues
- Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty" vim:"4.0"`
+ Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty"`
}
func init() {
- minAPIVersionForType["FtIssuesOnHost"] = "4.0"
t["FtIssuesOnHost"] = reflect.TypeOf((*FtIssuesOnHost)(nil)).Elem()
+ minAPIVersionForType["FtIssuesOnHost"] = "4.0"
}
type FtIssuesOnHostFault FtIssuesOnHost
@@ -30511,8 +30639,8 @@ type FullStorageVMotionNotSupported struct {
}
func init() {
- minAPIVersionForType["FullStorageVMotionNotSupported"] = "2.5"
t["FullStorageVMotionNotSupported"] = reflect.TypeOf((*FullStorageVMotionNotSupported)(nil)).Elem()
+ minAPIVersionForType["FullStorageVMotionNotSupported"] = "2.5"
}
type FullStorageVMotionNotSupportedFault FullStorageVMotionNotSupported
@@ -30529,21 +30657,21 @@ type GatewayConnectFault struct {
HostConnectFault
// The type of the gateway used for the connection to the host.
- GatewayType string `xml:"gatewayType" json:"gatewayType" vim:"6.0"`
+ GatewayType string `xml:"gatewayType" json:"gatewayType"`
// Identifier of the gateway that is used for the connection to the host.
- GatewayId string `xml:"gatewayId" json:"gatewayId" vim:"6.0"`
+ GatewayId string `xml:"gatewayId" json:"gatewayId"`
// Human-readable information about the host gateway server.
- GatewayInfo string `xml:"gatewayInfo" json:"gatewayInfo" vim:"6.0"`
+ GatewayInfo string `xml:"gatewayInfo" json:"gatewayInfo"`
// Details of the cause for this fault.
//
// This is the way in which Host
// Gateway servers propagate opaque error messages through vCenter Server.
- Details *LocalizableMessage `xml:"details,omitempty" json:"details,omitempty" vim:"6.0"`
+ Details *LocalizableMessage `xml:"details,omitempty" json:"details,omitempty"`
}
func init() {
- minAPIVersionForType["GatewayConnectFault"] = "6.0"
t["GatewayConnectFault"] = reflect.TypeOf((*GatewayConnectFault)(nil)).Elem()
+ minAPIVersionForType["GatewayConnectFault"] = "6.0"
}
type GatewayConnectFaultFault BaseGatewayConnectFault
@@ -30563,8 +30691,8 @@ type GatewayHostNotReachable struct {
}
func init() {
- minAPIVersionForType["GatewayHostNotReachable"] = "6.0"
t["GatewayHostNotReachable"] = reflect.TypeOf((*GatewayHostNotReachable)(nil)).Elem()
+ minAPIVersionForType["GatewayHostNotReachable"] = "6.0"
}
type GatewayHostNotReachableFault GatewayHostNotReachable
@@ -30582,8 +30710,8 @@ type GatewayNotFound struct {
}
func init() {
- minAPIVersionForType["GatewayNotFound"] = "6.0"
t["GatewayNotFound"] = reflect.TypeOf((*GatewayNotFound)(nil)).Elem()
+ minAPIVersionForType["GatewayNotFound"] = "6.0"
}
type GatewayNotFoundFault GatewayNotFound
@@ -30605,8 +30733,8 @@ type GatewayNotReachable struct {
}
func init() {
- minAPIVersionForType["GatewayNotReachable"] = "6.0"
t["GatewayNotReachable"] = reflect.TypeOf((*GatewayNotReachable)(nil)).Elem()
+ minAPIVersionForType["GatewayNotReachable"] = "6.0"
}
type GatewayNotReachableFault GatewayNotReachable
@@ -30628,8 +30756,8 @@ type GatewayOperationRefused struct {
}
func init() {
- minAPIVersionForType["GatewayOperationRefused"] = "6.0"
t["GatewayOperationRefused"] = reflect.TypeOf((*GatewayOperationRefused)(nil)).Elem()
+ minAPIVersionForType["GatewayOperationRefused"] = "6.0"
}
type GatewayOperationRefusedFault GatewayOperationRefused
@@ -30653,15 +30781,15 @@ type GatewayToHostAuthFault struct {
// List of properties that have been provided in the authentication data
// but have wrong values.
- InvalidProperties []string `xml:"invalidProperties" json:"invalidProperties" vim:"6.0"`
+ InvalidProperties []string `xml:"invalidProperties" json:"invalidProperties"`
// List of properties that do not have their values specified in the
// provided authentication data but are required.
- MissingProperties []string `xml:"missingProperties" json:"missingProperties" vim:"6.0"`
+ MissingProperties []string `xml:"missingProperties" json:"missingProperties"`
}
func init() {
- minAPIVersionForType["GatewayToHostAuthFault"] = "6.0"
t["GatewayToHostAuthFault"] = reflect.TypeOf((*GatewayToHostAuthFault)(nil)).Elem()
+ minAPIVersionForType["GatewayToHostAuthFault"] = "6.0"
}
type GatewayToHostAuthFaultFault GatewayToHostAuthFault
@@ -30681,14 +30809,14 @@ type GatewayToHostConnectFault struct {
GatewayConnectFault
// Hostname of the host that the gateway is communicating with.
- Hostname string `xml:"hostname" json:"hostname" vim:"6.0"`
+ Hostname string `xml:"hostname" json:"hostname"`
// Port specified for the connection between the gateway and the host.
- Port int32 `xml:"port,omitempty" json:"port,omitempty" vim:"6.0"`
+ Port int32 `xml:"port,omitempty" json:"port,omitempty"`
}
func init() {
- minAPIVersionForType["GatewayToHostConnectFault"] = "6.0"
t["GatewayToHostConnectFault"] = reflect.TypeOf((*GatewayToHostConnectFault)(nil)).Elem()
+ minAPIVersionForType["GatewayToHostConnectFault"] = "6.0"
}
type GatewayToHostConnectFaultFault BaseGatewayToHostConnectFault
@@ -30713,18 +30841,18 @@ type GatewayToHostTrustVerifyFault struct {
// A unique verification token, that can be used to state the the listed
// properties are valid.
- VerificationToken string `xml:"verificationToken" json:"verificationToken" vim:"6.0"`
+ VerificationToken string `xml:"verificationToken" json:"verificationToken"`
// A key/value list of properties that need user verification in order
// for the gateway to trust the host to succeed.
//
// For instance the user may
// need to verify an SSL thumbprint or a whole certificate.
- PropertiesToVerify []KeyValue `xml:"propertiesToVerify" json:"propertiesToVerify" vim:"6.0"`
+ PropertiesToVerify []KeyValue `xml:"propertiesToVerify" json:"propertiesToVerify"`
}
func init() {
- minAPIVersionForType["GatewayToHostTrustVerifyFault"] = "6.0"
t["GatewayToHostTrustVerifyFault"] = reflect.TypeOf((*GatewayToHostTrustVerifyFault)(nil)).Elem()
+ minAPIVersionForType["GatewayToHostTrustVerifyFault"] = "6.0"
}
type GatewayToHostTrustVerifyFaultFault GatewayToHostTrustVerifyFault
@@ -30829,7 +30957,7 @@ type GenerateCertificateSigningRequestByDnRequestType struct {
// DN to be used as subject in CSR.
DistinguishedName string `xml:"distinguishedName" json:"distinguishedName"`
// is used to generate CSR for selected certificate kind
- Spec *HostCertificateManagerCertificateSpec `xml:"spec,omitempty" json:"spec,omitempty"`
+ Spec *HostCertificateManagerCertificateSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -30849,7 +30977,7 @@ type GenerateCertificateSigningRequestRequestType struct {
UseIpAddressAsCommonName bool `xml:"useIpAddressAsCommonName" json:"useIpAddressAsCommonName"`
// is used to generate CSR for selected
// certificate kind.
- Spec *HostCertificateManagerCertificateSpec `xml:"spec,omitempty" json:"spec,omitempty"`
+ Spec *HostCertificateManagerCertificateSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -30870,9 +30998,9 @@ func init() {
type GenerateClientCsrRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Certificate sign request.
- Request *CryptoManagerKmipCertSignRequest `xml:"request,omitempty" json:"request,omitempty"`
+ Request *CryptoManagerKmipCertSignRequest `xml:"request,omitempty" json:"request,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -30894,7 +31022,7 @@ type GenerateConfigTaskListRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// ConfigSpec which was proposed by
// `HostProfile.ExecuteHostProfile` method.
- ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec"`
// Host on which the HostProfile application needs to be
// carried out.
//
@@ -30919,7 +31047,7 @@ type GenerateHostConfigTaskSpecRequestType struct {
// provided only if the host customization data for that host is
// invalid. If this property is not provided, the API will use the
// host customization data stored in VC and generate task list.
- HostsInfo []StructuredCustomizations `xml:"hostsInfo,omitempty" json:"hostsInfo,omitempty" vim:"6.5"`
+ HostsInfo []StructuredCustomizations `xml:"hostsInfo,omitempty" json:"hostsInfo,omitempty"`
}
func init() {
@@ -30941,7 +31069,7 @@ type GenerateHostProfileTaskListRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// ConfigSpec which was proposed by
// `HostProfile.ExecuteHostProfile` method.
- ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec HostConfigSpec `xml:"configSpec" json:"configSpec"`
// Host on which the HostProfile application needs to be
// carried out.
//
@@ -30974,9 +31102,9 @@ type GenerateKeyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] Which provider will generate the key.
// If omitted, will use the default key provider.
- KeyProvider *KeyProviderId `xml:"keyProvider,omitempty" json:"keyProvider,omitempty" vim:"6.5"`
+ KeyProvider *KeyProviderId `xml:"keyProvider,omitempty" json:"keyProvider,omitempty"`
// \[in\] The spec that contains custom attributes key/value pairs.
- Spec *CryptoManagerKmipCustomAttributeSpec `xml:"spec,omitempty" json:"spec,omitempty"`
+ Spec *CryptoManagerKmipCustomAttributeSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -31028,9 +31156,9 @@ func init() {
type GenerateSelfSignedClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Certificate sign request.
- Request *CryptoManagerKmipCertSignRequest `xml:"request,omitempty" json:"request,omitempty"`
+ Request *CryptoManagerKmipCertSignRequest `xml:"request,omitempty" json:"request,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -31051,12 +31179,12 @@ type GenericDrsFault struct {
//
// This optional array may consist of the exact fault for
// some hosts in the cluster.
- HostFaults []LocalizedMethodFault `xml:"hostFaults,omitempty" json:"hostFaults,omitempty" vim:"2.5"`
+ HostFaults []LocalizedMethodFault `xml:"hostFaults,omitempty" json:"hostFaults,omitempty"`
}
func init() {
- minAPIVersionForType["GenericDrsFault"] = "2.5"
t["GenericDrsFault"] = reflect.TypeOf((*GenericDrsFault)(nil)).Elem()
+ minAPIVersionForType["GenericDrsFault"] = "2.5"
}
type GenericDrsFaultFault GenericDrsFault
@@ -31142,7 +31270,7 @@ func init() {
type GetCryptoKeyStatusRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] Cryptographic keys to query status.
- Keys []CryptoKeyId `xml:"keys,omitempty" json:"keys,omitempty" vim:"6.5"`
+ Keys []CryptoKeyId `xml:"keys,omitempty" json:"keys,omitempty"`
}
func init() {
@@ -31321,12 +31449,12 @@ type GhostDvsProxySwitchDetectedEvent struct {
HostEvent
// The list of ghost DVS proxy switch uuids that were found.
- SwitchUuid []string `xml:"switchUuid" json:"switchUuid" vim:"4.0"`
+ SwitchUuid []string `xml:"switchUuid" json:"switchUuid"`
}
func init() {
- minAPIVersionForType["GhostDvsProxySwitchDetectedEvent"] = "4.0"
t["GhostDvsProxySwitchDetectedEvent"] = reflect.TypeOf((*GhostDvsProxySwitchDetectedEvent)(nil)).Elem()
+ minAPIVersionForType["GhostDvsProxySwitchDetectedEvent"] = "4.0"
}
// This event records when the ghost DVS proxy switches (a.k.a host
@@ -31336,12 +31464,12 @@ type GhostDvsProxySwitchRemovedEvent struct {
HostEvent
// The list of ghost DVS proxy switch uuid that were removed.
- SwitchUuid []string `xml:"switchUuid" json:"switchUuid" vim:"4.0"`
+ SwitchUuid []string `xml:"switchUuid" json:"switchUuid"`
}
func init() {
- minAPIVersionForType["GhostDvsProxySwitchRemovedEvent"] = "4.0"
t["GhostDvsProxySwitchRemovedEvent"] = reflect.TypeOf((*GhostDvsProxySwitchRemovedEvent)(nil)).Elem()
+ minAPIVersionForType["GhostDvsProxySwitchRemovedEvent"] = "4.0"
}
// This event records a change to the global message.
@@ -31381,16 +31509,16 @@ type GuestAliases struct {
// The associated VMware SSO Server X.509 certificate, in base64
// encoded DER format.
- Base64Cert string `xml:"base64Cert" json:"base64Cert" vim:"6.0"`
+ Base64Cert string `xml:"base64Cert" json:"base64Cert"`
// A white list of aliases that the in-guest user account trusts;
// it can be a subset of the subjects known to the identity
// provider.
- Aliases []GuestAuthAliasInfo `xml:"aliases" json:"aliases" vim:"6.0"`
+ Aliases []GuestAuthAliasInfo `xml:"aliases" json:"aliases"`
}
func init() {
- minAPIVersionForType["GuestAliases"] = "6.0"
t["GuestAliases"] = reflect.TypeOf((*GuestAliases)(nil)).Elem()
+ minAPIVersionForType["GuestAliases"] = "6.0"
}
// Describes a subject associated with an X.509 certificate in the alias
@@ -31399,14 +31527,14 @@ type GuestAuthAliasInfo struct {
DynamicData
// The subject.
- Subject BaseGuestAuthSubject `xml:"subject,typeattr" json:"subject" vim:"6.0"`
+ Subject BaseGuestAuthSubject `xml:"subject,typeattr" json:"subject"`
// User-supplied data to describe the subject.
- Comment string `xml:"comment" json:"comment" vim:"6.0"`
+ Comment string `xml:"comment" json:"comment"`
}
func init() {
- minAPIVersionForType["GuestAuthAliasInfo"] = "6.0"
t["GuestAuthAliasInfo"] = reflect.TypeOf((*GuestAuthAliasInfo)(nil)).Elem()
+ minAPIVersionForType["GuestAuthAliasInfo"] = "6.0"
}
// The ANY subject.
@@ -31420,8 +31548,8 @@ type GuestAuthAnySubject struct {
}
func init() {
- minAPIVersionForType["GuestAuthAnySubject"] = "6.0"
t["GuestAuthAnySubject"] = reflect.TypeOf((*GuestAuthAnySubject)(nil)).Elem()
+ minAPIVersionForType["GuestAuthAnySubject"] = "6.0"
}
// A named subject.
@@ -31432,12 +31560,12 @@ type GuestAuthNamedSubject struct {
GuestAuthSubject
// The subject name.
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["GuestAuthNamedSubject"] = "6.0"
t["GuestAuthNamedSubject"] = reflect.TypeOf((*GuestAuthNamedSubject)(nil)).Elem()
+ minAPIVersionForType["GuestAuthNamedSubject"] = "6.0"
}
// A Subject.
@@ -31446,8 +31574,8 @@ type GuestAuthSubject struct {
}
func init() {
- minAPIVersionForType["GuestAuthSubject"] = "6.0"
t["GuestAuthSubject"] = reflect.TypeOf((*GuestAuthSubject)(nil)).Elem()
+ minAPIVersionForType["GuestAuthSubject"] = "6.0"
}
// GuestAuthentication is an abstract base class for authentication
@@ -31459,12 +31587,12 @@ type GuestAuthentication struct {
// in the guest.
//
// Setting this is supported only for `NamePasswordAuthentication`.
- InteractiveSession bool `xml:"interactiveSession" json:"interactiveSession" vim:"5.0"`
+ InteractiveSession bool `xml:"interactiveSession" json:"interactiveSession"`
}
func init() {
- minAPIVersionForType["GuestAuthentication"] = "5.0"
t["GuestAuthentication"] = reflect.TypeOf((*GuestAuthentication)(nil)).Elem()
+ minAPIVersionForType["GuestAuthentication"] = "5.0"
}
// Fault is thrown when a call to `GuestAuthManager.AcquireCredentialsInGuest` requires a challenge
@@ -31476,15 +31604,15 @@ type GuestAuthenticationChallenge struct {
GuestOperationsFault
// Contains the server challenge information
- ServerChallenge BaseGuestAuthentication `xml:"serverChallenge,typeattr" json:"serverChallenge" vim:"5.0"`
+ ServerChallenge BaseGuestAuthentication `xml:"serverChallenge,typeattr" json:"serverChallenge"`
// Contains a session ID number that associates the server response
// with the initial request.
- SessionID int64 `xml:"sessionID" json:"sessionID" vim:"5.0"`
+ SessionID int64 `xml:"sessionID" json:"sessionID"`
}
func init() {
- minAPIVersionForType["GuestAuthenticationChallenge"] = "5.0"
t["GuestAuthenticationChallenge"] = reflect.TypeOf((*GuestAuthenticationChallenge)(nil)).Elem()
+ minAPIVersionForType["GuestAuthenticationChallenge"] = "5.0"
}
type GuestAuthenticationChallengeFault GuestAuthenticationChallenge
@@ -31501,8 +31629,8 @@ type GuestComponentsOutOfDate struct {
}
func init() {
- minAPIVersionForType["GuestComponentsOutOfDate"] = "5.0"
t["GuestComponentsOutOfDate"] = reflect.TypeOf((*GuestComponentsOutOfDate)(nil)).Elem()
+ minAPIVersionForType["GuestComponentsOutOfDate"] = "5.0"
}
type GuestComponentsOutOfDateFault GuestComponentsOutOfDate
@@ -31555,7 +31683,7 @@ type GuestFileAttributes struct {
// `GuestFileManager.InitiateFileTransferToGuest`,
// the default value will be the time when the file is created inside the
// guest.
- ModificationTime *time.Time `xml:"modificationTime" json:"modificationTime,omitempty" vim:"5.0"`
+ ModificationTime *time.Time `xml:"modificationTime" json:"modificationTime,omitempty"`
// The date and time the file was last accessed.
//
// If this property is not specified when passing a
@@ -31563,7 +31691,7 @@ type GuestFileAttributes struct {
// `GuestFileManager.InitiateFileTransferToGuest`,
// the default value will be the time when the file is created inside the
// guest.
- AccessTime *time.Time `xml:"accessTime" json:"accessTime,omitempty" vim:"5.0"`
+ AccessTime *time.Time `xml:"accessTime" json:"accessTime,omitempty"`
// The target for the file if it's a symbolic link.
//
// This is currently only set for Linux guest operating systems,
@@ -31579,25 +31707,25 @@ type GuestFileAttributes struct {
// `GuestFileManager.ChangeFileAttributesInGuest`.
// If the file is a symbolic link, then the attributes of the target
// are returned, not those of the symbolic link.
- SymlinkTarget string `xml:"symlinkTarget,omitempty" json:"symlinkTarget,omitempty" vim:"5.0"`
+ SymlinkTarget string `xml:"symlinkTarget,omitempty" json:"symlinkTarget,omitempty"`
}
func init() {
- minAPIVersionForType["GuestFileAttributes"] = "5.0"
t["GuestFileAttributes"] = reflect.TypeOf((*GuestFileAttributes)(nil)).Elem()
+ minAPIVersionForType["GuestFileAttributes"] = "5.0"
}
type GuestFileInfo struct {
DynamicData
// The complete path to the file
- Path string `xml:"path" json:"path" vim:"5.0"`
+ Path string `xml:"path" json:"path"`
// The file type, one of `GuestFileType_enum`
- Type string `xml:"type" json:"type" vim:"5.0"`
+ Type string `xml:"type" json:"type"`
// The file size in bytes
- Size int64 `xml:"size" json:"size" vim:"5.0"`
+ Size int64 `xml:"size" json:"size"`
// Different attributes of a file.
- Attributes BaseGuestFileAttributes `xml:"attributes,typeattr" json:"attributes" vim:"5.0"`
+ Attributes BaseGuestFileAttributes `xml:"attributes,typeattr" json:"attributes"`
}
func init() {
@@ -31650,6 +31778,84 @@ type GuestInfo struct {
GuestFamily string `xml:"guestFamily,omitempty" json:"guestFamily,omitempty"`
// Guest operating system full name, if known.
GuestFullName string `xml:"guestFullName,omitempty" json:"guestFullName,omitempty"`
+ // Guest OS Detailed data.
+ //
+ // The guest detailed data string is a property list (space separated,
+ // name='value' pairs where the value is embedded in single quotes) of
+ // metadata provided by the guest OS when sufficiently recent tools are
+ // installed. The fields supplied will vary between distributions and
+ // distribution versions. The order of these fields is not guaranteed.
+ //
+ // The guest detailed data string is not available before a virtual machine
+ // is first powered on. The guest must first be booted and a supported
+ // version of tools must be run to record the data (approximately 30-60
+ // seconds after booting). Once the guest detailed data string has been
+ // recorded, it will be available whether the virtual machine is powered off
+ // or on.
+ //
+ // Available fields:
+ //
+ //
+ //
+ // Name
+ // Description
+ // Tools version first available
+ //
+ //
+ //
+ //
+ // architecture
+ // 'Arm' or 'X86'
+ // 11.2.0
+ //
+ //
+ // bitness
+ // '32' or '64'
+ // 11.2.0
+ //
+ //
+ // buildNumber
+ // OS build number
+ // 11.2.0
+ //
+ //
+ // cpeString
+ // NIST Common Platform Enumeration Specification string, a standardized identifier for the OS
+ // 12.2.0
+ //
+ //
+ // distroAddlVersion
+ // Longer OS version string that may contain additional info (e.g. version name)
+ // 12.2.0
+ //
+ //
+ // distroName
+ // OS distribution name
+ // 11.2.0
+ //
+ //
+ // distroVersion
+ // OS version string
+ // 11.2.0
+ //
+ //
+ // familyName
+ // OS family name (Windows, Linux, etc.)
+ // 11.2.0
+ //
+ //
+ // kernelVersion
+ // Linux kernel version, Windows 10+ patch number, or Windows build number
+ // 11.2.0
+ //
+ //
+ // prettyName
+ // Officially specified distro "pretty name"
+ // 11.2.0
+ //
+ //
+ //
+ GuestDetailedData string `xml:"guestDetailedData,omitempty" json:"guestDetailedData,omitempty" vim:"8.0.2.0"`
// Hostname of the guest operating system, if known.
HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// Primary IP address assigned to the guest operating system, if known.
@@ -31736,16 +31942,16 @@ type GuestInfoCustomizationInfo struct {
// The customization status for this VM
//
// See also `GuestInfoCustomizationStatus_enum`for the list of supported values.
- CustomizationStatus string `xml:"customizationStatus" json:"customizationStatus" vim:"7.0.2.0"`
+ CustomizationStatus string `xml:"customizationStatus" json:"customizationStatus"`
// The time when the customization process has started inside the
// guest OS
- StartTime *time.Time `xml:"startTime" json:"startTime,omitempty" vim:"7.0.2.0"`
+ StartTime *time.Time `xml:"startTime" json:"startTime,omitempty"`
// The time when the customization process has completed inside the
// guest OS
- EndTime *time.Time `xml:"endTime" json:"endTime,omitempty" vim:"7.0.2.0"`
+ EndTime *time.Time `xml:"endTime" json:"endTime,omitempty"`
// Description of the error if there is error for the customization
// process inside the guest OS
- ErrorMsg string `xml:"errorMsg,omitempty" json:"errorMsg,omitempty" vim:"7.0.2.0"`
+ ErrorMsg string `xml:"errorMsg,omitempty" json:"errorMsg,omitempty"`
}
func init() {
@@ -31763,17 +31969,17 @@ type GuestInfoNamespaceGenerationInfo struct {
DynamicData
// The namespace name as the unique key.
- Key string `xml:"key" json:"key" vim:"5.1"`
+ Key string `xml:"key" json:"key"`
// Namespace generation number.
//
// Generation number is changed whenever
// there is new unread event pending from the guest to the VMODL.
- GenerationNo int32 `xml:"generationNo" json:"generationNo" vim:"5.1"`
+ GenerationNo int32 `xml:"generationNo" json:"generationNo"`
}
func init() {
- minAPIVersionForType["GuestInfoNamespaceGenerationInfo"] = "5.1"
t["GuestInfoNamespaceGenerationInfo"] = reflect.TypeOf((*GuestInfoNamespaceGenerationInfo)(nil)).Elem()
+ minAPIVersionForType["GuestInfoNamespaceGenerationInfo"] = "5.1"
}
// Describes the virtual disk backing a local guest disk.
@@ -31783,12 +31989,12 @@ type GuestInfoVirtualDiskMapping struct {
// The key of the VirtualDevice.
//
// `VirtualDevice.key`
- Key int32 `xml:"key" json:"key" vim:"7.0"`
+ Key int32 `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["GuestInfoVirtualDiskMapping"] = "7.0"
t["GuestInfoVirtualDiskMapping"] = reflect.TypeOf((*GuestInfoVirtualDiskMapping)(nil)).Elem()
+ minAPIVersionForType["GuestInfoVirtualDiskMapping"] = "7.0"
}
type GuestListFileInfo struct {
@@ -31796,14 +32002,14 @@ type GuestListFileInfo struct {
// A list of `GuestFileInfo`
// data objects containing information for all the matching files.
- Files []GuestFileInfo `xml:"files,omitempty" json:"files,omitempty" vim:"5.0"`
+ Files []GuestFileInfo `xml:"files,omitempty" json:"files,omitempty"`
// The number of files left to be returned.
//
// If non-zero,
// then the next set of files can be returned by calling
// ListFiles again with the index set to the number of results
// already returned.
- Remaining int32 `xml:"remaining" json:"remaining" vim:"5.0"`
+ Remaining int32 `xml:"remaining" json:"remaining"`
}
func init() {
@@ -31817,16 +32023,16 @@ type GuestMappedAliases struct {
// The associated VMware SSO Server X.509 certificate, in base64
// encoded DER format.
- Base64Cert string `xml:"base64Cert" json:"base64Cert" vim:"6.0"`
+ Base64Cert string `xml:"base64Cert" json:"base64Cert"`
// The in-guest user associated with the mapping.
- Username string `xml:"username" json:"username" vim:"6.0"`
+ Username string `xml:"username" json:"username"`
// The list of subjects associated with the mapping.
- Subjects []BaseGuestAuthSubject `xml:"subjects,typeattr" json:"subjects" vim:"6.0"`
+ Subjects []BaseGuestAuthSubject `xml:"subjects,typeattr" json:"subjects"`
}
func init() {
- minAPIVersionForType["GuestMappedAliases"] = "6.0"
t["GuestMappedAliases"] = reflect.TypeOf((*GuestMappedAliases)(nil)).Elem()
+ minAPIVersionForType["GuestMappedAliases"] = "6.0"
}
// A GuestMultipleMappings exception is thrown when an
@@ -31838,8 +32044,8 @@ type GuestMultipleMappings struct {
}
func init() {
- minAPIVersionForType["GuestMultipleMappings"] = "6.0"
t["GuestMultipleMappings"] = reflect.TypeOf((*GuestMultipleMappings)(nil)).Elem()
+ minAPIVersionForType["GuestMultipleMappings"] = "6.0"
}
type GuestMultipleMappingsFault GuestMultipleMappings
@@ -31889,8 +32095,8 @@ type GuestOperationsFault struct {
}
func init() {
- minAPIVersionForType["GuestOperationsFault"] = "5.0"
t["GuestOperationsFault"] = reflect.TypeOf((*GuestOperationsFault)(nil)).Elem()
+ minAPIVersionForType["GuestOperationsFault"] = "5.0"
}
type GuestOperationsFaultFault BaseGuestOperationsFault
@@ -31907,8 +32113,8 @@ type GuestOperationsUnavailable struct {
}
func init() {
- minAPIVersionForType["GuestOperationsUnavailable"] = "5.0"
t["GuestOperationsUnavailable"] = reflect.TypeOf((*GuestOperationsUnavailable)(nil)).Elem()
+ minAPIVersionForType["GuestOperationsUnavailable"] = "5.0"
}
type GuestOperationsUnavailableFault GuestOperationsUnavailable
@@ -31974,16 +32180,16 @@ type GuestOsDescriptor struct {
SupportsWakeOnLan bool `xml:"supportsWakeOnLan" json:"supportsWakeOnLan"`
// Flag indicating whether or not this guest supports the virtual
// machine interface.
- SupportsVMI *bool `xml:"supportsVMI" json:"supportsVMI,omitempty" vim:"4.0"`
+ SupportsVMI *bool `xml:"supportsVMI" json:"supportsVMI,omitempty" vim:"2.5 U2"`
// Whether the memory size for this guest can be changed
// while the virtual machine is running.
- SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd" json:"supportsMemoryHotAdd,omitempty" vim:"4.0"`
+ SupportsMemoryHotAdd *bool `xml:"supportsMemoryHotAdd" json:"supportsMemoryHotAdd,omitempty" vim:"2.5 U2"`
// Whether virtual CPUs can be added to this guest
// while the virtual machine is running.
- SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd" json:"supportsCpuHotAdd,omitempty" vim:"4.0"`
+ SupportsCpuHotAdd *bool `xml:"supportsCpuHotAdd" json:"supportsCpuHotAdd,omitempty" vim:"2.5 U2"`
// Whether virtual CPUs can be removed from this guest
// while the virtual machine is running.
- SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove" json:"supportsCpuHotRemove,omitempty" vim:"4.0"`
+ SupportsCpuHotRemove *bool `xml:"supportsCpuHotRemove" json:"supportsCpuHotRemove,omitempty" vim:"2.5 U2"`
// Supported firmware types for this guest.
//
// Possible values are described in
@@ -32078,11 +32284,11 @@ type GuestOsDescriptor struct {
// Support for Intel Software Guard Extensions
VsgxSupported *BoolOption `xml:"vsgxSupported,omitempty" json:"vsgxSupported,omitempty" vim:"7.0"`
// Support for Intel Software Guard Extensions remote attestation.
- VsgxRemoteAttestationSupported *bool `xml:"vsgxRemoteAttestationSupported" json:"vsgxRemoteAttestationSupported,omitempty"`
+ VsgxRemoteAttestationSupported *bool `xml:"vsgxRemoteAttestationSupported" json:"vsgxRemoteAttestationSupported,omitempty" vim:"8.0.0.1"`
// Support for TPM 2.0.
SupportsTPM20 *bool `xml:"supportsTPM20" json:"supportsTPM20,omitempty" vim:"6.7"`
// Support for default vTPM
- RecommendedTPM20 *bool `xml:"recommendedTPM20" json:"recommendedTPM20,omitempty"`
+ RecommendedTPM20 *bool `xml:"recommendedTPM20" json:"recommendedTPM20,omitempty" vim:"8.0.0.1"`
// Support for Virtual Watchdog Timer.
VwdtSupported *bool `xml:"vwdtSupported" json:"vwdtSupported,omitempty" vim:"7.0"`
}
@@ -32099,8 +32305,8 @@ type GuestPermissionDenied struct {
}
func init() {
- minAPIVersionForType["GuestPermissionDenied"] = "5.0"
t["GuestPermissionDenied"] = reflect.TypeOf((*GuestPermissionDenied)(nil)).Elem()
+ minAPIVersionForType["GuestPermissionDenied"] = "5.0"
}
type GuestPermissionDeniedFault GuestPermissionDenied
@@ -32120,7 +32326,7 @@ type GuestPosixFileAttributes struct {
// `GuestFileManager.InitiateFileTransferToGuest`,
// the default value will be the owner Id of the user who invoked
// the file transfer operation.
- OwnerId *int32 `xml:"ownerId" json:"ownerId,omitempty" vim:"5.0"`
+ OwnerId *int32 `xml:"ownerId" json:"ownerId,omitempty"`
// The group ID.
//
// If this property is not specified when passing a
@@ -32128,7 +32334,7 @@ type GuestPosixFileAttributes struct {
// `GuestFileManager.InitiateFileTransferToGuest`,
// the default value will be the group Id of the user who invoked
// the file transfer operation.
- GroupId *int32 `xml:"groupId" json:"groupId,omitempty" vim:"5.0"`
+ GroupId *int32 `xml:"groupId" json:"groupId,omitempty"`
// The file permissions.
//
// When creating a file with
@@ -32139,37 +32345,37 @@ type GuestPosixFileAttributes struct {
// `GuestPosixFileAttributes` object to
// `GuestFileManager.InitiateFileTransferToGuest`,
// the file will be created with 0644 permissions.
- Permissions int64 `xml:"permissions,omitempty" json:"permissions,omitempty" vim:"5.0"`
+ Permissions int64 `xml:"permissions,omitempty" json:"permissions,omitempty"`
}
func init() {
- minAPIVersionForType["GuestPosixFileAttributes"] = "5.0"
t["GuestPosixFileAttributes"] = reflect.TypeOf((*GuestPosixFileAttributes)(nil)).Elem()
+ minAPIVersionForType["GuestPosixFileAttributes"] = "5.0"
}
type GuestProcessInfo struct {
DynamicData
// The process name
- Name string `xml:"name" json:"name" vim:"5.0"`
+ Name string `xml:"name" json:"name"`
// The process ID
- Pid int64 `xml:"pid" json:"pid" vim:"5.0"`
+ Pid int64 `xml:"pid" json:"pid"`
// The process owner
- Owner string `xml:"owner" json:"owner" vim:"5.0"`
+ Owner string `xml:"owner" json:"owner"`
// The full command line
- CmdLine string `xml:"cmdLine" json:"cmdLine" vim:"5.0"`
+ CmdLine string `xml:"cmdLine" json:"cmdLine"`
// The start time of the process
- StartTime time.Time `xml:"startTime" json:"startTime" vim:"5.0"`
+ StartTime time.Time `xml:"startTime" json:"startTime"`
// If the process was started using
// `GuestProcessManager.StartProgramInGuest`
// then the process completion time will be available if
// queried within 5 minutes after it completes.
- EndTime *time.Time `xml:"endTime" json:"endTime,omitempty" vim:"5.0"`
+ EndTime *time.Time `xml:"endTime" json:"endTime,omitempty"`
// If the process was started using
// `GuestProcessManager.StartProgramInGuest`
// then the process exit code will be available if
// queried within 5 minutes after it completes.
- ExitCode int32 `xml:"exitCode,omitempty" json:"exitCode,omitempty" vim:"5.0"`
+ ExitCode int32 `xml:"exitCode,omitempty" json:"exitCode,omitempty"`
}
func init() {
@@ -32182,12 +32388,12 @@ type GuestProcessNotFound struct {
GuestOperationsFault
// The process ID that was not found.
- Pid int64 `xml:"pid" json:"pid" vim:"5.0"`
+ Pid int64 `xml:"pid" json:"pid"`
}
func init() {
- minAPIVersionForType["GuestProcessNotFound"] = "5.0"
t["GuestProcessNotFound"] = reflect.TypeOf((*GuestProcessNotFound)(nil)).Elem()
+ minAPIVersionForType["GuestProcessNotFound"] = "5.0"
}
type GuestProcessNotFoundFault GuestProcessNotFound
@@ -32214,7 +32420,7 @@ type GuestProgramSpec struct {
// still be usable for watching the process with
// `GuestProcessManager.ListProcessesInGuest` to
// find its exit code and elapsed time.
- ProgramPath string `xml:"programPath" json:"programPath" vim:"5.0"`
+ ProgramPath string `xml:"programPath" json:"programPath"`
// The arguments to the program.
//
// In Linux and Solaris guest operating
@@ -32225,7 +32431,7 @@ type GuestProgramSpec struct {
//
// For Windows guest operating systems, prefixing the command with
// "cmd /c" can provide stdio redirection.
- Arguments string `xml:"arguments" json:"arguments" vim:"5.0"`
+ Arguments string `xml:"arguments" json:"arguments"`
// The absolute path of the working directory for the program to be
// run.
//
@@ -32237,7 +32443,7 @@ type GuestProgramSpec struct {
// of the user associated with the guest authentication.
// For other guest operating systems, if this value is unset, the
// behavior is unspecified.
- WorkingDirectory string `xml:"workingDirectory,omitempty" json:"workingDirectory,omitempty" vim:"5.0"`
+ WorkingDirectory string `xml:"workingDirectory,omitempty" json:"workingDirectory,omitempty"`
// An array of environment variables, specified
// in the guest OS notation (eg PATH=c:\\bin;c:\\windows\\system32
// or LD\_LIBRARY\_PATH=/usr/lib:/lib), to be set for the program
@@ -32246,12 +32452,12 @@ type GuestProgramSpec struct {
// Note that these are not additions to the default
// environment variables; they define the complete set available to
// the program. If none are specified the values are guest dependent.
- EnvVariables []string `xml:"envVariables,omitempty" json:"envVariables,omitempty" vim:"5.0"`
+ EnvVariables []string `xml:"envVariables,omitempty" json:"envVariables,omitempty"`
}
func init() {
- minAPIVersionForType["GuestProgramSpec"] = "5.0"
t["GuestProgramSpec"] = reflect.TypeOf((*GuestProgramSpec)(nil)).Elem()
+ minAPIVersionForType["GuestProgramSpec"] = "5.0"
}
// This describes the registry key name.
@@ -32259,14 +32465,14 @@ type GuestRegKeyNameSpec struct {
DynamicData
// The full path to a registry key.
- RegistryPath string `xml:"registryPath" json:"registryPath" vim:"6.0"`
+ RegistryPath string `xml:"registryPath" json:"registryPath"`
// The wow bitness, one of `GuestRegKeyWowSpec_enum`.
- WowBitness string `xml:"wowBitness" json:"wowBitness" vim:"6.0"`
+ WowBitness string `xml:"wowBitness" json:"wowBitness"`
}
func init() {
- minAPIVersionForType["GuestRegKeyNameSpec"] = "6.0"
t["GuestRegKeyNameSpec"] = reflect.TypeOf((*GuestRegKeyNameSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegKeyNameSpec"] = "6.0"
}
// This describes the registry key record.
@@ -32274,18 +32480,18 @@ type GuestRegKeyRecordSpec struct {
DynamicData
// The key.
- Key GuestRegKeySpec `xml:"key" json:"key" vim:"6.0"`
+ Key GuestRegKeySpec `xml:"key" json:"key"`
// Any error that occurred while trying to access this key.
//
// Presence of this fault indicates that a recursive listing failed to
// open this key to find keys below it in the tree. This could be a
// result of insufficient user permissions within the guest.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["GuestRegKeyRecordSpec"] = "6.0"
t["GuestRegKeyRecordSpec"] = reflect.TypeOf((*GuestRegKeyRecordSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegKeyRecordSpec"] = "6.0"
}
// This describes the registry key.
@@ -32293,16 +32499,16 @@ type GuestRegKeySpec struct {
DynamicData
// The key name.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// The user-defined class type of this key.
- ClassType string `xml:"classType" json:"classType" vim:"6.0"`
+ ClassType string `xml:"classType" json:"classType"`
// Time stamp of last modification.
- LastWritten time.Time `xml:"lastWritten" json:"lastWritten" vim:"6.0"`
+ LastWritten time.Time `xml:"lastWritten" json:"lastWritten"`
}
func init() {
- minAPIVersionForType["GuestRegKeySpec"] = "6.0"
t["GuestRegKeySpec"] = reflect.TypeOf((*GuestRegKeySpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegKeySpec"] = "6.0"
}
// This describes the registry value binary.
@@ -32313,12 +32519,12 @@ type GuestRegValueBinarySpec struct {
//
// The Windows registry allows this type of value to exist without
// having any data associated with it.
- Value []byte `xml:"value,omitempty" json:"value,omitempty" vim:"6.0"`
+ Value []byte `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["GuestRegValueBinarySpec"] = "6.0"
t["GuestRegValueBinarySpec"] = reflect.TypeOf((*GuestRegValueBinarySpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueBinarySpec"] = "6.0"
}
// This describes the registry value data.
@@ -32327,8 +32533,8 @@ type GuestRegValueDataSpec struct {
}
func init() {
- minAPIVersionForType["GuestRegValueDataSpec"] = "6.0"
t["GuestRegValueDataSpec"] = reflect.TypeOf((*GuestRegValueDataSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueDataSpec"] = "6.0"
}
// This describes the registry value dword.
@@ -32336,12 +32542,12 @@ type GuestRegValueDwordSpec struct {
GuestRegValueDataSpec
// The data of the registry value.
- Value int32 `xml:"value" json:"value" vim:"6.0"`
+ Value int32 `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["GuestRegValueDwordSpec"] = "6.0"
t["GuestRegValueDwordSpec"] = reflect.TypeOf((*GuestRegValueDwordSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueDwordSpec"] = "6.0"
}
// This describes the registry value expand string.
@@ -32352,12 +32558,12 @@ type GuestRegValueExpandStringSpec struct {
//
// The Windows registry allows this type of value to exist without
// having any data associated with it.
- Value string `xml:"value,omitempty" json:"value,omitempty" vim:"6.0"`
+ Value string `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["GuestRegValueExpandStringSpec"] = "6.0"
t["GuestRegValueExpandStringSpec"] = reflect.TypeOf((*GuestRegValueExpandStringSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueExpandStringSpec"] = "6.0"
}
// This describes the registry value multi string.
@@ -32368,12 +32574,12 @@ type GuestRegValueMultiStringSpec struct {
//
// The Windows registry allows this type of value to exist without
// having any data associated with it.
- Value []string `xml:"value,omitempty" json:"value,omitempty" vim:"6.0"`
+ Value []string `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["GuestRegValueMultiStringSpec"] = "6.0"
t["GuestRegValueMultiStringSpec"] = reflect.TypeOf((*GuestRegValueMultiStringSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueMultiStringSpec"] = "6.0"
}
// This describes the registry value name.
@@ -32381,14 +32587,14 @@ type GuestRegValueNameSpec struct {
DynamicData
// The key name that contains this value.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// The name of the value.
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["GuestRegValueNameSpec"] = "6.0"
t["GuestRegValueNameSpec"] = reflect.TypeOf((*GuestRegValueNameSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueNameSpec"] = "6.0"
}
// This describes the registry value qword.
@@ -32396,12 +32602,12 @@ type GuestRegValueQwordSpec struct {
GuestRegValueDataSpec
// The data of the registry value.
- Value int64 `xml:"value" json:"value" vim:"6.0"`
+ Value int64 `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["GuestRegValueQwordSpec"] = "6.0"
t["GuestRegValueQwordSpec"] = reflect.TypeOf((*GuestRegValueQwordSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueQwordSpec"] = "6.0"
}
// This describes the registry value.
@@ -32409,7 +32615,7 @@ type GuestRegValueSpec struct {
DynamicData
// The value name.
- Name GuestRegValueNameSpec `xml:"name" json:"name" vim:"6.0"`
+ Name GuestRegValueNameSpec `xml:"name" json:"name"`
// The value data.
//
// Use one of the extended classes to specify data type:
@@ -32419,12 +32625,12 @@ type GuestRegValueSpec struct {
// `GuestRegValueExpandStringSpec`,
// `GuestRegValueMultiStringSpec`,
// `GuestRegValueBinarySpec`.
- Data BaseGuestRegValueDataSpec `xml:"data,typeattr" json:"data" vim:"6.0"`
+ Data BaseGuestRegValueDataSpec `xml:"data,typeattr" json:"data"`
}
func init() {
- minAPIVersionForType["GuestRegValueSpec"] = "6.0"
t["GuestRegValueSpec"] = reflect.TypeOf((*GuestRegValueSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueSpec"] = "6.0"
}
// This describes the registry value string.
@@ -32435,12 +32641,12 @@ type GuestRegValueStringSpec struct {
//
// The Windows registry allows this type of value to exist without
// having any data associated with it.
- Value string `xml:"value,omitempty" json:"value,omitempty" vim:"6.0"`
+ Value string `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["GuestRegValueStringSpec"] = "6.0"
t["GuestRegValueStringSpec"] = reflect.TypeOf((*GuestRegValueStringSpec)(nil)).Elem()
+ minAPIVersionForType["GuestRegValueStringSpec"] = "6.0"
}
// A GuestRegistryFault exception is thrown when an operation fails
@@ -32449,12 +32655,12 @@ type GuestRegistryFault struct {
GuestOperationsFault
// The windows system error number from GetLastError().
- WindowsSystemErrorCode int64 `xml:"windowsSystemErrorCode" json:"windowsSystemErrorCode" vim:"6.0"`
+ WindowsSystemErrorCode int64 `xml:"windowsSystemErrorCode" json:"windowsSystemErrorCode"`
}
func init() {
- minAPIVersionForType["GuestRegistryFault"] = "6.0"
t["GuestRegistryFault"] = reflect.TypeOf((*GuestRegistryFault)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryFault"] = "6.0"
}
type GuestRegistryFaultFault BaseGuestRegistryFault
@@ -32470,8 +32676,8 @@ type GuestRegistryKeyAlreadyExists struct {
}
func init() {
- minAPIVersionForType["GuestRegistryKeyAlreadyExists"] = "6.0"
t["GuestRegistryKeyAlreadyExists"] = reflect.TypeOf((*GuestRegistryKeyAlreadyExists)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryKeyAlreadyExists"] = "6.0"
}
type GuestRegistryKeyAlreadyExistsFault GuestRegistryKeyAlreadyExists
@@ -32486,12 +32692,12 @@ type GuestRegistryKeyFault struct {
GuestRegistryFault
// The full path to the windows registry key.
- KeyName string `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName string `xml:"keyName" json:"keyName"`
}
func init() {
- minAPIVersionForType["GuestRegistryKeyFault"] = "6.0"
t["GuestRegistryKeyFault"] = reflect.TypeOf((*GuestRegistryKeyFault)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryKeyFault"] = "6.0"
}
type GuestRegistryKeyFaultFault BaseGuestRegistryKeyFault
@@ -32510,8 +32716,8 @@ type GuestRegistryKeyHasSubkeys struct {
}
func init() {
- minAPIVersionForType["GuestRegistryKeyHasSubkeys"] = "6.0"
t["GuestRegistryKeyHasSubkeys"] = reflect.TypeOf((*GuestRegistryKeyHasSubkeys)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryKeyHasSubkeys"] = "6.0"
}
type GuestRegistryKeyHasSubkeysFault GuestRegistryKeyHasSubkeys
@@ -32528,8 +32734,8 @@ type GuestRegistryKeyInvalid struct {
}
func init() {
- minAPIVersionForType["GuestRegistryKeyInvalid"] = "6.0"
t["GuestRegistryKeyInvalid"] = reflect.TypeOf((*GuestRegistryKeyInvalid)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryKeyInvalid"] = "6.0"
}
type GuestRegistryKeyInvalidFault GuestRegistryKeyInvalid
@@ -32545,8 +32751,8 @@ type GuestRegistryKeyParentVolatile struct {
}
func init() {
- minAPIVersionForType["GuestRegistryKeyParentVolatile"] = "6.0"
t["GuestRegistryKeyParentVolatile"] = reflect.TypeOf((*GuestRegistryKeyParentVolatile)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryKeyParentVolatile"] = "6.0"
}
type GuestRegistryKeyParentVolatileFault GuestRegistryKeyParentVolatile
@@ -32561,14 +32767,14 @@ type GuestRegistryValueFault struct {
GuestRegistryFault
// The full path to the windows registry key containing the value.
- KeyName string `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName string `xml:"keyName" json:"keyName"`
// The name of the value.
- ValueName string `xml:"valueName" json:"valueName" vim:"6.0"`
+ ValueName string `xml:"valueName" json:"valueName"`
}
func init() {
- minAPIVersionForType["GuestRegistryValueFault"] = "6.0"
t["GuestRegistryValueFault"] = reflect.TypeOf((*GuestRegistryValueFault)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryValueFault"] = "6.0"
}
type GuestRegistryValueFaultFault BaseGuestRegistryValueFault
@@ -32584,8 +32790,8 @@ type GuestRegistryValueNotFound struct {
}
func init() {
- minAPIVersionForType["GuestRegistryValueNotFound"] = "6.0"
t["GuestRegistryValueNotFound"] = reflect.TypeOf((*GuestRegistryValueNotFound)(nil)).Elem()
+ minAPIVersionForType["GuestRegistryValueNotFound"] = "6.0"
}
type GuestRegistryValueNotFoundFault GuestRegistryValueNotFound
@@ -32616,9 +32822,9 @@ type GuestStackInfo struct {
// Client DNS configuration.
//
// How DNS queries are resolved.
- DnsConfig *NetDnsConfigInfo `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty" vim:"4.1"`
+ DnsConfig *NetDnsConfigInfo `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty"`
// IP route table configuration.
- IpRouteConfig *NetIpRouteConfigInfo `xml:"ipRouteConfig,omitempty" json:"ipRouteConfig,omitempty" vim:"4.1"`
+ IpRouteConfig *NetIpRouteConfigInfo `xml:"ipRouteConfig,omitempty" json:"ipRouteConfig,omitempty"`
// Report Kernel IP configuration settings.
//
// The key part contains a unique number in the report.
@@ -32627,7 +32833,7 @@ type GuestStackInfo struct {
// For example on Linux, BSD, the
// systcl -a output would be reported as:
// key='5', value='net.ipv4.tcp\_keepalive\_time = 7200'
- IpStackConfig []KeyValue `xml:"ipStackConfig,omitempty" json:"ipStackConfig,omitempty" vim:"4.1"`
+ IpStackConfig []KeyValue `xml:"ipStackConfig,omitempty" json:"ipStackConfig,omitempty"`
// Client side DHCP for a given interface.
//
// This reports only the system wide dhcp client settings.
@@ -32636,12 +32842,12 @@ type GuestStackInfo struct {
// Using the file dhclient.conf output would be reported as:
// key='1', value='timeout 60;'
// key='2', value='reboot 10;'
- DhcpConfig *NetDhcpConfigInfo `xml:"dhcpConfig,omitempty" json:"dhcpConfig,omitempty" vim:"4.1"`
+ DhcpConfig *NetDhcpConfigInfo `xml:"dhcpConfig,omitempty" json:"dhcpConfig,omitempty"`
}
func init() {
- minAPIVersionForType["GuestStackInfo"] = "4.1"
t["GuestStackInfo"] = reflect.TypeOf((*GuestStackInfo)(nil)).Elem()
+ minAPIVersionForType["GuestStackInfo"] = "4.1"
}
// Different attributes for a Windows guest file.
@@ -32654,14 +32860,14 @@ type GuestWindowsFileAttributes struct {
// `GuestWindowsFileAttributes` object to
// `GuestFileManager.InitiateFileTransferToGuest`,
// the file will not be set as a hidden file.
- Hidden *bool `xml:"hidden" json:"hidden,omitempty" vim:"5.0"`
+ Hidden *bool `xml:"hidden" json:"hidden,omitempty"`
// The file is read-only.
//
// If this property is not specified when passing a
// `GuestWindowsFileAttributes` object to
// `GuestFileManager.InitiateFileTransferToGuest`,
// the file will not be set as a read-only file.
- ReadOnly *bool `xml:"readOnly" json:"readOnly,omitempty" vim:"5.0"`
+ ReadOnly *bool `xml:"readOnly" json:"readOnly,omitempty"`
// The date and time the file was created.
//
// This property gives information about files when returned from
@@ -32672,12 +32878,12 @@ type GuestWindowsFileAttributes struct {
// `GuestWindowsFileAttributes` object to
// `GuestFileManager.InitiateFileTransferToGuest` or
// `GuestFileManager.ChangeFileAttributesInGuest`.
- CreateTime *time.Time `xml:"createTime" json:"createTime,omitempty" vim:"5.0"`
+ CreateTime *time.Time `xml:"createTime" json:"createTime,omitempty"`
}
func init() {
- minAPIVersionForType["GuestWindowsFileAttributes"] = "5.0"
t["GuestWindowsFileAttributes"] = reflect.TypeOf((*GuestWindowsFileAttributes)(nil)).Elem()
+ minAPIVersionForType["GuestWindowsFileAttributes"] = "5.0"
}
// This describes the arguments to `GuestProcessManager.StartProgramInGuest` that apply
@@ -32686,12 +32892,12 @@ type GuestWindowsProgramSpec struct {
GuestProgramSpec
// Makes any program window start minimized.
- StartMinimized bool `xml:"startMinimized" json:"startMinimized" vim:"5.0"`
+ StartMinimized bool `xml:"startMinimized" json:"startMinimized"`
}
func init() {
- minAPIVersionForType["GuestWindowsProgramSpec"] = "5.0"
t["GuestWindowsProgramSpec"] = reflect.TypeOf((*GuestWindowsProgramSpec)(nil)).Elem()
+ minAPIVersionForType["GuestWindowsProgramSpec"] = "5.0"
}
// The destination compute resource is HA-enabled, and HA is not running
@@ -32707,8 +32913,8 @@ type HAErrorsAtDest struct {
}
func init() {
- minAPIVersionForType["HAErrorsAtDest"] = "2.5"
t["HAErrorsAtDest"] = reflect.TypeOf((*HAErrorsAtDest)(nil)).Elem()
+ minAPIVersionForType["HAErrorsAtDest"] = "2.5"
}
type HAErrorsAtDestFault HAErrorsAtDest
@@ -32862,58 +33068,58 @@ type HbrDiskMigrationAction struct {
ClusterAction
// HMS Service specific collection id
- CollectionId string `xml:"collectionId" json:"collectionId" vim:"6.0"`
+ CollectionId string `xml:"collectionId" json:"collectionId"`
// HMS specific name of this collection
- CollectionName string `xml:"collectionName" json:"collectionName" vim:"6.0"`
+ CollectionName string `xml:"collectionName" json:"collectionName"`
// HBR disk ids of secondary disks moved by this action
- DiskIds []string `xml:"diskIds" json:"diskIds" vim:"6.0"`
+ DiskIds []string `xml:"diskIds" json:"diskIds"`
// Source datastore.
//
// Refers instance of `Datastore`.
- Source ManagedObjectReference `xml:"source" json:"source" vim:"6.0"`
+ Source ManagedObjectReference `xml:"source" json:"source"`
// Destination datastore.
//
// Refers instance of `Datastore`.
- Destination ManagedObjectReference `xml:"destination" json:"destination" vim:"6.0"`
+ Destination ManagedObjectReference `xml:"destination" json:"destination"`
// The amount of data to be transferred.
//
// Unit: KB.
- SizeTransferred int64 `xml:"sizeTransferred" json:"sizeTransferred" vim:"6.0"`
+ SizeTransferred int64 `xml:"sizeTransferred" json:"sizeTransferred"`
// Space utilization on the source datastore before storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilSrcBefore float32 `xml:"spaceUtilSrcBefore,omitempty" json:"spaceUtilSrcBefore,omitempty" vim:"6.0"`
+ SpaceUtilSrcBefore float32 `xml:"spaceUtilSrcBefore,omitempty" json:"spaceUtilSrcBefore,omitempty"`
// Space utilization on the destination datastore before storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilDstBefore float32 `xml:"spaceUtilDstBefore,omitempty" json:"spaceUtilDstBefore,omitempty" vim:"6.0"`
+ SpaceUtilDstBefore float32 `xml:"spaceUtilDstBefore,omitempty" json:"spaceUtilDstBefore,omitempty"`
// Expected space utilization on the source datastore after storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilSrcAfter float32 `xml:"spaceUtilSrcAfter,omitempty" json:"spaceUtilSrcAfter,omitempty" vim:"6.0"`
+ SpaceUtilSrcAfter float32 `xml:"spaceUtilSrcAfter,omitempty" json:"spaceUtilSrcAfter,omitempty"`
// Expected space utilization on the destination datastore after storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty" vim:"6.0"`
+ SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty"`
// I/O latency on the source datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
- IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty" vim:"6.0"`
+ IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty"`
// I/O latency on the destination datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
- IoLatencyDstBefore float32 `xml:"ioLatencyDstBefore,omitempty" json:"ioLatencyDstBefore,omitempty" vim:"6.0"`
+ IoLatencyDstBefore float32 `xml:"ioLatencyDstBefore,omitempty" json:"ioLatencyDstBefore,omitempty"`
}
func init() {
- minAPIVersionForType["HbrDiskMigrationAction"] = "6.0"
t["HbrDiskMigrationAction"] = reflect.TypeOf((*HbrDiskMigrationAction)(nil)).Elem()
+ minAPIVersionForType["HbrDiskMigrationAction"] = "6.0"
}
// This data object represents the essential information about the
@@ -32922,31 +33128,31 @@ type HbrManagerReplicationVmInfo struct {
DynamicData
// A string representing the current `ReplicationVmState_enum` of the virtual machine.
- State string `xml:"state" json:"state" vim:"5.0"`
+ State string `xml:"state" json:"state"`
// Progress stats for the current operation.
//
// Never present if the state is
// not "syncing" or "active". If not present while in one of these states,
// the host is still gathering initial operation statistics (progress can
// be assumed to be 0).
- ProgressInfo *ReplicationVmProgressInfo `xml:"progressInfo,omitempty" json:"progressInfo,omitempty" vim:"5.0"`
+ ProgressInfo *ReplicationVmProgressInfo `xml:"progressInfo,omitempty" json:"progressInfo,omitempty"`
// An optional imageId that identifies the instance being created,
// this is the imagId string that is passed to
// `HbrManager.HbrCreateInstance_Task` or
// `HbrManager.HbrStartOfflineInstance_Task`
- ImageId string `xml:"imageId,omitempty" json:"imageId,omitempty" vim:"5.0"`
+ ImageId string `xml:"imageId,omitempty" json:"imageId,omitempty"`
// A MethodFault representing the last replication specific error
// that the `VirtualMachine` encountered during a create
// instance operation.
//
// The successful creation of an instance
// will clear any error.
- LastError *LocalizedMethodFault `xml:"lastError,omitempty" json:"lastError,omitempty" vim:"5.0"`
+ LastError *LocalizedMethodFault `xml:"lastError,omitempty" json:"lastError,omitempty"`
}
func init() {
- minAPIVersionForType["HbrManagerReplicationVmInfo"] = "5.0"
t["HbrManagerReplicationVmInfo"] = reflect.TypeOf((*HbrManagerReplicationVmInfo)(nil)).Elem()
+ minAPIVersionForType["HbrManagerReplicationVmInfo"] = "5.0"
}
// This data object represents the capabilities of a given
@@ -32956,27 +33162,27 @@ type HbrManagerVmReplicationCapability struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// A string representing the current `QuiesceMode_enum` of the virtual machine.
- SupportedQuiesceMode string `xml:"supportedQuiesceMode" json:"supportedQuiesceMode" vim:"6.0"`
+ SupportedQuiesceMode string `xml:"supportedQuiesceMode" json:"supportedQuiesceMode"`
// Flag indicating compression support on the host on which this virtual
// machine is running.
- CompressionSupported bool `xml:"compressionSupported" json:"compressionSupported" vim:"6.0"`
+ CompressionSupported bool `xml:"compressionSupported" json:"compressionSupported"`
// Maximum disk size supported (in bytes) on the host on which this virtual
// machine is running.
- MaxSupportedSourceDiskCapacity int64 `xml:"maxSupportedSourceDiskCapacity" json:"maxSupportedSourceDiskCapacity" vim:"6.0"`
+ MaxSupportedSourceDiskCapacity int64 `xml:"maxSupportedSourceDiskCapacity" json:"maxSupportedSourceDiskCapacity"`
// Minimum rpo supported (in minutes) on the host on which this virtual
// machine is running.
- MinRpo int64 `xml:"minRpo,omitempty" json:"minRpo,omitempty" vim:"6.0"`
+ MinRpo int64 `xml:"minRpo,omitempty" json:"minRpo,omitempty"`
// If we are unable to find the VM, we would set this to NotFound fault.
//
// And, if we are unable to find the host for a given VM, then we would
// set this to HostNotReachable fault.
// Unset if we are able to fetch the capabilities for the VM.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HbrManagerVmReplicationCapability"] = "6.0"
t["HbrManagerVmReplicationCapability"] = reflect.TypeOf((*HbrManagerVmReplicationCapability)(nil)).Elem()
+ minAPIVersionForType["HbrManagerVmReplicationCapability"] = "6.0"
}
// Event used to report change in health status of VirtualCenter components.
@@ -32984,20 +33190,20 @@ type HealthStatusChangedEvent struct {
Event
// Unique ID of the VirtualCenter component.
- ComponentId string `xml:"componentId" json:"componentId" vim:"4.0"`
+ ComponentId string `xml:"componentId" json:"componentId"`
// Previous health status of the component.
- OldStatus string `xml:"oldStatus" json:"oldStatus" vim:"4.0"`
+ OldStatus string `xml:"oldStatus" json:"oldStatus"`
// Current health status of the component.
- NewStatus string `xml:"newStatus" json:"newStatus" vim:"4.0"`
+ NewStatus string `xml:"newStatus" json:"newStatus"`
// Component name.
- ComponentName string `xml:"componentName" json:"componentName" vim:"4.0"`
+ ComponentName string `xml:"componentName" json:"componentName"`
// Service Id of component.
ServiceId string `xml:"serviceId,omitempty" json:"serviceId,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["HealthStatusChangedEvent"] = "4.0"
t["HealthStatusChangedEvent"] = reflect.TypeOf((*HealthStatusChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HealthStatusChangedEvent"] = "4.0"
}
// The system health runtime information
@@ -33005,14 +33211,14 @@ type HealthSystemRuntime struct {
DynamicData
// Available system health information
- SystemHealthInfo *HostSystemHealthInfo `xml:"systemHealthInfo,omitempty" json:"systemHealthInfo,omitempty" vim:"2.5"`
+ SystemHealthInfo *HostSystemHealthInfo `xml:"systemHealthInfo,omitempty" json:"systemHealthInfo,omitempty"`
// Available hardware health information
- HardwareStatusInfo *HostHardwareStatusInfo `xml:"hardwareStatusInfo,omitempty" json:"hardwareStatusInfo,omitempty" vim:"2.5"`
+ HardwareStatusInfo *HostHardwareStatusInfo `xml:"hardwareStatusInfo,omitempty" json:"hardwareStatusInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HealthSystemRuntime"] = "2.5"
t["HealthSystemRuntime"] = reflect.TypeOf((*HealthSystemRuntime)(nil)).Elem()
+ minAPIVersionForType["HealthSystemRuntime"] = "2.5"
}
type HealthUpdate struct {
@@ -33023,22 +33229,22 @@ type HealthUpdate struct {
// Only host is supported.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"6.5"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
// The ID of the corresponding HealthUpdateInfo.
- HealthUpdateInfoId string `xml:"healthUpdateInfoId" json:"healthUpdateInfoId" vim:"6.5"`
+ HealthUpdateInfoId string `xml:"healthUpdateInfoId" json:"healthUpdateInfoId"`
// The ID of this particular HealthUpdate instance, for cross-reference
// with HealthUpdateProvider logs.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
// The current health status.
//
// Values are of type
// `Status`.
- Status ManagedEntityStatus `xml:"status" json:"status" vim:"6.5"`
+ Status ManagedEntityStatus `xml:"status" json:"status"`
// A description of the physical remediation required to resolve this
// health update.
//
// For example, "Replace Fan #3".
- Remediation string `xml:"remediation" json:"remediation" vim:"6.5"`
+ Remediation string `xml:"remediation" json:"remediation"`
}
func init() {
@@ -33052,13 +33258,13 @@ type HealthUpdateInfo struct {
//
// Identifiers are
// required to be unique per HealthUpdateProvider.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
// The component type.
//
// For supported values, see `HealthUpdateInfoComponentType_enum`
- ComponentType string `xml:"componentType" json:"componentType" vim:"6.5"`
+ ComponentType string `xml:"componentType" json:"componentType"`
// A description of the change in health.
- Description string `xml:"description" json:"description" vim:"6.5"`
+ Description string `xml:"description" json:"description"`
}
func init() {
@@ -33072,8 +33278,8 @@ type HeterogenousHostsBlockingEVC struct {
}
func init() {
- minAPIVersionForType["HeterogenousHostsBlockingEVC"] = "2.5u2"
t["HeterogenousHostsBlockingEVC"] = reflect.TypeOf((*HeterogenousHostsBlockingEVC)(nil)).Elem()
+ minAPIVersionForType["HeterogenousHostsBlockingEVC"] = "2.5u2"
}
type HeterogenousHostsBlockingEVCFault HeterogenousHostsBlockingEVC
@@ -33090,16 +33296,16 @@ type HostAccessControlEntry struct {
//
// The format is "login" for local users or "DOMAIN\\login" for users
// in a Windows domain.
- Principal string `xml:"principal" json:"principal" vim:"6.0"`
+ Principal string `xml:"principal" json:"principal"`
// True if 'principal' describes a group account, false otherwise.
- Group bool `xml:"group" json:"group" vim:"6.0"`
+ Group bool `xml:"group" json:"group"`
// Access mode for the principal.
- AccessMode HostAccessMode `xml:"accessMode" json:"accessMode" vim:"6.0"`
+ AccessMode HostAccessMode `xml:"accessMode" json:"accessMode"`
}
func init() {
- minAPIVersionForType["HostAccessControlEntry"] = "6.0"
t["HostAccessControlEntry"] = reflect.TypeOf((*HostAccessControlEntry)(nil)).Elem()
+ minAPIVersionForType["HostAccessControlEntry"] = "6.0"
}
// Fault thrown when an attempt is made to adjust resource settings
@@ -33115,12 +33321,12 @@ type HostAccessRestrictedToManagementServer struct {
NotSupported
// Name/IP of the server currently managing this host.
- ManagementServer string `xml:"managementServer" json:"managementServer" vim:"5.0"`
+ ManagementServer string `xml:"managementServer" json:"managementServer"`
}
func init() {
- minAPIVersionForType["HostAccessRestrictedToManagementServer"] = "5.0"
t["HostAccessRestrictedToManagementServer"] = reflect.TypeOf((*HostAccessRestrictedToManagementServer)(nil)).Elem()
+ minAPIVersionForType["HostAccessRestrictedToManagementServer"] = "5.0"
}
type HostAccessRestrictedToManagementServerFault HostAccessRestrictedToManagementServer
@@ -33224,15 +33430,15 @@ type HostActiveDirectory struct {
// anchors are removed.
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation" json:"changeOperation" vim:"4.1"`
+ ChangeOperation string `xml:"changeOperation" json:"changeOperation"`
// Active Directory domain access information (domain and account
// user name and password).
- Spec *HostActiveDirectorySpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"4.1"`
+ Spec *HostActiveDirectorySpec `xml:"spec,omitempty" json:"spec,omitempty"`
}
func init() {
- minAPIVersionForType["HostActiveDirectory"] = "4.1"
t["HostActiveDirectory"] = reflect.TypeOf((*HostActiveDirectory)(nil)).Elem()
+ minAPIVersionForType["HostActiveDirectory"] = "4.1"
}
// The `HostActiveDirectoryInfo` data object describes ESX host
@@ -33246,23 +33452,23 @@ type HostActiveDirectoryInfo struct {
HostDirectoryStoreInfo
// The domain that this host joined.
- JoinedDomain string `xml:"joinedDomain,omitempty" json:"joinedDomain,omitempty" vim:"4.1"`
+ JoinedDomain string `xml:"joinedDomain,omitempty" json:"joinedDomain,omitempty"`
// List of domains with which the joinedDomain
has a trust.
//
// The joinedDomain
is not included in the
// trustedDomain
list.
- TrustedDomain []string `xml:"trustedDomain,omitempty" json:"trustedDomain,omitempty" vim:"4.1"`
+ TrustedDomain []string `xml:"trustedDomain,omitempty" json:"trustedDomain,omitempty"`
// Health information about the domain membership.
//
// See `HostActiveDirectoryInfoDomainMembershipStatus_enum`.
- DomainMembershipStatus string `xml:"domainMembershipStatus,omitempty" json:"domainMembershipStatus,omitempty" vim:"4.1"`
+ DomainMembershipStatus string `xml:"domainMembershipStatus,omitempty" json:"domainMembershipStatus,omitempty"`
// Whether local smart card authentication is enabled.
SmartCardAuthenticationEnabled *bool `xml:"smartCardAuthenticationEnabled" json:"smartCardAuthenticationEnabled,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["HostActiveDirectoryInfo"] = "4.1"
t["HostActiveDirectoryInfo"] = reflect.TypeOf((*HostActiveDirectoryInfo)(nil)).Elem()
+ minAPIVersionForType["HostActiveDirectoryInfo"] = "4.1"
}
// The `HostActiveDirectorySpec` data object defines
@@ -33271,12 +33477,12 @@ type HostActiveDirectorySpec struct {
DynamicData
// Domain name.
- DomainName string `xml:"domainName,omitempty" json:"domainName,omitempty" vim:"4.1"`
+ DomainName string `xml:"domainName,omitempty" json:"domainName,omitempty"`
// Name of an Active Directory account with the authority
// to add a host to the domain.
- UserName string `xml:"userName,omitempty" json:"userName,omitempty" vim:"4.1"`
+ UserName string `xml:"userName,omitempty" json:"userName,omitempty"`
// Password for the Active Directory account.
- Password string `xml:"password,omitempty" json:"password,omitempty" vim:"4.1"`
+ Password string `xml:"password,omitempty" json:"password,omitempty"`
// If set, the CAM server will be used to join the domain
// and the userName
and password
fields
// will be ignored.
@@ -33290,8 +33496,8 @@ type HostActiveDirectorySpec struct {
}
func init() {
- minAPIVersionForType["HostActiveDirectorySpec"] = "4.1"
t["HostActiveDirectorySpec"] = reflect.TypeOf((*HostActiveDirectorySpec)(nil)).Elem()
+ minAPIVersionForType["HostActiveDirectorySpec"] = "4.1"
}
// This event records that adding a host failed.
@@ -33322,8 +33528,8 @@ type HostAdminDisableEvent struct {
}
func init() {
- minAPIVersionForType["HostAdminDisableEvent"] = "2.5"
t["HostAdminDisableEvent"] = reflect.TypeOf((*HostAdminDisableEvent)(nil)).Elem()
+ minAPIVersionForType["HostAdminDisableEvent"] = "2.5"
}
// This event records that the administrator permission has been restored.
@@ -33332,8 +33538,8 @@ type HostAdminEnableEvent struct {
}
func init() {
- minAPIVersionForType["HostAdminEnableEvent"] = "2.5"
t["HostAdminEnableEvent"] = reflect.TypeOf((*HostAdminEnableEvent)(nil)).Elem()
+ minAPIVersionForType["HostAdminEnableEvent"] = "2.5"
}
// The `HostApplyProfile` data object provides access to subprofiles
@@ -33348,46 +33554,46 @@ type HostApplyProfile struct {
// Memory configuration for the host.
//
// This may not be valid for all versions of the host.
- Memory *HostMemoryProfile `xml:"memory,omitempty" json:"memory,omitempty" vim:"4.0"`
+ Memory *HostMemoryProfile `xml:"memory,omitempty" json:"memory,omitempty"`
// Host storage configuration.
- Storage *StorageProfile `xml:"storage,omitempty" json:"storage,omitempty" vim:"4.0"`
+ Storage *StorageProfile `xml:"storage,omitempty" json:"storage,omitempty"`
// Network configuration.
- Network *NetworkProfile `xml:"network,omitempty" json:"network,omitempty" vim:"4.0"`
+ Network *NetworkProfile `xml:"network,omitempty" json:"network,omitempty"`
// Date and time configuration.
- Datetime *DateTimeProfile `xml:"datetime,omitempty" json:"datetime,omitempty" vim:"4.0"`
+ Datetime *DateTimeProfile `xml:"datetime,omitempty" json:"datetime,omitempty"`
// Firewall configuration.
- Firewall *FirewallProfile `xml:"firewall,omitempty" json:"firewall,omitempty" vim:"4.0"`
+ Firewall *FirewallProfile `xml:"firewall,omitempty" json:"firewall,omitempty"`
// Security Configuration of the host.
//
// The security subprofile can include data such as administrator passwords.
- Security *SecurityProfile `xml:"security,omitempty" json:"security,omitempty" vim:"4.0"`
+ Security *SecurityProfile `xml:"security,omitempty" json:"security,omitempty"`
// Host configuration for services.
//
// Use the `ServiceProfile.key` property
// to access a subprofile in the list.
- Service []ServiceProfile `xml:"service,omitempty" json:"service,omitempty" vim:"4.0"`
+ Service []ServiceProfile `xml:"service,omitempty" json:"service,omitempty"`
// List of subprofiles representing advanced configuration options.
//
// Use the `OptionProfile.key` property to access a subprofile
// in the list.
- Option []OptionProfile `xml:"option,omitempty" json:"option,omitempty" vim:"4.0"`
+ Option []OptionProfile `xml:"option,omitempty" json:"option,omitempty"`
// List of subprofiles for user accounts to be configured on the host.
//
// Use the `UserProfile.key` property to access a subprofile
// in the list.
- UserAccount []UserProfile `xml:"userAccount,omitempty" json:"userAccount,omitempty" vim:"4.0"`
+ UserAccount []UserProfile `xml:"userAccount,omitempty" json:"userAccount,omitempty"`
// List of subprofiles for user groups to be configured on the host.
//
// Use the `UserGroupProfile.key` property to access a subprofile
// in the list.
- UsergroupAccount []UserGroupProfile `xml:"usergroupAccount,omitempty" json:"usergroupAccount,omitempty" vim:"4.0"`
+ UsergroupAccount []UserGroupProfile `xml:"usergroupAccount,omitempty" json:"usergroupAccount,omitempty"`
// Authentication Configuration.
Authentication *AuthenticationProfile `xml:"authentication,omitempty" json:"authentication,omitempty" vim:"4.1"`
}
func init() {
- minAPIVersionForType["HostApplyProfile"] = "4.0"
t["HostApplyProfile"] = reflect.TypeOf((*HostApplyProfile)(nil)).Elem()
+ minAPIVersionForType["HostApplyProfile"] = "4.0"
}
// Data object indicating a device instance has been allocated to a VM.
@@ -33395,16 +33601,16 @@ type HostAssignableHardwareBinding struct {
DynamicData
// Instance ID of assigned device.
- InstanceId string `xml:"instanceId" json:"instanceId" vim:"7.0"`
+ InstanceId string `xml:"instanceId" json:"instanceId"`
// Virtual machine to which the device is assigned.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"7.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
- minAPIVersionForType["HostAssignableHardwareBinding"] = "7.0"
t["HostAssignableHardwareBinding"] = reflect.TypeOf((*HostAssignableHardwareBinding)(nil)).Elem()
+ minAPIVersionForType["HostAssignableHardwareBinding"] = "7.0"
}
// The AssignableHardwareConfig data object describes properties
@@ -33413,12 +33619,12 @@ type HostAssignableHardwareConfig struct {
DynamicData
// List of attribute overrides.
- AttributeOverride []HostAssignableHardwareConfigAttributeOverride `xml:"attributeOverride,omitempty" json:"attributeOverride,omitempty" vim:"7.0"`
+ AttributeOverride []HostAssignableHardwareConfigAttributeOverride `xml:"attributeOverride,omitempty" json:"attributeOverride,omitempty"`
}
func init() {
- minAPIVersionForType["HostAssignableHardwareConfig"] = "7.0"
t["HostAssignableHardwareConfig"] = reflect.TypeOf((*HostAssignableHardwareConfig)(nil)).Elem()
+ minAPIVersionForType["HostAssignableHardwareConfig"] = "7.0"
}
// An AttributeOverride provides a name-value pair that overrides
@@ -33429,9 +33635,9 @@ type HostAssignableHardwareConfigAttributeOverride struct {
// Instance ID of the Assignable Hardware instance node where
// the attribute specified by name is overridden.
- InstanceId string `xml:"instanceId" json:"instanceId" vim:"7.0"`
+ InstanceId string `xml:"instanceId" json:"instanceId"`
// Name of attribute to override.
- Name string `xml:"name" json:"name" vim:"7.0"`
+ Name string `xml:"name" json:"name"`
// When AssignableHardwareConfig is a returned data object:
// Value returned will always be set.
//
@@ -33444,12 +33650,12 @@ type HostAssignableHardwareConfigAttributeOverride struct {
// the type of the attribute value being overridden.
// If value is not set, an existing AttributeOverride matching
// the specified instanceId and name is deleted.
- Value AnyType `xml:"value,typeattr" json:"value" vim:"7.0"`
+ Value AnyType `xml:"value,typeattr" json:"value"`
}
func init() {
- minAPIVersionForType["HostAssignableHardwareConfigAttributeOverride"] = "7.0"
t["HostAssignableHardwareConfigAttributeOverride"] = reflect.TypeOf((*HostAssignableHardwareConfigAttributeOverride)(nil)).Elem()
+ minAPIVersionForType["HostAssignableHardwareConfigAttributeOverride"] = "7.0"
}
// The `HostAuthenticationManagerInfo` data object provides
@@ -33463,12 +33669,12 @@ type HostAuthenticationManagerInfo struct {
// - `HostActiveDirectoryInfo` - Host Active Directory authentication information
// includes the name of the domain, membership status,
// and a list of other domains trusted by the membership domain.
- AuthConfig []BaseHostAuthenticationStoreInfo `xml:"authConfig,typeattr" json:"authConfig" vim:"4.1"`
+ AuthConfig []BaseHostAuthenticationStoreInfo `xml:"authConfig,typeattr" json:"authConfig"`
}
func init() {
- minAPIVersionForType["HostAuthenticationManagerInfo"] = "4.1"
t["HostAuthenticationManagerInfo"] = reflect.TypeOf((*HostAuthenticationManagerInfo)(nil)).Elem()
+ minAPIVersionForType["HostAuthenticationManagerInfo"] = "4.1"
}
// The `HostAuthenticationStoreInfo` base class defines status information
@@ -33480,12 +33686,12 @@ type HostAuthenticationStoreInfo struct {
// - Host Active Directory authentication - enabled
// is True
if the host is a member of a domain.
// - Local authentication - enabled
is always True
.
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.1"`
+ Enabled bool `xml:"enabled" json:"enabled"`
}
func init() {
- minAPIVersionForType["HostAuthenticationStoreInfo"] = "4.1"
t["HostAuthenticationStoreInfo"] = reflect.TypeOf((*HostAuthenticationStoreInfo)(nil)).Elem()
+ minAPIVersionForType["HostAuthenticationStoreInfo"] = "4.1"
}
// Contains the entire auto-start/auto-stop configuration.
@@ -33510,9 +33716,9 @@ type HostBIOSInfo struct {
DynamicData
// The current BIOS version of the physical chassis
- BiosVersion string `xml:"biosVersion,omitempty" json:"biosVersion,omitempty" vim:"2.5"`
+ BiosVersion string `xml:"biosVersion,omitempty" json:"biosVersion,omitempty"`
// The release date for the BIOS.
- ReleaseDate *time.Time `xml:"releaseDate" json:"releaseDate,omitempty" vim:"2.5"`
+ ReleaseDate *time.Time `xml:"releaseDate" json:"releaseDate,omitempty"`
// The vendor for the BIOS.
Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty" vim:"6.5"`
// BIOS Major Release
@@ -33522,6 +33728,11 @@ type HostBIOSInfo struct {
FirmwareMajorRelease int32 `xml:"firmwareMajorRelease,omitempty" json:"firmwareMajorRelease,omitempty"`
// Embedded Controller Firmware Minor Release
FirmwareMinorRelease int32 `xml:"firmwareMinorRelease,omitempty" json:"firmwareMinorRelease,omitempty" vim:"6.5"`
+ // Firmware Type of the host.
+ //
+ // The set of supported values is described
+ // in `HostBIOSInfoFirmwareType_enum`
+ FirmwareType string `xml:"firmwareType,omitempty" json:"firmwareType,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -33552,14 +33763,14 @@ type HostBootDevice struct {
DynamicData
// The identifier for the boot device.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// The description of the boot device.
- Description string `xml:"description" json:"description" vim:"2.5"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["HostBootDevice"] = "2.5"
t["HostBootDevice"] = reflect.TypeOf((*HostBootDevice)(nil)).Elem()
+ minAPIVersionForType["HostBootDevice"] = "2.5"
}
// This data object represents the boot device information of the host.
@@ -33567,17 +33778,17 @@ type HostBootDeviceInfo struct {
DynamicData
// The list of boot devices present on the host
- BootDevices []HostBootDevice `xml:"bootDevices,omitempty" json:"bootDevices,omitempty" vim:"2.5"`
+ BootDevices []HostBootDevice `xml:"bootDevices,omitempty" json:"bootDevices,omitempty"`
// The key of the current boot device that the host is configured to
// boot.
//
// This property is unset if the current boot device is disabled.
- CurrentBootDeviceKey string `xml:"currentBootDeviceKey,omitempty" json:"currentBootDeviceKey,omitempty" vim:"2.5"`
+ CurrentBootDeviceKey string `xml:"currentBootDeviceKey,omitempty" json:"currentBootDeviceKey,omitempty"`
}
func init() {
- minAPIVersionForType["HostBootDeviceInfo"] = "2.5"
t["HostBootDeviceInfo"] = reflect.TypeOf((*HostBootDeviceInfo)(nil)).Elem()
+ minAPIVersionForType["HostBootDeviceInfo"] = "2.5"
}
// Host solid state drive cache configuration information.
@@ -33587,15 +33798,15 @@ type HostCacheConfigurationInfo struct {
// Datastore used for swap performance enhancements.
//
// Refers instance of `Datastore`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"5.0"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Space allocated on this datastore to implement swap performance
// enhancements, in MB.
- SwapSize int64 `xml:"swapSize" json:"swapSize" vim:"5.0"`
+ SwapSize int64 `xml:"swapSize" json:"swapSize"`
}
func init() {
- minAPIVersionForType["HostCacheConfigurationInfo"] = "5.0"
t["HostCacheConfigurationInfo"] = reflect.TypeOf((*HostCacheConfigurationInfo)(nil)).Elem()
+ minAPIVersionForType["HostCacheConfigurationInfo"] = "5.0"
}
// Host cache configuration specification.
@@ -33605,18 +33816,18 @@ type HostCacheConfigurationSpec struct {
// Datastore used for swap performance enhancement.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"5.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// Space to allocate on this datastore to implement swap performance
// enhancements, in MB.
//
// This value should be less or equal to free space
// capacity on the datastore `DatastoreSummary.freeSpace`.
- SwapSize int64 `xml:"swapSize" json:"swapSize" vim:"5.0"`
+ SwapSize int64 `xml:"swapSize" json:"swapSize"`
}
func init() {
- minAPIVersionForType["HostCacheConfigurationSpec"] = "5.0"
t["HostCacheConfigurationSpec"] = reflect.TypeOf((*HostCacheConfigurationSpec)(nil)).Elem()
+ minAPIVersionForType["HostCacheConfigurationSpec"] = "5.0"
}
// Specifies the capabilities of the particular host.
@@ -33779,7 +33990,7 @@ type HostCapability struct {
// Maximum version of vDiskVersion supported by this host.
//
// If this capability is not set, then the maximum is considered to be 6.
- MaxVirtualDiskDescVersionSupported int32 `xml:"maxVirtualDiskDescVersionSupported,omitempty" json:"maxVirtualDiskDescVersionSupported,omitempty"`
+ MaxVirtualDiskDescVersionSupported int32 `xml:"maxVirtualDiskDescVersionSupported,omitempty" json:"maxVirtualDiskDescVersionSupported,omitempty" vim:"8.0.1.0"`
// Indicates whether a dedicated nic can be selected for vSphere Replication
// LWD traffic, i.e., from the primary host to the VR server.
HbrNicSelectionSupported *bool `xml:"hbrNicSelectionSupported" json:"hbrNicSelectionSupported,omitempty" vim:"5.1"`
@@ -33880,7 +34091,7 @@ type HostCapability struct {
DeltaDiskBackingsSupported *bool `xml:"deltaDiskBackingsSupported" json:"deltaDiskBackingsSupported,omitempty" vim:"4.0"`
// Indicates whether network traffic shaping on a
// per virtual machine basis is supported.
- PerVMNetworkTrafficShapingSupported *bool `xml:"perVMNetworkTrafficShapingSupported" json:"perVMNetworkTrafficShapingSupported,omitempty" vim:"4.0"`
+ PerVMNetworkTrafficShapingSupported *bool `xml:"perVMNetworkTrafficShapingSupported" json:"perVMNetworkTrafficShapingSupported,omitempty" vim:"2.5 U2"`
// Flag indicating whether this host supports the integrity measurement using
// a TPM device.
TpmSupported *bool `xml:"tpmSupported" json:"tpmSupported,omitempty" vim:"4.0"`
@@ -34198,7 +34409,7 @@ type HostCapability struct {
// Max supported number of SMT (Simultaneous multithreading) threads.
//
// If value is not specified, it should be considered as not supported.
- MaxSupportedSimultaneousThreads int32 `xml:"maxSupportedSimultaneousThreads,omitempty" json:"maxSupportedSimultaneousThreads,omitempty"`
+ MaxSupportedSimultaneousThreads int32 `xml:"maxSupportedSimultaneousThreads,omitempty" json:"maxSupportedSimultaneousThreads,omitempty" vim:"8.0.0.1"`
// Indicates whether this host supports PTP (Precision Time Protocol)
// service configuration.
//
@@ -34212,7 +34423,7 @@ type HostCapability struct {
// set, number of PTP ports in the host is 0.
MaxSupportedPtpPorts int32 `xml:"maxSupportedPtpPorts,omitempty" json:"maxSupportedPtpPorts,omitempty" vim:"7.0.3.0"`
// Indicates whether this host supports SGX registration.
- SgxRegistrationSupported *bool `xml:"sgxRegistrationSupported" json:"sgxRegistrationSupported,omitempty"`
+ SgxRegistrationSupported *bool `xml:"sgxRegistrationSupported" json:"sgxRegistrationSupported,omitempty" vim:"8.0.0.1"`
// Indicates whether this host supports snapshots of VMs configured
// with independent vNVDIMMs.
//
@@ -34225,17 +34436,21 @@ type HostCapability struct {
//
// If this value is not specified, it should be considered as
// not capable.
- IommuSLDirtyCapable *bool `xml:"iommuSLDirtyCapable" json:"iommuSLDirtyCapable,omitempty"`
+ IommuSLDirtyCapable *bool `xml:"iommuSLDirtyCapable" json:"iommuSLDirtyCapable,omitempty" vim:"8.0.0.1"`
// Indicates whether vmknic binding is supported over this host.
- VmknicBindingSupported *bool `xml:"vmknicBindingSupported" json:"vmknicBindingSupported,omitempty"`
+ VmknicBindingSupported *bool `xml:"vmknicBindingSupported" json:"vmknicBindingSupported,omitempty" vim:"8.0.1.0"`
// Indicates whether ultralow fixed unmap bandwidth is supported on this host.
- UltralowFixedUnmapSupported *bool `xml:"ultralowFixedUnmapSupported" json:"ultralowFixedUnmapSupported,omitempty"`
+ UltralowFixedUnmapSupported *bool `xml:"ultralowFixedUnmapSupported" json:"ultralowFixedUnmapSupported,omitempty" vim:"8.0.0.1"`
// Indicates whether mounting of NVMe vvol is supported on this host.
- NvmeVvolSupported *bool `xml:"nvmeVvolSupported" json:"nvmeVvolSupported,omitempty"`
+ NvmeVvolSupported *bool `xml:"nvmeVvolSupported" json:"nvmeVvolSupported,omitempty" vim:"8.0.0.0"`
// Indicates whether FPT Hotplug is supported on this host.
- FptHotplugSupported *bool `xml:"fptHotplugSupported" json:"fptHotplugSupported,omitempty"`
+ FptHotplugSupported *bool `xml:"fptHotplugSupported" json:"fptHotplugSupported,omitempty" vim:"8.0.1.0"`
// Indicates whether MCONNECT is supported on this host.
- MconnectSupported *bool `xml:"mconnectSupported" json:"mconnectSupported,omitempty"`
+ MconnectSupported *bool `xml:"mconnectSupported" json:"mconnectSupported,omitempty" vim:"8.0.1.0"`
+ // Indicates whether vSAN nic types can be managed by VirtualNicManager.
+ VsanNicMgmtSupported *bool `xml:"vsanNicMgmtSupported" json:"vsanNicMgmtSupported,omitempty" vim:"8.0.2.0"`
+ // Indicates whether vVol NQN is supported on this host.
+ VvolNQNSupported *bool `xml:"vvolNQNSupported" json:"vvolNQNSupported,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -34248,26 +34463,26 @@ type HostCertificateManagerCertificateInfo struct {
// Certificate kind, if unset the certificate is Machine certificate
// The list of supported values can be found in `HostCertificateManagerCertificateKind_enum`
- Kind string `xml:"kind,omitempty" json:"kind,omitempty"`
+ Kind string `xml:"kind,omitempty" json:"kind,omitempty" vim:"8.0.1.0"`
// The issuer of the certificate.
- Issuer string `xml:"issuer,omitempty" json:"issuer,omitempty" vim:"6.0"`
+ Issuer string `xml:"issuer,omitempty" json:"issuer,omitempty"`
// The validity of the certificate.
- NotBefore *time.Time `xml:"notBefore" json:"notBefore,omitempty" vim:"6.0"`
+ NotBefore *time.Time `xml:"notBefore" json:"notBefore,omitempty"`
NotAfter *time.Time `xml:"notAfter" json:"notAfter,omitempty"`
// The subject of the certificate.
- Subject string `xml:"subject,omitempty" json:"subject,omitempty" vim:"6.0"`
+ Subject string `xml:"subject,omitempty" json:"subject,omitempty"`
// The status of the certificate in vCenter Server.
//
// The possible values for status are as
// described in `HostCertificateManagerCertificateInfoCertificateStatus_enum`.
// If queried directly from an ESX host, the property is set to
// `unknown`.
- Status string `xml:"status" json:"status" vim:"6.0"`
+ Status string `xml:"status" json:"status"`
}
func init() {
- minAPIVersionForType["HostCertificateManagerCertificateInfo"] = "6.0"
t["HostCertificateManagerCertificateInfo"] = reflect.TypeOf((*HostCertificateManagerCertificateInfo)(nil)).Elem()
+ minAPIVersionForType["HostCertificateManagerCertificateInfo"] = "6.0"
}
// Represents certificate specification used for
@@ -34281,6 +34496,7 @@ type HostCertificateManagerCertificateSpec struct {
func init() {
t["HostCertificateManagerCertificateSpec"] = reflect.TypeOf((*HostCertificateManagerCertificateSpec)(nil)).Elem()
+ minAPIVersionForType["HostCertificateManagerCertificateSpec"] = "8.0.1.0"
}
type HostClearVStorageObjectControlFlags HostClearVStorageObjectControlFlagsRequestType
@@ -34293,7 +34509,7 @@ func init() {
type HostClearVStorageObjectControlFlagsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -34318,7 +34534,7 @@ type HostClearVStorageObjectControlFlagsResponse struct {
type HostCloneVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -34326,7 +34542,7 @@ type HostCloneVStorageObjectRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The specification for cloning the virtual storage
// object.
- Spec VslmCloneSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmCloneSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -34504,8 +34720,8 @@ type HostComplianceCheckedEvent struct {
}
func init() {
- minAPIVersionForType["HostComplianceCheckedEvent"] = "4.0"
t["HostComplianceCheckedEvent"] = reflect.TypeOf((*HostComplianceCheckedEvent)(nil)).Elem()
+ minAPIVersionForType["HostComplianceCheckedEvent"] = "4.0"
}
// This event records that host is in compliance.
@@ -34514,8 +34730,8 @@ type HostCompliantEvent struct {
}
func init() {
- minAPIVersionForType["HostCompliantEvent"] = "4.0"
t["HostCompliantEvent"] = reflect.TypeOf((*HostCompliantEvent)(nil)).Elem()
+ minAPIVersionForType["HostCompliantEvent"] = "4.0"
}
// This event records that a configuration was applied on a host
@@ -34524,8 +34740,8 @@ type HostConfigAppliedEvent struct {
}
func init() {
- minAPIVersionForType["HostConfigAppliedEvent"] = "4.0"
t["HostConfigAppliedEvent"] = reflect.TypeOf((*HostConfigAppliedEvent)(nil)).Elem()
+ minAPIVersionForType["HostConfigAppliedEvent"] = "4.0"
}
// This data object type describes types and constants related to the
@@ -34550,8 +34766,8 @@ type HostConfigFailed struct {
}
func init() {
- minAPIVersionForType["HostConfigFailed"] = "4.0"
t["HostConfigFailed"] = reflect.TypeOf((*HostConfigFailed)(nil)).Elem()
+ minAPIVersionForType["HostConfigFailed"] = "4.0"
}
type HostConfigFailedFault HostConfigFailed
@@ -34965,36 +35181,36 @@ type HostConfigSpec struct {
DynamicData
// Configurations to create NAS datastores.
- NasDatastore []HostNasVolumeConfig `xml:"nasDatastore,omitempty" json:"nasDatastore,omitempty" vim:"4.0"`
+ NasDatastore []HostNasVolumeConfig `xml:"nasDatastore,omitempty" json:"nasDatastore,omitempty"`
// Network system information.
- Network *HostNetworkConfig `xml:"network,omitempty" json:"network,omitempty" vim:"4.0"`
+ Network *HostNetworkConfig `xml:"network,omitempty" json:"network,omitempty"`
// Type selection for different VirtualNics.
- NicTypeSelection []HostVirtualNicManagerNicTypeSelection `xml:"nicTypeSelection,omitempty" json:"nicTypeSelection,omitempty" vim:"4.0"`
+ NicTypeSelection []HostVirtualNicManagerNicTypeSelection `xml:"nicTypeSelection,omitempty" json:"nicTypeSelection,omitempty"`
// Host service configuration.
- Service []HostServiceConfig `xml:"service,omitempty" json:"service,omitempty" vim:"4.0"`
+ Service []HostServiceConfig `xml:"service,omitempty" json:"service,omitempty"`
// Firewall configuration.
- Firewall *HostFirewallConfig `xml:"firewall,omitempty" json:"firewall,omitempty" vim:"4.0"`
+ Firewall *HostFirewallConfig `xml:"firewall,omitempty" json:"firewall,omitempty"`
// Host configuration options as defined by the
// `OptionValue` data object type.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"4.0"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
// Datastore principal user.
- DatastorePrincipal string `xml:"datastorePrincipal,omitempty" json:"datastorePrincipal,omitempty" vim:"4.0"`
+ DatastorePrincipal string `xml:"datastorePrincipal,omitempty" json:"datastorePrincipal,omitempty"`
// Password for the datastore principal.
- DatastorePrincipalPasswd string `xml:"datastorePrincipalPasswd,omitempty" json:"datastorePrincipalPasswd,omitempty" vim:"4.0"`
+ DatastorePrincipalPasswd string `xml:"datastorePrincipalPasswd,omitempty" json:"datastorePrincipalPasswd,omitempty"`
// DateTime Configuration.
- Datetime *HostDateTimeConfig `xml:"datetime,omitempty" json:"datetime,omitempty" vim:"4.0"`
+ Datetime *HostDateTimeConfig `xml:"datetime,omitempty" json:"datetime,omitempty"`
// Storage system information.
- StorageDevice *HostStorageDeviceInfo `xml:"storageDevice,omitempty" json:"storageDevice,omitempty" vim:"4.0"`
+ StorageDevice *HostStorageDeviceInfo `xml:"storageDevice,omitempty" json:"storageDevice,omitempty"`
// License configuration for the host.
- License *HostLicenseSpec `xml:"license,omitempty" json:"license,omitempty" vim:"4.0"`
+ License *HostLicenseSpec `xml:"license,omitempty" json:"license,omitempty"`
// Security specification.
- Security *HostSecuritySpec `xml:"security,omitempty" json:"security,omitempty" vim:"4.0"`
+ Security *HostSecuritySpec `xml:"security,omitempty" json:"security,omitempty"`
// List of users to create/update with new password.
- UserAccount []BaseHostAccountSpec `xml:"userAccount,omitempty,typeattr" json:"userAccount,omitempty" vim:"4.0"`
+ UserAccount []BaseHostAccountSpec `xml:"userAccount,omitempty,typeattr" json:"userAccount,omitempty"`
// List of users to create/update with new password.
- UsergroupAccount []BaseHostAccountSpec `xml:"usergroupAccount,omitempty,typeattr" json:"usergroupAccount,omitempty" vim:"4.0"`
+ UsergroupAccount []BaseHostAccountSpec `xml:"usergroupAccount,omitempty,typeattr" json:"usergroupAccount,omitempty"`
// Memory configuration for the host.
- Memory *HostMemorySpec `xml:"memory,omitempty" json:"memory,omitempty" vim:"4.0"`
+ Memory *HostMemorySpec `xml:"memory,omitempty" json:"memory,omitempty"`
// Active Directory configuration change.
ActiveDirectory []HostActiveDirectory `xml:"activeDirectory,omitempty" json:"activeDirectory,omitempty" vim:"4.1"`
// Advanced configuration.
@@ -35006,8 +35222,8 @@ type HostConfigSpec struct {
}
func init() {
- minAPIVersionForType["HostConfigSpec"] = "4.0"
t["HostConfigSpec"] = reflect.TypeOf((*HostConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostConfigSpec"] = "4.0"
}
// An overview of the key configuration parameters.
@@ -35058,7 +35274,7 @@ func init() {
type HostConfigVFlashCacheRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification for host cache configuration.
- Spec HostVFlashManagerVFlashCacheConfigSpec `xml:"spec" json:"spec" vim:"5.5"`
+ Spec HostVFlashManagerVFlashCacheConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -35078,7 +35294,7 @@ func init() {
type HostConfigureVFlashResourceRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// the vFlash resource specification.
- Spec HostVFlashManagerVFlashResourceConfigSpec `xml:"spec" json:"spec" vim:"5.5"`
+ Spec HostVFlashManagerVFlashResourceConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -35448,14 +35664,14 @@ type HostCpuPowerManagementInfo struct {
DynamicData
// Information about current CPU power management policy.
- CurrentPolicy string `xml:"currentPolicy,omitempty" json:"currentPolicy,omitempty" vim:"4.0"`
+ CurrentPolicy string `xml:"currentPolicy,omitempty" json:"currentPolicy,omitempty"`
// Information about supported CPU power management.
- HardwareSupport string `xml:"hardwareSupport,omitempty" json:"hardwareSupport,omitempty" vim:"4.0"`
+ HardwareSupport string `xml:"hardwareSupport,omitempty" json:"hardwareSupport,omitempty"`
}
func init() {
- minAPIVersionForType["HostCpuPowerManagementInfo"] = "4.0"
t["HostCpuPowerManagementInfo"] = reflect.TypeOf((*HostCpuPowerManagementInfo)(nil)).Elem()
+ minAPIVersionForType["HostCpuPowerManagementInfo"] = "4.0"
}
// The parameters of `HostVStorageObjectManager.HostCreateDisk_Task`.
@@ -35464,7 +35680,7 @@ type HostCreateDiskRequestType struct {
// The specification of the virtual storage object
// to be created.
// 2
- Spec VslmCreateSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmCreateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -35541,8 +35757,8 @@ type HostDasEvent struct {
}
func init() {
- minAPIVersionForType["HostDasEvent"] = "2.5"
t["HostDasEvent"] = reflect.TypeOf((*HostDasEvent)(nil)).Elem()
+ minAPIVersionForType["HostDasEvent"] = "2.5"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -35562,12 +35778,12 @@ type HostDataTransportConnectionInfo struct {
DynamicData
// Static memory consumption by a connection in bytes like buffer sizes, heap sizes, etc.
- StaticMemoryConsumed int64 `xml:"staticMemoryConsumed" json:"staticMemoryConsumed" vim:"7.0.3.0"`
+ StaticMemoryConsumed int64 `xml:"staticMemoryConsumed" json:"staticMemoryConsumed"`
}
func init() {
- minAPIVersionForType["HostDataTransportConnectionInfo"] = "7.0.3.0"
t["HostDataTransportConnectionInfo"] = reflect.TypeOf((*HostDataTransportConnectionInfo)(nil)).Elem()
+ minAPIVersionForType["HostDataTransportConnectionInfo"] = "7.0.3.0"
}
// This data object type contains the results of a search method for one datastore.
@@ -35705,23 +35921,23 @@ type HostDatastoreSystemCapabilities struct {
//
// If this is set to true, then NAS datastores
// cannot be created for currently mounted NFS volumes.
- NfsMountCreationRequired bool `xml:"nfsMountCreationRequired" json:"nfsMountCreationRequired" vim:"2.5"`
+ NfsMountCreationRequired bool `xml:"nfsMountCreationRequired" json:"nfsMountCreationRequired"`
// Indicates whether mounting an NFS volume is supported
// when a NAS datastore is created.
//
// If this option is false,
// then NAS datastores corresponding to NFS volumes can be created
// only for already mounted NFS volumes.
- NfsMountCreationSupported bool `xml:"nfsMountCreationSupported" json:"nfsMountCreationSupported" vim:"2.5"`
+ NfsMountCreationSupported bool `xml:"nfsMountCreationSupported" json:"nfsMountCreationSupported"`
// Indicates whether local datastores are supported.
- LocalDatastoreSupported bool `xml:"localDatastoreSupported" json:"localDatastoreSupported" vim:"2.5"`
+ LocalDatastoreSupported bool `xml:"localDatastoreSupported" json:"localDatastoreSupported"`
// Indicates whether vmfs extent expansion is supported.
VmfsExtentExpansionSupported *bool `xml:"vmfsExtentExpansionSupported" json:"vmfsExtentExpansionSupported,omitempty" vim:"4.0"`
}
func init() {
- minAPIVersionForType["HostDatastoreSystemCapabilities"] = "2.5"
t["HostDatastoreSystemCapabilities"] = reflect.TypeOf((*HostDatastoreSystemCapabilities)(nil)).Elem()
+ minAPIVersionForType["HostDatastoreSystemCapabilities"] = "2.5"
}
// Contains result of remove datastore request.
@@ -35734,14 +35950,14 @@ type HostDatastoreSystemDatastoreResult struct {
// Datastore removed
//
// Refers instance of `Datastore`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"6.0"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Fault if removal fails
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostDatastoreSystemDatastoreResult"] = "6.0"
t["HostDatastoreSystemDatastoreResult"] = reflect.TypeOf((*HostDatastoreSystemDatastoreResult)(nil)).Elem()
+ minAPIVersionForType["HostDatastoreSystemDatastoreResult"] = "6.0"
}
// Specification for creating Virtual Volumed based datastore.
@@ -35749,17 +35965,17 @@ type HostDatastoreSystemVvolDatastoreSpec struct {
DynamicData
// Name of the datastore.
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
// Storage contained Id.
//
// This is used to retrieve configuration of the
// storage container from SMS.
- ScId string `xml:"scId" json:"scId" vim:"6.0"`
+ ScId string `xml:"scId" json:"scId"`
}
func init() {
- minAPIVersionForType["HostDatastoreSystemVvolDatastoreSpec"] = "6.0"
t["HostDatastoreSystemVvolDatastoreSpec"] = reflect.TypeOf((*HostDatastoreSystemVvolDatastoreSpec)(nil)).Elem()
+ minAPIVersionForType["HostDatastoreSystemVvolDatastoreSpec"] = "6.0"
}
// This data object represents the dateTime configuration of the host.
@@ -35770,9 +35986,9 @@ type HostDateTimeConfig struct {
//
// Must be one of the values of
// `HostDateTimeSystemTimeZone.key`
- TimeZone string `xml:"timeZone,omitempty" json:"timeZone,omitempty" vim:"2.5"`
+ TimeZone string `xml:"timeZone,omitempty" json:"timeZone,omitempty"`
// The NTP configuration on the host.
- NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty" json:"ntpConfig,omitempty" vim:"2.5"`
+ NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty" json:"ntpConfig,omitempty"`
// The PTP configuration on the host.
PtpConfig *HostPtpConfig `xml:"ptpConfig,omitempty" json:"ptpConfig,omitempty" vim:"7.0.3.0"`
// Specify which network time configuration to discipline vmkernel clock.
@@ -35804,8 +36020,8 @@ type HostDateTimeConfig struct {
}
func init() {
- minAPIVersionForType["HostDateTimeConfig"] = "2.5"
t["HostDateTimeConfig"] = reflect.TypeOf((*HostDateTimeConfig)(nil)).Elem()
+ minAPIVersionForType["HostDateTimeConfig"] = "2.5"
}
// This data object represents the dateTime configuration of the host.
@@ -35813,13 +36029,13 @@ type HostDateTimeInfo struct {
DynamicData
// The time zone of the host.
- TimeZone HostDateTimeSystemTimeZone `xml:"timeZone" json:"timeZone" vim:"2.5"`
+ TimeZone HostDateTimeSystemTimeZone `xml:"timeZone" json:"timeZone"`
// The system clock synchronization protocol.
//
// See `HostDateTimeInfoProtocol_enum` for possible values.
SystemClockProtocol string `xml:"systemClockProtocol,omitempty" json:"systemClockProtocol,omitempty" vim:"7.0"`
// The NTP configuration on the host.
- NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty" json:"ntpConfig,omitempty" vim:"2.5"`
+ NtpConfig *HostNtpConfig `xml:"ntpConfig,omitempty" json:"ntpConfig,omitempty"`
// The PTP configuration on the host.
PtpConfig *HostPtpConfig `xml:"ptpConfig,omitempty" json:"ptpConfig,omitempty" vim:"7.0.3.0"`
// Present state of the time services subsystem.
@@ -35859,17 +36075,17 @@ type HostDateTimeInfo struct {
}
func init() {
- minAPIVersionForType["HostDateTimeInfo"] = "2.5"
t["HostDateTimeInfo"] = reflect.TypeOf((*HostDateTimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostDateTimeInfo"] = "2.5"
}
type HostDateTimeSystemServiceTestResult struct {
DynamicData
// Value is true if time services are presently working normally.
- WorkingNormally bool `xml:"workingNormally" json:"workingNormally" vim:"7.0.3.0"`
+ WorkingNormally bool `xml:"workingNormally" json:"workingNormally"`
// Returns details of the checks done to verify time services are working.
- Report []string `xml:"report,omitempty" json:"report,omitempty" vim:"7.0.3.0"`
+ Report []string `xml:"report,omitempty" json:"report,omitempty"`
}
func init() {
@@ -35880,14 +36096,14 @@ type HostDateTimeSystemTimeZone struct {
DynamicData
// The identifier for the time zone.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// The time zone name.
- Name string `xml:"name" json:"name" vim:"2.5"`
+ Name string `xml:"name" json:"name"`
// Description of the time zone.
- Description string `xml:"description" json:"description" vim:"2.5"`
+ Description string `xml:"description" json:"description"`
// The GMT offset in seconds that is currently applicable to the timezone
// (with respect to the current time on the host).
- GmtOffset int32 `xml:"gmtOffset" json:"gmtOffset" vim:"2.5"`
+ GmtOffset int32 `xml:"gmtOffset" json:"gmtOffset"`
}
func init() {
@@ -35898,7 +36114,7 @@ func init() {
type HostDeleteVStorageObjectExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be deleted.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -35924,7 +36140,7 @@ type HostDeleteVStorageObjectEx_TaskResponse struct {
type HostDeleteVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be deleted.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -35951,12 +36167,12 @@ type HostDeploymentInfo struct {
DynamicData
// Flag indicating if the host was booted from stateless cache.
- BootedFromStatelessCache *bool `xml:"bootedFromStatelessCache" json:"bootedFromStatelessCache,omitempty" vim:"6.5"`
+ BootedFromStatelessCache *bool `xml:"bootedFromStatelessCache" json:"bootedFromStatelessCache,omitempty"`
}
func init() {
- minAPIVersionForType["HostDeploymentInfo"] = "6.5"
t["HostDeploymentInfo"] = reflect.TypeOf((*HostDeploymentInfo)(nil)).Elem()
+ minAPIVersionForType["HostDeploymentInfo"] = "6.5"
}
// This data object type defines a device on the host.
@@ -35987,14 +36203,14 @@ type HostDhcpService struct {
DynamicData
// The instance ID of the DHCP service.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// Configurable properties for the DHCP service.
- Spec HostDhcpServiceSpec `xml:"spec" json:"spec" vim:"2.5"`
+ Spec HostDhcpServiceSpec `xml:"spec" json:"spec"`
}
func init() {
- minAPIVersionForType["HostDhcpService"] = "2.5"
t["HostDhcpService"] = reflect.TypeOf((*HostDhcpService)(nil)).Elem()
+ minAPIVersionForType["HostDhcpService"] = "2.5"
}
// This data object type describes the configuration of a DHCP service
@@ -36007,38 +36223,38 @@ type HostDhcpServiceConfig struct {
// specification.
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty" vim:"2.5"`
+ ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty"`
// The instance ID of the DHCP service.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// Specification of the DHCP service.
- Spec HostDhcpServiceSpec `xml:"spec" json:"spec" vim:"2.5"`
+ Spec HostDhcpServiceSpec `xml:"spec" json:"spec"`
}
func init() {
- minAPIVersionForType["HostDhcpServiceConfig"] = "2.5"
t["HostDhcpServiceConfig"] = reflect.TypeOf((*HostDhcpServiceConfig)(nil)).Elem()
+ minAPIVersionForType["HostDhcpServiceConfig"] = "2.5"
}
type HostDhcpServiceSpec struct {
DynamicData
// The name of the virtual switch to which DHCP service is connected.
- VirtualSwitch string `xml:"virtualSwitch" json:"virtualSwitch" vim:"2.5"`
+ VirtualSwitch string `xml:"virtualSwitch" json:"virtualSwitch"`
// The default DHCP lease duration (minutes).
- DefaultLeaseDuration int32 `xml:"defaultLeaseDuration" json:"defaultLeaseDuration" vim:"2.5"`
+ DefaultLeaseDuration int32 `xml:"defaultLeaseDuration" json:"defaultLeaseDuration"`
// The start of the IP address range served by the DHCP service.
- LeaseBeginIp string `xml:"leaseBeginIp" json:"leaseBeginIp" vim:"2.5"`
+ LeaseBeginIp string `xml:"leaseBeginIp" json:"leaseBeginIp"`
// The end of the IP address range served by the DHCP service.
- LeaseEndIp string `xml:"leaseEndIp" json:"leaseEndIp" vim:"2.5"`
+ LeaseEndIp string `xml:"leaseEndIp" json:"leaseEndIp"`
// The maximum DHCP lease duration (minutes).
- MaxLeaseDuration int32 `xml:"maxLeaseDuration" json:"maxLeaseDuration" vim:"2.5"`
+ MaxLeaseDuration int32 `xml:"maxLeaseDuration" json:"maxLeaseDuration"`
// A flag to indicate whether or not unlimited DHCP lease
// durations are allowed.
- UnlimitedLease bool `xml:"unlimitedLease" json:"unlimitedLease" vim:"2.5"`
+ UnlimitedLease bool `xml:"unlimitedLease" json:"unlimitedLease"`
// Subnet served by DHCP service.
- IpSubnetAddr string `xml:"ipSubnetAddr" json:"ipSubnetAddr" vim:"2.5"`
+ IpSubnetAddr string `xml:"ipSubnetAddr" json:"ipSubnetAddr"`
// Subnet mask of network served by DHCP service.
- IpSubnetMask string `xml:"ipSubnetMask" json:"ipSubnetMask" vim:"2.5"`
+ IpSubnetMask string `xml:"ipSubnetMask" json:"ipSubnetMask"`
}
func init() {
@@ -36165,17 +36381,17 @@ type HostDigestInfo struct {
//
// The set of possible
// values is described in `HostDigestInfoDigestMethodType_enum`.
- DigestMethod string `xml:"digestMethod" json:"digestMethod" vim:"4.0"`
+ DigestMethod string `xml:"digestMethod" json:"digestMethod"`
// The variable length byte array containing the digest value calculated by
// the specified digestMethod.
- DigestValue []byte `xml:"digestValue" json:"digestValue" vim:"4.0"`
+ DigestValue []byte `xml:"digestValue" json:"digestValue"`
// The name of the object from which this digest value is calcaulated.
- ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty" vim:"4.0"`
+ ObjectName string `xml:"objectName,omitempty" json:"objectName,omitempty"`
}
func init() {
- minAPIVersionForType["HostDigestInfo"] = "4.0"
t["HostDigestInfo"] = reflect.TypeOf((*HostDigestInfo)(nil)).Elem()
+ minAPIVersionForType["HostDigestInfo"] = "4.0"
}
// `HostDirectoryStoreInfo` is a base class for objects that
@@ -36185,8 +36401,8 @@ type HostDirectoryStoreInfo struct {
}
func init() {
- minAPIVersionForType["HostDirectoryStoreInfo"] = "4.1"
t["HostDirectoryStoreInfo"] = reflect.TypeOf((*HostDirectoryStoreInfo)(nil)).Elem()
+ minAPIVersionForType["HostDirectoryStoreInfo"] = "4.1"
}
// This event records a disconnection from a host.
@@ -36209,16 +36425,16 @@ type HostDiskConfigurationResult struct {
// The device path.
//
// See `ScsiDisk`
- DevicePath string `xml:"devicePath,omitempty" json:"devicePath,omitempty" vim:"5.5"`
+ DevicePath string `xml:"devicePath,omitempty" json:"devicePath,omitempty"`
// Flag to indicate if the operation is successful
- Success *bool `xml:"success" json:"success,omitempty" vim:"5.5"`
+ Success *bool `xml:"success" json:"success,omitempty"`
// 'fault' would be set if the operation was not successful
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"5.5"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostDiskConfigurationResult"] = "5.5"
t["HostDiskConfigurationResult"] = reflect.TypeOf((*HostDiskConfigurationResult)(nil)).Elem()
+ minAPIVersionForType["HostDiskConfigurationResult"] = "5.5"
}
// This data object type describes multiple coordinate systems
@@ -36495,8 +36711,9 @@ type HostDiskPartitionSpec struct {
// Disk dimensions expressed as cylinder, head, sector (CHS)
// coordinates.
Chs *HostDiskDimensionsChs `xml:"chs,omitempty" json:"chs,omitempty"`
- // Disk dimensions expressed in total number of
- // 512-byte sectors.
+ // Disk dimensions expressed as a total number of sectors.
+ //
+ // For sector size, see the `sectorSize` field.
TotalSectors int64 `xml:"totalSectors,omitempty" json:"totalSectors,omitempty"`
// List of partitions on the disk.
Partition []HostDiskPartitionAttributes `xml:"partition,omitempty" json:"partition,omitempty"`
@@ -36577,14 +36794,14 @@ type HostDnsConfigSpec struct {
HostDnsConfig
// Choose a Virtual nic based on what it is connected to.
- VirtualNicConnection *HostVirtualNicConnection `xml:"virtualNicConnection,omitempty" json:"virtualNicConnection,omitempty" vim:"4.0"`
+ VirtualNicConnection *HostVirtualNicConnection `xml:"virtualNicConnection,omitempty" json:"virtualNicConnection,omitempty"`
// Choose an IPv6 Virtual nic based on what it is connected to.
VirtualNicConnectionV6 *HostVirtualNicConnection `xml:"virtualNicConnectionV6,omitempty" json:"virtualNicConnectionV6,omitempty" vim:"6.7"`
}
func init() {
- minAPIVersionForType["HostDnsConfigSpec"] = "4.0"
t["HostDnsConfigSpec"] = reflect.TypeOf((*HostDnsConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostDnsConfigSpec"] = "4.0"
}
// Provides information about a single Device Virtualization Extensions (DVX)
@@ -36605,6 +36822,7 @@ type HostDvxClass struct {
func init() {
t["HostDvxClass"] = reflect.TypeOf((*HostDvxClass)(nil)).Elem()
+ minAPIVersionForType["HostDvxClass"] = "8.0.0.1"
}
// This event records the failure to restore some of the administrator's permissions.
@@ -36615,8 +36833,8 @@ type HostEnableAdminFailedEvent struct {
}
func init() {
- minAPIVersionForType["HostEnableAdminFailedEvent"] = "2.5"
t["HostEnableAdminFailedEvent"] = reflect.TypeOf((*HostEnableAdminFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostEnableAdminFailedEvent"] = "2.5"
}
// EnterMaintenanceResult is the result returned to the
@@ -36626,15 +36844,15 @@ type HostEnterMaintenanceResult struct {
// VM specific faults that would prevent host from
// entering maintenance mode.
- VmFaults []FaultsByVM `xml:"vmFaults,omitempty" json:"vmFaults,omitempty" vim:"6.7"`
+ VmFaults []FaultsByVM `xml:"vmFaults,omitempty" json:"vmFaults,omitempty"`
// Host specific faults that would prevent host from
// entering maintenance mode.
- HostFaults []FaultsByHost `xml:"hostFaults,omitempty" json:"hostFaults,omitempty" vim:"6.7"`
+ HostFaults []FaultsByHost `xml:"hostFaults,omitempty" json:"hostFaults,omitempty"`
}
func init() {
- minAPIVersionForType["HostEnterMaintenanceResult"] = "6.7"
t["HostEnterMaintenanceResult"] = reflect.TypeOf((*HostEnterMaintenanceResult)(nil)).Elem()
+ minAPIVersionForType["HostEnterMaintenanceResult"] = "6.7"
}
type HostEsxAgentHostManagerConfigInfo struct {
@@ -36643,11 +36861,11 @@ type HostEsxAgentHostManagerConfigInfo struct {
// Datastore used for deploying Agent VMs on this host.
//
// Refers instance of `Datastore`.
- AgentVmDatastore *ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty" vim:"5.0"`
+ AgentVmDatastore *ManagedObjectReference `xml:"agentVmDatastore,omitempty" json:"agentVmDatastore,omitempty"`
// Management Network for Agent VMs on this host.
//
// Refers instance of `Network`.
- AgentVmNetwork *ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty" vim:"5.0"`
+ AgentVmNetwork *ManagedObjectReference `xml:"agentVmNetwork,omitempty" json:"agentVmNetwork,omitempty"`
}
func init() {
@@ -36681,7 +36899,7 @@ func init() {
type HostExtendDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be extended.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual disk is located.
//
// Refers instance of `Datastore`.
@@ -36712,12 +36930,12 @@ type HostExtraNetworksEvent struct {
HostDasEvent
// The comma-separated list of extra networks
- Ips string `xml:"ips,omitempty" json:"ips,omitempty" vim:"4.0"`
+ Ips string `xml:"ips,omitempty" json:"ips,omitempty"`
}
func init() {
- minAPIVersionForType["HostExtraNetworksEvent"] = "4.0"
t["HostExtraNetworksEvent"] = reflect.TypeOf((*HostExtraNetworksEvent)(nil)).Elem()
+ minAPIVersionForType["HostExtraNetworksEvent"] = "4.0"
}
// Data structure for component health information of a virtual machine.
@@ -36725,14 +36943,14 @@ type HostFaultToleranceManagerComponentHealthInfo struct {
DynamicData
// Whether the virtual machine can access the datastores configured.
- IsStorageHealthy bool `xml:"isStorageHealthy" json:"isStorageHealthy" vim:"6.0"`
+ IsStorageHealthy bool `xml:"isStorageHealthy" json:"isStorageHealthy"`
// Whether the virtual machine can access the VM network configured.
- IsNetworkHealthy bool `xml:"isNetworkHealthy" json:"isNetworkHealthy" vim:"6.0"`
+ IsNetworkHealthy bool `xml:"isNetworkHealthy" json:"isNetworkHealthy"`
}
func init() {
- minAPIVersionForType["HostFaultToleranceManagerComponentHealthInfo"] = "6.0"
t["HostFaultToleranceManagerComponentHealthInfo"] = reflect.TypeOf((*HostFaultToleranceManagerComponentHealthInfo)(nil)).Elem()
+ minAPIVersionForType["HostFaultToleranceManagerComponentHealthInfo"] = "6.0"
}
// A feature that the host is able to provide at a particular value.
@@ -36740,18 +36958,18 @@ type HostFeatureCapability struct {
DynamicData
// Accessor name to the feature capability.
- Key string `xml:"key" json:"key" vim:"5.1"`
+ Key string `xml:"key" json:"key"`
// Name of the feature.
//
// Identical to the key.
- FeatureName string `xml:"featureName" json:"featureName" vim:"5.1"`
+ FeatureName string `xml:"featureName" json:"featureName"`
// Opaque value that the feature is capable at.
- Value string `xml:"value" json:"value" vim:"5.1"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["HostFeatureCapability"] = "5.1"
t["HostFeatureCapability"] = reflect.TypeOf((*HostFeatureCapability)(nil)).Elem()
+ minAPIVersionForType["HostFeatureCapability"] = "5.1"
}
// A mask that is applied to a host feature capability.
@@ -36759,18 +36977,18 @@ type HostFeatureMask struct {
DynamicData
// Accessor name to the feature mask.
- Key string `xml:"key" json:"key" vim:"5.1"`
+ Key string `xml:"key" json:"key"`
// Name of the feature Identical to the key.
- FeatureName string `xml:"featureName" json:"featureName" vim:"5.1"`
+ FeatureName string `xml:"featureName" json:"featureName"`
// Opaque value to change the host feature capability to.
//
// Masking operation is contained in the value.
- Value string `xml:"value" json:"value" vim:"5.1"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["HostFeatureMask"] = "5.1"
t["HostFeatureMask"] = reflect.TypeOf((*HostFeatureMask)(nil)).Elem()
+ minAPIVersionForType["HostFeatureMask"] = "5.1"
}
// Feature-specific version information for a host
@@ -36779,14 +36997,14 @@ type HostFeatureVersionInfo struct {
// A unique key that identifies a feature, list of possible values are
// specified in `HostFeatureVersionKey_enum`
- Key string `xml:"key" json:"key" vim:"4.1"`
+ Key string `xml:"key" json:"key"`
// The version string of this feature
- Value string `xml:"value" json:"value" vim:"4.1"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["HostFeatureVersionInfo"] = "4.1"
t["HostFeatureVersionInfo"] = reflect.TypeOf((*HostFeatureVersionInfo)(nil)).Elem()
+ minAPIVersionForType["HostFeatureVersionInfo"] = "4.1"
}
// This data object type describes the Fibre Channel host bus adapter.
@@ -36818,20 +37036,20 @@ type HostFibreChannelOverEthernetHba struct {
HostFibreChannelHba
// The name associated with this FCoE HBA's underlying FcoeNic.
- UnderlyingNic string `xml:"underlyingNic" json:"underlyingNic" vim:"5.0"`
+ UnderlyingNic string `xml:"underlyingNic" json:"underlyingNic"`
// Link information that can be used to uniquely identify this FCoE HBA.
- LinkInfo HostFibreChannelOverEthernetHbaLinkInfo `xml:"linkInfo" json:"linkInfo" vim:"5.0"`
+ LinkInfo HostFibreChannelOverEthernetHbaLinkInfo `xml:"linkInfo" json:"linkInfo"`
// True if this host bus adapter is a software based FCoE initiator.
- IsSoftwareFcoe bool `xml:"isSoftwareFcoe" json:"isSoftwareFcoe" vim:"5.0"`
+ IsSoftwareFcoe bool `xml:"isSoftwareFcoe" json:"isSoftwareFcoe"`
// Deprecated as of vSphere API 8.0. Software FCoE not supported.
//
// True if this host bus adapter has been marked for removal.
- MarkedForRemoval *bool `xml:"markedForRemoval" json:"markedForRemoval,omitempty" vim:"5.0"`
+ MarkedForRemoval *bool `xml:"markedForRemoval" json:"markedForRemoval,omitempty"`
}
func init() {
- minAPIVersionForType["HostFibreChannelOverEthernetHba"] = "5.0"
t["HostFibreChannelOverEthernetHba"] = reflect.TypeOf((*HostFibreChannelOverEthernetHba)(nil)).Elem()
+ minAPIVersionForType["HostFibreChannelOverEthernetHba"] = "5.0"
}
// Represents FCoE link information.
@@ -36847,24 +37065,24 @@ type HostFibreChannelOverEthernetHbaLinkInfo struct {
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where
// 'x' is a hexadecimal digit. Valid MAC addresses are unicast
// addresses.
- VnportMac string `xml:"vnportMac" json:"vnportMac" vim:"5.0"`
+ VnportMac string `xml:"vnportMac" json:"vnportMac"`
// FCF MAC address, also known as the VFPort MAC address in the FC-BB-5
// standard.
//
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where
// 'x' is a hexadecimal digit. Valid MAC addresses are unicast
// addresses.
- FcfMac string `xml:"fcfMac" json:"fcfMac" vim:"5.0"`
+ FcfMac string `xml:"fcfMac" json:"fcfMac"`
// VLAN ID.
//
// This field represents the VLAN on which an FCoE HBA was
// discovered. Valid numbers fall into the range \[0,4094\].
- VlanId int32 `xml:"vlanId" json:"vlanId" vim:"5.0"`
+ VlanId int32 `xml:"vlanId" json:"vlanId"`
}
func init() {
- minAPIVersionForType["HostFibreChannelOverEthernetHbaLinkInfo"] = "5.0"
t["HostFibreChannelOverEthernetHbaLinkInfo"] = reflect.TypeOf((*HostFibreChannelOverEthernetHbaLinkInfo)(nil)).Elem()
+ minAPIVersionForType["HostFibreChannelOverEthernetHbaLinkInfo"] = "5.0"
}
// Fibre Channel Over Ethernet transport information about a SCSI target.
@@ -36884,22 +37102,22 @@ type HostFibreChannelOverEthernetTargetTransport struct {
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where
// 'x' is a hexadecimal digit. Valid MAC addresses are unicast
// addresses.
- VnportMac string `xml:"vnportMac" json:"vnportMac" vim:"5.0"`
+ VnportMac string `xml:"vnportMac" json:"vnportMac"`
// FCF MAC address.
//
// This MAC address should be of the form "xx:xx:xx:xx:xx:xx", where
// 'x' is a hexadecimal digit. Valid MAC addresses are unicast
// addresses.
- FcfMac string `xml:"fcfMac" json:"fcfMac" vim:"5.0"`
+ FcfMac string `xml:"fcfMac" json:"fcfMac"`
// VLAN ID.
//
// Valid VLAN IDs fall within the range \[0,4094\].
- VlanId int32 `xml:"vlanId" json:"vlanId" vim:"5.0"`
+ VlanId int32 `xml:"vlanId" json:"vlanId"`
}
func init() {
- minAPIVersionForType["HostFibreChannelOverEthernetTargetTransport"] = "5.0"
t["HostFibreChannelOverEthernetTargetTransport"] = reflect.TypeOf((*HostFibreChannelOverEthernetTargetTransport)(nil)).Elem()
+ minAPIVersionForType["HostFibreChannelOverEthernetTargetTransport"] = "5.0"
}
// Fibre Channel transport information about a SCSI target.
@@ -37019,24 +37237,24 @@ type HostFirewallConfig struct {
DynamicData
// Rules determining firewall settings.
- Rule []HostFirewallConfigRuleSetConfig `xml:"rule,omitempty" json:"rule,omitempty" vim:"4.0"`
+ Rule []HostFirewallConfigRuleSetConfig `xml:"rule,omitempty" json:"rule,omitempty"`
// Default settings for the firewall,
// used for ports that are not explicitly opened.
- DefaultBlockingPolicy HostFirewallDefaultPolicy `xml:"defaultBlockingPolicy" json:"defaultBlockingPolicy" vim:"4.0"`
+ DefaultBlockingPolicy HostFirewallDefaultPolicy `xml:"defaultBlockingPolicy" json:"defaultBlockingPolicy"`
}
func init() {
- minAPIVersionForType["HostFirewallConfig"] = "4.0"
t["HostFirewallConfig"] = reflect.TypeOf((*HostFirewallConfig)(nil)).Elem()
+ minAPIVersionForType["HostFirewallConfig"] = "4.0"
}
type HostFirewallConfigRuleSetConfig struct {
DynamicData
// Id of the ruleset.
- RulesetId string `xml:"rulesetId" json:"rulesetId" vim:"4.0"`
+ RulesetId string `xml:"rulesetId" json:"rulesetId"`
// Flag indicating if the specified ruleset should be enabled.
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// The list of allowed ip addresses
AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty" vim:"5.0"`
}
@@ -37128,6 +37346,11 @@ type HostFirewallRuleset struct {
Enabled bool `xml:"enabled" json:"enabled"`
// List of ipaddress to allow access to the service
AllowedHosts *HostFirewallRulesetIpList `xml:"allowedHosts,omitempty" json:"allowedHosts,omitempty" vim:"5.0"`
+ // Flag indicating whether user can enable/disable the firewall ruleset.
+ UserControllable *bool `xml:"userControllable" json:"userControllable,omitempty" vim:"8.0.2.0"`
+ // Flag indicating whether user can modify the allowed IP list of the
+ // firewall ruleset.
+ IpListUserConfigurable *bool `xml:"ipListUserConfigurable" json:"ipListUserConfigurable,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -37146,11 +37369,11 @@ type HostFirewallRulesetIpList struct {
// field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can
// also consist of symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"5.0"`
+ IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The list of networks
- IpNetwork []HostFirewallRulesetIpNetwork `xml:"ipNetwork,omitempty" json:"ipNetwork,omitempty" vim:"5.0"`
+ IpNetwork []HostFirewallRulesetIpNetwork `xml:"ipNetwork,omitempty" json:"ipNetwork,omitempty"`
// Flag indicating whether the ruleset works for all ip addresses.
- AllIp bool `xml:"allIp" json:"allIp" vim:"5.0"`
+ AllIp bool `xml:"allIp" json:"allIp"`
}
func init() {
@@ -37169,11 +37392,11 @@ type HostFirewallRulesetIpNetwork struct {
// field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can
// also consist of symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- Network string `xml:"network" json:"network" vim:"5.0"`
+ Network string `xml:"network" json:"network"`
// The prefix length for the network.
//
// For example the prefix length for a network 10.20.120/22 is 22
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"5.0"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
}
func init() {
@@ -37185,12 +37408,12 @@ type HostFirewallRulesetRulesetSpec struct {
DynamicData
// The list of allowed ip addresses
- AllowedHosts HostFirewallRulesetIpList `xml:"allowedHosts" json:"allowedHosts" vim:"5.0"`
+ AllowedHosts HostFirewallRulesetIpList `xml:"allowedHosts" json:"allowedHosts"`
}
func init() {
- minAPIVersionForType["HostFirewallRulesetRulesetSpec"] = "5.0"
t["HostFirewallRulesetRulesetSpec"] = reflect.TypeOf((*HostFirewallRulesetRulesetSpec)(nil)).Elem()
+ minAPIVersionForType["HostFirewallRulesetRulesetSpec"] = "5.0"
}
// The FlagInfo data object type encapsulates the flag settings for a host.
@@ -37201,12 +37424,12 @@ type HostFlagInfo struct {
DynamicData
// Flag to specify whether background snapshots are enabled.
- BackgroundSnapshotsEnabled *bool `xml:"backgroundSnapshotsEnabled" json:"backgroundSnapshotsEnabled,omitempty" vim:"2.5"`
+ BackgroundSnapshotsEnabled *bool `xml:"backgroundSnapshotsEnabled" json:"backgroundSnapshotsEnabled,omitempty"`
}
func init() {
- minAPIVersionForType["HostFlagInfo"] = "2.5"
t["HostFlagInfo"] = reflect.TypeOf((*HostFlagInfo)(nil)).Elem()
+ minAPIVersionForType["HostFlagInfo"] = "2.5"
}
// When the system detects a copy of a VmfsVolume, it will not be
@@ -37222,14 +37445,14 @@ type HostForceMountedInfo struct {
// Indicates if the vmfsExtent information persistent across
// host reboots.
- Persist bool `xml:"persist" json:"persist" vim:"4.0"`
+ Persist bool `xml:"persist" json:"persist"`
// Indicates if the volume is currently mounted on the host
- Mounted bool `xml:"mounted" json:"mounted" vim:"4.0"`
+ Mounted bool `xml:"mounted" json:"mounted"`
}
func init() {
- minAPIVersionForType["HostForceMountedInfo"] = "4.0"
t["HostForceMountedInfo"] = reflect.TypeOf((*HostForceMountedInfo)(nil)).Elem()
+ minAPIVersionForType["HostForceMountedInfo"] = "4.0"
}
// Data object representing the hardware vendor identity
@@ -37253,6 +37476,7 @@ type HostFru struct {
func init() {
t["HostFru"] = reflect.TypeOf((*HostFru)(nil)).Elem()
+ minAPIVersionForType["HostFru"] = "8.0.0.1"
}
// Deprecated not supported since vSphere 6.5.
@@ -37262,23 +37486,23 @@ type HostGatewaySpec struct {
DynamicData
// The type of the gateway used for the communication to the host.
- GatewayType string `xml:"gatewayType" json:"gatewayType" vim:"6.0"`
+ GatewayType string `xml:"gatewayType" json:"gatewayType"`
// Identifier of the gateway to be used for communction to the host.
//
// If
// omitted a random gateway of this type will be selected.
- GatewayId string `xml:"gatewayId,omitempty" json:"gatewayId,omitempty" vim:"6.0"`
+ GatewayId string `xml:"gatewayId,omitempty" json:"gatewayId,omitempty"`
// An opaque string that the gateway may need to validate that the host
// it connects to is the correct host.
- TrustVerificationToken string `xml:"trustVerificationToken,omitempty" json:"trustVerificationToken,omitempty" vim:"6.0"`
+ TrustVerificationToken string `xml:"trustVerificationToken,omitempty" json:"trustVerificationToken,omitempty"`
// Additional opaque authentication data that the gateway may need to
// authenticate to the host.
- HostAuthParams []KeyValue `xml:"hostAuthParams,omitempty" json:"hostAuthParams,omitempty" vim:"6.0"`
+ HostAuthParams []KeyValue `xml:"hostAuthParams,omitempty" json:"hostAuthParams,omitempty"`
}
func init() {
- minAPIVersionForType["HostGatewaySpec"] = "6.0"
t["HostGatewaySpec"] = reflect.TypeOf((*HostGatewaySpec)(nil)).Elem()
+ minAPIVersionForType["HostGatewaySpec"] = "6.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -37289,8 +37513,8 @@ type HostGetShortNameFailedEvent struct {
}
func init() {
- minAPIVersionForType["HostGetShortNameFailedEvent"] = "2.5"
t["HostGetShortNameFailedEvent"] = reflect.TypeOf((*HostGetShortNameFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostGetShortNameFailedEvent"] = "2.5"
}
type HostGetVFlashModuleDefaultConfig HostGetVFlashModuleDefaultConfigRequestType
@@ -37318,40 +37542,46 @@ type HostGetVFlashModuleDefaultConfigResponse struct {
type HostGraphicsConfig struct {
DynamicData
- // The host default graphics type (@see GraphicsType).
+ // The host default graphics type.
//
- // This default
- // value can be overridden by specifying graphics type for an individual
- // device. If host supports a single graphics type, specifying an
- // individual graphics device is optional.
- HostDefaultGraphicsType string `xml:"hostDefaultGraphicsType" json:"hostDefaultGraphicsType" vim:"6.5"`
+ // See `HostGraphicsConfigGraphicsType_enum` for list
+ // of supported values. This default value can be overridden by specifying
+ // graphics type for an individual device. If host supports a single
+ // graphics type, specifying an individual graphics device is optional.
+ HostDefaultGraphicsType string `xml:"hostDefaultGraphicsType" json:"hostDefaultGraphicsType"`
// The policy for assigning shared passthrough VMs to a host graphics
- // device (see @SharedPassthruAssignmentPolicy).
- SharedPassthruAssignmentPolicy string `xml:"sharedPassthruAssignmentPolicy" json:"sharedPassthruAssignmentPolicy" vim:"6.5"`
+ // device.
+ //
+ // See `HostGraphicsConfigSharedPassthruAssignmentPolicy_enum` for list of
+ // supported values.
+ SharedPassthruAssignmentPolicy string `xml:"sharedPassthruAssignmentPolicy" json:"sharedPassthruAssignmentPolicy"`
// Graphics devices and their associated type.
- DeviceType []HostGraphicsConfigDeviceType `xml:"deviceType,omitempty" json:"deviceType,omitempty" vim:"6.5"`
+ DeviceType []HostGraphicsConfigDeviceType `xml:"deviceType,omitempty" json:"deviceType,omitempty"`
}
func init() {
- minAPIVersionForType["HostGraphicsConfig"] = "6.5"
t["HostGraphicsConfig"] = reflect.TypeOf((*HostGraphicsConfig)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsConfig"] = "6.5"
}
-// A particular graphics device and its associated type.
+// A particular graphics device with its associated type and mode.
type HostGraphicsConfigDeviceType struct {
DynamicData
// Graphics device identifier (ex.
//
// PCI ID).
- DeviceId string `xml:"deviceId" json:"deviceId" vim:"6.5"`
- // Graphics type (@see GraphicsType).
- GraphicsType string `xml:"graphicsType" json:"graphicsType" vim:"6.5"`
+ DeviceId string `xml:"deviceId" json:"deviceId"`
+ // Graphics type for this device.
+ //
+ // See `HostGraphicsConfigGraphicsType_enum` for list of
+ // supported values.
+ GraphicsType string `xml:"graphicsType" json:"graphicsType"`
}
func init() {
- minAPIVersionForType["HostGraphicsConfigDeviceType"] = "6.5"
t["HostGraphicsConfigDeviceType"] = reflect.TypeOf((*HostGraphicsConfigDeviceType)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsConfigDeviceType"] = "6.5"
}
// This data object type describes information about a single
@@ -37360,24 +37590,24 @@ type HostGraphicsInfo struct {
DynamicData
// The device name.
- DeviceName string `xml:"deviceName" json:"deviceName" vim:"5.5"`
+ DeviceName string `xml:"deviceName" json:"deviceName"`
// The vendor name.
- VendorName string `xml:"vendorName" json:"vendorName" vim:"5.5"`
+ VendorName string `xml:"vendorName" json:"vendorName"`
// PCI ID of this device composed of "bus:slot.function".
- PciId string `xml:"pciId" json:"pciId" vim:"5.5"`
+ PciId string `xml:"pciId" json:"pciId"`
// Graphics type (@see GraphicsType).
- GraphicsType string `xml:"graphicsType" json:"graphicsType" vim:"5.5"`
+ GraphicsType string `xml:"graphicsType" json:"graphicsType"`
// Memory capacity of graphics device or zero if not available.
- MemorySizeInKB int64 `xml:"memorySizeInKB" json:"memorySizeInKB" vim:"5.5"`
+ MemorySizeInKB int64 `xml:"memorySizeInKB" json:"memorySizeInKB"`
// Virtual machines using this graphics device.
//
// Refers instances of `VirtualMachine`.
- Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.5"`
+ Vm []ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
}
func init() {
- minAPIVersionForType["HostGraphicsInfo"] = "5.5"
t["HostGraphicsInfo"] = reflect.TypeOf((*HostGraphicsInfo)(nil)).Elem()
+ minAPIVersionForType["HostGraphicsInfo"] = "5.5"
}
// Data object describing the operational status of a physical
@@ -37386,19 +37616,19 @@ type HostHardwareElementInfo struct {
DynamicData
// The name of the physical element
- Name string `xml:"name" json:"name" vim:"2.5"`
+ Name string `xml:"name" json:"name"`
// The operational status of the physical element.
//
// The status is one of
// the values specified in HostHardwareElementStatus.
//
// See also `HostHardwareElementStatus_enum`.
- Status BaseElementDescription `xml:"status,typeattr" json:"status" vim:"2.5"`
+ Status BaseElementDescription `xml:"status,typeattr" json:"status"`
}
func init() {
- minAPIVersionForType["HostHardwareElementInfo"] = "2.5"
t["HostHardwareElementInfo"] = reflect.TypeOf((*HostHardwareElementInfo)(nil)).Elem()
+ minAPIVersionForType["HostHardwareElementInfo"] = "2.5"
}
// The HardwareInfo data object type describes the hardware
@@ -37425,7 +37655,7 @@ type HostHardwareInfo struct {
PciDevice []HostPciDevice `xml:"pciDevice,omitempty" json:"pciDevice,omitempty"`
// The list of Device Virtualization Extensions (DVX) classes
// available on this host.
- DvxClasses []HostDvxClass `xml:"dvxClasses,omitempty" json:"dvxClasses,omitempty"`
+ DvxClasses []HostDvxClass `xml:"dvxClasses,omitempty" json:"dvxClasses,omitempty" vim:"8.0.0.1"`
// CPU feature set that is supported by the hardware.
//
// This is the
@@ -37469,18 +37699,18 @@ type HostHardwareStatusInfo struct {
DynamicData
// Status of the physical memory
- MemoryStatusInfo []BaseHostHardwareElementInfo `xml:"memoryStatusInfo,omitempty,typeattr" json:"memoryStatusInfo,omitempty" vim:"2.5"`
+ MemoryStatusInfo []BaseHostHardwareElementInfo `xml:"memoryStatusInfo,omitempty,typeattr" json:"memoryStatusInfo,omitempty"`
// Status of the CPU packages
- CpuStatusInfo []BaseHostHardwareElementInfo `xml:"cpuStatusInfo,omitempty,typeattr" json:"cpuStatusInfo,omitempty" vim:"2.5"`
+ CpuStatusInfo []BaseHostHardwareElementInfo `xml:"cpuStatusInfo,omitempty,typeattr" json:"cpuStatusInfo,omitempty"`
// Status of the physical storage system
- StorageStatusInfo []HostStorageElementInfo `xml:"storageStatusInfo,omitempty" json:"storageStatusInfo,omitempty" vim:"2.5"`
+ StorageStatusInfo []HostStorageElementInfo `xml:"storageStatusInfo,omitempty" json:"storageStatusInfo,omitempty"`
// Status of one or more DPU elements
- DpuStatusInfo []DpuStatusInfo `xml:"dpuStatusInfo,omitempty" json:"dpuStatusInfo,omitempty"`
+ DpuStatusInfo []DpuStatusInfo `xml:"dpuStatusInfo,omitempty" json:"dpuStatusInfo,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["HostHardwareStatusInfo"] = "2.5"
t["HostHardwareStatusInfo"] = reflect.TypeOf((*HostHardwareStatusInfo)(nil)).Elem()
+ minAPIVersionForType["HostHardwareStatusInfo"] = "2.5"
}
// This data object type summarizes hardware used by the host.
@@ -37538,18 +37768,18 @@ type HostHasComponentFailure struct {
VimFault
// The host that has the component failure.
- HostName string `xml:"hostName" json:"hostName" vim:"6.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// The type of the component that has failed.
//
// Values come from `HostHasComponentFailureHostComponentType_enum`.
- ComponentType string `xml:"componentType" json:"componentType" vim:"6.0"`
+ ComponentType string `xml:"componentType" json:"componentType"`
// The name of the component that has failed.
- ComponentName string `xml:"componentName" json:"componentName" vim:"6.0"`
+ ComponentName string `xml:"componentName" json:"componentName"`
}
func init() {
- minAPIVersionForType["HostHasComponentFailure"] = "6.0"
t["HostHasComponentFailure"] = reflect.TypeOf((*HostHasComponentFailure)(nil)).Elem()
+ minAPIVersionForType["HostHasComponentFailure"] = "6.0"
}
type HostHasComponentFailureFault HostHasComponentFailure
@@ -37565,8 +37795,8 @@ type HostHbaCreateSpec struct {
}
func init() {
- minAPIVersionForType["HostHbaCreateSpec"] = "7.0.3.0"
t["HostHbaCreateSpec"] = reflect.TypeOf((*HostHbaCreateSpec)(nil)).Elem()
+ minAPIVersionForType["HostHbaCreateSpec"] = "7.0.3.0"
}
// This data object type describes the bus adapter for
@@ -37699,14 +37929,14 @@ type HostImageProfileSummary struct {
DynamicData
// The name of the image profile
- Name string `xml:"name" json:"name" vim:"5.0"`
+ Name string `xml:"name" json:"name"`
// The organization publishing the image profile.
- Vendor string `xml:"vendor" json:"vendor" vim:"5.0"`
+ Vendor string `xml:"vendor" json:"vendor"`
}
func init() {
- minAPIVersionForType["HostImageProfileSummary"] = "5.0"
t["HostImageProfileSummary"] = reflect.TypeOf((*HostImageProfileSummary)(nil)).Elem()
+ minAPIVersionForType["HostImageProfileSummary"] = "5.0"
}
// Host is booted in audit mode.
@@ -37715,8 +37945,8 @@ type HostInAuditModeEvent struct {
}
func init() {
- minAPIVersionForType["HostInAuditModeEvent"] = "5.0"
t["HostInAuditModeEvent"] = reflect.TypeOf((*HostInAuditModeEvent)(nil)).Elem()
+ minAPIVersionForType["HostInAuditModeEvent"] = "5.0"
}
// Fault indicating that an operation cannot be performed while
@@ -37726,8 +37956,8 @@ type HostInDomain struct {
}
func init() {
- minAPIVersionForType["HostInDomain"] = "4.1"
t["HostInDomain"] = reflect.TypeOf((*HostInDomain)(nil)).Elem()
+ minAPIVersionForType["HostInDomain"] = "4.1"
}
type HostInDomainFault HostInDomain
@@ -37745,12 +37975,12 @@ type HostIncompatibleForFaultTolerance struct {
// The specific reason why the host does not support fault tolerance.
//
// Values should come from `HostIncompatibleForFaultToleranceReason_enum`.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["HostIncompatibleForFaultTolerance"] = "4.0"
t["HostIncompatibleForFaultTolerance"] = reflect.TypeOf((*HostIncompatibleForFaultTolerance)(nil)).Elem()
+ minAPIVersionForType["HostIncompatibleForFaultTolerance"] = "4.0"
}
type HostIncompatibleForFaultToleranceFault HostIncompatibleForFaultTolerance
@@ -37770,12 +38000,12 @@ type HostIncompatibleForRecordReplay struct {
// The specific reason why the host does not support record/replay.
//
// Values should come from `HostIncompatibleForRecordReplayReason_enum`.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["HostIncompatibleForRecordReplay"] = "4.0"
t["HostIncompatibleForRecordReplay"] = reflect.TypeOf((*HostIncompatibleForRecordReplay)(nil)).Elem()
+ minAPIVersionForType["HostIncompatibleForRecordReplay"] = "4.0"
}
type HostIncompatibleForRecordReplayFault HostIncompatibleForRecordReplay
@@ -37788,7 +38018,7 @@ func init() {
type HostInflateDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be inflated.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual disk is located.
//
// Refers instance of `Datastore`.
@@ -37939,30 +38169,30 @@ type HostInternetScsiHbaDigestCapabilities struct {
//
// Defaults to false, in which
// case no header digests will be used.
- HeaderDigestSettable *bool `xml:"headerDigestSettable" json:"headerDigestSettable,omitempty" vim:"4.0"`
+ HeaderDigestSettable *bool `xml:"headerDigestSettable" json:"headerDigestSettable,omitempty"`
// True if this host bus adapter supports the configuration
// of the use of data digest.
//
// Defaults to false, in which
// case no data digests will be used.
- DataDigestSettable *bool `xml:"dataDigestSettable" json:"dataDigestSettable,omitempty" vim:"4.0"`
+ DataDigestSettable *bool `xml:"dataDigestSettable" json:"dataDigestSettable,omitempty"`
// True if configuration of the use of header digest is supported
// on the targets associated with the host bus adapter.
//
// Defaults to
// false, in which case no header digests will be used.
- TargetHeaderDigestSettable *bool `xml:"targetHeaderDigestSettable" json:"targetHeaderDigestSettable,omitempty" vim:"4.0"`
+ TargetHeaderDigestSettable *bool `xml:"targetHeaderDigestSettable" json:"targetHeaderDigestSettable,omitempty"`
// True if configuration of the use of data digest is supported
// on the targets associated with the host bus adapter.
//
// Defaults to
// false, in which case no data digests will be used.
- TargetDataDigestSettable *bool `xml:"targetDataDigestSettable" json:"targetDataDigestSettable,omitempty" vim:"4.0"`
+ TargetDataDigestSettable *bool `xml:"targetDataDigestSettable" json:"targetDataDigestSettable,omitempty"`
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaDigestCapabilities"] = "4.0"
t["HostInternetScsiHbaDigestCapabilities"] = reflect.TypeOf((*HostInternetScsiHbaDigestCapabilities)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaDigestCapabilities"] = "4.0"
}
// The digest settings for this host bus adapter.
@@ -37970,18 +38200,18 @@ type HostInternetScsiHbaDigestProperties struct {
DynamicData
// The header digest preference if header digest is enabled
- HeaderDigestType string `xml:"headerDigestType,omitempty" json:"headerDigestType,omitempty" vim:"4.0"`
+ HeaderDigestType string `xml:"headerDigestType,omitempty" json:"headerDigestType,omitempty"`
// Header digest setting is inherited
- HeaderDigestInherited *bool `xml:"headerDigestInherited" json:"headerDigestInherited,omitempty" vim:"4.0"`
+ HeaderDigestInherited *bool `xml:"headerDigestInherited" json:"headerDigestInherited,omitempty"`
// The data digest preference if data digest is enabled
- DataDigestType string `xml:"dataDigestType,omitempty" json:"dataDigestType,omitempty" vim:"4.0"`
+ DataDigestType string `xml:"dataDigestType,omitempty" json:"dataDigestType,omitempty"`
// Data digest setting is inherited
- DataDigestInherited *bool `xml:"dataDigestInherited" json:"dataDigestInherited,omitempty" vim:"4.0"`
+ DataDigestInherited *bool `xml:"dataDigestInherited" json:"dataDigestInherited,omitempty"`
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaDigestProperties"] = "4.0"
t["HostInternetScsiHbaDigestProperties"] = reflect.TypeOf((*HostInternetScsiHbaDigestProperties)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaDigestProperties"] = "4.0"
}
// The discovery capabilities for this host bus adapter.
@@ -38166,32 +38396,32 @@ type HostInternetScsiHbaIPv6Properties struct {
DynamicData
// There can be multiple IPv6 addressed plumbed onto the Host Bus Adapter.
- IscsiIpv6Address []HostInternetScsiHbaIscsiIpv6Address `xml:"iscsiIpv6Address,omitempty" json:"iscsiIpv6Address,omitempty" vim:"6.0"`
+ IscsiIpv6Address []HostInternetScsiHbaIscsiIpv6Address `xml:"iscsiIpv6Address,omitempty" json:"iscsiIpv6Address,omitempty"`
// True if DHCPv6 is enabled on the host bus adapter.
//
// User can keep this field unset while changing other IPv6 properties
// without altering current DHCP configuration.
- Ipv6DhcpConfigurationEnabled *bool `xml:"ipv6DhcpConfigurationEnabled" json:"ipv6DhcpConfigurationEnabled,omitempty" vim:"6.0"`
+ Ipv6DhcpConfigurationEnabled *bool `xml:"ipv6DhcpConfigurationEnabled" json:"ipv6DhcpConfigurationEnabled,omitempty"`
// True if auto configuration of link local address is enabled on the host bus adapter.
//
// User can keep this field unset while changing other IPv6 properties
// without altering current link local auto configuration.
- Ipv6LinkLocalAutoConfigurationEnabled *bool `xml:"ipv6LinkLocalAutoConfigurationEnabled" json:"ipv6LinkLocalAutoConfigurationEnabled,omitempty" vim:"6.0"`
+ Ipv6LinkLocalAutoConfigurationEnabled *bool `xml:"ipv6LinkLocalAutoConfigurationEnabled" json:"ipv6LinkLocalAutoConfigurationEnabled,omitempty"`
// True if the router advertisement configuration is enabled on the host bus adapter.
//
// User can keep this field unset while changing other IPv6 properties
// without altering current router advertisement configuration.
- Ipv6RouterAdvertisementConfigurationEnabled *bool `xml:"ipv6RouterAdvertisementConfigurationEnabled" json:"ipv6RouterAdvertisementConfigurationEnabled,omitempty" vim:"6.0"`
+ Ipv6RouterAdvertisementConfigurationEnabled *bool `xml:"ipv6RouterAdvertisementConfigurationEnabled" json:"ipv6RouterAdvertisementConfigurationEnabled,omitempty"`
// The current IPv6 default gateway.
//
// User can keep this field unset while changing other IPv6 properties
// without altering current default gateway configuration.
- Ipv6DefaultGateway string `xml:"ipv6DefaultGateway,omitempty" json:"ipv6DefaultGateway,omitempty" vim:"6.0"`
+ Ipv6DefaultGateway string `xml:"ipv6DefaultGateway,omitempty" json:"ipv6DefaultGateway,omitempty"`
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaIPv6Properties"] = "6.0"
t["HostInternetScsiHbaIPv6Properties"] = reflect.TypeOf((*HostInternetScsiHbaIPv6Properties)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaIPv6Properties"] = "6.0"
}
// The IPv6 address.
@@ -38199,26 +38429,26 @@ type HostInternetScsiHbaIscsiIpv6Address struct {
DynamicData
// IPv6 address.
- Address string `xml:"address" json:"address" vim:"6.0"`
+ Address string `xml:"address" json:"address"`
// IPv6 address prefix length.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"6.0"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// Type of the address.
//
// See { @Vim::Host::HostBusAdapter::IscsiIpv6Address::AddressConfigurationType }.
// Note: While setting IPv6 address, value of origin should be set to static.
- Origin string `xml:"origin" json:"origin" vim:"6.0"`
+ Origin string `xml:"origin" json:"origin"`
// Operation to be performed with the IP address.
//
// See { @Vim::Host::HostBusAdapter::IscsiIpv6Address::IPv6AddressOperation }.
// Note: This field/operation is used only while setting the IPProperties on host bus adapter.
// This field would not have any value (Unset) while viewing IPProperties
// of the host bus adapter.
- Operation string `xml:"operation,omitempty" json:"operation,omitempty" vim:"6.0"`
+ Operation string `xml:"operation,omitempty" json:"operation,omitempty"`
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaIscsiIpv6Address"] = "6.0"
t["HostInternetScsiHbaIscsiIpv6Address"] = reflect.TypeOf((*HostInternetScsiHbaIscsiIpv6Address)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaIscsiIpv6Address"] = "6.0"
}
// Describes the the value of an iSCSI parameter, and whether
@@ -38233,12 +38463,12 @@ type HostInternetScsiHbaParamValue struct {
// If value is to being modified, isInherited should be set to true.
// Setting isInherited to false will result in the value being
// once again inherited from the source.
- IsInherited *bool `xml:"isInherited" json:"isInherited,omitempty" vim:"4.0"`
+ IsInherited *bool `xml:"isInherited" json:"isInherited,omitempty"`
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaParamValue"] = "4.0"
t["HostInternetScsiHbaParamValue"] = reflect.TypeOf((*HostInternetScsiHbaParamValue)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaParamValue"] = "4.0"
}
// The iSCSI send target.
@@ -38325,8 +38555,8 @@ type HostInternetScsiHbaTargetSet struct {
}
func init() {
- minAPIVersionForType["HostInternetScsiHbaTargetSet"] = "4.0"
t["HostInternetScsiHbaTargetSet"] = reflect.TypeOf((*HostInternetScsiHbaTargetSet)(nil)).Elem()
+ minAPIVersionForType["HostInternetScsiHbaTargetSet"] = "4.0"
}
// Internet SCSI transport information about a SCSI target.
@@ -38353,8 +38583,8 @@ type HostInventoryFull struct {
}
func init() {
- minAPIVersionForType["HostInventoryFull"] = "2.5"
t["HostInventoryFull"] = reflect.TypeOf((*HostInventoryFull)(nil)).Elem()
+ minAPIVersionForType["HostInventoryFull"] = "2.5"
}
// This event records if the inventory of hosts has reached capacity.
@@ -38365,8 +38595,8 @@ type HostInventoryFullEvent struct {
}
func init() {
- minAPIVersionForType["HostInventoryFullEvent"] = "2.5"
t["HostInventoryFullEvent"] = reflect.TypeOf((*HostInventoryFullEvent)(nil)).Elem()
+ minAPIVersionForType["HostInventoryFullEvent"] = "2.5"
}
type HostInventoryFullFault HostInventoryFull
@@ -38382,8 +38612,8 @@ type HostInventoryUnreadableEvent struct {
}
func init() {
- minAPIVersionForType["HostInventoryUnreadableEvent"] = "4.0"
t["HostInventoryUnreadableEvent"] = reflect.TypeOf((*HostInventoryUnreadableEvent)(nil)).Elem()
+ minAPIVersionForType["HostInventoryUnreadableEvent"] = "4.0"
}
// Information about an IO Filter installed on a host.
@@ -38391,12 +38621,12 @@ type HostIoFilterInfo struct {
IoFilterInfo
// Whether or not the filter is available for use.
- Available bool `xml:"available" json:"available" vim:"6.0"`
+ Available bool `xml:"available" json:"available"`
}
func init() {
- minAPIVersionForType["HostIoFilterInfo"] = "6.0"
t["HostIoFilterInfo"] = reflect.TypeOf((*HostIoFilterInfo)(nil)).Elem()
+ minAPIVersionForType["HostIoFilterInfo"] = "6.0"
}
// This event records a change in host IP address.
@@ -38404,14 +38634,14 @@ type HostIpChangedEvent struct {
HostEvent
// Old IP address of the host.
- OldIP string `xml:"oldIP" json:"oldIP" vim:"2.5"`
+ OldIP string `xml:"oldIP" json:"oldIP"`
// New IP address of the host.
- NewIP string `xml:"newIP" json:"newIP" vim:"2.5"`
+ NewIP string `xml:"newIP" json:"newIP"`
}
func init() {
- minAPIVersionForType["HostIpChangedEvent"] = "2.5"
t["HostIpChangedEvent"] = reflect.TypeOf((*HostIpChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HostIpChangedEvent"] = "2.5"
}
// The IP configuration.
@@ -38456,7 +38686,7 @@ type HostIpConfigIpV6Address struct {
//
// When DHCP is enabled, this property
// reflects the current IP configuration and cannot be set.
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"4.0"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// The prefix length.
//
// An ipv6 prefixLength is a decimal value that indicates
@@ -38464,31 +38694,31 @@ type HostIpConfigIpV6Address struct {
// network portion of the address.
// For example, 10FA:6604:8136:6502::/64 is a possible IPv6 prefix. The prefix
// length in this case is 64.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.0"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// The type of the ipv6 address configuration on the interface.
//
// This can be one of the types defined my the enum
// `HostIpConfigIpV6AddressConfigType_enum`.
- Origin string `xml:"origin,omitempty" json:"origin,omitempty" vim:"4.0"`
+ Origin string `xml:"origin,omitempty" json:"origin,omitempty"`
// The state of this ipAddress.
//
// Can be one of
// `HostIpConfigIpV6AddressStatus_enum`
- DadState string `xml:"dadState,omitempty" json:"dadState,omitempty" vim:"4.0"`
+ DadState string `xml:"dadState,omitempty" json:"dadState,omitempty"`
// The time when will this address expire.
//
// If not set
// the address lifetime is unlimited.
- Lifetime *time.Time `xml:"lifetime" json:"lifetime,omitempty" vim:"4.0"`
+ Lifetime *time.Time `xml:"lifetime" json:"lifetime,omitempty"`
// Valid values are "add" and "remove".
//
// See `HostConfigChangeOperation_enum`.
- Operation string `xml:"operation,omitempty" json:"operation,omitempty" vim:"4.0"`
+ Operation string `xml:"operation,omitempty" json:"operation,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpConfigIpV6Address"] = "4.0"
t["HostIpConfigIpV6Address"] = reflect.TypeOf((*HostIpConfigIpV6Address)(nil)).Elem()
+ minAPIVersionForType["HostIpConfigIpV6Address"] = "4.0"
}
// The ipv6 address configuration
@@ -38501,20 +38731,20 @@ type HostIpConfigIpV6AddressConfiguration struct {
// through DHCP, stateless or manual configuration. Link local addresses can be
// only configured with the origin set to
// `other`.
- IpV6Address []HostIpConfigIpV6Address `xml:"ipV6Address,omitempty" json:"ipV6Address,omitempty" vim:"4.0"`
+ IpV6Address []HostIpConfigIpV6Address `xml:"ipV6Address,omitempty" json:"ipV6Address,omitempty"`
// Specify if IPv6 address and routing information information
// be enabled or not as per RFC 2462.
- AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty" vim:"4.0"`
+ AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty"`
// The flag to indicate whether or not DHCP (dynamic host
// control protocol) is enabled to obtain an ipV6 address.
//
// If this property is set to true, an ipV6 address is configured through dhcpV6.
- DhcpV6Enabled *bool `xml:"dhcpV6Enabled" json:"dhcpV6Enabled,omitempty" vim:"4.0"`
+ DhcpV6Enabled *bool `xml:"dhcpV6Enabled" json:"dhcpV6Enabled,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpConfigIpV6AddressConfiguration"] = "4.0"
t["HostIpConfigIpV6AddressConfiguration"] = reflect.TypeOf((*HostIpConfigIpV6AddressConfiguration)(nil)).Elem()
+ minAPIVersionForType["HostIpConfigIpV6AddressConfiguration"] = "4.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -38531,8 +38761,8 @@ type HostIpInconsistentEvent struct {
}
func init() {
- minAPIVersionForType["HostIpInconsistentEvent"] = "2.5"
t["HostIpInconsistentEvent"] = reflect.TypeOf((*HostIpInconsistentEvent)(nil)).Elem()
+ minAPIVersionForType["HostIpInconsistentEvent"] = "2.5"
}
// IP Route Configuration.
@@ -38575,17 +38805,17 @@ type HostIpRouteConfigSpec struct {
//
// This applies to service console gateway only, it
// is ignored otherwise.
- GatewayDeviceConnection *HostVirtualNicConnection `xml:"gatewayDeviceConnection,omitempty" json:"gatewayDeviceConnection,omitempty" vim:"4.0"`
+ GatewayDeviceConnection *HostVirtualNicConnection `xml:"gatewayDeviceConnection,omitempty" json:"gatewayDeviceConnection,omitempty"`
// The ipv6 gateway device based on what the VirtualNic is connected to.
//
// This applies to service console gateway only, it
// is ignored otherwise.
- IpV6GatewayDeviceConnection *HostVirtualNicConnection `xml:"ipV6GatewayDeviceConnection,omitempty" json:"ipV6GatewayDeviceConnection,omitempty" vim:"4.0"`
+ IpV6GatewayDeviceConnection *HostVirtualNicConnection `xml:"ipV6GatewayDeviceConnection,omitempty" json:"ipV6GatewayDeviceConnection,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpRouteConfigSpec"] = "4.0"
t["HostIpRouteConfigSpec"] = reflect.TypeOf((*HostIpRouteConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostIpRouteConfigSpec"] = "4.0"
}
// IpRouteEntry.
@@ -38597,11 +38827,11 @@ type HostIpRouteEntry struct {
// Network of the routing entry
// Of the format "10.20.120.0" or "2001:db8::1428:57"
- Network string `xml:"network" json:"network" vim:"4.0"`
+ Network string `xml:"network" json:"network"`
// Prefix length of the network (this is the 22 in 10.20.120.0/22)
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.0"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// Gateway for the routing entry
- Gateway string `xml:"gateway" json:"gateway" vim:"4.0"`
+ Gateway string `xml:"gateway" json:"gateway"`
// If available the property indicates the device associated with the
// routing entry.
//
@@ -38611,8 +38841,8 @@ type HostIpRouteEntry struct {
}
func init() {
- minAPIVersionForType["HostIpRouteEntry"] = "4.0"
t["HostIpRouteEntry"] = reflect.TypeOf((*HostIpRouteEntry)(nil)).Elem()
+ minAPIVersionForType["HostIpRouteEntry"] = "4.0"
}
// Routing Entry Operation.
@@ -38627,14 +38857,14 @@ type HostIpRouteOp struct {
// this configuration specification.
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation" json:"changeOperation" vim:"4.0"`
+ ChangeOperation string `xml:"changeOperation" json:"changeOperation"`
// The routing entry itself
- Route HostIpRouteEntry `xml:"route" json:"route" vim:"4.0"`
+ Route HostIpRouteEntry `xml:"route" json:"route"`
}
func init() {
- minAPIVersionForType["HostIpRouteOp"] = "4.0"
t["HostIpRouteOp"] = reflect.TypeOf((*HostIpRouteOp)(nil)).Elem()
+ minAPIVersionForType["HostIpRouteOp"] = "4.0"
}
// IpRouteEntry.
@@ -38645,13 +38875,13 @@ type HostIpRouteTableConfig struct {
DynamicData
// The array of Routing ops (routes to be added/removed)
- IpRoute []HostIpRouteOp `xml:"ipRoute,omitempty" json:"ipRoute,omitempty" vim:"4.0"`
+ IpRoute []HostIpRouteOp `xml:"ipRoute,omitempty" json:"ipRoute,omitempty"`
Ipv6Route []HostIpRouteOp `xml:"ipv6Route,omitempty" json:"ipv6Route,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpRouteTableConfig"] = "4.0"
t["HostIpRouteTableConfig"] = reflect.TypeOf((*HostIpRouteTableConfig)(nil)).Elem()
+ minAPIVersionForType["HostIpRouteTableConfig"] = "4.0"
}
// IpRouteTableInfo.
@@ -38661,13 +38891,13 @@ type HostIpRouteTableInfo struct {
DynamicData
// The array of IpRouteEntry
- IpRoute []HostIpRouteEntry `xml:"ipRoute,omitempty" json:"ipRoute,omitempty" vim:"4.0"`
+ IpRoute []HostIpRouteEntry `xml:"ipRoute,omitempty" json:"ipRoute,omitempty"`
Ipv6Route []HostIpRouteEntry `xml:"ipv6Route,omitempty" json:"ipv6Route,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpRouteTableInfo"] = "4.0"
t["HostIpRouteTableInfo"] = reflect.TypeOf((*HostIpRouteTableInfo)(nil)).Elem()
+ minAPIVersionForType["HostIpRouteTableInfo"] = "4.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -38678,8 +38908,8 @@ type HostIpToShortNameFailedEvent struct {
}
func init() {
- minAPIVersionForType["HostIpToShortNameFailedEvent"] = "2.5"
t["HostIpToShortNameFailedEvent"] = reflect.TypeOf((*HostIpToShortNameFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostIpToShortNameFailedEvent"] = "2.5"
}
// The IpmiInfo data object contains IPMI (Intelligent Platform Management Interface)
@@ -38690,30 +38920,30 @@ type HostIpmiInfo struct {
// IP address of the BMC on the host.
//
// It should be null terminated.
- BmcIpAddress string `xml:"bmcIpAddress,omitempty" json:"bmcIpAddress,omitempty" vim:"4.0"`
+ BmcIpAddress string `xml:"bmcIpAddress,omitempty" json:"bmcIpAddress,omitempty"`
// MAC address of the BMC on the host.
//
// The MAC address should be of the
// form xx:xx:xx:xx:xx:xx where each x is a hex digit. It should be null
// terminated.
- BmcMacAddress string `xml:"bmcMacAddress,omitempty" json:"bmcMacAddress,omitempty" vim:"4.0"`
+ BmcMacAddress string `xml:"bmcMacAddress,omitempty" json:"bmcMacAddress,omitempty"`
// User ID for logging into the BMC.
//
// BMC usernames may be up to 16
// characters and must be null terminated. Hence, a login comprises
// 17 or fewer characters.
- Login string `xml:"login,omitempty" json:"login,omitempty" vim:"4.0"`
+ Login string `xml:"login,omitempty" json:"login,omitempty"`
// Password for logging into the BMC.
//
// Only used for configuration, returned as unset
// while reading. The password can be up to 16 characters and must be null
// terminated. Hence, a password comprises 17 or fewer characters.
- Password string `xml:"password,omitempty" json:"password,omitempty" vim:"4.0"`
+ Password string `xml:"password,omitempty" json:"password,omitempty"`
}
func init() {
- minAPIVersionForType["HostIpmiInfo"] = "4.0"
t["HostIpmiInfo"] = reflect.TypeOf((*HostIpmiInfo)(nil)).Elem()
+ minAPIVersionForType["HostIpmiInfo"] = "4.0"
}
// This event records that the isolation address could not be pinged.
@@ -38726,8 +38956,8 @@ type HostIsolationIpPingFailedEvent struct {
}
func init() {
- minAPIVersionForType["HostIsolationIpPingFailedEvent"] = "2.5"
t["HostIsolationIpPingFailedEvent"] = reflect.TypeOf((*HostIsolationIpPingFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostIsolationIpPingFailedEvent"] = "2.5"
}
// Encapsulates information about all licensable resources on the host.
@@ -38741,12 +38971,12 @@ type HostLicensableResourceInfo struct {
//
// NOTE:
// The values in this property may not be accurate for pre-5.0 hosts when returned by vCenter 5.0
- Resource []KeyAnyValue `xml:"resource" json:"resource" vim:"5.0"`
+ Resource []KeyAnyValue `xml:"resource" json:"resource"`
}
func init() {
- minAPIVersionForType["HostLicensableResourceInfo"] = "5.0"
t["HostLicensableResourceInfo"] = reflect.TypeOf((*HostLicensableResourceInfo)(nil)).Elem()
+ minAPIVersionForType["HostLicensableResourceInfo"] = "5.0"
}
// This data object type describes license information stored on the host.
@@ -38754,9 +38984,9 @@ type HostLicenseConnectInfo struct {
DynamicData
// License information.
- License LicenseManagerLicenseInfo `xml:"license" json:"license" vim:"4.0"`
+ License LicenseManagerLicenseInfo `xml:"license" json:"license"`
// Evaluation information.
- Evaluation LicenseManagerEvaluationInfo `xml:"evaluation" json:"evaluation" vim:"4.0"`
+ Evaluation LicenseManagerEvaluationInfo `xml:"evaluation" json:"evaluation"`
// Licensable resources information.
//
// NOTE:
@@ -38765,8 +38995,8 @@ type HostLicenseConnectInfo struct {
}
func init() {
- minAPIVersionForType["HostLicenseConnectInfo"] = "4.0"
t["HostLicenseConnectInfo"] = reflect.TypeOf((*HostLicenseConnectInfo)(nil)).Elem()
+ minAPIVersionForType["HostLicenseConnectInfo"] = "4.0"
}
// This event records an expired host license.
@@ -38782,17 +39012,17 @@ type HostLicenseSpec struct {
DynamicData
// License source to be used
- Source BaseLicenseSource `xml:"source,omitempty,typeattr" json:"source,omitempty" vim:"4.0"`
+ Source BaseLicenseSource `xml:"source,omitempty,typeattr" json:"source,omitempty"`
// License edition to use
- EditionKey string `xml:"editionKey,omitempty" json:"editionKey,omitempty" vim:"4.0"`
+ EditionKey string `xml:"editionKey,omitempty" json:"editionKey,omitempty"`
// Disabled features.
//
// When an edition is set, all the features in it
// are enabled by default. The following parameter gives a finer
// control on which features are disabled.
- DisabledFeatureKey []string `xml:"disabledFeatureKey,omitempty" json:"disabledFeatureKey,omitempty" vim:"4.0"`
+ DisabledFeatureKey []string `xml:"disabledFeatureKey,omitempty" json:"disabledFeatureKey,omitempty"`
// Enabled features
- EnabledFeatureKey []string `xml:"enabledFeatureKey,omitempty" json:"enabledFeatureKey,omitempty" vim:"4.0"`
+ EnabledFeatureKey []string `xml:"enabledFeatureKey,omitempty" json:"enabledFeatureKey,omitempty"`
}
func init() {
@@ -38893,18 +39123,18 @@ type HostListSummaryGatewaySummary struct {
// This is an opaque string that depends on how the gateway server is
// registered with the vCenter Component Manager Service. There might be
// several gateway servers for the same type.
- GatewayType string `xml:"gatewayType" json:"gatewayType" vim:"6.0"`
+ GatewayType string `xml:"gatewayType" json:"gatewayType"`
// Unique ID of the gateway server used for communication with the host.
//
// This ID must be a unique identifier for the gateway server as
// registered in the vCenter Component Manager Service. There must be
// only one gateway server with the same ID.
- GatewayId string `xml:"gatewayId" json:"gatewayId" vim:"6.0"`
+ GatewayId string `xml:"gatewayId" json:"gatewayId"`
}
func init() {
- minAPIVersionForType["HostListSummaryGatewaySummary"] = "6.0"
t["HostListSummaryGatewaySummary"] = reflect.TypeOf((*HostListSummaryGatewaySummary)(nil)).Elem()
+ minAPIVersionForType["HostListSummaryGatewaySummary"] = "6.0"
}
// Basic host statistics.
@@ -38977,8 +39207,8 @@ type HostLocalAuthenticationInfo struct {
}
func init() {
- minAPIVersionForType["HostLocalAuthenticationInfo"] = "4.1"
t["HostLocalAuthenticationInfo"] = reflect.TypeOf((*HostLocalAuthenticationInfo)(nil)).Elem()
+ minAPIVersionForType["HostLocalAuthenticationInfo"] = "4.1"
}
// Local file system volume.
@@ -39013,12 +39243,12 @@ type HostLocalPortCreatedEvent struct {
DvsEvent
// The configuration of the new host local port.
- HostLocalPort DVSHostLocalPortInfo `xml:"hostLocalPort" json:"hostLocalPort" vim:"5.1"`
+ HostLocalPort DVSHostLocalPortInfo `xml:"hostLocalPort" json:"hostLocalPort"`
}
func init() {
- minAPIVersionForType["HostLocalPortCreatedEvent"] = "5.1"
t["HostLocalPortCreatedEvent"] = reflect.TypeOf((*HostLocalPortCreatedEvent)(nil)).Elem()
+ minAPIVersionForType["HostLocalPortCreatedEvent"] = "5.1"
}
// File layout spec of a virtual disk.
@@ -39032,20 +39262,20 @@ type HostLowLevelProvisioningManagerDiskLayoutSpec struct {
//
// vim.vm.device.VirtualSCSIController or
// vim.vm.device.VirtualIDEController.
- ControllerType string `xml:"controllerType" json:"controllerType" vim:"5.0"`
+ ControllerType string `xml:"controllerType" json:"controllerType"`
// Bus number associated with the controller for this disk.
- BusNumber int32 `xml:"busNumber" json:"busNumber" vim:"5.0"`
+ BusNumber int32 `xml:"busNumber" json:"busNumber"`
// Unit number of this disk on its controller.
- UnitNumber *int32 `xml:"unitNumber" json:"unitNumber,omitempty" vim:"5.0"`
+ UnitNumber *int32 `xml:"unitNumber" json:"unitNumber,omitempty"`
// Source disk filename in datastore path.
- SrcFilename string `xml:"srcFilename" json:"srcFilename" vim:"5.0"`
+ SrcFilename string `xml:"srcFilename" json:"srcFilename"`
// Destination filename in datastore path.
- DstFilename string `xml:"dstFilename" json:"dstFilename" vim:"5.0"`
+ DstFilename string `xml:"dstFilename" json:"dstFilename"`
}
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerDiskLayoutSpec"] = "5.0"
t["HostLowLevelProvisioningManagerDiskLayoutSpec"] = reflect.TypeOf((*HostLowLevelProvisioningManagerDiskLayoutSpec)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerDiskLayoutSpec"] = "5.0"
}
type HostLowLevelProvisioningManagerFileDeleteResult struct {
@@ -39085,8 +39315,8 @@ type HostLowLevelProvisioningManagerFileReserveResult struct {
}
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerFileReserveResult"] = "6.0"
t["HostLowLevelProvisioningManagerFileReserveResult"] = reflect.TypeOf((*HostLowLevelProvisioningManagerFileReserveResult)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerFileReserveResult"] = "6.0"
}
type HostLowLevelProvisioningManagerFileReserveSpec struct {
@@ -39108,19 +39338,19 @@ type HostLowLevelProvisioningManagerSnapshotLayoutSpec struct {
DynamicData
// The unique identifier of the snapshot
- Id int32 `xml:"id" json:"id" vim:"5.0"`
+ Id int32 `xml:"id" json:"id"`
// Name of the source snapshot file in datastore path.
- SrcFilename string `xml:"srcFilename" json:"srcFilename" vim:"5.0"`
+ SrcFilename string `xml:"srcFilename" json:"srcFilename"`
// Name of the destination snapshot file in datastore path.
- DstFilename string `xml:"dstFilename" json:"dstFilename" vim:"5.0"`
+ DstFilename string `xml:"dstFilename" json:"dstFilename"`
// Layout of each virtual disk of the virtual machine when the
// snapshot was taken.
- Disk []HostLowLevelProvisioningManagerDiskLayoutSpec `xml:"disk,omitempty" json:"disk,omitempty" vim:"5.0"`
+ Disk []HostLowLevelProvisioningManagerDiskLayoutSpec `xml:"disk,omitempty" json:"disk,omitempty"`
}
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerSnapshotLayoutSpec"] = "5.0"
t["HostLowLevelProvisioningManagerSnapshotLayoutSpec"] = reflect.TypeOf((*HostLowLevelProvisioningManagerSnapshotLayoutSpec)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerSnapshotLayoutSpec"] = "5.0"
}
// The status of a virtual machine migration operation.
@@ -39129,17 +39359,17 @@ type HostLowLevelProvisioningManagerVmMigrationStatus struct {
// Unique identifier for this operation, currently it's unique
// within one virtual center instance.
- MigrationId int64 `xml:"migrationId" json:"migrationId" vim:"5.1"`
+ MigrationId int64 `xml:"migrationId" json:"migrationId"`
// Manner in which the migration process is performed.
//
// The set of
// possible values is described in
// `HostVMotionManagerVMotionType_enum`.
- Type string `xml:"type" json:"type" vim:"5.1"`
+ Type string `xml:"type" json:"type"`
// Whether the virtual machine is the source of the migration.
//
// For disk only migration, the value is always true.
- Source bool `xml:"source" json:"source" vim:"5.1"`
+ Source bool `xml:"source" json:"source"`
// Whether the operation is considered successful.
//
// A migration
@@ -39156,12 +39386,12 @@ type HostLowLevelProvisioningManagerVmMigrationStatus struct {
// the same consideredSuccessful property is that in the former case
// the server is able to complete the clean up process thus leaves
// nothing for the recovery process to clean up.
- ConsideredSuccessful bool `xml:"consideredSuccessful" json:"consideredSuccessful" vim:"5.1"`
+ ConsideredSuccessful bool `xml:"consideredSuccessful" json:"consideredSuccessful"`
}
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerVmMigrationStatus"] = "5.1"
t["HostLowLevelProvisioningManagerVmMigrationStatus"] = reflect.TypeOf((*HostLowLevelProvisioningManagerVmMigrationStatus)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerVmMigrationStatus"] = "5.1"
}
// Virtual machine information that can be used for recovery, for
@@ -39183,27 +39413,27 @@ type HostLowLevelProvisioningManagerVmRecoveryInfo struct {
//
// Same as
// `VirtualMachineConfigInfo.version`.
- Version string `xml:"version" json:"version" vim:"5.1"`
+ Version string `xml:"version" json:"version"`
// 128-bit SMBIOS UUID of this virtual machine.
//
// Same as
// `VirtualMachineConfigInfo.uuid`.
- BiosUUID string `xml:"biosUUID" json:"biosUUID" vim:"5.1"`
+ BiosUUID string `xml:"biosUUID" json:"biosUUID"`
// VirtualCenter-specific 128-bit UUID of this virtual machine.
//
// Same
// as `VirtualMachineConfigInfo.instanceUuid`.
- InstanceUUID string `xml:"instanceUUID" json:"instanceUUID" vim:"5.1"`
+ InstanceUUID string `xml:"instanceUUID" json:"instanceUUID"`
// Fault Tolerance settings for this virtual machine.
//
// Same as
// `VirtualMachineConfigInfo.ftInfo`. Unset if non FT.
- FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty" vim:"5.1"`
+ FtInfo BaseFaultToleranceConfigInfo `xml:"ftInfo,omitempty,typeattr" json:"ftInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HostLowLevelProvisioningManagerVmRecoveryInfo"] = "5.1"
t["HostLowLevelProvisioningManagerVmRecoveryInfo"] = reflect.TypeOf((*HostLowLevelProvisioningManagerVmRecoveryInfo)(nil)).Elem()
+ minAPIVersionForType["HostLowLevelProvisioningManagerVmRecoveryInfo"] = "5.1"
}
// The `HostMaintenanceSpec` data object may be used to specify
@@ -39218,7 +39448,7 @@ type HostMaintenanceSpec struct {
DynamicData
// The `VsanHostDecommissionMode` for this MaintenanceSpec.
- VsanMode *VsanHostDecommissionMode `xml:"vsanMode,omitempty" json:"vsanMode,omitempty" vim:"5.5"`
+ VsanMode *VsanHostDecommissionMode `xml:"vsanMode,omitempty" json:"vsanMode,omitempty"`
// Maintenance mode reason code.
//
// See `HostMaintenanceSpecPurpose_enum` for valid values.
@@ -39226,8 +39456,8 @@ type HostMaintenanceSpec struct {
}
func init() {
- minAPIVersionForType["HostMaintenanceSpec"] = "5.5"
t["HostMaintenanceSpec"] = reflect.TypeOf((*HostMaintenanceSpec)(nil)).Elem()
+ minAPIVersionForType["HostMaintenanceSpec"] = "5.5"
}
// This class defines healthcheck result of the vSphere Distributed Switch.
@@ -39235,12 +39465,12 @@ type HostMemberHealthCheckResult struct {
DynamicData
// The summary of health check result.
- Summary string `xml:"summary,omitempty" json:"summary,omitempty" vim:"5.1"`
+ Summary string `xml:"summary,omitempty" json:"summary,omitempty"`
}
func init() {
- minAPIVersionForType["HostMemberHealthCheckResult"] = "5.1"
t["HostMemberHealthCheckResult"] = reflect.TypeOf((*HostMemberHealthCheckResult)(nil)).Elem()
+ minAPIVersionForType["HostMemberHealthCheckResult"] = "5.1"
}
// The `HostMemberRuntimeInfo` data object
@@ -39252,30 +39482,30 @@ type HostMemberRuntimeInfo struct {
// The host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"5.1"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Host proxy switch status.
//
// See
// `HostComponentState` for valid values.
// This property replaces the deprecated
// `DistributedVirtualSwitchHostMember*.*DistributedVirtualSwitchHostMember.status`.
- Status string `xml:"status,omitempty" json:"status,omitempty" vim:"5.1"`
+ Status string `xml:"status,omitempty" json:"status,omitempty"`
// Additional information regarding the current membership status of the host.
//
// This property replaces the deprecated
// `DistributedVirtualSwitchHostMember*.*DistributedVirtualSwitchHostMember.statusDetail`.
- StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty" vim:"5.1"`
+ StatusDetail string `xml:"statusDetail,omitempty" json:"statusDetail,omitempty"`
// NSX-T component status.
NsxtStatus string `xml:"nsxtStatus,omitempty" json:"nsxtStatus,omitempty" vim:"7.0"`
// Additional information regarding the NSX-T component status.
NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty" vim:"7.0"`
// Health check result for the host that joined the distributed virtual switch.
- HealthCheckResult []BaseHostMemberHealthCheckResult `xml:"healthCheckResult,omitempty,typeattr" json:"healthCheckResult,omitempty" vim:"5.1"`
+ HealthCheckResult []BaseHostMemberHealthCheckResult `xml:"healthCheckResult,omitempty,typeattr" json:"healthCheckResult,omitempty"`
}
func init() {
- minAPIVersionForType["HostMemberRuntimeInfo"] = "5.1"
t["HostMemberRuntimeInfo"] = reflect.TypeOf((*HostMemberRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostMemberRuntimeInfo"] = "5.1"
}
// This class defines healthcheck result of a specified Uplink port
@@ -39284,12 +39514,12 @@ type HostMemberUplinkHealthCheckResult struct {
HostMemberHealthCheckResult
// The uplink port key.
- UplinkPortKey string `xml:"uplinkPortKey" json:"uplinkPortKey" vim:"5.1"`
+ UplinkPortKey string `xml:"uplinkPortKey" json:"uplinkPortKey"`
}
func init() {
- minAPIVersionForType["HostMemberUplinkHealthCheckResult"] = "5.1"
t["HostMemberUplinkHealthCheckResult"] = reflect.TypeOf((*HostMemberUplinkHealthCheckResult)(nil)).Elem()
+ minAPIVersionForType["HostMemberUplinkHealthCheckResult"] = "5.1"
}
// The `HostMemoryProfile` data object represents
@@ -39305,8 +39535,8 @@ type HostMemoryProfile struct {
}
func init() {
- minAPIVersionForType["HostMemoryProfile"] = "4.0"
t["HostMemoryProfile"] = reflect.TypeOf((*HostMemoryProfile)(nil)).Elem()
+ minAPIVersionForType["HostMemoryProfile"] = "4.0"
}
// DataObject used for configuring the memory setting
@@ -39314,12 +39544,12 @@ type HostMemorySpec struct {
DynamicData
// Service Console reservation in bytes.
- ServiceConsoleReservation int64 `xml:"serviceConsoleReservation,omitempty" json:"serviceConsoleReservation,omitempty" vim:"4.0"`
+ ServiceConsoleReservation int64 `xml:"serviceConsoleReservation,omitempty" json:"serviceConsoleReservation,omitempty"`
}
func init() {
- minAPIVersionForType["HostMemorySpec"] = "4.0"
t["HostMemorySpec"] = reflect.TypeOf((*HostMemorySpec)(nil)).Elem()
+ minAPIVersionForType["HostMemorySpec"] = "4.0"
}
// Information about a memory tier on this host.
@@ -39327,23 +39557,23 @@ type HostMemoryTierInfo struct {
DynamicData
// Descriptive name for the memory tier.
- Name string `xml:"name" json:"name" vim:"7.0.3.0"`
+ Name string `xml:"name" json:"name"`
// Type of the memory tier.
//
// See `HostMemoryTierType_enum` for supported values.
- Type string `xml:"type" json:"type" vim:"7.0.3.0"`
+ Type string `xml:"type" json:"type"`
// Flags pertaining to the memory tier.
//
// See `HostMemoryTierFlags_enum` for supported
// values.
- Flags []string `xml:"flags,omitempty" json:"flags,omitempty" vim:"7.0.3.0"`
+ Flags []string `xml:"flags,omitempty" json:"flags,omitempty"`
// Size of the memory tier in bytes.
- Size int64 `xml:"size" json:"size" vim:"7.0.3.0"`
+ Size int64 `xml:"size" json:"size"`
}
func init() {
- minAPIVersionForType["HostMemoryTierInfo"] = "7.0.3.0"
t["HostMemoryTierInfo"] = reflect.TypeOf((*HostMemoryTierInfo)(nil)).Elem()
+ minAPIVersionForType["HostMemoryTierInfo"] = "7.0.3.0"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -39357,8 +39587,8 @@ type HostMissingNetworksEvent struct {
}
func init() {
- minAPIVersionForType["HostMissingNetworksEvent"] = "4.0"
t["HostMissingNetworksEvent"] = reflect.TypeOf((*HostMissingNetworksEvent)(nil)).Elem()
+ minAPIVersionForType["HostMissingNetworksEvent"] = "4.0"
}
// This event records when host monitoring state has changed.
@@ -39367,15 +39597,15 @@ type HostMonitoringStateChangedEvent struct {
// The service state in
// `ClusterDasConfigInfoServiceState_enum`
- State string `xml:"state" json:"state" vim:"4.0"`
+ State string `xml:"state" json:"state"`
// The previous service state in
// `ClusterDasConfigInfoServiceState_enum`
PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["HostMonitoringStateChangedEvent"] = "4.0"
t["HostMonitoringStateChangedEvent"] = reflect.TypeOf((*HostMonitoringStateChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HostMonitoringStateChangedEvent"] = "4.0"
}
// The `HostMountInfo` data object provides information related
@@ -39423,13 +39653,13 @@ type HostMountInfo struct {
//
// Populated by the vmk control layer if the NAS
// volume is mounted successfully with a vmknic binding.
- VmknicName string `xml:"vmknicName,omitempty" json:"vmknicName,omitempty"`
+ VmknicName string `xml:"vmknicName,omitempty" json:"vmknicName,omitempty" vim:"8.0.1.0"`
// Indicates whether vmknic is active or inactive.
//
// This field will be populated by vmk control layer during
// NAS volume mount, and will be set to true if the
// vmknic binding is active.
- VmknicActive *bool `xml:"vmknicActive" json:"vmknicActive,omitempty"`
+ VmknicActive *bool `xml:"vmknicActive" json:"vmknicActive,omitempty" vim:"8.0.1.0"`
// The optional property which gives the reason for mount operation
// failure of NFS datastore.
//
@@ -39439,10 +39669,10 @@ type HostMountInfo struct {
// `HostMountInfoMountFailedReason_enum`.
// If mount operation on NFS volume succeeds in the retry, then
// the property `HostMountInfo.mountFailedReason` will be unset.
- MountFailedReason string `xml:"mountFailedReason,omitempty" json:"mountFailedReason,omitempty"`
+ MountFailedReason string `xml:"mountFailedReason,omitempty" json:"mountFailedReason,omitempty" vim:"8.0.0.1"`
// Maintained for each Host, it indicates the total number of TCP
// connections for the NAS datastore
- NumTcpConnections int32 `xml:"numTcpConnections,omitempty" json:"numTcpConnections,omitempty"`
+ NumTcpConnections int32 `xml:"numTcpConnections,omitempty" json:"numTcpConnections,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -39504,35 +39734,35 @@ type HostMultipathInfoHppLogicalUnitPolicy struct {
//
// Allowed values 1 to (100\`1024\`1024)
// Default Value 10\`1024\`1024
- Bytes int64 `xml:"bytes,omitempty" json:"bytes,omitempty" vim:"7.0"`
+ Bytes int64 `xml:"bytes,omitempty" json:"bytes,omitempty"`
// IOPS count on the paths will be used as criteria to switch path
// for the device.
//
// Allowed values 1 to 10000
// Default Value 1000
- Iops int64 `xml:"iops,omitempty" json:"iops,omitempty" vim:"7.0"`
+ Iops int64 `xml:"iops,omitempty" json:"iops,omitempty"`
// The preferred path for the given device.
//
// If no prefered path is specified by the user, algorithem at ESX
// side will choose the random possible path.
- Path string `xml:"path,omitempty" json:"path,omitempty" vim:"7.0"`
+ Path string `xml:"path,omitempty" json:"path,omitempty"`
// This value can control at what interval (in ms) the latency of
// paths should be evaluated.
//
// Allowed values 10000 to (300 \* 1000) in ms
// Default Value 30 \* 1000
- LatencyEvalTime int64 `xml:"latencyEvalTime,omitempty" json:"latencyEvalTime,omitempty" vim:"7.0"`
+ LatencyEvalTime int64 `xml:"latencyEvalTime,omitempty" json:"latencyEvalTime,omitempty"`
// This value will control how many sample IOs should be issued on
// each path to calculate latency of the path.
//
// Allowed values 16 to 160
// Default Value 16
- SamplingIosPerPath int64 `xml:"samplingIosPerPath,omitempty" json:"samplingIosPerPath,omitempty" vim:"7.0"`
+ SamplingIosPerPath int64 `xml:"samplingIosPerPath,omitempty" json:"samplingIosPerPath,omitempty"`
}
func init() {
- minAPIVersionForType["HostMultipathInfoHppLogicalUnitPolicy"] = "7.0"
t["HostMultipathInfoHppLogicalUnitPolicy"] = reflect.TypeOf((*HostMultipathInfoHppLogicalUnitPolicy)(nil)).Elem()
+ minAPIVersionForType["HostMultipathInfoHppLogicalUnitPolicy"] = "7.0"
}
// The `HostMultipathInfoLogicalUnit` data object
@@ -39609,12 +39839,12 @@ type HostMultipathInfoLogicalUnitStorageArrayTypePolicy struct {
DynamicData
// String indicating the storage array type policy.
- Policy string `xml:"policy" json:"policy" vim:"4.0"`
+ Policy string `xml:"policy" json:"policy"`
}
func init() {
- minAPIVersionForType["HostMultipathInfoLogicalUnitStorageArrayTypePolicy"] = "4.0"
t["HostMultipathInfoLogicalUnitStorageArrayTypePolicy"] = reflect.TypeOf((*HostMultipathInfoLogicalUnitStorageArrayTypePolicy)(nil)).Elem()
+ minAPIVersionForType["HostMultipathInfoLogicalUnitStorageArrayTypePolicy"] = "4.0"
}
// The `HostMultipathInfoPath` data object
@@ -39703,12 +39933,12 @@ type HostMultipathStateInfo struct {
DynamicData
// List of paths on the system and their path states.
- Path []HostMultipathStateInfoPath `xml:"path,omitempty" json:"path,omitempty" vim:"4.0"`
+ Path []HostMultipathStateInfoPath `xml:"path,omitempty" json:"path,omitempty"`
}
func init() {
- minAPIVersionForType["HostMultipathStateInfo"] = "4.0"
t["HostMultipathStateInfo"] = reflect.TypeOf((*HostMultipathStateInfo)(nil)).Elem()
+ minAPIVersionForType["HostMultipathStateInfo"] = "4.0"
}
// Data object indicating state of storage path for a named path.
@@ -39724,17 +39954,17 @@ type HostMultipathStateInfoPath struct {
// corresponding Path object in other contexts.
//
// See also `HostPlugStoreTopologyPath.name`.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The state of the path.
//
// Must be one of the values of
// `MultipathState_enum`.
- PathState string `xml:"pathState" json:"pathState" vim:"4.0"`
+ PathState string `xml:"pathState" json:"pathState"`
}
func init() {
- minAPIVersionForType["HostMultipathStateInfoPath"] = "4.0"
t["HostMultipathStateInfoPath"] = reflect.TypeOf((*HostMultipathStateInfoPath)(nil)).Elem()
+ minAPIVersionForType["HostMultipathStateInfoPath"] = "4.0"
}
type HostNasVolume struct {
@@ -39790,14 +40020,14 @@ type HostNasVolumeConfig struct {
// specification.
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty" vim:"4.0"`
+ ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty"`
// The specification volume.
- Spec *HostNasVolumeSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"4.0"`
+ Spec *HostNasVolumeSpec `xml:"spec,omitempty" json:"spec,omitempty"`
}
func init() {
- minAPIVersionForType["HostNasVolumeConfig"] = "4.0"
t["HostNasVolumeConfig"] = reflect.TypeOf((*HostNasVolumeConfig)(nil)).Elem()
+ minAPIVersionForType["HostNasVolumeConfig"] = "4.0"
}
// Specification for creating NAS volume.
@@ -39888,18 +40118,18 @@ type HostNasVolumeSpec struct {
//
// This field will be updated by a client with vmknic that will be used
// for NAS volume mount operation for vmknic binding for NFSv3
- VmknicToBind string `xml:"vmknicToBind,omitempty" json:"vmknicToBind,omitempty"`
+ VmknicToBind string `xml:"vmknicToBind,omitempty" json:"vmknicToBind,omitempty" vim:"8.0.1.0"`
// Indicates whether a client wants to bind this mount to vmknic.
//
// This field will be set to true by a client if vmknic should bind
// during NAS volume mount operation for NFSv3
// else it will be set to false
- VmknicBound *bool `xml:"vmknicBound" json:"vmknicBound,omitempty"`
+ VmknicBound *bool `xml:"vmknicBound" json:"vmknicBound,omitempty" vim:"8.0.1.0"`
// Indicates the number of TCP connections for the particular
// NFSv3 Server during NAS volume mount operation.
//
// If unset or set to 0, it defaults to one connection
- Connections int32 `xml:"connections,omitempty" json:"connections,omitempty"`
+ Connections int32 `xml:"connections,omitempty" json:"connections,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -39911,12 +40141,12 @@ type HostNasVolumeUserInfo struct {
DynamicData
// User name for authentication.
- User string `xml:"user" json:"user" vim:"6.0"`
+ User string `xml:"user" json:"user"`
}
func init() {
- minAPIVersionForType["HostNasVolumeUserInfo"] = "6.0"
t["HostNasVolumeUserInfo"] = reflect.TypeOf((*HostNasVolumeUserInfo)(nil)).Elem()
+ minAPIVersionForType["HostNasVolumeUserInfo"] = "6.0"
}
// A network address translation (NAT) service instance provides
@@ -39926,14 +40156,14 @@ type HostNatService struct {
DynamicData
// The instance ID of the NAT service.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// The configurable properties for the NatService object.
- Spec HostNatServiceSpec `xml:"spec" json:"spec" vim:"2.5"`
+ Spec HostNatServiceSpec `xml:"spec" json:"spec"`
}
func init() {
- minAPIVersionForType["HostNatService"] = "2.5"
t["HostNatService"] = reflect.TypeOf((*HostNatService)(nil)).Elem()
+ minAPIVersionForType["HostNatService"] = "2.5"
}
// This data object type describes the network address
@@ -39947,16 +40177,16 @@ type HostNatServiceConfig struct {
// specification.
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty" vim:"2.5"`
+ ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty"`
// The instance ID of the NAT service.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// The specification of the NAT service.
- Spec HostNatServiceSpec `xml:"spec" json:"spec" vim:"2.5"`
+ Spec HostNatServiceSpec `xml:"spec" json:"spec"`
}
func init() {
- minAPIVersionForType["HostNatServiceConfig"] = "2.5"
t["HostNatServiceConfig"] = reflect.TypeOf((*HostNatServiceConfig)(nil)).Elem()
+ minAPIVersionForType["HostNatServiceConfig"] = "2.5"
}
// This data object type specifies the information for the
@@ -39966,30 +40196,30 @@ type HostNatServiceNameServiceSpec struct {
// The flag to indicate whether or not the DNS server should
// be automatically detected or specified explicitly.
- DnsAutoDetect bool `xml:"dnsAutoDetect" json:"dnsAutoDetect" vim:"2.5"`
+ DnsAutoDetect bool `xml:"dnsAutoDetect" json:"dnsAutoDetect"`
// The policy to use when multiple DNS addresses are available
// on the host.
- DnsPolicy string `xml:"dnsPolicy" json:"dnsPolicy" vim:"2.5"`
+ DnsPolicy string `xml:"dnsPolicy" json:"dnsPolicy"`
// The number of retries before giving up on a DNS request
// from a virtual network.
- DnsRetries int32 `xml:"dnsRetries" json:"dnsRetries" vim:"2.5"`
+ DnsRetries int32 `xml:"dnsRetries" json:"dnsRetries"`
// The time (in seconds) before retrying a DNS request to an external
// network.
- DnsTimeout int32 `xml:"dnsTimeout" json:"dnsTimeout" vim:"2.5"`
+ DnsTimeout int32 `xml:"dnsTimeout" json:"dnsTimeout"`
// The list of DNS servers.
- DnsNameServer []string `xml:"dnsNameServer,omitempty" json:"dnsNameServer,omitempty" vim:"2.5"`
+ DnsNameServer []string `xml:"dnsNameServer,omitempty" json:"dnsNameServer,omitempty"`
// The time (in seconds) allotted for queries to the NetBIOS
// Datagram Server (NBDS).
- NbdsTimeout int32 `xml:"nbdsTimeout" json:"nbdsTimeout" vim:"2.5"`
+ NbdsTimeout int32 `xml:"nbdsTimeout" json:"nbdsTimeout"`
// Number of retries for each query to the NBNS.
- NbnsRetries int32 `xml:"nbnsRetries" json:"nbnsRetries" vim:"2.5"`
+ NbnsRetries int32 `xml:"nbnsRetries" json:"nbnsRetries"`
// The time (in seconds) allotted for queries to the NBNS.
- NbnsTimeout int32 `xml:"nbnsTimeout" json:"nbnsTimeout" vim:"2.5"`
+ NbnsTimeout int32 `xml:"nbnsTimeout" json:"nbnsTimeout"`
}
func init() {
- minAPIVersionForType["HostNatServiceNameServiceSpec"] = "2.5"
t["HostNatServiceNameServiceSpec"] = reflect.TypeOf((*HostNatServiceNameServiceSpec)(nil)).Elem()
+ minAPIVersionForType["HostNatServiceNameServiceSpec"] = "2.5"
}
// This data object type describes the
@@ -39998,32 +40228,32 @@ type HostNatServicePortForwardSpec struct {
DynamicData
// Either "tcp" or "udp".
- Type string `xml:"type" json:"type" vim:"2.5"`
+ Type string `xml:"type" json:"type"`
// The user-defined name to identify the service being forwarded.
//
// No white spaces are allowed in the string.
- Name string `xml:"name" json:"name" vim:"2.5"`
+ Name string `xml:"name" json:"name"`
// The port number on the host.
//
// Network traffic sent to the host on this
// TCP/UDP port is forwarded to the guest at the specified IP address
// and port.
- HostPort int32 `xml:"hostPort" json:"hostPort" vim:"2.5"`
+ HostPort int32 `xml:"hostPort" json:"hostPort"`
// The port number for the guest.
//
// Network traffic from the host is
// forwarded to this port.
- GuestPort int32 `xml:"guestPort" json:"guestPort" vim:"2.5"`
+ GuestPort int32 `xml:"guestPort" json:"guestPort"`
// The IP address for the guest.
//
// Network traffic from the host is
// forwarded to this IP address.
- GuestIpAddress string `xml:"guestIpAddress" json:"guestIpAddress" vim:"2.5"`
+ GuestIpAddress string `xml:"guestIpAddress" json:"guestIpAddress"`
}
func init() {
- minAPIVersionForType["HostNatServicePortForwardSpec"] = "2.5"
t["HostNatServicePortForwardSpec"] = reflect.TypeOf((*HostNatServicePortForwardSpec)(nil)).Elem()
+ minAPIVersionForType["HostNatServicePortForwardSpec"] = "2.5"
}
// This data object type provides the details about the
@@ -40032,37 +40262,37 @@ type HostNatServiceSpec struct {
DynamicData
// The name of the virtual switch to which nat service is connected.
- VirtualSwitch string `xml:"virtualSwitch" json:"virtualSwitch" vim:"2.5"`
+ VirtualSwitch string `xml:"virtualSwitch" json:"virtualSwitch"`
// The flag to indicate whether or not non-passive mode FTP
// connections should be allowed.
- ActiveFtp bool `xml:"activeFtp" json:"activeFtp" vim:"2.5"`
+ ActiveFtp bool `xml:"activeFtp" json:"activeFtp"`
// The flag to indicate whether or not the NAT
// Service allows media access control traffic from any
// Organizational Unique Identifier (OUI)?
// By default, it does not allow traffic that originated
// from the host to avoid packet loops.
- AllowAnyOui bool `xml:"allowAnyOui" json:"allowAnyOui" vim:"2.5"`
+ AllowAnyOui bool `xml:"allowAnyOui" json:"allowAnyOui"`
// The flag to indicate whether or not the NAT Service
// should open a configuration port.
- ConfigPort bool `xml:"configPort" json:"configPort" vim:"2.5"`
+ ConfigPort bool `xml:"configPort" json:"configPort"`
// The IP address that the NAT Service should use on
// the virtual network.
- IpGatewayAddress string `xml:"ipGatewayAddress" json:"ipGatewayAddress" vim:"2.5"`
+ IpGatewayAddress string `xml:"ipGatewayAddress" json:"ipGatewayAddress"`
// The time allotted for UDP packets.
- UdpTimeout int32 `xml:"udpTimeout" json:"udpTimeout" vim:"2.5"`
+ UdpTimeout int32 `xml:"udpTimeout" json:"udpTimeout"`
// The port forwarding specifications to allow network
// connections to be initiated from outside the firewall.
- PortForward []HostNatServicePortForwardSpec `xml:"portForward,omitempty" json:"portForward,omitempty" vim:"2.5"`
+ PortForward []HostNatServicePortForwardSpec `xml:"portForward,omitempty" json:"portForward,omitempty"`
// The configuration of naming services.
//
// These parameters are
// specific to Windows.
- NameService *HostNatServiceNameServiceSpec `xml:"nameService,omitempty" json:"nameService,omitempty" vim:"2.5"`
+ NameService *HostNatServiceNameServiceSpec `xml:"nameService,omitempty" json:"nameService,omitempty"`
}
func init() {
- minAPIVersionForType["HostNatServiceSpec"] = "2.5"
t["HostNatServiceSpec"] = reflect.TypeOf((*HostNatServiceSpec)(nil)).Elem()
+ minAPIVersionForType["HostNatServiceSpec"] = "2.5"
}
// Capability vector indicating the available product features.
@@ -40185,28 +40415,28 @@ type HostNetStackInstance struct {
// Key of instance
// For instance which created by host, its value should be `HostNetStackInstanceSystemStackKey_enum`.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The display name
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.5"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// DNS configuration
- DnsConfig BaseHostDnsConfig `xml:"dnsConfig,omitempty,typeattr" json:"dnsConfig,omitempty" vim:"5.5"`
+ DnsConfig BaseHostDnsConfig `xml:"dnsConfig,omitempty,typeattr" json:"dnsConfig,omitempty"`
// IP Route configuration
- IpRouteConfig BaseHostIpRouteConfig `xml:"ipRouteConfig,omitempty,typeattr" json:"ipRouteConfig,omitempty" vim:"5.5"`
+ IpRouteConfig BaseHostIpRouteConfig `xml:"ipRouteConfig,omitempty,typeattr" json:"ipRouteConfig,omitempty"`
// The maximum number of socket connection that are requested on this instance
- RequestedMaxNumberOfConnections int32 `xml:"requestedMaxNumberOfConnections,omitempty" json:"requestedMaxNumberOfConnections,omitempty" vim:"5.5"`
+ RequestedMaxNumberOfConnections int32 `xml:"requestedMaxNumberOfConnections,omitempty" json:"requestedMaxNumberOfConnections,omitempty"`
// The TCP congest control algorithm used by this instance,
// See `HostNetStackInstanceCongestionControlAlgorithmType_enum` for valid values.
- CongestionControlAlgorithm string `xml:"congestionControlAlgorithm,omitempty" json:"congestionControlAlgorithm,omitempty" vim:"5.5"`
+ CongestionControlAlgorithm string `xml:"congestionControlAlgorithm,omitempty" json:"congestionControlAlgorithm,omitempty"`
// Enable or disable IPv6 protocol on this stack instance.
//
// This property is not supported currently.
- IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty" vim:"5.5"`
+ IpV6Enabled *bool `xml:"ipV6Enabled" json:"ipV6Enabled,omitempty"`
RouteTableConfig *HostIpRouteTableConfig `xml:"routeTableConfig,omitempty" json:"routeTableConfig,omitempty"`
}
func init() {
- minAPIVersionForType["HostNetStackInstance"] = "5.5"
t["HostNetStackInstance"] = reflect.TypeOf((*HostNetStackInstance)(nil)).Elem()
+ minAPIVersionForType["HostNetStackInstance"] = "5.5"
}
// This data object type describes networking host configuration data objects.
@@ -40283,17 +40513,17 @@ type HostNetworkConfigNetStackSpec struct {
DynamicData
// Network stack instance
- NetStackInstance HostNetStackInstance `xml:"netStackInstance" json:"netStackInstance" vim:"5.5"`
+ NetStackInstance HostNetStackInstance `xml:"netStackInstance" json:"netStackInstance"`
// Operation type, see
// `ConfigSpecOperation_enum` for valid values.
//
// Only edit operation is supported currently.
- Operation string `xml:"operation,omitempty" json:"operation,omitempty" vim:"5.5"`
+ Operation string `xml:"operation,omitempty" json:"operation,omitempty"`
}
func init() {
- minAPIVersionForType["HostNetworkConfigNetStackSpec"] = "5.5"
t["HostNetworkConfigNetStackSpec"] = reflect.TypeOf((*HostNetworkConfigNetStackSpec)(nil)).Elem()
+ minAPIVersionForType["HostNetworkConfigNetStackSpec"] = "5.5"
}
// The result returned by updateNetworkConfig call.
@@ -40459,12 +40689,12 @@ type HostNetworkResourceRuntime struct {
// The network resource related information on each
// physical NIC
- PnicResourceInfo []HostPnicNetworkResourceInfo `xml:"pnicResourceInfo" json:"pnicResourceInfo" vim:"6.0"`
+ PnicResourceInfo []HostPnicNetworkResourceInfo `xml:"pnicResourceInfo" json:"pnicResourceInfo"`
}
func init() {
- minAPIVersionForType["HostNetworkResourceRuntime"] = "6.0"
t["HostNetworkResourceRuntime"] = reflect.TypeOf((*HostNetworkResourceRuntime)(nil)).Elem()
+ minAPIVersionForType["HostNetworkResourceRuntime"] = "6.0"
}
// This data object type describes security policy governing ports.
@@ -40524,12 +40754,12 @@ type HostNfcConnectionInfo struct {
HostDataTransportConnectionInfo
// NFC streaming memory used by the connection in bytes.
- StreamingMemoryConsumed int64 `xml:"streamingMemoryConsumed,omitempty" json:"streamingMemoryConsumed,omitempty" vim:"7.0.3.0"`
+ StreamingMemoryConsumed int64 `xml:"streamingMemoryConsumed,omitempty" json:"streamingMemoryConsumed,omitempty"`
}
func init() {
- minAPIVersionForType["HostNfcConnectionInfo"] = "7.0.3.0"
t["HostNfcConnectionInfo"] = reflect.TypeOf((*HostNfcConnectionInfo)(nil)).Elem()
+ minAPIVersionForType["HostNfcConnectionInfo"] = "7.0.3.0"
}
// This data object type describes the network adapter failover
@@ -40697,12 +40927,12 @@ type HostNoAvailableNetworksEvent struct {
HostDasEvent
// The comma-separated list of used networks
- Ips string `xml:"ips,omitempty" json:"ips,omitempty" vim:"4.0"`
+ Ips string `xml:"ips,omitempty" json:"ips,omitempty"`
}
func init() {
- minAPIVersionForType["HostNoAvailableNetworksEvent"] = "4.0"
t["HostNoAvailableNetworksEvent"] = reflect.TypeOf((*HostNoAvailableNetworksEvent)(nil)).Elem()
+ minAPIVersionForType["HostNoAvailableNetworksEvent"] = "4.0"
}
// This event records the fact that a host does not have any HA-enabled port
@@ -40712,8 +40942,8 @@ type HostNoHAEnabledPortGroupsEvent struct {
}
func init() {
- minAPIVersionForType["HostNoHAEnabledPortGroupsEvent"] = "4.0"
t["HostNoHAEnabledPortGroupsEvent"] = reflect.TypeOf((*HostNoHAEnabledPortGroupsEvent)(nil)).Elem()
+ minAPIVersionForType["HostNoHAEnabledPortGroupsEvent"] = "4.0"
}
// This event records the fact that a host does not have a redundant
@@ -40726,8 +40956,8 @@ type HostNoRedundantManagementNetworkEvent struct {
}
func init() {
- minAPIVersionForType["HostNoRedundantManagementNetworkEvent"] = "2.5"
t["HostNoRedundantManagementNetworkEvent"] = reflect.TypeOf((*HostNoRedundantManagementNetworkEvent)(nil)).Elem()
+ minAPIVersionForType["HostNoRedundantManagementNetworkEvent"] = "2.5"
}
// This event records that host went out of compliance.
@@ -40736,8 +40966,8 @@ type HostNonCompliantEvent struct {
}
func init() {
- minAPIVersionForType["HostNonCompliantEvent"] = "4.0"
t["HostNonCompliantEvent"] = reflect.TypeOf((*HostNonCompliantEvent)(nil)).Elem()
+ minAPIVersionForType["HostNonCompliantEvent"] = "4.0"
}
// A HostNotConnected fault is thrown if a method needs
@@ -40763,8 +40993,8 @@ type HostNotInClusterEvent struct {
}
func init() {
- minAPIVersionForType["HostNotInClusterEvent"] = "2.5"
t["HostNotInClusterEvent"] = reflect.TypeOf((*HostNotInClusterEvent)(nil)).Elem()
+ minAPIVersionForType["HostNotInClusterEvent"] = "2.5"
}
// A HostNotReachable fault is thrown if the server was unable
@@ -40796,7 +41026,7 @@ type HostNtpConfig struct {
// To reset any previously configured servers, submit an NtpConfig
// without the server or configFile property set to method
// `HostDateTimeSystem.UpdateDateTimeConfig`
- Server []string `xml:"server,omitempty" json:"server,omitempty" vim:"2.5"`
+ Server []string `xml:"server,omitempty" json:"server,omitempty"`
// Content of ntp.conf host configuration file, split by lines for ntpd version 4.2.8.
//
// Comment lines start with comment marker '#' as per ntp.conf are kept.
@@ -40807,8 +41037,8 @@ type HostNtpConfig struct {
}
func init() {
- minAPIVersionForType["HostNtpConfig"] = "2.5"
t["HostNtpConfig"] = reflect.TypeOf((*HostNtpConfig)(nil)).Elem()
+ minAPIVersionForType["HostNtpConfig"] = "2.5"
}
// Information about NUMA (non-uniform memory access).
@@ -40844,7 +41074,7 @@ type HostNumaNode struct {
// Information about each of the CPUs associated with the node.
CpuID []int16 `xml:"cpuID" json:"cpuID"`
// The total amount of memory in this NUMA node, in bytes.
- MemorySize int64 `xml:"memorySize,omitempty" json:"memorySize,omitempty"`
+ MemorySize int64 `xml:"memorySize,omitempty" json:"memorySize,omitempty" vim:"8.0.0.0"`
// Deprecated as of vSphere 8.0, this property is always set to
// zero. The memory of a NUMA node is not necessarily a single
// physically contiguous range.
@@ -40876,26 +41106,26 @@ type HostNumericSensorInfo struct {
// The name of the physical element associated with the sensor
// It consists of a string of the form:
// "description --- state/identifer".
- Name string `xml:"name" json:"name" vim:"2.5"`
+ Name string `xml:"name" json:"name"`
// The health state of the of the element indicated by the sensor.
//
// This property is populated only for sensors that support threshold
// settings and for discrete sensors using control file.
//
// See also `HostNumericSensorHealthState_enum`.
- HealthState BaseElementDescription `xml:"healthState,omitempty,typeattr" json:"healthState,omitempty" vim:"2.5"`
+ HealthState BaseElementDescription `xml:"healthState,omitempty,typeattr" json:"healthState,omitempty"`
// The current reading of the element indicated by the sensor.
//
// The actual
// sensor reading is obtained by multiplying the current reading by the
// scale factor.
- CurrentReading int64 `xml:"currentReading" json:"currentReading" vim:"2.5"`
+ CurrentReading int64 `xml:"currentReading" json:"currentReading"`
// The unit multiplier for the values returned by the sensor.
//
// All values
// returned by the sensor are current reading \* 10 raised to the power of
// the UnitModifier. If no unitModifier applies the value returned is 0.
- UnitModifier int32 `xml:"unitModifier" json:"unitModifier" vim:"2.5"`
+ UnitModifier int32 `xml:"unitModifier" json:"unitModifier"`
// The base units in which the sensor reading is specified.
//
// If rateUnits
@@ -40903,14 +41133,14 @@ type HostNumericSensorInfo struct {
// rateUnits. Otherwise the value returned is 'unspecified'.
//
// See also `HostNumericSensorInfo.rateUnits`.
- BaseUnits string `xml:"baseUnits" json:"baseUnits" vim:"2.5"`
+ BaseUnits string `xml:"baseUnits" json:"baseUnits"`
// The rate units in which the sensor reading is specified.
//
// For example if
// the baseUnits is Volts and the rateUnits is per second the value
// returned by the sensor are in Volts/second. If no rate applies
// the value returned is 'none'.
- RateUnits string `xml:"rateUnits,omitempty" json:"rateUnits,omitempty" vim:"2.5"`
+ RateUnits string `xml:"rateUnits,omitempty" json:"rateUnits,omitempty"`
// The type of the sensor.
//
// If the sensor type is set to Other the sensor
@@ -40919,7 +41149,7 @@ type HostNumericSensorInfo struct {
// sensor.
//
// See also `HostNumericSensorType_enum`.
- SensorType string `xml:"sensorType" json:"sensorType" vim:"2.5"`
+ SensorType string `xml:"sensorType" json:"sensorType"`
// A unique sensor identifier.
//
// A four part value consisting of:
@@ -40933,18 +41163,18 @@ type HostNumericSensorInfo struct {
// to locate System Event Log (SEL) entries for this Sensor. It is also
// reported in 'id' in string format. This property is intended to
// be used with vim.host.SystemEventInfo.sensorNumber
- SensorNumber int64 `xml:"sensorNumber,omitempty" json:"sensorNumber,omitempty"`
+ SensorNumber int64 `xml:"sensorNumber,omitempty" json:"sensorNumber,omitempty" vim:"8.0.0.1"`
// Reports the ISO 8601 Timestamp when this sensor was last updated by
// management controller if the this sensor is capable of tracking
// when it was last updated.
TimeStamp string `xml:"timeStamp,omitempty" json:"timeStamp,omitempty" vim:"6.5"`
// The FRU this sensor monitors if any.
- Fru *HostFru `xml:"fru,omitempty" json:"fru,omitempty"`
+ Fru *HostFru `xml:"fru,omitempty" json:"fru,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["HostNumericSensorInfo"] = "2.5"
t["HostNumericSensorInfo"] = reflect.TypeOf((*HostNumericSensorInfo)(nil)).Elem()
+ minAPIVersionForType["HostNumericSensorInfo"] = "2.5"
}
// Specifies the parameters necessary to connect to a regular NVME over Fabrics
@@ -40961,7 +41191,7 @@ type HostNvmeConnectSpec struct {
//
// Corresponds to the SUBNQN field in the Connect command as
// referenced above.
- Subnqn string `xml:"subnqn" json:"subnqn" vim:"7.0"`
+ Subnqn string `xml:"subnqn" json:"subnqn"`
// ID of the controller to connect to within the NVM subsystem.
//
// This field corresponds to CNTLID in the Connect command.
@@ -40982,14 +41212,14 @@ type HostNvmeConnectSpec struct {
// Whether the NVM subsystem supports the dynamic or static model can be
// determined by examining the corresponding
// `HostNvmeDiscoveryLogEntry` returned for it.
- ControllerId int32 `xml:"controllerId,omitempty" json:"controllerId,omitempty" vim:"7.0"`
+ ControllerId int32 `xml:"controllerId,omitempty" json:"controllerId,omitempty"`
// Size of the admin queue which will be created once connection
// is established.
//
// This field corresponds to SQSIZE in the Connect command (see above).
// If unset, it defaults to a reasonable value which may vary between
// releases (currently 16).
- AdminQueueSize int32 `xml:"adminQueueSize,omitempty" json:"adminQueueSize,omitempty" vim:"7.0"`
+ AdminQueueSize int32 `xml:"adminQueueSize,omitempty" json:"adminQueueSize,omitempty"`
// Timeout for the keep alive feature in seconds.
//
// This field corresponds to KATO in the Connect command (see above).
@@ -40997,12 +41227,12 @@ type HostNvmeConnectSpec struct {
// releases (currently 30 seconds).
// For further information, see:
// - "NVM Express 1.3", Section 5.21.1.15, "Keep Alive Timer"
- KeepAliveTimeout int32 `xml:"keepAliveTimeout,omitempty" json:"keepAliveTimeout,omitempty" vim:"7.0"`
+ KeepAliveTimeout int32 `xml:"keepAliveTimeout,omitempty" json:"keepAliveTimeout,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeConnectSpec"] = "7.0"
t["HostNvmeConnectSpec"] = reflect.TypeOf((*HostNvmeConnectSpec)(nil)).Elem()
+ minAPIVersionForType["HostNvmeConnectSpec"] = "7.0"
}
// This data object represents an NVME controller.
@@ -41015,7 +41245,7 @@ type HostNvmeController struct {
DynamicData
// The linkable identifier.
- Key string `xml:"key" json:"key" vim:"7.0"`
+ Key string `xml:"key" json:"key"`
// The controller number uniquely identifies the NVME Controller
// within its HostSystem.
//
@@ -41023,7 +41253,7 @@ type HostNvmeController struct {
// "NVM Express over Fabrics 1.0", Section 4.2, "Controller model"
// for details), which only serves as an identifier
// within a particular NVME subsystem.
- ControllerNumber int32 `xml:"controllerNumber" json:"controllerNumber" vim:"7.0"`
+ ControllerNumber int32 `xml:"controllerNumber" json:"controllerNumber"`
// The NVME subsystem qualified name.
//
// Each NVME controller is associated with an NVME subsystem
@@ -41031,40 +41261,40 @@ type HostNvmeController struct {
// For more details, refer to:
// - "NVM Express over Fabrics 1.0", Section 1.5.2,
// "NVM Subsystem".
- Subnqn string `xml:"subnqn" json:"subnqn" vim:"7.0"`
+ Subnqn string `xml:"subnqn" json:"subnqn"`
// Name of the controller.
//
// Each controller has a name. For NVME over Fabrics controllers,
// it is generated when the controller is connected to an NVME
// over Fabrics adapter.
- Name string `xml:"name" json:"name" vim:"7.0"`
+ Name string `xml:"name" json:"name"`
// Associated NVME over Fabrics host bus adapter.
//
// A controller is associated with exactly one host at a time through
// an NVME over Fabrics host bus adapter.
- AssociatedAdapter string `xml:"associatedAdapter" json:"associatedAdapter" vim:"7.0"`
+ AssociatedAdapter string `xml:"associatedAdapter" json:"associatedAdapter"`
// The transport type supported by the controller.
//
// The set of possible values is described in `HostNvmeTransportType_enum`.
// For details, see:
// - "NVM Express over Fabrics 1.0", Section 1.5.1,
// "Fabrics and Transports".
- TransportType string `xml:"transportType" json:"transportType" vim:"7.0"`
+ TransportType string `xml:"transportType" json:"transportType"`
// Indicates whether fused operations are supported by the controller.
//
// An NVME controller may support fused operations. This is required
// to support shared storage, otherwise data corruption may occur.
// For more details, see:
// - "NVM Express 1.3", Section 6.2, "Fused Operations".
- FusedOperationSupported bool `xml:"fusedOperationSupported" json:"fusedOperationSupported" vim:"7.0"`
+ FusedOperationSupported bool `xml:"fusedOperationSupported" json:"fusedOperationSupported"`
// The number of I/O queues allocated for the controller.
- NumberOfQueues int32 `xml:"numberOfQueues" json:"numberOfQueues" vim:"7.0"`
+ NumberOfQueues int32 `xml:"numberOfQueues" json:"numberOfQueues"`
// The size of each of the I/O queues.
//
// This will not be greater than the Maximum Queue Entries Supported
// (mqes) value for the controller. For more information, see:
// - "NVM Express 1.3", section 3.1, "Register definition".
- QueueSize int32 `xml:"queueSize" json:"queueSize" vim:"7.0"`
+ QueueSize int32 `xml:"queueSize" json:"queueSize"`
// List of NVME namespaces attached to the controller.
//
// Namespaces provide access to a non-volatile storage medium
@@ -41072,20 +41302,20 @@ type HostNvmeController struct {
// - "NVM Express over Fabrics 1.0", Section 1.5.2,
// "NVM Subsystem".
// - "NVM Express 1.3", section 6.1, "Namespaces".
- AttachedNamespace []HostNvmeNamespace `xml:"attachedNamespace,omitempty" json:"attachedNamespace,omitempty" vim:"7.0"`
+ AttachedNamespace []HostNvmeNamespace `xml:"attachedNamespace,omitempty" json:"attachedNamespace,omitempty"`
// The vendor ID of the controller, if available.
- VendorId string `xml:"vendorId,omitempty" json:"vendorId,omitempty" vim:"7.0"`
+ VendorId string `xml:"vendorId,omitempty" json:"vendorId,omitempty"`
// The model name of the controller, if available.
- Model string `xml:"model,omitempty" json:"model,omitempty" vim:"7.0"`
+ Model string `xml:"model,omitempty" json:"model,omitempty"`
// The serial number of the controller, if available.
- SerialNumber string `xml:"serialNumber,omitempty" json:"serialNumber,omitempty" vim:"7.0"`
+ SerialNumber string `xml:"serialNumber,omitempty" json:"serialNumber,omitempty"`
// The firmware version of the controller, if available.
- FirmwareVersion string `xml:"firmwareVersion,omitempty" json:"firmwareVersion,omitempty" vim:"7.0"`
+ FirmwareVersion string `xml:"firmwareVersion,omitempty" json:"firmwareVersion,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeController"] = "7.0"
t["HostNvmeController"] = reflect.TypeOf((*HostNvmeController)(nil)).Elem()
+ minAPIVersionForType["HostNvmeController"] = "7.0"
}
// Specifies the parameters necessary to disconnect an NVME controller
@@ -41094,7 +41324,7 @@ type HostNvmeDisconnectSpec struct {
DynamicData
// The device name of the NVME over Fabrics host bus adapter.
- HbaName string `xml:"hbaName" json:"hbaName" vim:"7.0"`
+ HbaName string `xml:"hbaName" json:"hbaName"`
// NVME Qualified Name of the NVM subsystem to disconnect from.
//
// If controllerNumber is not specified, the subsystem qualified
@@ -41103,19 +41333,19 @@ type HostNvmeDisconnectSpec struct {
// is particularly convenient for the dynamic controller model, where
// the mapping subsystemNQN <-> ctrlNumber is expected to be 1:1.
// If controllerNumber is also specified, this value is ignored.
- Subnqn string `xml:"subnqn,omitempty" json:"subnqn,omitempty" vim:"7.0"`
+ Subnqn string `xml:"subnqn,omitempty" json:"subnqn,omitempty"`
// Controller number of the controller to be disconnected.
//
// If this value is set, the subsystemQualifiedName can be left unset
// and the controller whose controllerNumber field matches this value
// will be disconnected from the specified adapter.
// If this value is not set, subsystemQualifiedName must be set.
- ControllerNumber int32 `xml:"controllerNumber,omitempty" json:"controllerNumber,omitempty" vim:"7.0"`
+ ControllerNumber int32 `xml:"controllerNumber,omitempty" json:"controllerNumber,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeDisconnectSpec"] = "7.0"
t["HostNvmeDisconnectSpec"] = reflect.TypeOf((*HostNvmeDisconnectSpec)(nil)).Elem()
+ minAPIVersionForType["HostNvmeDisconnectSpec"] = "7.0"
}
// Specifies the parameters necessary to connect to a Discovery Service and
@@ -41134,7 +41364,7 @@ type HostNvmeDiscoverSpec struct {
// This will only be attempted if this flag is set to true. Whether the
// connection attempt for an entry succeeded can then be determined
// via the corresponding `HostNvmeDiscoveryLogEntry.connected` field.
- AutoConnect *bool `xml:"autoConnect" json:"autoConnect,omitempty" vim:"7.0"`
+ AutoConnect *bool `xml:"autoConnect" json:"autoConnect,omitempty"`
// If set to true, this flag indicates we are connecting to a root/central
// discovery controller (RDC/CDC).
//
@@ -41144,8 +41374,8 @@ type HostNvmeDiscoverSpec struct {
}
func init() {
- minAPIVersionForType["HostNvmeDiscoverSpec"] = "7.0"
t["HostNvmeDiscoverSpec"] = reflect.TypeOf((*HostNvmeDiscoverSpec)(nil)).Elem()
+ minAPIVersionForType["HostNvmeDiscoverSpec"] = "7.0"
}
// This data object represents the Discovery Log returned by
@@ -41161,7 +41391,7 @@ type HostNvmeDiscoveryLog struct {
DynamicData
// The list of entries that make up the Discovery Log.
- Entry []HostNvmeDiscoveryLogEntry `xml:"entry,omitempty" json:"entry,omitempty" vim:"7.0"`
+ Entry []HostNvmeDiscoveryLogEntry `xml:"entry,omitempty" json:"entry,omitempty"`
// Indicates whether the NvmeDiscoveryLog object completely
// represents the underlying Discovery Log returned by the
// controller.
@@ -41170,12 +41400,12 @@ type HostNvmeDiscoveryLog struct {
// Controller contain unsupported transport types or data that
// cannot be interpreted - in that case, those entries will be
// skipped and the log will be marked as incomplete.
- Complete bool `xml:"complete" json:"complete" vim:"7.0"`
+ Complete bool `xml:"complete" json:"complete"`
}
func init() {
- minAPIVersionForType["HostNvmeDiscoveryLog"] = "7.0"
t["HostNvmeDiscoveryLog"] = reflect.TypeOf((*HostNvmeDiscoveryLog)(nil)).Elem()
+ minAPIVersionForType["HostNvmeDiscoveryLog"] = "7.0"
}
// This data object represents a single entry in the Discovery
@@ -41187,14 +41417,14 @@ type HostNvmeDiscoveryLogEntry struct {
//
// Corresponds to the SUBNQN field in the Discovery Log
// Page Entry as specified by the NVME over Fabrics spec.
- Subnqn string `xml:"subnqn" json:"subnqn" vim:"7.0"`
+ Subnqn string `xml:"subnqn" json:"subnqn"`
// NVM Subsystem type.
//
// Corresponds to the SUBTYPE field in the Discovery Log
// Page Entry as specified by the NVME over Fabrics spec.
// The set of supported values is described in
// `HostNvmeDiscoveryLogSubsystemType_enum`.
- SubsystemType string `xml:"subsystemType" json:"subsystemType" vim:"7.0"`
+ SubsystemType string `xml:"subsystemType" json:"subsystemType"`
// NVM subsystem port ID.
//
// Corresponds to the PORTID field in the Discovery Log
@@ -41202,7 +41432,7 @@ type HostNvmeDiscoveryLogEntry struct {
// For an overview, see:
// - "NVM Express over Fabrics 1.0", Section 1.5.2,
// NVM Subsystem
- SubsystemPortId int32 `xml:"subsystemPortId" json:"subsystemPortId" vim:"7.0"`
+ SubsystemPortId int32 `xml:"subsystemPortId" json:"subsystemPortId"`
// NVME Controller ID within the NVM subsystem.
//
// Corresponds to the CNTLID field in the Discovery Log
@@ -41219,7 +41449,7 @@ type HostNvmeDiscoveryLogEntry struct {
// which is the unique identifier of the NVMe controller
// within the entire host and is allocated only after a
// connection is established.
- ControllerId int32 `xml:"controllerId" json:"controllerId" vim:"7.0"`
+ ControllerId int32 `xml:"controllerId" json:"controllerId"`
// The maximum size of the Admin Submission Queue.
//
// Corresponds to the ASQSZ field in the Discovery Log
@@ -41228,7 +41458,7 @@ type HostNvmeDiscoveryLogEntry struct {
// When establishing a connection, the value of
// `HostNvmeConnectSpec.adminQueueSize` may not exceed
// this value.
- AdminQueueMaxSize int32 `xml:"adminQueueMaxSize" json:"adminQueueMaxSize" vim:"7.0"`
+ AdminQueueMaxSize int32 `xml:"adminQueueMaxSize" json:"adminQueueMaxSize"`
// Transport specific parameters necessary to establish
// a connection.
//
@@ -41244,23 +41474,23 @@ type HostNvmeDiscoveryLogEntry struct {
// Discovery Log Page Entry, the transport specific
// parameters can be passed directly as
// `HostNvmeSpec.transportParameters`.
- TransportParameters BaseHostNvmeTransportParameters `xml:"transportParameters,typeattr" json:"transportParameters" vim:"7.0"`
+ TransportParameters BaseHostNvmeTransportParameters `xml:"transportParameters,typeattr" json:"transportParameters"`
// The requirements for NVME Transport.
//
// Corresponds to the TREQ field in the Discovery Log
// Page Entry as specified by the NVME over Fabrics spec
// The set of possible values is described in
// `HostNvmeDiscoveryLogTransportRequirements_enum`
- TransportRequirements string `xml:"transportRequirements" json:"transportRequirements" vim:"7.0"`
+ TransportRequirements string `xml:"transportRequirements" json:"transportRequirements"`
// Indicates whether the controller represented
// by this Discovery Log Page Entry is already connected
// to the adapter through which the discovery is initiated.
- Connected bool `xml:"connected" json:"connected" vim:"7.0"`
+ Connected bool `xml:"connected" json:"connected"`
}
func init() {
- minAPIVersionForType["HostNvmeDiscoveryLogEntry"] = "7.0"
t["HostNvmeDiscoveryLogEntry"] = reflect.TypeOf((*HostNvmeDiscoveryLogEntry)(nil)).Elem()
+ minAPIVersionForType["HostNvmeDiscoveryLogEntry"] = "7.0"
}
// This data object represents an NVM Express Namespace.
@@ -41277,27 +41507,27 @@ type HostNvmeNamespace struct {
//
// This is a unique identifier of the NVME namespace within
// the host system.
- Key string `xml:"key" json:"key" vim:"7.0"`
+ Key string `xml:"key" json:"key"`
// The name of the namespace.
//
// The name identifies the underlying storage exposed
// by the NvmeNamespace. In multipath scenarios, two
// namespaces can have the same name if they expose the
// same underlying storage through different NVME controllers.
- Name string `xml:"name" json:"name" vim:"7.0"`
+ Name string `xml:"name" json:"name"`
// The namespace ID is an identifier used by an NVME controller
// to provide access to a namespace.
//
// The namespace ID is only unique among the namespaces
// attached to the same controller. For details, see:
// - "NVM Express 1.3", section 6.1, "Namespaces".
- Id int32 `xml:"id" json:"id" vim:"7.0"`
+ Id int32 `xml:"id" json:"id"`
// Block size of the namespace in bytes.
//
// Namespaces are comprised of a number of logical blocks with
// a fixed size - the smallest units of data that may be
// read or written by the NVME controller.
- BlockSize int32 `xml:"blockSize" json:"blockSize" vim:"7.0"`
+ BlockSize int32 `xml:"blockSize" json:"blockSize"`
// The maximum number of logical blocks that may be allocated
// in the namespace at any point in time.
//
@@ -41305,12 +41535,12 @@ type HostNvmeNamespace struct {
// structure:
// - "NVM Express 1.3", Section 5.15, Figure 114,
// "Identify Namespace Data Structure"
- CapacityInBlocks int64 `xml:"capacityInBlocks" json:"capacityInBlocks" vim:"7.0"`
+ CapacityInBlocks int64 `xml:"capacityInBlocks" json:"capacityInBlocks"`
}
func init() {
- minAPIVersionForType["HostNvmeNamespace"] = "7.0"
t["HostNvmeNamespace"] = reflect.TypeOf((*HostNvmeNamespace)(nil)).Elem()
+ minAPIVersionForType["HostNvmeNamespace"] = "7.0"
}
// This data object represents the raw transport specific parameters
@@ -41328,36 +41558,36 @@ type HostNvmeOpaqueTransportParameters struct {
// Corresponds to the TRTYPE field in the Discovery Log Page Entry
// as specified by the NVME over Fabrics spec.
// The set of possible values is desribed in `HostNvmeTransportType_enum`.
- Trtype string `xml:"trtype" json:"trtype" vim:"7.0"`
+ Trtype string `xml:"trtype" json:"trtype"`
// The transport address.
//
// Corresponds to the TRADDR field in the Discovery Log Page Entry
// as specified by the NVME over Fabrics spec.
- Traddr string `xml:"traddr" json:"traddr" vim:"7.0"`
+ Traddr string `xml:"traddr" json:"traddr"`
// Indicates the address family of the address specified above.
//
// Corresponds to the ADRFAM field in the Discovery Log Page Entry
// as specified by the NVME over Fabrics spec.
// The set of supported values is described in
// `HostNvmeTransportParametersNvmeAddressFamily_enum`.
- Adrfam string `xml:"adrfam" json:"adrfam" vim:"7.0"`
+ Adrfam string `xml:"adrfam" json:"adrfam"`
// Transport service identifier.
//
// Corresponds to the TRSVCID field in the Discovery Log Page Entry
// as specified by the NVME over Fabrics spec.
// Its interpretation varies depending on the transport type.
- Trsvcid string `xml:"trsvcid" json:"trsvcid" vim:"7.0"`
+ Trsvcid string `xml:"trsvcid" json:"trsvcid"`
// Transport specific address subtype.
//
// Corresponds to the TSAS field in the Discovery Log Page Entry
// as specified by the NVME over Fabrics spec.
// Its interpretation varies depending on the transport type.
- Tsas []byte `xml:"tsas" json:"tsas" vim:"7.0"`
+ Tsas []byte `xml:"tsas" json:"tsas"`
}
func init() {
- minAPIVersionForType["HostNvmeOpaqueTransportParameters"] = "7.0"
t["HostNvmeOpaqueTransportParameters"] = reflect.TypeOf((*HostNvmeOpaqueTransportParameters)(nil)).Elem()
+ minAPIVersionForType["HostNvmeOpaqueTransportParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41366,14 +41596,14 @@ type HostNvmeOverFibreChannelParameters struct {
HostNvmeTransportParameters
// The world wide node name for the connection target.
- NodeWorldWideName int64 `xml:"nodeWorldWideName" json:"nodeWorldWideName" vim:"7.0"`
+ NodeWorldWideName int64 `xml:"nodeWorldWideName" json:"nodeWorldWideName"`
// The world wide port name for the connection target.
- PortWorldWideName int64 `xml:"portWorldWideName" json:"portWorldWideName" vim:"7.0"`
+ PortWorldWideName int64 `xml:"portWorldWideName" json:"portWorldWideName"`
}
func init() {
- minAPIVersionForType["HostNvmeOverFibreChannelParameters"] = "7.0"
t["HostNvmeOverFibreChannelParameters"] = reflect.TypeOf((*HostNvmeOverFibreChannelParameters)(nil)).Elem()
+ minAPIVersionForType["HostNvmeOverFibreChannelParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41382,7 +41612,7 @@ type HostNvmeOverRdmaParameters struct {
HostNvmeTransportParameters
// The address of the connection target.
- Address string `xml:"address" json:"address" vim:"7.0"`
+ Address string `xml:"address" json:"address"`
// Indicates the type of the address specified above.
//
// If unset, it is assumed to be an IPv4 address. The set of possible
@@ -41390,19 +41620,19 @@ type HostNvmeOverRdmaParameters struct {
// `HostNvmeTransportParametersNvmeAddressFamily_enum`.
// Note that not all of the address families may be supported for
// establishing a connection over RDMA.
- AddressFamily string `xml:"addressFamily,omitempty" json:"addressFamily,omitempty" vim:"7.0"`
+ AddressFamily string `xml:"addressFamily,omitempty" json:"addressFamily,omitempty"`
// The port number of the RDMA target port.
//
// When IPv4/IPv6 is used as address family above, the port number
// needs to be specified. If this field is unset, a default
// value of 4420 is assumed as per the IANA assignment:
// https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
- PortNumber int32 `xml:"portNumber,omitempty" json:"portNumber,omitempty" vim:"7.0"`
+ PortNumber int32 `xml:"portNumber,omitempty" json:"portNumber,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeOverRdmaParameters"] = "7.0"
t["HostNvmeOverRdmaParameters"] = reflect.TypeOf((*HostNvmeOverRdmaParameters)(nil)).Elem()
+ minAPIVersionForType["HostNvmeOverRdmaParameters"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41413,13 +41643,13 @@ type HostNvmeOverTcpParameters struct {
// The address of the connection target.
//
// It is expected to be an IPv4 or IPv6 address.
- Address string `xml:"address" json:"address" vim:"7.0.3.0"`
+ Address string `xml:"address" json:"address"`
// The port number of the TCP target port.
//
// If this field is unset, the default value of 8009
// is assumed as per the IANA assignment:
// https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
- PortNumber int32 `xml:"portNumber,omitempty" json:"portNumber,omitempty" vim:"7.0.3.0"`
+ PortNumber int32 `xml:"portNumber,omitempty" json:"portNumber,omitempty"`
// Digest verification parameter.
//
// When used in a discovery or connect spec, this parameter specifies
@@ -41431,12 +41661,12 @@ type HostNvmeOverTcpParameters struct {
// Section 7.4.10.2, "Initialize Connection Request PDU (ICReq)" - DGST field.
//
// When part of `HostNvmeDiscoveryLogEntry`, this value is unset.
- DigestVerification string `xml:"digestVerification,omitempty" json:"digestVerification,omitempty" vim:"7.0.3.0"`
+ DigestVerification string `xml:"digestVerification,omitempty" json:"digestVerification,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeOverTcpParameters"] = "7.0.3.0"
t["HostNvmeOverTcpParameters"] = reflect.TypeOf((*HostNvmeOverTcpParameters)(nil)).Elem()
+ minAPIVersionForType["HostNvmeOverTcpParameters"] = "7.0.3.0"
}
// Specifies the main parameters needed when connecting to
@@ -41445,14 +41675,14 @@ type HostNvmeSpec struct {
DynamicData
// The device name of the NVME over Fabrics host bus adapter.
- HbaName string `xml:"hbaName" json:"hbaName" vim:"7.0"`
+ HbaName string `xml:"hbaName" json:"hbaName"`
// Transport specific information necessary to connect to the controller.
- TransportParameters BaseHostNvmeTransportParameters `xml:"transportParameters,typeattr" json:"transportParameters" vim:"7.0"`
+ TransportParameters BaseHostNvmeTransportParameters `xml:"transportParameters,typeattr" json:"transportParameters"`
}
func init() {
- minAPIVersionForType["HostNvmeSpec"] = "7.0"
t["HostNvmeSpec"] = reflect.TypeOf((*HostNvmeSpec)(nil)).Elem()
+ minAPIVersionForType["HostNvmeSpec"] = "7.0"
}
// This data object type describes the NVME topology information.
@@ -41474,12 +41704,12 @@ type HostNvmeTopology struct {
DynamicData
// The list of NVME interfaces (could be empty).
- Adapter []HostNvmeTopologyInterface `xml:"adapter,omitempty" json:"adapter,omitempty" vim:"7.0"`
+ Adapter []HostNvmeTopologyInterface `xml:"adapter,omitempty" json:"adapter,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeTopology"] = "7.0"
t["HostNvmeTopology"] = reflect.TypeOf((*HostNvmeTopology)(nil)).Elem()
+ minAPIVersionForType["HostNvmeTopology"] = "7.0"
}
// This data object describes the NVME interface that is
@@ -41488,21 +41718,21 @@ type HostNvmeTopologyInterface struct {
DynamicData
// The identifier for the NVME interface.
- Key string `xml:"key" json:"key" vim:"7.0"`
+ Key string `xml:"key" json:"key"`
// The link to data for the NVME interface.
- Adapter string `xml:"adapter" json:"adapter" vim:"7.0"`
+ Adapter string `xml:"adapter" json:"adapter"`
// The list of connected NVME controllers.
//
// This list can be empty if am NVME interface is not connected
// to any controllers. Each NvmeController object contains
// a list of its attached NVME namespaces in
// `HostNvmeController.attachedNamespace`.
- ConnectedController []HostNvmeController `xml:"connectedController,omitempty" json:"connectedController,omitempty" vim:"7.0"`
+ ConnectedController []HostNvmeController `xml:"connectedController,omitempty" json:"connectedController,omitempty"`
}
func init() {
- minAPIVersionForType["HostNvmeTopologyInterface"] = "7.0"
t["HostNvmeTopologyInterface"] = reflect.TypeOf((*HostNvmeTopologyInterface)(nil)).Elem()
+ minAPIVersionForType["HostNvmeTopologyInterface"] = "7.0"
}
// This data object represents the transport specific parameters
@@ -41515,8 +41745,8 @@ type HostNvmeTransportParameters struct {
}
func init() {
- minAPIVersionForType["HostNvmeTransportParameters"] = "7.0"
t["HostNvmeTransportParameters"] = reflect.TypeOf((*HostNvmeTransportParameters)(nil)).Elem()
+ minAPIVersionForType["HostNvmeTransportParameters"] = "7.0"
}
// Information on opaque networks that are available on the host.
@@ -41524,11 +41754,11 @@ type HostOpaqueNetworkInfo struct {
DynamicData
// The ID of the opaque network.
- OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId" vim:"5.5"`
+ OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId"`
// The name of the opaque network.
- OpaqueNetworkName string `xml:"opaqueNetworkName" json:"opaqueNetworkName" vim:"5.5"`
+ OpaqueNetworkName string `xml:"opaqueNetworkName" json:"opaqueNetworkName"`
// The type of the opaque network.
- OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType" vim:"5.5"`
+ OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType"`
// IDs of networking zones that back the opaque network.
PnicZone []string `xml:"pnicZone,omitempty" json:"pnicZone,omitempty" vim:"6.0"`
// The capability of the opaque network.
@@ -41540,8 +41770,8 @@ type HostOpaqueNetworkInfo struct {
}
func init() {
- minAPIVersionForType["HostOpaqueNetworkInfo"] = "5.5"
t["HostOpaqueNetworkInfo"] = reflect.TypeOf((*HostOpaqueNetworkInfo)(nil)).Elem()
+ minAPIVersionForType["HostOpaqueNetworkInfo"] = "5.5"
}
// The OpaqueSwitch contains basic information about virtual switches that are
@@ -41550,11 +41780,11 @@ type HostOpaqueSwitch struct {
DynamicData
// The opaque switch ID.
- Key string `xml:"key" json:"key" vim:"5.5"`
+ Key string `xml:"key" json:"key"`
// The opaque switch name.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.5"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The set of physical network adapters associated with this switch.
- Pnic []string `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"5.5"`
+ Pnic []string `xml:"pnic,omitempty" json:"pnic,omitempty"`
// The IDs of networking zones associated with this switch.
PnicZone []HostOpaqueSwitchPhysicalNicZone `xml:"pnicZone,omitempty" json:"pnicZone,omitempty" vim:"6.0"`
// Opaque switch status.
@@ -41571,21 +41801,21 @@ type HostOpaqueSwitch struct {
}
func init() {
- minAPIVersionForType["HostOpaqueSwitch"] = "5.5"
t["HostOpaqueSwitch"] = reflect.TypeOf((*HostOpaqueSwitch)(nil)).Elem()
+ minAPIVersionForType["HostOpaqueSwitch"] = "5.5"
}
type HostOpaqueSwitchPhysicalNicZone struct {
DynamicData
// The zone ID
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// Whenever an OpaqueSwitch is associated with a PhysicalNicZone, then by default,
// the zone will consist of all physical nics that are linked to the switch.
//
// However, if this property is set, then the zone will be considered to be
// consisting of only those physical nics that are listed here.
- PnicDevice []string `xml:"pnicDevice,omitempty" json:"pnicDevice,omitempty" vim:"6.0"`
+ PnicDevice []string `xml:"pnicDevice,omitempty" json:"pnicDevice,omitempty"`
}
func init() {
@@ -41599,8 +41829,8 @@ type HostOvercommittedEvent struct {
}
func init() {
- minAPIVersionForType["HostOvercommittedEvent"] = "4.0"
t["HostOvercommittedEvent"] = reflect.TypeOf((*HostOvercommittedEvent)(nil)).Elem()
+ minAPIVersionForType["HostOvercommittedEvent"] = "4.0"
}
// The VMFS file system.
@@ -41608,14 +41838,14 @@ type HostPMemVolume struct {
HostFileSystemVolume
// The universally unique identifier assigned to PMem volume.
- Uuid string `xml:"uuid" json:"uuid" vim:"6.7"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Version of the PMem FS
- Version string `xml:"version" json:"version" vim:"6.7"`
+ Version string `xml:"version" json:"version"`
}
func init() {
- minAPIVersionForType["HostPMemVolume"] = "6.7"
t["HostPMemVolume"] = reflect.TypeOf((*HostPMemVolume)(nil)).Elem()
+ minAPIVersionForType["HostPMemVolume"] = "6.7"
}
// The ParallelScsiHba data object type describes a
@@ -41659,25 +41889,25 @@ type HostPatchManagerPatchManagerOperationSpec struct {
// The name of the possible proxy for esxupdate to use to connect to a server.
//
// The patch and metadata may be cached within the proxy server.
- Proxy string `xml:"proxy,omitempty" json:"proxy,omitempty" vim:"4.0"`
+ Proxy string `xml:"proxy,omitempty" json:"proxy,omitempty"`
// The port of the possible proxy for esxupdate to use to connect to a server.
//
// The patch and metadata may be cached within the proxy server.
- Port int32 `xml:"port,omitempty" json:"port,omitempty" vim:"4.0"`
+ Port int32 `xml:"port,omitempty" json:"port,omitempty"`
// The user name used for the proxy server.
- UserName string `xml:"userName,omitempty" json:"userName,omitempty" vim:"4.0"`
+ UserName string `xml:"userName,omitempty" json:"userName,omitempty"`
// The password used for the proxy server.
//
// This is passed with ssl through a
// trusted channel.
- Password string `xml:"password,omitempty" json:"password,omitempty" vim:"4.0"`
+ Password string `xml:"password,omitempty" json:"password,omitempty"`
// Possible command line options when calling esxupdate.
- CmdOption string `xml:"cmdOption,omitempty" json:"cmdOption,omitempty" vim:"4.0"`
+ CmdOption string `xml:"cmdOption,omitempty" json:"cmdOption,omitempty"`
}
func init() {
- minAPIVersionForType["HostPatchManagerPatchManagerOperationSpec"] = "4.0"
t["HostPatchManagerPatchManagerOperationSpec"] = reflect.TypeOf((*HostPatchManagerPatchManagerOperationSpec)(nil)).Elem()
+ minAPIVersionForType["HostPatchManagerPatchManagerOperationSpec"] = "4.0"
}
// The result of the operation.
@@ -41688,16 +41918,16 @@ type HostPatchManagerResult struct {
DynamicData
// The version of the scan result schema.
- Version string `xml:"version" json:"version" vim:"4.0"`
+ Version string `xml:"version" json:"version"`
// The scan results for each patch.
- Status []HostPatchManagerStatus `xml:"status,omitempty" json:"status,omitempty" vim:"4.0"`
+ Status []HostPatchManagerStatus `xml:"status,omitempty" json:"status,omitempty"`
// The scan results in XML format.
- XmlResult string `xml:"xmlResult,omitempty" json:"xmlResult,omitempty" vim:"4.0"`
+ XmlResult string `xml:"xmlResult,omitempty" json:"xmlResult,omitempty"`
}
func init() {
- minAPIVersionForType["HostPatchManagerResult"] = "4.0"
t["HostPatchManagerResult"] = reflect.TypeOf((*HostPatchManagerResult)(nil)).Elem()
+ minAPIVersionForType["HostPatchManagerResult"] = "4.0"
}
type HostPatchManagerStatus struct {
@@ -41799,12 +42029,12 @@ type HostPathSelectionPolicyOption struct {
//
// Use the key as the
// identifier.
- Policy BaseElementDescription `xml:"policy,typeattr" json:"policy" vim:"4.0"`
+ Policy BaseElementDescription `xml:"policy,typeattr" json:"policy"`
}
func init() {
- minAPIVersionForType["HostPathSelectionPolicyOption"] = "4.0"
t["HostPathSelectionPolicyOption"] = reflect.TypeOf((*HostPathSelectionPolicyOption)(nil)).Elem()
+ minAPIVersionForType["HostPathSelectionPolicyOption"] = "4.0"
}
// This data object type describes information about
@@ -41875,9 +42105,9 @@ type HostPciPassthruConfig struct {
DynamicData
// The name ID of this PCI, composed of "bus:slot.function".
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// Whether passThru has been configured for this device
- PassthruEnabled bool `xml:"passthruEnabled" json:"passthruEnabled" vim:"4.0"`
+ PassthruEnabled bool `xml:"passthruEnabled" json:"passthruEnabled"`
// Whether the passThru config should take effect without rebooting ESX.
//
// When unset, the behavior will be determined automatically
@@ -41890,8 +42120,8 @@ type HostPciPassthruConfig struct {
}
func init() {
- minAPIVersionForType["HostPciPassthruConfig"] = "4.0"
t["HostPciPassthruConfig"] = reflect.TypeOf((*HostPciPassthruConfig)(nil)).Elem()
+ minAPIVersionForType["HostPciPassthruConfig"] = "4.0"
}
// This data object provides information about the state of PciPassthru
@@ -41900,22 +42130,22 @@ type HostPciPassthruInfo struct {
DynamicData
// The name ID of this PCI, composed of "bus:slot.function".
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// Device which needs to be unclaimed by vmkernel (may be bridge)
- DependentDevice string `xml:"dependentDevice" json:"dependentDevice" vim:"4.0"`
+ DependentDevice string `xml:"dependentDevice" json:"dependentDevice"`
// Whether passThru has been configured by the user
- PassthruEnabled bool `xml:"passthruEnabled" json:"passthruEnabled" vim:"4.0"`
+ PassthruEnabled bool `xml:"passthruEnabled" json:"passthruEnabled"`
// Whether passThru is even possible for this device (decided by vmkctl)
- PassthruCapable bool `xml:"passthruCapable" json:"passthruCapable" vim:"4.0"`
+ PassthruCapable bool `xml:"passthruCapable" json:"passthruCapable"`
// Whether passThru is active for this device (meaning enabled + rebooted)
- PassthruActive bool `xml:"passthruActive" json:"passthruActive" vim:"4.0"`
+ PassthruActive bool `xml:"passthruActive" json:"passthruActive"`
// The hardware label of this PCI device.
HardwareLabel string `xml:"hardwareLabel,omitempty" json:"hardwareLabel,omitempty" vim:"7.0.2.0"`
}
func init() {
- minAPIVersionForType["HostPciPassthruInfo"] = "4.0"
t["HostPciPassthruInfo"] = reflect.TypeOf((*HostPciPassthruInfo)(nil)).Elem()
+ minAPIVersionForType["HostPciPassthruInfo"] = "4.0"
}
// This data object describes the Peripheral Component Interconnect Express
@@ -41925,8 +42155,8 @@ type HostPcieHba struct {
}
func init() {
- minAPIVersionForType["HostPcieHba"] = "7.0"
t["HostPcieHba"] = reflect.TypeOf((*HostPcieHba)(nil)).Elem()
+ minAPIVersionForType["HostPcieHba"] = "7.0"
}
// Peripheral Component Interconnect Express (PCIe)
@@ -41936,8 +42166,8 @@ type HostPcieTargetTransport struct {
}
func init() {
- minAPIVersionForType["HostPcieTargetTransport"] = "7.0"
t["HostPcieTargetTransport"] = reflect.TypeOf((*HostPcieTargetTransport)(nil)).Elem()
+ minAPIVersionForType["HostPcieTargetTransport"] = "7.0"
}
// Host Hardware information about configured and available
@@ -41946,14 +42176,14 @@ type HostPersistentMemoryInfo struct {
DynamicData
// Amount of configured persistent memory available on a host in MB.
- CapacityInMB int64 `xml:"capacityInMB,omitempty" json:"capacityInMB,omitempty" vim:"6.7"`
+ CapacityInMB int64 `xml:"capacityInMB,omitempty" json:"capacityInMB,omitempty"`
// Unique persistent memory host indentifier.
- VolumeUUID string `xml:"volumeUUID,omitempty" json:"volumeUUID,omitempty" vim:"6.7"`
+ VolumeUUID string `xml:"volumeUUID,omitempty" json:"volumeUUID,omitempty"`
}
func init() {
- minAPIVersionForType["HostPersistentMemoryInfo"] = "6.7"
t["HostPersistentMemoryInfo"] = reflect.TypeOf((*HostPersistentMemoryInfo)(nil)).Elem()
+ minAPIVersionForType["HostPersistentMemoryInfo"] = "6.7"
}
// This data type describes the Virtual Machine and
@@ -41965,16 +42195,16 @@ type HostPlacedVirtualNicIdentifier struct {
// The Virtual Machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The virtual NIC key
- VnicKey string `xml:"vnicKey" json:"vnicKey" vim:"6.0"`
+ VnicKey string `xml:"vnicKey" json:"vnicKey"`
// The virtual NIC reservation
- Reservation *int32 `xml:"reservation" json:"reservation,omitempty" vim:"6.0"`
+ Reservation *int32 `xml:"reservation" json:"reservation,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlacedVirtualNicIdentifier"] = "6.0"
t["HostPlacedVirtualNicIdentifier"] = reflect.TypeOf((*HostPlacedVirtualNicIdentifier)(nil)).Elem()
+ minAPIVersionForType["HostPlacedVirtualNicIdentifier"] = "6.0"
}
// This data object represents the plug-store topology on a host
@@ -42039,23 +42269,23 @@ type HostPlugStoreTopology struct {
DynamicData
// List of host bus adapters in the plug store inventory.
- Adapter []HostPlugStoreTopologyAdapter `xml:"adapter,omitempty" json:"adapter,omitempty" vim:"4.0"`
+ Adapter []HostPlugStoreTopologyAdapter `xml:"adapter,omitempty" json:"adapter,omitempty"`
// List of paths in the plug store inventory.
- Path []HostPlugStoreTopologyPath `xml:"path,omitempty" json:"path,omitempty" vim:"4.0"`
+ Path []HostPlugStoreTopologyPath `xml:"path,omitempty" json:"path,omitempty"`
// Partial list of targets as seen by the host.
//
// The list of targets
// may not be exhaustive on the host.
- Target []HostPlugStoreTopologyTarget `xml:"target,omitempty" json:"target,omitempty" vim:"4.0"`
+ Target []HostPlugStoreTopologyTarget `xml:"target,omitempty" json:"target,omitempty"`
// List of devices in the plug store inventory.
- Device []HostPlugStoreTopologyDevice `xml:"device,omitempty" json:"device,omitempty" vim:"4.0"`
+ Device []HostPlugStoreTopologyDevice `xml:"device,omitempty" json:"device,omitempty"`
// List of plugins in the plug store inventory.
- Plugin []HostPlugStoreTopologyPlugin `xml:"plugin,omitempty" json:"plugin,omitempty" vim:"4.0"`
+ Plugin []HostPlugStoreTopologyPlugin `xml:"plugin,omitempty" json:"plugin,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopology"] = "4.0"
t["HostPlugStoreTopology"] = reflect.TypeOf((*HostPlugStoreTopology)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopology"] = "4.0"
}
// This data object type is an association class that describes a host bus
@@ -42067,16 +42297,16 @@ type HostPlugStoreTopologyAdapter struct {
DynamicData
// The identifier for the host bus adapter.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// The link to the host bus adapter for this inebtrface.
- Adapter string `xml:"adapter" json:"adapter" vim:"4.0"`
+ Adapter string `xml:"adapter" json:"adapter"`
// The list of paths to which the host bus adapter is associated.
- Path []string `xml:"path,omitempty" json:"path,omitempty" vim:"4.0"`
+ Path []string `xml:"path,omitempty" json:"path,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopologyAdapter"] = "4.0"
t["HostPlugStoreTopologyAdapter"] = reflect.TypeOf((*HostPlugStoreTopologyAdapter)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopologyAdapter"] = "4.0"
}
// This data object type is an association class that describes a ScsiLun
@@ -42088,16 +42318,16 @@ type HostPlugStoreTopologyDevice struct {
DynamicData
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// The SCSI device corresponding to logical unit.
- Lun string `xml:"lun" json:"lun" vim:"4.0"`
+ Lun string `xml:"lun" json:"lun"`
// The array of paths available to access this LogicalUnit.
- Path []string `xml:"path,omitempty" json:"path,omitempty" vim:"4.0"`
+ Path []string `xml:"path,omitempty" json:"path,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopologyDevice"] = "4.0"
t["HostPlugStoreTopologyDevice"] = reflect.TypeOf((*HostPlugStoreTopologyDevice)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopologyDevice"] = "4.0"
}
// This data object type is an association class that describes a Path and
@@ -42108,7 +42338,7 @@ type HostPlugStoreTopologyPath struct {
DynamicData
// The identifier for the Path.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Name of path.
//
// Use this property to correlate this path object to other
@@ -42118,27 +42348,27 @@ type HostPlugStoreTopologyPath struct {
// vim.host.MultipathStateInfo.Path} on the `HostMultipathStateInfo` data object.
//
// Use this name to configure LogicalUnit multipathing policy using `HostStorageSystem.EnableMultipathPath` and `HostStorageSystem.DisableMultipathPath`.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The channel number for a path if applicable.
- ChannelNumber int32 `xml:"channelNumber,omitempty" json:"channelNumber,omitempty" vim:"4.0"`
+ ChannelNumber int32 `xml:"channelNumber,omitempty" json:"channelNumber,omitempty"`
// The target number for a path if applicable.
//
// The target number is not
// guaranteed to be consistent across reboots or rescans of the adapter.
- TargetNumber int32 `xml:"targetNumber,omitempty" json:"targetNumber,omitempty" vim:"4.0"`
+ TargetNumber int32 `xml:"targetNumber,omitempty" json:"targetNumber,omitempty"`
// The LUN number for a path if applicable.
- LunNumber int32 `xml:"lunNumber,omitempty" json:"lunNumber,omitempty" vim:"4.0"`
+ LunNumber int32 `xml:"lunNumber,omitempty" json:"lunNumber,omitempty"`
// The adapter that provided the Path.
- Adapter string `xml:"adapter,omitempty" json:"adapter,omitempty" vim:"4.0"`
+ Adapter string `xml:"adapter,omitempty" json:"adapter,omitempty"`
// The target of the Path if any.
- Target string `xml:"target,omitempty" json:"target,omitempty" vim:"4.0"`
+ Target string `xml:"target,omitempty" json:"target,omitempty"`
// The device that claimed the Path if any.
- Device string `xml:"device,omitempty" json:"device,omitempty" vim:"4.0"`
+ Device string `xml:"device,omitempty" json:"device,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopologyPath"] = "4.0"
t["HostPlugStoreTopologyPath"] = reflect.TypeOf((*HostPlugStoreTopologyPath)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopologyPath"] = "4.0"
}
// This data object type represents a Plugin in the plug store architecture.
@@ -42148,23 +42378,23 @@ type HostPlugStoreTopologyPlugin struct {
DynamicData
// The identifier of the plugin.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// The name of the plugin.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The set of devices formed by this plugin.
- Device []string `xml:"device,omitempty" json:"device,omitempty" vim:"4.0"`
+ Device []string `xml:"device,omitempty" json:"device,omitempty"`
// The set of paths claimed by this plugin.
//
// Not every claimed path
// will necessarily appear as part of a Device. Claimed paths will
// only appear under Devices if the device identifier of the path
// matches up with the device identifier exposed by the Device.
- ClaimedPath []string `xml:"claimedPath,omitempty" json:"claimedPath,omitempty" vim:"4.0"`
+ ClaimedPath []string `xml:"claimedPath,omitempty" json:"claimedPath,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopologyPlugin"] = "4.0"
t["HostPlugStoreTopologyPlugin"] = reflect.TypeOf((*HostPlugStoreTopologyPlugin)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopologyPlugin"] = "4.0"
}
// This data object represents target information.
@@ -42175,14 +42405,14 @@ type HostPlugStoreTopologyTarget struct {
//
// This will be a string representing the
// transport information of the target.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Detailed, transport-specific information about the target of a path.
- Transport BaseHostTargetTransport `xml:"transport,omitempty,typeattr" json:"transport,omitempty" vim:"4.0"`
+ Transport BaseHostTargetTransport `xml:"transport,omitempty,typeattr" json:"transport,omitempty"`
}
func init() {
- minAPIVersionForType["HostPlugStoreTopologyTarget"] = "4.0"
t["HostPlugStoreTopologyTarget"] = reflect.TypeOf((*HostPlugStoreTopologyTarget)(nil)).Elem()
+ minAPIVersionForType["HostPlugStoreTopologyTarget"] = "4.0"
}
// This data type describes the avaialable capacity
@@ -42191,19 +42421,19 @@ type HostPnicNetworkResourceInfo struct {
DynamicData
// The physical NIC device
- PnicDevice string `xml:"pnicDevice" json:"pnicDevice" vim:"6.0"`
+ PnicDevice string `xml:"pnicDevice" json:"pnicDevice"`
// The total bandwidth available for VM traffic
- AvailableBandwidthForVMTraffic int64 `xml:"availableBandwidthForVMTraffic,omitempty" json:"availableBandwidthForVMTraffic,omitempty" vim:"6.0"`
+ AvailableBandwidthForVMTraffic int64 `xml:"availableBandwidthForVMTraffic,omitempty" json:"availableBandwidthForVMTraffic,omitempty"`
// The unused bandwidth for VM traffic
- UnusedBandwidthForVMTraffic int64 `xml:"unusedBandwidthForVMTraffic,omitempty" json:"unusedBandwidthForVMTraffic,omitempty" vim:"6.0"`
+ UnusedBandwidthForVMTraffic int64 `xml:"unusedBandwidthForVMTraffic,omitempty" json:"unusedBandwidthForVMTraffic,omitempty"`
// The connected virtual NICs of powered on Virtual Machines
// that are placed on this physical NIC
- PlacedVirtualNics []HostPlacedVirtualNicIdentifier `xml:"placedVirtualNics,omitempty" json:"placedVirtualNics,omitempty" vim:"6.0"`
+ PlacedVirtualNics []HostPlacedVirtualNicIdentifier `xml:"placedVirtualNics,omitempty" json:"placedVirtualNics,omitempty"`
}
func init() {
- minAPIVersionForType["HostPnicNetworkResourceInfo"] = "6.0"
t["HostPnicNetworkResourceInfo"] = reflect.TypeOf((*HostPnicNetworkResourceInfo)(nil)).Elem()
+ minAPIVersionForType["HostPnicNetworkResourceInfo"] = "6.0"
}
// This data object type is used to describe port groups.
@@ -42295,12 +42525,12 @@ type HostPortGroupProfile struct {
PortGroupProfile
// IP address configuration for the Host network.
- IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig" vim:"4.0"`
+ IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig"`
}
func init() {
- minAPIVersionForType["HostPortGroupProfile"] = "4.0"
t["HostPortGroupProfile"] = reflect.TypeOf((*HostPortGroupProfile)(nil)).Elem()
+ minAPIVersionForType["HostPortGroupProfile"] = "4.0"
}
// This data object type describes the PortGroup specification
@@ -42377,8 +42607,8 @@ type HostPowerOpFailed struct {
}
func init() {
- minAPIVersionForType["HostPowerOpFailed"] = "2.5"
t["HostPowerOpFailed"] = reflect.TypeOf((*HostPowerOpFailed)(nil)).Elem()
+ minAPIVersionForType["HostPowerOpFailed"] = "2.5"
}
type HostPowerOpFailedFault BaseHostPowerOpFailed
@@ -42397,22 +42627,22 @@ type HostPowerPolicy struct {
//
// Internally generated key which uniquely identifies power management
// policy on a host.
- Key int32 `xml:"key" json:"key" vim:"4.1"`
+ Key int32 `xml:"key" json:"key"`
// Power Policy Name.
- Name string `xml:"name" json:"name" vim:"4.1"`
+ Name string `xml:"name" json:"name"`
// Power Policy Short Name.
//
// This is not localizable property which can be used to identify specific
// power managing policies like "custom" power policy. Custom power policy
// has short name set to "custom".
- ShortName string `xml:"shortName" json:"shortName" vim:"4.1"`
+ ShortName string `xml:"shortName" json:"shortName"`
// Power Policy Description.
- Description string `xml:"description" json:"description" vim:"4.1"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["HostPowerPolicy"] = "4.1"
t["HostPowerPolicy"] = reflect.TypeOf((*HostPowerPolicy)(nil)).Elem()
+ minAPIVersionForType["HostPowerPolicy"] = "4.1"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -42429,8 +42659,8 @@ type HostPrimaryAgentNotShortNameEvent struct {
}
func init() {
- minAPIVersionForType["HostPrimaryAgentNotShortNameEvent"] = "2.5"
t["HostPrimaryAgentNotShortNameEvent"] = reflect.TypeOf((*HostPrimaryAgentNotShortNameEvent)(nil)).Elem()
+ minAPIVersionForType["HostPrimaryAgentNotShortNameEvent"] = "2.5"
}
// This event records that a Profile application was done
@@ -42439,12 +42669,12 @@ type HostProfileAppliedEvent struct {
HostEvent
// Link to the profile which was applied
- Profile ProfileEventArgument `xml:"profile" json:"profile" vim:"4.0"`
+ Profile ProfileEventArgument `xml:"profile" json:"profile"`
}
func init() {
- minAPIVersionForType["HostProfileAppliedEvent"] = "4.0"
t["HostProfileAppliedEvent"] = reflect.TypeOf((*HostProfileAppliedEvent)(nil)).Elem()
+ minAPIVersionForType["HostProfileAppliedEvent"] = "4.0"
}
// The `HostProfileCompleteConfigSpec` data object
@@ -42453,16 +42683,16 @@ type HostProfileCompleteConfigSpec struct {
HostProfileConfigSpec
// Profile that contains configuration data for the host.
- ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty" vim:"4.0"`
+ ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty"`
// User defined compliance profile.
//
// Reserved for future use.
- CustomComplyProfile *ComplianceProfile `xml:"customComplyProfile,omitempty" json:"customComplyProfile,omitempty" vim:"4.0"`
+ CustomComplyProfile *ComplianceProfile `xml:"customComplyProfile,omitempty" json:"customComplyProfile,omitempty"`
// Flag indicating if this configuration specification contains changes
// in the `HostProfileCompleteConfigSpec.disabledExpressionList`.
//
// If False, the Profile Engine ignores the contents of the disabled expression list.
- DisabledExpressionListChanged bool `xml:"disabledExpressionListChanged" json:"disabledExpressionListChanged" vim:"4.0"`
+ DisabledExpressionListChanged bool `xml:"disabledExpressionListChanged" json:"disabledExpressionListChanged"`
// List of expressions to be disabled.
//
// Each entry in the list specifies
@@ -42477,7 +42707,7 @@ type HostProfileCompleteConfigSpec struct {
// `HostProfileConfigInfo.defaultComplyProfile`.
// The Profile Engine automatically generates the default compliance profile
// when you create a host profile.
- DisabledExpressionList []string `xml:"disabledExpressionList,omitempty" json:"disabledExpressionList,omitempty" vim:"4.0"`
+ DisabledExpressionList []string `xml:"disabledExpressionList,omitempty" json:"disabledExpressionList,omitempty"`
// Host for profile validation.
//
// This can be a host on which the profile
@@ -42505,8 +42735,8 @@ type HostProfileCompleteConfigSpec struct {
}
func init() {
- minAPIVersionForType["HostProfileCompleteConfigSpec"] = "4.0"
t["HostProfileCompleteConfigSpec"] = reflect.TypeOf((*HostProfileCompleteConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostProfileCompleteConfigSpec"] = "4.0"
}
// The `HostProfileConfigInfo` data object
@@ -42515,7 +42745,7 @@ type HostProfileConfigInfo struct {
ProfileConfigInfo
// Profile data for host configuration.
- ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty" vim:"4.0"`
+ ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty"`
// Default compliance profile.
//
// The ESX Server uses the applyProfile
@@ -42523,7 +42753,7 @@ type HostProfileConfigInfo struct {
// to generate the default compliance profile when you create a host profile.
// When the applyProfile
is modified, the Server automatically
// updates the compliance profile to match it.
- DefaultComplyProfile *ComplianceProfile `xml:"defaultComplyProfile,omitempty" json:"defaultComplyProfile,omitempty" vim:"4.0"`
+ DefaultComplyProfile *ComplianceProfile `xml:"defaultComplyProfile,omitempty" json:"defaultComplyProfile,omitempty"`
// List of compliance locators.
//
// Each locator specifies an association between
@@ -42531,24 +42761,24 @@ type HostProfileConfigInfo struct {
// The association identifies a component profile and the expression generated
// by the profile. vSphere clients can use this data to provide contextual
// information to the user.
- DefaultComplyLocator []ComplianceLocator `xml:"defaultComplyLocator,omitempty" json:"defaultComplyLocator,omitempty" vim:"4.0"`
+ DefaultComplyLocator []ComplianceLocator `xml:"defaultComplyLocator,omitempty" json:"defaultComplyLocator,omitempty"`
// User defined compliance profile.
//
// Reserved for future use.
- CustomComplyProfile *ComplianceProfile `xml:"customComplyProfile,omitempty" json:"customComplyProfile,omitempty" vim:"4.0"`
+ CustomComplyProfile *ComplianceProfile `xml:"customComplyProfile,omitempty" json:"customComplyProfile,omitempty"`
// Disabled expressions in the default compliance profile
// (DefaultComplyProfile
).
//
// Use this property to specify which expressions are disabled.
// All expressions are enabled by default.
- DisabledExpressionList []string `xml:"disabledExpressionList,omitempty" json:"disabledExpressionList,omitempty" vim:"4.0"`
+ DisabledExpressionList []string `xml:"disabledExpressionList,omitempty" json:"disabledExpressionList,omitempty"`
// Localized description of the profile.
Description *ProfileDescription `xml:"description,omitempty" json:"description,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["HostProfileConfigInfo"] = "4.0"
t["HostProfileConfigInfo"] = reflect.TypeOf((*HostProfileConfigInfo)(nil)).Elem()
+ minAPIVersionForType["HostProfileConfigInfo"] = "4.0"
}
// `HostProfileConfigSpec` is the base data object
@@ -42558,8 +42788,8 @@ type HostProfileConfigSpec struct {
}
func init() {
- minAPIVersionForType["HostProfileConfigSpec"] = "4.0"
t["HostProfileConfigSpec"] = reflect.TypeOf((*HostProfileConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostProfileConfigSpec"] = "4.0"
}
// The `HostProfileHostBasedConfigSpec` data object
@@ -42571,7 +42801,7 @@ type HostProfileHostBasedConfigSpec struct {
// ESX host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Flag indicating if the Profile Engine should use the profile
// plug-ins present on the host to create the profile.
//
@@ -42583,8 +42813,8 @@ type HostProfileHostBasedConfigSpec struct {
}
func init() {
- minAPIVersionForType["HostProfileHostBasedConfigSpec"] = "4.0"
t["HostProfileHostBasedConfigSpec"] = reflect.TypeOf((*HostProfileHostBasedConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostProfileHostBasedConfigSpec"] = "4.0"
}
// The data class for host profile composition result.
@@ -42593,16 +42823,16 @@ type HostProfileManagerCompositionResult struct {
// The composition errors for all targets, for example, the source
// profile doesn't exist.
- Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty" vim:"6.5"`
+ Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty"`
// The array of
// `HostProfileManagerCompositionResultResultElement`
// for all the target host profiles.
- Results []HostProfileManagerCompositionResultResultElement `xml:"results,omitempty" json:"results,omitempty" vim:"6.5"`
+ Results []HostProfileManagerCompositionResultResultElement `xml:"results,omitempty" json:"results,omitempty"`
}
func init() {
- minAPIVersionForType["HostProfileManagerCompositionResult"] = "6.5"
t["HostProfileManagerCompositionResult"] = reflect.TypeOf((*HostProfileManagerCompositionResult)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionResult"] = "6.5"
}
// Composition result for a specific target host profile.
@@ -42612,19 +42842,19 @@ type HostProfileManagerCompositionResultResultElement struct {
// The target host profile.
//
// Refers instance of `Profile`.
- Target ManagedObjectReference `xml:"target" json:"target" vim:"6.5"`
+ Target ManagedObjectReference `xml:"target" json:"target"`
// The composition status.
//
// See `HostProfileManagerCompositionResultResultElementStatus_enum`
// for details of supported values.
- Status string `xml:"status" json:"status" vim:"6.5"`
+ Status string `xml:"status" json:"status"`
// The composition errors.
- Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty" vim:"6.5"`
+ Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty"`
}
func init() {
- minAPIVersionForType["HostProfileManagerCompositionResultResultElement"] = "6.5"
t["HostProfileManagerCompositionResultResultElement"] = reflect.TypeOf((*HostProfileManagerCompositionResultResultElement)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionResultResultElement"] = "6.5"
}
// The data class for the host profile composition validation
@@ -42635,14 +42865,14 @@ type HostProfileManagerCompositionValidationResult struct {
// The array of
// `HostProfileManagerCompositionValidationResultResultElement`
// for all the target host profiles.
- Results []HostProfileManagerCompositionValidationResultResultElement `xml:"results,omitempty" json:"results,omitempty" vim:"6.5"`
+ Results []HostProfileManagerCompositionValidationResultResultElement `xml:"results,omitempty" json:"results,omitempty"`
// The common error happened at validation.
- Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty" vim:"6.5"`
+ Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty"`
}
func init() {
- minAPIVersionForType["HostProfileManagerCompositionValidationResult"] = "6.5"
t["HostProfileManagerCompositionValidationResult"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResult)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionValidationResult"] = "6.5"
}
// The host profile composition validation result for a specific target
@@ -42653,18 +42883,18 @@ type HostProfileManagerCompositionValidationResultResultElement struct {
// The target host profile.
//
// Refers instance of `Profile`.
- Target ManagedObjectReference `xml:"target" json:"target" vim:"6.5"`
+ Target ManagedObjectReference `xml:"target" json:"target"`
// The composition validation status.
//
// See `HostProfileManagerCompositionValidationResultResultElementStatus_enum`
// for details of supported values.
- Status string `xml:"status" json:"status" vim:"6.5"`
+ Status string `xml:"status" json:"status"`
// The composition validation errors.
- Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty" vim:"6.5"`
+ Errors []LocalizableMessage `xml:"errors,omitempty" json:"errors,omitempty"`
// When a selected sub profile for composition exists in both the
// source and target host profile, this member will contain the
// source side difference for the selected sub profiles.
- SourceDiffForToBeMerged *HostApplyProfile `xml:"sourceDiffForToBeMerged,omitempty" json:"sourceDiffForToBeMerged,omitempty" vim:"6.5"`
+ SourceDiffForToBeMerged *HostApplyProfile `xml:"sourceDiffForToBeMerged,omitempty" json:"sourceDiffForToBeMerged,omitempty"`
// Similar to the member sourceDiffForToBeMerged
above
// but contains the target side difference.
//
@@ -42672,25 +42902,25 @@ type HostProfileManagerCompositionValidationResultResultElement struct {
// configurations in these two variables will show the changes for
// the configurations that exist in both source and target host
// profile.
- TargetDiffForToBeMerged *HostApplyProfile `xml:"targetDiffForToBeMerged,omitempty" json:"targetDiffForToBeMerged,omitempty" vim:"6.5"`
+ TargetDiffForToBeMerged *HostApplyProfile `xml:"targetDiffForToBeMerged,omitempty" json:"targetDiffForToBeMerged,omitempty"`
// The sub profiles doesn't exist in the target and will be added to
// the target at host profile composition.
- ToBeAdded *HostApplyProfile `xml:"toBeAdded,omitempty" json:"toBeAdded,omitempty" vim:"6.5"`
+ ToBeAdded *HostApplyProfile `xml:"toBeAdded,omitempty" json:"toBeAdded,omitempty"`
// The sub profiles exists in the target but not in the source and will
// be deleted from the target at host profile composition.
- ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty" json:"toBeDeleted,omitempty" vim:"6.5"`
+ ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty" json:"toBeDeleted,omitempty"`
// The sub profiles to be disabled in the target host profiles.
- ToBeDisabled *HostApplyProfile `xml:"toBeDisabled,omitempty" json:"toBeDisabled,omitempty" vim:"6.5"`
+ ToBeDisabled *HostApplyProfile `xml:"toBeDisabled,omitempty" json:"toBeDisabled,omitempty"`
// The sub profiles to be enabled in the target host profiles.
- ToBeEnabled *HostApplyProfile `xml:"toBeEnabled,omitempty" json:"toBeEnabled,omitempty" vim:"6.5"`
+ ToBeEnabled *HostApplyProfile `xml:"toBeEnabled,omitempty" json:"toBeEnabled,omitempty"`
// The sub profile to be unset ignoring compliance check
// in the target host profile.
- ToBeReenableCC *HostApplyProfile `xml:"toBeReenableCC,omitempty" json:"toBeReenableCC,omitempty" vim:"6.5"`
+ ToBeReenableCC *HostApplyProfile `xml:"toBeReenableCC,omitempty" json:"toBeReenableCC,omitempty"`
}
func init() {
- minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElement"] = "6.5"
t["HostProfileManagerCompositionValidationResultResultElement"] = reflect.TypeOf((*HostProfileManagerCompositionValidationResultResultElement)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerCompositionValidationResultResultElement"] = "6.5"
}
// The `HostProfileManagerConfigTaskList` data object
@@ -42699,10 +42929,10 @@ type HostProfileManagerConfigTaskList struct {
DynamicData
// Set of configuration changes to be applied to the host.
- ConfigSpec *HostConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty" vim:"4.0"`
+ ConfigSpec *HostConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty"`
// Description of tasks that will be performed on the host
// to carry out HostProfile application.
- TaskDescription []LocalizableMessage `xml:"taskDescription,omitempty" json:"taskDescription,omitempty" vim:"4.0"`
+ TaskDescription []LocalizableMessage `xml:"taskDescription,omitempty" json:"taskDescription,omitempty"`
// A set of requirements whose actions must be fulfilled before and/or
// after the task list is applied on an ESXi host, e.g.
//
@@ -42715,8 +42945,8 @@ type HostProfileManagerConfigTaskList struct {
}
func init() {
- minAPIVersionForType["HostProfileManagerConfigTaskList"] = "4.0"
t["HostProfileManagerConfigTaskList"] = reflect.TypeOf((*HostProfileManagerConfigTaskList)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerConfigTaskList"] = "4.0"
}
// Data class for HostSystem
-AnswerFileCreateSpec
@@ -42727,14 +42957,14 @@ type HostProfileManagerHostToConfigSpecMap struct {
// The host
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The corresponding AnswerFileCreateSpec
.
- ConfigSpec BaseAnswerFileCreateSpec `xml:"configSpec,typeattr" json:"configSpec" vim:"6.5"`
+ ConfigSpec BaseAnswerFileCreateSpec `xml:"configSpec,typeattr" json:"configSpec"`
}
func init() {
- minAPIVersionForType["HostProfileManagerHostToConfigSpecMap"] = "6.5"
t["HostProfileManagerHostToConfigSpecMap"] = reflect.TypeOf((*HostProfileManagerHostToConfigSpecMap)(nil)).Elem()
+ minAPIVersionForType["HostProfileManagerHostToConfigSpecMap"] = "6.5"
}
type HostProfileResetValidationState HostProfileResetValidationStateRequestType
@@ -42768,7 +42998,7 @@ type HostProfileSerializedHostProfileSpec struct {
// the profile is intended to be used.
//
// Refers instance of `HostSystem`.
- ValidatorHost *ManagedObjectReference `xml:"validatorHost,omitempty" json:"validatorHost,omitempty" vim:"5.0"`
+ ValidatorHost *ManagedObjectReference `xml:"validatorHost,omitempty" json:"validatorHost,omitempty"`
// If "false", then the host profile will be saved without being validated.
//
// The default if not specified is "true".
@@ -42778,8 +43008,8 @@ type HostProfileSerializedHostProfileSpec struct {
}
func init() {
- minAPIVersionForType["HostProfileSerializedHostProfileSpec"] = "5.0"
t["HostProfileSerializedHostProfileSpec"] = reflect.TypeOf((*HostProfileSerializedHostProfileSpec)(nil)).Elem()
+ minAPIVersionForType["HostProfileSerializedHostProfileSpec"] = "5.0"
}
// This defines the validation result for the host profile.
@@ -42787,29 +43017,29 @@ type HostProfileValidationFailureInfo struct {
DynamicData
// The name of host profile to be validated.
- Name string `xml:"name" json:"name" vim:"6.7"`
+ Name string `xml:"name" json:"name"`
// Host profile annotation at update.
- Annotation string `xml:"annotation" json:"annotation" vim:"6.7"`
+ Annotation string `xml:"annotation" json:"annotation"`
// Host profile update type.
//
// See the enumerate class
// UpdateType
above for the valid values.
- UpdateType string `xml:"updateType" json:"updateType" vim:"6.7"`
+ UpdateType string `xml:"updateType" json:"updateType"`
// The host where the host profile is updated from.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.7"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The host configuration after validation.
- ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty" vim:"6.7"`
+ ApplyProfile *HostApplyProfile `xml:"applyProfile,omitempty" json:"applyProfile,omitempty"`
// List of failures in the host profile configuration.
- Failures []ProfileUpdateFailedUpdateFailure `xml:"failures,omitempty" json:"failures,omitempty" vim:"6.7"`
+ Failures []ProfileUpdateFailedUpdateFailure `xml:"failures,omitempty" json:"failures,omitempty"`
// The MethodFault
s happened at validation.
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"6.7"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
- minAPIVersionForType["HostProfileValidationFailureInfo"] = "6.7"
t["HostProfileValidationFailureInfo"] = reflect.TypeOf((*HostProfileValidationFailureInfo)(nil)).Elem()
+ minAPIVersionForType["HostProfileValidationFailureInfo"] = "6.7"
}
// Data type used to contain a representation of host or cluster customization
@@ -42822,8 +43052,8 @@ type HostProfilesEntityCustomizations struct {
}
func init() {
- minAPIVersionForType["HostProfilesEntityCustomizations"] = "6.5"
t["HostProfilesEntityCustomizations"] = reflect.TypeOf((*HostProfilesEntityCustomizations)(nil)).Elem()
+ minAPIVersionForType["HostProfilesEntityCustomizations"] = "6.5"
}
// ProtocolEndpoint is configured LUN or NFS directory
@@ -42836,24 +43066,24 @@ type HostProtocolEndpoint struct {
//
// Type of ProtocolEndpoint
// See `HostProtocolEndpointPEType_enum`
- PeType string `xml:"peType" json:"peType" vim:"6.0"`
+ PeType string `xml:"peType" json:"peType"`
// Type of ProtocolEndpoint
// See `HostProtocolEndpointProtocolEndpointType_enum`
Type string `xml:"type,omitempty" json:"type,omitempty" vim:"6.5"`
// Identifier for PE assigned by VASA Provider
- Uuid string `xml:"uuid" json:"uuid" vim:"6.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Set of ESX hosts which can see the same PE
//
// Refers instances of `HostSystem`.
- HostKey []ManagedObjectReference `xml:"hostKey,omitempty" json:"hostKey,omitempty" vim:"6.0"`
+ HostKey []ManagedObjectReference `xml:"hostKey,omitempty" json:"hostKey,omitempty"`
// Associated Storage Array
- StorageArray string `xml:"storageArray,omitempty" json:"storageArray,omitempty" vim:"6.0"`
+ StorageArray string `xml:"storageArray,omitempty" json:"storageArray,omitempty"`
// NFSv3 and NFSv4x PE will contain information about NFS Server
// For NFSv4x this field may contain comma separated list of IP addresses
// which are associated with the NFS Server
- NfsServer string `xml:"nfsServer,omitempty" json:"nfsServer,omitempty" vim:"6.0"`
+ NfsServer string `xml:"nfsServer,omitempty" json:"nfsServer,omitempty"`
// NFSv3 and NFSv4x PE will contain information about NFS directory
- NfsDir string `xml:"nfsDir,omitempty" json:"nfsDir,omitempty" vim:"6.0"`
+ NfsDir string `xml:"nfsDir,omitempty" json:"nfsDir,omitempty"`
// NFSv4x PE will contain information about NFSv4x Server Scope
NfsServerScope string `xml:"nfsServerScope,omitempty" json:"nfsServerScope,omitempty" vim:"6.5"`
// NFSv4x PE will contain information about NFSv4x Server Major
@@ -42863,12 +43093,12 @@ type HostProtocolEndpoint struct {
// NFSv4x PE will contain information about NFSv4x Server User
NfsServerUser string `xml:"nfsServerUser,omitempty" json:"nfsServerUser,omitempty" vim:"6.5"`
// SCSI PE will contain information about SCSI device ID
- DeviceId string `xml:"deviceId,omitempty" json:"deviceId,omitempty" vim:"6.0"`
+ DeviceId string `xml:"deviceId,omitempty" json:"deviceId,omitempty"`
}
func init() {
- minAPIVersionForType["HostProtocolEndpoint"] = "6.0"
t["HostProtocolEndpoint"] = reflect.TypeOf((*HostProtocolEndpoint)(nil)).Elem()
+ minAPIVersionForType["HostProtocolEndpoint"] = "6.0"
}
// The HostProxySwitch is a software entity which represents the component
@@ -42878,32 +43108,32 @@ type HostProxySwitch struct {
// The uuid of the DistributedVirtualSwitch that the HostProxySwitch
// is a part of.
- DvsUuid string `xml:"dvsUuid" json:"dvsUuid" vim:"4.0"`
+ DvsUuid string `xml:"dvsUuid" json:"dvsUuid"`
// The name of the DistributedVirtualSwitch that the HostProxySwitch
// is part of.
- DvsName string `xml:"dvsName" json:"dvsName" vim:"4.0"`
+ DvsName string `xml:"dvsName" json:"dvsName"`
// The proxy switch key.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// The number of ports that this switch currently has.
- NumPorts int32 `xml:"numPorts" json:"numPorts" vim:"4.0"`
+ NumPorts int32 `xml:"numPorts" json:"numPorts"`
// The configured number of ports that this switch has.
//
// If configured number of ports is changed,
// a host reboot is required for the new value to take effect.
ConfigNumPorts int32 `xml:"configNumPorts,omitempty" json:"configNumPorts,omitempty" vim:"5.0"`
// The number of ports that are available on this virtual switch.
- NumPortsAvailable int32 `xml:"numPortsAvailable" json:"numPortsAvailable" vim:"4.0"`
+ NumPortsAvailable int32 `xml:"numPortsAvailable" json:"numPortsAvailable"`
// The list of ports that can be potentially used by physical nics.
//
// This property contains the keys and names of such ports.
- UplinkPort []KeyValue `xml:"uplinkPort,omitempty" json:"uplinkPort,omitempty" vim:"4.0"`
+ UplinkPort []KeyValue `xml:"uplinkPort,omitempty" json:"uplinkPort,omitempty"`
// The maximum transmission unit (MTU) associated with this switch
// in bytes.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"4.0"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
// The set of physical network adapters associated with this switch.
- Pnic []string `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"4.0"`
+ Pnic []string `xml:"pnic,omitempty" json:"pnic,omitempty"`
// The specification of the switch.
- Spec HostProxySwitchSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec HostProxySwitchSpec `xml:"spec" json:"spec"`
// The Link Aggregation Control Protocol group and
// Uplink ports in the group.
HostLag []HostProxySwitchHostLagConfig `xml:"hostLag,omitempty" json:"hostLag,omitempty" vim:"5.5"`
@@ -42924,17 +43154,17 @@ type HostProxySwitch struct {
// Additional information regarding the NSX-T proxy switch status
NsxtStatusDetail string `xml:"nsxtStatusDetail,omitempty" json:"nsxtStatusDetail,omitempty" vim:"7.0"`
// ENS Status From VmKernal.
- EnsInfo *HostProxySwitchEnsInfo `xml:"ensInfo,omitempty" json:"ensInfo,omitempty"`
+ EnsInfo *HostProxySwitchEnsInfo `xml:"ensInfo,omitempty" json:"ensInfo,omitempty" vim:"8.0.0.1"`
// Indicate if network offloading is enabled on the proxy switch of
// this host.
//
// Unset implies that network offloading is disabled.
- NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled" json:"networkOffloadingEnabled,omitempty"`
+ NetworkOffloadingEnabled *bool `xml:"networkOffloadingEnabled" json:"networkOffloadingEnabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["HostProxySwitch"] = "4.0"
t["HostProxySwitch"] = reflect.TypeOf((*HostProxySwitch)(nil)).Elem()
+ minAPIVersionForType["HostProxySwitch"] = "4.0"
}
// This data object type describes the HostProxySwitch configuration
@@ -42951,17 +43181,17 @@ type HostProxySwitchConfig struct {
// - `remove`
//
// See also `HostConfigChangeOperation_enum`.
- ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty" vim:"4.0"`
+ ChangeOperation string `xml:"changeOperation,omitempty" json:"changeOperation,omitempty"`
// The uuid of the DistributedVirtualSwitch that the HostProxySwitch
// is a part of.
- Uuid string `xml:"uuid" json:"uuid" vim:"4.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// The specification of the HostProxySwitch.
- Spec *HostProxySwitchSpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"4.0"`
+ Spec *HostProxySwitchSpec `xml:"spec,omitempty" json:"spec,omitempty"`
}
func init() {
- minAPIVersionForType["HostProxySwitchConfig"] = "4.0"
t["HostProxySwitchConfig"] = reflect.TypeOf((*HostProxySwitchConfig)(nil)).Elem()
+ minAPIVersionForType["HostProxySwitchConfig"] = "4.0"
}
// This data object type describes
@@ -42983,6 +43213,7 @@ type HostProxySwitchEnsInfo struct {
func init() {
t["HostProxySwitchEnsInfo"] = reflect.TypeOf((*HostProxySwitchEnsInfo)(nil)).Elem()
+ minAPIVersionForType["HostProxySwitchEnsInfo"] = "8.0.0.1"
}
// This data object type describes the set of Uplink Ports in
@@ -42995,12 +43226,12 @@ type HostProxySwitchHostLagConfig struct {
// The list of Uplink Ports in the Link Aggregation Control Protocol group.
//
// This property contains the keys and names of such ports.
- UplinkPort []KeyValue `xml:"uplinkPort,omitempty" json:"uplinkPort,omitempty" vim:"5.5"`
+ UplinkPort []KeyValue `xml:"uplinkPort,omitempty" json:"uplinkPort,omitempty"`
}
func init() {
- minAPIVersionForType["HostProxySwitchHostLagConfig"] = "5.5"
t["HostProxySwitchHostLagConfig"] = reflect.TypeOf((*HostProxySwitchHostLagConfig)(nil)).Elem()
+ minAPIVersionForType["HostProxySwitchHostLagConfig"] = "5.5"
}
// This data object type describes the HostProxySwitch specification
@@ -43011,12 +43242,12 @@ type HostProxySwitchSpec struct {
// The specification describes how physical network adapters
// are bridged to the switch.
- Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty" vim:"4.0"`
+ Backing BaseDistributedVirtualSwitchHostMemberBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty"`
}
func init() {
- minAPIVersionForType["HostProxySwitchSpec"] = "4.0"
t["HostProxySwitchSpec"] = reflect.TypeOf((*HostProxySwitchSpec)(nil)).Elem()
+ minAPIVersionForType["HostProxySwitchSpec"] = "4.0"
}
// Configuration information for the host PTP (Precision Time
@@ -43028,16 +43259,16 @@ type HostPtpConfig struct {
//
// Supported
// values are in the range 0-255.
- Domain int32 `xml:"domain,omitempty" json:"domain,omitempty" vim:"7.0.3.0"`
+ Domain int32 `xml:"domain,omitempty" json:"domain,omitempty"`
// List of PTP port configurations.
//
// See `HostPtpConfigPtpPort`.
- Port []HostPtpConfigPtpPort `xml:"port,omitempty" json:"port,omitempty" vim:"7.0.3.0"`
+ Port []HostPtpConfigPtpPort `xml:"port,omitempty" json:"port,omitempty"`
}
func init() {
- minAPIVersionForType["HostPtpConfig"] = "7.0.3.0"
t["HostPtpConfig"] = reflect.TypeOf((*HostPtpConfig)(nil)).Elem()
+ minAPIVersionForType["HostPtpConfig"] = "7.0.3.0"
}
// Configuration of a PTP port, a logical entity providing an
@@ -43050,13 +43281,13 @@ type HostPtpConfigPtpPort struct {
//
// Supported values are in the
// range 0 through `HostCapability.maxSupportedPtpPorts`-1.
- Index int32 `xml:"index" json:"index" vim:"7.0.3.0"`
+ Index int32 `xml:"index" json:"index"`
// Type of network device to be used with this port.
//
// See `HostPtpConfigDeviceType_enum` for supported values. A device type
// of `none` indicates that this port is
// inactive.
- DeviceType string `xml:"deviceType,omitempty" json:"deviceType,omitempty" vim:"7.0.3.0"`
+ DeviceType string `xml:"deviceType,omitempty" json:"deviceType,omitempty"`
// Name of PTP capable network device to be used with this port.
//
// Supported values depend on the type of network device used.
@@ -43066,7 +43297,7 @@ type HostPtpConfigPtpPort struct {
// PCI device ID composed of "bus:slot.function", enabled for
// PCI passthru. See `HostPciPassthruInfo`.
// For `none` this field is ignored.
- Device string `xml:"device,omitempty" json:"device,omitempty" vim:"7.0.3.0"`
+ Device string `xml:"device,omitempty" json:"device,omitempty"`
// IP configuration of this port.
//
// For `pciPassthruNic`, this field reflects
@@ -43075,12 +43306,12 @@ type HostPtpConfigPtpPort struct {
// IP configuration, but it cannot be set. To configure IP settings
// of a virtual NIC, see `HostVirtualNic`.
// For `none`, this field is ignored.
- IpConfig *HostIpConfig `xml:"ipConfig,omitempty" json:"ipConfig,omitempty" vim:"7.0.3.0"`
+ IpConfig *HostIpConfig `xml:"ipConfig,omitempty" json:"ipConfig,omitempty"`
}
func init() {
- minAPIVersionForType["HostPtpConfigPtpPort"] = "7.0.3.0"
t["HostPtpConfigPtpPort"] = reflect.TypeOf((*HostPtpConfigPtpPort)(nil)).Elem()
+ minAPIVersionForType["HostPtpConfigPtpPort"] = "7.0.3.0"
}
// This data object describes a qualified name of the host used to
@@ -43089,16 +43320,16 @@ type HostQualifiedName struct {
DynamicData
// The qualified name.
- Value string `xml:"value" json:"value" vim:"7.0.3.0"`
+ Value string `xml:"value" json:"value"`
// The type of the qualified name.
//
// The list of supported values is specified in `HostQualifiedNameType_enum`.
- Type string `xml:"type" json:"type" vim:"7.0.3.0"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["HostQualifiedName"] = "7.0.3.0"
t["HostQualifiedName"] = reflect.TypeOf((*HostQualifiedName)(nil)).Elem()
+ minAPIVersionForType["HostQualifiedName"] = "7.0.3.0"
}
// This data object represents a Remote Direct Memory Access
@@ -43107,26 +43338,26 @@ type HostRdmaDevice struct {
DynamicData
// The linkable identifier.
- Key string `xml:"key" json:"key" vim:"7.0"`
+ Key string `xml:"key" json:"key"`
// The device name of the RDMA device.
- Device string `xml:"device" json:"device" vim:"7.0"`
+ Device string `xml:"device" json:"device"`
// The short string name of the device driver, if available.
- Driver string `xml:"driver,omitempty" json:"driver,omitempty" vim:"7.0"`
+ Driver string `xml:"driver,omitempty" json:"driver,omitempty"`
// Device description, if available.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"7.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// If set, represents the physical backing for the RDMA device.
//
// Not all RDMA devices are required to have a physical backing.
- Backing BaseHostRdmaDeviceBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty" vim:"7.0"`
+ Backing BaseHostRdmaDeviceBacking `xml:"backing,omitempty,typeattr" json:"backing,omitempty"`
// Current device connection state.
- ConnectionInfo HostRdmaDeviceConnectionInfo `xml:"connectionInfo" json:"connectionInfo" vim:"7.0"`
+ ConnectionInfo HostRdmaDeviceConnectionInfo `xml:"connectionInfo" json:"connectionInfo"`
// Supported capabilies of the RDMA device.
- Capability HostRdmaDeviceCapability `xml:"capability" json:"capability" vim:"7.0"`
+ Capability HostRdmaDeviceCapability `xml:"capability" json:"capability"`
}
func init() {
- minAPIVersionForType["HostRdmaDevice"] = "7.0"
t["HostRdmaDevice"] = reflect.TypeOf((*HostRdmaDevice)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDevice"] = "7.0"
}
// This data object represents the physical
@@ -43136,8 +43367,8 @@ type HostRdmaDeviceBacking struct {
}
func init() {
- minAPIVersionForType["HostRdmaDeviceBacking"] = "7.0"
t["HostRdmaDeviceBacking"] = reflect.TypeOf((*HostRdmaDeviceBacking)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDeviceBacking"] = "7.0"
}
// Represents device capabilies, e.g.
@@ -43147,16 +43378,16 @@ type HostRdmaDeviceCapability struct {
DynamicData
// Indicates whether ROCEv1 is supported by the device.
- RoceV1Capable bool `xml:"roceV1Capable" json:"roceV1Capable" vim:"7.0"`
+ RoceV1Capable bool `xml:"roceV1Capable" json:"roceV1Capable"`
// Indicates whether ROCEv2 is supported by the device.
- RoceV2Capable bool `xml:"roceV2Capable" json:"roceV2Capable" vim:"7.0"`
+ RoceV2Capable bool `xml:"roceV2Capable" json:"roceV2Capable"`
// Indicates whether iWARP is supported by the device.
- IWarpCapable bool `xml:"iWarpCapable" json:"iWarpCapable" vim:"7.0"`
+ IWarpCapable bool `xml:"iWarpCapable" json:"iWarpCapable"`
}
func init() {
- minAPIVersionForType["HostRdmaDeviceCapability"] = "7.0"
t["HostRdmaDeviceCapability"] = reflect.TypeOf((*HostRdmaDeviceCapability)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDeviceCapability"] = "7.0"
}
// Represents connection information for the RDMA device.
@@ -43167,16 +43398,16 @@ type HostRdmaDeviceConnectionInfo struct {
//
// The set of possible values
// is described in `HostRdmaDeviceConnectionState_enum`.
- State string `xml:"state" json:"state" vim:"7.0"`
+ State string `xml:"state" json:"state"`
// Maximum Transmission Unit in bytes.
- Mtu int32 `xml:"mtu" json:"mtu" vim:"7.0"`
+ Mtu int32 `xml:"mtu" json:"mtu"`
// Bit rate in Mbps.
- SpeedInMbps int32 `xml:"speedInMbps" json:"speedInMbps" vim:"7.0"`
+ SpeedInMbps int32 `xml:"speedInMbps" json:"speedInMbps"`
}
func init() {
- minAPIVersionForType["HostRdmaDeviceConnectionInfo"] = "7.0"
t["HostRdmaDeviceConnectionInfo"] = reflect.TypeOf((*HostRdmaDeviceConnectionInfo)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDeviceConnectionInfo"] = "7.0"
}
// This data object represents a physical NIC backing
@@ -43192,12 +43423,12 @@ type HostRdmaDevicePnicBacking struct {
HostRdmaDeviceBacking
// The associated physical NIC
- PairedUplink string `xml:"pairedUplink" json:"pairedUplink" vim:"7.0"`
+ PairedUplink string `xml:"pairedUplink" json:"pairedUplink"`
}
func init() {
- minAPIVersionForType["HostRdmaDevicePnicBacking"] = "7.0"
t["HostRdmaDevicePnicBacking"] = reflect.TypeOf((*HostRdmaDevicePnicBacking)(nil)).Elem()
+ minAPIVersionForType["HostRdmaDevicePnicBacking"] = "7.0"
}
// This data object describes the Remote Direct Memory Access
@@ -43209,12 +43440,12 @@ type HostRdmaHba struct {
//
// Should match the `HostRdmaDevice.device` property
// of the corresponding RDMA device.
- AssociatedRdmaDevice string `xml:"associatedRdmaDevice,omitempty" json:"associatedRdmaDevice,omitempty" vim:"7.0"`
+ AssociatedRdmaDevice string `xml:"associatedRdmaDevice,omitempty" json:"associatedRdmaDevice,omitempty"`
}
func init() {
- minAPIVersionForType["HostRdmaHba"] = "7.0"
t["HostRdmaHba"] = reflect.TypeOf((*HostRdmaHba)(nil)).Elem()
+ minAPIVersionForType["HostRdmaHba"] = "7.0"
}
// Remote Direct Memory Access (RDMA) transport
@@ -43224,8 +43455,8 @@ type HostRdmaTargetTransport struct {
}
func init() {
- minAPIVersionForType["HostRdmaTargetTransport"] = "7.0"
t["HostRdmaTargetTransport"] = reflect.TypeOf((*HostRdmaTargetTransport)(nil)).Elem()
+ minAPIVersionForType["HostRdmaTargetTransport"] = "7.0"
}
// The parameters of `HostVStorageObjectManager.HostReconcileDatastoreInventory_Task`.
@@ -43275,6 +43506,8 @@ type HostRegisterDiskRequestType struct {
// unset the name will be automatically determined
// from the path. @see vim.vslm.BaseConfigInfo#name
Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // Optional Parameter describing if the control Flags should be changed to default values
+ ModifyControlFlags *bool `xml:"modifyControlFlags" json:"modifyControlFlags,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -43293,15 +43526,15 @@ type HostReliableMemoryInfo struct {
}
func init() {
- minAPIVersionForType["HostReliableMemoryInfo"] = "5.5"
t["HostReliableMemoryInfo"] = reflect.TypeOf((*HostReliableMemoryInfo)(nil)).Elem()
+ minAPIVersionForType["HostReliableMemoryInfo"] = "5.5"
}
// The parameters of `HostVStorageObjectManager.HostRelocateVStorageObject_Task`.
type HostRelocateVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -43309,7 +43542,7 @@ type HostRelocateVStorageObjectRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The specification for relocation of the virtual
// storage object.
- Spec VslmRelocateSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmRelocateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -43362,7 +43595,7 @@ func init() {
type HostRenameVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be renamed.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -43400,17 +43633,17 @@ type HostResignatureRescanResult struct {
// the new volume is mounted on all of the connected hosts.
//
// List of VMFS Rescan operation results.
- Rescan []HostVmfsRescanResult `xml:"rescan,omitempty" json:"rescan,omitempty" vim:"4.0"`
+ Rescan []HostVmfsRescanResult `xml:"rescan,omitempty" json:"rescan,omitempty"`
// When an UnresolvedVmfsVolume has been resignatured, we want to return the
// newly created VMFS Datastore.
//
// Refers instance of `Datastore`.
- Result ManagedObjectReference `xml:"result" json:"result" vim:"4.0"`
+ Result ManagedObjectReference `xml:"result" json:"result"`
}
func init() {
- minAPIVersionForType["HostResignatureRescanResult"] = "4.0"
t["HostResignatureRescanResult"] = reflect.TypeOf((*HostResignatureRescanResult)(nil)).Elem()
+ minAPIVersionForType["HostResignatureRescanResult"] = "4.0"
}
type HostRetrieveVStorageInfrastructureObjectPolicy HostRetrieveVStorageInfrastructureObjectPolicyRequestType
@@ -43452,13 +43685,13 @@ func init() {
type HostRetrieveVStorageObjectMetadataRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore to query for the virtual storage objects.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of virtual storage object.
- SnapshotId *ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty" vim:"6.5"`
+ SnapshotId *ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
// The prefix of the metadata key that needs to be retrieved
Prefix string `xml:"prefix,omitempty" json:"prefix,omitempty"`
}
@@ -43481,13 +43714,13 @@ func init() {
type HostRetrieveVStorageObjectMetadataValueRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore to query for the virtual storage objects.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of virtual storage object.
- SnapshotId *ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty" vim:"6.5"`
+ SnapshotId *ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
// The key for the the virtual storage object
Key string `xml:"key" json:"key"`
}
@@ -43504,7 +43737,7 @@ type HostRetrieveVStorageObjectMetadataValueResponse struct {
type HostRetrieveVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be retrieved.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -43515,7 +43748,7 @@ type HostRetrieveVStorageObjectRequestType struct {
// information will be retrieved. See
// `vslmDiskInfoFlag_enum` for the list of
// supported values.
- DiskInfoFlags []string `xml:"diskInfoFlags,omitempty" json:"diskInfoFlags,omitempty"`
+ DiskInfoFlags []string `xml:"diskInfoFlags,omitempty" json:"diskInfoFlags,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -43536,7 +43769,7 @@ func init() {
type HostRetrieveVStorageObjectStateRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object the state to be retrieved.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -43649,22 +43882,22 @@ type HostRuntimeInfoNetStackInstanceRuntimeInfo struct {
DynamicData
// Key of the instance
- NetStackInstanceKey string `xml:"netStackInstanceKey" json:"netStackInstanceKey" vim:"5.5"`
+ NetStackInstanceKey string `xml:"netStackInstanceKey" json:"netStackInstanceKey"`
// State of the instance
// See `HostRuntimeInfoNetStackInstanceRuntimeInfoState_enum` for valid values.
- State string `xml:"state,omitempty" json:"state,omitempty" vim:"5.5"`
+ State string `xml:"state,omitempty" json:"state,omitempty"`
// The keys of vmknics that are using this stack
- VmknicKeys []string `xml:"vmknicKeys,omitempty" json:"vmknicKeys,omitempty" vim:"5.5"`
+ VmknicKeys []string `xml:"vmknicKeys,omitempty" json:"vmknicKeys,omitempty"`
// The maximum number of socket connections can be worked on this
// instance currently after booting up.
- MaxNumberOfConnections int32 `xml:"maxNumberOfConnections,omitempty" json:"maxNumberOfConnections,omitempty" vim:"5.5"`
+ MaxNumberOfConnections int32 `xml:"maxNumberOfConnections,omitempty" json:"maxNumberOfConnections,omitempty"`
// If true then dual IPv4/IPv6 stack enabled else IPv4 only.
- CurrentIpV6Enabled *bool `xml:"currentIpV6Enabled" json:"currentIpV6Enabled,omitempty" vim:"5.5"`
+ CurrentIpV6Enabled *bool `xml:"currentIpV6Enabled" json:"currentIpV6Enabled,omitempty"`
}
func init() {
- minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfo"] = "5.5"
t["HostRuntimeInfoNetStackInstanceRuntimeInfo"] = reflect.TypeOf((*HostRuntimeInfoNetStackInstanceRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoNetStackInstanceRuntimeInfo"] = "5.5"
}
// This data type describes network related runtime info
@@ -43672,14 +43905,14 @@ type HostRuntimeInfoNetworkRuntimeInfo struct {
DynamicData
// The list of network stack runtime info
- NetStackInstanceRuntimeInfo []HostRuntimeInfoNetStackInstanceRuntimeInfo `xml:"netStackInstanceRuntimeInfo,omitempty" json:"netStackInstanceRuntimeInfo,omitempty" vim:"5.5"`
+ NetStackInstanceRuntimeInfo []HostRuntimeInfoNetStackInstanceRuntimeInfo `xml:"netStackInstanceRuntimeInfo,omitempty" json:"netStackInstanceRuntimeInfo,omitempty"`
// The network resource runtime information
NetworkResourceRuntime *HostNetworkResourceRuntime `xml:"networkResourceRuntime,omitempty" json:"networkResourceRuntime,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["HostRuntimeInfoNetworkRuntimeInfo"] = "5.5"
t["HostRuntimeInfoNetworkRuntimeInfo"] = reflect.TypeOf((*HostRuntimeInfoNetworkRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoNetworkRuntimeInfo"] = "5.5"
}
// This data type describes the host's persistent state encryption.
@@ -43690,18 +43923,18 @@ type HostRuntimeInfoStateEncryptionInfo struct {
//
// The host state is encrypted with a key that is protected using
// one of the modes specified by `HostRuntimeInfoStateEncryptionInfoProtectionMode_enum`.
- ProtectionMode string `xml:"protectionMode" json:"protectionMode" vim:"7.0.3.0"`
+ ProtectionMode string `xml:"protectionMode" json:"protectionMode"`
// Indicates if UEFI Secure Boot must be enabled in order for the
// state encryption key to be accessible.
- RequireSecureBoot *bool `xml:"requireSecureBoot" json:"requireSecureBoot,omitempty" vim:"7.0.3.0"`
+ RequireSecureBoot *bool `xml:"requireSecureBoot" json:"requireSecureBoot,omitempty"`
// Indicates if the "execInstalledOnly" enforcement must be active
// for the state encryption key to be accessible.
- RequireExecInstalledOnly *bool `xml:"requireExecInstalledOnly" json:"requireExecInstalledOnly,omitempty" vim:"7.0.3.0"`
+ RequireExecInstalledOnly *bool `xml:"requireExecInstalledOnly" json:"requireExecInstalledOnly,omitempty"`
}
func init() {
- minAPIVersionForType["HostRuntimeInfoStateEncryptionInfo"] = "7.0.3.0"
t["HostRuntimeInfoStateEncryptionInfo"] = reflect.TypeOf((*HostRuntimeInfoStateEncryptionInfo)(nil)).Elem()
+ minAPIVersionForType["HostRuntimeInfoStateEncryptionInfo"] = "7.0.3.0"
}
type HostScheduleReconcileDatastoreInventory HostScheduleReconcileDatastoreInventoryRequestType
@@ -43893,7 +44126,7 @@ type HostSecuritySpec struct {
DynamicData
// Administrator password to configure
- AdminPassword string `xml:"adminPassword,omitempty" json:"adminPassword,omitempty" vim:"4.0"`
+ AdminPassword string `xml:"adminPassword,omitempty" json:"adminPassword,omitempty"`
// Permissions to remove
RemovePermission []Permission `xml:"removePermission,omitempty" json:"removePermission,omitempty" vim:"4.1"`
// Permissions to add
@@ -43901,8 +44134,8 @@ type HostSecuritySpec struct {
}
func init() {
- minAPIVersionForType["HostSecuritySpec"] = "4.0"
t["HostSecuritySpec"] = reflect.TypeOf((*HostSecuritySpec)(nil)).Elem()
+ minAPIVersionForType["HostSecuritySpec"] = "4.0"
}
// The data object type describes the
@@ -43911,12 +44144,12 @@ type HostSerialAttachedHba struct {
HostHostBusAdapter
// The world wide node name for the adapter.
- NodeWorldWideName string `xml:"nodeWorldWideName" json:"nodeWorldWideName" vim:"6.5"`
+ NodeWorldWideName string `xml:"nodeWorldWideName" json:"nodeWorldWideName"`
}
func init() {
- minAPIVersionForType["HostSerialAttachedHba"] = "6.5"
t["HostSerialAttachedHba"] = reflect.TypeOf((*HostSerialAttachedHba)(nil)).Elem()
+ minAPIVersionForType["HostSerialAttachedHba"] = "6.5"
}
// Serial attached adapter transport information about a SCSI target.
@@ -43925,8 +44158,8 @@ type HostSerialAttachedTargetTransport struct {
}
func init() {
- minAPIVersionForType["HostSerialAttachedTargetTransport"] = "6.5"
t["HostSerialAttachedTargetTransport"] = reflect.TypeOf((*HostSerialAttachedTargetTransport)(nil)).Elem()
+ minAPIVersionForType["HostSerialAttachedTargetTransport"] = "6.5"
}
// Data object that describes a single service that runs on the host.
@@ -43968,16 +44201,16 @@ type HostServiceConfig struct {
DynamicData
// Key of the service to configure.
- ServiceId string `xml:"serviceId" json:"serviceId" vim:"4.0"`
+ ServiceId string `xml:"serviceId" json:"serviceId"`
// Startup policy which defines how the service be configured.
//
// See @link Service.Policy for possible values.
- StartupPolicy string `xml:"startupPolicy" json:"startupPolicy" vim:"4.0"`
+ StartupPolicy string `xml:"startupPolicy" json:"startupPolicy"`
}
func init() {
- minAPIVersionForType["HostServiceConfig"] = "4.0"
t["HostServiceConfig"] = reflect.TypeOf((*HostServiceConfig)(nil)).Elem()
+ minAPIVersionForType["HostServiceConfig"] = "4.0"
}
// Data object describing the host service configuration.
@@ -43996,9 +44229,9 @@ type HostServiceSourcePackage struct {
DynamicData
// The name of the source package
- SourcePackageName string `xml:"sourcePackageName" json:"sourcePackageName" vim:"5.0"`
+ SourcePackageName string `xml:"sourcePackageName" json:"sourcePackageName"`
// The description of the source package
- Description string `xml:"description" json:"description" vim:"5.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
@@ -44075,7 +44308,7 @@ func init() {
type HostSetVStorageObjectControlFlagsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -44103,9 +44336,9 @@ type HostSevInfo struct {
//
// The set of supported values are described
// in `HostSevInfoSevState_enum`.
- SevState string `xml:"sevState" json:"sevState" vim:"7.0.1.0"`
- // The maximum number of SEV-ES guests supported on this host.
- MaxSevEsGuests int64 `xml:"maxSevEsGuests" json:"maxSevEsGuests" vim:"7.0.1.0"`
+ SevState string `xml:"sevState" json:"sevState"`
+ // The maximum number of SEV-ES and SEV-SNP guests supported on this host.
+ MaxSevEsGuests int64 `xml:"maxSevEsGuests" json:"maxSevEsGuests"`
}
func init() {
@@ -44121,27 +44354,27 @@ type HostSgxInfo struct {
//
// The set of supported values are described
// in `HostSgxInfoSgxStates_enum`.
- SgxState string `xml:"sgxState" json:"sgxState" vim:"7.0"`
+ SgxState string `xml:"sgxState" json:"sgxState"`
// Size of physical EPC in bytes.
- TotalEpcMemory int64 `xml:"totalEpcMemory" json:"totalEpcMemory" vim:"7.0"`
+ TotalEpcMemory int64 `xml:"totalEpcMemory" json:"totalEpcMemory"`
// FLC mode of the host.
//
// The set of supported values are
// described in `HostSgxInfoFlcModes_enum`.
- FlcMode string `xml:"flcMode" json:"flcMode" vim:"7.0"`
+ FlcMode string `xml:"flcMode" json:"flcMode"`
// Public key hash of the provider launch enclave.
//
// This is the SHA256
// digest of the SIGSTRUCT.MODULUS(MR\_SIGNER) of the provider launch
// enclave. This attribute is set only if attribute flcMode is
// locked.
- LePubKeyHash string `xml:"lePubKeyHash,omitempty" json:"lePubKeyHash,omitempty" vim:"7.0"`
+ LePubKeyHash string `xml:"lePubKeyHash,omitempty" json:"lePubKeyHash,omitempty"`
RegistrationInfo *HostSgxRegistrationInfo `xml:"registrationInfo,omitempty" json:"registrationInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HostSgxInfo"] = "7.0"
t["HostSgxInfo"] = reflect.TypeOf((*HostSgxInfo)(nil)).Elem()
+ minAPIVersionForType["HostSgxInfo"] = "7.0"
}
// Data object describing SGX host registration information.
@@ -44183,6 +44416,7 @@ type HostSgxRegistrationInfo struct {
func init() {
t["HostSgxRegistrationInfo"] = reflect.TypeOf((*HostSgxRegistrationInfo)(nil)).Elem()
+ minAPIVersionForType["HostSgxRegistrationInfo"] = "8.0.0.1"
}
// Capability vector indicating the available shared graphics features.
@@ -44192,27 +44426,27 @@ type HostSharedGpuCapabilities struct {
// Name of a particular VGPU available as a shared GPU device.
//
// See also `VirtualMachinePciSharedGpuPassthroughInfo`.
- Vgpu string `xml:"vgpu" json:"vgpu" vim:"6.7"`
+ Vgpu string `xml:"vgpu" json:"vgpu"`
// Indicates whether the GPU plugin on this host is capable of
// disk-only snapshots when VM is not powered off.
//
// Disk Snaphosts
// on powered off VM are always supported.
- DiskSnapshotSupported bool `xml:"diskSnapshotSupported" json:"diskSnapshotSupported" vim:"6.7"`
+ DiskSnapshotSupported bool `xml:"diskSnapshotSupported" json:"diskSnapshotSupported"`
// Indicates whether the GPU plugin on this host is capable of
// memory snapshots.
- MemorySnapshotSupported bool `xml:"memorySnapshotSupported" json:"memorySnapshotSupported" vim:"6.7"`
+ MemorySnapshotSupported bool `xml:"memorySnapshotSupported" json:"memorySnapshotSupported"`
// Indicates whether the GPU plugin on this host is capable of
// suspend-resume.
- SuspendSupported bool `xml:"suspendSupported" json:"suspendSupported" vim:"6.7"`
+ SuspendSupported bool `xml:"suspendSupported" json:"suspendSupported"`
// Indicates whether the GPU plugin on this host is capable of
// migration.
- MigrateSupported bool `xml:"migrateSupported" json:"migrateSupported" vim:"6.7"`
+ MigrateSupported bool `xml:"migrateSupported" json:"migrateSupported"`
}
func init() {
- minAPIVersionForType["HostSharedGpuCapabilities"] = "6.7"
t["HostSharedGpuCapabilities"] = reflect.TypeOf((*HostSharedGpuCapabilities)(nil)).Elem()
+ minAPIVersionForType["HostSharedGpuCapabilities"] = "6.7"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -44230,8 +44464,8 @@ type HostShortNameInconsistentEvent struct {
}
func init() {
- minAPIVersionForType["HostShortNameInconsistentEvent"] = "2.5"
t["HostShortNameInconsistentEvent"] = reflect.TypeOf((*HostShortNameInconsistentEvent)(nil)).Elem()
+ minAPIVersionForType["HostShortNameInconsistentEvent"] = "2.5"
}
// Deprecated as of vSphere API 5.0, the event is no longer relevant.
@@ -44244,8 +44478,8 @@ type HostShortNameToIpFailedEvent struct {
}
func init() {
- minAPIVersionForType["HostShortNameToIpFailedEvent"] = "2.5"
t["HostShortNameToIpFailedEvent"] = reflect.TypeOf((*HostShortNameToIpFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostShortNameToIpFailedEvent"] = "2.5"
}
// This event records the shutdown of a host.
@@ -44298,13 +44532,13 @@ type HostSnmpSystemAgentLimits struct {
DynamicData
// number of allowed communities
- MaxReadOnlyCommunities int32 `xml:"maxReadOnlyCommunities" json:"maxReadOnlyCommunities" vim:"2.5"`
+ MaxReadOnlyCommunities int32 `xml:"maxReadOnlyCommunities" json:"maxReadOnlyCommunities"`
// number of allowed destinations for notifications
- MaxTrapDestinations int32 `xml:"maxTrapDestinations" json:"maxTrapDestinations" vim:"2.5"`
+ MaxTrapDestinations int32 `xml:"maxTrapDestinations" json:"maxTrapDestinations"`
// Max length of community
- MaxCommunityLength int32 `xml:"maxCommunityLength" json:"maxCommunityLength" vim:"2.5"`
+ MaxCommunityLength int32 `xml:"maxCommunityLength" json:"maxCommunityLength"`
// SNMP input buffer size
- MaxBufferSize int32 `xml:"maxBufferSize" json:"maxBufferSize" vim:"2.5"`
+ MaxBufferSize int32 `xml:"maxBufferSize" json:"maxBufferSize"`
// Supported Capability for this agent
Capability HostSnmpAgentCapability `xml:"capability,omitempty" json:"capability,omitempty" vim:"4.0"`
}
@@ -44348,20 +44582,20 @@ type HostSpecification struct {
DynamicData
// Time at which the host specification was created.
- CreatedTime time.Time `xml:"createdTime" json:"createdTime" vim:"6.5"`
+ CreatedTime time.Time `xml:"createdTime" json:"createdTime"`
// Time at which the host specification was last modified.
//
// If it isn't set,
// it is the same as createdTime
.
- LastModified *time.Time `xml:"lastModified" json:"lastModified,omitempty" vim:"6.5"`
+ LastModified *time.Time `xml:"lastModified" json:"lastModified,omitempty"`
// The host that the spec data belongs to.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The collection of the host sub specifications.
//
// It is optional.
- SubSpecs []HostSubSpecification `xml:"subSpecs,omitempty" json:"subSpecs,omitempty" vim:"6.5"`
+ SubSpecs []HostSubSpecification `xml:"subSpecs,omitempty" json:"subSpecs,omitempty"`
// The change ID for querying the host specification data updated in a
// time period.
//
@@ -44369,12 +44603,12 @@ type HostSpecification struct {
// timestamp is the decimal string of a start time, and change\_number is
// the decimal string of an auto incremented variable counting from the
// start time.
- ChangeID string `xml:"changeID,omitempty" json:"changeID,omitempty" vim:"6.5"`
+ ChangeID string `xml:"changeID,omitempty" json:"changeID,omitempty"`
}
func init() {
- minAPIVersionForType["HostSpecification"] = "6.5"
t["HostSpecification"] = reflect.TypeOf((*HostSpecification)(nil)).Elem()
+ minAPIVersionForType["HostSpecification"] = "6.5"
}
// This event records that the host specification was changed.
@@ -44383,8 +44617,8 @@ type HostSpecificationChangedEvent struct {
}
func init() {
- minAPIVersionForType["HostSpecificationChangedEvent"] = "6.5"
t["HostSpecificationChangedEvent"] = reflect.TypeOf((*HostSpecificationChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HostSpecificationChangedEvent"] = "6.5"
}
// Fault thrown when an operation, on host specification or host sub
@@ -44395,12 +44629,12 @@ type HostSpecificationOperationFailed struct {
// The host on which host specification operation failed.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.5"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
}
func init() {
- minAPIVersionForType["HostSpecificationOperationFailed"] = "6.5"
t["HostSpecificationOperationFailed"] = reflect.TypeOf((*HostSpecificationOperationFailed)(nil)).Elem()
+ minAPIVersionForType["HostSpecificationOperationFailed"] = "6.5"
}
type HostSpecificationOperationFailedFault HostSpecificationOperationFailed
@@ -44415,8 +44649,8 @@ type HostSpecificationRequireEvent struct {
}
func init() {
- minAPIVersionForType["HostSpecificationRequireEvent"] = "6.5"
t["HostSpecificationRequireEvent"] = reflect.TypeOf((*HostSpecificationRequireEvent)(nil)).Elem()
+ minAPIVersionForType["HostSpecificationRequireEvent"] = "6.5"
}
// This event suggests that update the host specification with the
@@ -44428,8 +44662,8 @@ type HostSpecificationUpdateEvent struct {
}
func init() {
- minAPIVersionForType["HostSpecificationUpdateEvent"] = "6.5"
t["HostSpecificationUpdateEvent"] = reflect.TypeOf((*HostSpecificationUpdateEvent)(nil)).Elem()
+ minAPIVersionForType["HostSpecificationUpdateEvent"] = "6.5"
}
// This data object allows configuration of SR-IOV device.
@@ -44437,14 +44671,14 @@ type HostSriovConfig struct {
HostPciPassthruConfig
// enable SR-IOV for this device
- SriovEnabled bool `xml:"sriovEnabled" json:"sriovEnabled" vim:"5.5"`
+ SriovEnabled bool `xml:"sriovEnabled" json:"sriovEnabled"`
// Number of SR-IOV virtual functions to enable on this device
- NumVirtualFunction int32 `xml:"numVirtualFunction" json:"numVirtualFunction" vim:"5.5"`
+ NumVirtualFunction int32 `xml:"numVirtualFunction" json:"numVirtualFunction"`
}
func init() {
- minAPIVersionForType["HostSriovConfig"] = "5.5"
t["HostSriovConfig"] = reflect.TypeOf((*HostSriovConfig)(nil)).Elem()
+ minAPIVersionForType["HostSriovConfig"] = "5.5"
}
type HostSriovDevicePoolInfo struct {
@@ -44462,22 +44696,22 @@ type HostSriovInfo struct {
HostPciPassthruInfo
// Whether SRIOV has been enabled by the user
- SriovEnabled bool `xml:"sriovEnabled" json:"sriovEnabled" vim:"5.5"`
+ SriovEnabled bool `xml:"sriovEnabled" json:"sriovEnabled"`
// Whether SRIOV is possible for this device
- SriovCapable bool `xml:"sriovCapable" json:"sriovCapable" vim:"5.5"`
+ SriovCapable bool `xml:"sriovCapable" json:"sriovCapable"`
// Whether SRIOV is active for this device (meaning enabled + rebooted)
- SriovActive bool `xml:"sriovActive" json:"sriovActive" vim:"5.5"`
+ SriovActive bool `xml:"sriovActive" json:"sriovActive"`
// Number of SRIOV virtual functions requested for this device
- NumVirtualFunctionRequested int32 `xml:"numVirtualFunctionRequested" json:"numVirtualFunctionRequested" vim:"5.5"`
+ NumVirtualFunctionRequested int32 `xml:"numVirtualFunctionRequested" json:"numVirtualFunctionRequested"`
// Number of SRIOV virtual functions present on this device
- NumVirtualFunction int32 `xml:"numVirtualFunction" json:"numVirtualFunction" vim:"5.5"`
+ NumVirtualFunction int32 `xml:"numVirtualFunction" json:"numVirtualFunction"`
// Maximum number of SRIOV virtual functions supported on this device
- MaxVirtualFunctionSupported int32 `xml:"maxVirtualFunctionSupported" json:"maxVirtualFunctionSupported" vim:"5.5"`
+ MaxVirtualFunctionSupported int32 `xml:"maxVirtualFunctionSupported" json:"maxVirtualFunctionSupported"`
}
func init() {
- minAPIVersionForType["HostSriovInfo"] = "5.5"
t["HostSriovInfo"] = reflect.TypeOf((*HostSriovInfo)(nil)).Elem()
+ minAPIVersionForType["HostSriovInfo"] = "5.5"
}
// Information on networking specific SR-IOV device pools
@@ -44485,17 +44719,17 @@ type HostSriovNetworkDevicePoolInfo struct {
HostSriovDevicePoolInfo
// vSwitch key
- SwitchKey string `xml:"switchKey,omitempty" json:"switchKey,omitempty" vim:"6.5"`
+ SwitchKey string `xml:"switchKey,omitempty" json:"switchKey,omitempty"`
// DVS Uuid
- SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty" vim:"6.5"`
+ SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty"`
// List of SR-IOV enabled physical nics that are backing the portgroup
// identified by above key
- Pnic []PhysicalNic `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"6.5"`
+ Pnic []PhysicalNic `xml:"pnic,omitempty" json:"pnic,omitempty"`
}
func init() {
- minAPIVersionForType["HostSriovNetworkDevicePoolInfo"] = "6.5"
t["HostSriovNetworkDevicePoolInfo"] = reflect.TypeOf((*HostSriovNetworkDevicePoolInfo)(nil)).Elem()
+ minAPIVersionForType["HostSriovNetworkDevicePoolInfo"] = "6.5"
}
// The SSL thumbprint information for a host managed by a vCenter Server
@@ -44505,7 +44739,7 @@ type HostSslThumbprintInfo struct {
DynamicData
// The principal used for the login session
- Principal string `xml:"principal" json:"principal" vim:"4.0"`
+ Principal string `xml:"principal" json:"principal"`
// The tag associated with this registration.
//
// Owner tags allow
@@ -44515,12 +44749,12 @@ type HostSslThumbprintInfo struct {
// Each solution should use a unique tag to identify itself.
OwnerTag string `xml:"ownerTag,omitempty" json:"ownerTag,omitempty" vim:"5.0"`
// Specify the SSL thumbprints to register on the host.
- SslThumbprints []string `xml:"sslThumbprints,omitempty" json:"sslThumbprints,omitempty" vim:"4.0"`
+ SslThumbprints []string `xml:"sslThumbprints,omitempty" json:"sslThumbprints,omitempty"`
}
func init() {
- minAPIVersionForType["HostSslThumbprintInfo"] = "4.0"
t["HostSslThumbprintInfo"] = reflect.TypeOf((*HostSslThumbprintInfo)(nil)).Elem()
+ minAPIVersionForType["HostSslThumbprintInfo"] = "4.0"
}
// This event records when a host's overall status changed.
@@ -44529,8 +44763,8 @@ type HostStatusChangedEvent struct {
}
func init() {
- minAPIVersionForType["HostStatusChangedEvent"] = "4.0"
t["HostStatusChangedEvent"] = reflect.TypeOf((*HostStatusChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HostStatusChangedEvent"] = "4.0"
}
// Description of options associated with a native multipathing
@@ -44542,12 +44776,12 @@ type HostStorageArrayTypePolicyOption struct {
//
// Use the key as the
// identifier.
- Policy BaseElementDescription `xml:"policy,typeattr" json:"policy" vim:"4.0"`
+ Policy BaseElementDescription `xml:"policy,typeattr" json:"policy"`
}
func init() {
- minAPIVersionForType["HostStorageArrayTypePolicyOption"] = "4.0"
t["HostStorageArrayTypePolicyOption"] = reflect.TypeOf((*HostStorageArrayTypePolicyOption)(nil)).Elem()
+ minAPIVersionForType["HostStorageArrayTypePolicyOption"] = "4.0"
}
// This data object type describes the storage subsystem configuration.
@@ -44596,12 +44830,12 @@ type HostStorageElementInfo struct {
// Other information regarding the operational state of the
// storage element.
- OperationalInfo []HostStorageOperationalInfo `xml:"operationalInfo,omitempty" json:"operationalInfo,omitempty" vim:"2.5"`
+ OperationalInfo []HostStorageOperationalInfo `xml:"operationalInfo,omitempty" json:"operationalInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HostStorageElementInfo"] = "2.5"
t["HostStorageElementInfo"] = reflect.TypeOf((*HostStorageElementInfo)(nil)).Elem()
+ minAPIVersionForType["HostStorageElementInfo"] = "2.5"
}
// Data class describing operational information of a storage element
@@ -44609,14 +44843,14 @@ type HostStorageOperationalInfo struct {
DynamicData
// The property of interest for the storage element
- Property string `xml:"property" json:"property" vim:"2.5"`
+ Property string `xml:"property" json:"property"`
// The property value for the storage element
- Value string `xml:"value" json:"value" vim:"2.5"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["HostStorageOperationalInfo"] = "2.5"
t["HostStorageOperationalInfo"] = reflect.TypeOf((*HostStorageOperationalInfo)(nil)).Elem()
+ minAPIVersionForType["HostStorageOperationalInfo"] = "2.5"
}
// Contains the result of turn Disk Locator Led On/Off request.
@@ -44628,14 +44862,14 @@ type HostStorageSystemDiskLocatorLedResult struct {
DynamicData
// UUID of LUN that has failed to turn on/off disk locator LED.
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// The reason why the operation did not succeed.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"6.0"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["HostStorageSystemDiskLocatorLedResult"] = "6.0"
t["HostStorageSystemDiskLocatorLedResult"] = reflect.TypeOf((*HostStorageSystemDiskLocatorLedResult)(nil)).Elem()
+ minAPIVersionForType["HostStorageSystemDiskLocatorLedResult"] = "6.0"
}
// Contains the result of SCSI LUN operation requests.
@@ -44648,14 +44882,14 @@ type HostStorageSystemScsiLunResult struct {
DynamicData
// UUID of LUN on which the LUN operation was requested.
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// Fault if operation fails
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostStorageSystemScsiLunResult"] = "6.0"
t["HostStorageSystemScsiLunResult"] = reflect.TypeOf((*HostStorageSystemScsiLunResult)(nil)).Elem()
+ minAPIVersionForType["HostStorageSystemScsiLunResult"] = "6.0"
}
// Contains the result of the operation performed on a VMFS volume.
@@ -44663,14 +44897,14 @@ type HostStorageSystemVmfsVolumeResult struct {
DynamicData
// UUID of VMFS volume
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// Fault if volume operation fails, unset if operation succeeds
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostStorageSystemVmfsVolumeResult"] = "6.0"
t["HostStorageSystemVmfsVolumeResult"] = reflect.TypeOf((*HostStorageSystemVmfsVolumeResult)(nil)).Elem()
+ minAPIVersionForType["HostStorageSystemVmfsVolumeResult"] = "6.0"
}
// Host sub specification data are the data used when create a virtual
@@ -44706,18 +44940,18 @@ type HostSubSpecification struct {
// Thus, name conflict is avoided by containing the
// company name
, product name
, and sub
// specification name
in this full name.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// Time at which the host sub specification was created.
- CreatedTime time.Time `xml:"createdTime" json:"createdTime" vim:"6.5"`
+ CreatedTime time.Time `xml:"createdTime" json:"createdTime"`
// The host sub specification data
- Data []byte `xml:"data,omitempty" json:"data,omitempty" vim:"6.5"`
+ Data []byte `xml:"data,omitempty" json:"data,omitempty"`
// The host sub specification data in Binary for wire efficiency.
BinaryData []byte `xml:"binaryData,omitempty" json:"binaryData,omitempty" vim:"6.7"`
}
func init() {
- minAPIVersionForType["HostSubSpecification"] = "6.5"
t["HostSubSpecification"] = reflect.TypeOf((*HostSubSpecification)(nil)).Elem()
+ minAPIVersionForType["HostSubSpecification"] = "6.5"
}
// This event suggests that delete the host sub specification specified by
@@ -44729,8 +44963,8 @@ type HostSubSpecificationDeleteEvent struct {
}
func init() {
- minAPIVersionForType["HostSubSpecificationDeleteEvent"] = "6.5"
t["HostSubSpecificationDeleteEvent"] = reflect.TypeOf((*HostSubSpecificationDeleteEvent)(nil)).Elem()
+ minAPIVersionForType["HostSubSpecificationDeleteEvent"] = "6.5"
}
// This event suggests that update the host sub specification with the
@@ -44742,8 +44976,8 @@ type HostSubSpecificationUpdateEvent struct {
}
func init() {
- minAPIVersionForType["HostSubSpecificationUpdateEvent"] = "6.5"
t["HostSubSpecificationUpdateEvent"] = reflect.TypeOf((*HostSubSpecificationUpdateEvent)(nil)).Elem()
+ minAPIVersionForType["HostSubSpecificationUpdateEvent"] = "6.5"
}
// This event records a failure to sync up with the VirtualCenter agent on the host
@@ -44751,12 +44985,12 @@ type HostSyncFailedEvent struct {
HostEvent
// The reason for the failure.
- Reason LocalizedMethodFault `xml:"reason" json:"reason" vim:"4.0"`
+ Reason LocalizedMethodFault `xml:"reason" json:"reason"`
}
func init() {
- minAPIVersionForType["HostSyncFailedEvent"] = "4.0"
t["HostSyncFailedEvent"] = reflect.TypeOf((*HostSyncFailedEvent)(nil)).Elem()
+ minAPIVersionForType["HostSyncFailedEvent"] = "4.0"
}
// The host profile compliance check state.
@@ -44767,15 +45001,15 @@ type HostSystemComplianceCheckState struct {
//
// See
// `ComplianceResultStatus_enum` for the valid values.
- State string `xml:"state" json:"state" vim:"6.7"`
+ State string `xml:"state" json:"state"`
// The compliance check starting time for running state; compliance
// check finish time for others.
- CheckTime time.Time `xml:"checkTime" json:"checkTime" vim:"6.7"`
+ CheckTime time.Time `xml:"checkTime" json:"checkTime"`
}
func init() {
- minAPIVersionForType["HostSystemComplianceCheckState"] = "6.7"
t["HostSystemComplianceCheckState"] = reflect.TypeOf((*HostSystemComplianceCheckState)(nil)).Elem()
+ minAPIVersionForType["HostSystemComplianceCheckState"] = "6.7"
}
// This data object provides information about the health of the phyical
@@ -44786,12 +45020,12 @@ type HostSystemHealthInfo struct {
DynamicData
// Health information provided by the power probes.
- NumericSensorInfo []HostNumericSensorInfo `xml:"numericSensorInfo,omitempty" json:"numericSensorInfo,omitempty" vim:"2.5"`
+ NumericSensorInfo []HostNumericSensorInfo `xml:"numericSensorInfo,omitempty" json:"numericSensorInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HostSystemHealthInfo"] = "2.5"
t["HostSystemHealthInfo"] = reflect.TypeOf((*HostSystemHealthInfo)(nil)).Elem()
+ minAPIVersionForType["HostSystemHealthInfo"] = "2.5"
}
// This data object describes system identifying information of the host.
@@ -44802,16 +45036,16 @@ type HostSystemIdentificationInfo struct {
DynamicData
// The system identification information
- IdentifierValue string `xml:"identifierValue" json:"identifierValue" vim:"2.5"`
+ IdentifierValue string `xml:"identifierValue" json:"identifierValue"`
// The description of the identifying information.
//
// See also `HostSystemIdentificationInfoIdentifier_enum`.
- IdentifierType BaseElementDescription `xml:"identifierType,typeattr" json:"identifierType" vim:"2.5"`
+ IdentifierType BaseElementDescription `xml:"identifierType,typeattr" json:"identifierType"`
}
func init() {
- minAPIVersionForType["HostSystemIdentificationInfo"] = "2.5"
t["HostSystemIdentificationInfo"] = reflect.TypeOf((*HostSystemIdentificationInfo)(nil)).Elem()
+ minAPIVersionForType["HostSystemIdentificationInfo"] = "2.5"
}
// Information about the system as a whole.
@@ -44839,12 +45073,12 @@ type HostSystemInfo struct {
//
// A unique name, assigned to each host used by Vvol.
// Obtained through vmkctl storage control path while fetching the NVMe info.
- VvolHostNQN *HostQualifiedName `xml:"vvolHostNQN,omitempty" json:"vvolHostNQN,omitempty"`
+ VvolHostNQN *HostQualifiedName `xml:"vvolHostNQN,omitempty" json:"vvolHostNQN,omitempty" vim:"8.0.0.0"`
// Host id used by Vvol.
//
// The hostd id, obtained through vmkctl storage control path while
// fetching the NVMe info.
- VvolHostId string `xml:"vvolHostId,omitempty" json:"vvolHostId,omitempty"`
+ VvolHostId string `xml:"vvolHostId,omitempty" json:"vvolHostId,omitempty" vim:"8.0.0.0"`
}
func init() {
@@ -44866,12 +45100,12 @@ type HostSystemReconnectSpec struct {
// rules that may have changed on the host will be similarly restored.
// This flag is primarily intended for stateless hosts to enable vCenter
// Server to resync these hosts after a reboot.
- SyncState *bool `xml:"syncState" json:"syncState,omitempty" vim:"5.0"`
+ SyncState *bool `xml:"syncState" json:"syncState,omitempty"`
}
func init() {
- minAPIVersionForType["HostSystemReconnectSpec"] = "5.0"
t["HostSystemReconnectSpec"] = reflect.TypeOf((*HostSystemReconnectSpec)(nil)).Elem()
+ minAPIVersionForType["HostSystemReconnectSpec"] = "5.0"
}
// The valid remediation states.
@@ -44889,15 +45123,15 @@ type HostSystemRemediationState struct {
// See
// `HostSystemRemediationStateState_enum` for the valid
// values.
- State string `xml:"state" json:"state" vim:"6.7"`
+ State string `xml:"state" json:"state"`
// For any "running" state, this is the starting time; for others, this
// is the completion time.
- OperationTime time.Time `xml:"operationTime" json:"operationTime" vim:"6.7"`
+ OperationTime time.Time `xml:"operationTime" json:"operationTime"`
}
func init() {
- minAPIVersionForType["HostSystemRemediationState"] = "6.7"
t["HostSystemRemediationState"] = reflect.TypeOf((*HostSystemRemediationState)(nil)).Elem()
+ minAPIVersionForType["HostSystemRemediationState"] = "6.7"
}
// The SystemResourceInfo data object describes the configuration of
@@ -44936,12 +45170,12 @@ type HostSystemSwapConfiguration struct {
// `InvalidArgument` is thrown.
// It is not allowed to have duplicate values in this array. If so a
// `InvalidArgument` is thrown.
- Option []BaseHostSystemSwapConfigurationSystemSwapOption `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"5.1"`
+ Option []BaseHostSystemSwapConfigurationSystemSwapOption `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
func init() {
- minAPIVersionForType["HostSystemSwapConfiguration"] = "5.1"
t["HostSystemSwapConfiguration"] = reflect.TypeOf((*HostSystemSwapConfiguration)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfiguration"] = "5.1"
}
// Use option to indicate that a user specified datastore may be used for
@@ -44954,12 +45188,12 @@ type HostSystemSwapConfigurationDatastoreOption struct {
// This value should be always set when the encapsulating option is used,
// otherwise a call to `HostSystem.UpdateSystemSwapConfiguration` will
// result in a `InvalidArgument` fault.
- Datastore string `xml:"datastore" json:"datastore" vim:"5.1"`
+ Datastore string `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["HostSystemSwapConfigurationDatastoreOption"] = "5.1"
t["HostSystemSwapConfigurationDatastoreOption"] = reflect.TypeOf((*HostSystemSwapConfigurationDatastoreOption)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfigurationDatastoreOption"] = "5.1"
}
// Indicates that the system swap on the host is currently disabled.
@@ -44973,8 +45207,8 @@ type HostSystemSwapConfigurationDisabledOption struct {
}
func init() {
- minAPIVersionForType["HostSystemSwapConfigurationDisabledOption"] = "5.1"
t["HostSystemSwapConfigurationDisabledOption"] = reflect.TypeOf((*HostSystemSwapConfigurationDisabledOption)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfigurationDisabledOption"] = "5.1"
}
// Use option to indicate that the host cache may be used for system
@@ -44986,8 +45220,8 @@ type HostSystemSwapConfigurationHostCacheOption struct {
}
func init() {
- minAPIVersionForType["HostSystemSwapConfigurationHostCacheOption"] = "5.1"
t["HostSystemSwapConfigurationHostCacheOption"] = reflect.TypeOf((*HostSystemSwapConfigurationHostCacheOption)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfigurationHostCacheOption"] = "5.1"
}
// Use option to indicate that the datastore configured for host local swap
@@ -44997,8 +45231,8 @@ type HostSystemSwapConfigurationHostLocalSwapOption struct {
}
func init() {
- minAPIVersionForType["HostSystemSwapConfigurationHostLocalSwapOption"] = "5.1"
t["HostSystemSwapConfigurationHostLocalSwapOption"] = reflect.TypeOf((*HostSystemSwapConfigurationHostLocalSwapOption)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfigurationHostLocalSwapOption"] = "5.1"
}
// Base class for all system swap options.
@@ -45012,12 +45246,12 @@ type HostSystemSwapConfigurationSystemSwapOption struct {
// Specifies the order the options are preferred among each other.
//
// The lower the value the more important.
- Key int32 `xml:"key" json:"key" vim:"5.1"`
+ Key int32 `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["HostSystemSwapConfigurationSystemSwapOption"] = "5.1"
t["HostSystemSwapConfigurationSystemSwapOption"] = reflect.TypeOf((*HostSystemSwapConfigurationSystemSwapOption)(nil)).Elem()
+ minAPIVersionForType["HostSystemSwapConfigurationSystemSwapOption"] = "5.1"
}
// Transport information about a SCSI target.
@@ -45038,12 +45272,12 @@ type HostTcpHba struct {
//
// Should match the `PhysicalNic.device` property
// of the corresponding physical NIC.
- AssociatedPnic string `xml:"associatedPnic,omitempty" json:"associatedPnic,omitempty" vim:"7.0.3.0"`
+ AssociatedPnic string `xml:"associatedPnic,omitempty" json:"associatedPnic,omitempty"`
}
func init() {
- minAPIVersionForType["HostTcpHba"] = "7.0.3.0"
t["HostTcpHba"] = reflect.TypeOf((*HostTcpHba)(nil)).Elem()
+ minAPIVersionForType["HostTcpHba"] = "7.0.3.0"
}
// A data object which specifies the parameters needed
@@ -45055,12 +45289,12 @@ type HostTcpHbaCreateSpec struct {
//
// Should match the `PhysicalNic.device` property
// of the corresponding physical NIC.
- Pnic string `xml:"pnic" json:"pnic" vim:"7.0.3.0"`
+ Pnic string `xml:"pnic" json:"pnic"`
}
func init() {
- minAPIVersionForType["HostTcpHbaCreateSpec"] = "7.0.3.0"
t["HostTcpHbaCreateSpec"] = reflect.TypeOf((*HostTcpHbaCreateSpec)(nil)).Elem()
+ minAPIVersionForType["HostTcpHbaCreateSpec"] = "7.0.3.0"
}
// Transmission Control Protocol (TCP) transport
@@ -45070,8 +45304,8 @@ type HostTcpTargetTransport struct {
}
func init() {
- minAPIVersionForType["HostTcpTargetTransport"] = "7.0.3.0"
t["HostTcpTargetTransport"] = reflect.TypeOf((*HostTcpTargetTransport)(nil)).Elem()
+ minAPIVersionForType["HostTcpTargetTransport"] = "7.0.3.0"
}
// This data object type represents result of TPM attestation.
@@ -45079,19 +45313,19 @@ type HostTpmAttestationInfo struct {
DynamicData
// Time of TPM attestation.
- Time time.Time `xml:"time" json:"time" vim:"6.7"`
+ Time time.Time `xml:"time" json:"time"`
// Attestation status.
//
// Valid values are enumerated by the
// `HostTpmAttestationInfoAcceptanceStatus_enum` type.
- Status HostTpmAttestationInfoAcceptanceStatus `xml:"status" json:"status" vim:"6.7"`
+ Status HostTpmAttestationInfoAcceptanceStatus `xml:"status" json:"status"`
// Message explaining TPM attestation failure.
- Message *LocalizableMessage `xml:"message,omitempty" json:"message,omitempty" vim:"6.7"`
+ Message *LocalizableMessage `xml:"message,omitempty" json:"message,omitempty"`
}
func init() {
- minAPIVersionForType["HostTpmAttestationInfo"] = "6.7"
t["HostTpmAttestationInfo"] = reflect.TypeOf((*HostTpmAttestationInfo)(nil)).Elem()
+ minAPIVersionForType["HostTpmAttestationInfo"] = "6.7"
}
// This class is used to report Trusted Platform Module (TPM) attestation
@@ -45127,9 +45361,9 @@ type HostTpmAttestationReport struct {
// The array of PCR digest values stored in the TPM device since the last
// host boot time.
- TpmPcrValues []HostTpmDigestInfo `xml:"tpmPcrValues" json:"tpmPcrValues" vim:"5.1"`
+ TpmPcrValues []HostTpmDigestInfo `xml:"tpmPcrValues" json:"tpmPcrValues"`
// Log of TPM software stack attestation events.
- TpmEvents []HostTpmEventLogEntry `xml:"tpmEvents" json:"tpmEvents" vim:"5.1"`
+ TpmEvents []HostTpmEventLogEntry `xml:"tpmEvents" json:"tpmEvents"`
// This flag indicates whether the provided TPM events are a complete and reliable
// information about host boot status.
//
@@ -45137,12 +45371,12 @@ type HostTpmAttestationReport struct {
// inappropriate origin or if the package information is incomplete. Only first 1000
// events are recorded by the kernel. Further events will not be recorded in the log
// and will cause the log to be marked as unreliable.
- TpmLogReliable bool `xml:"tpmLogReliable" json:"tpmLogReliable" vim:"5.1"`
+ TpmLogReliable bool `xml:"tpmLogReliable" json:"tpmLogReliable"`
}
func init() {
- minAPIVersionForType["HostTpmAttestationReport"] = "5.1"
t["HostTpmAttestationReport"] = reflect.TypeOf((*HostTpmAttestationReport)(nil)).Elem()
+ minAPIVersionForType["HostTpmAttestationReport"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the
@@ -45156,6 +45390,7 @@ type HostTpmBootCompleteEventDetails struct {
func init() {
t["HostTpmBootCompleteEventDetails"] = reflect.TypeOf((*HostTpmBootCompleteEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmBootCompleteEventDetails"] = "8.0.1.0"
}
// Details of a Trusted Platform Module (TPM) event recording kernel security
@@ -45175,12 +45410,12 @@ type HostTpmBootSecurityOptionEventDetails struct {
// in the kernel.
//
// This string is in the form of a KEY=VALUE pair.
- BootSecurityOption string `xml:"bootSecurityOption" json:"bootSecurityOption" vim:"5.1"`
+ BootSecurityOption string `xml:"bootSecurityOption" json:"bootSecurityOption"`
}
func init() {
- minAPIVersionForType["HostTpmBootSecurityOptionEventDetails"] = "5.1"
t["HostTpmBootSecurityOptionEventDetails"] = reflect.TypeOf((*HostTpmBootSecurityOptionEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmBootSecurityOptionEventDetails"] = "5.1"
}
// Details of an Trusted Platform Module (TPM) event recording options entered
@@ -45189,12 +45424,12 @@ type HostTpmCommandEventDetails struct {
HostTpmEventDetails
// Boot options as entered on the command line prompt at boot time.
- CommandLine string `xml:"commandLine" json:"commandLine" vim:"5.1"`
+ CommandLine string `xml:"commandLine" json:"commandLine"`
}
func init() {
- minAPIVersionForType["HostTpmCommandEventDetails"] = "5.1"
t["HostTpmCommandEventDetails"] = reflect.TypeOf((*HostTpmCommandEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmCommandEventDetails"] = "5.1"
}
// This data object type describes the digest values in the Platform
@@ -45203,12 +45438,12 @@ type HostTpmDigestInfo struct {
HostDigestInfo
// Index of the PCR that stores the TPM digest value.
- PcrNumber int32 `xml:"pcrNumber" json:"pcrNumber" vim:"4.0"`
+ PcrNumber int32 `xml:"pcrNumber" json:"pcrNumber"`
}
func init() {
- minAPIVersionForType["HostTpmDigestInfo"] = "4.0"
t["HostTpmDigestInfo"] = reflect.TypeOf((*HostTpmDigestInfo)(nil)).Elem()
+ minAPIVersionForType["HostTpmDigestInfo"] = "4.0"
}
// This is a base data object for describing an event generated by
@@ -45220,7 +45455,7 @@ type HostTpmEventDetails struct {
DynamicData
// Value of the Platform Configuration Register (PCR) for this event.
- DataHash []byte `xml:"dataHash" json:"dataHash" vim:"5.1"`
+ DataHash []byte `xml:"dataHash" json:"dataHash"`
// Method in which the digest hash is calculated.
//
// The set of possible
@@ -45229,8 +45464,8 @@ type HostTpmEventDetails struct {
}
func init() {
- minAPIVersionForType["HostTpmEventDetails"] = "5.1"
t["HostTpmEventDetails"] = reflect.TypeOf((*HostTpmEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmEventDetails"] = "5.1"
}
// This data object represents a single entry of an event log created by
@@ -45247,14 +45482,14 @@ type HostTpmEventLogEntry struct {
DynamicData
// Index of the PCR that was affected by the event.
- PcrIndex int32 `xml:"pcrIndex" json:"pcrIndex" vim:"5.1"`
+ PcrIndex int32 `xml:"pcrIndex" json:"pcrIndex"`
// The details of the event.
- EventDetails BaseHostTpmEventDetails `xml:"eventDetails,typeattr" json:"eventDetails" vim:"5.1"`
+ EventDetails BaseHostTpmEventDetails `xml:"eventDetails,typeattr" json:"eventDetails"`
}
func init() {
- minAPIVersionForType["HostTpmEventLogEntry"] = "5.1"
t["HostTpmEventLogEntry"] = reflect.TypeOf((*HostTpmEventLogEntry)(nil)).Elem()
+ minAPIVersionForType["HostTpmEventLogEntry"] = "5.1"
}
// Details of an Trusted Platform Module (TPM) event recording TPM NVRAM tag.
@@ -45263,8 +45498,8 @@ type HostTpmNvTagEventDetails struct {
}
func init() {
- minAPIVersionForType["HostTpmNvTagEventDetails"] = "7.0.2.0"
t["HostTpmNvTagEventDetails"] = reflect.TypeOf((*HostTpmNvTagEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmNvTagEventDetails"] = "7.0.2.0"
}
// Details of a Trusted Platform Module (TPM) event recording boot-time options.
@@ -45276,18 +45511,18 @@ type HostTpmOptionEventDetails struct {
HostTpmEventDetails
// Name of the file containing the boot options.
- OptionsFileName string `xml:"optionsFileName" json:"optionsFileName" vim:"5.1"`
+ OptionsFileName string `xml:"optionsFileName" json:"optionsFileName"`
// Options set by the boot option package.
//
// This array exposes the raw contents of the settings file (or files) that were
// passed to kernel during the boot up process, and, therefore, should be treated
// accordingly.
- BootOptions []byte `xml:"bootOptions,omitempty" json:"bootOptions,omitempty" vim:"5.1"`
+ BootOptions []byte `xml:"bootOptions,omitempty" json:"bootOptions,omitempty"`
}
func init() {
- minAPIVersionForType["HostTpmOptionEventDetails"] = "5.1"
t["HostTpmOptionEventDetails"] = reflect.TypeOf((*HostTpmOptionEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmOptionEventDetails"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the measurement
@@ -45298,6 +45533,7 @@ type HostTpmSignerEventDetails struct {
func init() {
t["HostTpmSignerEventDetails"] = reflect.TypeOf((*HostTpmSignerEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmSignerEventDetails"] = "8.0.0.1"
}
// Details of a Trusted Platform Module (TPM) event recording a software component
@@ -45314,18 +45550,18 @@ type HostTpmSoftwareComponentEventDetails struct {
HostTpmEventDetails
// Name of the software component that caused this TPM event.
- ComponentName string `xml:"componentName" json:"componentName" vim:"5.1"`
+ ComponentName string `xml:"componentName" json:"componentName"`
// Name of the VIB containing the software component.
- VibName string `xml:"vibName" json:"vibName" vim:"5.1"`
+ VibName string `xml:"vibName" json:"vibName"`
// Version of the VIB containing the software component.
- VibVersion string `xml:"vibVersion" json:"vibVersion" vim:"5.1"`
+ VibVersion string `xml:"vibVersion" json:"vibVersion"`
// Vendor of the VIB containing the software component.
- VibVendor string `xml:"vibVendor" json:"vibVendor" vim:"5.1"`
+ VibVendor string `xml:"vibVendor" json:"vibVendor"`
}
func init() {
- minAPIVersionForType["HostTpmSoftwareComponentEventDetails"] = "5.1"
t["HostTpmSoftwareComponentEventDetails"] = reflect.TypeOf((*HostTpmSoftwareComponentEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmSoftwareComponentEventDetails"] = "5.1"
}
// Details of a Trusted Platform Module (TPM) event recording the
@@ -45339,6 +45575,7 @@ type HostTpmVersionEventDetails struct {
func init() {
t["HostTpmVersionEventDetails"] = reflect.TypeOf((*HostTpmVersionEventDetails)(nil)).Elem()
+ minAPIVersionForType["HostTpmVersionEventDetails"] = "8.0.0.1"
}
// This data object type represents result of the attestation done by
@@ -45350,24 +45587,24 @@ type HostTrustAuthorityAttestationInfo struct {
//
// See `HostTrustAuthorityAttestationInfoAttestationStatus_enum` for the
// supported values.
- AttestationStatus string `xml:"attestationStatus" json:"attestationStatus" vim:"7.0.1.0"`
+ AttestationStatus string `xml:"attestationStatus" json:"attestationStatus"`
// ID of the attestation service in case of attestation success.
//
// Unset when
// not attested.
- ServiceId string `xml:"serviceId,omitempty" json:"serviceId,omitempty" vim:"7.0.1.0"`
+ ServiceId string `xml:"serviceId,omitempty" json:"serviceId,omitempty"`
// Time of attestation.
- AttestedAt *time.Time `xml:"attestedAt" json:"attestedAt,omitempty" vim:"7.0.1.0"`
+ AttestedAt *time.Time `xml:"attestedAt" json:"attestedAt,omitempty"`
// Time until attestation is valid.
- AttestedUntil *time.Time `xml:"attestedUntil" json:"attestedUntil,omitempty" vim:"7.0.1.0"`
+ AttestedUntil *time.Time `xml:"attestedUntil" json:"attestedUntil,omitempty"`
// Messages explaining attestation failure or attestation status
// retrieval errors, if any.
- Messages []LocalizableMessage `xml:"messages,omitempty" json:"messages,omitempty" vim:"7.0.1.0"`
+ Messages []LocalizableMessage `xml:"messages,omitempty" json:"messages,omitempty"`
}
func init() {
- minAPIVersionForType["HostTrustAuthorityAttestationInfo"] = "7.0.1.0"
t["HostTrustAuthorityAttestationInfo"] = reflect.TypeOf((*HostTrustAuthorityAttestationInfo)(nil)).Elem()
+ minAPIVersionForType["HostTrustAuthorityAttestationInfo"] = "7.0.1.0"
}
// Information about an unresolved VMFS volume extent
@@ -45381,13 +45618,13 @@ type HostUnresolvedVmfsExtent struct {
DynamicData
// The device information
- Device HostScsiDiskPartition `xml:"device" json:"device" vim:"4.0"`
+ Device HostScsiDiskPartition `xml:"device" json:"device"`
// The device path of an VMFS extent
- DevicePath string `xml:"devicePath" json:"devicePath" vim:"4.0"`
+ DevicePath string `xml:"devicePath" json:"devicePath"`
// The UUID of the VMFS volume read from to the partition.
- VmfsUuid string `xml:"vmfsUuid" json:"vmfsUuid" vim:"4.0"`
+ VmfsUuid string `xml:"vmfsUuid" json:"vmfsUuid"`
// Is this a copy of the head extent of the VMFS volume?
- IsHeadExtent bool `xml:"isHeadExtent" json:"isHeadExtent" vim:"4.0"`
+ IsHeadExtent bool `xml:"isHeadExtent" json:"isHeadExtent"`
// A number indicating the order of an extent in a volume.
//
// An extent with
@@ -45415,11 +45652,11 @@ type HostUnresolvedVmfsExtent struct {
// is because the extents are identified by their start and end blocks.
// The ordinals are just a hint used to help indicate extents that
// correspond to the same start and end blocks.
- Ordinal int32 `xml:"ordinal" json:"ordinal" vim:"4.0"`
+ Ordinal int32 `xml:"ordinal" json:"ordinal"`
// Index of the first block that this extent provides.
- StartBlock int32 `xml:"startBlock" json:"startBlock" vim:"4.0"`
+ StartBlock int32 `xml:"startBlock" json:"startBlock"`
// Index of the last block that this extent provides.
- EndBlock int32 `xml:"endBlock" json:"endBlock" vim:"4.0"`
+ EndBlock int32 `xml:"endBlock" json:"endBlock"`
// Reason as to why the partition is marked as copy
// of a VMFS volume's extent.
//
@@ -45427,12 +45664,12 @@ type HostUnresolvedVmfsExtent struct {
// the scsi inq is saying or disk uuid is not matching
//
// See also `HostUnresolvedVmfsExtentUnresolvedReason_enum`.
- Reason string `xml:"reason" json:"reason" vim:"4.0"`
+ Reason string `xml:"reason" json:"reason"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsExtent"] = "4.0"
t["HostUnresolvedVmfsExtent"] = reflect.TypeOf((*HostUnresolvedVmfsExtent)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsExtent"] = "4.0"
}
// Specification to resignature an Unresolved VMFS volume.
@@ -45440,12 +45677,12 @@ type HostUnresolvedVmfsResignatureSpec struct {
DynamicData
// List of device path each specifying VMFS extents.
- ExtentDevicePath []string `xml:"extentDevicePath" json:"extentDevicePath" vim:"4.0"`
+ ExtentDevicePath []string `xml:"extentDevicePath" json:"extentDevicePath"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsResignatureSpec"] = "4.0"
t["HostUnresolvedVmfsResignatureSpec"] = reflect.TypeOf((*HostUnresolvedVmfsResignatureSpec)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsResignatureSpec"] = "4.0"
}
// When an UnresolvedVmfsVolume has been resignatured or forceMounted, we want to
@@ -45454,16 +45691,16 @@ type HostUnresolvedVmfsResolutionResult struct {
DynamicData
// The original UnresolvedVmfsResolutionSpec which user had specified
- Spec HostUnresolvedVmfsResolutionSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec HostUnresolvedVmfsResolutionSpec `xml:"spec" json:"spec"`
// Newly created VmfsVolume
- Vmfs *HostVmfsVolume `xml:"vmfs,omitempty" json:"vmfs,omitempty" vim:"4.0"`
+ Vmfs *HostVmfsVolume `xml:"vmfs,omitempty" json:"vmfs,omitempty"`
// 'fault' would be set if the operation was not successful
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"4.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsResolutionResult"] = "4.0"
t["HostUnresolvedVmfsResolutionResult"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionResult)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsResolutionResult"] = "4.0"
}
// An unresolved VMFS volume is reported when one or more device partitions
@@ -45483,7 +45720,7 @@ type HostUnresolvedVmfsResolutionSpec struct {
//
// One extent must be specified. This property is represented as a
// list to enable future enhancements to the interface.
- ExtentDevicePath []string `xml:"extentDevicePath" json:"extentDevicePath" vim:"4.0"`
+ ExtentDevicePath []string `xml:"extentDevicePath" json:"extentDevicePath"`
// When set to Resignature, new Uuid is assigned to the VMFS
// volume.
//
@@ -45491,12 +45728,12 @@ type HostUnresolvedVmfsResolutionSpec struct {
// to the Vmfs volume and Vmfs volumes metadata doesn't change.
//
// See also `HostUnresolvedVmfsResolutionSpecVmfsUuidResolution_enum`.
- UuidResolution string `xml:"uuidResolution" json:"uuidResolution" vim:"4.0"`
+ UuidResolution string `xml:"uuidResolution" json:"uuidResolution"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsResolutionSpec"] = "4.0"
t["HostUnresolvedVmfsResolutionSpec"] = reflect.TypeOf((*HostUnresolvedVmfsResolutionSpec)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsResolutionSpec"] = "4.0"
}
// Information about detected unbound, unresolved VMFS volume.
@@ -45533,20 +45770,20 @@ type HostUnresolvedVmfsVolume struct {
DynamicData
// List of detected copies of VMFS extents.
- Extent []HostUnresolvedVmfsExtent `xml:"extent" json:"extent" vim:"4.0"`
+ Extent []HostUnresolvedVmfsExtent `xml:"extent" json:"extent"`
// The detected VMFS label name
- VmfsLabel string `xml:"vmfsLabel" json:"vmfsLabel" vim:"4.0"`
+ VmfsLabel string `xml:"vmfsLabel" json:"vmfsLabel"`
// The detected VMFS UUID
- VmfsUuid string `xml:"vmfsUuid" json:"vmfsUuid" vim:"4.0"`
+ VmfsUuid string `xml:"vmfsUuid" json:"vmfsUuid"`
// Total number of blocks in this volume.
- TotalBlocks int32 `xml:"totalBlocks" json:"totalBlocks" vim:"4.0"`
+ TotalBlocks int32 `xml:"totalBlocks" json:"totalBlocks"`
// Information related to how the volume might be resolved.
- ResolveStatus HostUnresolvedVmfsVolumeResolveStatus `xml:"resolveStatus" json:"resolveStatus" vim:"4.0"`
+ ResolveStatus HostUnresolvedVmfsVolumeResolveStatus `xml:"resolveStatus" json:"resolveStatus"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsVolume"] = "4.0"
t["HostUnresolvedVmfsVolume"] = reflect.TypeOf((*HostUnresolvedVmfsVolume)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsVolume"] = "4.0"
}
// Data object that describes the resolvability of a volume.
@@ -45558,7 +45795,7 @@ type HostUnresolvedVmfsVolumeResolveStatus struct {
//
// This boolean will
// authoritatively indicate if the server can resolve this volume.
- Resolvable bool `xml:"resolvable" json:"resolvable" vim:"4.0"`
+ Resolvable bool `xml:"resolvable" json:"resolvable"`
// Is the list of extents for the volume a partial list? A volume can only
// be resignatured if all extents composing that volume are available.
//
@@ -45566,33 +45803,33 @@ type HostUnresolvedVmfsVolumeResolveStatus struct {
//
// In cases where this information is not known for a volume, this
// property will be unset.
- IncompleteExtents *bool `xml:"incompleteExtents" json:"incompleteExtents,omitempty" vim:"4.0"`
+ IncompleteExtents *bool `xml:"incompleteExtents" json:"incompleteExtents,omitempty"`
// Are there multiple copies of extents for this volume? If any extent of
// the volume has multiple copies then the extents to be resolved must be
// explicitly specified when resolving this volume.
//
// In cases where this information is not known for a volume, this
// property will be unset.
- MultipleCopies *bool `xml:"multipleCopies" json:"multipleCopies,omitempty" vim:"4.0"`
+ MultipleCopies *bool `xml:"multipleCopies" json:"multipleCopies,omitempty"`
}
func init() {
- minAPIVersionForType["HostUnresolvedVmfsVolumeResolveStatus"] = "4.0"
t["HostUnresolvedVmfsVolumeResolveStatus"] = reflect.TypeOf((*HostUnresolvedVmfsVolumeResolveStatus)(nil)).Elem()
+ minAPIVersionForType["HostUnresolvedVmfsVolumeResolveStatus"] = "4.0"
}
// The parameters of `HostVStorageObjectManager.HostUpdateVStorageObjectMetadataEx_Task`.
type HostUpdateVStorageObjectMetadataExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore to query for the virtual storage objects.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// array of key/value strings. (keys must be unique
// within the list)
- Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"2.5"`
+ Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
// array of keys need to be deleted
DeleteKeys []string `xml:"deleteKeys,omitempty" json:"deleteKeys,omitempty"`
}
@@ -45615,14 +45852,14 @@ type HostUpdateVStorageObjectMetadataEx_TaskResponse struct {
type HostUpdateVStorageObjectMetadataRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore to query for the virtual storage objects.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// array of key/value strings. (keys must be unique
// within the list)
- Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"2.5"`
+ Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
// array of keys need to be deleted
DeleteKeys []string `xml:"deleteKeys,omitempty" json:"deleteKeys,omitempty"`
}
@@ -45662,8 +45899,8 @@ type HostUserWorldSwapNotEnabledEvent struct {
}
func init() {
- minAPIVersionForType["HostUserWorldSwapNotEnabledEvent"] = "4.0"
t["HostUserWorldSwapNotEnabledEvent"] = reflect.TypeOf((*HostUserWorldSwapNotEnabledEvent)(nil)).Elem()
+ minAPIVersionForType["HostUserWorldSwapNotEnabledEvent"] = "4.0"
}
// Data object describes host vFlash cache configuration information.
@@ -45671,50 +45908,50 @@ type HostVFlashManagerVFlashCacheConfigInfo struct {
DynamicData
// Cache configuration options for the supported vFlash modules.
- VFlashModuleConfigOption []HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption `xml:"vFlashModuleConfigOption,omitempty" json:"vFlashModuleConfigOption,omitempty" vim:"5.5"`
+ VFlashModuleConfigOption []HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption `xml:"vFlashModuleConfigOption,omitempty" json:"vFlashModuleConfigOption,omitempty"`
// Name of the default vFlash module for the read-write cache associated
// with the VMs of this host.
//
// This setting can be overridden by
// `VirtualDiskVFlashCacheConfigInfo.vFlashModule`
// per VMDK.
- DefaultVFlashModule string `xml:"defaultVFlashModule,omitempty" json:"defaultVFlashModule,omitempty" vim:"5.5"`
+ DefaultVFlashModule string `xml:"defaultVFlashModule,omitempty" json:"defaultVFlashModule,omitempty"`
// Amount of vFlash resource is allocated to the host swap cache.
//
// As long as set,
// reservation will be permanent and retain regardless of host power state. The host
// swap cache will be disabled if reservation is set to zero.
- SwapCacheReservationInGB int64 `xml:"swapCacheReservationInGB,omitempty" json:"swapCacheReservationInGB,omitempty" vim:"5.5"`
+ SwapCacheReservationInGB int64 `xml:"swapCacheReservationInGB,omitempty" json:"swapCacheReservationInGB,omitempty"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashCacheConfigInfo"] = "5.5"
t["HostVFlashManagerVFlashCacheConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashCacheConfigInfo)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashCacheConfigInfo"] = "5.5"
}
type HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption struct {
DynamicData
// Name of the vFlash module
- VFlashModule string `xml:"vFlashModule" json:"vFlashModule" vim:"5.5"`
+ VFlashModule string `xml:"vFlashModule" json:"vFlashModule"`
// Version of the vFlash module
- VFlashModuleVersion string `xml:"vFlashModuleVersion" json:"vFlashModuleVersion" vim:"5.5"`
+ VFlashModuleVersion string `xml:"vFlashModuleVersion" json:"vFlashModuleVersion"`
// Minimum supported version
- MinSupportedModuleVersion string `xml:"minSupportedModuleVersion" json:"minSupportedModuleVersion" vim:"5.5"`
+ MinSupportedModuleVersion string `xml:"minSupportedModuleVersion" json:"minSupportedModuleVersion"`
// Cache data consistency types.
//
// See `VirtualDiskVFlashCacheConfigInfoCacheConsistencyType_enum`
- CacheConsistencyType ChoiceOption `xml:"cacheConsistencyType" json:"cacheConsistencyType" vim:"5.5"`
+ CacheConsistencyType ChoiceOption `xml:"cacheConsistencyType" json:"cacheConsistencyType"`
// Cache modes.
//
// See `VirtualDiskVFlashCacheConfigInfoCacheMode_enum`
- CacheMode ChoiceOption `xml:"cacheMode" json:"cacheMode" vim:"5.5"`
+ CacheMode ChoiceOption `xml:"cacheMode" json:"cacheMode"`
// blockSizeInKBOption defines a range of virtual disk cache block size.
- BlockSizeInKBOption LongOption `xml:"blockSizeInKBOption" json:"blockSizeInKBOption" vim:"5.5"`
+ BlockSizeInKBOption LongOption `xml:"blockSizeInKBOption" json:"blockSizeInKBOption"`
// reservationInMBOption defines a range of virtual disk cache size.
- ReservationInMBOption LongOption `xml:"reservationInMBOption" json:"reservationInMBOption" vim:"5.5"`
+ ReservationInMBOption LongOption `xml:"reservationInMBOption" json:"reservationInMBOption"`
// Maximal size of virtual disk supported in kilobytes.
- MaxDiskSizeInKB int64 `xml:"maxDiskSizeInKB" json:"maxDiskSizeInKB" vim:"5.5"`
+ MaxDiskSizeInKB int64 `xml:"maxDiskSizeInKB" json:"maxDiskSizeInKB"`
}
func init() {
@@ -45731,18 +45968,18 @@ type HostVFlashManagerVFlashCacheConfigSpec struct {
// This setting can be overridden by
// `VirtualDiskVFlashCacheConfigInfo.vFlashModule`
// per VMDK.
- DefaultVFlashModule string `xml:"defaultVFlashModule" json:"defaultVFlashModule" vim:"5.5"`
+ DefaultVFlashModule string `xml:"defaultVFlashModule" json:"defaultVFlashModule"`
// Amount of vFlash resource is allocated to the host swap cache.
//
// As long as set,
// reservation will be permanent and retain regardless of host power state. The host
// swap cache will be disabled if the reservation is set to zero.
- SwapCacheReservationInGB int64 `xml:"swapCacheReservationInGB" json:"swapCacheReservationInGB" vim:"5.5"`
+ SwapCacheReservationInGB int64 `xml:"swapCacheReservationInGB" json:"swapCacheReservationInGB"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashCacheConfigSpec"] = "5.5"
t["HostVFlashManagerVFlashCacheConfigSpec"] = reflect.TypeOf((*HostVFlashManagerVFlashCacheConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashCacheConfigSpec"] = "5.5"
}
// vFlash configuration Information.
@@ -45750,14 +45987,14 @@ type HostVFlashManagerVFlashConfigInfo struct {
DynamicData
// vFlash resource configuration information
- VFlashResourceConfigInfo *HostVFlashManagerVFlashResourceConfigInfo `xml:"vFlashResourceConfigInfo,omitempty" json:"vFlashResourceConfigInfo,omitempty" vim:"5.5"`
+ VFlashResourceConfigInfo *HostVFlashManagerVFlashResourceConfigInfo `xml:"vFlashResourceConfigInfo,omitempty" json:"vFlashResourceConfigInfo,omitempty"`
// vFlash cache configuration information
- VFlashCacheConfigInfo *HostVFlashManagerVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty" json:"vFlashCacheConfigInfo,omitempty" vim:"5.5"`
+ VFlashCacheConfigInfo *HostVFlashManagerVFlashCacheConfigInfo `xml:"vFlashCacheConfigInfo,omitempty" json:"vFlashCacheConfigInfo,omitempty"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashConfigInfo"] = "5.5"
t["HostVFlashManagerVFlashConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashConfigInfo)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashConfigInfo"] = "5.5"
}
// vFlash resource configuration Information.
@@ -45765,17 +46002,17 @@ type HostVFlashManagerVFlashResourceConfigInfo struct {
DynamicData
// The contained VFFS volume
- Vffs *HostVffsVolume `xml:"vffs,omitempty" json:"vffs,omitempty" vim:"5.5"`
+ Vffs *HostVffsVolume `xml:"vffs,omitempty" json:"vffs,omitempty"`
// Capacity of the vFlash resource.
//
// It is the capacity
// of the contained VFFS volume.
- Capacity int64 `xml:"capacity" json:"capacity" vim:"5.5"`
+ Capacity int64 `xml:"capacity" json:"capacity"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashResourceConfigInfo"] = "5.5"
t["HostVFlashManagerVFlashResourceConfigInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceConfigInfo)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashResourceConfigInfo"] = "5.5"
}
// vFlash resource configuration specification.
@@ -45783,12 +46020,12 @@ type HostVFlashManagerVFlashResourceConfigSpec struct {
DynamicData
// The contained VFFS volume uuid.
- VffsUuid string `xml:"vffsUuid" json:"vffsUuid" vim:"5.5"`
+ VffsUuid string `xml:"vffsUuid" json:"vffsUuid"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashResourceConfigSpec"] = "5.5"
t["HostVFlashManagerVFlashResourceConfigSpec"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceConfigSpec)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashResourceConfigSpec"] = "5.5"
}
// Data object provides vFlash resource runtime usage.
@@ -45796,23 +46033,23 @@ type HostVFlashManagerVFlashResourceRunTimeInfo struct {
DynamicData
// Overall usage of vFlash resource, in bytes.
- Usage int64 `xml:"usage" json:"usage" vim:"5.5"`
+ Usage int64 `xml:"usage" json:"usage"`
// Overall capacity of vFlash resource, in bytes.
- Capacity int64 `xml:"capacity" json:"capacity" vim:"5.5"`
+ Capacity int64 `xml:"capacity" json:"capacity"`
// True if all the included the VFFS volumes are accessible.
//
// False if one or
// multiple included VFFS volumes are inaccessible.
- Accessible bool `xml:"accessible" json:"accessible" vim:"5.5"`
+ Accessible bool `xml:"accessible" json:"accessible"`
// vFlash resource capacity can be allocated for VM caches
- CapacityForVmCache int64 `xml:"capacityForVmCache" json:"capacityForVmCache" vim:"5.5"`
+ CapacityForVmCache int64 `xml:"capacityForVmCache" json:"capacityForVmCache"`
// Free vFlash resource can be allocated for VM caches
- FreeForVmCache int64 `xml:"freeForVmCache" json:"freeForVmCache" vim:"5.5"`
+ FreeForVmCache int64 `xml:"freeForVmCache" json:"freeForVmCache"`
}
func init() {
- minAPIVersionForType["HostVFlashManagerVFlashResourceRunTimeInfo"] = "5.5"
t["HostVFlashManagerVFlashResourceRunTimeInfo"] = reflect.TypeOf((*HostVFlashManagerVFlashResourceRunTimeInfo)(nil)).Elem()
+ minAPIVersionForType["HostVFlashManagerVFlashResourceRunTimeInfo"] = "5.5"
}
// vFlash resource configuration result returns the newly-configured backend
@@ -45821,16 +46058,16 @@ type HostVFlashResourceConfigurationResult struct {
DynamicData
// The original array of device path which user had specified
- DevicePath []string `xml:"devicePath,omitempty" json:"devicePath,omitempty" vim:"5.5"`
+ DevicePath []string `xml:"devicePath,omitempty" json:"devicePath,omitempty"`
// Newly configured VffsVolume
- Vffs *HostVffsVolume `xml:"vffs,omitempty" json:"vffs,omitempty" vim:"5.5"`
+ Vffs *HostVffsVolume `xml:"vffs,omitempty" json:"vffs,omitempty"`
// Array of device operation results.
- DiskConfigurationResult []HostDiskConfigurationResult `xml:"diskConfigurationResult,omitempty" json:"diskConfigurationResult,omitempty" vim:"5.5"`
+ DiskConfigurationResult []HostDiskConfigurationResult `xml:"diskConfigurationResult,omitempty" json:"diskConfigurationResult,omitempty"`
}
func init() {
- minAPIVersionForType["HostVFlashResourceConfigurationResult"] = "5.5"
t["HostVFlashResourceConfigurationResult"] = reflect.TypeOf((*HostVFlashResourceConfigurationResult)(nil)).Elem()
+ minAPIVersionForType["HostVFlashResourceConfigurationResult"] = "5.5"
}
// The object type for the array returned by queryVMotionCompatibility;
@@ -45897,31 +46134,31 @@ type HostVMotionManagerDstInstantCloneResult struct {
DynamicData
// The destination VM ID of the InstantCloned VM.
- DstVmId int32 `xml:"dstVmId,omitempty" json:"dstVmId,omitempty" vim:"7.0"`
+ DstVmId int32 `xml:"dstVmId,omitempty" json:"dstVmId,omitempty"`
// Time stamp at the start of the InstantClone operation at the dest
// VM.
- StartTime int64 `xml:"startTime,omitempty" json:"startTime,omitempty" vim:"7.0"`
+ StartTime int64 `xml:"startTime,omitempty" json:"startTime,omitempty"`
// Time stamp when the destination VM starts cpt load.
- CptLoadTime int64 `xml:"cptLoadTime,omitempty" json:"cptLoadTime,omitempty" vim:"7.0"`
+ CptLoadTime int64 `xml:"cptLoadTime,omitempty" json:"cptLoadTime,omitempty"`
// Time stamp when the destination VM completes cpt load.
- CptLoadDoneTime int64 `xml:"cptLoadDoneTime,omitempty" json:"cptLoadDoneTime,omitempty" vim:"7.0"`
+ CptLoadDoneTime int64 `xml:"cptLoadDoneTime,omitempty" json:"cptLoadDoneTime,omitempty"`
// Time stamp when the destination VM completes replicating memory.
- ReplicateMemDoneTime int64 `xml:"replicateMemDoneTime,omitempty" json:"replicateMemDoneTime,omitempty" vim:"7.0"`
+ ReplicateMemDoneTime int64 `xml:"replicateMemDoneTime,omitempty" json:"replicateMemDoneTime,omitempty"`
// Time stamp when the migration completes on the destination VM.
- EndTime int64 `xml:"endTime,omitempty" json:"endTime,omitempty" vim:"7.0"`
+ EndTime int64 `xml:"endTime,omitempty" json:"endTime,omitempty"`
// Device checkpoint stream time.
- CptXferTime int64 `xml:"cptXferTime,omitempty" json:"cptXferTime,omitempty" vim:"7.0"`
+ CptXferTime int64 `xml:"cptXferTime,omitempty" json:"cptXferTime,omitempty"`
// Checkpoint cache size used.
- CptCacheUsed int64 `xml:"cptCacheUsed,omitempty" json:"cptCacheUsed,omitempty" vim:"7.0"`
+ CptCacheUsed int64 `xml:"cptCacheUsed,omitempty" json:"cptCacheUsed,omitempty"`
// Device checkpoint stream size.
- DevCptStreamSize int64 `xml:"devCptStreamSize,omitempty" json:"devCptStreamSize,omitempty" vim:"7.0"`
+ DevCptStreamSize int64 `xml:"devCptStreamSize,omitempty" json:"devCptStreamSize,omitempty"`
// Device checkpoint stream time.
- DevCptStreamTime int64 `xml:"devCptStreamTime,omitempty" json:"devCptStreamTime,omitempty" vim:"7.0"`
+ DevCptStreamTime int64 `xml:"devCptStreamTime,omitempty" json:"devCptStreamTime,omitempty"`
}
func init() {
- minAPIVersionForType["HostVMotionManagerDstInstantCloneResult"] = "7.0"
t["HostVMotionManagerDstInstantCloneResult"] = reflect.TypeOf((*HostVMotionManagerDstInstantCloneResult)(nil)).Elem()
+ minAPIVersionForType["HostVMotionManagerDstInstantCloneResult"] = "7.0"
}
// The result of an InstantClone InitiateSource task.
@@ -45933,20 +46170,20 @@ type HostVMotionManagerSrcInstantCloneResult struct {
// Time stamp at the start of the InstantClone operation at the
// source VM.
- StartTime int64 `xml:"startTime,omitempty" json:"startTime,omitempty" vim:"7.0"`
+ StartTime int64 `xml:"startTime,omitempty" json:"startTime,omitempty"`
// Time stamp when the source VM enters quiesce state.
- QuiesceTime int64 `xml:"quiesceTime,omitempty" json:"quiesceTime,omitempty" vim:"7.0"`
+ QuiesceTime int64 `xml:"quiesceTime,omitempty" json:"quiesceTime,omitempty"`
// Time stamp when the source VM successfully quiesces.
- QuiesceDoneTime int64 `xml:"quiesceDoneTime,omitempty" json:"quiesceDoneTime,omitempty" vim:"7.0"`
+ QuiesceDoneTime int64 `xml:"quiesceDoneTime,omitempty" json:"quiesceDoneTime,omitempty"`
// Time stamp when the source VM completes resuming.
- ResumeDoneTime int64 `xml:"resumeDoneTime,omitempty" json:"resumeDoneTime,omitempty" vim:"7.0"`
+ ResumeDoneTime int64 `xml:"resumeDoneTime,omitempty" json:"resumeDoneTime,omitempty"`
// Time stamp when the migration completes on the source VM.
- EndTime int64 `xml:"endTime,omitempty" json:"endTime,omitempty" vim:"7.0"`
+ EndTime int64 `xml:"endTime,omitempty" json:"endTime,omitempty"`
}
func init() {
- minAPIVersionForType["HostVMotionManagerSrcInstantCloneResult"] = "7.0"
t["HostVMotionManagerSrcInstantCloneResult"] = reflect.TypeOf((*HostVMotionManagerSrcInstantCloneResult)(nil)).Elem()
+ minAPIVersionForType["HostVMotionManagerSrcInstantCloneResult"] = "7.0"
}
// The NetConfig data object type contains the networking
@@ -45971,22 +46208,22 @@ func init() {
type HostVStorageObjectCreateDiskFromSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of the virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
// A user friendly name to be associated with the new disk.
Name string `xml:"name" json:"name"`
// SPBM Profile requirement on the new virtual storage object.
// If not specified datastore default policy would be
// assigned.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// Crypto information of the new disk.
- Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty" vim:"6.5"`
+ Crypto BaseCryptoSpec `xml:"crypto,omitempty,typeattr" json:"crypto,omitempty"`
// Relative location in the specified datastore where disk needs
// to be created. If not specified disk gets created at defualt
// VStorageObject location on the specified datastore
@@ -45994,7 +46231,7 @@ type HostVStorageObjectCreateDiskFromSnapshotRequestType struct {
// Provisioining type of the disk as specified in above
// mentioned profile. The list of supported values can be found in
// `BaseConfigInfoDiskFileBackingInfoProvisioningType_enum`
- ProvisioningType string `xml:"provisioningType,omitempty" json:"provisioningType,omitempty"`
+ ProvisioningType string `xml:"provisioningType,omitempty" json:"provisioningType,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -46015,7 +46252,7 @@ type HostVStorageObjectCreateDiskFromSnapshot_TaskResponse struct {
type HostVStorageObjectCreateSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -46043,14 +46280,14 @@ type HostVStorageObjectCreateSnapshot_TaskResponse struct {
type HostVStorageObjectDeleteSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of a virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -46077,7 +46314,7 @@ func init() {
type HostVStorageObjectRetrieveSnapshotInfoRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -46097,14 +46334,14 @@ type HostVStorageObjectRetrieveSnapshotInfoResponse struct {
type HostVStorageObjectRevertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of a virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -46127,8 +46364,8 @@ type HostVfatVolume struct {
}
func init() {
- minAPIVersionForType["HostVfatVolume"] = "5.0"
t["HostVfatVolume"] = reflect.TypeOf((*HostVfatVolume)(nil)).Elem()
+ minAPIVersionForType["HostVfatVolume"] = "5.0"
}
// This data object type describes the VFFS
@@ -46139,25 +46376,25 @@ type HostVffsSpec struct {
// The device path of the SSD disk.
//
// See also `HostScsiDisk.devicePath`.
- DevicePath string `xml:"devicePath" json:"devicePath" vim:"5.5"`
+ DevicePath string `xml:"devicePath" json:"devicePath"`
// Partition specification of the SSD disk.
//
// If this property
// is not provided, partition information will be computed
// and generated.
- Partition *HostDiskPartitionSpec `xml:"partition,omitempty" json:"partition,omitempty" vim:"5.5"`
+ Partition *HostDiskPartitionSpec `xml:"partition,omitempty" json:"partition,omitempty"`
// Major version number of VFFS.
//
// This can be changed if the VFFS is
// upgraded, but this is an irreversible change.
- MajorVersion int32 `xml:"majorVersion" json:"majorVersion" vim:"5.5"`
+ MajorVersion int32 `xml:"majorVersion" json:"majorVersion"`
// Volume name of VFFS.
- VolumeName string `xml:"volumeName" json:"volumeName" vim:"5.5"`
+ VolumeName string `xml:"volumeName" json:"volumeName"`
}
func init() {
- minAPIVersionForType["HostVffsSpec"] = "5.5"
t["HostVffsSpec"] = reflect.TypeOf((*HostVffsSpec)(nil)).Elem()
+ minAPIVersionForType["HostVffsSpec"] = "5.5"
}
// vFlash File System Volume.
@@ -46165,21 +46402,21 @@ type HostVffsVolume struct {
HostFileSystemVolume
// Major version number of VFFS.
- MajorVersion int32 `xml:"majorVersion" json:"majorVersion" vim:"5.5"`
+ MajorVersion int32 `xml:"majorVersion" json:"majorVersion"`
// Version string.
//
// Contains major and minor version numbers.
- Version string `xml:"version" json:"version" vim:"5.5"`
+ Version string `xml:"version" json:"version"`
// The universally unique identifier assigned to VFFS.
- Uuid string `xml:"uuid" json:"uuid" vim:"5.5"`
+ Uuid string `xml:"uuid" json:"uuid"`
// The list of partition names that comprise this disk's
// VFFS extents.
- Extent []HostScsiDiskPartition `xml:"extent" json:"extent" vim:"5.5"`
+ Extent []HostScsiDiskPartition `xml:"extent" json:"extent"`
}
func init() {
- minAPIVersionForType["HostVffsVolume"] = "5.5"
t["HostVffsVolume"] = reflect.TypeOf((*HostVffsVolume)(nil)).Elem()
+ minAPIVersionForType["HostVffsVolume"] = "5.5"
}
// The `HostVirtualNic` data object describes a virtual network adapter
@@ -46264,12 +46501,12 @@ type HostVirtualNicConnection struct {
//
// If this parameter is set, use a virtual nic connected to
// a legacy portgroup.
- Portgroup string `xml:"portgroup,omitempty" json:"portgroup,omitempty" vim:"4.0"`
+ Portgroup string `xml:"portgroup,omitempty" json:"portgroup,omitempty"`
// Identifier for the DistributedVirtualPort.
//
// If the virtual nic is to be connected to a DVS,
// \#dvPort will be set instead of #portgroup
- DvPort *DistributedVirtualSwitchPortConnection `xml:"dvPort,omitempty" json:"dvPort,omitempty" vim:"4.0"`
+ DvPort *DistributedVirtualSwitchPortConnection `xml:"dvPort,omitempty" json:"dvPort,omitempty"`
// Identifier for the opaqueNetworkSpec virtual nic connected to.
//
// If the virtual nic is to be connected to a logicSwitch,
@@ -46278,8 +46515,8 @@ type HostVirtualNicConnection struct {
}
func init() {
- minAPIVersionForType["HostVirtualNicConnection"] = "4.0"
t["HostVirtualNicConnection"] = reflect.TypeOf((*HostVirtualNicConnection)(nil)).Elem()
+ minAPIVersionForType["HostVirtualNicConnection"] = "4.0"
}
// The `HostVirtualNicIpRouteSpec` data object describes the
@@ -46296,12 +46533,12 @@ type HostVirtualNicIpRouteSpec struct {
// `HostIpRouteConfig.ipV6DefaultGateway` properties.
// A user defined IPv4 and IPv6 default gateway can be removed by
// unsetting corresponding gateway property from ipRouteConfig.
- IpRouteConfig BaseHostIpRouteConfig `xml:"ipRouteConfig,omitempty,typeattr" json:"ipRouteConfig,omitempty" vim:"6.5"`
+ IpRouteConfig BaseHostIpRouteConfig `xml:"ipRouteConfig,omitempty,typeattr" json:"ipRouteConfig,omitempty"`
}
func init() {
- minAPIVersionForType["HostVirtualNicIpRouteSpec"] = "6.5"
t["HostVirtualNicIpRouteSpec"] = reflect.TypeOf((*HostVirtualNicIpRouteSpec)(nil)).Elem()
+ minAPIVersionForType["HostVirtualNicIpRouteSpec"] = "6.5"
}
// This data object type describes VirtualNic host
@@ -46313,12 +46550,12 @@ type HostVirtualNicManagerInfo struct {
//
// See also `VirtualNicManagerNetConfig`This contains the network
// configuration for each NicType..
- NetConfig []VirtualNicManagerNetConfig `xml:"netConfig,omitempty" json:"netConfig,omitempty" vim:"4.0"`
+ NetConfig []VirtualNicManagerNetConfig `xml:"netConfig,omitempty" json:"netConfig,omitempty"`
}
func init() {
- minAPIVersionForType["HostVirtualNicManagerInfo"] = "4.0"
t["HostVirtualNicManagerInfo"] = reflect.TypeOf((*HostVirtualNicManagerInfo)(nil)).Elem()
+ minAPIVersionForType["HostVirtualNicManagerInfo"] = "4.0"
}
// DataObject which lets a VirtualNic be marked for
@@ -46327,13 +46564,13 @@ type HostVirtualNicManagerNicTypeSelection struct {
DynamicData
// VirtualNic for the selection is being made
- Vnic HostVirtualNicConnection `xml:"vnic" json:"vnic" vim:"4.0"`
+ Vnic HostVirtualNicConnection `xml:"vnic" json:"vnic"`
NicType []string `xml:"nicType,omitempty" json:"nicType,omitempty"`
}
func init() {
- minAPIVersionForType["HostVirtualNicManagerNicTypeSelection"] = "4.0"
t["HostVirtualNicManagerNicTypeSelection"] = reflect.TypeOf((*HostVirtualNicManagerNicTypeSelection)(nil)).Elem()
+ minAPIVersionForType["HostVirtualNicManagerNicTypeSelection"] = "4.0"
}
// The `HostVirtualNicOpaqueNetworkSpec` data object
@@ -46343,14 +46580,14 @@ type HostVirtualNicOpaqueNetworkSpec struct {
DynamicData
// ID of the Opaque network to which the virtual NIC is connected.
- OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId" vim:"6.0"`
+ OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId"`
// Type of the Opaque network to which the virtual NIC is connected.
- OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType" vim:"6.0"`
+ OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType"`
}
func init() {
- minAPIVersionForType["HostVirtualNicOpaqueNetworkSpec"] = "6.0"
t["HostVirtualNicOpaqueNetworkSpec"] = reflect.TypeOf((*HostVirtualNicOpaqueNetworkSpec)(nil)).Elem()
+ minAPIVersionForType["HostVirtualNicOpaqueNetworkSpec"] = "6.0"
}
// The `HostVirtualNicSpec` data object describes the
@@ -46435,7 +46672,7 @@ type HostVirtualNicSpec struct {
// The identifier of the DPU hosting the vmknic.
//
// If vmknic is on ESX host, dpuId will be unset.
- DpuId string `xml:"dpuId,omitempty" json:"dpuId,omitempty"`
+ DpuId string `xml:"dpuId,omitempty" json:"dpuId,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -46642,8 +46879,8 @@ type HostVmciAccessManagerAccessSpec struct {
}
func init() {
- minAPIVersionForType["HostVmciAccessManagerAccessSpec"] = "5.0"
t["HostVmciAccessManagerAccessSpec"] = reflect.TypeOf((*HostVmciAccessManagerAccessSpec)(nil)).Elem()
+ minAPIVersionForType["HostVmciAccessManagerAccessSpec"] = "5.0"
}
// When a user resignatures an UnresolvedVmfsVolume through DatastoreSystem API,
@@ -46658,14 +46895,14 @@ type HostVmfsRescanResult struct {
// Host name on which rescan was performed
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// 'fault' would be set if the operation was not successful
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"4.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["HostVmfsRescanResult"] = "4.0"
t["HostVmfsRescanResult"] = reflect.TypeOf((*HostVmfsRescanResult)(nil)).Elem()
+ minAPIVersionForType["HostVmfsRescanResult"] = "4.0"
}
// This data object type describes the VMware File System (VMFS)
@@ -46865,14 +47102,14 @@ type HostVnicConnectedToCustomizedDVPortEvent struct {
HostEvent
// Information about the Virtual NIC that is using the DVport.
- Vnic VnicPortArgument `xml:"vnic" json:"vnic" vim:"4.0"`
+ Vnic VnicPortArgument `xml:"vnic" json:"vnic"`
// Information about the previous Virtual NIC that is using the DVport.
PrevPortKey string `xml:"prevPortKey,omitempty" json:"prevPortKey,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["HostVnicConnectedToCustomizedDVPortEvent"] = "4.0"
t["HostVnicConnectedToCustomizedDVPortEvent"] = reflect.TypeOf((*HostVnicConnectedToCustomizedDVPortEvent)(nil)).Elem()
+ minAPIVersionForType["HostVnicConnectedToCustomizedDVPortEvent"] = "4.0"
}
// All fields in the CMMDS Query spec are optional, but at least one needs
@@ -46883,16 +47120,16 @@ type HostVsanInternalSystemCmmdsQuery struct {
// CMMDS type, e.g.
//
// DOM\_OBJECT, LSOM\_OBJECT, POLICY, DISK etc.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"5.5"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// UUID of the entry.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// UUID of the owning node.
- Owner string `xml:"owner,omitempty" json:"owner,omitempty" vim:"5.5"`
+ Owner string `xml:"owner,omitempty" json:"owner,omitempty"`
}
func init() {
- minAPIVersionForType["HostVsanInternalSystemCmmdsQuery"] = "5.5"
t["HostVsanInternalSystemCmmdsQuery"] = reflect.TypeOf((*HostVsanInternalSystemCmmdsQuery)(nil)).Elem()
+ minAPIVersionForType["HostVsanInternalSystemCmmdsQuery"] = "5.5"
}
// Result of DeleteVsanObjects.
@@ -46900,18 +47137,18 @@ type HostVsanInternalSystemDeleteVsanObjectsResult struct {
DynamicData
// UUID of the VSAN object.
- Uuid string `xml:"uuid" json:"uuid" vim:"5.5"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Indicates success or failure of object deletion.
- Success bool `xml:"success" json:"success" vim:"5.5"`
+ Success bool `xml:"success" json:"success"`
// List of LocalizableMessages with the failure vobs.
//
// This is unset if delete is successful.
- FailureReason []LocalizableMessage `xml:"failureReason,omitempty" json:"failureReason,omitempty" vim:"5.5"`
+ FailureReason []LocalizableMessage `xml:"failureReason,omitempty" json:"failureReason,omitempty"`
}
func init() {
- minAPIVersionForType["HostVsanInternalSystemDeleteVsanObjectsResult"] = "5.5"
t["HostVsanInternalSystemDeleteVsanObjectsResult"] = reflect.TypeOf((*HostVsanInternalSystemDeleteVsanObjectsResult)(nil)).Elem()
+ minAPIVersionForType["HostVsanInternalSystemDeleteVsanObjectsResult"] = "5.5"
}
// Operation result for a VSAN object upon failure.
@@ -46919,14 +47156,14 @@ type HostVsanInternalSystemVsanObjectOperationResult struct {
DynamicData
// The UUID of the in question VSAN object.
- Uuid string `xml:"uuid" json:"uuid" vim:"6.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// List of LocalizableMessages with the failure vobs.
- FailureReason []LocalizableMessage `xml:"failureReason,omitempty" json:"failureReason,omitempty" vim:"6.0"`
+ FailureReason []LocalizableMessage `xml:"failureReason,omitempty" json:"failureReason,omitempty"`
}
func init() {
- minAPIVersionForType["HostVsanInternalSystemVsanObjectOperationResult"] = "6.0"
t["HostVsanInternalSystemVsanObjectOperationResult"] = reflect.TypeOf((*HostVsanInternalSystemVsanObjectOperationResult)(nil)).Elem()
+ minAPIVersionForType["HostVsanInternalSystemVsanObjectOperationResult"] = "6.0"
}
// Result structure for a VSAN Physical Disk Diagnostics run.
@@ -46937,49 +47174,80 @@ type HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult struct {
DynamicData
// VSAN Disk UUID of the checked disk.
- DiskUuid string `xml:"diskUuid" json:"diskUuid" vim:"5.5"`
+ DiskUuid string `xml:"diskUuid" json:"diskUuid"`
// Indicates success or failure of object creation on the disk.
- Success bool `xml:"success" json:"success" vim:"5.5"`
+ Success bool `xml:"success" json:"success"`
// A failure reason type, in case of failure.
- FailureReason string `xml:"failureReason,omitempty" json:"failureReason,omitempty" vim:"5.5"`
+ FailureReason string `xml:"failureReason,omitempty" json:"failureReason,omitempty"`
}
func init() {
- minAPIVersionForType["HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = "5.5"
t["HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = reflect.TypeOf((*HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult)(nil)).Elem()
+ minAPIVersionForType["HostVsanInternalSystemVsanPhysicalDiskDiagnosticsResult"] = "5.5"
+}
+
+type HostVvolNQN struct {
+ DynamicData
+
+ TargetNQN string `xml:"targetNQN" json:"targetNQN"`
+ StorageArray string `xml:"storageArray" json:"storageArray"`
+ Online bool `xml:"online" json:"online"`
+}
+
+func init() {
+ t["HostVvolNQN"] = reflect.TypeOf((*HostVvolNQN)(nil)).Elem()
}
type HostVvolVolume struct {
HostFileSystemVolume
// The universally unique identifier assigned to vvolDS.
- ScId string `xml:"scId" json:"scId" vim:"6.0"`
+ ScId string `xml:"scId" json:"scId"`
HostPE []VVolHostPE `xml:"hostPE,omitempty" json:"hostPE,omitempty"`
+ // Virtual Protocol endpoints for this volume
+ HostVvolNQN []HostVvolVolumeHostVvolNQN `xml:"hostVvolNQN,omitempty" json:"hostVvolNQN,omitempty" vim:"8.0.2.0"`
// VASA Providers that manage this volume
- VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty" vim:"6.0"`
+ VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty"`
// List of storage array serving this VVol based storage container
- StorageArray []VASAStorageArray `xml:"storageArray,omitempty" json:"storageArray,omitempty" vim:"6.0"`
+ StorageArray []VASAStorageArray `xml:"storageArray,omitempty" json:"storageArray,omitempty"`
// Backing protocol of the datastore
- ProtocolEndpointType string `xml:"protocolEndpointType,omitempty" json:"protocolEndpointType,omitempty"`
+ ProtocolEndpointType string `xml:"protocolEndpointType,omitempty" json:"protocolEndpointType,omitempty" vim:"8.0.0.0"`
+ // vVol NQN field availability
+ VvolNQNFieldsAvailable *bool `xml:"vvolNQNFieldsAvailable" json:"vvolNQNFieldsAvailable,omitempty" vim:"8.0.2.0"`
}
func init() {
t["HostVvolVolume"] = reflect.TypeOf((*HostVvolVolume)(nil)).Elem()
}
+type HostVvolVolumeHostVvolNQN struct {
+ DynamicData
+
+ // The host associated with this volume.
+ //
+ // Refers instance of `HostSystem`.
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
+ // Host-specific information about the virtual ProtocolEndpoint.
+ VvolNQN []HostVvolNQN `xml:"vvolNQN,omitempty" json:"vvolNQN,omitempty"`
+}
+
+func init() {
+ t["HostVvolVolumeHostVvolNQN"] = reflect.TypeOf((*HostVvolVolumeHostVvolNQN)(nil)).Elem()
+}
+
type HostVvolVolumeSpecification struct {
DynamicData
// Maximum size of the container
- MaxSizeInMB int64 `xml:"maxSizeInMB" json:"maxSizeInMB" vim:"6.0"`
+ MaxSizeInMB int64 `xml:"maxSizeInMB" json:"maxSizeInMB"`
// Container name.
- VolumeName string `xml:"volumeName" json:"volumeName" vim:"6.0"`
+ VolumeName string `xml:"volumeName" json:"volumeName"`
// VASA Providers that manage this volume
- VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty" vim:"6.0"`
+ VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty"`
// Storage Array
- StorageArray []VASAStorageArray `xml:"storageArray,omitempty" json:"storageArray,omitempty" vim:"6.0"`
+ StorageArray []VASAStorageArray `xml:"storageArray,omitempty" json:"storageArray,omitempty"`
// Vendor specified storage-container ID
- Uuid string `xml:"uuid" json:"uuid" vim:"6.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
}
func init() {
@@ -46991,18 +47259,18 @@ type HostWwnChangedEvent struct {
HostEvent
// The old node WWN.
- OldNodeWwns []int64 `xml:"oldNodeWwns,omitempty" json:"oldNodeWwns,omitempty" vim:"2.5"`
+ OldNodeWwns []int64 `xml:"oldNodeWwns,omitempty" json:"oldNodeWwns,omitempty"`
// The old port WWN.
- OldPortWwns []int64 `xml:"oldPortWwns,omitempty" json:"oldPortWwns,omitempty" vim:"2.5"`
+ OldPortWwns []int64 `xml:"oldPortWwns,omitempty" json:"oldPortWwns,omitempty"`
// The new node WWN.
- NewNodeWwns []int64 `xml:"newNodeWwns,omitempty" json:"newNodeWwns,omitempty" vim:"2.5"`
+ NewNodeWwns []int64 `xml:"newNodeWwns,omitempty" json:"newNodeWwns,omitempty"`
// The new port WWN.
- NewPortWwns []int64 `xml:"newPortWwns,omitempty" json:"newPortWwns,omitempty" vim:"2.5"`
+ NewPortWwns []int64 `xml:"newPortWwns,omitempty" json:"newPortWwns,omitempty"`
}
func init() {
- minAPIVersionForType["HostWwnChangedEvent"] = "2.5"
t["HostWwnChangedEvent"] = reflect.TypeOf((*HostWwnChangedEvent)(nil)).Elem()
+ minAPIVersionForType["HostWwnChangedEvent"] = "2.5"
}
// This event records a conflict of host WWNs (World Wide Name).
@@ -47011,17 +47279,17 @@ type HostWwnConflictEvent struct {
// The virtual machine whose WWN conflicts with the
// current host's WWN.
- ConflictedVms []VmEventArgument `xml:"conflictedVms,omitempty" json:"conflictedVms,omitempty" vim:"2.5"`
+ ConflictedVms []VmEventArgument `xml:"conflictedVms,omitempty" json:"conflictedVms,omitempty"`
// The host whose physical WWN conflicts with the
// current host's WWN.
- ConflictedHosts []HostEventArgument `xml:"conflictedHosts,omitempty" json:"conflictedHosts,omitempty" vim:"2.5"`
+ ConflictedHosts []HostEventArgument `xml:"conflictedHosts,omitempty" json:"conflictedHosts,omitempty"`
// The WWN in conflict.
- Wwn int64 `xml:"wwn" json:"wwn" vim:"2.5"`
+ Wwn int64 `xml:"wwn" json:"wwn"`
}
func init() {
- minAPIVersionForType["HostWwnConflictEvent"] = "2.5"
t["HostWwnConflictEvent"] = reflect.TypeOf((*HostWwnConflictEvent)(nil)).Elem()
+ minAPIVersionForType["HostWwnConflictEvent"] = "2.5"
}
// An attempt is being made to move a virtual machine's disk that has
@@ -47032,8 +47300,8 @@ type HotSnapshotMoveNotSupported struct {
}
func init() {
- minAPIVersionForType["HotSnapshotMoveNotSupported"] = "2.5"
t["HotSnapshotMoveNotSupported"] = reflect.TypeOf((*HotSnapshotMoveNotSupported)(nil)).Elem()
+ minAPIVersionForType["HotSnapshotMoveNotSupported"] = "2.5"
}
type HotSnapshotMoveNotSupportedFault HotSnapshotMoveNotSupported
@@ -47075,14 +47343,14 @@ type HttpFault struct {
VimFault
// HTTP status code received from external web-server.
- StatusCode int32 `xml:"statusCode" json:"statusCode" vim:"4.0"`
+ StatusCode int32 `xml:"statusCode" json:"statusCode"`
// HTTP status message received from external web-server.
- StatusMessage string `xml:"statusMessage" json:"statusMessage" vim:"4.0"`
+ StatusMessage string `xml:"statusMessage" json:"statusMessage"`
}
func init() {
- minAPIVersionForType["HttpFault"] = "4.0"
t["HttpFault"] = reflect.TypeOf((*HttpFault)(nil)).Elem()
+ minAPIVersionForType["HttpFault"] = "4.0"
}
type HttpFaultFault HttpFault
@@ -47119,14 +47387,14 @@ type HttpNfcLeaseCapabilities struct {
// all hosts in this lease support pull mode.
//
// Prerequisite before calling pullFromUrls.
- PullModeSupported bool `xml:"pullModeSupported" json:"pullModeSupported" vim:"6.7"`
+ PullModeSupported bool `xml:"pullModeSupported" json:"pullModeSupported"`
// True if all hosts in the lease support HTTP CORS.
- CorsSupported bool `xml:"corsSupported" json:"corsSupported" vim:"6.7"`
+ CorsSupported bool `xml:"corsSupported" json:"corsSupported"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseCapabilities"] = "6.7"
t["HttpNfcLeaseCapabilities"] = reflect.TypeOf((*HttpNfcLeaseCapabilities)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseCapabilities"] = "6.7"
}
type HttpNfcLeaseComplete HttpNfcLeaseCompleteRequestType
@@ -47152,18 +47420,18 @@ type HttpNfcLeaseDatastoreLeaseInfo struct {
DynamicData
// Datastore key.
- DatastoreKey string `xml:"datastoreKey" json:"datastoreKey" vim:"4.1"`
+ DatastoreKey string `xml:"datastoreKey" json:"datastoreKey"`
// List of hosts connected to this datastore and covered by this lease.
//
// The
// hosts in this list are multi-POST-capable, and any one of them can be used
// to transfer disks on this datastore.
- Hosts []HttpNfcLeaseHostInfo `xml:"hosts" json:"hosts" vim:"4.1"`
+ Hosts []HttpNfcLeaseHostInfo `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseDatastoreLeaseInfo"] = "4.1"
t["HttpNfcLeaseDatastoreLeaseInfo"] = reflect.TypeOf((*HttpNfcLeaseDatastoreLeaseInfo)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseDatastoreLeaseInfo"] = "4.1"
}
// Provides a mapping from logical device IDs to upload/download
@@ -47183,18 +47451,18 @@ type HttpNfcLeaseDeviceUrl struct {
//
// This is set for both import/export
// leases.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Identifies the device based on the names in an ImportSpec.
//
// This is only
// set for import leases.
- ImportKey string `xml:"importKey" json:"importKey" vim:"4.0"`
+ ImportKey string `xml:"importKey" json:"importKey"`
Url string `xml:"url" json:"url"`
// SSL thumbprint for the host the URL refers to.
//
// Empty if no SSL thumbprint
// is available or needed.
- SslThumbprint string `xml:"sslThumbprint" json:"sslThumbprint" vim:"4.0"`
+ SslThumbprint string `xml:"sslThumbprint" json:"sslThumbprint"`
// Optional value to specify if the attached file is a disk in
// vmdk format.
Disk *bool `xml:"disk" json:"disk,omitempty" vim:"4.1"`
@@ -47217,8 +47485,8 @@ type HttpNfcLeaseDeviceUrl struct {
}
func init() {
- minAPIVersionForType["HttpNfcLeaseDeviceUrl"] = "4.0"
t["HttpNfcLeaseDeviceUrl"] = reflect.TypeOf((*HttpNfcLeaseDeviceUrl)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseDeviceUrl"] = "4.0"
}
type HttpNfcLeaseGetManifest HttpNfcLeaseGetManifestRequestType
@@ -47254,17 +47522,17 @@ type HttpNfcLeaseHostInfo struct {
// a multi-POST URL looks like
//
// https://hostname/nfc/ticket id/multi?targets=id1,id2,id3,...
- Url string `xml:"url" json:"url" vim:"4.1"`
+ Url string `xml:"url" json:"url"`
// SSL thumbprint for the host the URL refers to.
//
// Empty if no SSL thumbprint
// is available or needed.
- SslThumbprint string `xml:"sslThumbprint" json:"sslThumbprint" vim:"4.1"`
+ SslThumbprint string `xml:"sslThumbprint" json:"sslThumbprint"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseHostInfo"] = "4.1"
t["HttpNfcLeaseHostInfo"] = reflect.TypeOf((*HttpNfcLeaseHostInfo)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseHostInfo"] = "4.1"
}
// This class holds information about the lease, such as the entity covered by the
@@ -47275,27 +47543,27 @@ type HttpNfcLeaseInfo struct {
// The `HttpNfcLease` object this information belongs to.
//
// Refers instance of `HttpNfcLease`.
- Lease ManagedObjectReference `xml:"lease" json:"lease" vim:"4.0"`
+ Lease ManagedObjectReference `xml:"lease" json:"lease"`
// The `VirtualMachine` or `VirtualApp` this
// lease covers.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"4.0"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
// The deviceUrl property contains a mapping from logical device keys
// to URLs.
- DeviceUrl []HttpNfcLeaseDeviceUrl `xml:"deviceUrl,omitempty" json:"deviceUrl,omitempty" vim:"4.0"`
+ DeviceUrl []HttpNfcLeaseDeviceUrl `xml:"deviceUrl,omitempty" json:"deviceUrl,omitempty"`
// Total capacity in kilobytes of all disks in all Virtual Machines
// covered by this lease.
//
// This can be used to track progress when
// transferring disks.
- TotalDiskCapacityInKB int64 `xml:"totalDiskCapacityInKB" json:"totalDiskCapacityInKB" vim:"4.0"`
+ TotalDiskCapacityInKB int64 `xml:"totalDiskCapacityInKB" json:"totalDiskCapacityInKB"`
// Number of seconds before the lease times out.
//
// The client extends
// the lease by calling `HttpNfcLease.HttpNfcLeaseProgress` before
// the timeout has expired.
- LeaseTimeout int32 `xml:"leaseTimeout" json:"leaseTimeout" vim:"4.0"`
+ LeaseTimeout int32 `xml:"leaseTimeout" json:"leaseTimeout"`
// Map of URLs for leased hosts for a given datastore.
//
// This is used to
@@ -47304,8 +47572,8 @@ type HttpNfcLeaseInfo struct {
}
func init() {
- minAPIVersionForType["HttpNfcLeaseInfo"] = "4.0"
t["HttpNfcLeaseInfo"] = reflect.TypeOf((*HttpNfcLeaseInfo)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseInfo"] = "4.0"
}
// Provides a manifest for downloaded (exported) files and disks.
@@ -47314,13 +47582,13 @@ type HttpNfcLeaseManifestEntry struct {
// Key used to match this entry with the corresponding `HttpNfcLeaseDeviceUrl`
// entry in `HttpNfcLease.info`.
- Key string `xml:"key" json:"key" vim:"4.1"`
+ Key string `xml:"key" json:"key"`
// SHA-1 checksum of the data stream sent from the server.
//
// This can be used
// to verify that the bytes received by the client match those sent by the
// HttpNfc server.
- Sha1 string `xml:"sha1" json:"sha1" vim:"4.1"`
+ Sha1 string `xml:"sha1" json:"sha1"`
// Checksum of the data stream sent/recieved by host.
//
// See `HttpNfcLeaseManifestEntryChecksumType_enum` for used algoritm.
@@ -47330,18 +47598,18 @@ type HttpNfcLeaseManifestEntry struct {
// See `HttpNfcLeaseManifestEntryChecksumType_enum` for supported algorithms.
ChecksumType string `xml:"checksumType,omitempty" json:"checksumType,omitempty" vim:"6.7"`
// Size of the downloaded file.
- Size int64 `xml:"size" json:"size" vim:"4.1"`
+ Size int64 `xml:"size" json:"size"`
// True if the downloaded file is a virtual disk backing.
- Disk bool `xml:"disk" json:"disk" vim:"4.1"`
+ Disk bool `xml:"disk" json:"disk"`
// The capacity of the disk, if the file is a virtual disk backing.
- Capacity int64 `xml:"capacity,omitempty" json:"capacity,omitempty" vim:"4.1"`
+ Capacity int64 `xml:"capacity,omitempty" json:"capacity,omitempty"`
// The populated size of the disk, if the file is a virtual disk backing.
- PopulatedSize int64 `xml:"populatedSize,omitempty" json:"populatedSize,omitempty" vim:"4.1"`
+ PopulatedSize int64 `xml:"populatedSize,omitempty" json:"populatedSize,omitempty"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseManifestEntry"] = "4.1"
t["HttpNfcLeaseManifestEntry"] = reflect.TypeOf((*HttpNfcLeaseManifestEntry)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseManifestEntry"] = "4.1"
}
// Descriptor of ProbeResult
@@ -47349,12 +47617,12 @@ type HttpNfcLeaseProbeResult struct {
DynamicData
// True if target host can access the web server.
- ServerAccessible bool `xml:"serverAccessible" json:"serverAccessible" vim:"7.0.2.0"`
+ ServerAccessible bool `xml:"serverAccessible" json:"serverAccessible"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseProbeResult"] = "7.0.2.0"
t["HttpNfcLeaseProbeResult"] = reflect.TypeOf((*HttpNfcLeaseProbeResult)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseProbeResult"] = "7.0.2.0"
}
type HttpNfcLeaseProbeUrls HttpNfcLeaseProbeUrlsRequestType
@@ -47369,7 +47637,7 @@ type HttpNfcLeaseProbeUrlsRequestType struct {
// \[in\] List of remote source file descriptors
// There should be the same number of `HttpNfcLeaseSourceFile`
// as `HttpNfcLeaseDeviceUrl` provided by this lease.
- Files []HttpNfcLeaseSourceFile `xml:"files,omitempty" json:"files,omitempty" vim:"6.7"`
+ Files []HttpNfcLeaseSourceFile `xml:"files,omitempty" json:"files,omitempty"`
// \[in\] time in seconds for each url validation.
// Maximum timeout is 60.
Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
@@ -47411,7 +47679,7 @@ type HttpNfcLeasePullFromUrlsRequestType struct {
// There should be the same number of `HttpNfcLeaseSourceFile`
// as `HttpNfcLeaseDeviceUrl` provided by this lease.
// Privilege VApp.PullFromUrls is required.
- Files []HttpNfcLeaseSourceFile `xml:"files,omitempty" json:"files,omitempty" vim:"6.7"`
+ Files []HttpNfcLeaseSourceFile `xml:"files,omitempty" json:"files,omitempty"`
}
func init() {
@@ -47440,7 +47708,7 @@ type HttpNfcLeaseSetManifestChecksumTypeRequestType struct {
// \[in\] Should contain key value pairs:
// where key is `HttpNfcLeaseDeviceUrl.key` returned in this lease info and value
// is desired algorithm from `HttpNfcLeaseManifestEntryChecksumType_enum`.
- DeviceUrlsToChecksumTypes []KeyValue `xml:"deviceUrlsToChecksumTypes,omitempty" json:"deviceUrlsToChecksumTypes,omitempty" vim:"2.5"`
+ DeviceUrlsToChecksumTypes []KeyValue `xml:"deviceUrlsToChecksumTypes,omitempty" json:"deviceUrlsToChecksumTypes,omitempty"`
}
func init() {
@@ -47458,37 +47726,37 @@ type HttpNfcLeaseSourceFile struct {
//
// Uniquely identifies host, vm and device.
// Given by this lease in `HttpNfcLeaseDeviceUrl.importKey`.
- TargetDeviceId string `xml:"targetDeviceId" json:"targetDeviceId" vim:"6.7"`
+ TargetDeviceId string `xml:"targetDeviceId" json:"targetDeviceId"`
// Full url of the source file, for example https://server/path/disk-1.vmdk.
//
// Or url to OVA, in that case `HttpNfcLeaseSourceFile.memberName` should be specified.
- Url string `xml:"url" json:"url" vim:"6.7"`
+ Url string `xml:"url" json:"url"`
// Used only when OVA is specified in `HttpNfcLeaseSourceFile.url`.
//
// Should contain file name to extract from OVA.
- MemberName string `xml:"memberName,omitempty" json:"memberName,omitempty" vim:"6.7"`
+ MemberName string `xml:"memberName,omitempty" json:"memberName,omitempty"`
// True if PUT should be used for upload, otherwise POST.
//
// Same as `OvfFileItem.create`
- Create bool `xml:"create" json:"create" vim:"6.7"`
+ Create bool `xml:"create" json:"create"`
// Esx has no CA database for checking arbitrary certificates.
//
// Client should verify the server certificate and provide
// certificate thumbprint here.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"6.7"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// For the case when remote server requires authentication or any other
// type of custom HTTP headers be provided with the request.
- HttpHeaders []KeyValue `xml:"httpHeaders,omitempty" json:"httpHeaders,omitempty" vim:"6.7"`
+ HttpHeaders []KeyValue `xml:"httpHeaders,omitempty" json:"httpHeaders,omitempty"`
// Size of the file, if known.
//
// Otherwise it will be determined by a HEAD
// request. Not used for OVA members.
- Size int64 `xml:"size,omitempty" json:"size,omitempty" vim:"6.7"`
+ Size int64 `xml:"size,omitempty" json:"size,omitempty"`
}
func init() {
- minAPIVersionForType["HttpNfcLeaseSourceFile"] = "6.7"
t["HttpNfcLeaseSourceFile"] = reflect.TypeOf((*HttpNfcLeaseSourceFile)(nil)).Elem()
+ minAPIVersionForType["HttpNfcLeaseSourceFile"] = "6.7"
}
// This data object type describes an identifier class which
@@ -47498,12 +47766,12 @@ type ID struct {
// Id string which is globally unique to identify
// an object.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
}
func init() {
- minAPIVersionForType["ID"] = "6.5"
t["ID"] = reflect.TypeOf((*ID)(nil)).Elem()
+ minAPIVersionForType["ID"] = "6.5"
}
// Deprecated as of VI API 2.5, use `DeviceControllerNotSupported`.
@@ -47532,19 +47800,19 @@ type IORMNotSupportedHostOnDatastore struct {
// The datastore.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"4.1"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The name of the datastore.
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"4.1"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
// The list of hosts that do not support storage I/O
// resource management.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.1"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
- minAPIVersionForType["IORMNotSupportedHostOnDatastore"] = "4.1"
t["IORMNotSupportedHostOnDatastore"] = reflect.TypeOf((*IORMNotSupportedHostOnDatastore)(nil)).Elem()
+ minAPIVersionForType["IORMNotSupportedHostOnDatastore"] = "4.1"
}
type IORMNotSupportedHostOnDatastoreFault IORMNotSupportedHostOnDatastore
@@ -47559,8 +47827,8 @@ type IScsiBootFailureEvent struct {
}
func init() {
- minAPIVersionForType["IScsiBootFailureEvent"] = "4.1"
t["IScsiBootFailureEvent"] = reflect.TypeOf((*IScsiBootFailureEvent)(nil)).Elem()
+ minAPIVersionForType["IScsiBootFailureEvent"] = "4.1"
}
type ImpersonateUser ImpersonateUserRequestType
@@ -47622,12 +47890,12 @@ type ImportHostAddFailure struct {
DvsFault
// Hosts on which import operation failed
- HostIp []string `xml:"hostIp" json:"hostIp" vim:"5.1"`
+ HostIp []string `xml:"hostIp" json:"hostIp"`
}
func init() {
- minAPIVersionForType["ImportHostAddFailure"] = "5.1"
t["ImportHostAddFailure"] = reflect.TypeOf((*ImportHostAddFailure)(nil)).Elem()
+ minAPIVersionForType["ImportHostAddFailure"] = "5.1"
}
type ImportHostAddFailureFault ImportHostAddFailure
@@ -47641,12 +47909,12 @@ type ImportOperationBulkFault struct {
DvsFault
// Faults occurred during the import operation
- ImportFaults []ImportOperationBulkFaultFaultOnImport `xml:"importFaults" json:"importFaults" vim:"5.1"`
+ ImportFaults []ImportOperationBulkFaultFaultOnImport `xml:"importFaults" json:"importFaults"`
}
func init() {
- minAPIVersionForType["ImportOperationBulkFault"] = "5.1"
t["ImportOperationBulkFault"] = reflect.TypeOf((*ImportOperationBulkFault)(nil)).Elem()
+ minAPIVersionForType["ImportOperationBulkFault"] = "5.1"
}
type ImportOperationBulkFaultFault ImportOperationBulkFault
@@ -47663,16 +47931,16 @@ type ImportOperationBulkFaultFaultOnImport struct {
//
// See `EntityType_enum`
// for valid values
- EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty" vim:"5.1"`
+ EntityType string `xml:"entityType,omitempty" json:"entityType,omitempty"`
// The key on which import failed
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.1"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The fault that occurred.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"5.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["ImportOperationBulkFaultFaultOnImport"] = "5.1"
t["ImportOperationBulkFaultFaultOnImport"] = reflect.TypeOf((*ImportOperationBulkFaultFaultOnImport)(nil)).Elem()
+ minAPIVersionForType["ImportOperationBulkFaultFaultOnImport"] = "5.1"
}
// An ImportSpec is used when importing VMs or vApps.
@@ -47690,15 +47958,15 @@ type ImportSpec struct {
//
// This is used for
// sub-entities of a vApp that could be a virtual machine or a vApp.
- EntityConfig *VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty" vim:"4.0"`
+ EntityConfig *VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty"`
// The instantiation OST (see `OvfConsumer` ) to be consumed by OVF
// consumers.
InstantiationOst *OvfConsumerOstNode `xml:"instantiationOst,omitempty" json:"instantiationOst,omitempty" vim:"5.0"`
}
func init() {
- minAPIVersionForType["ImportSpec"] = "4.0"
t["ImportSpec"] = reflect.TypeOf((*ImportSpec)(nil)).Elem()
+ minAPIVersionForType["ImportSpec"] = "4.0"
}
type ImportUnmanagedSnapshot ImportUnmanagedSnapshotRequestType
@@ -47741,7 +48009,7 @@ func init() {
type ImportVAppRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// An `ImportSpec` describing what to import.
- Spec BaseImportSpec `xml:"spec,typeattr" json:"spec" vim:"4.0"`
+ Spec BaseImportSpec `xml:"spec,typeattr" json:"spec"`
// The folder to which the entity will be attached.
//
// Required privileges: VApp.Import
@@ -47771,8 +48039,8 @@ type InUseFeatureManipulationDisallowed struct {
}
func init() {
- minAPIVersionForType["InUseFeatureManipulationDisallowed"] = "4.0"
t["InUseFeatureManipulationDisallowed"] = reflect.TypeOf((*InUseFeatureManipulationDisallowed)(nil)).Elem()
+ minAPIVersionForType["InUseFeatureManipulationDisallowed"] = "4.0"
}
type InUseFeatureManipulationDisallowedFault InUseFeatureManipulationDisallowed
@@ -47807,8 +48075,8 @@ type InaccessibleFTMetadataDatastore struct {
}
func init() {
- minAPIVersionForType["InaccessibleFTMetadataDatastore"] = "6.0"
t["InaccessibleFTMetadataDatastore"] = reflect.TypeOf((*InaccessibleFTMetadataDatastore)(nil)).Elem()
+ minAPIVersionForType["InaccessibleFTMetadataDatastore"] = "6.0"
}
type InaccessibleFTMetadataDatastoreFault InaccessibleFTMetadataDatastore
@@ -47825,12 +48093,12 @@ type InaccessibleVFlashSource struct {
VimFault
// Name of the host which has the vFlash resource
- HostName string `xml:"hostName" json:"hostName" vim:"5.5"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["InaccessibleVFlashSource"] = "5.5"
t["InaccessibleVFlashSource"] = reflect.TypeOf((*InaccessibleVFlashSource)(nil)).Elem()
+ minAPIVersionForType["InaccessibleVFlashSource"] = "5.5"
}
type InaccessibleVFlashSourceFault InaccessibleVFlashSource
@@ -47859,12 +48127,12 @@ type IncompatibleDefaultDevice struct {
MigrationFault
// The label of the device.
- Device string `xml:"device" json:"device" vim:"2.5"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["IncompatibleDefaultDevice"] = "2.5"
t["IncompatibleDefaultDevice"] = reflect.TypeOf((*IncompatibleDefaultDevice)(nil)).Elem()
+ minAPIVersionForType["IncompatibleDefaultDevice"] = "2.5"
}
type IncompatibleDefaultDeviceFault IncompatibleDefaultDevice
@@ -47882,15 +48150,15 @@ type IncompatibleHostForFtSecondary struct {
// The host that is not compatible with the secondary virtual machine.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Information on why the host that was specified could not be used for
// the FaultTolerance Secondary VirtualMachine.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["IncompatibleHostForFtSecondary"] = "4.0"
t["IncompatibleHostForFtSecondary"] = reflect.TypeOf((*IncompatibleHostForFtSecondary)(nil)).Elem()
+ minAPIVersionForType["IncompatibleHostForFtSecondary"] = "4.0"
}
type IncompatibleHostForFtSecondaryFault IncompatibleHostForFtSecondary
@@ -47906,16 +48174,16 @@ type IncompatibleHostForVmReplication struct {
ReplicationFault
// The VM which has replication configured
- VmName string `xml:"vmName" json:"vmName" vim:"6.0"`
+ VmName string `xml:"vmName" json:"vmName"`
// The host which is incompatible for VM replication
- HostName string `xml:"hostName" json:"hostName" vim:"6.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// The reason why the host is incompatible
- Reason string `xml:"reason" json:"reason" vim:"6.0"`
+ Reason string `xml:"reason" json:"reason"`
}
func init() {
- minAPIVersionForType["IncompatibleHostForVmReplication"] = "6.0"
t["IncompatibleHostForVmReplication"] = reflect.TypeOf((*IncompatibleHostForVmReplication)(nil)).Elem()
+ minAPIVersionForType["IncompatibleHostForVmReplication"] = "6.0"
}
type IncompatibleHostForVmReplicationFault IncompatibleHostForVmReplication
@@ -47967,8 +48235,8 @@ type IncorrectHostInformation struct {
}
func init() {
- minAPIVersionForType["IncorrectHostInformation"] = "2.5"
t["IncorrectHostInformation"] = reflect.TypeOf((*IncorrectHostInformation)(nil)).Elem()
+ minAPIVersionForType["IncorrectHostInformation"] = "2.5"
}
// This event records if the host did not provide the information needed
@@ -47978,8 +48246,8 @@ type IncorrectHostInformationEvent struct {
}
func init() {
- minAPIVersionForType["IncorrectHostInformationEvent"] = "2.5"
t["IncorrectHostInformationEvent"] = reflect.TypeOf((*IncorrectHostInformationEvent)(nil)).Elem()
+ minAPIVersionForType["IncorrectHostInformationEvent"] = "2.5"
}
type IncorrectHostInformationFault IncorrectHostInformation
@@ -48027,8 +48295,8 @@ type IndependentDiskVMotionNotSupported struct {
}
func init() {
- minAPIVersionForType["IndependentDiskVMotionNotSupported"] = "2.5"
t["IndependentDiskVMotionNotSupported"] = reflect.TypeOf((*IndependentDiskVMotionNotSupported)(nil)).Elem()
+ minAPIVersionForType["IndependentDiskVMotionNotSupported"] = "2.5"
}
type IndependentDiskVMotionNotSupportedFault IndependentDiskVMotionNotSupported
@@ -48041,7 +48309,7 @@ func init() {
type InflateDiskRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual disk to be inflated.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual disk is located.
//
// Refers instance of `Datastore`.
@@ -48119,19 +48387,19 @@ type InheritablePolicy struct {
DynamicData
// Whether the configuration is set to inherited value.
- Inherited bool `xml:"inherited" json:"inherited" vim:"4.0"`
+ Inherited bool `xml:"inherited" json:"inherited"`
}
func init() {
- minAPIVersionForType["InheritablePolicy"] = "4.0"
t["InheritablePolicy"] = reflect.TypeOf((*InheritablePolicy)(nil)).Elem()
+ minAPIVersionForType["InheritablePolicy"] = "4.0"
}
// The parameters of `HostVsanSystem.InitializeDisks_Task`.
type InitializeDisksRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// list of disk mappings to initialize
- Mapping []VsanHostDiskMapping `xml:"mapping" json:"mapping" vim:"5.5"`
+ Mapping []VsanHostDiskMapping `xml:"mapping" json:"mapping"`
}
func init() {
@@ -48164,7 +48432,7 @@ type InitiateFileTransferFromGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the file inside the guest
// that has to be transferred to the client. It cannot be a path to
// a directory or a symbolic link.
@@ -48196,7 +48464,7 @@ type InitiateFileTransferToGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete destination path in the guest to
// transfer the file from the client. It cannot be a path to
// a directory or a symbolic link.
@@ -48205,7 +48473,7 @@ type InitiateFileTransferToGuestRequestType struct {
// created in the guest. See `GuestFileAttributes`.
// If any file attribute is not specified, then the default value
// of that property will be set for the file.
- FileAttributes BaseGuestFileAttributes `xml:"fileAttributes,typeattr" json:"fileAttributes" vim:"5.0"`
+ FileAttributes BaseGuestFileAttributes `xml:"fileAttributes,typeattr" json:"fileAttributes"`
// Size of the file to transfer to the guest in bytes.
FileSize int64 `xml:"fileSize" json:"fileSize"`
// If set, the destination file is clobbered.
@@ -48350,7 +48618,7 @@ type InstantCloneRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Is a `VirtualMachineInstantCloneSpec`. It specifies the
// cloned virtual machine's configuration.
- Spec VirtualMachineInstantCloneSpec `xml:"spec" json:"spec" vim:"6.7"`
+ Spec VirtualMachineInstantCloneSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -48375,14 +48643,14 @@ type InsufficientAgentVmsDeployed struct {
HostName string `xml:"hostName" json:"hostName"`
// The number of agent virtual machines required to be deployed on the host.
- RequiredNumAgentVms int32 `xml:"requiredNumAgentVms" json:"requiredNumAgentVms" vim:"5.0"`
+ RequiredNumAgentVms int32 `xml:"requiredNumAgentVms" json:"requiredNumAgentVms"`
// The number of agent virtual machines currently deployed on the host.
- CurrentNumAgentVms int32 `xml:"currentNumAgentVms" json:"currentNumAgentVms" vim:"5.0"`
+ CurrentNumAgentVms int32 `xml:"currentNumAgentVms" json:"currentNumAgentVms"`
}
func init() {
- minAPIVersionForType["InsufficientAgentVmsDeployed"] = "5.0"
t["InsufficientAgentVmsDeployed"] = reflect.TypeOf((*InsufficientAgentVmsDeployed)(nil)).Elem()
+ minAPIVersionForType["InsufficientAgentVmsDeployed"] = "5.0"
}
type InsufficientAgentVmsDeployedFault InsufficientAgentVmsDeployed
@@ -48419,8 +48687,8 @@ type InsufficientDisks struct {
}
func init() {
- minAPIVersionForType["InsufficientDisks"] = "5.5"
t["InsufficientDisks"] = reflect.TypeOf((*InsufficientDisks)(nil)).Elem()
+ minAPIVersionForType["InsufficientDisks"] = "5.5"
}
type InsufficientDisksFault InsufficientDisks
@@ -48472,8 +48740,8 @@ type InsufficientGraphicsResourcesFault struct {
}
func init() {
- minAPIVersionForType["InsufficientGraphicsResourcesFault"] = "6.0"
t["InsufficientGraphicsResourcesFault"] = reflect.TypeOf((*InsufficientGraphicsResourcesFault)(nil)).Elem()
+ minAPIVersionForType["InsufficientGraphicsResourcesFault"] = "6.0"
}
type InsufficientGraphicsResourcesFaultFault InsufficientGraphicsResourcesFault
@@ -48507,14 +48775,14 @@ type InsufficientHostCpuCapacityFault struct {
InsufficientHostCapacityFault
// The CPU available on the host in MHz.
- Unreserved int64 `xml:"unreserved" json:"unreserved" vim:"4.0"`
+ Unreserved int64 `xml:"unreserved" json:"unreserved"`
// The CPU resource amount requested in the failed operation in MHz.
- Requested int64 `xml:"requested" json:"requested" vim:"4.0"`
+ Requested int64 `xml:"requested" json:"requested"`
}
func init() {
- minAPIVersionForType["InsufficientHostCpuCapacityFault"] = "4.0"
t["InsufficientHostCpuCapacityFault"] = reflect.TypeOf((*InsufficientHostCpuCapacityFault)(nil)).Elem()
+ minAPIVersionForType["InsufficientHostCpuCapacityFault"] = "4.0"
}
type InsufficientHostCpuCapacityFaultFault InsufficientHostCpuCapacityFault
@@ -48528,14 +48796,14 @@ type InsufficientHostMemoryCapacityFault struct {
InsufficientHostCapacityFault
// The memory available on the host in bytes.
- Unreserved int64 `xml:"unreserved" json:"unreserved" vim:"4.0"`
+ Unreserved int64 `xml:"unreserved" json:"unreserved"`
// The memory resource amount requested in the failed operation in bytes.
- Requested int64 `xml:"requested" json:"requested" vim:"4.0"`
+ Requested int64 `xml:"requested" json:"requested"`
}
func init() {
- minAPIVersionForType["InsufficientHostMemoryCapacityFault"] = "4.0"
t["InsufficientHostMemoryCapacityFault"] = reflect.TypeOf((*InsufficientHostMemoryCapacityFault)(nil)).Elem()
+ minAPIVersionForType["InsufficientHostMemoryCapacityFault"] = "4.0"
}
type InsufficientHostMemoryCapacityFaultFault InsufficientHostMemoryCapacityFault
@@ -48570,8 +48838,8 @@ type InsufficientNetworkCapacity struct {
}
func init() {
- minAPIVersionForType["InsufficientNetworkCapacity"] = "6.0"
t["InsufficientNetworkCapacity"] = reflect.TypeOf((*InsufficientNetworkCapacity)(nil)).Elem()
+ minAPIVersionForType["InsufficientNetworkCapacity"] = "6.0"
}
type InsufficientNetworkCapacityFault InsufficientNetworkCapacity
@@ -48586,24 +48854,24 @@ type InsufficientNetworkResourcePoolCapacity struct {
// Distributed Virtual Switch containing the resource pool
// having unsufficient network bandwitdh.
- DvsName string `xml:"dvsName" json:"dvsName" vim:"6.0"`
+ DvsName string `xml:"dvsName" json:"dvsName"`
// UUID of the distributed Virtual Switch containing the resource pool
// having unsufficient network bandwitdh.
- DvsUuid string `xml:"dvsUuid" json:"dvsUuid" vim:"6.0"`
+ DvsUuid string `xml:"dvsUuid" json:"dvsUuid"`
// Key of the resource pool on which network bandwidth is requested.
- ResourcePoolKey string `xml:"resourcePoolKey" json:"resourcePoolKey" vim:"6.0"`
+ ResourcePoolKey string `xml:"resourcePoolKey" json:"resourcePoolKey"`
// Network bandwidth available (in MBs) in the requested resource pool.
- Available int64 `xml:"available" json:"available" vim:"6.0"`
+ Available int64 `xml:"available" json:"available"`
// Network bandwidth amount requested (in MBs).
- Requested int64 `xml:"requested" json:"requested" vim:"6.0"`
+ Requested int64 `xml:"requested" json:"requested"`
// List of network devices that are requesting or already have requested
// bandwidth on the network resource pool.
- Device []string `xml:"device" json:"device" vim:"6.0"`
+ Device []string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["InsufficientNetworkResourcePoolCapacity"] = "6.0"
t["InsufficientNetworkResourcePoolCapacity"] = reflect.TypeOf((*InsufficientNetworkResourcePoolCapacity)(nil)).Elem()
+ minAPIVersionForType["InsufficientNetworkResourcePoolCapacity"] = "6.0"
}
type InsufficientNetworkResourcePoolCapacityFault InsufficientNetworkResourcePoolCapacity
@@ -48618,8 +48886,8 @@ type InsufficientPerCpuCapacity struct {
}
func init() {
- minAPIVersionForType["InsufficientPerCpuCapacity"] = "2.5"
t["InsufficientPerCpuCapacity"] = reflect.TypeOf((*InsufficientPerCpuCapacity)(nil)).Elem()
+ minAPIVersionForType["InsufficientPerCpuCapacity"] = "2.5"
}
type InsufficientPerCpuCapacityFault InsufficientPerCpuCapacity
@@ -48655,15 +48923,15 @@ type InsufficientStandbyCpuResource struct {
// The total amount of CPU resource available (in MHz) on all the usable hosts
// in the cluster (including powered on and standby hosts).
- Available int64 `xml:"available" json:"available" vim:"4.0"`
+ Available int64 `xml:"available" json:"available"`
// The additional amount of CPU resource (other than that on the hosts included
// in "available") needed (in MHz).
- Requested int64 `xml:"requested" json:"requested" vim:"4.0"`
+ Requested int64 `xml:"requested" json:"requested"`
}
func init() {
- minAPIVersionForType["InsufficientStandbyCpuResource"] = "4.0"
t["InsufficientStandbyCpuResource"] = reflect.TypeOf((*InsufficientStandbyCpuResource)(nil)).Elem()
+ minAPIVersionForType["InsufficientStandbyCpuResource"] = "4.0"
}
type InsufficientStandbyCpuResourceFault InsufficientStandbyCpuResource
@@ -48682,15 +48950,15 @@ type InsufficientStandbyMemoryResource struct {
// The total amount of memory resource available (in bytes) on all the usable hosts
// in the cluster (including powered on and standby hosts).
- Available int64 `xml:"available" json:"available" vim:"4.0"`
+ Available int64 `xml:"available" json:"available"`
// The additional amount of memory resource (other than that on the hosts included
// in "available") needed (in bytes).
- Requested int64 `xml:"requested" json:"requested" vim:"4.0"`
+ Requested int64 `xml:"requested" json:"requested"`
}
func init() {
- minAPIVersionForType["InsufficientStandbyMemoryResource"] = "4.0"
t["InsufficientStandbyMemoryResource"] = reflect.TypeOf((*InsufficientStandbyMemoryResource)(nil)).Elem()
+ minAPIVersionForType["InsufficientStandbyMemoryResource"] = "4.0"
}
type InsufficientStandbyMemoryResourceFault InsufficientStandbyMemoryResource
@@ -48707,8 +48975,8 @@ type InsufficientStandbyResource struct {
}
func init() {
- minAPIVersionForType["InsufficientStandbyResource"] = "4.0"
t["InsufficientStandbyResource"] = reflect.TypeOf((*InsufficientStandbyResource)(nil)).Elem()
+ minAPIVersionForType["InsufficientStandbyResource"] = "4.0"
}
type InsufficientStandbyResourceFault BaseInsufficientStandbyResource
@@ -48722,16 +48990,16 @@ type InsufficientStorageIops struct {
VimFault
// The IOPs available on the datastore
- UnreservedIops int64 `xml:"unreservedIops" json:"unreservedIops" vim:"6.0"`
+ UnreservedIops int64 `xml:"unreservedIops" json:"unreservedIops"`
// The IOPs resource amount requested in the failed operation
- RequestedIops int64 `xml:"requestedIops" json:"requestedIops" vim:"6.0"`
+ RequestedIops int64 `xml:"requestedIops" json:"requestedIops"`
// Name of the datastore with insufficient capacity
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"6.0"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
}
func init() {
- minAPIVersionForType["InsufficientStorageIops"] = "6.0"
t["InsufficientStorageIops"] = reflect.TypeOf((*InsufficientStorageIops)(nil)).Elem()
+ minAPIVersionForType["InsufficientStorageIops"] = "6.0"
}
type InsufficientStorageIopsFault InsufficientStorageIops
@@ -48748,8 +49016,8 @@ type InsufficientStorageSpace struct {
}
func init() {
- minAPIVersionForType["InsufficientStorageSpace"] = "5.0"
t["InsufficientStorageSpace"] = reflect.TypeOf((*InsufficientStorageSpace)(nil)).Elem()
+ minAPIVersionForType["InsufficientStorageSpace"] = "5.0"
}
type InsufficientStorageSpaceFault InsufficientStorageSpace
@@ -48765,16 +49033,16 @@ type InsufficientVFlashResourcesFault struct {
// The vFlash resource available capacity in MB.
FreeSpaceInMB int64 `xml:"freeSpaceInMB,omitempty" json:"freeSpaceInMB,omitempty" vim:"6.0"`
// The vFlash resource available capacity in bytes.
- FreeSpace int64 `xml:"freeSpace" json:"freeSpace" vim:"5.5"`
+ FreeSpace int64 `xml:"freeSpace" json:"freeSpace"`
// The vFlash resource amount requested in MB.
RequestedSpaceInMB int64 `xml:"requestedSpaceInMB,omitempty" json:"requestedSpaceInMB,omitempty" vim:"6.0"`
// The vFlash resource amount requested in bytes.
- RequestedSpace int64 `xml:"requestedSpace" json:"requestedSpace" vim:"5.5"`
+ RequestedSpace int64 `xml:"requestedSpace" json:"requestedSpace"`
}
func init() {
- minAPIVersionForType["InsufficientVFlashResourcesFault"] = "5.5"
t["InsufficientVFlashResourcesFault"] = reflect.TypeOf((*InsufficientVFlashResourcesFault)(nil)).Elem()
+ minAPIVersionForType["InsufficientVFlashResourcesFault"] = "5.5"
}
type InsufficientVFlashResourcesFaultFault InsufficientVFlashResourcesFault
@@ -48789,12 +49057,12 @@ type IntExpression struct {
NegatableExpression
// The integer value that is either negated or used as it is
- Value int32 `xml:"value,omitempty" json:"value,omitempty" vim:"5.5"`
+ Value int32 `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["IntExpression"] = "5.5"
t["IntExpression"] = reflect.TypeOf((*IntExpression)(nil)).Elem()
+ minAPIVersionForType["IntExpression"] = "5.5"
}
// The IntOption data object type is used to define the minimum, maximum,
@@ -48820,12 +49088,12 @@ type IntPolicy struct {
InheritablePolicy
// The integer value that is either set or inherited.
- Value int32 `xml:"value,omitempty" json:"value,omitempty" vim:"4.0"`
+ Value int32 `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["IntPolicy"] = "4.0"
t["IntPolicy"] = reflect.TypeOf((*IntPolicy)(nil)).Elem()
+ minAPIVersionForType["IntPolicy"] = "4.0"
}
// An InvalidAffinitySettingsFault is thrown if an invalid affinity setting is
@@ -48835,8 +49103,8 @@ type InvalidAffinitySettingFault struct {
}
func init() {
- minAPIVersionForType["InvalidAffinitySettingFault"] = "2.5"
t["InvalidAffinitySettingFault"] = reflect.TypeOf((*InvalidAffinitySettingFault)(nil)).Elem()
+ minAPIVersionForType["InvalidAffinitySettingFault"] = "2.5"
}
type InvalidAffinitySettingFaultFault InvalidAffinitySettingFault
@@ -48875,8 +49143,8 @@ type InvalidBmcRole struct {
}
func init() {
- minAPIVersionForType["InvalidBmcRole"] = "4.0"
t["InvalidBmcRole"] = reflect.TypeOf((*InvalidBmcRole)(nil)).Elem()
+ minAPIVersionForType["InvalidBmcRole"] = "4.0"
}
type InvalidBmcRoleFault InvalidBmcRole
@@ -48892,8 +49160,8 @@ type InvalidBundle struct {
}
func init() {
- minAPIVersionForType["InvalidBundle"] = "2.5"
t["InvalidBundle"] = reflect.TypeOf((*InvalidBundle)(nil)).Elem()
+ minAPIVersionForType["InvalidBundle"] = "2.5"
}
type InvalidBundleFault InvalidBundle
@@ -48909,8 +49177,8 @@ type InvalidCAMCertificate struct {
}
func init() {
- minAPIVersionForType["InvalidCAMCertificate"] = "5.0"
t["InvalidCAMCertificate"] = reflect.TypeOf((*InvalidCAMCertificate)(nil)).Elem()
+ minAPIVersionForType["InvalidCAMCertificate"] = "5.0"
}
type InvalidCAMCertificateFault InvalidCAMCertificate
@@ -48926,12 +49194,12 @@ type InvalidCAMServer struct {
ActiveDirectoryFault
// The address of the CAM server.
- CamServer string `xml:"camServer" json:"camServer" vim:"5.0"`
+ CamServer string `xml:"camServer" json:"camServer"`
}
func init() {
- minAPIVersionForType["InvalidCAMServer"] = "5.0"
t["InvalidCAMServer"] = reflect.TypeOf((*InvalidCAMServer)(nil)).Elem()
+ minAPIVersionForType["InvalidCAMServer"] = "5.0"
}
type InvalidCAMServerFault BaseInvalidCAMServer
@@ -48947,8 +49215,8 @@ type InvalidClientCertificate struct {
}
func init() {
- minAPIVersionForType["InvalidClientCertificate"] = "2.5u2"
t["InvalidClientCertificate"] = reflect.TypeOf((*InvalidClientCertificate)(nil)).Elem()
+ minAPIVersionForType["InvalidClientCertificate"] = "2.5u2"
}
type InvalidClientCertificateFault InvalidClientCertificate
@@ -49002,14 +49270,14 @@ type InvalidDasConfigArgument struct {
InvalidArgument
// The entry for the invalid argument
- Entry string `xml:"entry,omitempty" json:"entry,omitempty" vim:"5.1"`
+ Entry string `xml:"entry,omitempty" json:"entry,omitempty"`
// Name of the cluster to be configured
- ClusterName string `xml:"clusterName,omitempty" json:"clusterName,omitempty" vim:"5.1"`
+ ClusterName string `xml:"clusterName,omitempty" json:"clusterName,omitempty"`
}
func init() {
- minAPIVersionForType["InvalidDasConfigArgument"] = "5.1"
t["InvalidDasConfigArgument"] = reflect.TypeOf((*InvalidDasConfigArgument)(nil)).Elem()
+ minAPIVersionForType["InvalidDasConfigArgument"] = "5.1"
}
type InvalidDasConfigArgumentFault InvalidDasConfigArgument
@@ -49026,14 +49294,14 @@ type InvalidDasRestartPriorityForFtVm struct {
// The virtual machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The name of the virtual machine
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["InvalidDasRestartPriorityForFtVm"] = "4.1"
t["InvalidDasRestartPriorityForFtVm"] = reflect.TypeOf((*InvalidDasRestartPriorityForFtVm)(nil)).Elem()
+ minAPIVersionForType["InvalidDasRestartPriorityForFtVm"] = "4.1"
}
type InvalidDasRestartPriorityForFtVmFault InvalidDasRestartPriorityForFtVm
@@ -49098,12 +49366,12 @@ type InvalidDatastoreState struct {
InvalidState
// The name of the datastore.
- DatastoreName string `xml:"datastoreName,omitempty" json:"datastoreName,omitempty" vim:"5.0"`
+ DatastoreName string `xml:"datastoreName,omitempty" json:"datastoreName,omitempty"`
}
func init() {
- minAPIVersionForType["InvalidDatastoreState"] = "5.0"
t["InvalidDatastoreState"] = reflect.TypeOf((*InvalidDatastoreState)(nil)).Elem()
+ minAPIVersionForType["InvalidDatastoreState"] = "5.0"
}
type InvalidDatastoreStateFault InvalidDatastoreState
@@ -49197,14 +49465,14 @@ type InvalidDrsBehaviorForFtVm struct {
// The virtual machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The name of the virtual machine
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["InvalidDrsBehaviorForFtVm"] = "4.0"
t["InvalidDrsBehaviorForFtVm"] = reflect.TypeOf((*InvalidDrsBehaviorForFtVm)(nil)).Elem()
+ minAPIVersionForType["InvalidDrsBehaviorForFtVm"] = "4.0"
}
type InvalidDrsBehaviorForFtVmFault InvalidDrsBehaviorForFtVm
@@ -49221,8 +49489,8 @@ type InvalidEditionEvent struct {
}
func init() {
- minAPIVersionForType["InvalidEditionEvent"] = "2.5"
t["InvalidEditionEvent"] = reflect.TypeOf((*InvalidEditionEvent)(nil)).Elem()
+ minAPIVersionForType["InvalidEditionEvent"] = "2.5"
}
// An ExpiredEditionLicense fault is thrown if an attempt to acquire an Edition license
@@ -49234,8 +49502,8 @@ type InvalidEditionLicense struct {
}
func init() {
- minAPIVersionForType["InvalidEditionLicense"] = "2.5"
t["InvalidEditionLicense"] = reflect.TypeOf((*InvalidEditionLicense)(nil)).Elem()
+ minAPIVersionForType["InvalidEditionLicense"] = "2.5"
}
type InvalidEditionLicenseFault InvalidEditionLicense
@@ -49251,8 +49519,8 @@ type InvalidEvent struct {
}
func init() {
- minAPIVersionForType["InvalidEvent"] = "2.5"
t["InvalidEvent"] = reflect.TypeOf((*InvalidEvent)(nil)).Elem()
+ minAPIVersionForType["InvalidEvent"] = "2.5"
}
type InvalidEventFault InvalidEvent
@@ -49312,8 +49580,8 @@ type InvalidGuestLogin struct {
}
func init() {
- minAPIVersionForType["InvalidGuestLogin"] = "5.0"
t["InvalidGuestLogin"] = reflect.TypeOf((*InvalidGuestLogin)(nil)).Elem()
+ minAPIVersionForType["InvalidGuestLogin"] = "5.0"
}
type InvalidGuestLoginFault InvalidGuestLogin
@@ -49328,8 +49596,8 @@ type InvalidHostConnectionState struct {
}
func init() {
- minAPIVersionForType["InvalidHostConnectionState"] = "5.1"
t["InvalidHostConnectionState"] = reflect.TypeOf((*InvalidHostConnectionState)(nil)).Elem()
+ minAPIVersionForType["InvalidHostConnectionState"] = "5.1"
}
type InvalidHostConnectionStateFault InvalidHostConnectionState
@@ -49344,8 +49612,8 @@ type InvalidHostName struct {
}
func init() {
- minAPIVersionForType["InvalidHostName"] = "4.1"
t["InvalidHostName"] = reflect.TypeOf((*InvalidHostName)(nil)).Elem()
+ minAPIVersionForType["InvalidHostName"] = "4.1"
}
type InvalidHostNameFault InvalidHostName
@@ -49361,12 +49629,12 @@ type InvalidHostState struct {
// The host that has an invalid state.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
}
func init() {
- minAPIVersionForType["InvalidHostState"] = "2.5"
t["InvalidHostState"] = reflect.TypeOf((*InvalidHostState)(nil)).Elem()
+ minAPIVersionForType["InvalidHostState"] = "2.5"
}
type InvalidHostStateFault BaseInvalidHostState
@@ -49381,12 +49649,12 @@ type InvalidIndexArgument struct {
InvalidArgument
// Value of index that was not found
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["InvalidIndexArgument"] = "4.0"
t["InvalidIndexArgument"] = reflect.TypeOf((*InvalidIndexArgument)(nil)).Elem()
+ minAPIVersionForType["InvalidIndexArgument"] = "4.0"
}
type InvalidIndexArgumentFault InvalidIndexArgument
@@ -49400,12 +49668,12 @@ type InvalidIpfixConfig struct {
DvsFault
// Path of the property in IpfixConfig that has an invalid value.
- Property string `xml:"property,omitempty" json:"property,omitempty" vim:"5.1"`
+ Property string `xml:"property,omitempty" json:"property,omitempty"`
}
func init() {
- minAPIVersionForType["InvalidIpfixConfig"] = "5.1"
t["InvalidIpfixConfig"] = reflect.TypeOf((*InvalidIpfixConfig)(nil)).Elem()
+ minAPIVersionForType["InvalidIpfixConfig"] = "5.1"
}
type InvalidIpfixConfigFault InvalidIpfixConfig
@@ -49421,8 +49689,8 @@ type InvalidIpmiLoginInfo struct {
}
func init() {
- minAPIVersionForType["InvalidIpmiLoginInfo"] = "4.0"
t["InvalidIpmiLoginInfo"] = reflect.TypeOf((*InvalidIpmiLoginInfo)(nil)).Elem()
+ minAPIVersionForType["InvalidIpmiLoginInfo"] = "4.0"
}
type InvalidIpmiLoginInfoFault InvalidIpmiLoginInfo
@@ -49441,8 +49709,8 @@ type InvalidIpmiMacAddress struct {
}
func init() {
- minAPIVersionForType["InvalidIpmiMacAddress"] = "4.0"
t["InvalidIpmiMacAddress"] = reflect.TypeOf((*InvalidIpmiMacAddress)(nil)).Elem()
+ minAPIVersionForType["InvalidIpmiMacAddress"] = "4.0"
}
type InvalidIpmiMacAddressFault InvalidIpmiMacAddress
@@ -49532,12 +49800,12 @@ type InvalidNasCredentials struct {
NasConfigFault
// The username associated with the CIFS connection.
- UserName string `xml:"userName" json:"userName" vim:"4.0"`
+ UserName string `xml:"userName" json:"userName"`
}
func init() {
- minAPIVersionForType["InvalidNasCredentials"] = "4.0"
t["InvalidNasCredentials"] = reflect.TypeOf((*InvalidNasCredentials)(nil)).Elem()
+ minAPIVersionForType["InvalidNasCredentials"] = "2.5 U2"
}
type InvalidNasCredentialsFault InvalidNasCredentials
@@ -49552,8 +49820,8 @@ type InvalidNetworkInType struct {
}
func init() {
- minAPIVersionForType["InvalidNetworkInType"] = "4.0"
t["InvalidNetworkInType"] = reflect.TypeOf((*InvalidNetworkInType)(nil)).Elem()
+ minAPIVersionForType["InvalidNetworkInType"] = "4.0"
}
type InvalidNetworkInTypeFault InvalidNetworkInType
@@ -49568,14 +49836,14 @@ type InvalidNetworkResource struct {
NasConfigFault
// The host that runs the CIFS or NFS server.
- RemoteHost string `xml:"remoteHost" json:"remoteHost" vim:"4.0"`
+ RemoteHost string `xml:"remoteHost" json:"remoteHost"`
// The remote share.
- RemotePath string `xml:"remotePath" json:"remotePath" vim:"4.0"`
+ RemotePath string `xml:"remotePath" json:"remotePath"`
}
func init() {
- minAPIVersionForType["InvalidNetworkResource"] = "4.0"
t["InvalidNetworkResource"] = reflect.TypeOf((*InvalidNetworkResource)(nil)).Elem()
+ minAPIVersionForType["InvalidNetworkResource"] = "2.5 U2"
}
type InvalidNetworkResourceFault InvalidNetworkResource
@@ -49591,12 +49859,12 @@ type InvalidOperationOnSecondaryVm struct {
VmFaultToleranceIssue
// Instance UUID of the secondary virtual machine.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["InvalidOperationOnSecondaryVm"] = "4.0"
t["InvalidOperationOnSecondaryVm"] = reflect.TypeOf((*InvalidOperationOnSecondaryVm)(nil)).Elem()
+ minAPIVersionForType["InvalidOperationOnSecondaryVm"] = "4.0"
}
type InvalidOperationOnSecondaryVmFault InvalidOperationOnSecondaryVm
@@ -49658,22 +49926,22 @@ type InvalidProfileReferenceHost struct {
RuntimeFault
// The reason for the invalid reference host if known.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The incompatible host if associated with the profile.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"5.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The profile with the invalid or missing reference host.
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// The profile name: the replacement of the member above.
ProfileName string `xml:"profileName,omitempty" json:"profileName,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["InvalidProfileReferenceHost"] = "5.0"
t["InvalidProfileReferenceHost"] = reflect.TypeOf((*InvalidProfileReferenceHost)(nil)).Elem()
+ minAPIVersionForType["InvalidProfileReferenceHost"] = "5.0"
}
type InvalidProfileReferenceHostFault InvalidProfileReferenceHost
@@ -49706,8 +49974,8 @@ type InvalidPropertyType struct {
}
func init() {
- minAPIVersionForType["InvalidPropertyType"] = "4.0"
t["InvalidPropertyType"] = reflect.TypeOf((*InvalidPropertyType)(nil)).Elem()
+ minAPIVersionForType["InvalidPropertyType"] = "4.0"
}
type InvalidPropertyTypeFault InvalidPropertyType
@@ -49722,8 +49990,8 @@ type InvalidPropertyValue struct {
}
func init() {
- minAPIVersionForType["InvalidPropertyValue"] = "4.0"
t["InvalidPropertyValue"] = reflect.TypeOf((*InvalidPropertyValue)(nil)).Elem()
+ minAPIVersionForType["InvalidPropertyValue"] = "4.0"
}
type InvalidPropertyValueFault BaseInvalidPropertyValue
@@ -49772,6 +50040,23 @@ func init() {
t["InvalidResourcePoolStructureFaultFault"] = reflect.TypeOf((*InvalidResourcePoolStructureFaultFault)(nil)).Elem()
}
+// This exception is thrown when an unauthorized
+// user runs a scheduled task.
+type InvalidScheduledTask struct {
+ RuntimeFault
+}
+
+func init() {
+ t["InvalidScheduledTask"] = reflect.TypeOf((*InvalidScheduledTask)(nil)).Elem()
+ minAPIVersionForType["InvalidScheduledTask"] = "8.0.2.0"
+}
+
+type InvalidScheduledTaskFault InvalidScheduledTask
+
+func init() {
+ t["InvalidScheduledTaskFault"] = reflect.TypeOf((*InvalidScheduledTaskFault)(nil)).Elem()
+}
+
// Thrown when an invalid snapshot configuration is detected.
//
// For
@@ -49854,12 +50139,12 @@ type InvalidVmState struct {
// The VM that has an invalid state.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"6.5"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
- minAPIVersionForType["InvalidVmState"] = "6.5"
t["InvalidVmState"] = reflect.TypeOf((*InvalidVmState)(nil)).Elem()
+ minAPIVersionForType["InvalidVmState"] = "6.5"
}
type InvalidVmStateFault InvalidVmState
@@ -49874,46 +50159,46 @@ type InventoryDescription struct {
DynamicData
// The number of hosts.
- NumHosts int32 `xml:"numHosts" json:"numHosts" vim:"4.0"`
+ NumHosts int32 `xml:"numHosts" json:"numHosts"`
// The number of virtual machines.
- NumVirtualMachines int32 `xml:"numVirtualMachines" json:"numVirtualMachines" vim:"4.0"`
+ NumVirtualMachines int32 `xml:"numVirtualMachines" json:"numVirtualMachines"`
// The number of resource pools.
//
// Default value is equal to numHosts
- NumResourcePools int32 `xml:"numResourcePools,omitempty" json:"numResourcePools,omitempty" vim:"4.0"`
+ NumResourcePools int32 `xml:"numResourcePools,omitempty" json:"numResourcePools,omitempty"`
// The number of clusters.
//
// Default value is equal to numHosts/5.
- NumClusters int32 `xml:"numClusters,omitempty" json:"numClusters,omitempty" vim:"4.0"`
+ NumClusters int32 `xml:"numClusters,omitempty" json:"numClusters,omitempty"`
// The number cpu devices per host.
//
// Default value is 4.
- NumCpuDev int32 `xml:"numCpuDev,omitempty" json:"numCpuDev,omitempty" vim:"4.0"`
+ NumCpuDev int32 `xml:"numCpuDev,omitempty" json:"numCpuDev,omitempty"`
// The number network devices per host.
//
// Default value is 2.
- NumNetDev int32 `xml:"numNetDev,omitempty" json:"numNetDev,omitempty" vim:"4.0"`
+ NumNetDev int32 `xml:"numNetDev,omitempty" json:"numNetDev,omitempty"`
// The number disk devices per host.
//
// Default value is 10.
- NumDiskDev int32 `xml:"numDiskDev,omitempty" json:"numDiskDev,omitempty" vim:"4.0"`
+ NumDiskDev int32 `xml:"numDiskDev,omitempty" json:"numDiskDev,omitempty"`
// The number cpu devices per vm.
//
// Default value is 2.
- NumvCpuDev int32 `xml:"numvCpuDev,omitempty" json:"numvCpuDev,omitempty" vim:"4.0"`
+ NumvCpuDev int32 `xml:"numvCpuDev,omitempty" json:"numvCpuDev,omitempty"`
// The number network devices per vm.
//
// Default value is 1.
- NumvNetDev int32 `xml:"numvNetDev,omitempty" json:"numvNetDev,omitempty" vim:"4.0"`
+ NumvNetDev int32 `xml:"numvNetDev,omitempty" json:"numvNetDev,omitempty"`
// The number disk devices per vm.
//
// Default value is 4.
- NumvDiskDev int32 `xml:"numvDiskDev,omitempty" json:"numvDiskDev,omitempty" vim:"4.0"`
+ NumvDiskDev int32 `xml:"numvDiskDev,omitempty" json:"numvDiskDev,omitempty"`
}
func init() {
- minAPIVersionForType["InventoryDescription"] = "4.0"
t["InventoryDescription"] = reflect.TypeOf((*InventoryDescription)(nil)).Elem()
+ minAPIVersionForType["InventoryDescription"] = "4.0"
}
// A InventoryHasStandardAloneHosts fault is thrown if an assignment operation tries to downgrade a license that does have allow hosts licensed with StandardAlone license in the inventory.
@@ -49924,8 +50209,8 @@ type InventoryHasStandardAloneHosts struct {
}
func init() {
- minAPIVersionForType["InventoryHasStandardAloneHosts"] = "4.0"
t["InventoryHasStandardAloneHosts"] = reflect.TypeOf((*InventoryHasStandardAloneHosts)(nil)).Elem()
+ minAPIVersionForType["InventoryHasStandardAloneHosts"] = "4.0"
}
type InventoryHasStandardAloneHostsFault InventoryHasStandardAloneHosts
@@ -49941,14 +50226,14 @@ type IoFilterHostIssue struct {
// Host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"6.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The issues.
- Issue []LocalizedMethodFault `xml:"issue" json:"issue" vim:"6.0"`
+ Issue []LocalizedMethodFault `xml:"issue" json:"issue"`
}
func init() {
- minAPIVersionForType["IoFilterHostIssue"] = "6.0"
t["IoFilterHostIssue"] = reflect.TypeOf((*IoFilterHostIssue)(nil)).Elem()
+ minAPIVersionForType["IoFilterHostIssue"] = "6.0"
}
// Information about an IO Filter.
@@ -49956,13 +50241,13 @@ type IoFilterInfo struct {
DynamicData
// IO Filter identifier.
- Id string `xml:"id" json:"id" vim:"6.0"`
+ Id string `xml:"id" json:"id"`
// Name of the IO Filter.
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
// Vendor of the IO Filter.
- Vendor string `xml:"vendor" json:"vendor" vim:"6.0"`
+ Vendor string `xml:"vendor" json:"vendor"`
// Version of the IO Filter.
- Version string `xml:"version" json:"version" vim:"6.0"`
+ Version string `xml:"version" json:"version"`
// Type of the IO Filter.
//
// The set of possible values are listed in
@@ -49972,16 +50257,16 @@ type IoFilterInfo struct {
// Short description of the IO Filter.
//
// The property is unset if the information is not available.
- Summary string `xml:"summary,omitempty" json:"summary,omitempty" vim:"6.0"`
+ Summary string `xml:"summary,omitempty" json:"summary,omitempty"`
// Release date of the IO Filter.
//
// The property is unset if the information is not available.
- ReleaseDate string `xml:"releaseDate,omitempty" json:"releaseDate,omitempty" vim:"6.0"`
+ ReleaseDate string `xml:"releaseDate,omitempty" json:"releaseDate,omitempty"`
}
func init() {
- minAPIVersionForType["IoFilterInfo"] = "6.0"
t["IoFilterInfo"] = reflect.TypeOf((*IoFilterInfo)(nil)).Elem()
+ minAPIVersionForType["IoFilterInfo"] = "6.0"
}
// Result for `IoFilterManager.QueryIoFilterIssues`.
@@ -49992,14 +50277,14 @@ type IoFilterQueryIssueResult struct {
//
// The set of possible values are defined in
// `IoFilterOperation_enum`.
- OpType string `xml:"opType" json:"opType" vim:"6.0"`
+ OpType string `xml:"opType" json:"opType"`
// The issues on hosts.
- HostIssue []IoFilterHostIssue `xml:"hostIssue,omitempty" json:"hostIssue,omitempty" vim:"6.0"`
+ HostIssue []IoFilterHostIssue `xml:"hostIssue,omitempty" json:"hostIssue,omitempty"`
}
func init() {
- minAPIVersionForType["IoFilterQueryIssueResult"] = "6.0"
t["IoFilterQueryIssueResult"] = reflect.TypeOf((*IoFilterQueryIssueResult)(nil)).Elem()
+ minAPIVersionForType["IoFilterQueryIssueResult"] = "6.0"
}
// This is the abstract base class for IP address.
@@ -50008,8 +50293,8 @@ type IpAddress struct {
}
func init() {
- minAPIVersionForType["IpAddress"] = "5.5"
t["IpAddress"] = reflect.TypeOf((*IpAddress)(nil)).Elem()
+ minAPIVersionForType["IpAddress"] = "5.5"
}
// The `IpAddressProfile` represents the Virtual NIC IP address.
@@ -50021,8 +50306,8 @@ type IpAddressProfile struct {
}
func init() {
- minAPIVersionForType["IpAddressProfile"] = "4.0"
t["IpAddressProfile"] = reflect.TypeOf((*IpAddressProfile)(nil)).Elem()
+ minAPIVersionForType["IpAddressProfile"] = "4.0"
}
// An error occurred while running the IP/hostname generator application
@@ -50052,7 +50337,7 @@ type IpPool struct {
//
// This is used to identify the pool in
// subsequent lookups or updates. The generated value is also returned by the `IpPoolManager.CreateIpPool` method.
- Id int32 `xml:"id,omitempty" json:"id,omitempty" vim:"4.0"`
+ Id int32 `xml:"id,omitempty" json:"id,omitempty"`
// Pool name.
//
// The pool name must be unique within the datacenter.
@@ -50062,32 +50347,32 @@ type IpPool struct {
// this name element is escaped, unless it is used to start an escape
// sequence. A slash is escaped as %2F or %2f. A backslash is escaped as %5C or
// %5c, and a percent is escaped as %25.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// IPv4 configuration.
//
// This configuration is always present on the pool. To disable allocation, set the
// ipPoolEnabled flag of the config to false.
- Ipv4Config *IpPoolIpPoolConfigInfo `xml:"ipv4Config,omitempty" json:"ipv4Config,omitempty" vim:"4.0"`
+ Ipv4Config *IpPoolIpPoolConfigInfo `xml:"ipv4Config,omitempty" json:"ipv4Config,omitempty"`
// IPv6 configuration.
//
// This configuration is always present on the pool. To disable allocation, set the
// ipPoolEnabled flag of the config to false.
- Ipv6Config *IpPoolIpPoolConfigInfo `xml:"ipv6Config,omitempty" json:"ipv6Config,omitempty" vim:"4.0"`
+ Ipv6Config *IpPoolIpPoolConfigInfo `xml:"ipv6Config,omitempty" json:"ipv6Config,omitempty"`
// DNS Domain.
//
// For example, vmware.com. This can be an empty string if no
// domain is configured.
- DnsDomain string `xml:"dnsDomain,omitempty" json:"dnsDomain,omitempty" vim:"4.0"`
+ DnsDomain string `xml:"dnsDomain,omitempty" json:"dnsDomain,omitempty"`
// DNS Search Path.
//
// For example, eng.vmware.com;vmware.com
- DnsSearchPath string `xml:"dnsSearchPath,omitempty" json:"dnsSearchPath,omitempty" vim:"4.0"`
+ DnsSearchPath string `xml:"dnsSearchPath,omitempty" json:"dnsSearchPath,omitempty"`
// Prefix for hostnames.
- HostPrefix string `xml:"hostPrefix,omitempty" json:"hostPrefix,omitempty" vim:"4.0"`
+ HostPrefix string `xml:"hostPrefix,omitempty" json:"hostPrefix,omitempty"`
// The HTTP proxy to use on this network, e.g., <host>:<port>
- HttpProxy string `xml:"httpProxy,omitempty" json:"httpProxy,omitempty" vim:"4.0"`
+ HttpProxy string `xml:"httpProxy,omitempty" json:"httpProxy,omitempty"`
// The networks that are associated with this IP pool
- NetworkAssociation []IpPoolAssociation `xml:"networkAssociation,omitempty" json:"networkAssociation,omitempty" vim:"4.0"`
+ NetworkAssociation []IpPoolAssociation `xml:"networkAssociation,omitempty" json:"networkAssociation,omitempty"`
// The number of IPv4 addresses available for allocation.
AvailableIpv4Addresses int32 `xml:"availableIpv4Addresses,omitempty" json:"availableIpv4Addresses,omitempty" vim:"5.1"`
// The number of IPv6 addresses available for allocation.
@@ -50099,8 +50384,8 @@ type IpPool struct {
}
func init() {
- minAPIVersionForType["IpPool"] = "4.0"
t["IpPool"] = reflect.TypeOf((*IpPool)(nil)).Elem()
+ minAPIVersionForType["IpPool"] = "4.0"
}
// Information about a network or portgroup that is associated to an IP pool.
@@ -50110,17 +50395,17 @@ type IpPoolAssociation struct {
// The network object
//
// Refers instance of `Network`.
- Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty" vim:"4.0"`
+ Network *ManagedObjectReference `xml:"network,omitempty" json:"network,omitempty"`
// The name of the network or portgroup
//
// This field is only used when querying existing IP pools. It is ignored when
// creating or updating pools.
- NetworkName string `xml:"networkName" json:"networkName" vim:"4.0"`
+ NetworkName string `xml:"networkName" json:"networkName"`
}
func init() {
- minAPIVersionForType["IpPoolAssociation"] = "4.0"
t["IpPoolAssociation"] = reflect.TypeOf((*IpPoolAssociation)(nil)).Elem()
+ minAPIVersionForType["IpPoolAssociation"] = "4.0"
}
// Specifications of either IPv4 or IPv6 configuration to be used
@@ -50140,13 +50425,13 @@ type IpPoolIpPoolConfigInfo struct {
// For example:
// - IPv4: 192.168.5.0
// - IPv6: 2001:0db8:85a3::
- SubnetAddress string `xml:"subnetAddress,omitempty" json:"subnetAddress,omitempty" vim:"4.0"`
+ SubnetAddress string `xml:"subnetAddress,omitempty" json:"subnetAddress,omitempty"`
// Netmask
//
// For example:
// - IPv4: 255.255.255.0
// - IPv6: ffff:ffff:ffff::
- Netmask string `xml:"netmask,omitempty" json:"netmask,omitempty" vim:"4.0"`
+ Netmask string `xml:"netmask,omitempty" json:"netmask,omitempty"`
// Gateway.
//
// This can be an empty string - if no gateway is configured.
@@ -50154,7 +50439,7 @@ type IpPoolIpPoolConfigInfo struct {
// Examples:
// - IPv4: 192.168.5.1
// - IPv6: 2001:0db8:85a3::1
- Gateway string `xml:"gateway,omitempty" json:"gateway,omitempty" vim:"4.0"`
+ Gateway string `xml:"gateway,omitempty" json:"gateway,omitempty"`
// IP range.
//
// This is specified as a set of ranges separated with commas.
@@ -50164,7 +50449,7 @@ type IpPoolIpPoolConfigInfo struct {
// For example:
// - 192.0.2.235 # 20 is the IPv4 range from 192.0.2.235 to 192.0.2.254
// - 2001::7334 # 20 is the IPv6 range from 2001::7334 to 2001::7347
- Range string `xml:"range,omitempty" json:"range,omitempty" vim:"4.0"`
+ Range string `xml:"range,omitempty" json:"range,omitempty"`
// DNS servers
//
// For example:
@@ -50173,17 +50458,17 @@ type IpPoolIpPoolConfigInfo struct {
//
// If an empty list is passed, the existing value remains unchanged. To clear this
// list, pass an array containing the empty string as it's only element.
- Dns []string `xml:"dns,omitempty" json:"dns,omitempty" vim:"4.0"`
+ Dns []string `xml:"dns,omitempty" json:"dns,omitempty"`
// Whether a DHCP server is available on this network.
- DhcpServerAvailable *bool `xml:"dhcpServerAvailable" json:"dhcpServerAvailable,omitempty" vim:"4.0"`
+ DhcpServerAvailable *bool `xml:"dhcpServerAvailable" json:"dhcpServerAvailable,omitempty"`
// IP addresses can only be allocated from the range if the IP pool is
// enabled.
- IpPoolEnabled *bool `xml:"ipPoolEnabled" json:"ipPoolEnabled,omitempty" vim:"4.0"`
+ IpPoolEnabled *bool `xml:"ipPoolEnabled" json:"ipPoolEnabled,omitempty"`
}
func init() {
- minAPIVersionForType["IpPoolIpPoolConfigInfo"] = "4.0"
t["IpPoolIpPoolConfigInfo"] = reflect.TypeOf((*IpPoolIpPoolConfigInfo)(nil)).Elem()
+ minAPIVersionForType["IpPoolIpPoolConfigInfo"] = "4.0"
}
// Describes an IP allocation.
@@ -50191,14 +50476,14 @@ type IpPoolManagerIpAllocation struct {
DynamicData
// IP address
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"5.1"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// The allocation ID
- AllocationId string `xml:"allocationId" json:"allocationId" vim:"5.1"`
+ AllocationId string `xml:"allocationId" json:"allocationId"`
}
func init() {
- minAPIVersionForType["IpPoolManagerIpAllocation"] = "5.1"
t["IpPoolManagerIpAllocation"] = reflect.TypeOf((*IpPoolManagerIpAllocation)(nil)).Elem()
+ minAPIVersionForType["IpPoolManagerIpAllocation"] = "5.1"
}
// This class specifies a range of IP addresses by using prefix.
@@ -50209,14 +50494,14 @@ type IpRange struct {
IpAddress
// IP address prefix.
- AddressPrefix string `xml:"addressPrefix" json:"addressPrefix" vim:"5.5"`
+ AddressPrefix string `xml:"addressPrefix" json:"addressPrefix"`
// Prefix length with max value of 32 for IPv4 and 128 for IPv6.
- PrefixLength int32 `xml:"prefixLength,omitempty" json:"prefixLength,omitempty" vim:"5.5"`
+ PrefixLength int32 `xml:"prefixLength,omitempty" json:"prefixLength,omitempty"`
}
func init() {
- minAPIVersionForType["IpRange"] = "5.5"
t["IpRange"] = reflect.TypeOf((*IpRange)(nil)).Elem()
+ minAPIVersionForType["IpRange"] = "5.5"
}
// The `IpRouteProfile` data object represents the host IP route configuration.
@@ -50228,12 +50513,12 @@ type IpRouteProfile struct {
ApplyProfile
// List of static routes to be configured.
- StaticRoute []StaticRouteProfile `xml:"staticRoute,omitempty" json:"staticRoute,omitempty" vim:"4.0"`
+ StaticRoute []StaticRouteProfile `xml:"staticRoute,omitempty" json:"staticRoute,omitempty"`
}
func init() {
- minAPIVersionForType["IpRouteProfile"] = "4.0"
t["IpRouteProfile"] = reflect.TypeOf((*IpRouteProfile)(nil)).Elem()
+ minAPIVersionForType["IpRouteProfile"] = "4.0"
}
type IsClusteredVmdkEnabled IsClusteredVmdkEnabledRequestType
@@ -50265,7 +50550,7 @@ type IsKmsClusterActiveRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
// Will use default cluster if omitted.
- Cluster *KeyProviderId `xml:"cluster,omitempty" json:"cluster,omitempty" vim:"6.5"`
+ Cluster *KeyProviderId `xml:"cluster,omitempty" json:"cluster,omitempty"`
}
func init() {
@@ -50303,16 +50588,16 @@ type IscsiDependencyEntity struct {
DynamicData
// The affected Physical NIC device
- PnicDevice string `xml:"pnicDevice" json:"pnicDevice" vim:"5.0"`
+ PnicDevice string `xml:"pnicDevice" json:"pnicDevice"`
// The affected Virtual NIC device
- VnicDevice string `xml:"vnicDevice" json:"vnicDevice" vim:"5.0"`
+ VnicDevice string `xml:"vnicDevice" json:"vnicDevice"`
// The iSCSI HBA that the Virtual NIC is associated with, if any.
- VmhbaName string `xml:"vmhbaName" json:"vmhbaName" vim:"5.0"`
+ VmhbaName string `xml:"vmhbaName" json:"vmhbaName"`
}
func init() {
- minAPIVersionForType["IscsiDependencyEntity"] = "5.0"
t["IscsiDependencyEntity"] = reflect.TypeOf((*IscsiDependencyEntity)(nil)).Elem()
+ minAPIVersionForType["IscsiDependencyEntity"] = "5.0"
}
// Base class for faults that can be thrown while invoking iSCSI management operations.
@@ -50321,8 +50606,8 @@ type IscsiFault struct {
}
func init() {
- minAPIVersionForType["IscsiFault"] = "5.0"
t["IscsiFault"] = reflect.TypeOf((*IscsiFault)(nil)).Elem()
+ minAPIVersionForType["IscsiFault"] = "5.0"
}
type IscsiFaultFault BaseIscsiFault
@@ -50343,8 +50628,8 @@ type IscsiFaultInvalidVnic struct {
}
func init() {
- minAPIVersionForType["IscsiFaultInvalidVnic"] = "5.0"
t["IscsiFaultInvalidVnic"] = reflect.TypeOf((*IscsiFaultInvalidVnic)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultInvalidVnic"] = "5.0"
}
type IscsiFaultInvalidVnicFault IscsiFaultInvalidVnic
@@ -50361,8 +50646,8 @@ type IscsiFaultPnicInUse struct {
}
func init() {
- minAPIVersionForType["IscsiFaultPnicInUse"] = "5.0"
t["IscsiFaultPnicInUse"] = reflect.TypeOf((*IscsiFaultPnicInUse)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultPnicInUse"] = "5.0"
}
type IscsiFaultPnicInUseFault IscsiFaultPnicInUse
@@ -50379,8 +50664,8 @@ type IscsiFaultVnicAlreadyBound struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicAlreadyBound"] = "5.0"
t["IscsiFaultVnicAlreadyBound"] = reflect.TypeOf((*IscsiFaultVnicAlreadyBound)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicAlreadyBound"] = "5.0"
}
type IscsiFaultVnicAlreadyBoundFault IscsiFaultVnicAlreadyBound
@@ -50397,8 +50682,8 @@ type IscsiFaultVnicHasActivePaths struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicHasActivePaths"] = "5.0"
t["IscsiFaultVnicHasActivePaths"] = reflect.TypeOf((*IscsiFaultVnicHasActivePaths)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicHasActivePaths"] = "5.0"
}
type IscsiFaultVnicHasActivePathsFault IscsiFaultVnicHasActivePaths
@@ -50416,8 +50701,8 @@ type IscsiFaultVnicHasMultipleUplinks struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicHasMultipleUplinks"] = "5.0"
t["IscsiFaultVnicHasMultipleUplinks"] = reflect.TypeOf((*IscsiFaultVnicHasMultipleUplinks)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicHasMultipleUplinks"] = "5.0"
}
type IscsiFaultVnicHasMultipleUplinksFault IscsiFaultVnicHasMultipleUplinks
@@ -50435,8 +50720,8 @@ type IscsiFaultVnicHasNoUplinks struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicHasNoUplinks"] = "5.0"
t["IscsiFaultVnicHasNoUplinks"] = reflect.TypeOf((*IscsiFaultVnicHasNoUplinks)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicHasNoUplinks"] = "5.0"
}
type IscsiFaultVnicHasNoUplinksFault IscsiFaultVnicHasNoUplinks
@@ -50454,12 +50739,12 @@ type IscsiFaultVnicHasWrongUplink struct {
IscsiFault
// Contains the VMkernel virtual NIC device name.
- VnicDevice string `xml:"vnicDevice" json:"vnicDevice" vim:"5.0"`
+ VnicDevice string `xml:"vnicDevice" json:"vnicDevice"`
}
func init() {
- minAPIVersionForType["IscsiFaultVnicHasWrongUplink"] = "5.0"
t["IscsiFaultVnicHasWrongUplink"] = reflect.TypeOf((*IscsiFaultVnicHasWrongUplink)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicHasWrongUplink"] = "5.0"
}
type IscsiFaultVnicHasWrongUplinkFault IscsiFaultVnicHasWrongUplink
@@ -50476,8 +50761,8 @@ type IscsiFaultVnicInUse struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicInUse"] = "5.0"
t["IscsiFaultVnicInUse"] = reflect.TypeOf((*IscsiFaultVnicInUse)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicInUse"] = "5.0"
}
type IscsiFaultVnicInUseFault IscsiFaultVnicInUse
@@ -50497,8 +50782,8 @@ type IscsiFaultVnicIsLastPath struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicIsLastPath"] = "5.0"
t["IscsiFaultVnicIsLastPath"] = reflect.TypeOf((*IscsiFaultVnicIsLastPath)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicIsLastPath"] = "5.0"
}
type IscsiFaultVnicIsLastPathFault IscsiFaultVnicIsLastPath
@@ -50516,8 +50801,8 @@ type IscsiFaultVnicNotBound struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicNotBound"] = "5.0"
t["IscsiFaultVnicNotBound"] = reflect.TypeOf((*IscsiFaultVnicNotBound)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicNotBound"] = "5.0"
}
type IscsiFaultVnicNotBoundFault IscsiFaultVnicNotBound
@@ -50534,8 +50819,8 @@ type IscsiFaultVnicNotFound struct {
}
func init() {
- minAPIVersionForType["IscsiFaultVnicNotFound"] = "5.0"
t["IscsiFaultVnicNotFound"] = reflect.TypeOf((*IscsiFaultVnicNotFound)(nil)).Elem()
+ minAPIVersionForType["IscsiFaultVnicNotFound"] = "5.0"
}
type IscsiFaultVnicNotFoundFault IscsiFaultVnicNotFound
@@ -50555,18 +50840,18 @@ type IscsiMigrationDependency struct {
// If migrationAllowed is False, the disallowReason will
// contain the specific condition that makes the migration
// attempt unsafe.
- MigrationAllowed bool `xml:"migrationAllowed" json:"migrationAllowed" vim:"5.0"`
+ MigrationAllowed bool `xml:"migrationAllowed" json:"migrationAllowed"`
// Reasons for not allowing migration.
//
// Unset if migrationAllowed is true.
- DisallowReason *IscsiStatus `xml:"disallowReason,omitempty" json:"disallowReason,omitempty" vim:"5.0"`
+ DisallowReason *IscsiStatus `xml:"disallowReason,omitempty" json:"disallowReason,omitempty"`
// Details of all the resources affected by migration.
- Dependency []IscsiDependencyEntity `xml:"dependency,omitempty" json:"dependency,omitempty" vim:"5.0"`
+ Dependency []IscsiDependencyEntity `xml:"dependency,omitempty" json:"dependency,omitempty"`
}
func init() {
- minAPIVersionForType["IscsiMigrationDependency"] = "5.0"
t["IscsiMigrationDependency"] = reflect.TypeOf((*IscsiMigrationDependency)(nil)).Elem()
+ minAPIVersionForType["IscsiMigrationDependency"] = "5.0"
}
// The `IscsiPortInfo` data object describes the
@@ -50581,46 +50866,46 @@ type IscsiPortInfo struct {
// Contains the name of the Virtual NIC device. This may be
// unset in case where the bound Virtual NIC doesn't have the system object or
// where a candidate Physical NIC isn't associated with any Virtual NIC.
- VnicDevice string `xml:"vnicDevice,omitempty" json:"vnicDevice,omitempty" vim:"5.0"`
+ VnicDevice string `xml:"vnicDevice,omitempty" json:"vnicDevice,omitempty"`
// Virtual NIC Object corresponding to the vnicDevice.
//
// May be unset if Virtual NIC object corresponding to vnicDevice doesn't
// exist in the system.
- Vnic *HostVirtualNic `xml:"vnic,omitempty" json:"vnic,omitempty" vim:"5.0"`
+ Vnic *HostVirtualNic `xml:"vnic,omitempty" json:"vnic,omitempty"`
// Physical NIC Name.
- PnicDevice string `xml:"pnicDevice,omitempty" json:"pnicDevice,omitempty" vim:"5.0"`
+ PnicDevice string `xml:"pnicDevice,omitempty" json:"pnicDevice,omitempty"`
// Physical NIC Object corresponding to the pnicDevice.
//
// May be unset if Physical NIC object corresponding to pnicDevice doesn't
// exist in the system or the vnicDevice doesn't have any Physical NIC
// associated with it.
- Pnic *PhysicalNic `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"5.0"`
+ Pnic *PhysicalNic `xml:"pnic,omitempty" json:"pnic,omitempty"`
// Name of the virtual switch this Physical/Virtual NIC belongs.
//
// May be unset if the vnicDevice and/or pnicDevice do not have a
// virtual switch associated with them.
- SwitchName string `xml:"switchName,omitempty" json:"switchName,omitempty" vim:"5.0"`
+ SwitchName string `xml:"switchName,omitempty" json:"switchName,omitempty"`
// UUID of the virtual switch this Physical/Virtual NIC belongs.
//
// May be unset if the vnicDevice and/or pnicDevice do not have a
// virtual switch associated with them or the associated switch is not VDS.
- SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty" vim:"5.0"`
+ SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty"`
// Name of the portgroup to which this Virtual NIC belongs.
//
// May be unset if the vnicDevice and/or pnicDevice do not have a
// Portgroup associated with them.
- PortgroupName string `xml:"portgroupName,omitempty" json:"portgroupName,omitempty" vim:"5.0"`
+ PortgroupName string `xml:"portgroupName,omitempty" json:"portgroupName,omitempty"`
// Portgroup key to which this Virtual NIC belongs.
//
// May be unset if the vnicDevice and/or pnicDevice do not have a
// Portgroup associated with them or the associated portgroup does
// is not of VDS type.
- PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty" vim:"5.0"`
+ PortgroupKey string `xml:"portgroupKey,omitempty" json:"portgroupKey,omitempty"`
// portkey to which this Virtual NIC belongs.
//
// May be unset if the vnicDevice is not assigned to a specific port or
// the switch is not VDS.
- PortKey string `xml:"portKey,omitempty" json:"portKey,omitempty" vim:"5.0"`
+ PortKey string `xml:"portKey,omitempty" json:"portKey,omitempty"`
// ID of the Opaque network to which the virtual NIC is connected.
//
// This property is set only when vnicDevice is associated with an
@@ -50646,17 +50931,17 @@ type IscsiPortInfo struct {
// network policy that is required by iSCSI port binding.
//
// May be unset in the candidate NIC list.
- ComplianceStatus *IscsiStatus `xml:"complianceStatus,omitempty" json:"complianceStatus,omitempty" vim:"5.0"`
+ ComplianceStatus *IscsiStatus `xml:"complianceStatus,omitempty" json:"complianceStatus,omitempty"`
// A status, as defined in `IscsiPortInfoPathStatus_enum`, indicating the
// existing storage paths dependency level on a given Virtual NIC.
//
// May be unset in the candidate NIC list.
- PathStatus string `xml:"pathStatus,omitempty" json:"pathStatus,omitempty" vim:"5.0"`
+ PathStatus string `xml:"pathStatus,omitempty" json:"pathStatus,omitempty"`
}
func init() {
- minAPIVersionForType["IscsiPortInfo"] = "5.0"
t["IscsiPortInfo"] = reflect.TypeOf((*IscsiPortInfo)(nil)).Elem()
+ minAPIVersionForType["IscsiPortInfo"] = "5.0"
}
// The `IscsiStatus` data object describes the
@@ -50670,12 +50955,12 @@ type IscsiStatus struct {
// will provide an indication of the actual failure code and
// `MethodFault.faultMessage` will indicate the remedy that
// needs to be taken to correct the failure.
- Reason []LocalizedMethodFault `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.0"`
+ Reason []LocalizedMethodFault `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["IscsiStatus"] = "5.0"
t["IscsiStatus"] = reflect.TypeOf((*IscsiStatus)(nil)).Elem()
+ minAPIVersionForType["IscsiStatus"] = "5.0"
}
// This data object type describes a file that is an ISO CD-ROM image.
@@ -50750,39 +51035,39 @@ type KernelModuleInfo struct {
DynamicData
// Module ID.
- Id int32 `xml:"id" json:"id" vim:"4.0"`
+ Id int32 `xml:"id" json:"id"`
// Module name.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Version string.
- Version string `xml:"version" json:"version" vim:"4.0"`
+ Version string `xml:"version" json:"version"`
// Module filename, without the path.
- Filename string `xml:"filename" json:"filename" vim:"4.0"`
+ Filename string `xml:"filename" json:"filename"`
// Option string configured to be passed to the kernel module when loaded.
//
// Note that this is not necessarily the option string currently in use by
// the kernel module.
- OptionString string `xml:"optionString" json:"optionString" vim:"4.0"`
+ OptionString string `xml:"optionString" json:"optionString"`
// Is the module loaded?
- Loaded bool `xml:"loaded" json:"loaded" vim:"4.0"`
+ Loaded bool `xml:"loaded" json:"loaded"`
// Is the module enabled?
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// Number of references to this module.
- UseCount int32 `xml:"useCount" json:"useCount" vim:"4.0"`
+ UseCount int32 `xml:"useCount" json:"useCount"`
// Read-only section information.
- ReadOnlySection KernelModuleSectionInfo `xml:"readOnlySection" json:"readOnlySection" vim:"4.0"`
+ ReadOnlySection KernelModuleSectionInfo `xml:"readOnlySection" json:"readOnlySection"`
// Writable section information.
- WritableSection KernelModuleSectionInfo `xml:"writableSection" json:"writableSection" vim:"4.0"`
+ WritableSection KernelModuleSectionInfo `xml:"writableSection" json:"writableSection"`
// Text section information.
- TextSection KernelModuleSectionInfo `xml:"textSection" json:"textSection" vim:"4.0"`
+ TextSection KernelModuleSectionInfo `xml:"textSection" json:"textSection"`
// Data section information.
- DataSection KernelModuleSectionInfo `xml:"dataSection" json:"dataSection" vim:"4.0"`
+ DataSection KernelModuleSectionInfo `xml:"dataSection" json:"dataSection"`
// BSS section information.
- BssSection KernelModuleSectionInfo `xml:"bssSection" json:"bssSection" vim:"4.0"`
+ BssSection KernelModuleSectionInfo `xml:"bssSection" json:"bssSection"`
}
func init() {
- minAPIVersionForType["KernelModuleInfo"] = "4.0"
t["KernelModuleInfo"] = reflect.TypeOf((*KernelModuleInfo)(nil)).Elem()
+ minAPIVersionForType["KernelModuleInfo"] = "4.0"
}
// Information about a module section.
@@ -50790,14 +51075,14 @@ type KernelModuleSectionInfo struct {
DynamicData
// Base address of section.
- Address int64 `xml:"address" json:"address" vim:"4.0"`
+ Address int64 `xml:"address" json:"address"`
// Section length.
- Length int32 `xml:"length,omitempty" json:"length,omitempty" vim:"4.0"`
+ Length int32 `xml:"length,omitempty" json:"length,omitempty"`
}
func init() {
- minAPIVersionForType["KernelModuleSectionInfo"] = "4.0"
t["KernelModuleSectionInfo"] = reflect.TypeOf((*KernelModuleSectionInfo)(nil)).Elem()
+ minAPIVersionForType["KernelModuleSectionInfo"] = "4.0"
}
// Non-localized key/value pair in which the
@@ -50806,14 +51091,14 @@ type KeyAnyValue struct {
DynamicData
// the key
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// the value
- Value AnyType `xml:"value,typeattr" json:"value" vim:"4.0"`
+ Value AnyType `xml:"value,typeattr" json:"value"`
}
func init() {
- minAPIVersionForType["KeyAnyValue"] = "4.0"
t["KeyAnyValue"] = reflect.TypeOf((*KeyAnyValue)(nil)).Elem()
+ minAPIVersionForType["KeyAnyValue"] = "4.0"
}
// An KeyNotFound fault is returned when the key does not exist among
@@ -50822,12 +51107,12 @@ type KeyNotFound struct {
VimFault
// The non existing key.
- Key string `xml:"key" json:"key" vim:"6.7.2"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["KeyNotFound"] = "6.7.2"
t["KeyNotFound"] = reflect.TypeOf((*KeyNotFound)(nil)).Elem()
+ minAPIVersionForType["KeyNotFound"] = "6.7.2"
}
type KeyNotFoundFault KeyNotFound
@@ -50844,12 +51129,12 @@ type KeyProviderId struct {
//
// Servers with the same ID must provide the same keys.
// Cannot be empty.
- Id string `xml:"id" json:"id" vim:"6.5"`
+ Id string `xml:"id" json:"id"`
}
func init() {
- minAPIVersionForType["KeyProviderId"] = "6.5"
t["KeyProviderId"] = reflect.TypeOf((*KeyProviderId)(nil)).Elem()
+ minAPIVersionForType["KeyProviderId"] = "6.5"
}
// Non-localized key/value pair
@@ -50857,14 +51142,14 @@ type KeyValue struct {
DynamicData
// Key.
- Key string `xml:"key" json:"key" vim:"2.5"`
+ Key string `xml:"key" json:"key"`
// Value.
- Value string `xml:"value" json:"value" vim:"2.5"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["KeyValue"] = "2.5"
t["KeyValue"] = reflect.TypeOf((*KeyValue)(nil)).Elem()
+ minAPIVersionForType["KeyValue"] = "2.5"
}
// Data Object representing a cluster of KMIP servers.
@@ -50877,12 +51162,12 @@ type KmipClusterInfo struct {
//
// All KMIP servers with the same clusterId are in a cluster and all must
// provide the same keys for redundancy.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// Servers in this cluster.
- Servers []KmipServerInfo `xml:"servers,omitempty" json:"servers,omitempty" vim:"6.5"`
+ Servers []KmipServerInfo `xml:"servers,omitempty" json:"servers,omitempty"`
// Use this cluster as default for system wide,
// when the optional CryptoKeyId.providerId is not set.
- UseAsDefault bool `xml:"useAsDefault" json:"useAsDefault" vim:"6.5"`
+ UseAsDefault bool `xml:"useAsDefault" json:"useAsDefault"`
// Key provider management type.
//
// See `KmipClusterInfoKmsManagementType_enum` for valid values.
@@ -50901,8 +51186,8 @@ type KmipClusterInfo struct {
}
func init() {
- minAPIVersionForType["KmipClusterInfo"] = "6.5"
t["KmipClusterInfo"] = reflect.TypeOf((*KmipClusterInfo)(nil)).Elem()
+ minAPIVersionForType["KmipClusterInfo"] = "6.5"
}
// Data Object representing a KMIP server connection information.
@@ -50910,45 +51195,45 @@ type KmipServerInfo struct {
DynamicData
// Name for the KMIP server.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// Address of the KMIP server.
- Address string `xml:"address" json:"address" vim:"6.5"`
+ Address string `xml:"address" json:"address"`
// Port of the KMIP server.
- Port int32 `xml:"port" json:"port" vim:"6.5"`
+ Port int32 `xml:"port" json:"port"`
// Address of the proxy server.
//
// Set value to empty string to delete the entry.
- ProxyAddress string `xml:"proxyAddress,omitempty" json:"proxyAddress,omitempty" vim:"6.5"`
+ ProxyAddress string `xml:"proxyAddress,omitempty" json:"proxyAddress,omitempty"`
// Port of the proxy server.
//
// Set value "-1" to delete the entry.
- ProxyPort int32 `xml:"proxyPort,omitempty" json:"proxyPort,omitempty" vim:"6.5"`
+ ProxyPort int32 `xml:"proxyPort,omitempty" json:"proxyPort,omitempty"`
// Should auto-reconnect be done.
//
// Set value "-1" to delete the entry.
- Reconnect int32 `xml:"reconnect,omitempty" json:"reconnect,omitempty" vim:"6.5"`
+ Reconnect int32 `xml:"reconnect,omitempty" json:"reconnect,omitempty"`
// KMIP library protocol handler, e.g.
//
// KMIP1.
// Set value to empty string to delete the entry.
- Protocol string `xml:"protocol,omitempty" json:"protocol,omitempty" vim:"6.5"`
+ Protocol string `xml:"protocol,omitempty" json:"protocol,omitempty"`
// Non-blocking I/O required.
//
// Set value "-1" to delete the entry.
- Nbio int32 `xml:"nbio,omitempty" json:"nbio,omitempty" vim:"6.5"`
+ Nbio int32 `xml:"nbio,omitempty" json:"nbio,omitempty"`
// I/O timeout in seconds (-1=none,0=infinite).
//
// Set value "-1" to delete the entry.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.5"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
// Username to authenticate to the KMIP server.
//
// Set value to empty string to delete the entry.
- UserName string `xml:"userName,omitempty" json:"userName,omitempty" vim:"6.5"`
+ UserName string `xml:"userName,omitempty" json:"userName,omitempty"`
}
func init() {
- minAPIVersionForType["KmipServerInfo"] = "6.5"
t["KmipServerInfo"] = reflect.TypeOf((*KmipServerInfo)(nil)).Elem()
+ minAPIVersionForType["KmipServerInfo"] = "6.5"
}
// Data Object representing a KMIP server connection spec.
@@ -50959,18 +51244,18 @@ type KmipServerSpec struct {
//
// KMIP servers with the same clusterId are in
// one cluster and provide the same keys for redundancy.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// Connection information for the KMIP server.
- Info KmipServerInfo `xml:"info" json:"info" vim:"6.5"`
+ Info KmipServerInfo `xml:"info" json:"info"`
// Password to authenticate to the KMIP server.
//
// Set value to empty string to delete the entry.
- Password string `xml:"password,omitempty" json:"password,omitempty" vim:"6.5"`
+ Password string `xml:"password,omitempty" json:"password,omitempty"`
}
func init() {
- minAPIVersionForType["KmipServerSpec"] = "6.5"
t["KmipServerSpec"] = reflect.TypeOf((*KmipServerSpec)(nil)).Elem()
+ minAPIVersionForType["KmipServerSpec"] = "6.5"
}
// Data Object representing a KMIP server status.
@@ -50978,18 +51263,18 @@ type KmipServerStatus struct {
DynamicData
// The ID of the KMIP cluster.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// Name for the KMIP server.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// KMIP server status.
- Status ManagedEntityStatus `xml:"status" json:"status" vim:"6.5"`
+ Status ManagedEntityStatus `xml:"status" json:"status"`
// KMIP server status description.
- Description string `xml:"description" json:"description" vim:"6.5"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["KmipServerStatus"] = "6.5"
t["KmipServerStatus"] = reflect.TypeOf((*KmipServerStatus)(nil)).Elem()
+ minAPIVersionForType["KmipServerStatus"] = "6.5"
}
// The virtual machine is using a 2TB+ RDM device and operation is
@@ -50998,12 +51283,12 @@ type LargeRDMConversionNotSupported struct {
MigrationFault
// The name of the disk device using the RDM.
- Device string `xml:"device" json:"device" vim:"5.0"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["LargeRDMConversionNotSupported"] = "5.0"
t["LargeRDMConversionNotSupported"] = reflect.TypeOf((*LargeRDMConversionNotSupported)(nil)).Elem()
+ minAPIVersionForType["LargeRDMConversionNotSupported"] = "5.0"
}
type LargeRDMConversionNotSupportedFault LargeRDMConversionNotSupported
@@ -51023,18 +51308,18 @@ type LargeRDMNotSupportedOnDatastore struct {
// the datastore.
//
// This is not guaranteed to be the only such device.
- Device string `xml:"device" json:"device" vim:"5.0"`
+ Device string `xml:"device" json:"device"`
// The datastore.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"5.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The name of the datastore.
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"5.0"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
}
func init() {
- minAPIVersionForType["LargeRDMNotSupportedOnDatastore"] = "5.0"
t["LargeRDMNotSupportedOnDatastore"] = reflect.TypeOf((*LargeRDMNotSupportedOnDatastore)(nil)).Elem()
+ minAPIVersionForType["LargeRDMNotSupportedOnDatastore"] = "5.0"
}
type LargeRDMNotSupportedOnDatastoreFault LargeRDMNotSupportedOnDatastore
@@ -51058,7 +51343,7 @@ type LatencySensitivity struct {
DynamicData
// The nominal latency-sensitive level of the application.
- Level LatencySensitivitySensitivityLevel `xml:"level" json:"level" vim:"5.1"`
+ Level LatencySensitivitySensitivityLevel `xml:"level" json:"level"`
// Deprecated as of vSphere version 5.5, this field is deprecated.
//
// The custom absolute latency-sensitivity value of the application.
@@ -51072,12 +51357,12 @@ type LatencySensitivity struct {
// absolute latency-sensitivity is 2000us, the kernel will
// try to schedule the virtual machine in a way so that its scheduling
// latency is not more than 2ms.
- Sensitivity int32 `xml:"sensitivity,omitempty" json:"sensitivity,omitempty" vim:"5.1"`
+ Sensitivity int32 `xml:"sensitivity,omitempty" json:"sensitivity,omitempty"`
}
func init() {
- minAPIVersionForType["LatencySensitivity"] = "5.1"
t["LatencySensitivity"] = reflect.TypeOf((*LatencySensitivity)(nil)).Elem()
+ minAPIVersionForType["LatencySensitivity"] = "5.1"
}
// The parameters of `HostActiveDirectoryAuthentication.LeaveCurrentDomain_Task`.
@@ -51129,12 +51414,12 @@ type LicenseAssignmentFailed struct {
RuntimeFault
// The reason why the assignment failed, if known.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["LicenseAssignmentFailed"] = "4.0"
t["LicenseAssignmentFailed"] = reflect.TypeOf((*LicenseAssignmentFailed)(nil)).Elem()
+ minAPIVersionForType["LicenseAssignmentFailed"] = "4.0"
}
type LicenseAssignmentFailedFault LicenseAssignmentFailed
@@ -51147,13 +51432,13 @@ type LicenseAssignmentManagerLicenseAssignment struct {
DynamicData
// Id for the entity
- EntityId string `xml:"entityId" json:"entityId" vim:"4.0"`
+ EntityId string `xml:"entityId" json:"entityId"`
// Scope of the entityId
- Scope string `xml:"scope,omitempty" json:"scope,omitempty" vim:"4.0"`
+ Scope string `xml:"scope,omitempty" json:"scope,omitempty"`
// Display name of the entity
- EntityDisplayName string `xml:"entityDisplayName,omitempty" json:"entityDisplayName,omitempty" vim:"4.0"`
+ EntityDisplayName string `xml:"entityDisplayName,omitempty" json:"entityDisplayName,omitempty"`
// License assigned to the entity
- AssignedLicense LicenseManagerLicenseInfo `xml:"assignedLicense" json:"assignedLicense" vim:"4.0"`
+ AssignedLicense LicenseManagerLicenseInfo `xml:"assignedLicense" json:"assignedLicense"`
// Additional properties associated with this assignment
// Some of the properties are:
// "inUseFeatures" -- Features in the license key that are being used by the entity
@@ -51162,7 +51447,7 @@ type LicenseAssignmentManagerLicenseAssignment struct {
// Should match the product name of the assigned license.
// "ProductVersion" -- Version of the entity. Should match the product version of the assigned license.
// "Evaluation" -- EvaluationInfo object representing the evaluation left for the entity.
- Properties []KeyAnyValue `xml:"properties,omitempty" json:"properties,omitempty" vim:"4.0"`
+ Properties []KeyAnyValue `xml:"properties,omitempty" json:"properties,omitempty"`
}
func init() {
@@ -51200,45 +51485,45 @@ type LicenseDiagnostics struct {
DynamicData
// A timestamp of when sourceAvailable last changed state, expressed in UTC.
- SourceLastChanged time.Time `xml:"sourceLastChanged" json:"sourceLastChanged" vim:"2.5"`
+ SourceLastChanged time.Time `xml:"sourceLastChanged" json:"sourceLastChanged"`
// Counter to track number of times connection to source was lost.
//
// This value starts at zero and wraps at 2^32-1 to zero.
// Discontinuity: sourceLastChanged.
- SourceLost string `xml:"sourceLost" json:"sourceLost" vim:"2.5"`
+ SourceLost string `xml:"sourceLost" json:"sourceLost"`
// Exponentially decaying average of the transaction time for license
// acquisition and routine communications with LicenseSource.
//
// Units: milliseconds.
- SourceLatency float32 `xml:"sourceLatency" json:"sourceLatency" vim:"2.5"`
+ SourceLatency float32 `xml:"sourceLatency" json:"sourceLatency"`
// Counter to track total number of licenses requested.
//
// This value starts at zero and wraps at 2^32-1 to zero.
// Discontinuity: sourceLastChanged.
- LicenseRequests string `xml:"licenseRequests" json:"licenseRequests" vim:"2.5"`
+ LicenseRequests string `xml:"licenseRequests" json:"licenseRequests"`
// Counter to track Total number of licenses requests that were
// not fulfilled (denied, timeout, or other).
//
// This value starts at zero and wraps at 2^32-1 to zero.
// Discontinuity: sourceLastChanged.
- LicenseRequestFailures string `xml:"licenseRequestFailures" json:"licenseRequestFailures" vim:"2.5"`
+ LicenseRequestFailures string `xml:"licenseRequestFailures" json:"licenseRequestFailures"`
// Counter to track Total number of license features parsed from
// License source that are not recognized.
//
// This value starts at zero and wraps at 2^32-1 to zero.
// Discontinuity: sourceLastChanged.
- LicenseFeatureUnknowns string `xml:"licenseFeatureUnknowns" json:"licenseFeatureUnknowns" vim:"2.5"`
+ LicenseFeatureUnknowns string `xml:"licenseFeatureUnknowns" json:"licenseFeatureUnknowns"`
// The general state of the license subsystem.
- OpState LicenseManagerState `xml:"opState" json:"opState" vim:"2.5"`
+ OpState LicenseManagerState `xml:"opState" json:"opState"`
// A timestamp of when opState was last updated.
- LastStatusUpdate time.Time `xml:"lastStatusUpdate" json:"lastStatusUpdate" vim:"2.5"`
+ LastStatusUpdate time.Time `xml:"lastStatusUpdate" json:"lastStatusUpdate"`
// A human readable reason when optState reports Fault condition.
- OpFailureMessage string `xml:"opFailureMessage" json:"opFailureMessage" vim:"2.5"`
+ OpFailureMessage string `xml:"opFailureMessage" json:"opFailureMessage"`
}
func init() {
- minAPIVersionForType["LicenseDiagnostics"] = "2.5"
t["LicenseDiagnostics"] = reflect.TypeOf((*LicenseDiagnostics)(nil)).Elem()
+ minAPIVersionForType["LicenseDiagnostics"] = "2.5"
}
// A LicenseDowngradeDisallowed fault is thrown if an assignment operation tries to downgrade a license that does have certain licensed features which are in use.
@@ -51249,12 +51534,12 @@ type LicenseDowngradeDisallowed struct {
EntityId string `xml:"entityId" json:"entityId"`
// List of conflicting features that prevent
// downgrade
- Features []KeyAnyValue `xml:"features" json:"features" vim:"4.0"`
+ Features []KeyAnyValue `xml:"features" json:"features"`
}
func init() {
- minAPIVersionForType["LicenseDowngradeDisallowed"] = "4.0"
t["LicenseDowngradeDisallowed"] = reflect.TypeOf((*LicenseDowngradeDisallowed)(nil)).Elem()
+ minAPIVersionForType["LicenseDowngradeDisallowed"] = "4.0"
}
type LicenseDowngradeDisallowedFault LicenseDowngradeDisallowed
@@ -51274,8 +51559,8 @@ type LicenseEntityNotFound struct {
}
func init() {
- minAPIVersionForType["LicenseEntityNotFound"] = "4.0"
t["LicenseEntityNotFound"] = reflect.TypeOf((*LicenseEntityNotFound)(nil)).Elem()
+ minAPIVersionForType["LicenseEntityNotFound"] = "4.0"
}
type LicenseEntityNotFoundFault LicenseEntityNotFound
@@ -51298,12 +51583,12 @@ type LicenseExpired struct {
NotEnoughLicenses
// License key that has expired
- LicenseKey string `xml:"licenseKey" json:"licenseKey" vim:"4.0"`
+ LicenseKey string `xml:"licenseKey" json:"licenseKey"`
}
func init() {
- minAPIVersionForType["LicenseExpired"] = "4.0"
t["LicenseExpired"] = reflect.TypeOf((*LicenseExpired)(nil)).Elem()
+ minAPIVersionForType["LicenseExpired"] = "4.0"
}
// This event records the expiration of a license.
@@ -51374,8 +51659,8 @@ type LicenseKeyEntityMismatch struct {
}
func init() {
- minAPIVersionForType["LicenseKeyEntityMismatch"] = "4.0"
t["LicenseKeyEntityMismatch"] = reflect.TypeOf((*LicenseKeyEntityMismatch)(nil)).Elem()
+ minAPIVersionForType["LicenseKeyEntityMismatch"] = "4.0"
}
type LicenseKeyEntityMismatchFault LicenseKeyEntityMismatch
@@ -51389,12 +51674,12 @@ type LicenseManagerEvaluationInfo struct {
DynamicData
// Evaluation properties
- Properties []KeyAnyValue `xml:"properties" json:"properties" vim:"4.0"`
+ Properties []KeyAnyValue `xml:"properties" json:"properties"`
}
func init() {
- minAPIVersionForType["LicenseManagerEvaluationInfo"] = "4.0"
t["LicenseManagerEvaluationInfo"] = reflect.TypeOf((*LicenseManagerEvaluationInfo)(nil)).Elem()
+ minAPIVersionForType["LicenseManagerEvaluationInfo"] = "4.0"
}
// Encapsulates information about a license
@@ -51404,26 +51689,26 @@ type LicenseManagerLicenseInfo struct {
// Key for the license.
//
// E.g. serial number.
- LicenseKey string `xml:"licenseKey" json:"licenseKey" vim:"4.0"`
+ LicenseKey string `xml:"licenseKey" json:"licenseKey"`
// Edition key.
- EditionKey string `xml:"editionKey" json:"editionKey" vim:"4.0"`
+ EditionKey string `xml:"editionKey" json:"editionKey"`
// Display name for the license
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Total number of units contain in the license
- Total int32 `xml:"total" json:"total" vim:"4.0"`
+ Total int32 `xml:"total" json:"total"`
// Number of units used from this license
- Used int32 `xml:"used,omitempty" json:"used,omitempty" vim:"4.0"`
+ Used int32 `xml:"used,omitempty" json:"used,omitempty"`
// The cost unit for this license
- CostUnit string `xml:"costUnit" json:"costUnit" vim:"4.0"`
+ CostUnit string `xml:"costUnit" json:"costUnit"`
// Additional properties associated with this license
- Properties []KeyAnyValue `xml:"properties,omitempty" json:"properties,omitempty" vim:"4.0"`
+ Properties []KeyAnyValue `xml:"properties,omitempty" json:"properties,omitempty"`
// Key-value lables for this license
- Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty" vim:"4.0"`
+ Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty"`
}
func init() {
- minAPIVersionForType["LicenseManagerLicenseInfo"] = "4.0"
t["LicenseManagerLicenseInfo"] = reflect.TypeOf((*LicenseManagerLicenseInfo)(nil)).Elem()
+ minAPIVersionForType["LicenseManagerLicenseInfo"] = "4.0"
}
// This event records that the inventory is not license compliant.
@@ -51432,12 +51717,12 @@ type LicenseNonComplianceEvent struct {
// Gives the url at which more details about non-compliance
// can be found.
- Url string `xml:"url" json:"url" vim:"4.0"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["LicenseNonComplianceEvent"] = "4.0"
t["LicenseNonComplianceEvent"] = reflect.TypeOf((*LicenseNonComplianceEvent)(nil)).Elem()
+ minAPIVersionForType["LicenseNonComplianceEvent"] = "4.0"
}
// Deprecated as of vSphere API 4.0, this is not used by the system.
@@ -51475,8 +51760,8 @@ type LicenseRestricted struct {
}
func init() {
- minAPIVersionForType["LicenseRestricted"] = "2.5"
t["LicenseRestricted"] = reflect.TypeOf((*LicenseRestricted)(nil)).Elem()
+ minAPIVersionForType["LicenseRestricted"] = "2.5"
}
// This event records if the required licenses could not be reserved because
@@ -51486,8 +51771,8 @@ type LicenseRestrictedEvent struct {
}
func init() {
- minAPIVersionForType["LicenseRestrictedEvent"] = "2.5"
t["LicenseRestrictedEvent"] = reflect.TypeOf((*LicenseRestrictedEvent)(nil)).Elem()
+ minAPIVersionForType["LicenseRestrictedEvent"] = "2.5"
}
type LicenseRestrictedFault LicenseRestricted
@@ -51578,12 +51863,12 @@ type LicenseSourceUnavailable struct {
NotEnoughLicenses
// License source
- LicenseSource BaseLicenseSource `xml:"licenseSource,typeattr" json:"licenseSource" vim:"2.5"`
+ LicenseSource BaseLicenseSource `xml:"licenseSource,typeattr" json:"licenseSource"`
}
func init() {
- minAPIVersionForType["LicenseSourceUnavailable"] = "2.5"
t["LicenseSourceUnavailable"] = reflect.TypeOf((*LicenseSourceUnavailable)(nil)).Elem()
+ minAPIVersionForType["LicenseSourceUnavailable"] = "2.5"
}
type LicenseSourceUnavailableFault LicenseSourceUnavailable
@@ -51622,14 +51907,14 @@ type LimitExceeded struct {
VimFault
// The name of the property that exceeds the limit.
- Property string `xml:"property,omitempty" json:"property,omitempty" vim:"4.0"`
+ Property string `xml:"property,omitempty" json:"property,omitempty"`
// The limit value.
- Limit *int32 `xml:"limit" json:"limit,omitempty" vim:"4.0"`
+ Limit *int32 `xml:"limit" json:"limit,omitempty"`
}
func init() {
- minAPIVersionForType["LimitExceeded"] = "4.0"
t["LimitExceeded"] = reflect.TypeOf((*LimitExceeded)(nil)).Elem()
+ minAPIVersionForType["LimitExceeded"] = "4.0"
}
type LimitExceededFault LimitExceeded
@@ -51647,17 +51932,17 @@ type LinkDiscoveryProtocolConfig struct {
//
// For valid values
// see `LinkDiscoveryProtocolConfigProtocolType_enum`.
- Protocol string `xml:"protocol" json:"protocol" vim:"4.0"`
+ Protocol string `xml:"protocol" json:"protocol"`
// Whether to advertise or listen.
//
// For valid values see
// `LinkDiscoveryProtocolConfigOperationType_enum`.
- Operation string `xml:"operation" json:"operation" vim:"4.0"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["LinkDiscoveryProtocolConfig"] = "4.0"
t["LinkDiscoveryProtocolConfig"] = reflect.TypeOf((*LinkDiscoveryProtocolConfig)(nil)).Elem()
+ minAPIVersionForType["LinkDiscoveryProtocolConfig"] = "4.0"
}
// The Link Layer Discovery Protocol information.
@@ -51670,27 +51955,27 @@ type LinkLayerDiscoveryProtocolInfo struct {
// The receiving LLDP agent combines the
// Chassis ID and portId to represent the entity connected to the port
// where the frame was received.
- ChassisId string `xml:"chassisId" json:"chassisId" vim:"5.0"`
+ ChassisId string `xml:"chassisId" json:"chassisId"`
// This property identifies the specific port that transmitted the LLDP
// frame.
//
// The receiving LLDP agent combines the Chassis ID and Port to
// represent the entity connected to the port where the frame was received.
- PortId string `xml:"portId" json:"portId" vim:"5.0"`
+ PortId string `xml:"portId" json:"portId"`
// It is the duration of time in seconds for which information contained
// in the received LLDP frame shall be valid.
//
// If a value of zero is sent
// it can also identify a device that has shut down or is no longer
// transmitting, prompting deletion of the record from the local database.
- TimeToLive int32 `xml:"timeToLive" json:"timeToLive" vim:"5.0"`
+ TimeToLive int32 `xml:"timeToLive" json:"timeToLive"`
// LLDP parameters
- Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"5.0"`
+ Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["LinkLayerDiscoveryProtocolInfo"] = "5.0"
t["LinkLayerDiscoveryProtocolInfo"] = reflect.TypeOf((*LinkLayerDiscoveryProtocolInfo)(nil)).Elem()
+ minAPIVersionForType["LinkLayerDiscoveryProtocolInfo"] = "5.0"
}
// The LinkProfile data object represents a subprofile
@@ -51700,8 +51985,8 @@ type LinkProfile struct {
}
func init() {
- minAPIVersionForType["LinkProfile"] = "4.0"
t["LinkProfile"] = reflect.TypeOf((*LinkProfile)(nil)).Elem()
+ minAPIVersionForType["LinkProfile"] = "4.0"
}
// Customization operation is performed on a linux source vm that
@@ -51777,7 +52062,7 @@ type ListFilesInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the directory or file to query.
FilePath string `xml:"filePath" json:"filePath"`
// Which result to start the list with. The default is 0.
@@ -51819,7 +52104,7 @@ type ListGuestAliasesRequestType struct {
// `GuestAuthentication`. These credentials must satisfy
// authentication requirements
// for a guest account on the specified virtual machine.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The guest user whose Alias store is being queried.
Username string `xml:"username" json:"username"`
}
@@ -51851,7 +52136,7 @@ type ListGuestMappedAliasesRequestType struct {
// `GuestAuthentication`. These credentials must satisfy
// authentication requirements
// for a guest account on the specified virtual machine.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
}
func init() {
@@ -51966,7 +52251,7 @@ type ListProcessesInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// If set, only return information about the specified processes.
// Otherwise, information about all processes are returned.
// If a specified processes does not exist, nothing will
@@ -51998,10 +52283,10 @@ type ListRegistryKeysInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The path to the registry key for which all subkeys are to
// be listed.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// If true, all subkeys are listed recursively.
Recursive bool `xml:"recursive" json:"recursive"`
// A filter for the key names returned, specified using
@@ -52036,10 +52321,10 @@ type ListRegistryValuesInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The path to the registry key for which all values are to be
// listed.
- KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName" vim:"6.0"`
+ KeyName GuestRegKeyNameSpec `xml:"keyName" json:"keyName"`
// If true, all values that have expandable data such
// as environment variable names, shall get expanded in
// the result.
@@ -52088,7 +52373,7 @@ func init() {
type ListTagsAttachedToVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
}
func init() {
@@ -52196,8 +52481,8 @@ type LocalTSMEnabledEvent struct {
}
func init() {
- minAPIVersionForType["LocalTSMEnabledEvent"] = "4.1"
t["LocalTSMEnabledEvent"] = reflect.TypeOf((*LocalTSMEnabledEvent)(nil)).Elem()
+ minAPIVersionForType["LocalTSMEnabledEvent"] = "4.1"
}
// Message data which is intended to be displayed according
@@ -52232,18 +52517,18 @@ type LocalizableMessage struct {
DynamicData
// Unique key identifying the message in the localized message catalog.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Substitution arguments for variables in the localized message.
- Arg []KeyAnyValue `xml:"arg,omitempty" json:"arg,omitempty" vim:"4.0"`
+ Arg []KeyAnyValue `xml:"arg,omitempty" json:"arg,omitempty"`
// Message in session locale.
//
// Use vim.SessionManager.setLocale() to change the session locale.
- Message string `xml:"message,omitempty" json:"message,omitempty" vim:"4.0"`
+ Message string `xml:"message,omitempty" json:"message,omitempty"`
}
func init() {
- minAPIVersionForType["LocalizableMessage"] = "4.0"
t["LocalizableMessage"] = reflect.TypeOf((*LocalizableMessage)(nil)).Elem()
+ minAPIVersionForType["LocalizableMessage"] = "4.0"
}
// Description of an available message catalog
@@ -52254,21 +52539,21 @@ type LocalizationManagerMessageCatalog struct {
//
// The moduleName will be empty for the core catalogs for the
// VirtualCenter server itself.
- ModuleName string `xml:"moduleName" json:"moduleName" vim:"4.0"`
+ ModuleName string `xml:"moduleName" json:"moduleName"`
// The name of the catalog.
- CatalogName string `xml:"catalogName" json:"catalogName" vim:"4.0"`
+ CatalogName string `xml:"catalogName" json:"catalogName"`
// The locale for the catalog.
- Locale string `xml:"locale" json:"locale" vim:"4.0"`
+ Locale string `xml:"locale" json:"locale"`
// The URI (relative to the connection URL for the VirtualCenter server
// itself) from which the catalog can be downloaded.
//
// The caller will need to augment this with a scheme and authority (host
// and port) to make a complete URL.
- CatalogUri string `xml:"catalogUri" json:"catalogUri" vim:"4.0"`
+ CatalogUri string `xml:"catalogUri" json:"catalogUri"`
// The last-modified time of the catalog file, if available
- LastModified *time.Time `xml:"lastModified" json:"lastModified,omitempty" vim:"4.0"`
+ LastModified *time.Time `xml:"lastModified" json:"lastModified,omitempty"`
// The checksum of the catalog file, if available
- Md5sum string `xml:"md5sum,omitempty" json:"md5sum,omitempty" vim:"4.0"`
+ Md5sum string `xml:"md5sum,omitempty" json:"md5sum,omitempty"`
// The version of the catalog file, if available
// The format is dot-separated version string, e.g.
//
@@ -52277,8 +52562,8 @@ type LocalizationManagerMessageCatalog struct {
}
func init() {
- minAPIVersionForType["LocalizationManagerMessageCatalog"] = "4.0"
t["LocalizationManagerMessageCatalog"] = reflect.TypeOf((*LocalizationManagerMessageCatalog)(nil)).Elem()
+ minAPIVersionForType["LocalizationManagerMessageCatalog"] = "4.0"
}
// A wrapper class used to pass MethodFault data objects over the wire
@@ -52308,12 +52593,12 @@ type LockerMisconfiguredEvent struct {
Event
// The datastore that has been configured to back the locker
- Datastore DatastoreEventArgument `xml:"datastore" json:"datastore" vim:"2.5"`
+ Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["LockerMisconfiguredEvent"] = "2.5"
t["LockerMisconfiguredEvent"] = reflect.TypeOf((*LockerMisconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["LockerMisconfiguredEvent"] = "2.5"
}
// Locker was reconfigured to a new location.
@@ -52324,16 +52609,16 @@ type LockerReconfiguredEvent struct {
//
// This field is not
// set if a datastore was not backing the locker previously.
- OldDatastore *DatastoreEventArgument `xml:"oldDatastore,omitempty" json:"oldDatastore,omitempty" vim:"2.5"`
+ OldDatastore *DatastoreEventArgument `xml:"oldDatastore,omitempty" json:"oldDatastore,omitempty"`
// The datastore that is now used to back the locker.
//
// This field is not set if no datastore is currently backing the locker.
- NewDatastore *DatastoreEventArgument `xml:"newDatastore,omitempty" json:"newDatastore,omitempty" vim:"2.5"`
+ NewDatastore *DatastoreEventArgument `xml:"newDatastore,omitempty" json:"newDatastore,omitempty"`
}
func init() {
- minAPIVersionForType["LockerReconfiguredEvent"] = "2.5"
t["LockerReconfiguredEvent"] = reflect.TypeOf((*LockerReconfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["LockerReconfiguredEvent"] = "2.5"
}
// A LogBundlingFailed exception is thrown when generation of a diagnostic
@@ -52578,12 +52863,12 @@ type LongPolicy struct {
InheritablePolicy
// The boolean value that is either set or inherited.
- Value int64 `xml:"value,omitempty" json:"value,omitempty" vim:"4.0"`
+ Value int64 `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["LongPolicy"] = "4.0"
t["LongPolicy"] = reflect.TypeOf((*LongPolicy)(nil)).Elem()
+ minAPIVersionForType["LongPolicy"] = "4.0"
}
type LookupDvPortGroup LookupDvPortGroupRequestType
@@ -52640,8 +52925,8 @@ type MacAddress struct {
}
func init() {
- minAPIVersionForType["MacAddress"] = "5.5"
t["MacAddress"] = reflect.TypeOf((*MacAddress)(nil)).Elem()
+ minAPIVersionForType["MacAddress"] = "5.5"
}
// This class defines a range of MAC address.
@@ -52649,7 +52934,7 @@ type MacRange struct {
MacAddress
// MAC address.
- Address string `xml:"address" json:"address" vim:"5.5"`
+ Address string `xml:"address" json:"address"`
// Mask that is used in matching the MAC address.
//
// A MAC address is
@@ -52658,12 +52943,12 @@ type MacRange struct {
// For example, a MAC of "00:A0:FF:14:FF:29" is considered matched
// for a `MacRange.address` of "00:A0:C9:14:C8:29" and a
// `MacRange.mask` of "FF:FF:00:FF:00:FF".
- Mask string `xml:"mask" json:"mask" vim:"5.5"`
+ Mask string `xml:"mask" json:"mask"`
}
func init() {
- minAPIVersionForType["MacRange"] = "5.5"
t["MacRange"] = reflect.TypeOf((*MacRange)(nil)).Elem()
+ minAPIVersionForType["MacRange"] = "5.5"
}
// Migration of the virtual machine to the target host will need a move of
@@ -52674,8 +52959,8 @@ type MaintenanceModeFileMove struct {
}
func init() {
- minAPIVersionForType["MaintenanceModeFileMove"] = "2.5"
t["MaintenanceModeFileMove"] = reflect.TypeOf((*MaintenanceModeFileMove)(nil)).Elem()
+ minAPIVersionForType["MaintenanceModeFileMove"] = "2.5"
}
type MaintenanceModeFileMoveFault MaintenanceModeFileMove
@@ -52707,7 +52992,7 @@ type MakeDirectoryInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the directory to be created.
DirectoryPath string `xml:"directoryPath" json:"directoryPath"`
// Whether any parent directories
@@ -52783,19 +53068,19 @@ type ManagedByInfo struct {
DynamicData
// Key of the extension managing the entity.
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.0"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// Managed entity type, as defined by the extension managing the entity.
//
// An extension can manage different types of entities - different kinds
// of virtual machines, vApps, etc. - and this property is used to find
// the corresponding `managedEntityInfo`
// entry from the extension.
- Type string `xml:"type" json:"type" vim:"5.0"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["ManagedByInfo"] = "5.0"
t["ManagedByInfo"] = reflect.TypeOf((*ManagedByInfo)(nil)).Elem()
+ minAPIVersionForType["ManagedByInfo"] = "5.0"
}
// The general event argument for a managed entity.
@@ -52987,7 +53272,7 @@ func init() {
type MarkDefaultRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster ID to become default.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
}
func init() {
@@ -53003,7 +53288,6 @@ func init() {
t["MarkForRemoval"] = reflect.TypeOf((*MarkForRemoval)(nil)).Elem()
}
-// The parameters of `HostStorageSystem.MarkForRemoval`.
type MarkForRemovalRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
HbaName string `xml:"hbaName" json:"hbaName"`
@@ -53093,16 +53377,16 @@ type MemoryFileFormatNotSupportedByDatastore struct {
UnsupportedDatastore
// The name of the Datastore.
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"6.0"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
// Datastore file system volume type.
//
// See `DatastoreSummary.type`
- Type string `xml:"type" json:"type" vim:"6.0"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["MemoryFileFormatNotSupportedByDatastore"] = "6.0"
t["MemoryFileFormatNotSupportedByDatastore"] = reflect.TypeOf((*MemoryFileFormatNotSupportedByDatastore)(nil)).Elem()
+ minAPIVersionForType["MemoryFileFormatNotSupportedByDatastore"] = "6.0"
}
type MemoryFileFormatNotSupportedByDatastoreFault MemoryFileFormatNotSupportedByDatastore
@@ -53117,8 +53401,8 @@ type MemoryHotPlugNotSupported struct {
}
func init() {
- minAPIVersionForType["MemoryHotPlugNotSupported"] = "4.0"
t["MemoryHotPlugNotSupported"] = reflect.TypeOf((*MemoryHotPlugNotSupported)(nil)).Elem()
+ minAPIVersionForType["MemoryHotPlugNotSupported"] = "4.0"
}
type MemoryHotPlugNotSupportedFault MemoryHotPlugNotSupported
@@ -53133,16 +53417,16 @@ type MemorySizeNotRecommended struct {
VirtualHardwareCompatibilityIssue
// The configured memory size of the virtual machine.
- MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB" vim:"2.5"`
+ MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB"`
// The minimum recommended memory size.
- MinMemorySizeMB int32 `xml:"minMemorySizeMB" json:"minMemorySizeMB" vim:"2.5"`
+ MinMemorySizeMB int32 `xml:"minMemorySizeMB" json:"minMemorySizeMB"`
// The maximum recommended memory size.
- MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB" vim:"2.5"`
+ MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB"`
}
func init() {
- minAPIVersionForType["MemorySizeNotRecommended"] = "2.5"
t["MemorySizeNotRecommended"] = reflect.TypeOf((*MemorySizeNotRecommended)(nil)).Elem()
+ minAPIVersionForType["MemorySizeNotRecommended"] = "2.5"
}
type MemorySizeNotRecommendedFault MemorySizeNotRecommended
@@ -53157,16 +53441,16 @@ type MemorySizeNotSupported struct {
VirtualHardwareCompatibilityIssue
// The configured memory size of the virtual machine.
- MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB" vim:"2.5"`
+ MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB"`
// The minimum acceptable memory size.
- MinMemorySizeMB int32 `xml:"minMemorySizeMB" json:"minMemorySizeMB" vim:"2.5"`
+ MinMemorySizeMB int32 `xml:"minMemorySizeMB" json:"minMemorySizeMB"`
// The maximum acceptable memory size.
- MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB" vim:"2.5"`
+ MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB"`
}
func init() {
- minAPIVersionForType["MemorySizeNotSupported"] = "2.5"
t["MemorySizeNotSupported"] = reflect.TypeOf((*MemorySizeNotSupported)(nil)).Elem()
+ minAPIVersionForType["MemorySizeNotSupported"] = "2.5"
}
// The memory amount of the virtual machine is not within the acceptable
@@ -53177,16 +53461,16 @@ type MemorySizeNotSupportedByDatastore struct {
// The datastore which does not support the requested memory size.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"5.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The configured memory size of the virtual machine.
- MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB" vim:"5.0"`
+ MemorySizeMB int32 `xml:"memorySizeMB" json:"memorySizeMB"`
// The maximum acceptable memory size supported by the datastore.
- MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB" vim:"5.0"`
+ MaxMemorySizeMB int32 `xml:"maxMemorySizeMB" json:"maxMemorySizeMB"`
}
func init() {
- minAPIVersionForType["MemorySizeNotSupportedByDatastore"] = "5.0"
t["MemorySizeNotSupportedByDatastore"] = reflect.TypeOf((*MemorySizeNotSupportedByDatastore)(nil)).Elem()
+ minAPIVersionForType["MemorySizeNotSupportedByDatastore"] = "5.0"
}
type MemorySizeNotSupportedByDatastoreFault MemorySizeNotSupportedByDatastore
@@ -53225,7 +53509,7 @@ type MergeDvsRequestType struct {
// Required privileges: DVSwitch.Delete
//
// Refers instance of `DistributedVirtualSwitch`.
- Dvs ManagedObjectReference `xml:"dvs" json:"dvs" vim:"4.0"`
+ Dvs ManagedObjectReference `xml:"dvs" json:"dvs"`
}
func init() {
@@ -53302,8 +53586,8 @@ type MethodAlreadyDisabledFault struct {
}
func init() {
- minAPIVersionForType["MethodAlreadyDisabledFault"] = "4.1"
t["MethodAlreadyDisabledFault"] = reflect.TypeOf((*MethodAlreadyDisabledFault)(nil)).Elem()
+ minAPIVersionForType["MethodAlreadyDisabledFault"] = "4.1"
}
type MethodAlreadyDisabledFaultFault MethodAlreadyDisabledFault
@@ -53336,8 +53620,8 @@ type MethodDisabled struct {
}
func init() {
- minAPIVersionForType["MethodDisabled"] = "2.5"
t["MethodDisabled"] = reflect.TypeOf((*MethodDisabled)(nil)).Elem()
+ minAPIVersionForType["MethodDisabled"] = "2.5"
}
type MethodDisabledFault MethodDisabled
@@ -53493,8 +53777,8 @@ type MigrationDisabled struct {
}
func init() {
- minAPIVersionForType["MigrationDisabled"] = "4.0"
t["MigrationDisabled"] = reflect.TypeOf((*MigrationDisabled)(nil)).Elem()
+ minAPIVersionForType["MigrationDisabled"] = "4.0"
}
type MigrationDisabledFault MigrationDisabled
@@ -53577,18 +53861,18 @@ type MigrationFeatureNotSupported struct {
MigrationFault
// Whether this error is for the source host.
- AtSourceHost bool `xml:"atSourceHost" json:"atSourceHost" vim:"2.5"`
+ AtSourceHost bool `xml:"atSourceHost" json:"atSourceHost"`
// The name of the host.
- FailedHostName string `xml:"failedHostName" json:"failedHostName" vim:"2.5"`
+ FailedHostName string `xml:"failedHostName" json:"failedHostName"`
// The host.
//
// Refers instance of `HostSystem`.
- FailedHost ManagedObjectReference `xml:"failedHost" json:"failedHost" vim:"2.5"`
+ FailedHost ManagedObjectReference `xml:"failedHost" json:"failedHost"`
}
func init() {
- minAPIVersionForType["MigrationFeatureNotSupported"] = "2.5"
t["MigrationFeatureNotSupported"] = reflect.TypeOf((*MigrationFeatureNotSupported)(nil)).Elem()
+ minAPIVersionForType["MigrationFeatureNotSupported"] = "2.5"
}
type MigrationFeatureNotSupportedFault BaseMigrationFeatureNotSupported
@@ -53633,8 +53917,8 @@ type MigrationNotReady struct {
}
func init() {
- minAPIVersionForType["MigrationNotReady"] = "4.0"
t["MigrationNotReady"] = reflect.TypeOf((*MigrationNotReady)(nil)).Elem()
+ minAPIVersionForType["MigrationNotReady"] = "4.0"
}
type MigrationNotReadyFault MigrationNotReady
@@ -53687,18 +53971,18 @@ type MismatchedBundle struct {
VimFault
// The uuid of the host that the bundle was generated for
- BundleUuid string `xml:"bundleUuid" json:"bundleUuid" vim:"2.5"`
+ BundleUuid string `xml:"bundleUuid" json:"bundleUuid"`
// The uuid of the host
- HostUuid string `xml:"hostUuid" json:"hostUuid" vim:"2.5"`
+ HostUuid string `xml:"hostUuid" json:"hostUuid"`
// The build number of the host that the bundle was generated for
- BundleBuildNumber int32 `xml:"bundleBuildNumber" json:"bundleBuildNumber" vim:"2.5"`
+ BundleBuildNumber int32 `xml:"bundleBuildNumber" json:"bundleBuildNumber"`
// The build number of the host
- HostBuildNumber int32 `xml:"hostBuildNumber" json:"hostBuildNumber" vim:"2.5"`
+ HostBuildNumber int32 `xml:"hostBuildNumber" json:"hostBuildNumber"`
}
func init() {
- minAPIVersionForType["MismatchedBundle"] = "2.5"
t["MismatchedBundle"] = reflect.TypeOf((*MismatchedBundle)(nil)).Elem()
+ minAPIVersionForType["MismatchedBundle"] = "2.5"
}
type MismatchedBundleFault MismatchedBundle
@@ -53769,8 +54053,8 @@ type MissingBmcSupport struct {
}
func init() {
- minAPIVersionForType["MissingBmcSupport"] = "4.0"
t["MissingBmcSupport"] = reflect.TypeOf((*MissingBmcSupport)(nil)).Elem()
+ minAPIVersionForType["MissingBmcSupport"] = "4.0"
}
type MissingBmcSupportFault MissingBmcSupport
@@ -53801,8 +54085,8 @@ type MissingIpPool struct {
}
func init() {
- minAPIVersionForType["MissingIpPool"] = "5.0"
t["MissingIpPool"] = reflect.TypeOf((*MissingIpPool)(nil)).Elem()
+ minAPIVersionForType["MissingIpPool"] = "5.0"
}
type MissingIpPoolFault MissingIpPool
@@ -53833,8 +54117,8 @@ type MissingNetworkIpConfig struct {
}
func init() {
- minAPIVersionForType["MissingNetworkIpConfig"] = "4.0"
t["MissingNetworkIpConfig"] = reflect.TypeOf((*MissingNetworkIpConfig)(nil)).Elem()
+ minAPIVersionForType["MissingNetworkIpConfig"] = "4.0"
}
type MissingNetworkIpConfigFault MissingNetworkIpConfig
@@ -53873,8 +54157,8 @@ type MissingPowerOffConfiguration struct {
}
func init() {
- minAPIVersionForType["MissingPowerOffConfiguration"] = "4.0"
t["MissingPowerOffConfiguration"] = reflect.TypeOf((*MissingPowerOffConfiguration)(nil)).Elem()
+ minAPIVersionForType["MissingPowerOffConfiguration"] = "4.0"
}
type MissingPowerOffConfigurationFault MissingPowerOffConfiguration
@@ -53890,8 +54174,8 @@ type MissingPowerOnConfiguration struct {
}
func init() {
- minAPIVersionForType["MissingPowerOnConfiguration"] = "4.0"
t["MissingPowerOnConfiguration"] = reflect.TypeOf((*MissingPowerOnConfiguration)(nil)).Elem()
+ minAPIVersionForType["MissingPowerOnConfiguration"] = "4.0"
}
type MissingPowerOnConfigurationFault MissingPowerOnConfiguration
@@ -53941,12 +54225,12 @@ type MksConnectionLimitReached struct {
InvalidState
// MKS connection limit for the virtual machine.
- ConnectionLimit int32 `xml:"connectionLimit" json:"connectionLimit" vim:"5.0"`
+ ConnectionLimit int32 `xml:"connectionLimit" json:"connectionLimit"`
}
func init() {
- minAPIVersionForType["MksConnectionLimitReached"] = "5.0"
t["MksConnectionLimitReached"] = reflect.TypeOf((*MksConnectionLimitReached)(nil)).Elem()
+ minAPIVersionForType["MksConnectionLimitReached"] = "5.0"
}
type MksConnectionLimitReachedFault MksConnectionLimitReached
@@ -54263,7 +54547,7 @@ type MoveDirectoryInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the directory to be moved.
SrcDirectoryPath string `xml:"srcDirectoryPath" json:"srcDirectoryPath"`
// The complete path to the where the directory is
@@ -54296,7 +54580,7 @@ type MoveFileInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The complete path to the original file or
// symbolic link to be moved.
SrcFilePath string `xml:"srcFilePath" json:"srcFilePath"`
@@ -54468,8 +54752,8 @@ type MtuMatchEvent struct {
}
func init() {
- minAPIVersionForType["MtuMatchEvent"] = "5.1"
t["MtuMatchEvent"] = reflect.TypeOf((*MtuMatchEvent)(nil)).Elem()
+ minAPIVersionForType["MtuMatchEvent"] = "5.1"
}
// The value of MTU configured in the vSphere Distributed Switch
@@ -54479,8 +54763,8 @@ type MtuMismatchEvent struct {
}
func init() {
- minAPIVersionForType["MtuMismatchEvent"] = "5.1"
t["MtuMismatchEvent"] = reflect.TypeOf((*MtuMismatchEvent)(nil)).Elem()
+ minAPIVersionForType["MtuMismatchEvent"] = "5.1"
}
// The multi-writer sharing of the specified virtual disk is not supported.
@@ -54494,8 +54778,8 @@ type MultiWriterNotSupported struct {
}
func init() {
- minAPIVersionForType["MultiWriterNotSupported"] = "6.0"
t["MultiWriterNotSupported"] = reflect.TypeOf((*MultiWriterNotSupported)(nil)).Elem()
+ minAPIVersionForType["MultiWriterNotSupported"] = "6.0"
}
type MultiWriterNotSupportedFault MultiWriterNotSupported
@@ -54521,12 +54805,12 @@ type MultipleCertificatesVerifyFault struct {
HostConnectFault
// The thumbprints (and associated ports) used by the services on the host.
- ThumbprintData []MultipleCertificatesVerifyFaultThumbprintData `xml:"thumbprintData" json:"thumbprintData" vim:"4.0"`
+ ThumbprintData []MultipleCertificatesVerifyFaultThumbprintData `xml:"thumbprintData" json:"thumbprintData"`
}
func init() {
- minAPIVersionForType["MultipleCertificatesVerifyFault"] = "4.0"
t["MultipleCertificatesVerifyFault"] = reflect.TypeOf((*MultipleCertificatesVerifyFault)(nil)).Elem()
+ minAPIVersionForType["MultipleCertificatesVerifyFault"] = "4.0"
}
type MultipleCertificatesVerifyFaultFault MultipleCertificatesVerifyFault
@@ -54539,9 +54823,9 @@ type MultipleCertificatesVerifyFaultThumbprintData struct {
DynamicData
// The port used by the service.
- Port int32 `xml:"port" json:"port" vim:"4.0"`
+ Port int32 `xml:"port" json:"port"`
// The SSL thumbprint of the host's certificate used by the service.
- Thumbprint string `xml:"thumbprint" json:"thumbprint" vim:"4.0"`
+ Thumbprint string `xml:"thumbprint" json:"thumbprint"`
}
func init() {
@@ -54594,14 +54878,14 @@ type NamePasswordAuthentication struct {
GuestAuthentication
// The user name for Name-Password authentication.
- Username string `xml:"username" json:"username" vim:"5.0"`
+ Username string `xml:"username" json:"username"`
// The password for Name-Password authentication.
- Password string `xml:"password" json:"password" vim:"5.0"`
+ Password string `xml:"password" json:"password"`
}
func init() {
- minAPIVersionForType["NamePasswordAuthentication"] = "5.0"
t["NamePasswordAuthentication"] = reflect.TypeOf((*NamePasswordAuthentication)(nil)).Elem()
+ minAPIVersionForType["NamePasswordAuthentication"] = "5.0"
}
// A NamespaceFull fault is thrown when an operation
@@ -54610,20 +54894,20 @@ type NamespaceFull struct {
VimFault
// The namespace in question.
- Name string `xml:"name" json:"name" vim:"5.1"`
+ Name string `xml:"name" json:"name"`
// Current maximum size.
- CurrentMaxSize int64 `xml:"currentMaxSize" json:"currentMaxSize" vim:"5.1"`
+ CurrentMaxSize int64 `xml:"currentMaxSize" json:"currentMaxSize"`
// Size necessary to complete operation.
//
// If not present,
// system was not able to determine how much space would
// be necessary to complete operation.
- RequiredSize int64 `xml:"requiredSize,omitempty" json:"requiredSize,omitempty" vim:"5.1"`
+ RequiredSize int64 `xml:"requiredSize,omitempty" json:"requiredSize,omitempty"`
}
func init() {
- minAPIVersionForType["NamespaceFull"] = "5.1"
t["NamespaceFull"] = reflect.TypeOf((*NamespaceFull)(nil)).Elem()
+ minAPIVersionForType["NamespaceFull"] = "5.1"
}
type NamespaceFullFault NamespaceFull
@@ -54638,12 +54922,12 @@ type NamespaceLimitReached struct {
VimFault
// Allowed maximum number of namespaces per virtual machine.
- Limit *int32 `xml:"limit" json:"limit,omitempty" vim:"5.1"`
+ Limit *int32 `xml:"limit" json:"limit,omitempty"`
}
func init() {
- minAPIVersionForType["NamespaceLimitReached"] = "5.1"
t["NamespaceLimitReached"] = reflect.TypeOf((*NamespaceLimitReached)(nil)).Elem()
+ minAPIVersionForType["NamespaceLimitReached"] = "5.1"
}
type NamespaceLimitReachedFault NamespaceLimitReached
@@ -54658,12 +54942,12 @@ type NamespaceWriteProtected struct {
VimFault
// The namespace in question.
- Name string `xml:"name" json:"name" vim:"5.1"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["NamespaceWriteProtected"] = "5.1"
t["NamespaceWriteProtected"] = reflect.TypeOf((*NamespaceWriteProtected)(nil)).Elem()
+ minAPIVersionForType["NamespaceWriteProtected"] = "5.1"
}
type NamespaceWriteProtectedFault NamespaceWriteProtected
@@ -54677,12 +54961,12 @@ type NasConfigFault struct {
HostConfigFault
// Name of the Nas datastore being configured.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["NasConfigFault"] = "4.0"
t["NasConfigFault"] = reflect.TypeOf((*NasConfigFault)(nil)).Elem()
+ minAPIVersionForType["NasConfigFault"] = "2.5 U2"
}
type NasConfigFaultFault BaseNasConfigFault
@@ -54698,14 +54982,14 @@ type NasConnectionLimitReached struct {
NasConfigFault
// The host that runs the NFS server.
- RemoteHost string `xml:"remoteHost" json:"remoteHost" vim:"4.0"`
+ RemoteHost string `xml:"remoteHost" json:"remoteHost"`
// The remote share.
- RemotePath string `xml:"remotePath" json:"remotePath" vim:"4.0"`
+ RemotePath string `xml:"remotePath" json:"remotePath"`
}
func init() {
- minAPIVersionForType["NasConnectionLimitReached"] = "4.0"
t["NasConnectionLimitReached"] = reflect.TypeOf((*NasConnectionLimitReached)(nil)).Elem()
+ minAPIVersionForType["NasConnectionLimitReached"] = "2.5 U2"
}
type NasConnectionLimitReachedFault NasConnectionLimitReached
@@ -54736,15 +55020,15 @@ type NasSessionCredentialConflict struct {
NasConfigFault
// The host that runs the NFS server.
- RemoteHost string `xml:"remoteHost" json:"remoteHost" vim:"4.0"`
+ RemoteHost string `xml:"remoteHost" json:"remoteHost"`
// The remote share.
- RemotePath string `xml:"remotePath" json:"remotePath" vim:"4.0"`
+ RemotePath string `xml:"remotePath" json:"remotePath"`
UserName string `xml:"userName" json:"userName"`
}
func init() {
- minAPIVersionForType["NasSessionCredentialConflict"] = "4.0"
t["NasSessionCredentialConflict"] = reflect.TypeOf((*NasSessionCredentialConflict)(nil)).Elem()
+ minAPIVersionForType["NasSessionCredentialConflict"] = "2.5 U2"
}
type NasSessionCredentialConflictFault NasSessionCredentialConflict
@@ -54762,12 +55046,12 @@ type NasStorageProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["NasStorageProfile"] = "4.0"
t["NasStorageProfile"] = reflect.TypeOf((*NasStorageProfile)(nil)).Elem()
+ minAPIVersionForType["NasStorageProfile"] = "4.0"
}
// This fault is thrown when an operation to configure a NAS datastore
@@ -54776,14 +55060,14 @@ type NasVolumeNotMounted struct {
NasConfigFault
// The host that runs the NFS server.
- RemoteHost string `xml:"remoteHost" json:"remoteHost" vim:"4.0"`
+ RemoteHost string `xml:"remoteHost" json:"remoteHost"`
// The remote share.
- RemotePath string `xml:"remotePath" json:"remotePath" vim:"4.0"`
+ RemotePath string `xml:"remotePath" json:"remotePath"`
}
func init() {
- minAPIVersionForType["NasVolumeNotMounted"] = "4.0"
t["NasVolumeNotMounted"] = reflect.TypeOf((*NasVolumeNotMounted)(nil)).Elem()
+ minAPIVersionForType["NasVolumeNotMounted"] = "2.5 U2"
}
type NasVolumeNotMountedFault NasVolumeNotMounted
@@ -54802,12 +55086,12 @@ type NegatableExpression struct {
DynamicData
// Whether the configuration needs to be negated or not.
- Negate *bool `xml:"negate" json:"negate,omitempty" vim:"5.5"`
+ Negate *bool `xml:"negate" json:"negate,omitempty"`
}
func init() {
- minAPIVersionForType["NegatableExpression"] = "5.5"
t["NegatableExpression"] = reflect.TypeOf((*NegatableExpression)(nil)).Elem()
+ minAPIVersionForType["NegatableExpression"] = "5.5"
}
// This data object type describes the NetBIOS configuration of
@@ -54819,12 +55103,12 @@ type NetBIOSConfigInfo struct {
//
// The supported values are described by
// `NetBIOSConfigInfoMode_enum`.
- Mode string `xml:"mode" json:"mode" vim:"4.1"`
+ Mode string `xml:"mode" json:"mode"`
}
func init() {
- minAPIVersionForType["NetBIOSConfigInfo"] = "4.1"
t["NetBIOSConfigInfo"] = reflect.TypeOf((*NetBIOSConfigInfo)(nil)).Elem()
+ minAPIVersionForType["NetBIOSConfigInfo"] = "4.1"
}
// Dynamic Host Configuration Protocol reporting for IP version 4 and version 6.
@@ -54832,14 +55116,14 @@ type NetDhcpConfigInfo struct {
DynamicData
// IPv6 DHCP client settings.
- Ipv6 *NetDhcpConfigInfoDhcpOptions `xml:"ipv6,omitempty" json:"ipv6,omitempty" vim:"4.1"`
+ Ipv6 *NetDhcpConfigInfoDhcpOptions `xml:"ipv6,omitempty" json:"ipv6,omitempty"`
// IPv4 DHCP client settings.
- Ipv4 *NetDhcpConfigInfoDhcpOptions `xml:"ipv4,omitempty" json:"ipv4,omitempty" vim:"4.1"`
+ Ipv4 *NetDhcpConfigInfoDhcpOptions `xml:"ipv4,omitempty" json:"ipv4,omitempty"`
}
func init() {
- minAPIVersionForType["NetDhcpConfigInfo"] = "4.1"
t["NetDhcpConfigInfo"] = reflect.TypeOf((*NetDhcpConfigInfo)(nil)).Elem()
+ minAPIVersionForType["NetDhcpConfigInfo"] = "4.1"
}
// Provides for reporting of DHCP client.
@@ -54850,7 +55134,7 @@ type NetDhcpConfigInfoDhcpOptions struct {
DynamicData
// Report state of dhcp client services.
- Enable bool `xml:"enable" json:"enable" vim:"4.1"`
+ Enable bool `xml:"enable" json:"enable"`
// Platform specific settings for DHCP Client.
//
// The key part is a unique number, the value part
@@ -54862,12 +55146,12 @@ type NetDhcpConfigInfoDhcpOptions struct {
// output reported at per interface scope:
// key='1', value='prepend domain-name-servers 192.0.2.1;'
// key='2', value='equire subnet-mask, domain-name-servers;'
- Config []KeyValue `xml:"config,omitempty" json:"config,omitempty" vim:"4.1"`
+ Config []KeyValue `xml:"config,omitempty" json:"config,omitempty"`
}
func init() {
- minAPIVersionForType["NetDhcpConfigInfoDhcpOptions"] = "4.1"
t["NetDhcpConfigInfoDhcpOptions"] = reflect.TypeOf((*NetDhcpConfigInfoDhcpOptions)(nil)).Elem()
+ minAPIVersionForType["NetDhcpConfigInfoDhcpOptions"] = "4.1"
}
// Dynamic Host Configuration Protocol Configuration for IP version 4 and version 6.
@@ -54875,14 +55159,14 @@ type NetDhcpConfigSpec struct {
DynamicData
// Configure IPv6 DHCP client settings.
- Ipv6 *NetDhcpConfigSpecDhcpOptionsSpec `xml:"ipv6,omitempty" json:"ipv6,omitempty" vim:"4.1"`
+ Ipv6 *NetDhcpConfigSpecDhcpOptionsSpec `xml:"ipv6,omitempty" json:"ipv6,omitempty"`
// Configure IPv4 DHCP client settings.
- Ipv4 *NetDhcpConfigSpecDhcpOptionsSpec `xml:"ipv4,omitempty" json:"ipv4,omitempty" vim:"4.1"`
+ Ipv4 *NetDhcpConfigSpecDhcpOptionsSpec `xml:"ipv4,omitempty" json:"ipv4,omitempty"`
}
func init() {
- minAPIVersionForType["NetDhcpConfigSpec"] = "4.1"
t["NetDhcpConfigSpec"] = reflect.TypeOf((*NetDhcpConfigSpec)(nil)).Elem()
+ minAPIVersionForType["NetDhcpConfigSpec"] = "4.1"
}
// Provides for configuration of IPv6
@@ -54890,20 +55174,20 @@ type NetDhcpConfigSpecDhcpOptionsSpec struct {
DynamicData
// Enable or disable dhcp for IPv4.
- Enable *bool `xml:"enable" json:"enable,omitempty" vim:"4.1"`
+ Enable *bool `xml:"enable" json:"enable,omitempty"`
// Platform specific settings for DHCP Client.
//
// The key part is a unique number, the value part
// is the platform specific configuration command.
// See `NetDhcpConfigInfo` for value formatting.
- Config []KeyValue `xml:"config" json:"config" vim:"4.1"`
+ Config []KeyValue `xml:"config" json:"config"`
// Requires one of the values from `HostConfigChangeOperation_enum`.
- Operation string `xml:"operation" json:"operation" vim:"4.1"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["NetDhcpConfigSpecDhcpOptionsSpec"] = "4.1"
t["NetDhcpConfigSpecDhcpOptionsSpec"] = reflect.TypeOf((*NetDhcpConfigSpecDhcpOptionsSpec)(nil)).Elem()
+ minAPIVersionForType["NetDhcpConfigSpecDhcpOptionsSpec"] = "4.1"
}
// Domain Name Server (DNS) Configuration Specification -
@@ -54913,17 +55197,17 @@ type NetDnsConfigInfo struct {
// Indicates whether or not dynamic host control
// protocol (DHCP) is used to configure DNS configuration.
- Dhcp bool `xml:"dhcp" json:"dhcp" vim:"4.1"`
+ Dhcp bool `xml:"dhcp" json:"dhcp"`
// The host name portion of DNS name.
//
// For example, "esx01" part of
// esx01.example.com.
- HostName string `xml:"hostName" json:"hostName" vim:"4.1"`
+ HostName string `xml:"hostName" json:"hostName"`
// The domain name portion of the DNS name.
//
// "example.com" part of
// esx01.example.com.
- DomainName string `xml:"domainName" json:"domainName" vim:"4.1"`
+ DomainName string `xml:"domainName" json:"domainName"`
// The IP addresses of the DNS servers in order of use.
//
// IPv4 addresses are specified using
@@ -54934,14 +55218,14 @@ type NetDnsConfigInfo struct {
// 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the
// symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"4.1"`
+ IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The domain in which to search for hosts, placed in order of preference.
- SearchDomain []string `xml:"searchDomain,omitempty" json:"searchDomain,omitempty" vim:"4.1"`
+ SearchDomain []string `xml:"searchDomain,omitempty" json:"searchDomain,omitempty"`
}
func init() {
- minAPIVersionForType["NetDnsConfigInfo"] = "4.1"
t["NetDnsConfigInfo"] = reflect.TypeOf((*NetDnsConfigInfo)(nil)).Elem()
+ minAPIVersionForType["NetDnsConfigInfo"] = "4.1"
}
// Domain Name Server (DNS) Configuration Specification -
@@ -54959,19 +55243,19 @@ type NetDnsConfigSpec struct {
// protocol (DHCP) will be used to set DNS configuration automatically.
//
// See vim.net.DhcpConfigSpec
- Dhcp *bool `xml:"dhcp" json:"dhcp,omitempty" vim:"4.1"`
+ Dhcp *bool `xml:"dhcp" json:"dhcp,omitempty"`
// The host name portion of DNS name.
//
// For example,
// "esx01" part of esx01.example.com. The rules for forming a hostname
// are specified in RFC 1034.
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"4.1"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The domain name portion of the DNS name.
//
// This would be the
// "example.com" part of esx01.example.com. The rules for forming
// a domain name are defined in RFC 1034.
- DomainName string `xml:"domainName,omitempty" json:"domainName,omitempty" vim:"4.1"`
+ DomainName string `xml:"domainName,omitempty" json:"domainName,omitempty"`
// Unicast IP address(s) of one or more DNS servers in order of use.
//
// IPv4 addresses are specified using
@@ -54982,14 +55266,14 @@ type NetDnsConfigSpec struct {
// 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the
// symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"4.1"`
+ IpAddress []string `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// The domain in which to search for hosts in order of preference.
- SearchDomain []string `xml:"searchDomain,omitempty" json:"searchDomain,omitempty" vim:"4.1"`
+ SearchDomain []string `xml:"searchDomain,omitempty" json:"searchDomain,omitempty"`
}
func init() {
- minAPIVersionForType["NetDnsConfigSpec"] = "4.1"
t["NetDnsConfigSpec"] = reflect.TypeOf((*NetDnsConfigSpec)(nil)).Elem()
+ minAPIVersionForType["NetDnsConfigSpec"] = "4.1"
}
// Protocol version independent address reporting data object for network
@@ -54999,21 +55283,21 @@ type NetIpConfigInfo struct {
// Zero, one or more manual (static) assigned IP addresses to be configured
// on a given interface.
- IpAddress []NetIpConfigInfoIpAddress `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"4.1"`
+ IpAddress []NetIpConfigInfoIpAddress `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// Client side DHCP for a given interface.
- Dhcp *NetDhcpConfigInfo `xml:"dhcp,omitempty" json:"dhcp,omitempty" vim:"4.1"`
+ Dhcp *NetDhcpConfigInfo `xml:"dhcp,omitempty" json:"dhcp,omitempty"`
// Enable or disable ICMPv6 router solictitation requests from a given interface
// to acquire an IPv6 address and default gateway route from zero, one or more
// routers on the connected network.
//
// If not set then ICMPv6 is not available on this system,
// See vim.host.Network.Capabilities
- AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty" vim:"4.1"`
+ AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpConfigInfo"] = "4.1"
t["NetIpConfigInfo"] = reflect.TypeOf((*NetIpConfigInfo)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigInfo"] = "4.1"
}
// Information about a specific IP Address.
@@ -55029,7 +55313,7 @@ type NetIpConfigInfoIpAddress struct {
// 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the
// symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"4.1"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// Denotes the length of a generic Internet network address
// prefix.
//
@@ -55040,28 +55324,28 @@ type NetIpConfigInfoIpAddress struct {
// bit (MSB), with all other bits set to 0.
// A value of zero is valid only if the calling context defines
// it.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.1"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// How this address was configured.
//
// This can be
// one of the values from the enum IpAddressOrigin
// See `NetIpConfigInfoIpAddressOrigin_enum` for values.
- Origin string `xml:"origin,omitempty" json:"origin,omitempty" vim:"4.1"`
+ Origin string `xml:"origin,omitempty" json:"origin,omitempty"`
// The state of this ipAddress.
//
// Can be one of `NetIpConfigInfoIpAddressStatus_enum`.
- State string `xml:"state,omitempty" json:"state,omitempty" vim:"4.1"`
+ State string `xml:"state,omitempty" json:"state,omitempty"`
// The time when will this address expire.
//
// Durning this time
// `state` may change states but is still visible
// from the network.
- Lifetime *time.Time `xml:"lifetime" json:"lifetime,omitempty" vim:"4.1"`
+ Lifetime *time.Time `xml:"lifetime" json:"lifetime,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpConfigInfoIpAddress"] = "4.1"
t["NetIpConfigInfoIpAddress"] = reflect.TypeOf((*NetIpConfigInfoIpAddress)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigInfoIpAddress"] = "4.1"
}
// Internet Protocol Address Configuration for version 4 and version 6.
@@ -55069,18 +55353,18 @@ type NetIpConfigSpec struct {
DynamicData
// A set of manual (static) IP addresses to be configured on a given interface.
- IpAddress []NetIpConfigSpecIpAddressSpec `xml:"ipAddress,omitempty" json:"ipAddress,omitempty" vim:"4.1"`
+ IpAddress []NetIpConfigSpecIpAddressSpec `xml:"ipAddress,omitempty" json:"ipAddress,omitempty"`
// Configure client side DHCP for a given interface.
- Dhcp *NetDhcpConfigSpec `xml:"dhcp,omitempty" json:"dhcp,omitempty" vim:"4.1"`
+ Dhcp *NetDhcpConfigSpec `xml:"dhcp,omitempty" json:"dhcp,omitempty"`
// Enable or disable ICMPv6 router solictitation requests from a given interface
// to acquire an IPv6 address and default gateway route from zero, one or more
// routers on the connected network.
- AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty" vim:"4.1"`
+ AutoConfigurationEnabled *bool `xml:"autoConfigurationEnabled" json:"autoConfigurationEnabled,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpConfigSpec"] = "4.1"
t["NetIpConfigSpec"] = reflect.TypeOf((*NetIpConfigSpec)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigSpec"] = "4.1"
}
// Provides for configuration of IP Addresses.
@@ -55097,7 +55381,7 @@ type NetIpConfigSpecIpAddressSpec struct {
// 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the
// symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"4.1"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// Denotes the length of a generic Internet network address
// prefix.
//
@@ -55108,15 +55392,15 @@ type NetIpConfigSpecIpAddressSpec struct {
// bit (MSB), with all other bits set to 0.
// A value of zero is valid only if the calling context defines
// it.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.1"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// Requires one of: "add" and "remove" or "change"
// See `HostConfigChangeOperation_enum`.
- Operation string `xml:"operation" json:"operation" vim:"4.1"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["NetIpConfigSpecIpAddressSpec"] = "4.1"
t["NetIpConfigSpecIpAddressSpec"] = reflect.TypeOf((*NetIpConfigSpecIpAddressSpec)(nil)).Elem()
+ minAPIVersionForType["NetIpConfigSpecIpAddressSpec"] = "4.1"
}
// This data object reports the IP Route Table.
@@ -55124,12 +55408,12 @@ type NetIpRouteConfigInfo struct {
DynamicData
// IP routing table for all address families.
- IpRoute []NetIpRouteConfigInfoIpRoute `xml:"ipRoute,omitempty" json:"ipRoute,omitempty" vim:"4.1"`
+ IpRoute []NetIpRouteConfigInfoIpRoute `xml:"ipRoute,omitempty" json:"ipRoute,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpRouteConfigInfo"] = "4.1"
t["NetIpRouteConfigInfo"] = reflect.TypeOf((*NetIpRouteConfigInfo)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigInfo"] = "4.1"
}
// Next hop Gateway for a given route.
@@ -55141,8 +55425,8 @@ type NetIpRouteConfigInfoGateway struct {
}
func init() {
- minAPIVersionForType["NetIpRouteConfigInfoGateway"] = "4.1"
t["NetIpRouteConfigInfoGateway"] = reflect.TypeOf((*NetIpRouteConfigInfoGateway)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigInfoGateway"] = "4.1"
}
// IpRoute report an individual host, network or default destination network
@@ -55157,21 +55441,21 @@ type NetIpRouteConfigInfoIpRoute struct {
// field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can
// also consist of symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- Network string `xml:"network" json:"network" vim:"4.1"`
+ Network string `xml:"network" json:"network"`
// The prefix length.
//
// For IPv4 the value range is 0-31.
// For IPv6 prefixLength is a decimal value range 0-127. The property
// represents the number of contiguous, higher-order bits of the address that make
// up the network portion of the IP address.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.1"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// Where to send the packets for this route.
- Gateway NetIpRouteConfigInfoGateway `xml:"gateway" json:"gateway" vim:"4.1"`
+ Gateway NetIpRouteConfigInfoGateway `xml:"gateway" json:"gateway"`
}
func init() {
- minAPIVersionForType["NetIpRouteConfigInfoIpRoute"] = "4.1"
t["NetIpRouteConfigInfoIpRoute"] = reflect.TypeOf((*NetIpRouteConfigInfoIpRoute)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigInfoIpRoute"] = "4.1"
}
// Address family independent IP Route Table Configuration data object.
@@ -55179,12 +55463,12 @@ type NetIpRouteConfigSpec struct {
DynamicData
// The set of updates to apply to the routing table.
- IpRoute []NetIpRouteConfigSpecIpRouteSpec `xml:"ipRoute,omitempty" json:"ipRoute,omitempty" vim:"4.1"`
+ IpRoute []NetIpRouteConfigSpecIpRouteSpec `xml:"ipRoute,omitempty" json:"ipRoute,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpRouteConfigSpec"] = "4.1"
t["NetIpRouteConfigSpec"] = reflect.TypeOf((*NetIpRouteConfigSpec)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigSpec"] = "4.1"
}
// IpRoute report an individual host, network or default destination network
@@ -55197,8 +55481,8 @@ type NetIpRouteConfigSpecGatewaySpec struct {
}
func init() {
- minAPIVersionForType["NetIpRouteConfigSpecGatewaySpec"] = "4.1"
t["NetIpRouteConfigSpecGatewaySpec"] = reflect.TypeOf((*NetIpRouteConfigSpecGatewaySpec)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigSpecGatewaySpec"] = "4.1"
}
// Specify an individual host, network or default destination network
@@ -55214,23 +55498,23 @@ type NetIpRouteConfigSpecIpRouteSpec struct {
// also consist of symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
// To Specify a default network use the value: 0 with prefixLenth 0.
- Network string `xml:"network" json:"network" vim:"4.1"`
+ Network string `xml:"network" json:"network"`
// The prefix length.
//
// For IPv4 the value range is 0-31.
// For IPv6 prefixLength is a decimal value range 0-127. The property
// represents the number of contiguous, higher-order bits of the address that make
// up the network portion of the IP address.
- PrefixLength int32 `xml:"prefixLength" json:"prefixLength" vim:"4.1"`
+ PrefixLength int32 `xml:"prefixLength" json:"prefixLength"`
// Where to send the packets for this route.
- Gateway NetIpRouteConfigSpecGatewaySpec `xml:"gateway" json:"gateway" vim:"4.1"`
+ Gateway NetIpRouteConfigSpecGatewaySpec `xml:"gateway" json:"gateway"`
// Requires one of the values from `HostConfigChangeOperation_enum`.
- Operation string `xml:"operation" json:"operation" vim:"4.1"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["NetIpRouteConfigSpecIpRouteSpec"] = "4.1"
t["NetIpRouteConfigSpecIpRouteSpec"] = reflect.TypeOf((*NetIpRouteConfigSpecIpRouteSpec)(nil)).Elem()
+ minAPIVersionForType["NetIpRouteConfigSpecIpRouteSpec"] = "4.1"
}
// Protocol version independent reporting data object for IP stack.
@@ -55241,39 +55525,39 @@ type NetIpStackInfo struct {
//
// This information is used to help diagnose connectivity or performance
// issues. This property maps to RFC 4293 ipNetToPhysicalTable.
- Neighbor []NetIpStackInfoNetToMedia `xml:"neighbor,omitempty" json:"neighbor,omitempty" vim:"4.1"`
+ Neighbor []NetIpStackInfoNetToMedia `xml:"neighbor,omitempty" json:"neighbor,omitempty"`
// Zero one or more entries of discovered IP routers that are directly
// reachable from a an interface on this system.
//
// This property maps to RFC 4293 ipDefaultRouterTable.
- DefaultRouter []NetIpStackInfoDefaultRouter `xml:"defaultRouter,omitempty" json:"defaultRouter,omitempty" vim:"4.1"`
+ DefaultRouter []NetIpStackInfoDefaultRouter `xml:"defaultRouter,omitempty" json:"defaultRouter,omitempty"`
}
func init() {
- minAPIVersionForType["NetIpStackInfo"] = "4.1"
t["NetIpStackInfo"] = reflect.TypeOf((*NetIpStackInfo)(nil)).Elem()
+ minAPIVersionForType["NetIpStackInfo"] = "4.1"
}
type NetIpStackInfoDefaultRouter struct {
DynamicData
// Unicast IP address of a next-hop router.
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"4.1"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// This value will contain the name of the interface as reported by the
// operationg system.
- Device string `xml:"device" json:"device" vim:"4.1"`
+ Device string `xml:"device" json:"device"`
// When this entry will no longer valid.
//
// For IPv6 this value
// see For IPv6 RFC 2462 sections 4.2 and 6.3.4.
- Lifetime time.Time `xml:"lifetime" json:"lifetime" vim:"4.1"`
+ Lifetime time.Time `xml:"lifetime" json:"lifetime"`
// Value of this entry compared to others that this IP stack uses
// when making selection to route traffic on the default
// route when there are multiple default routers.
//
// Value must be one of
// `NetIpStackInfoPreference_enum`
- Preference string `xml:"preference" json:"preference" vim:"4.1"`
+ Preference string `xml:"preference" json:"preference"`
}
func init() {
@@ -55297,24 +55581,24 @@ type NetIpStackInfoNetToMedia struct {
// 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of the
// symbol '::' to represent multiple 16-bit groups of
// contiguous 0's only once in an address as described in RFC 2373.
- IpAddress string `xml:"ipAddress" json:"ipAddress" vim:"4.1"`
+ IpAddress string `xml:"ipAddress" json:"ipAddress"`
// The media-dependent of the address or empty string if not yet learned.
//
// For Ethernet interfaces this is a MAC address reported in the format:
// XX:XX:XX:XX:XX:XX where XX are hexadecimal numbers.
- PhysicalAddress string `xml:"physicalAddress" json:"physicalAddress" vim:"4.1"`
+ PhysicalAddress string `xml:"physicalAddress" json:"physicalAddress"`
// The value will be the name of the interface as reported by the
// operating system.
- Device string `xml:"device" json:"device" vim:"4.1"`
+ Device string `xml:"device" json:"device"`
// The type/state of this entry as reported by the IP stack.
//
// See `NetIpStackInfoEntryType_enum` for values.
- Type string `xml:"type" json:"type" vim:"4.1"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["NetIpStackInfoNetToMedia"] = "4.1"
t["NetIpStackInfoNetToMedia"] = reflect.TypeOf((*NetIpStackInfoNetToMedia)(nil)).Elem()
+ minAPIVersionForType["NetIpStackInfoNetToMedia"] = "4.1"
}
// The `NetStackInstanceProfile` data object represents a subprofile
@@ -55323,16 +55607,16 @@ type NetStackInstanceProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"5.5"`
+ Key string `xml:"key" json:"key"`
// DnsConfig SubProfile for this instance of the stack.
- DnsConfig NetworkProfileDnsConfigProfile `xml:"dnsConfig" json:"dnsConfig" vim:"5.5"`
+ DnsConfig NetworkProfileDnsConfigProfile `xml:"dnsConfig" json:"dnsConfig"`
// IpRoute SubProfile for this instance of the stack.
- IpRouteConfig IpRouteProfile `xml:"ipRouteConfig" json:"ipRouteConfig" vim:"5.5"`
+ IpRouteConfig IpRouteProfile `xml:"ipRouteConfig" json:"ipRouteConfig"`
}
func init() {
- minAPIVersionForType["NetStackInstanceProfile"] = "5.5"
t["NetStackInstanceProfile"] = reflect.TypeOf((*NetStackInstanceProfile)(nil)).Elem()
+ minAPIVersionForType["NetStackInstanceProfile"] = "5.5"
}
// A network copy of the file failed.
@@ -55356,12 +55640,12 @@ type NetworkDisruptedAndConfigRolledBack struct {
VimFault
// The name of host on which the network configuration was rolled back.
- Host string `xml:"host" json:"host" vim:"5.1"`
+ Host string `xml:"host" json:"host"`
}
func init() {
- minAPIVersionForType["NetworkDisruptedAndConfigRolledBack"] = "5.1"
t["NetworkDisruptedAndConfigRolledBack"] = reflect.TypeOf((*NetworkDisruptedAndConfigRolledBack)(nil)).Elem()
+ minAPIVersionForType["NetworkDisruptedAndConfigRolledBack"] = "5.1"
}
type NetworkDisruptedAndConfigRolledBackFault NetworkDisruptedAndConfigRolledBack
@@ -55377,12 +55661,12 @@ type NetworkEventArgument struct {
// The Network object.
//
// Refers instance of `Network`.
- Network ManagedObjectReference `xml:"network" json:"network" vim:"4.0"`
+ Network ManagedObjectReference `xml:"network" json:"network"`
}
func init() {
- minAPIVersionForType["NetworkEventArgument"] = "4.0"
t["NetworkEventArgument"] = reflect.TypeOf((*NetworkEventArgument)(nil)).Elem()
+ minAPIVersionForType["NetworkEventArgument"] = "4.0"
}
// This fault is thrown when an operation to configure a NAS volume fails
@@ -55392,8 +55676,8 @@ type NetworkInaccessible struct {
}
func init() {
- minAPIVersionForType["NetworkInaccessible"] = "4.0"
t["NetworkInaccessible"] = reflect.TypeOf((*NetworkInaccessible)(nil)).Elem()
+ minAPIVersionForType["NetworkInaccessible"] = "2.5 U2"
}
type NetworkInaccessibleFault NetworkInaccessible
@@ -55412,8 +55696,8 @@ type NetworkPolicyProfile struct {
}
func init() {
- minAPIVersionForType["NetworkPolicyProfile"] = "4.0"
t["NetworkPolicyProfile"] = reflect.TypeOf((*NetworkPolicyProfile)(nil)).Elem()
+ minAPIVersionForType["NetworkPolicyProfile"] = "4.0"
}
// The `NetworkProfile` data object contains a set of subprofiles for
@@ -55425,49 +55709,49 @@ type NetworkProfile struct {
//
// Use the `VirtualSwitchProfile.key` property to access
// a subprofile in the list.
- Vswitch []VirtualSwitchProfile `xml:"vswitch,omitempty" json:"vswitch,omitempty" vim:"4.0"`
+ Vswitch []VirtualSwitchProfile `xml:"vswitch,omitempty" json:"vswitch,omitempty"`
// List of port groups for use by virtual machines.
//
// Use the `VmPortGroupProfile*.*PortGroupProfile.key`
// property to access a port group in the list.
- VmPortGroup []VmPortGroupProfile `xml:"vmPortGroup,omitempty" json:"vmPortGroup,omitempty" vim:"4.0"`
+ VmPortGroup []VmPortGroupProfile `xml:"vmPortGroup,omitempty" json:"vmPortGroup,omitempty"`
// List of port groups for use by the host.
//
// Use the `HostPortGroupProfile*.*PortGroupProfile.key` property
// to access port groups in the list.
- HostPortGroup []HostPortGroupProfile `xml:"hostPortGroup,omitempty" json:"hostPortGroup,omitempty" vim:"4.0"`
+ HostPortGroup []HostPortGroupProfile `xml:"hostPortGroup,omitempty" json:"hostPortGroup,omitempty"`
// List of port groups for use by the service console.
//
// The Profile Engine uses this field only when applying a profile
// to a host that has a service console.
- ServiceConsolePortGroup []ServiceConsolePortGroupProfile `xml:"serviceConsolePortGroup,omitempty" json:"serviceConsolePortGroup,omitempty" vim:"4.0"`
+ ServiceConsolePortGroup []ServiceConsolePortGroupProfile `xml:"serviceConsolePortGroup,omitempty" json:"serviceConsolePortGroup,omitempty"`
// DNS (Domain Name System) configuration subprofile.
- DnsConfig *NetworkProfileDnsConfigProfile `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty" vim:"4.0"`
+ DnsConfig *NetworkProfileDnsConfigProfile `xml:"dnsConfig,omitempty" json:"dnsConfig,omitempty"`
// Subprofile that describes the IP Route
// configuration for the VMKernel gateway.
- IpRouteConfig *IpRouteProfile `xml:"ipRouteConfig,omitempty" json:"ipRouteConfig,omitempty" vim:"4.0"`
+ IpRouteConfig *IpRouteProfile `xml:"ipRouteConfig,omitempty" json:"ipRouteConfig,omitempty"`
// Subprofile that describes the IP Route configuration
// for the Service Console gateway.
- ConsoleIpRouteConfig *IpRouteProfile `xml:"consoleIpRouteConfig,omitempty" json:"consoleIpRouteConfig,omitempty" vim:"4.0"`
+ ConsoleIpRouteConfig *IpRouteProfile `xml:"consoleIpRouteConfig,omitempty" json:"consoleIpRouteConfig,omitempty"`
// List of subprofiles that represent physical NIC configuration.
//
// Use the `PhysicalNicProfile.key` property to access a
// subprofile in the list.
- Pnic []PhysicalNicProfile `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"4.0"`
+ Pnic []PhysicalNicProfile `xml:"pnic,omitempty" json:"pnic,omitempty"`
// List of subprofiles for distributed virtual switches to which this host is connected.
//
// Use the `DvsProfile.key` property to access a subprofile in the list.
- Dvswitch []DvsProfile `xml:"dvswitch,omitempty" json:"dvswitch,omitempty" vim:"4.0"`
+ Dvswitch []DvsProfile `xml:"dvswitch,omitempty" json:"dvswitch,omitempty"`
// List of subprofiles for service console Virtual NICs connected to a distributed virtual switch.
//
// Use the `DvsServiceConsoleVNicProfile*.*DvsVNicProfile.key` property
// to access a subprofile in the list.
- DvsServiceConsoleNic []DvsServiceConsoleVNicProfile `xml:"dvsServiceConsoleNic,omitempty" json:"dvsServiceConsoleNic,omitempty" vim:"4.0"`
+ DvsServiceConsoleNic []DvsServiceConsoleVNicProfile `xml:"dvsServiceConsoleNic,omitempty" json:"dvsServiceConsoleNic,omitempty"`
// List of subprofiles for host Virtual NICs connected to a distributed virtual switch.
//
// Use the `DvsHostVNicProfile*.*DvsVNicProfile.key` property
// to access a subprofile in the list.
- DvsHostNic []DvsHostVNicProfile `xml:"dvsHostNic,omitempty" json:"dvsHostNic,omitempty" vim:"4.0"`
+ DvsHostNic []DvsHostVNicProfile `xml:"dvsHostNic,omitempty" json:"dvsHostNic,omitempty"`
// List of subprofiles for host Virtual NICs connected to a NSX logic switch.
//
// Use the `NsxHostVNicProfile*.*NsxHostVNicProfile.key` property
@@ -55483,8 +55767,8 @@ type NetworkProfile struct {
}
func init() {
- minAPIVersionForType["NetworkProfile"] = "4.0"
t["NetworkProfile"] = reflect.TypeOf((*NetworkProfile)(nil)).Elem()
+ minAPIVersionForType["NetworkProfile"] = "4.0"
}
// The `NetworkProfileDnsConfigProfile` data object represents DNS configuration
@@ -55498,8 +55782,8 @@ type NetworkProfileDnsConfigProfile struct {
}
func init() {
- minAPIVersionForType["NetworkProfileDnsConfigProfile"] = "4.0"
t["NetworkProfileDnsConfigProfile"] = reflect.TypeOf((*NetworkProfileDnsConfigProfile)(nil)).Elem()
+ minAPIVersionForType["NetworkProfileDnsConfigProfile"] = "4.0"
}
// This event records when networking configuration on the host
@@ -55508,14 +55792,14 @@ type NetworkRollbackEvent struct {
Event
// Method name which caused the disconnect
- MethodName string `xml:"methodName" json:"methodName" vim:"5.1"`
+ MethodName string `xml:"methodName" json:"methodName"`
// Transaction ID for the method call that caused the disconnect
- TransactionId string `xml:"transactionId" json:"transactionId" vim:"5.1"`
+ TransactionId string `xml:"transactionId" json:"transactionId"`
}
func init() {
- minAPIVersionForType["NetworkRollbackEvent"] = "5.1"
t["NetworkRollbackEvent"] = reflect.TypeOf((*NetworkRollbackEvent)(nil)).Elem()
+ minAPIVersionForType["NetworkRollbackEvent"] = "5.1"
}
// General information about a network.
@@ -55557,12 +55841,12 @@ type NetworksMayNotBeTheSame struct {
MigrationFault
// The name of the network.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"2.5"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
}
func init() {
- minAPIVersionForType["NetworksMayNotBeTheSame"] = "2.5"
t["NetworksMayNotBeTheSame"] = reflect.TypeOf((*NetworksMayNotBeTheSame)(nil)).Elem()
+ minAPIVersionForType["NetworksMayNotBeTheSame"] = "2.5"
}
type NetworksMayNotBeTheSameFault NetworksMayNotBeTheSame
@@ -55578,14 +55862,14 @@ type NicSettingMismatch struct {
// The number of network adapter settings specified in the customization
// specification.
- NumberOfNicsInSpec int32 `xml:"numberOfNicsInSpec" json:"numberOfNicsInSpec" vim:"2.5"`
+ NumberOfNicsInSpec int32 `xml:"numberOfNicsInSpec" json:"numberOfNicsInSpec"`
// The number of network adapters present in the virtual machine.
- NumberOfNicsInVM int32 `xml:"numberOfNicsInVM" json:"numberOfNicsInVM" vim:"2.5"`
+ NumberOfNicsInVM int32 `xml:"numberOfNicsInVM" json:"numberOfNicsInVM"`
}
func init() {
- minAPIVersionForType["NicSettingMismatch"] = "2.5"
t["NicSettingMismatch"] = reflect.TypeOf((*NicSettingMismatch)(nil)).Elem()
+ minAPIVersionForType["NicSettingMismatch"] = "2.5"
}
type NicSettingMismatchFault NicSettingMismatch
@@ -55642,12 +55926,12 @@ type NoAvailableIp struct {
// A reference to the network
//
// Refers instance of `Network`.
- Network ManagedObjectReference `xml:"network" json:"network" vim:"4.0"`
+ Network ManagedObjectReference `xml:"network" json:"network"`
}
func init() {
- minAPIVersionForType["NoAvailableIp"] = "4.0"
t["NoAvailableIp"] = reflect.TypeOf((*NoAvailableIp)(nil)).Elem()
+ minAPIVersionForType["NoAvailableIp"] = "4.0"
}
type NoAvailableIpFault NoAvailableIp
@@ -55663,8 +55947,8 @@ type NoClientCertificate struct {
}
func init() {
- minAPIVersionForType["NoClientCertificate"] = "2.5"
t["NoClientCertificate"] = reflect.TypeOf((*NoClientCertificate)(nil)).Elem()
+ minAPIVersionForType["NoClientCertificate"] = "2.5"
}
type NoClientCertificateFault NoClientCertificate
@@ -55682,8 +55966,8 @@ type NoCompatibleDatastore struct {
}
func init() {
- minAPIVersionForType["NoCompatibleDatastore"] = "5.0"
t["NoCompatibleDatastore"] = reflect.TypeOf((*NoCompatibleDatastore)(nil)).Elem()
+ minAPIVersionForType["NoCompatibleDatastore"] = "5.0"
}
type NoCompatibleDatastoreFault NoCompatibleDatastore
@@ -55698,12 +55982,12 @@ type NoCompatibleHardAffinityHost struct {
VmConfigFault
// The vm for which there are no compatible hard-affine hosts in the cluster.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["NoCompatibleHardAffinityHost"] = "4.1"
t["NoCompatibleHardAffinityHost"] = reflect.TypeOf((*NoCompatibleHardAffinityHost)(nil)).Elem()
+ minAPIVersionForType["NoCompatibleHardAffinityHost"] = "4.1"
}
type NoCompatibleHardAffinityHostFault NoCompatibleHardAffinityHost
@@ -55721,15 +56005,15 @@ type NoCompatibleHost struct {
// corresponding fault in the error array.
//
// Refers instances of `HostSystem`.
- Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host []ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// An error in this array indicates why the corresponding host in the
// host array is incompatible.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["NoCompatibleHost"] = "4.0"
t["NoCompatibleHost"] = reflect.TypeOf((*NoCompatibleHost)(nil)).Elem()
+ minAPIVersionForType["NoCompatibleHost"] = "4.0"
}
type NoCompatibleHostFault BaseNoCompatibleHost
@@ -55746,8 +56030,8 @@ type NoCompatibleHostWithAccessToDevice struct {
}
func init() {
- minAPIVersionForType["NoCompatibleHostWithAccessToDevice"] = "4.1"
t["NoCompatibleHostWithAccessToDevice"] = reflect.TypeOf((*NoCompatibleHostWithAccessToDevice)(nil)).Elem()
+ minAPIVersionForType["NoCompatibleHostWithAccessToDevice"] = "4.1"
}
type NoCompatibleHostWithAccessToDeviceFault NoCompatibleHostWithAccessToDevice
@@ -55762,12 +56046,12 @@ type NoCompatibleSoftAffinityHost struct {
VmConfigFault
// The vm for which there are no compatible soft-affine hosts in the cluster.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["NoCompatibleSoftAffinityHost"] = "4.1"
t["NoCompatibleSoftAffinityHost"] = reflect.TypeOf((*NoCompatibleSoftAffinityHost)(nil)).Elem()
+ minAPIVersionForType["NoCompatibleSoftAffinityHost"] = "4.1"
}
type NoCompatibleSoftAffinityHostFault NoCompatibleSoftAffinityHost
@@ -55784,8 +56068,8 @@ type NoConnectedDatastore struct {
}
func init() {
- minAPIVersionForType["NoConnectedDatastore"] = "5.0"
t["NoConnectedDatastore"] = reflect.TypeOf((*NoConnectedDatastore)(nil)).Elem()
+ minAPIVersionForType["NoConnectedDatastore"] = "5.0"
}
type NoConnectedDatastoreFault NoConnectedDatastore
@@ -55800,8 +56084,8 @@ type NoDatastoresConfiguredEvent struct {
}
func init() {
- minAPIVersionForType["NoDatastoresConfiguredEvent"] = "2.5"
t["NoDatastoresConfiguredEvent"] = reflect.TypeOf((*NoDatastoresConfiguredEvent)(nil)).Elem()
+ minAPIVersionForType["NoDatastoresConfiguredEvent"] = "2.5"
}
// This exception is thrown when a virtual machine
@@ -55918,15 +56202,15 @@ type NoHostSuitableForFtSecondary struct {
// machine.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The name of the primary virtual machine corresponding to the secondary
// virtual machine.
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["NoHostSuitableForFtSecondary"] = "4.0"
t["NoHostSuitableForFtSecondary"] = reflect.TypeOf((*NoHostSuitableForFtSecondary)(nil)).Elem()
+ minAPIVersionForType["NoHostSuitableForFtSecondary"] = "4.0"
}
type NoHostSuitableForFtSecondaryFault NoHostSuitableForFtSecondary
@@ -55968,8 +56252,8 @@ type NoLicenseServerConfigured struct {
}
func init() {
- minAPIVersionForType["NoLicenseServerConfigured"] = "4.0"
t["NoLicenseServerConfigured"] = reflect.TypeOf((*NoLicenseServerConfigured)(nil)).Elem()
+ minAPIVersionForType["NoLicenseServerConfigured"] = "4.0"
}
type NoLicenseServerConfiguredFault NoLicenseServerConfigured
@@ -56010,8 +56294,8 @@ type NoPeerHostFound struct {
}
func init() {
- minAPIVersionForType["NoPeerHostFound"] = "2.5"
t["NoPeerHostFound"] = reflect.TypeOf((*NoPeerHostFound)(nil)).Elem()
+ minAPIVersionForType["NoPeerHostFound"] = "2.5"
}
type NoPeerHostFoundFault NoPeerHostFound
@@ -56034,7 +56318,7 @@ type NoPermission struct {
// The privilege identifier required
PrivilegeId string `xml:"privilegeId,omitempty" json:"privilegeId,omitempty"`
// List of entities and missing privileges for each entity
- MissingPrivileges []NoPermissionEntityPrivileges `xml:"missingPrivileges,omitempty" json:"missingPrivileges,omitempty"`
+ MissingPrivileges []NoPermissionEntityPrivileges `xml:"missingPrivileges,omitempty" json:"missingPrivileges,omitempty" vim:"7.0.3.2"`
}
func init() {
@@ -56051,6 +56335,7 @@ type NoPermissionEntityPrivileges struct {
func init() {
t["NoPermissionEntityPrivileges"] = reflect.TypeOf((*NoPermissionEntityPrivileges)(nil)).Elem()
+ minAPIVersionForType["NoPermissionEntityPrivileges"] = "7.0.3.2"
}
type NoPermissionFault BaseNoPermission
@@ -56067,8 +56352,8 @@ type NoPermissionOnAD struct {
}
func init() {
- minAPIVersionForType["NoPermissionOnAD"] = "4.1"
t["NoPermissionOnAD"] = reflect.TypeOf((*NoPermissionOnAD)(nil)).Elem()
+ minAPIVersionForType["NoPermissionOnAD"] = "4.1"
}
type NoPermissionOnADFault NoPermissionOnAD
@@ -56106,8 +56391,8 @@ type NoPermissionOnNasVolume struct {
}
func init() {
- minAPIVersionForType["NoPermissionOnNasVolume"] = "4.0"
t["NoPermissionOnNasVolume"] = reflect.TypeOf((*NoPermissionOnNasVolume)(nil)).Elem()
+ minAPIVersionForType["NoPermissionOnNasVolume"] = "2.5 U2"
}
type NoPermissionOnNasVolumeFault NoPermissionOnNasVolume
@@ -56123,8 +56408,8 @@ type NoSubjectName struct {
}
func init() {
- minAPIVersionForType["NoSubjectName"] = "2.5"
t["NoSubjectName"] = reflect.TypeOf((*NoSubjectName)(nil)).Elem()
+ minAPIVersionForType["NoSubjectName"] = "2.5"
}
type NoSubjectNameFault NoSubjectName
@@ -56140,8 +56425,8 @@ type NoVcManagedIpConfigured struct {
}
func init() {
- minAPIVersionForType["NoVcManagedIpConfigured"] = "4.0"
t["NoVcManagedIpConfigured"] = reflect.TypeOf((*NoVcManagedIpConfigured)(nil)).Elem()
+ minAPIVersionForType["NoVcManagedIpConfigured"] = "4.0"
}
type NoVcManagedIpConfiguredFault NoVcManagedIpConfigured
@@ -56173,8 +56458,8 @@ type NoVmInVApp struct {
}
func init() {
- minAPIVersionForType["NoVmInVApp"] = "4.0"
t["NoVmInVApp"] = reflect.TypeOf((*NoVmInVApp)(nil)).Elem()
+ minAPIVersionForType["NoVmInVApp"] = "4.0"
}
type NoVmInVAppFault NoVmInVApp
@@ -56196,7 +56481,7 @@ type NodeDeploymentSpec struct {
// See also `VirtualMachineRelocateSpec.host`.
//
// Refers instance of `HostSystem`.
- EsxHost *ManagedObjectReference `xml:"esxHost,omitempty" json:"esxHost,omitempty" vim:"6.5"`
+ EsxHost *ManagedObjectReference `xml:"esxHost,omitempty" json:"esxHost,omitempty"`
// Datastore used for deploying the VM.
//
// For behavior when a datastore is not specified,
@@ -56204,7 +56489,7 @@ type NodeDeploymentSpec struct {
// See also `VirtualMachineRelocateSpec.datastore`.
//
// Refers instance of `Datastore`.
- Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty" vim:"6.5"`
+ Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty"`
// Name of the portgroup that is associated with the public IP address
// where clients connect to vCenter Server.
//
@@ -56213,7 +56498,7 @@ type NodeDeploymentSpec struct {
// with an assumption that portgroup is present on destination.
//
// Refers instance of `Network`.
- PublicNetworkPortGroup *ManagedObjectReference `xml:"publicNetworkPortGroup,omitempty" json:"publicNetworkPortGroup,omitempty" vim:"6.5"`
+ PublicNetworkPortGroup *ManagedObjectReference `xml:"publicNetworkPortGroup,omitempty" json:"publicNetworkPortGroup,omitempty"`
// Name of the portgroup that is associated with the VCHA Cluster IP
// address where clients connect to vCenter Server.
//
@@ -56222,36 +56507,36 @@ type NodeDeploymentSpec struct {
// with an assumption that portgroup is present on destination.
//
// Refers instance of `Network`.
- ClusterNetworkPortGroup *ManagedObjectReference `xml:"clusterNetworkPortGroup,omitempty" json:"clusterNetworkPortGroup,omitempty" vim:"6.5"`
+ ClusterNetworkPortGroup *ManagedObjectReference `xml:"clusterNetworkPortGroup,omitempty" json:"clusterNetworkPortGroup,omitempty"`
// Folder in which the VM is to be created.
//
// Refers instance of `Folder`.
- Folder ManagedObjectReference `xml:"folder" json:"folder" vim:"6.5"`
+ Folder ManagedObjectReference `xml:"folder" json:"folder"`
// ResourcePool that will be used to deploy this node.
//
// If the ResourcePool is not specified, the root resource pool for the
// host will be used.
//
// Refers instance of `ResourcePool`.
- ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty" vim:"6.5"`
+ ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
// Management vCenter Server managing this VM.
//
// If the managementVc is not specified, managementVc specified as
// part of SourceNodeSpec is used.
- ManagementVc *ServiceLocator `xml:"managementVc,omitempty" json:"managementVc,omitempty" vim:"6.5"`
+ ManagementVc *ServiceLocator `xml:"managementVc,omitempty" json:"managementVc,omitempty"`
// nodeName here refers to a name that will be assigned to the VM to which
// this node will be deployed to.
- NodeName string `xml:"nodeName" json:"nodeName" vim:"6.5"`
+ NodeName string `xml:"nodeName" json:"nodeName"`
// VCHA Cluster network configuration of the node.
//
// All cluster communication (state replication, heartbeat,
// cluster messages) happens over this network.
- IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings" vim:"6.5"`
+ IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings"`
}
func init() {
- minAPIVersionForType["NodeDeploymentSpec"] = "6.5"
t["NodeDeploymentSpec"] = reflect.TypeOf((*NodeDeploymentSpec)(nil)).Elem()
+ minAPIVersionForType["NodeDeploymentSpec"] = "6.5"
}
// The NodeNetworkSpec class defines network specification of a node
@@ -56263,12 +56548,12 @@ type NodeNetworkSpec struct {
//
// All cluster communication (state replication, heartbeat,
// cluster messages) happens over this network.
- IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings" vim:"6.5"`
+ IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings"`
}
func init() {
- minAPIVersionForType["NodeNetworkSpec"] = "6.5"
t["NodeNetworkSpec"] = reflect.TypeOf((*NodeNetworkSpec)(nil)).Elem()
+ minAPIVersionForType["NodeNetworkSpec"] = "6.5"
}
// Fault indicating that an operation must be executed by a
@@ -56278,8 +56563,8 @@ type NonADUserRequired struct {
}
func init() {
- minAPIVersionForType["NonADUserRequired"] = "4.1"
t["NonADUserRequired"] = reflect.TypeOf((*NonADUserRequired)(nil)).Elem()
+ minAPIVersionForType["NonADUserRequired"] = "4.1"
}
type NonADUserRequiredFault NonADUserRequired
@@ -56297,12 +56582,12 @@ type NonHomeRDMVMotionNotSupported struct {
// The label of an RDM device for which an unsupported move was requested.
//
// This is not guaranteed to be the only such device.
- Device string `xml:"device" json:"device" vim:"2.5"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["NonHomeRDMVMotionNotSupported"] = "2.5"
t["NonHomeRDMVMotionNotSupported"] = reflect.TypeOf((*NonHomeRDMVMotionNotSupported)(nil)).Elem()
+ minAPIVersionForType["NonHomeRDMVMotionNotSupported"] = "2.5"
}
type NonHomeRDMVMotionNotSupportedFault NonHomeRDMVMotionNotSupported
@@ -56320,8 +56605,8 @@ type NonPersistentDisksNotSupported struct {
}
func init() {
- minAPIVersionForType["NonPersistentDisksNotSupported"] = "2.5"
t["NonPersistentDisksNotSupported"] = reflect.TypeOf((*NonPersistentDisksNotSupported)(nil)).Elem()
+ minAPIVersionForType["NonPersistentDisksNotSupported"] = "2.5"
}
type NonPersistentDisksNotSupportedFault NonPersistentDisksNotSupported
@@ -56336,8 +56621,8 @@ type NonVIWorkloadDetectedOnDatastoreEvent struct {
}
func init() {
- minAPIVersionForType["NonVIWorkloadDetectedOnDatastoreEvent"] = "4.1"
t["NonVIWorkloadDetectedOnDatastoreEvent"] = reflect.TypeOf((*NonVIWorkloadDetectedOnDatastoreEvent)(nil)).Elem()
+ minAPIVersionForType["NonVIWorkloadDetectedOnDatastoreEvent"] = "4.1"
}
// The host does not support VM that has VPX assigned prefix or ranged based
@@ -56348,12 +56633,12 @@ type NonVmwareOuiMacNotSupportedHost struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"5.1"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["NonVmwareOuiMacNotSupportedHost"] = "5.1"
t["NonVmwareOuiMacNotSupportedHost"] = reflect.TypeOf((*NonVmwareOuiMacNotSupportedHost)(nil)).Elem()
+ minAPIVersionForType["NonVmwareOuiMacNotSupportedHost"] = "5.1"
}
type NonVmwareOuiMacNotSupportedHostFault NonVmwareOuiMacNotSupportedHost
@@ -56369,8 +56654,8 @@ type NotADirectory struct {
}
func init() {
- minAPIVersionForType["NotADirectory"] = "5.0"
t["NotADirectory"] = reflect.TypeOf((*NotADirectory)(nil)).Elem()
+ minAPIVersionForType["NotADirectory"] = "5.0"
}
type NotADirectoryFault NotADirectory
@@ -56386,8 +56671,8 @@ type NotAFile struct {
}
func init() {
- minAPIVersionForType["NotAFile"] = "5.0"
t["NotAFile"] = reflect.TypeOf((*NotAFile)(nil)).Elem()
+ minAPIVersionForType["NotAFile"] = "5.0"
}
type NotAFileFault NotAFile
@@ -56403,8 +56688,8 @@ type NotAuthenticated struct {
}
func init() {
- minAPIVersionForType["NotAuthenticated"] = "2.5"
t["NotAuthenticated"] = reflect.TypeOf((*NotAuthenticated)(nil)).Elem()
+ minAPIVersionForType["NotAuthenticated"] = "2.5"
}
type NotAuthenticatedFault NotAuthenticated
@@ -56553,24 +56838,24 @@ type NotSupportedDeviceForFT struct {
// The host
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.1"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The host name
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"4.1"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The virtual machine
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.1"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The virtual machine name
- VmName string `xml:"vmName,omitempty" json:"vmName,omitempty" vim:"4.1"`
+ VmName string `xml:"vmName,omitempty" json:"vmName,omitempty"`
// The device type
- DeviceType string `xml:"deviceType" json:"deviceType" vim:"4.1"`
+ DeviceType string `xml:"deviceType" json:"deviceType"`
// The device label
- DeviceLabel string `xml:"deviceLabel,omitempty" json:"deviceLabel,omitempty" vim:"4.1"`
+ DeviceLabel string `xml:"deviceLabel,omitempty" json:"deviceLabel,omitempty"`
}
func init() {
- minAPIVersionForType["NotSupportedDeviceForFT"] = "4.1"
t["NotSupportedDeviceForFT"] = reflect.TypeOf((*NotSupportedDeviceForFT)(nil)).Elem()
+ minAPIVersionForType["NotSupportedDeviceForFT"] = "4.1"
}
type NotSupportedDeviceForFTFault NotSupportedDeviceForFT
@@ -56613,8 +56898,8 @@ type NotSupportedHostForChecksum struct {
}
func init() {
- minAPIVersionForType["NotSupportedHostForChecksum"] = "6.0"
t["NotSupportedHostForChecksum"] = reflect.TypeOf((*NotSupportedHostForChecksum)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostForChecksum"] = "6.0"
}
type NotSupportedHostForChecksumFault NotSupportedHostForChecksum
@@ -56628,12 +56913,12 @@ type NotSupportedHostForVFlash struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"5.5"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["NotSupportedHostForVFlash"] = "5.5"
t["NotSupportedHostForVFlash"] = reflect.TypeOf((*NotSupportedHostForVFlash)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostForVFlash"] = "5.5"
}
type NotSupportedHostForVFlashFault NotSupportedHostForVFlash
@@ -56647,12 +56932,12 @@ type NotSupportedHostForVmcp struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"6.0"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["NotSupportedHostForVmcp"] = "6.0"
t["NotSupportedHostForVmcp"] = reflect.TypeOf((*NotSupportedHostForVmcp)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostForVmcp"] = "6.0"
}
type NotSupportedHostForVmcpFault NotSupportedHostForVmcp
@@ -56666,12 +56951,12 @@ type NotSupportedHostForVmemFile struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"6.0"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["NotSupportedHostForVmemFile"] = "6.0"
t["NotSupportedHostForVmemFile"] = reflect.TypeOf((*NotSupportedHostForVmemFile)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostForVmemFile"] = "6.0"
}
type NotSupportedHostForVmemFileFault NotSupportedHostForVmemFile
@@ -56685,12 +56970,12 @@ type NotSupportedHostForVsan struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"5.5"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["NotSupportedHostForVsan"] = "5.5"
t["NotSupportedHostForVsan"] = reflect.TypeOf((*NotSupportedHostForVsan)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostForVsan"] = "5.5"
}
type NotSupportedHostForVsanFault NotSupportedHostForVsan
@@ -56706,8 +56991,8 @@ type NotSupportedHostInCluster struct {
}
func init() {
- minAPIVersionForType["NotSupportedHostInCluster"] = "4.0"
t["NotSupportedHostInCluster"] = reflect.TypeOf((*NotSupportedHostInCluster)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostInCluster"] = "4.0"
}
type NotSupportedHostInClusterFault BaseNotSupportedHostInCluster
@@ -56726,12 +57011,12 @@ type NotSupportedHostInDvs struct {
// This determines which host versions may
// participate in the DVS; that information may be queried by using
// `DistributedVirtualSwitchManager.QueryDvsCompatibleHostSpec`.
- SwitchProductSpec DistributedVirtualSwitchProductSpec `xml:"switchProductSpec" json:"switchProductSpec" vim:"4.1"`
+ SwitchProductSpec DistributedVirtualSwitchProductSpec `xml:"switchProductSpec" json:"switchProductSpec"`
}
func init() {
- minAPIVersionForType["NotSupportedHostInDvs"] = "4.1"
t["NotSupportedHostInDvs"] = reflect.TypeOf((*NotSupportedHostInDvs)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostInDvs"] = "4.1"
}
type NotSupportedHostInDvsFault NotSupportedHostInDvs
@@ -56746,14 +57031,14 @@ type NotSupportedHostInHACluster struct {
NotSupportedHost
// The name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"5.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// The product build number of the host.
- Build string `xml:"build" json:"build" vim:"5.0"`
+ Build string `xml:"build" json:"build"`
}
func init() {
- minAPIVersionForType["NotSupportedHostInHACluster"] = "5.0"
t["NotSupportedHostInHACluster"] = reflect.TypeOf((*NotSupportedHostInHACluster)(nil)).Elem()
+ minAPIVersionForType["NotSupportedHostInHACluster"] = "5.0"
}
type NotSupportedHostInHAClusterFault NotSupportedHostInHACluster
@@ -56769,8 +57054,8 @@ type NotUserConfigurableProperty struct {
}
func init() {
- minAPIVersionForType["NotUserConfigurableProperty"] = "4.0"
t["NotUserConfigurableProperty"] = reflect.TypeOf((*NotUserConfigurableProperty)(nil)).Elem()
+ minAPIVersionForType["NotUserConfigurableProperty"] = "4.0"
}
type NotUserConfigurablePropertyFault NotUserConfigurableProperty
@@ -56789,14 +57074,14 @@ type NsxHostVNicProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"6.7"`
+ Key string `xml:"key" json:"key"`
// IP address for the Virtual NIC belonging to a logic switch.
- IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig" vim:"6.7"`
+ IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig"`
}
func init() {
- minAPIVersionForType["NsxHostVNicProfile"] = "6.7"
t["NsxHostVNicProfile"] = reflect.TypeOf((*NsxHostVNicProfile)(nil)).Elem()
+ minAPIVersionForType["NsxHostVNicProfile"] = "6.7"
}
// The NumPortsProfile data object represents a
@@ -56807,8 +57092,8 @@ type NumPortsProfile struct {
}
func init() {
- minAPIVersionForType["NumPortsProfile"] = "4.0"
t["NumPortsProfile"] = reflect.TypeOf((*NumPortsProfile)(nil)).Elem()
+ minAPIVersionForType["NumPortsProfile"] = "4.0"
}
// The host's software does not support enough cores per socket to
@@ -56819,14 +57104,14 @@ type NumVirtualCoresPerSocketNotSupported struct {
VirtualHardwareCompatibilityIssue
// The maximum number of cores per socket supported on the host.
- MaxSupportedCoresPerSocketDest int32 `xml:"maxSupportedCoresPerSocketDest" json:"maxSupportedCoresPerSocketDest" vim:"5.0"`
+ MaxSupportedCoresPerSocketDest int32 `xml:"maxSupportedCoresPerSocketDest" json:"maxSupportedCoresPerSocketDest"`
// The number of cores per socket in the virtual machine.
- NumCoresPerSocketVm int32 `xml:"numCoresPerSocketVm" json:"numCoresPerSocketVm" vim:"5.0"`
+ NumCoresPerSocketVm int32 `xml:"numCoresPerSocketVm" json:"numCoresPerSocketVm"`
}
func init() {
- minAPIVersionForType["NumVirtualCoresPerSocketNotSupported"] = "5.0"
t["NumVirtualCoresPerSocketNotSupported"] = reflect.TypeOf((*NumVirtualCoresPerSocketNotSupported)(nil)).Elem()
+ minAPIVersionForType["NumVirtualCoresPerSocketNotSupported"] = "5.0"
}
type NumVirtualCoresPerSocketNotSupportedFault NumVirtualCoresPerSocketNotSupported
@@ -56841,12 +57126,12 @@ type NumVirtualCpusExceedsLimit struct {
InsufficientResourcesFault
// The maximum number of virtual CPUs supported on the host.
- MaxSupportedVcpus int32 `xml:"maxSupportedVcpus" json:"maxSupportedVcpus" vim:"4.1"`
+ MaxSupportedVcpus int32 `xml:"maxSupportedVcpus" json:"maxSupportedVcpus"`
}
func init() {
- minAPIVersionForType["NumVirtualCpusExceedsLimit"] = "4.1"
t["NumVirtualCpusExceedsLimit"] = reflect.TypeOf((*NumVirtualCpusExceedsLimit)(nil)).Elem()
+ minAPIVersionForType["NumVirtualCpusExceedsLimit"] = "4.1"
}
type NumVirtualCpusExceedsLimitFault NumVirtualCpusExceedsLimit
@@ -56863,14 +57148,14 @@ type NumVirtualCpusIncompatible struct {
// The reason for the incompatibility.
//
// See `NumVirtualCpusIncompatibleReason_enum` for valid values.
- Reason string `xml:"reason" json:"reason" vim:"4.0"`
+ Reason string `xml:"reason" json:"reason"`
// The number of virtual CPUs in the virtual machine.
- NumCpu int32 `xml:"numCpu" json:"numCpu" vim:"4.0"`
+ NumCpu int32 `xml:"numCpu" json:"numCpu"`
}
func init() {
- minAPIVersionForType["NumVirtualCpusIncompatible"] = "4.0"
t["NumVirtualCpusIncompatible"] = reflect.TypeOf((*NumVirtualCpusIncompatible)(nil)).Elem()
+ minAPIVersionForType["NumVirtualCpusIncompatible"] = "4.0"
}
type NumVirtualCpusIncompatibleFault NumVirtualCpusIncompatible
@@ -56907,14 +57192,14 @@ type NumericRange struct {
DynamicData
// The starting number.
- Start int32 `xml:"start" json:"start" vim:"4.0"`
+ Start int32 `xml:"start" json:"start"`
// The ending number (inclusive).
- End int32 `xml:"end" json:"end" vim:"4.0"`
+ End int32 `xml:"end" json:"end"`
}
func init() {
- minAPIVersionForType["NumericRange"] = "4.0"
t["NumericRange"] = reflect.TypeOf((*NumericRange)(nil)).Elem()
+ minAPIVersionForType["NumericRange"] = "4.0"
}
// Get detailed information of a nvdimm
@@ -56922,36 +57207,36 @@ type NvdimmDimmInfo struct {
DynamicData
// Unique device identifier
- DimmHandle int32 `xml:"dimmHandle" json:"dimmHandle" vim:"6.7"`
+ DimmHandle int32 `xml:"dimmHandle" json:"dimmHandle"`
// Health status of nvdimm.
//
// `NvdimmHealthInfo`
- HealthInfo NvdimmHealthInfo `xml:"healthInfo" json:"healthInfo" vim:"6.7"`
+ HealthInfo NvdimmHealthInfo `xml:"healthInfo" json:"healthInfo"`
// Total capacity of NVDIMM in bytes
- TotalCapacity int64 `xml:"totalCapacity" json:"totalCapacity" vim:"6.7"`
+ TotalCapacity int64 `xml:"totalCapacity" json:"totalCapacity"`
// Total persistent capacity in DIMM (in bytes)
- PersistentCapacity int64 `xml:"persistentCapacity" json:"persistentCapacity" vim:"6.7"`
+ PersistentCapacity int64 `xml:"persistentCapacity" json:"persistentCapacity"`
// Persistent Capacity in DIMM currently not allocated
- AvailablePersistentCapacity int64 `xml:"availablePersistentCapacity" json:"availablePersistentCapacity" vim:"6.7"`
+ AvailablePersistentCapacity int64 `xml:"availablePersistentCapacity" json:"availablePersistentCapacity"`
// Total volatile capacity in DIMM (in bytes)
- VolatileCapacity int64 `xml:"volatileCapacity" json:"volatileCapacity" vim:"6.7"`
+ VolatileCapacity int64 `xml:"volatileCapacity" json:"volatileCapacity"`
// Volatile capacity in DIMM currently not allocated
- AvailableVolatileCapacity int64 `xml:"availableVolatileCapacity" json:"availableVolatileCapacity" vim:"6.7"`
+ AvailableVolatileCapacity int64 `xml:"availableVolatileCapacity" json:"availableVolatileCapacity"`
// Total block capacity in DIMM (in bytes)
- BlockCapacity int64 `xml:"blockCapacity" json:"blockCapacity" vim:"6.7"`
+ BlockCapacity int64 `xml:"blockCapacity" json:"blockCapacity"`
// NVDIMM region information.
//
// List of regions in the NVDIMM. These regions may or maynot
// be a part of an interleave set.
- RegionInfo []NvdimmRegionInfo `xml:"regionInfo,omitempty" json:"regionInfo,omitempty" vim:"6.7"`
+ RegionInfo []NvdimmRegionInfo `xml:"regionInfo,omitempty" json:"regionInfo,omitempty"`
// NVDIMM Representation string which is a sequence of
// numbers to uniquely identify the DIMM.
- RepresentationString string `xml:"representationString" json:"representationString" vim:"6.7"`
+ RepresentationString string `xml:"representationString" json:"representationString"`
}
func init() {
- minAPIVersionForType["NvdimmDimmInfo"] = "6.7"
t["NvdimmDimmInfo"] = reflect.TypeOf((*NvdimmDimmInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmDimmInfo"] = "6.7"
}
// A unique identifier used for namespaces
@@ -56959,12 +57244,12 @@ type NvdimmGuid struct {
DynamicData
// Universally unique identifier in string format
- Uuid string `xml:"uuid" json:"uuid" vim:"6.7"`
+ Uuid string `xml:"uuid" json:"uuid"`
}
func init() {
- minAPIVersionForType["NvdimmGuid"] = "6.7"
t["NvdimmGuid"] = reflect.TypeOf((*NvdimmGuid)(nil)).Elem()
+ minAPIVersionForType["NvdimmGuid"] = "6.7"
}
// \\brief NVDIMM health information
@@ -56972,55 +57257,55 @@ type NvdimmHealthInfo struct {
DynamicData
// Device health status.
- HealthStatus string `xml:"healthStatus" json:"healthStatus" vim:"6.7"`
+ HealthStatus string `xml:"healthStatus" json:"healthStatus"`
// Health status description.
- HealthInformation string `xml:"healthInformation" json:"healthInformation" vim:"6.7"`
+ HealthInformation string `xml:"healthInformation" json:"healthInformation"`
// State flag information.
//
// This information is the cumulation of state flags of all the
// NVDIMM region state flags. It must be one or more of
// `NvdimmNvdimmHealthInfoState_enum`
- StateFlagInfo []string `xml:"stateFlagInfo,omitempty" json:"stateFlagInfo,omitempty" vim:"6.7"`
+ StateFlagInfo []string `xml:"stateFlagInfo,omitempty" json:"stateFlagInfo,omitempty"`
// Current Nvdimm temperature in degree Celsius.
- DimmTemperature int32 `xml:"dimmTemperature" json:"dimmTemperature" vim:"6.7"`
+ DimmTemperature int32 `xml:"dimmTemperature" json:"dimmTemperature"`
// Nvdimm temperature threshold.
//
// Default value is 0, indicating threshold has not reached,
// if set to 1, reached threshold limit.
- DimmTemperatureThreshold int32 `xml:"dimmTemperatureThreshold" json:"dimmTemperatureThreshold" vim:"6.7"`
+ DimmTemperatureThreshold int32 `xml:"dimmTemperatureThreshold" json:"dimmTemperatureThreshold"`
// Percentage of spare capavity as a percentage of
// factory configured space (valid range 0 to 100)
- SpareBlocksPercentage int32 `xml:"spareBlocksPercentage" json:"spareBlocksPercentage" vim:"6.7"`
+ SpareBlocksPercentage int32 `xml:"spareBlocksPercentage" json:"spareBlocksPercentage"`
// Spare block threshold.
//
// Default value is 0, indicating threshold has not reached,
// if set to 1, reached threshold limit.
- SpareBlockThreshold int32 `xml:"spareBlockThreshold" json:"spareBlockThreshold" vim:"6.7"`
+ SpareBlockThreshold int32 `xml:"spareBlockThreshold" json:"spareBlockThreshold"`
// Lifespan of Nvdimm as percentage.
//
// 100% = Warranted life span has reached.
- DimmLifespanPercentage int32 `xml:"dimmLifespanPercentage" json:"dimmLifespanPercentage" vim:"6.7"`
+ DimmLifespanPercentage int32 `xml:"dimmLifespanPercentage" json:"dimmLifespanPercentage"`
// Energy source current temperature in degree Celsius.
//
// Default value is 0, indicating there is no
// energy source for these nvdimms.
- EsTemperature int32 `xml:"esTemperature,omitempty" json:"esTemperature,omitempty" vim:"6.7"`
+ EsTemperature int32 `xml:"esTemperature,omitempty" json:"esTemperature,omitempty"`
// Energy source temperature threshold.
//
// Default value is 0, indicating threshold has not reached,
// if set to 1, reached threshold limit.
- EsTemperatureThreshold int32 `xml:"esTemperatureThreshold,omitempty" json:"esTemperatureThreshold,omitempty" vim:"6.7"`
+ EsTemperatureThreshold int32 `xml:"esTemperatureThreshold,omitempty" json:"esTemperatureThreshold,omitempty"`
// Lifespan of Energy source as percentage.
//
// 100% = Warranted life span has reached.
// Default value is 0, indicating there is no energy
// source.
- EsLifespanPercentage int32 `xml:"esLifespanPercentage,omitempty" json:"esLifespanPercentage,omitempty" vim:"6.7"`
+ EsLifespanPercentage int32 `xml:"esLifespanPercentage,omitempty" json:"esLifespanPercentage,omitempty"`
}
func init() {
- minAPIVersionForType["NvdimmHealthInfo"] = "6.7"
t["NvdimmHealthInfo"] = reflect.TypeOf((*NvdimmHealthInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmHealthInfo"] = "6.7"
}
// Characteristics of an interleave set of a NVDIMM
@@ -57028,30 +57313,30 @@ type NvdimmInterleaveSetInfo struct {
DynamicData
// Unique set ID
- SetId int32 `xml:"setId" json:"setId" vim:"6.7"`
+ SetId int32 `xml:"setId" json:"setId"`
// Volatile or persistent interleave set.
//
// Must be one of the values of
// `NvdimmRangeType_enum`
- RangeType string `xml:"rangeType" json:"rangeType" vim:"6.7"`
+ RangeType string `xml:"rangeType" json:"rangeType"`
// Start address of range
- BaseAddress int64 `xml:"baseAddress" json:"baseAddress" vim:"6.7"`
+ BaseAddress int64 `xml:"baseAddress" json:"baseAddress"`
// Length of range in bytes
- Size int64 `xml:"size" json:"size" vim:"6.7"`
+ Size int64 `xml:"size" json:"size"`
// Capacity currently not allocated to namespace in bytes
- AvailableSize int64 `xml:"availableSize" json:"availableSize" vim:"6.7"`
+ AvailableSize int64 `xml:"availableSize" json:"availableSize"`
// List of nvdimms contributing to this interleave set
- DeviceList []int32 `xml:"deviceList,omitempty" json:"deviceList,omitempty" vim:"6.7"`
+ DeviceList []int32 `xml:"deviceList,omitempty" json:"deviceList,omitempty"`
// State of interleave set.
//
// Must be one of the values in
// `NvdimmInterleaveSetState_enum`
- State string `xml:"state" json:"state" vim:"6.7"`
+ State string `xml:"state" json:"state"`
}
func init() {
- minAPIVersionForType["NvdimmInterleaveSetInfo"] = "6.7"
t["NvdimmInterleaveSetInfo"] = reflect.TypeOf((*NvdimmInterleaveSetInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmInterleaveSetInfo"] = "6.7"
}
// Deprecated as of vSphere 6.7u1, use PMemNamespaceCreateReq.
@@ -57065,36 +57350,36 @@ type NvdimmNamespaceCreateSpec struct {
// A friendly name can be provided by user to assosiate a name to
// the created namespace, but such a name is not mandatory and is
// empty string by default.
- FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty" vim:"6.7"`
+ FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty"`
// Size of block in the namespace.
//
// For persistent region type, block size is one.
// For block region, block size represents one of the logical block sizes
// of 512, 4096 etc.
- BlockSize int64 `xml:"blockSize" json:"blockSize" vim:"6.7"`
+ BlockSize int64 `xml:"blockSize" json:"blockSize"`
// Number of blocks in the namespace.
//
// For persistent region type, blockCount is the size of persistent
// region in bytes.
// For block region type, block count represent number of bytes per
// block size.
- BlockCount int64 `xml:"blockCount" json:"blockCount" vim:"6.7"`
+ BlockCount int64 `xml:"blockCount" json:"blockCount"`
// Type of the namespace to be created - block or persistent.
//
// Must be one of the values in
// `NvdimmNamespaceType_enum`
- Type string `xml:"type" json:"type" vim:"6.7"`
+ Type string `xml:"type" json:"type"`
// This identifier is the interleave set ID if the namespace
// is being used in persistent mode.
//
// If in block mode, this
// is a device handle.
- LocationID int32 `xml:"locationID" json:"locationID" vim:"6.7"`
+ LocationID int32 `xml:"locationID" json:"locationID"`
}
func init() {
- minAPIVersionForType["NvdimmNamespaceCreateSpec"] = "6.7"
t["NvdimmNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmNamespaceCreateSpec)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceCreateSpec"] = "6.7"
}
// Arguments for deleting a namespace
@@ -57102,12 +57387,12 @@ type NvdimmNamespaceDeleteSpec struct {
DynamicData
// Universally unique identifier of the namespace to be deleted
- Uuid string `xml:"uuid" json:"uuid" vim:"6.7"`
+ Uuid string `xml:"uuid" json:"uuid"`
}
func init() {
- minAPIVersionForType["NvdimmNamespaceDeleteSpec"] = "6.7"
t["NvdimmNamespaceDeleteSpec"] = reflect.TypeOf((*NvdimmNamespaceDeleteSpec)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceDeleteSpec"] = "6.7"
}
// Detailed information about a particular namespace.
@@ -57116,33 +57401,33 @@ type NvdimmNamespaceDetails struct {
// Universally unique identifier assigned to namespace
// in string format
- Uuid string `xml:"uuid" json:"uuid" vim:"6.7.1"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Human readable name of namespace
- FriendlyName string `xml:"friendlyName" json:"friendlyName" vim:"6.7.1"`
+ FriendlyName string `xml:"friendlyName" json:"friendlyName"`
// Size of namespace in bytes.
- Size int64 `xml:"size" json:"size" vim:"6.7.1"`
+ Size int64 `xml:"size" json:"size"`
// Type of the namespace to be created - block or persistent.
//
// Must be one of the values in
// `NvdimmNamespaceType_enum`
- Type string `xml:"type" json:"type" vim:"6.7.1"`
+ Type string `xml:"type" json:"type"`
// Health status of DIMM(s) part of the namespace.
//
// Must be one of the values of
// `NvdimmNamespaceDetailsHealthStatus_enum`
- NamespaceHealthStatus string `xml:"namespaceHealthStatus" json:"namespaceHealthStatus" vim:"6.7.1"`
+ NamespaceHealthStatus string `xml:"namespaceHealthStatus" json:"namespaceHealthStatus"`
// The interleave set ID of the namespace.
- InterleavesetID int32 `xml:"interleavesetID" json:"interleavesetID" vim:"6.7.1"`
+ InterleavesetID int32 `xml:"interleavesetID" json:"interleavesetID"`
// State of namespace.
//
// Must be one of
// `NvdimmNamespaceDetailsState_enum`
- State string `xml:"state" json:"state" vim:"6.7.1"`
+ State string `xml:"state" json:"state"`
}
func init() {
- minAPIVersionForType["NvdimmNamespaceDetails"] = "6.7.1"
t["NvdimmNamespaceDetails"] = reflect.TypeOf((*NvdimmNamespaceDetails)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceDetails"] = "6.7.1"
}
// Deprecated as of vSphere 6.7u1, use NamespaceDetails.
@@ -57153,48 +57438,48 @@ type NvdimmNamespaceInfo struct {
// Universally unique identifier assigned to namespace
// in string format
- Uuid string `xml:"uuid" json:"uuid" vim:"6.7"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Friendly name of namespace
- FriendlyName string `xml:"friendlyName" json:"friendlyName" vim:"6.7"`
+ FriendlyName string `xml:"friendlyName" json:"friendlyName"`
// Size of logical block size.
//
// For persistent region type, block size is one.
// For block region, block size represents one of the logical block sizes
// of 512, 4096 etc.
- BlockSize int64 `xml:"blockSize" json:"blockSize" vim:"6.7"`
+ BlockSize int64 `xml:"blockSize" json:"blockSize"`
// Number of blocks in the namespace.
//
// For persistent region type, blockCount is the size of persistent
// region in bytes.
// For block region type, block count represent number of bytes per
// block size.
- BlockCount int64 `xml:"blockCount" json:"blockCount" vim:"6.7"`
+ BlockCount int64 `xml:"blockCount" json:"blockCount"`
// Type of the namespace to be created - block or persistent.
//
// Must be one of the values in
// `NvdimmNamespaceType_enum`
- Type string `xml:"type" json:"type" vim:"6.7"`
+ Type string `xml:"type" json:"type"`
// Health status of DIMM(s) part of the namespace.
//
// Must be one of the values of
// `NvdimmNamespaceHealthStatus_enum`
- NamespaceHealthStatus string `xml:"namespaceHealthStatus" json:"namespaceHealthStatus" vim:"6.7"`
+ NamespaceHealthStatus string `xml:"namespaceHealthStatus" json:"namespaceHealthStatus"`
// This identifier is the interleave set ID if this namespace
// is being used in persistent mode.
//
// If in block mode, this
// is a nvdimm device handle.
- LocationID int32 `xml:"locationID" json:"locationID" vim:"6.7"`
+ LocationID int32 `xml:"locationID" json:"locationID"`
// State of namespace.
//
// Must be one of
// `NvdimmNamespaceState_enum`
- State string `xml:"state" json:"state" vim:"6.7"`
+ State string `xml:"state" json:"state"`
}
func init() {
- minAPIVersionForType["NvdimmNamespaceInfo"] = "6.7"
t["NvdimmNamespaceInfo"] = reflect.TypeOf((*NvdimmNamespaceInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmNamespaceInfo"] = "6.7"
}
// Arguments for creating a persistent memory mode namespace
@@ -57206,16 +57491,16 @@ type NvdimmPMemNamespaceCreateSpec struct {
// A friendly name can be provided by user to associate a name to
// the created namespace, but such a name is not mandatory and is
// empty string by default.
- FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty" vim:"6.7.1"`
+ FriendlyName string `xml:"friendlyName,omitempty" json:"friendlyName,omitempty"`
// Size of the namespace in bytes.
- Size int64 `xml:"size" json:"size" vim:"6.7.1"`
+ Size int64 `xml:"size" json:"size"`
// The interleave set ID of the namespace.
- InterleavesetID int32 `xml:"interleavesetID" json:"interleavesetID" vim:"6.7.1"`
+ InterleavesetID int32 `xml:"interleavesetID" json:"interleavesetID"`
}
func init() {
- minAPIVersionForType["NvdimmPMemNamespaceCreateSpec"] = "6.7.1"
t["NvdimmPMemNamespaceCreateSpec"] = reflect.TypeOf((*NvdimmPMemNamespaceCreateSpec)(nil)).Elem()
+ minAPIVersionForType["NvdimmPMemNamespaceCreateSpec"] = "6.7.1"
}
// \\brief NVDIMM region information.
@@ -57225,24 +57510,24 @@ type NvdimmRegionInfo struct {
DynamicData
// NVDIMM region ID
- RegionId int32 `xml:"regionId" json:"regionId" vim:"6.7"`
+ RegionId int32 `xml:"regionId" json:"regionId"`
// Interleave set ID.
//
// Interleave set to which this region belongs. A value
// of 0 indicates that this region is not a part of any
// interleave set.
- SetId int32 `xml:"setId" json:"setId" vim:"6.7"`
+ SetId int32 `xml:"setId" json:"setId"`
// Type of region.
//
// Must be one of the values of
// `NvdimmRangeType_enum`
- RangeType string `xml:"rangeType" json:"rangeType" vim:"6.7"`
+ RangeType string `xml:"rangeType" json:"rangeType"`
// Region start address.
//
// This represents the address within the NVDIMM to which this
// NVDIMM region belongs (Dimm physical address).
// If `NvdimmRegionInfo.setId` is 0, this field is not valid.
- StartAddr int64 `xml:"startAddr" json:"startAddr" vim:"6.7"`
+ StartAddr int64 `xml:"startAddr" json:"startAddr"`
// Size of region in bytes.
//
// If this region is part of interleave set (represented by non zero
@@ -57257,18 +57542,18 @@ type NvdimmRegionInfo struct {
// `NvdimmInterleaveSetInfo.deviceList` is 2), then this size
// parameter is 2TB/2 = 1TB.
// If `NvdimmRegionInfo.setId` is 0, this field is not valid.
- Size int64 `xml:"size" json:"size" vim:"6.7"`
+ Size int64 `xml:"size" json:"size"`
// Offset of nvdimm within interleave set.
//
// This represents offset with respect to base address
// in `NvdimmInterleaveSetInfo.baseAddress`.
// If `NvdimmRegionInfo.setId` is 0, this field is not valid.
- Offset int64 `xml:"offset" json:"offset" vim:"6.7"`
+ Offset int64 `xml:"offset" json:"offset"`
}
func init() {
- minAPIVersionForType["NvdimmRegionInfo"] = "6.7"
t["NvdimmRegionInfo"] = reflect.TypeOf((*NvdimmRegionInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmRegionInfo"] = "6.7"
}
// \\brief Get summary of nvdimm
@@ -57276,26 +57561,26 @@ type NvdimmSummary struct {
DynamicData
// Number of NVDIMMs in the system
- NumDimms int32 `xml:"numDimms" json:"numDimms" vim:"6.7"`
+ NumDimms int32 `xml:"numDimms" json:"numDimms"`
// Summary of health status of all NVDIMMs in the system.
- HealthStatus string `xml:"healthStatus" json:"healthStatus" vim:"6.7"`
+ HealthStatus string `xml:"healthStatus" json:"healthStatus"`
// Total capacity of all NVDIMMs in bytes
- TotalCapacity int64 `xml:"totalCapacity" json:"totalCapacity" vim:"6.7"`
+ TotalCapacity int64 `xml:"totalCapacity" json:"totalCapacity"`
// Persistent region capacity in bytes
- PersistentCapacity int64 `xml:"persistentCapacity" json:"persistentCapacity" vim:"6.7"`
+ PersistentCapacity int64 `xml:"persistentCapacity" json:"persistentCapacity"`
// Block region capacity in bytes
- BlockCapacity int64 `xml:"blockCapacity" json:"blockCapacity" vim:"6.7"`
+ BlockCapacity int64 `xml:"blockCapacity" json:"blockCapacity"`
// Capacity not covered by namespace in bytes
- AvailableCapacity int64 `xml:"availableCapacity" json:"availableCapacity" vim:"6.7"`
+ AvailableCapacity int64 `xml:"availableCapacity" json:"availableCapacity"`
// Total number of interleave sets in the system
- NumInterleavesets int32 `xml:"numInterleavesets" json:"numInterleavesets" vim:"6.7"`
+ NumInterleavesets int32 `xml:"numInterleavesets" json:"numInterleavesets"`
// Total number of namespaces in the system
- NumNamespaces int32 `xml:"numNamespaces" json:"numNamespaces" vim:"6.7"`
+ NumNamespaces int32 `xml:"numNamespaces" json:"numNamespaces"`
}
func init() {
- minAPIVersionForType["NvdimmSummary"] = "6.7"
t["NvdimmSummary"] = reflect.TypeOf((*NvdimmSummary)(nil)).Elem()
+ minAPIVersionForType["NvdimmSummary"] = "6.7"
}
// This data object represents Non-Volatile DIMMs host
@@ -57306,35 +57591,35 @@ type NvdimmSystemInfo struct {
// Host NVDIMM system summary.
//
// Summary is unset if the system does not support PMem feature.
- Summary *NvdimmSummary `xml:"summary,omitempty" json:"summary,omitempty" vim:"6.7"`
+ Summary *NvdimmSummary `xml:"summary,omitempty" json:"summary,omitempty"`
// List of NVDIMMs on the host.
//
// NVDIMM list unset if the system does not support PMem feature.
- Dimms []int32 `xml:"dimms,omitempty" json:"dimms,omitempty" vim:"6.7"`
+ Dimms []int32 `xml:"dimms,omitempty" json:"dimms,omitempty"`
// List of DIMM information of all NVDIMMs on the host.
//
// Dimm information is unset if the system does not support PMem feature.
- DimmInfo []NvdimmDimmInfo `xml:"dimmInfo,omitempty" json:"dimmInfo,omitempty" vim:"6.7"`
+ DimmInfo []NvdimmDimmInfo `xml:"dimmInfo,omitempty" json:"dimmInfo,omitempty"`
// List of NVDIMM Interleave sets on the host.
//
// Interleave set is unset if the system does not support PMem feature.
- InterleaveSet []int32 `xml:"interleaveSet,omitempty" json:"interleaveSet,omitempty" vim:"6.7"`
+ InterleaveSet []int32 `xml:"interleaveSet,omitempty" json:"interleaveSet,omitempty"`
// List of information of all NVDIMM interleave sets on the host.
//
// Interleave set information is unset if the system does not
// support PMem feature.
- ISetInfo []NvdimmInterleaveSetInfo `xml:"iSetInfo,omitempty" json:"iSetInfo,omitempty" vim:"6.7"`
+ ISetInfo []NvdimmInterleaveSetInfo `xml:"iSetInfo,omitempty" json:"iSetInfo,omitempty"`
// List of NVDIMM namespaces on the host.
//
// Namespace is unset if the system does not support PMem feature.
- Namespace []NvdimmGuid `xml:"namespace,omitempty" json:"namespace,omitempty" vim:"6.7"`
+ Namespace []NvdimmGuid `xml:"namespace,omitempty" json:"namespace,omitempty"`
// Deprecated as of vSphere 6.7u1, use nsDetails.
//
// List of information of all NVDIMM namespaces on the host.
//
// Namespace information is unset if the system does not support
// PMem feature.
- NsInfo []NvdimmNamespaceInfo `xml:"nsInfo,omitempty" json:"nsInfo,omitempty" vim:"6.7"`
+ NsInfo []NvdimmNamespaceInfo `xml:"nsInfo,omitempty" json:"nsInfo,omitempty"`
// List of details of all NVDIMM namespaces on the host.
//
// Namespace details is unset if the system does not support
@@ -57343,8 +57628,8 @@ type NvdimmSystemInfo struct {
}
func init() {
- minAPIVersionForType["NvdimmSystemInfo"] = "6.7"
t["NvdimmSystemInfo"] = reflect.TypeOf((*NvdimmSystemInfo)(nil)).Elem()
+ minAPIVersionForType["NvdimmSystemInfo"] = "6.7"
}
// The `ObjectContent` data object type contains the
@@ -57449,12 +57734,12 @@ type OpaqueNetworkCapability struct {
// Indicates whether network I/O control is supported for a network
// adapter that connects to the opaque network.
- NetworkReservationSupported bool `xml:"networkReservationSupported" json:"networkReservationSupported" vim:"6.5"`
+ NetworkReservationSupported bool `xml:"networkReservationSupported" json:"networkReservationSupported"`
}
func init() {
- minAPIVersionForType["OpaqueNetworkCapability"] = "6.5"
t["OpaqueNetworkCapability"] = reflect.TypeOf((*OpaqueNetworkCapability)(nil)).Elem()
+ minAPIVersionForType["OpaqueNetworkCapability"] = "6.5"
}
// The summary of a opaque network.
@@ -57464,14 +57749,14 @@ type OpaqueNetworkSummary struct {
NetworkSummary
// The opaque network ID
- OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId" vim:"5.5"`
+ OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId"`
// The opaque network type
- OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType" vim:"5.5"`
+ OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType"`
}
func init() {
- minAPIVersionForType["OpaqueNetworkSummary"] = "5.5"
t["OpaqueNetworkSummary"] = reflect.TypeOf((*OpaqueNetworkSummary)(nil)).Elem()
+ minAPIVersionForType["OpaqueNetworkSummary"] = "5.5"
}
// This class describes an opaque network that a device backing
@@ -57480,15 +57765,15 @@ type OpaqueNetworkTargetInfo struct {
VirtualMachineTargetInfo
// Information about the opaque network
- Network OpaqueNetworkSummary `xml:"network" json:"network" vim:"5.5"`
+ Network OpaqueNetworkSummary `xml:"network" json:"network"`
// Indicates whether network bandwidth reservation is supported on
// the opaque network
NetworkReservationSupported *bool `xml:"networkReservationSupported" json:"networkReservationSupported,omitempty" vim:"6.0"`
}
func init() {
- minAPIVersionForType["OpaqueNetworkTargetInfo"] = "5.5"
t["OpaqueNetworkTargetInfo"] = reflect.TypeOf((*OpaqueNetworkTargetInfo)(nil)).Elem()
+ minAPIVersionForType["OpaqueNetworkTargetInfo"] = "5.5"
}
// The `OpaqueSwitchProfile` data object represents opaque switch
@@ -57502,8 +57787,8 @@ type OpaqueSwitchProfile struct {
}
func init() {
- minAPIVersionForType["OpaqueSwitchProfile"] = "7.0"
t["OpaqueSwitchProfile"] = reflect.TypeOf((*OpaqueSwitchProfile)(nil)).Elem()
+ minAPIVersionForType["OpaqueSwitchProfile"] = "7.0"
}
type OpenInventoryViewFolder OpenInventoryViewFolderRequestType
@@ -57542,8 +57827,8 @@ type OperationDisabledByGuest struct {
}
func init() {
- minAPIVersionForType["OperationDisabledByGuest"] = "5.0"
t["OperationDisabledByGuest"] = reflect.TypeOf((*OperationDisabledByGuest)(nil)).Elem()
+ minAPIVersionForType["OperationDisabledByGuest"] = "5.0"
}
type OperationDisabledByGuestFault OperationDisabledByGuest
@@ -57565,8 +57850,8 @@ type OperationDisallowedOnHost struct {
}
func init() {
- minAPIVersionForType["OperationDisallowedOnHost"] = "5.0"
t["OperationDisallowedOnHost"] = reflect.TypeOf((*OperationDisallowedOnHost)(nil)).Elem()
+ minAPIVersionForType["OperationDisallowedOnHost"] = "5.0"
}
type OperationDisallowedOnHostFault OperationDisallowedOnHost
@@ -57583,8 +57868,8 @@ type OperationNotSupportedByGuest struct {
}
func init() {
- minAPIVersionForType["OperationNotSupportedByGuest"] = "5.0"
t["OperationNotSupportedByGuest"] = reflect.TypeOf((*OperationNotSupportedByGuest)(nil)).Elem()
+ minAPIVersionForType["OperationNotSupportedByGuest"] = "5.0"
}
type OperationNotSupportedByGuestFault OperationNotSupportedByGuest
@@ -57622,12 +57907,12 @@ type OptionProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["OptionProfile"] = "4.0"
t["OptionProfile"] = reflect.TypeOf((*OptionProfile)(nil)).Elem()
+ minAPIVersionForType["OptionProfile"] = "4.0"
}
// The base data object type for all options.
@@ -57712,12 +57997,12 @@ type OutOfSyncDvsHost struct {
DvsEvent
// The host that went out of sync.
- HostOutOfSync []DvsOutOfSyncHostArgument `xml:"hostOutOfSync" json:"hostOutOfSync" vim:"4.0"`
+ HostOutOfSync []DvsOutOfSyncHostArgument `xml:"hostOutOfSync" json:"hostOutOfSync"`
}
func init() {
- minAPIVersionForType["OutOfSyncDvsHost"] = "4.0"
t["OutOfSyncDvsHost"] = reflect.TypeOf((*OutOfSyncDvsHost)(nil)).Elem()
+ minAPIVersionForType["OutOfSyncDvsHost"] = "4.0"
}
type OverwriteCustomizationSpec OverwriteCustomizationSpecRequestType
@@ -57744,14 +58029,14 @@ type OvfAttribute struct {
OvfInvalidPackage
// Element name where the attribute is defined
- ElementName string `xml:"elementName" json:"elementName" vim:"4.0"`
+ ElementName string `xml:"elementName" json:"elementName"`
// Attribute name
- AttributeName string `xml:"attributeName" json:"attributeName" vim:"4.0"`
+ AttributeName string `xml:"attributeName" json:"attributeName"`
}
func init() {
- minAPIVersionForType["OvfAttribute"] = "4.0"
t["OvfAttribute"] = reflect.TypeOf((*OvfAttribute)(nil)).Elem()
+ minAPIVersionForType["OvfAttribute"] = "4.0"
}
type OvfAttributeFault BaseOvfAttribute
@@ -57778,7 +58063,7 @@ type OvfConnectedDeviceFloppy struct {
OvfConnectedDevice
// The filename of the floppy image
- Filename string `xml:"filename" json:"filename" vim:"4.0"`
+ Filename string `xml:"filename" json:"filename"`
}
func init() {
@@ -57795,7 +58080,7 @@ type OvfConnectedDeviceIso struct {
OvfConnectedDevice
// The filename of the ISO
- Filename string `xml:"filename" json:"filename" vim:"4.0"`
+ Filename string `xml:"filename" json:"filename"`
}
func init() {
@@ -57813,12 +58098,12 @@ type OvfConstraint struct {
OvfInvalidPackage
// The name of the element
- Name string `xml:"name" json:"name" vim:"4.1"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["OvfConstraint"] = "4.1"
t["OvfConstraint"] = reflect.TypeOf((*OvfConstraint)(nil)).Elem()
+ minAPIVersionForType["OvfConstraint"] = "4.1"
}
type OvfConstraintFault BaseOvfConstraint
@@ -57836,14 +58121,14 @@ type OvfConsumerCallbackFault struct {
OvfFault
// The OVF consumer's extension key.
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.0"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// The OVF consumer's extension name.
- ExtensionName string `xml:"extensionName" json:"extensionName" vim:"5.0"`
+ ExtensionName string `xml:"extensionName" json:"extensionName"`
}
func init() {
- minAPIVersionForType["OvfConsumerCallbackFault"] = "5.0"
t["OvfConsumerCallbackFault"] = reflect.TypeOf((*OvfConsumerCallbackFault)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerCallbackFault"] = "5.0"
}
type OvfConsumerCallbackFaultFault BaseOvfConsumerCallbackFault
@@ -57857,12 +58142,12 @@ type OvfConsumerCommunicationError struct {
OvfConsumerCallbackFault
// The network library error message.
- Description string `xml:"description" json:"description" vim:"5.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfConsumerCommunicationError"] = "5.0"
t["OvfConsumerCommunicationError"] = reflect.TypeOf((*OvfConsumerCommunicationError)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerCommunicationError"] = "5.0"
}
type OvfConsumerCommunicationErrorFault OvfConsumerCommunicationError
@@ -57876,16 +58161,16 @@ type OvfConsumerFault struct {
OvfConsumerCallbackFault
// An error code that uniquely describes the fault within this extension.
- ErrorKey string `xml:"errorKey" json:"errorKey" vim:"5.0"`
+ ErrorKey string `xml:"errorKey" json:"errorKey"`
// The error message, localized by the OVF consumer
- Message string `xml:"message" json:"message" vim:"5.0"`
+ Message string `xml:"message" json:"message"`
// Additional parameters for this fault
- Params []KeyValue `xml:"params,omitempty" json:"params,omitempty" vim:"5.0"`
+ Params []KeyValue `xml:"params,omitempty" json:"params,omitempty"`
}
func init() {
- minAPIVersionForType["OvfConsumerFault"] = "5.0"
t["OvfConsumerFault"] = reflect.TypeOf((*OvfConsumerFault)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerFault"] = "5.0"
}
type OvfConsumerFaultFault OvfConsumerFault
@@ -57900,14 +58185,14 @@ type OvfConsumerInvalidSection struct {
OvfConsumerCallbackFault
// The line number in the section on which the error was found.
- LineNumber int32 `xml:"lineNumber" json:"lineNumber" vim:"5.0"`
+ LineNumber int32 `xml:"lineNumber" json:"lineNumber"`
// The XML parser error message.
- Description string `xml:"description" json:"description" vim:"5.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfConsumerInvalidSection"] = "5.0"
t["OvfConsumerInvalidSection"] = reflect.TypeOf((*OvfConsumerInvalidSection)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerInvalidSection"] = "5.0"
}
type OvfConsumerInvalidSectionFault OvfConsumerInvalidSection
@@ -57934,16 +58219,16 @@ type OvfConsumerOstNode struct {
// element.
//
// Empty on the envelope node.
- Id string `xml:"id" json:"id" vim:"5.0"`
+ Id string `xml:"id" json:"id"`
// The type of the node.
//
// Possible values are defined in the OstNodeType enum.
//
// Since the OstNode tree structure mirrors the structure of the OVF descriptor,
// only one Envelope node is defined, and it is always the root of the tree.
- Type string `xml:"type" json:"type" vim:"5.0"`
+ Type string `xml:"type" json:"type"`
// The list of sections on this node.
- Section []OvfConsumerOvfSection `xml:"section,omitempty" json:"section,omitempty" vim:"5.0"`
+ Section []OvfConsumerOvfSection `xml:"section,omitempty" json:"section,omitempty"`
// The list of child nodes.
//
// As dictated by OVF, this list is subject to the
@@ -57951,7 +58236,7 @@ type OvfConsumerOstNode struct {
// - The Envelope node must have exactly one child.
// - VirtualSystemCollection nodes may have zero or more children.
// - VirtualSystem nodes must have no children.
- Child []OvfConsumerOstNode `xml:"child,omitempty" json:"child,omitempty" vim:"5.0"`
+ Child []OvfConsumerOstNode `xml:"child,omitempty" json:"child,omitempty"`
// The VM or vApp corresponding to this node.
//
// This field is set when this OstNode represents an existing managed entity.
@@ -57959,12 +58244,12 @@ type OvfConsumerOstNode struct {
// The entity is unset on nodes of type OstNodeType.envelope.
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"5.0"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
}
func init() {
- minAPIVersionForType["OvfConsumerOstNode"] = "5.0"
t["OvfConsumerOstNode"] = reflect.TypeOf((*OvfConsumerOstNode)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerOstNode"] = "5.0"
}
// A self-contained OVF section
@@ -57977,17 +58262,17 @@ type OvfConsumerOvfSection struct {
// descriptor (as opposed to sections that are about to be exported to OVF).
//
// The value is zero if the section did not originate from an OVF descriptor.
- LineNumber int32 `xml:"lineNumber" json:"lineNumber" vim:"5.0"`
+ LineNumber int32 `xml:"lineNumber" json:"lineNumber"`
// The XML fragment for the section.
//
// The XML fragment must explicitly define all namespaces and namespace prefixes
// that are used in the fragment, including the default namespace.
- Xml string `xml:"xml" json:"xml" vim:"5.0"`
+ Xml string `xml:"xml" json:"xml"`
}
func init() {
- minAPIVersionForType["OvfConsumerOvfSection"] = "5.0"
t["OvfConsumerOvfSection"] = reflect.TypeOf((*OvfConsumerOvfSection)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerOvfSection"] = "5.0"
}
// A fault type indicating that the power on operation failed.
@@ -57995,16 +58280,16 @@ type OvfConsumerPowerOnFault struct {
InvalidState
// The OVF consumer's extension key.
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.0"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// The OVF consumer's extension name.
- ExtensionName string `xml:"extensionName" json:"extensionName" vim:"5.0"`
+ ExtensionName string `xml:"extensionName" json:"extensionName"`
// A localized, human-readable description of the error.
- Description string `xml:"description" json:"description" vim:"5.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfConsumerPowerOnFault"] = "5.0"
t["OvfConsumerPowerOnFault"] = reflect.TypeOf((*OvfConsumerPowerOnFault)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerPowerOnFault"] = "5.0"
}
type OvfConsumerPowerOnFaultFault OvfConsumerPowerOnFault
@@ -58021,12 +58306,12 @@ type OvfConsumerUndeclaredSection struct {
OvfConsumerCallbackFault
// The undeclared qualified section type appended by the OVF consumer.
- QualifiedSectionType string `xml:"qualifiedSectionType" json:"qualifiedSectionType" vim:"5.0"`
+ QualifiedSectionType string `xml:"qualifiedSectionType" json:"qualifiedSectionType"`
}
func init() {
- minAPIVersionForType["OvfConsumerUndeclaredSection"] = "5.0"
t["OvfConsumerUndeclaredSection"] = reflect.TypeOf((*OvfConsumerUndeclaredSection)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerUndeclaredSection"] = "5.0"
}
type OvfConsumerUndeclaredSectionFault OvfConsumerUndeclaredSection
@@ -58040,12 +58325,12 @@ type OvfConsumerUndefinedPrefix struct {
OvfConsumerCallbackFault
// The prefix for which no namespace definition was found.
- Prefix string `xml:"prefix" json:"prefix" vim:"5.0"`
+ Prefix string `xml:"prefix" json:"prefix"`
}
func init() {
- minAPIVersionForType["OvfConsumerUndefinedPrefix"] = "5.0"
t["OvfConsumerUndefinedPrefix"] = reflect.TypeOf((*OvfConsumerUndefinedPrefix)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerUndefinedPrefix"] = "5.0"
}
type OvfConsumerUndefinedPrefixFault OvfConsumerUndefinedPrefix
@@ -58059,16 +58344,16 @@ type OvfConsumerValidationFault struct {
VmConfigFault
// The OVF consumer's extension key.
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.0"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// The OVF consumer's extension name.
- ExtensionName string `xml:"extensionName" json:"extensionName" vim:"5.0"`
+ ExtensionName string `xml:"extensionName" json:"extensionName"`
// The error message, localized by the OVF consumer
- Message string `xml:"message" json:"message" vim:"5.0"`
+ Message string `xml:"message" json:"message"`
}
func init() {
- minAPIVersionForType["OvfConsumerValidationFault"] = "5.0"
t["OvfConsumerValidationFault"] = reflect.TypeOf((*OvfConsumerValidationFault)(nil)).Elem()
+ minAPIVersionForType["OvfConsumerValidationFault"] = "5.0"
}
type OvfConsumerValidationFaultFault OvfConsumerValidationFault
@@ -58081,16 +58366,16 @@ type OvfCpuCompatibility struct {
OvfImport
// Possible register names are eax, ebx, ecx, or edx.
- RegisterName string `xml:"registerName" json:"registerName" vim:"5.0"`
+ RegisterName string `xml:"registerName" json:"registerName"`
// The CpuId level where a problem was detected.
//
// Other levels may
// also have problems
- Level int32 `xml:"level" json:"level" vim:"5.0"`
+ Level int32 `xml:"level" json:"level"`
// The register value where the problem was detected
- RegisterValue string `xml:"registerValue" json:"registerValue" vim:"5.0"`
+ RegisterValue string `xml:"registerValue" json:"registerValue"`
// The desired register value return from the host
- DesiredRegisterValue string `xml:"desiredRegisterValue" json:"desiredRegisterValue" vim:"5.0"`
+ DesiredRegisterValue string `xml:"desiredRegisterValue" json:"desiredRegisterValue"`
}
func init() {
@@ -58128,17 +58413,17 @@ type OvfCreateDescriptorParams struct {
//
// OvfFile is a positive list of files to include in the export. An Empty list
// will do no filtering.
- OvfFiles []OvfFile `xml:"ovfFiles,omitempty" json:"ovfFiles,omitempty" vim:"4.0"`
+ OvfFiles []OvfFile `xml:"ovfFiles,omitempty" json:"ovfFiles,omitempty"`
// The ovf:id to use for the top-level OVF Entity.
//
// If unset, the entity's
// product name is used if available. Otherwise, the VI entity name is used.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The contents of the Annontation section of the top-level OVF Entity.
//
// If unset,
// any existing annotation on the entity is left unchanged.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Controls whether attached image files should be included in the descriptor.
//
// This applies to image files attached to VirtualCdrom and VirtualFloppy.
@@ -58166,8 +58451,8 @@ type OvfCreateDescriptorParams struct {
}
func init() {
- minAPIVersionForType["OvfCreateDescriptorParams"] = "4.0"
t["OvfCreateDescriptorParams"] = reflect.TypeOf((*OvfCreateDescriptorParams)(nil)).Elem()
+ minAPIVersionForType["OvfCreateDescriptorParams"] = "4.0"
}
// The result of creating the OVF descriptor for the entity.
@@ -58175,24 +58460,24 @@ type OvfCreateDescriptorResult struct {
DynamicData
// The OVF descriptor for the entity.
- OvfDescriptor string `xml:"ovfDescriptor" json:"ovfDescriptor" vim:"4.0"`
+ OvfDescriptor string `xml:"ovfDescriptor" json:"ovfDescriptor"`
// Errors that happened during processing.
//
// For example, unknown or unsupported devices could be found (in which case
// this array will contain one or more instances of Unsupported-/UnknownDevice).
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
// Non-fatal warnings from the processing.
//
// The result will be valid, but the user may choose to reject it based on these
// warnings.
- Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty" vim:"4.0"`
+ Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// Returns true if there are ISO or Floppy images attached to one or more VMs.
IncludeImageFiles *bool `xml:"includeImageFiles" json:"includeImageFiles,omitempty" vim:"4.1"`
}
func init() {
- minAPIVersionForType["OvfCreateDescriptorResult"] = "4.0"
t["OvfCreateDescriptorResult"] = reflect.TypeOf((*OvfCreateDescriptorResult)(nil)).Elem()
+ minAPIVersionForType["OvfCreateDescriptorResult"] = "4.0"
}
// Parameters for deploying an OVF.
@@ -58205,32 +58490,32 @@ type OvfCreateImportSpecParams struct {
// If empty, the product name is obtained
// from the ProductSection of the descriptor. If that name is not specified, the
// ovf:id of the top-level entity is used.
- EntityName string `xml:"entityName" json:"entityName" vim:"4.0"`
+ EntityName string `xml:"entityName" json:"entityName"`
// The host to validate the OVF descriptor against, if it cannot be deduced from
// the resource pool.
//
// The privilege System.Read is required on the host.
//
// Refers instance of `HostSystem`.
- HostSystem *ManagedObjectReference `xml:"hostSystem,omitempty" json:"hostSystem,omitempty" vim:"4.0"`
+ HostSystem *ManagedObjectReference `xml:"hostSystem,omitempty" json:"hostSystem,omitempty"`
// The mapping of network identifiers from the descriptor to networks in the VI
// infrastructure.
//
// The privilege Network.Assign is required on all networks in the list.
- NetworkMapping []OvfNetworkMapping `xml:"networkMapping,omitempty" json:"networkMapping,omitempty" vim:"4.0"`
+ NetworkMapping []OvfNetworkMapping `xml:"networkMapping,omitempty" json:"networkMapping,omitempty"`
// The IP allocation policy chosen by the caller.
//
// See `VAppIPAssignmentInfo`.
- IpAllocationPolicy string `xml:"ipAllocationPolicy,omitempty" json:"ipAllocationPolicy,omitempty" vim:"4.0"`
+ IpAllocationPolicy string `xml:"ipAllocationPolicy,omitempty" json:"ipAllocationPolicy,omitempty"`
// The IP protocol chosen by the caller.
//
// See `VAppIPAssignmentInfo`.
- IpProtocol string `xml:"ipProtocol,omitempty" json:"ipProtocol,omitempty" vim:"4.0"`
+ IpProtocol string `xml:"ipProtocol,omitempty" json:"ipProtocol,omitempty"`
// The assignment of values to the properties found in the descriptor.
//
// If no value
// is specified for an option, the default value from the descriptor is used.
- PropertyMapping []KeyValue `xml:"propertyMapping,omitempty" json:"propertyMapping,omitempty" vim:"4.0"`
+ PropertyMapping []KeyValue `xml:"propertyMapping,omitempty" json:"propertyMapping,omitempty"`
// Deprecated as of vSphere API 5.1.
//
// The resource configuration for the created vApp.
@@ -58263,8 +58548,8 @@ type OvfCreateImportSpecParams struct {
}
func init() {
- minAPIVersionForType["OvfCreateImportSpecParams"] = "4.0"
t["OvfCreateImportSpecParams"] = reflect.TypeOf((*OvfCreateImportSpecParams)(nil)).Elem()
+ minAPIVersionForType["OvfCreateImportSpecParams"] = "4.0"
}
// The CreateImportSpecResult contains all information regarding the import that can
@@ -58281,27 +58566,27 @@ type OvfCreateImportSpecResult struct {
// The ImportSpec contains information about which `VirtualMachine`s
// and `VirtualApp`s are present in the entity and
// how they relate to each other.
- ImportSpec BaseImportSpec `xml:"importSpec,omitempty,typeattr" json:"importSpec,omitempty" vim:"4.0"`
+ ImportSpec BaseImportSpec `xml:"importSpec,omitempty,typeattr" json:"importSpec,omitempty"`
// The files that must be uploaded by the caller as part of importing the entity.
//
// The files must be uploaded in order, because some of them may be delta files
// that patch already-uploaded files.
- FileItem []OvfFileItem `xml:"fileItem,omitempty" json:"fileItem,omitempty" vim:"4.0"`
+ FileItem []OvfFileItem `xml:"fileItem,omitempty" json:"fileItem,omitempty"`
// Non-fatal warnings from the processing.
//
// The ImportSpec will be valid, but the
// user may choose to reject it based on these warnings.
- Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty" vim:"4.0"`
+ Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// Errors that happened during processing.
//
// Something will be wrong with the
// ImportSpec, or it is not present.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["OvfCreateImportSpecResult"] = "4.0"
t["OvfCreateImportSpecResult"] = reflect.TypeOf((*OvfCreateImportSpecResult)(nil)).Elem()
+ minAPIVersionForType["OvfCreateImportSpecResult"] = "4.0"
}
// A deployment option as defined in the OVF specfication.
@@ -58313,25 +58598,25 @@ type OvfDeploymentOption struct {
// The key of the deployment option, corresponding to the ovf:id attribute in the
// OVF descriptor
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// A localized label for the deployment option
- Label string `xml:"label" json:"label" vim:"4.0"`
+ Label string `xml:"label" json:"label"`
// A localizable description for the deployment option.
- Description string `xml:"description" json:"description" vim:"4.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfDeploymentOption"] = "4.0"
t["OvfDeploymentOption"] = reflect.TypeOf((*OvfDeploymentOption)(nil)).Elem()
+ minAPIVersionForType["OvfDeploymentOption"] = "4.0"
}
type OvfDiskMappingNotFound struct {
OvfSystemFault
// The disk name that is not found
- DiskName string `xml:"diskName" json:"diskName" vim:"4.0"`
+ DiskName string `xml:"diskName" json:"diskName"`
// The VM Name
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
@@ -58351,8 +58636,8 @@ type OvfDiskOrderConstraint struct {
}
func init() {
- minAPIVersionForType["OvfDiskOrderConstraint"] = "4.1"
t["OvfDiskOrderConstraint"] = reflect.TypeOf((*OvfDiskOrderConstraint)(nil)).Elem()
+ minAPIVersionForType["OvfDiskOrderConstraint"] = "4.1"
}
type OvfDiskOrderConstraintFault OvfDiskOrderConstraint
@@ -58367,8 +58652,8 @@ type OvfDuplicateElement struct {
}
func init() {
- minAPIVersionForType["OvfDuplicateElement"] = "4.0"
t["OvfDuplicateElement"] = reflect.TypeOf((*OvfDuplicateElement)(nil)).Elem()
+ minAPIVersionForType["OvfDuplicateElement"] = "4.0"
}
type OvfDuplicateElementFault OvfDuplicateElement
@@ -58382,12 +58667,12 @@ type OvfDuplicatedElementBoundary struct {
OvfElement
// Name of duplicated boundary
- Boundary string `xml:"boundary" json:"boundary" vim:"4.0"`
+ Boundary string `xml:"boundary" json:"boundary"`
}
func init() {
- minAPIVersionForType["OvfDuplicatedElementBoundary"] = "4.0"
t["OvfDuplicatedElementBoundary"] = reflect.TypeOf((*OvfDuplicatedElementBoundary)(nil)).Elem()
+ minAPIVersionForType["OvfDuplicatedElementBoundary"] = "4.0"
}
type OvfDuplicatedElementBoundaryFault OvfDuplicatedElementBoundary
@@ -58403,12 +58688,12 @@ type OvfDuplicatedPropertyIdExport struct {
OvfExport
// The fully qualified property id.
- Fqid string `xml:"fqid" json:"fqid" vim:"5.0"`
+ Fqid string `xml:"fqid" json:"fqid"`
}
func init() {
- minAPIVersionForType["OvfDuplicatedPropertyIdExport"] = "5.0"
t["OvfDuplicatedPropertyIdExport"] = reflect.TypeOf((*OvfDuplicatedPropertyIdExport)(nil)).Elem()
+ minAPIVersionForType["OvfDuplicatedPropertyIdExport"] = "5.0"
}
type OvfDuplicatedPropertyIdExportFault OvfDuplicatedPropertyIdExport
@@ -58425,8 +58710,8 @@ type OvfDuplicatedPropertyIdImport struct {
}
func init() {
- minAPIVersionForType["OvfDuplicatedPropertyIdImport"] = "5.0"
t["OvfDuplicatedPropertyIdImport"] = reflect.TypeOf((*OvfDuplicatedPropertyIdImport)(nil)).Elem()
+ minAPIVersionForType["OvfDuplicatedPropertyIdImport"] = "5.0"
}
type OvfDuplicatedPropertyIdImportFault OvfDuplicatedPropertyIdImport
@@ -58440,12 +58725,12 @@ type OvfElement struct {
OvfInvalidPackage
// The name of the element
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["OvfElement"] = "4.0"
t["OvfElement"] = reflect.TypeOf((*OvfElement)(nil)).Elem()
+ minAPIVersionForType["OvfElement"] = "4.0"
}
type OvfElementFault BaseOvfElement
@@ -58461,12 +58746,12 @@ type OvfElementInvalidValue struct {
OvfElement
// The value of the element
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfElementInvalidValue"] = "4.0"
t["OvfElementInvalidValue"] = reflect.TypeOf((*OvfElementInvalidValue)(nil)).Elem()
+ minAPIVersionForType["OvfElementInvalidValue"] = "4.0"
}
type OvfElementInvalidValueFault OvfElementInvalidValue
@@ -58481,8 +58766,8 @@ type OvfExport struct {
}
func init() {
- minAPIVersionForType["OvfExport"] = "4.0"
t["OvfExport"] = reflect.TypeOf((*OvfExport)(nil)).Elem()
+ minAPIVersionForType["OvfExport"] = "4.0"
}
// This fault is used if we fail to export an OVF package.
@@ -58491,8 +58776,8 @@ type OvfExportFailed struct {
}
func init() {
- minAPIVersionForType["OvfExportFailed"] = "4.1"
t["OvfExportFailed"] = reflect.TypeOf((*OvfExportFailed)(nil)).Elem()
+ minAPIVersionForType["OvfExportFailed"] = "4.1"
}
type OvfExportFailedFault OvfExportFailed
@@ -58592,8 +58877,8 @@ type OvfFault struct {
}
func init() {
- minAPIVersionForType["OvfFault"] = "4.0"
t["OvfFault"] = reflect.TypeOf((*OvfFault)(nil)).Elem()
+ minAPIVersionForType["OvfFault"] = "4.0"
}
type OvfFaultFault BaseOvfFault
@@ -58617,7 +58902,7 @@ type OvfFile struct {
//
// The caller will have received this along with the URL needed to download the
// file (this is handled by another service interface).
- DeviceId string `xml:"deviceId" json:"deviceId" vim:"4.0"`
+ DeviceId string `xml:"deviceId" json:"deviceId"`
// The path chosen by the caller for this file.
//
// This path becomes the value of the
@@ -58630,16 +58915,16 @@ type OvfFile struct {
// The folder separator must be "/" (forward slash).
//
// The path must not begin with a slash - ie. it must not be an absolute path.
- Path string `xml:"path" json:"path" vim:"4.0"`
+ Path string `xml:"path" json:"path"`
// The compression method the caller chose to employ for this file.
- CompressionMethod string `xml:"compressionMethod,omitempty" json:"compressionMethod,omitempty" vim:"4.0"`
+ CompressionMethod string `xml:"compressionMethod,omitempty" json:"compressionMethod,omitempty"`
// The chunksize chosen by the caller.
//
// When using chunking, the caller must adhere to the method described in the OVF
// specification.
- ChunkSize int64 `xml:"chunkSize,omitempty" json:"chunkSize,omitempty" vim:"4.0"`
+ ChunkSize int64 `xml:"chunkSize,omitempty" json:"chunkSize,omitempty"`
// The file size, as observed by the caller during download.
- Size int64 `xml:"size" json:"size" vim:"4.0"`
+ Size int64 `xml:"size" json:"size"`
// The capacity of the disk backed by this file.
//
// This should only be set if the
@@ -58660,8 +58945,8 @@ type OvfFile struct {
}
func init() {
- minAPIVersionForType["OvfFile"] = "4.0"
t["OvfFile"] = reflect.TypeOf((*OvfFile)(nil)).Elem()
+ minAPIVersionForType["OvfFile"] = "4.0"
}
// An FileItem represents a file that must be uploaded by the caller when the
@@ -58680,12 +58965,12 @@ type OvfFileItem struct {
// When `ResourcePool.importVApp` is
// called to create the `VirtualMachine`s and `VirtualApp`s, it returns a map,
// device ID -> URL, of where to upload the backing files.
- DeviceId string `xml:"deviceId" json:"deviceId" vim:"4.0"`
+ DeviceId string `xml:"deviceId" json:"deviceId"`
// The path of the item to upload, relative to the path of the OVF descriptor.
- Path string `xml:"path" json:"path" vim:"4.0"`
+ Path string `xml:"path" json:"path"`
// The compression method as specified by the OVF
// specification (for example "gzip" or "bzip2").
- CompressionMethod string `xml:"compressionMethod,omitempty" json:"compressionMethod,omitempty" vim:"4.0"`
+ CompressionMethod string `xml:"compressionMethod,omitempty" json:"compressionMethod,omitempty"`
// The chunksize as specified by the OVF specification.
//
// If this attribute is set, the "path" attribute is a prefix to
@@ -58695,23 +58980,23 @@ type OvfFileItem struct {
// myfile.000000000 (2000000000 bytes)
// myfile.000000001 (2000000000 bytes)
// myfile.000000002 (1500000000 bytes)
- ChunkSize int64 `xml:"chunkSize,omitempty" json:"chunkSize,omitempty" vim:"4.0"`
+ ChunkSize int64 `xml:"chunkSize,omitempty" json:"chunkSize,omitempty"`
// The complete size of the file, if it is specified in the
// OVF descriptor.
- Size int64 `xml:"size,omitempty" json:"size,omitempty" vim:"4.0"`
+ Size int64 `xml:"size,omitempty" json:"size,omitempty"`
// The CIM type of the device for which this file provides
// backing.
//
// For example, the value 17 means "Disk drive".
- CimType int32 `xml:"cimType" json:"cimType" vim:"4.0"`
+ CimType int32 `xml:"cimType" json:"cimType"`
// True if the item is not expected to exist in the infrastructure
// and should therefore be created by the caller (for example using HTTP PUT).
- Create bool `xml:"create" json:"create" vim:"4.0"`
+ Create bool `xml:"create" json:"create"`
}
func init() {
- minAPIVersionForType["OvfFileItem"] = "4.0"
t["OvfFileItem"] = reflect.TypeOf((*OvfFileItem)(nil)).Elem()
+ minAPIVersionForType["OvfFileItem"] = "4.0"
}
type OvfHardwareCheck struct {
@@ -58733,18 +59018,18 @@ type OvfHardwareExport struct {
OvfExport
// The virtual device we are exporting to OVF
- Device BaseVirtualDevice `xml:"device,omitempty,typeattr" json:"device,omitempty" vim:"4.0"`
+ Device BaseVirtualDevice `xml:"device,omitempty,typeattr" json:"device,omitempty"`
// The path to the VM containing the device.
//
// This path shows the location of the VM in the vApp hierarchy, on the form:
//
// /ParentVApp/ChildVApp/VMName
- VmPath string `xml:"vmPath" json:"vmPath" vim:"4.0"`
+ VmPath string `xml:"vmPath" json:"vmPath"`
}
func init() {
- minAPIVersionForType["OvfHardwareExport"] = "4.0"
t["OvfHardwareExport"] = reflect.TypeOf((*OvfHardwareExport)(nil)).Elem()
+ minAPIVersionForType["OvfHardwareExport"] = "4.0"
}
type OvfHardwareExportFault BaseOvfHardwareExport
@@ -58759,12 +59044,12 @@ type OvfHostResourceConstraint struct {
OvfConstraint
// Value of the element
- Value string `xml:"value" json:"value" vim:"4.1"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfHostResourceConstraint"] = "4.1"
t["OvfHostResourceConstraint"] = reflect.TypeOf((*OvfHostResourceConstraint)(nil)).Elem()
+ minAPIVersionForType["OvfHostResourceConstraint"] = "4.1"
}
type OvfHostResourceConstraintFault OvfHostResourceConstraint
@@ -58777,9 +59062,9 @@ type OvfHostValueNotParsed struct {
OvfSystemFault
// The host property field that could not be parsed.
- Property string `xml:"property" json:"property" vim:"4.0"`
+ Property string `xml:"property" json:"property"`
// Value of the field that could not be parsed.
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
@@ -58802,8 +59087,8 @@ type OvfImport struct {
}
func init() {
- minAPIVersionForType["OvfImport"] = "4.0"
t["OvfImport"] = reflect.TypeOf((*OvfImport)(nil)).Elem()
+ minAPIVersionForType["OvfImport"] = "4.0"
}
// This fault is used if we fail to deploy an OVF package.
@@ -58812,8 +59097,8 @@ type OvfImportFailed struct {
}
func init() {
- minAPIVersionForType["OvfImportFailed"] = "4.1"
t["OvfImportFailed"] = reflect.TypeOf((*OvfImportFailed)(nil)).Elem()
+ minAPIVersionForType["OvfImportFailed"] = "4.1"
}
type OvfImportFailedFault OvfImportFailed
@@ -58834,8 +59119,8 @@ type OvfInternalError struct {
}
func init() {
- minAPIVersionForType["OvfInternalError"] = "4.1"
t["OvfInternalError"] = reflect.TypeOf((*OvfInternalError)(nil)).Elem()
+ minAPIVersionForType["OvfInternalError"] = "4.1"
}
type OvfInternalErrorFault OvfInternalError
@@ -58849,12 +59134,12 @@ type OvfInvalidPackage struct {
OvfFault
// XML OVF descriptor line numbers
- LineNumber int32 `xml:"lineNumber" json:"lineNumber" vim:"4.0"`
+ LineNumber int32 `xml:"lineNumber" json:"lineNumber"`
}
func init() {
- minAPIVersionForType["OvfInvalidPackage"] = "4.0"
t["OvfInvalidPackage"] = reflect.TypeOf((*OvfInvalidPackage)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidPackage"] = "4.0"
}
type OvfInvalidPackageFault BaseOvfInvalidPackage
@@ -58868,12 +59153,12 @@ type OvfInvalidValue struct {
OvfAttribute
// Attribute value
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfInvalidValue"] = "4.0"
t["OvfInvalidValue"] = reflect.TypeOf((*OvfInvalidValue)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidValue"] = "4.0"
}
// If an malformed ovf:configuration attribute value is found in the
@@ -58883,8 +59168,8 @@ type OvfInvalidValueConfiguration struct {
}
func init() {
- minAPIVersionForType["OvfInvalidValueConfiguration"] = "4.0"
t["OvfInvalidValueConfiguration"] = reflect.TypeOf((*OvfInvalidValueConfiguration)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidValueConfiguration"] = "4.0"
}
type OvfInvalidValueConfigurationFault OvfInvalidValueConfiguration
@@ -58899,8 +59184,8 @@ type OvfInvalidValueEmpty struct {
}
func init() {
- minAPIVersionForType["OvfInvalidValueEmpty"] = "4.0"
t["OvfInvalidValueEmpty"] = reflect.TypeOf((*OvfInvalidValueEmpty)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidValueEmpty"] = "4.0"
}
type OvfInvalidValueEmptyFault OvfInvalidValueEmpty
@@ -58922,8 +59207,8 @@ type OvfInvalidValueFormatMalformed struct {
}
func init() {
- minAPIVersionForType["OvfInvalidValueFormatMalformed"] = "4.0"
t["OvfInvalidValueFormatMalformed"] = reflect.TypeOf((*OvfInvalidValueFormatMalformed)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidValueFormatMalformed"] = "4.0"
}
type OvfInvalidValueFormatMalformedFault OvfInvalidValueFormatMalformed
@@ -58939,8 +59224,8 @@ type OvfInvalidValueReference struct {
}
func init() {
- minAPIVersionForType["OvfInvalidValueReference"] = "4.0"
t["OvfInvalidValueReference"] = reflect.TypeOf((*OvfInvalidValueReference)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidValueReference"] = "4.0"
}
type OvfInvalidValueReferenceFault OvfInvalidValueReference
@@ -58954,12 +59239,12 @@ type OvfInvalidVmName struct {
OvfUnsupportedPackage
// The name of the invalid Virtual Machine
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["OvfInvalidVmName"] = "4.0"
t["OvfInvalidVmName"] = reflect.TypeOf((*OvfInvalidVmName)(nil)).Elem()
+ minAPIVersionForType["OvfInvalidVmName"] = "4.0"
}
type OvfInvalidVmNameFault OvfInvalidVmName
@@ -58976,13 +59261,13 @@ type OvfManagerCommonParams struct {
//
// If empty, the
// default locale on the server is used.
- Locale string `xml:"locale" json:"locale" vim:"4.0"`
+ Locale string `xml:"locale" json:"locale"`
// The key of the chosen deployment option.
//
// If empty, the default option is
// chosen. The list of possible deployment options is returned in the result of
// parseDescriptor.
- DeploymentOption string `xml:"deploymentOption" json:"deploymentOption" vim:"4.0"`
+ DeploymentOption string `xml:"deploymentOption" json:"deploymentOption"`
// An optional set of localization strings to be used.
//
// The server will use
@@ -58994,7 +59279,7 @@ type OvfManagerCommonParams struct {
// bundle (based on locale) and parsing the external string bundle. The
// passed in key/value pairs are looked up before any messages
// included in the OVF descriptor itself.
- MsgBundle []KeyValue `xml:"msgBundle,omitempty" json:"msgBundle,omitempty" vim:"4.0"`
+ MsgBundle []KeyValue `xml:"msgBundle,omitempty" json:"msgBundle,omitempty"`
// An optional argument for modifing the OVF parsing.
//
// When the server parses an OVF
@@ -59007,19 +59292,19 @@ type OvfManagerCommonParams struct {
}
func init() {
- minAPIVersionForType["OvfManagerCommonParams"] = "4.0"
t["OvfManagerCommonParams"] = reflect.TypeOf((*OvfManagerCommonParams)(nil)).Elem()
+ minAPIVersionForType["OvfManagerCommonParams"] = "4.0"
}
type OvfMappedOsId struct {
OvfImport
// The operating system id specified in the OVF descriptor.
- OvfId int32 `xml:"ovfId" json:"ovfId" vim:"4.0"`
+ OvfId int32 `xml:"ovfId" json:"ovfId"`
// The OS description specified in the OVF descriptor.
- OvfDescription string `xml:"ovfDescription" json:"ovfDescription" vim:"4.0"`
+ OvfDescription string `xml:"ovfDescription" json:"ovfDescription"`
// The display name of the target OS
- TargetDescription string `xml:"targetDescription" json:"targetDescription" vim:"4.0"`
+ TargetDescription string `xml:"targetDescription" json:"targetDescription"`
}
func init() {
@@ -59038,8 +59323,8 @@ type OvfMissingAttribute struct {
}
func init() {
- minAPIVersionForType["OvfMissingAttribute"] = "4.0"
t["OvfMissingAttribute"] = reflect.TypeOf((*OvfMissingAttribute)(nil)).Elem()
+ minAPIVersionForType["OvfMissingAttribute"] = "4.0"
}
type OvfMissingAttributeFault OvfMissingAttribute
@@ -59054,8 +59339,8 @@ type OvfMissingElement struct {
}
func init() {
- minAPIVersionForType["OvfMissingElement"] = "4.0"
t["OvfMissingElement"] = reflect.TypeOf((*OvfMissingElement)(nil)).Elem()
+ minAPIVersionForType["OvfMissingElement"] = "4.0"
}
type OvfMissingElementFault BaseOvfMissingElement
@@ -59069,12 +59354,12 @@ type OvfMissingElementNormalBoundary struct {
OvfMissingElement
// The missing bound
- Boundary string `xml:"boundary" json:"boundary" vim:"4.0"`
+ Boundary string `xml:"boundary" json:"boundary"`
}
func init() {
- minAPIVersionForType["OvfMissingElementNormalBoundary"] = "4.0"
t["OvfMissingElementNormalBoundary"] = reflect.TypeOf((*OvfMissingElementNormalBoundary)(nil)).Elem()
+ minAPIVersionForType["OvfMissingElementNormalBoundary"] = "4.0"
}
type OvfMissingElementNormalBoundaryFault OvfMissingElementNormalBoundary
@@ -59089,14 +59374,14 @@ type OvfMissingHardware struct {
OvfImport
// Name of the missing hardware.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// OVF rasd resource type of the missing hardware.
- ResourceType int32 `xml:"resourceType" json:"resourceType" vim:"4.0"`
+ ResourceType int32 `xml:"resourceType" json:"resourceType"`
}
func init() {
- minAPIVersionForType["OvfMissingHardware"] = "4.0"
t["OvfMissingHardware"] = reflect.TypeOf((*OvfMissingHardware)(nil)).Elem()
+ minAPIVersionForType["OvfMissingHardware"] = "4.0"
}
type OvfMissingHardwareFault OvfMissingHardware
@@ -59114,8 +59399,8 @@ type OvfNetworkInfo struct {
}
func init() {
- minAPIVersionForType["OvfNetworkInfo"] = "4.0"
t["OvfNetworkInfo"] = reflect.TypeOf((*OvfNetworkInfo)(nil)).Elem()
+ minAPIVersionForType["OvfNetworkInfo"] = "4.0"
}
// A NetworkMapping is a choice made by the caller about which VI network to use for a
@@ -59128,8 +59413,8 @@ type OvfNetworkMapping struct {
}
func init() {
- minAPIVersionForType["OvfNetworkMapping"] = "4.0"
t["OvfNetworkMapping"] = reflect.TypeOf((*OvfNetworkMapping)(nil)).Elem()
+ minAPIVersionForType["OvfNetworkMapping"] = "4.0"
}
// The network mapping provided for OVF Import
@@ -59139,8 +59424,8 @@ type OvfNetworkMappingNotSupported struct {
}
func init() {
- minAPIVersionForType["OvfNetworkMappingNotSupported"] = "5.1"
t["OvfNetworkMappingNotSupported"] = reflect.TypeOf((*OvfNetworkMappingNotSupported)(nil)).Elem()
+ minAPIVersionForType["OvfNetworkMappingNotSupported"] = "5.1"
}
type OvfNetworkMappingNotSupportedFault OvfNetworkMappingNotSupported
@@ -59155,8 +59440,8 @@ type OvfNoHostNic struct {
}
func init() {
- minAPIVersionForType["OvfNoHostNic"] = "4.0"
t["OvfNoHostNic"] = reflect.TypeOf((*OvfNoHostNic)(nil)).Elem()
+ minAPIVersionForType["OvfNoHostNic"] = "4.0"
}
type OvfNoHostNicFault OvfNoHostNic
@@ -59171,12 +59456,12 @@ type OvfNoSpaceOnController struct {
OvfUnsupportedElement
// The parent reference
- Parent string `xml:"parent" json:"parent" vim:"5.0"`
+ Parent string `xml:"parent" json:"parent"`
}
func init() {
- minAPIVersionForType["OvfNoSpaceOnController"] = "5.0"
t["OvfNoSpaceOnController"] = reflect.TypeOf((*OvfNoSpaceOnController)(nil)).Elem()
+ minAPIVersionForType["OvfNoSpaceOnController"] = "5.0"
}
type OvfNoSpaceOnControllerFault OvfNoSpaceOnController
@@ -59189,7 +59474,7 @@ type OvfNoSupportedHardwareFamily struct {
OvfUnsupportedPackage
// Version found that was not supported
- Version string `xml:"version" json:"version" vim:"4.0"`
+ Version string `xml:"version" json:"version"`
}
func init() {
@@ -59208,14 +59493,14 @@ type OvfOptionInfo struct {
DynamicData
// The name of the OVF option that is supported by the server
- Option string `xml:"option" json:"option" vim:"5.1"`
+ Option string `xml:"option" json:"option"`
// A description of the OVF option
- Description LocalizableMessage `xml:"description" json:"description" vim:"5.1"`
+ Description LocalizableMessage `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfOptionInfo"] = "5.1"
t["OvfOptionInfo"] = reflect.TypeOf((*OvfOptionInfo)(nil)).Elem()
+ minAPIVersionForType["OvfOptionInfo"] = "5.1"
}
type OvfParseDescriptorParams struct {
@@ -59230,50 +59515,50 @@ type OvfParseDescriptorResult struct {
DynamicData
// The list of all EULAs contained in the OVF
- Eula []string `xml:"eula,omitempty" json:"eula,omitempty" vim:"4.0"`
+ Eula []string `xml:"eula,omitempty" json:"eula,omitempty"`
// The list of networks required by the OVF
- Network []OvfNetworkInfo `xml:"network,omitempty" json:"network,omitempty" vim:"4.0"`
+ Network []OvfNetworkInfo `xml:"network,omitempty" json:"network,omitempty"`
// The kind of IP allocation supported by the guest.
//
// See `VAppIPAssignmentInfo`.
- IpAllocationScheme []string `xml:"ipAllocationScheme,omitempty" json:"ipAllocationScheme,omitempty" vim:"4.0"`
+ IpAllocationScheme []string `xml:"ipAllocationScheme,omitempty" json:"ipAllocationScheme,omitempty"`
// The IP protocols supported by the guest.
//
// See `VAppIPAssignmentInfo`.
- IpProtocols []string `xml:"ipProtocols,omitempty" json:"ipProtocols,omitempty" vim:"4.0"`
+ IpProtocols []string `xml:"ipProtocols,omitempty" json:"ipProtocols,omitempty"`
// Metadata about the properties contained in the OVF
- Property []VAppPropertyInfo `xml:"property,omitempty" json:"property,omitempty" vim:"4.0"`
+ Property []VAppPropertyInfo `xml:"property,omitempty" json:"property,omitempty"`
// The product info contained in the OVF
- ProductInfo *VAppProductInfo `xml:"productInfo,omitempty" json:"productInfo,omitempty" vim:"4.0"`
+ ProductInfo *VAppProductInfo `xml:"productInfo,omitempty" json:"productInfo,omitempty"`
// The annotation info contained in the OVF
- Annotation string `xml:"annotation" json:"annotation" vim:"4.0"`
+ Annotation string `xml:"annotation" json:"annotation"`
// The OVF Manager's best guess as to the total amount
// of data that must be transferred to download the entity.
//
// This may be inaccurate due to disk compression etc.
- ApproximateDownloadSize int64 `xml:"approximateDownloadSize,omitempty" json:"approximateDownloadSize,omitempty" vim:"4.0"`
+ ApproximateDownloadSize int64 `xml:"approximateDownloadSize,omitempty" json:"approximateDownloadSize,omitempty"`
// The OVF Manager's best guess as to the total amount of space required to deploy
// the entity if using flat disks.
- ApproximateFlatDeploymentSize int64 `xml:"approximateFlatDeploymentSize,omitempty" json:"approximateFlatDeploymentSize,omitempty" vim:"4.0"`
+ ApproximateFlatDeploymentSize int64 `xml:"approximateFlatDeploymentSize,omitempty" json:"approximateFlatDeploymentSize,omitempty"`
// The OVF Manager's best guess as to the total amount of space required to deploy
// the entity using sparse disks.
- ApproximateSparseDeploymentSize int64 `xml:"approximateSparseDeploymentSize,omitempty" json:"approximateSparseDeploymentSize,omitempty" vim:"4.0"`
+ ApproximateSparseDeploymentSize int64 `xml:"approximateSparseDeploymentSize,omitempty" json:"approximateSparseDeploymentSize,omitempty"`
// The default name to use for the entity, if a product name is not
// specified.
//
// This is the ID of the OVF top-level entity, or taken from a
// ProductSection.
- DefaultEntityName string `xml:"defaultEntityName" json:"defaultEntityName" vim:"4.0"`
+ DefaultEntityName string `xml:"defaultEntityName" json:"defaultEntityName"`
// True if the OVF contains a vApp (containing one or more vApps
// and/or virtual machines), as opposed to a single virtual machine.
- VirtualApp bool `xml:"virtualApp" json:"virtualApp" vim:"4.0"`
+ VirtualApp bool `xml:"virtualApp" json:"virtualApp"`
// The list of possible deployment options.
- DeploymentOption []OvfDeploymentOption `xml:"deploymentOption,omitempty" json:"deploymentOption,omitempty" vim:"4.0"`
+ DeploymentOption []OvfDeploymentOption `xml:"deploymentOption,omitempty" json:"deploymentOption,omitempty"`
// The key of the default deployment option.
//
// Empty only if there are no
// deployment options.
- DefaultDeploymentOption string `xml:"defaultDeploymentOption" json:"defaultDeploymentOption" vim:"4.0"`
+ DefaultDeploymentOption string `xml:"defaultDeploymentOption" json:"defaultDeploymentOption"`
// A list of the child entities contained in this package
// and their location in the vApp hierarchy.
//
@@ -59300,13 +59585,13 @@ type OvfParseDescriptorResult struct {
// For example, during export, devices could be
// missing (in which case this array will contain one
// or more instances of Unsupported-/UnknownDevice).
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
// Non-fatal warnings from the processing.
//
// The result will be valid, but the
// user may choose to reject it based on these
// warnings.
- Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty" vim:"4.0"`
+ Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
}
func init() {
@@ -59318,14 +59603,14 @@ type OvfProperty struct {
OvfInvalidPackage
// The type of the property
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// The value of the property
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfProperty"] = "4.0"
t["OvfProperty"] = reflect.TypeOf((*OvfProperty)(nil)).Elem()
+ minAPIVersionForType["OvfProperty"] = "4.0"
}
// VIM property type that can not be converted to OVF
@@ -59333,14 +59618,14 @@ type OvfPropertyExport struct {
OvfExport
// VIM type
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// VIM value
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfPropertyExport"] = "4.0"
t["OvfPropertyExport"] = reflect.TypeOf((*OvfPropertyExport)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyExport"] = "4.0"
}
type OvfPropertyExportFault OvfPropertyExport
@@ -59361,8 +59646,8 @@ type OvfPropertyNetwork struct {
}
func init() {
- minAPIVersionForType["OvfPropertyNetwork"] = "4.0"
t["OvfPropertyNetwork"] = reflect.TypeOf((*OvfPropertyNetwork)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyNetwork"] = "4.0"
}
// VIM property type that refers to a network that
@@ -59372,12 +59657,12 @@ type OvfPropertyNetworkExport struct {
OvfExport
// name of network
- Network string `xml:"network" json:"network" vim:"5.0"`
+ Network string `xml:"network" json:"network"`
}
func init() {
- minAPIVersionForType["OvfPropertyNetworkExport"] = "5.0"
t["OvfPropertyNetworkExport"] = reflect.TypeOf((*OvfPropertyNetworkExport)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyNetworkExport"] = "5.0"
}
type OvfPropertyNetworkExportFault OvfPropertyNetworkExport
@@ -59397,12 +59682,12 @@ type OvfPropertyQualifier struct {
OvfProperty
// qualifiers
- Qualifier string `xml:"qualifier" json:"qualifier" vim:"4.0"`
+ Qualifier string `xml:"qualifier" json:"qualifier"`
}
func init() {
- minAPIVersionForType["OvfPropertyQualifier"] = "4.0"
t["OvfPropertyQualifier"] = reflect.TypeOf((*OvfPropertyQualifier)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyQualifier"] = "4.0"
}
// Indicate that a property qualifier was duplicated.
@@ -59410,12 +59695,12 @@ type OvfPropertyQualifierDuplicate struct {
OvfProperty
// qualifiers
- Qualifier string `xml:"qualifier" json:"qualifier" vim:"4.0"`
+ Qualifier string `xml:"qualifier" json:"qualifier"`
}
func init() {
- minAPIVersionForType["OvfPropertyQualifierDuplicate"] = "4.0"
t["OvfPropertyQualifierDuplicate"] = reflect.TypeOf((*OvfPropertyQualifierDuplicate)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyQualifierDuplicate"] = "4.0"
}
type OvfPropertyQualifierDuplicateFault OvfPropertyQualifierDuplicate
@@ -59435,12 +59720,12 @@ type OvfPropertyQualifierIgnored struct {
OvfProperty
// qualifiers
- Qualifier string `xml:"qualifier" json:"qualifier" vim:"4.0"`
+ Qualifier string `xml:"qualifier" json:"qualifier"`
}
func init() {
- minAPIVersionForType["OvfPropertyQualifierIgnored"] = "4.0"
t["OvfPropertyQualifierIgnored"] = reflect.TypeOf((*OvfPropertyQualifierIgnored)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyQualifierIgnored"] = "4.0"
}
type OvfPropertyQualifierIgnoredFault OvfPropertyQualifierIgnored
@@ -59455,8 +59740,8 @@ type OvfPropertyType struct {
}
func init() {
- minAPIVersionForType["OvfPropertyType"] = "4.0"
t["OvfPropertyType"] = reflect.TypeOf((*OvfPropertyType)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyType"] = "4.0"
}
type OvfPropertyTypeFault OvfPropertyType
@@ -59471,8 +59756,8 @@ type OvfPropertyValue struct {
}
func init() {
- minAPIVersionForType["OvfPropertyValue"] = "4.0"
t["OvfPropertyValue"] = reflect.TypeOf((*OvfPropertyValue)(nil)).Elem()
+ minAPIVersionForType["OvfPropertyValue"] = "4.0"
}
type OvfPropertyValueFault OvfPropertyValue
@@ -59498,7 +59783,7 @@ type OvfResourceMap struct {
// VirtualSystemCollection of the OVF.
// This is a path created by concatenating the OVF ids for each entity, e.g., "vm1",
// "WebTier/vm2", etc.
- Source string `xml:"source" json:"source" vim:"4.1"`
+ Source string `xml:"source" json:"source"`
// The parent resource pool to use for the entity.
//
// This must specify a
@@ -59506,13 +59791,13 @@ type OvfResourceMap struct {
// child (as opposed to a direct child) is created for the vApp.
//
// Refers instance of `ResourcePool`.
- Parent *ManagedObjectReference `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.1"`
+ Parent *ManagedObjectReference `xml:"parent,omitempty" json:"parent,omitempty"`
// An optional resource configuration for the created entity.
//
// If
// not specified, the resource configuration given in the OVF descriptor
// is used.
- ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty" vim:"4.1"`
+ ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty"`
// A client can optionally specify a datastore location in the resource map to
// override the default datastore passed into `OvfManager.CreateImportSpec` field.
//
@@ -59520,12 +59805,12 @@ type OvfResourceMap struct {
// datastores.
//
// Refers instance of `Datastore`.
- Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty" vim:"4.1"`
+ Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty"`
}
func init() {
- minAPIVersionForType["OvfResourceMap"] = "4.1"
t["OvfResourceMap"] = reflect.TypeOf((*OvfResourceMap)(nil)).Elem()
+ minAPIVersionForType["OvfResourceMap"] = "4.1"
}
// A common base class to host all the OVF subsystems's system faults.
@@ -59538,8 +59823,8 @@ type OvfSystemFault struct {
}
func init() {
- minAPIVersionForType["OvfSystemFault"] = "4.0"
t["OvfSystemFault"] = reflect.TypeOf((*OvfSystemFault)(nil)).Elem()
+ minAPIVersionForType["OvfSystemFault"] = "4.0"
}
type OvfSystemFaultFault BaseOvfSystemFault
@@ -59553,12 +59838,12 @@ type OvfToXmlUnsupportedElement struct {
OvfSystemFault
// The name of the xml element we could not write to the xml descriptor
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
}
func init() {
- minAPIVersionForType["OvfToXmlUnsupportedElement"] = "4.0"
t["OvfToXmlUnsupportedElement"] = reflect.TypeOf((*OvfToXmlUnsupportedElement)(nil)).Elem()
+ minAPIVersionForType["OvfToXmlUnsupportedElement"] = "4.0"
}
type OvfToXmlUnsupportedElementFault OvfToXmlUnsupportedElement
@@ -59571,7 +59856,7 @@ type OvfUnableToExportDisk struct {
OvfHardwareExport
// disk name
- DiskName string `xml:"diskName" json:"diskName" vim:"4.0"`
+ DiskName string `xml:"diskName" json:"diskName"`
}
func init() {
@@ -59590,8 +59875,8 @@ type OvfUnexpectedElement struct {
}
func init() {
- minAPIVersionForType["OvfUnexpectedElement"] = "4.0"
t["OvfUnexpectedElement"] = reflect.TypeOf((*OvfUnexpectedElement)(nil)).Elem()
+ minAPIVersionForType["OvfUnexpectedElement"] = "4.0"
}
type OvfUnexpectedElementFault OvfUnexpectedElement
@@ -59604,9 +59889,9 @@ type OvfUnknownDevice struct {
OvfSystemFault
// The unknown device
- Device BaseVirtualDevice `xml:"device,omitempty,typeattr" json:"device,omitempty" vim:"4.0"`
+ Device BaseVirtualDevice `xml:"device,omitempty,typeattr" json:"device,omitempty"`
// The name of the Virtual Machine containing the unkown device
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
@@ -59617,7 +59902,7 @@ type OvfUnknownDeviceBacking struct {
OvfHardwareExport
// The VirtualDevice BackingInfo that is not supported by OVF export.
- Backing BaseVirtualDeviceBackingInfo `xml:"backing,typeattr" json:"backing" vim:"4.0"`
+ Backing BaseVirtualDeviceBackingInfo `xml:"backing,typeattr" json:"backing"`
}
func init() {
@@ -59640,7 +59925,7 @@ type OvfUnknownEntity struct {
OvfSystemFault
// line number where the unknown entity was found
- LineNumber int32 `xml:"lineNumber" json:"lineNumber" vim:"4.0"`
+ LineNumber int32 `xml:"lineNumber" json:"lineNumber"`
}
func init() {
@@ -59658,14 +59943,14 @@ type OvfUnsupportedAttribute struct {
OvfUnsupportedPackage
// The name of the element with the unsupported attribute
- ElementName string `xml:"elementName" json:"elementName" vim:"4.0"`
+ ElementName string `xml:"elementName" json:"elementName"`
// The name of the unsupported attribute
- AttributeName string `xml:"attributeName" json:"attributeName" vim:"4.0"`
+ AttributeName string `xml:"attributeName" json:"attributeName"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedAttribute"] = "4.0"
t["OvfUnsupportedAttribute"] = reflect.TypeOf((*OvfUnsupportedAttribute)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedAttribute"] = "4.0"
}
type OvfUnsupportedAttributeFault BaseOvfUnsupportedAttribute
@@ -59679,12 +59964,12 @@ type OvfUnsupportedAttributeValue struct {
OvfUnsupportedAttribute
// Unsupported attribute value
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedAttributeValue"] = "4.0"
t["OvfUnsupportedAttributeValue"] = reflect.TypeOf((*OvfUnsupportedAttributeValue)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedAttributeValue"] = "4.0"
}
type OvfUnsupportedAttributeValueFault OvfUnsupportedAttributeValue
@@ -59697,13 +59982,13 @@ type OvfUnsupportedDeviceBackingInfo struct {
OvfSystemFault
// The element name
- ElementName string `xml:"elementName,omitempty" json:"elementName,omitempty" vim:"4.0"`
+ ElementName string `xml:"elementName,omitempty" json:"elementName,omitempty"`
// The InstanceId on the hardware description
- InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty" vim:"4.0"`
+ InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty"`
// The device name
- DeviceName string `xml:"deviceName" json:"deviceName" vim:"4.0"`
+ DeviceName string `xml:"deviceName" json:"deviceName"`
// The name of the VirtualDevice Backing Info not supported on the device.
- BackingName string `xml:"backingName,omitempty" json:"backingName,omitempty" vim:"4.0"`
+ BackingName string `xml:"backingName,omitempty" json:"backingName,omitempty"`
}
func init() {
@@ -59720,13 +60005,13 @@ type OvfUnsupportedDeviceBackingOption struct {
OvfSystemFault
// The element name
- ElementName string `xml:"elementName,omitempty" json:"elementName,omitempty" vim:"4.0"`
+ ElementName string `xml:"elementName,omitempty" json:"elementName,omitempty"`
// The InstanceId for the hardware element
- InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty" vim:"4.0"`
+ InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty"`
// The device name
- DeviceName string `xml:"deviceName" json:"deviceName" vim:"4.0"`
+ DeviceName string `xml:"deviceName" json:"deviceName"`
// The name of the VirtualDevice Backing Option not supported on the device.
- BackingName string `xml:"backingName,omitempty" json:"backingName,omitempty" vim:"4.0"`
+ BackingName string `xml:"backingName,omitempty" json:"backingName,omitempty"`
}
func init() {
@@ -59758,14 +60043,14 @@ type OvfUnsupportedDiskProvisioning struct {
OvfImport
// The disk provisioning that was not supported.
- DiskProvisioning string `xml:"diskProvisioning" json:"diskProvisioning" vim:"4.1"`
+ DiskProvisioning string `xml:"diskProvisioning" json:"diskProvisioning"`
// Disk modes supported by the host.
- SupportedDiskProvisioning string `xml:"supportedDiskProvisioning" json:"supportedDiskProvisioning" vim:"4.1"`
+ SupportedDiskProvisioning string `xml:"supportedDiskProvisioning" json:"supportedDiskProvisioning"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedDiskProvisioning"] = "4.1"
t["OvfUnsupportedDiskProvisioning"] = reflect.TypeOf((*OvfUnsupportedDiskProvisioning)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedDiskProvisioning"] = "4.1"
}
type OvfUnsupportedDiskProvisioningFault OvfUnsupportedDiskProvisioning
@@ -59779,12 +60064,12 @@ type OvfUnsupportedElement struct {
OvfUnsupportedPackage
// The name of the unsupported element
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedElement"] = "4.0"
t["OvfUnsupportedElement"] = reflect.TypeOf((*OvfUnsupportedElement)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedElement"] = "4.0"
}
type OvfUnsupportedElementFault BaseOvfUnsupportedElement
@@ -59799,12 +60084,12 @@ type OvfUnsupportedElementValue struct {
OvfUnsupportedElement
// The unsupported element value
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedElementValue"] = "4.0"
t["OvfUnsupportedElementValue"] = reflect.TypeOf((*OvfUnsupportedElementValue)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedElementValue"] = "4.0"
}
type OvfUnsupportedElementValueFault OvfUnsupportedElementValue
@@ -59818,12 +60103,12 @@ type OvfUnsupportedPackage struct {
OvfFault
// OVF descriptor linenumber
- LineNumber int32 `xml:"lineNumber,omitempty" json:"lineNumber,omitempty" vim:"4.0"`
+ LineNumber int32 `xml:"lineNumber,omitempty" json:"lineNumber,omitempty"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedPackage"] = "4.0"
t["OvfUnsupportedPackage"] = reflect.TypeOf((*OvfUnsupportedPackage)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedPackage"] = "4.0"
}
type OvfUnsupportedPackageFault BaseOvfUnsupportedPackage
@@ -59837,12 +60122,12 @@ type OvfUnsupportedSection struct {
OvfUnsupportedElement
// The info of the unsupported section
- Info string `xml:"info" json:"info" vim:"4.0"`
+ Info string `xml:"info" json:"info"`
}
func init() {
- minAPIVersionForType["OvfUnsupportedSection"] = "4.0"
t["OvfUnsupportedSection"] = reflect.TypeOf((*OvfUnsupportedSection)(nil)).Elem()
+ minAPIVersionForType["OvfUnsupportedSection"] = "4.0"
}
type OvfUnsupportedSectionFault OvfUnsupportedSection
@@ -59855,13 +60140,13 @@ type OvfUnsupportedSubType struct {
OvfUnsupportedPackage
// The name of the element with the unsupported type
- ElementName string `xml:"elementName" json:"elementName" vim:"4.0"`
+ ElementName string `xml:"elementName" json:"elementName"`
// The OVF RASD InstanceId for the hardware description
- InstanceId string `xml:"instanceId" json:"instanceId" vim:"4.0"`
+ InstanceId string `xml:"instanceId" json:"instanceId"`
// The device type
- DeviceType int32 `xml:"deviceType" json:"deviceType" vim:"4.0"`
+ DeviceType int32 `xml:"deviceType" json:"deviceType"`
// The device subtype that is unsupported
- DeviceSubType string `xml:"deviceSubType" json:"deviceSubType" vim:"4.0"`
+ DeviceSubType string `xml:"deviceSubType" json:"deviceSubType"`
}
func init() {
@@ -59878,11 +60163,11 @@ type OvfUnsupportedType struct {
OvfUnsupportedPackage
// The name of the element with the unsupported type
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// The OVF RASD InstanceId for the hardware description
- InstanceId string `xml:"instanceId" json:"instanceId" vim:"4.0"`
+ InstanceId string `xml:"instanceId" json:"instanceId"`
// The device type that is unsupported
- DeviceType int32 `xml:"deviceType" json:"deviceType" vim:"4.0"`
+ DeviceType int32 `xml:"deviceType" json:"deviceType"`
}
func init() {
@@ -59909,19 +60194,19 @@ type OvfValidateHostResult struct {
// The total amount of data that must be transferred to download the entity.
//
// This may be inaccurate due to disk compression etc.
- DownloadSize int64 `xml:"downloadSize,omitempty" json:"downloadSize,omitempty" vim:"4.0"`
+ DownloadSize int64 `xml:"downloadSize,omitempty" json:"downloadSize,omitempty"`
// The total amount of space required to deploy the entity if using flat disks.
- FlatDeploymentSize int64 `xml:"flatDeploymentSize,omitempty" json:"flatDeploymentSize,omitempty" vim:"4.0"`
+ FlatDeploymentSize int64 `xml:"flatDeploymentSize,omitempty" json:"flatDeploymentSize,omitempty"`
// The total amount of space required to deploy the entity using sparse disks,
// if known.
- SparseDeploymentSize int64 `xml:"sparseDeploymentSize,omitempty" json:"sparseDeploymentSize,omitempty" vim:"4.0"`
+ SparseDeploymentSize int64 `xml:"sparseDeploymentSize,omitempty" json:"sparseDeploymentSize,omitempty"`
// Errors that happened during validation.
//
// The presence of faults in this list
// indicates that the validation failed.
- Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
// Non-fatal warnings from the validation.
- Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty" vim:"4.0"`
+ Warning []LocalizedMethodFault `xml:"warning,omitempty" json:"warning,omitempty"`
// An array of the disk provisioning type supported by the target host system.
SupportedDiskProvisioning []string `xml:"supportedDiskProvisioning,omitempty" json:"supportedDiskProvisioning,omitempty" vim:"4.1"`
}
@@ -59936,8 +60221,8 @@ type OvfWrongElement struct {
}
func init() {
- minAPIVersionForType["OvfWrongElement"] = "4.0"
t["OvfWrongElement"] = reflect.TypeOf((*OvfWrongElement)(nil)).Elem()
+ minAPIVersionForType["OvfWrongElement"] = "4.0"
}
type OvfWrongElementFault OvfWrongElement
@@ -59952,12 +60237,12 @@ type OvfWrongNamespace struct {
OvfInvalidPackage
// The name of the invalid namespace
- NamespaceName string `xml:"namespaceName" json:"namespaceName" vim:"4.0"`
+ NamespaceName string `xml:"namespaceName" json:"namespaceName"`
}
func init() {
- minAPIVersionForType["OvfWrongNamespace"] = "4.0"
t["OvfWrongNamespace"] = reflect.TypeOf((*OvfWrongNamespace)(nil)).Elem()
+ minAPIVersionForType["OvfWrongNamespace"] = "4.0"
}
type OvfWrongNamespaceFault OvfWrongNamespace
@@ -59973,12 +60258,12 @@ type OvfXmlFormat struct {
// Description of the XML parser error
//
// High level error description
- Description string `xml:"description" json:"description" vim:"4.0"`
+ Description string `xml:"description" json:"description"`
}
func init() {
- minAPIVersionForType["OvfXmlFormat"] = "4.0"
t["OvfXmlFormat"] = reflect.TypeOf((*OvfXmlFormat)(nil)).Elem()
+ minAPIVersionForType["OvfXmlFormat"] = "4.0"
}
type OvfXmlFormatFault OvfXmlFormat
@@ -60004,8 +60289,8 @@ type ParaVirtualSCSIController struct {
}
func init() {
- minAPIVersionForType["ParaVirtualSCSIController"] = "4.0"
t["ParaVirtualSCSIController"] = reflect.TypeOf((*ParaVirtualSCSIController)(nil)).Elem()
+ minAPIVersionForType["ParaVirtualSCSIController"] = "2.5 U2"
}
// ParaVirtualSCSIControllerOption is the data object that contains
@@ -60015,8 +60300,8 @@ type ParaVirtualSCSIControllerOption struct {
}
func init() {
- minAPIVersionForType["ParaVirtualSCSIControllerOption"] = "4.0"
t["ParaVirtualSCSIControllerOption"] = reflect.TypeOf((*ParaVirtualSCSIControllerOption)(nil)).Elem()
+ minAPIVersionForType["ParaVirtualSCSIControllerOption"] = "2.5 U2"
}
type ParseDescriptor ParseDescriptorRequestType
@@ -60032,7 +60317,7 @@ type ParseDescriptorRequestType struct {
OvfDescriptor string `xml:"ovfDescriptor" json:"ovfDescriptor"`
// Additional parameters for parseDescriptor, wrapped in an instance of
// ParseDescriptorParams.
- Pdp OvfParseDescriptorParams `xml:"pdp" json:"pdp" vim:"4.0"`
+ Pdp OvfParseDescriptorParams `xml:"pdp" json:"pdp"`
}
func init() {
@@ -60053,12 +60338,12 @@ type PassiveNodeDeploymentSpec struct {
//
// If not specified, it will assume the public
// IP address of the Active vCenter Server.
- FailoverIpSettings *CustomizationIPSettings `xml:"failoverIpSettings,omitempty" json:"failoverIpSettings,omitempty" vim:"6.5"`
+ FailoverIpSettings *CustomizationIPSettings `xml:"failoverIpSettings,omitempty" json:"failoverIpSettings,omitempty"`
}
func init() {
- minAPIVersionForType["PassiveNodeDeploymentSpec"] = "6.5"
t["PassiveNodeDeploymentSpec"] = reflect.TypeOf((*PassiveNodeDeploymentSpec)(nil)).Elem()
+ minAPIVersionForType["PassiveNodeDeploymentSpec"] = "6.5"
}
// The PassiveNodeNetworkSpec class defines VCHA Failover and Cluster
@@ -60071,12 +60356,12 @@ type PassiveNodeNetworkSpec struct {
//
// If not specified, it will assume the public
// IP address of the Active vCenter Server.
- FailoverIpSettings *CustomizationIPSettings `xml:"failoverIpSettings,omitempty" json:"failoverIpSettings,omitempty" vim:"6.5"`
+ FailoverIpSettings *CustomizationIPSettings `xml:"failoverIpSettings,omitempty" json:"failoverIpSettings,omitempty"`
}
func init() {
- minAPIVersionForType["PassiveNodeNetworkSpec"] = "6.5"
t["PassiveNodeNetworkSpec"] = reflect.TypeOf((*PassiveNodeNetworkSpec)(nil)).Elem()
+ minAPIVersionForType["PassiveNodeNetworkSpec"] = "6.5"
}
// Thrown when a server login fails due to expired user password.
@@ -60085,8 +60370,8 @@ type PasswordExpired struct {
}
func init() {
- minAPIVersionForType["PasswordExpired"] = "6.7.2"
t["PasswordExpired"] = reflect.TypeOf((*PasswordExpired)(nil)).Elem()
+ minAPIVersionForType["PasswordExpired"] = "6.7.2"
}
type PasswordExpiredFault PasswordExpired
@@ -60105,8 +60390,8 @@ type PasswordField struct {
}
func init() {
- minAPIVersionForType["PasswordField"] = "4.0"
t["PasswordField"] = reflect.TypeOf((*PasswordField)(nil)).Elem()
+ minAPIVersionForType["PasswordField"] = "4.0"
}
// This fault is thrown if a patch install fails because the patch
@@ -60850,7 +61135,7 @@ type PerformDvsProductSpecOperationRequestType struct {
// is valid.
Operation string `xml:"operation" json:"operation"`
// The product info of the implementation.
- ProductSpec *DistributedVirtualSwitchProductSpec `xml:"productSpec,omitempty" json:"productSpec,omitempty" vim:"4.0"`
+ ProductSpec *DistributedVirtualSwitchProductSpec `xml:"productSpec,omitempty" json:"productSpec,omitempty"`
}
func init() {
@@ -60969,22 +61254,22 @@ type PerformanceManagerCounterLevelMapping struct {
DynamicData
// The counter Id
- CounterId int32 `xml:"counterId" json:"counterId" vim:"4.1"`
+ CounterId int32 `xml:"counterId" json:"counterId"`
// Level for the aggregate counter.
//
// If not set then the value is not
// changed when updateCounterLevelMapping is called.
- AggregateLevel int32 `xml:"aggregateLevel,omitempty" json:"aggregateLevel,omitempty" vim:"4.1"`
+ AggregateLevel int32 `xml:"aggregateLevel,omitempty" json:"aggregateLevel,omitempty"`
// Level for the per device counter.
//
// If not set then the value is not
// changed when updateCounterLevelMapping is called.
- PerDeviceLevel int32 `xml:"perDeviceLevel,omitempty" json:"perDeviceLevel,omitempty" vim:"4.1"`
+ PerDeviceLevel int32 `xml:"perDeviceLevel,omitempty" json:"perDeviceLevel,omitempty"`
}
func init() {
- minAPIVersionForType["PerformanceManagerCounterLevelMapping"] = "4.1"
t["PerformanceManagerCounterLevelMapping"] = reflect.TypeOf((*PerformanceManagerCounterLevelMapping)(nil)).Elem()
+ minAPIVersionForType["PerformanceManagerCounterLevelMapping"] = "4.1"
}
// Data object to capture all information needed to
@@ -60997,12 +61282,12 @@ type PerformanceStatisticsDescription struct {
// Default value is the same as the historic
// interval settings of the current instance
// of running VC.
- Intervals []PerfInterval `xml:"intervals,omitempty" json:"intervals,omitempty" vim:"4.0"`
+ Intervals []PerfInterval `xml:"intervals,omitempty" json:"intervals,omitempty"`
}
func init() {
- minAPIVersionForType["PerformanceStatisticsDescription"] = "4.0"
t["PerformanceStatisticsDescription"] = reflect.TypeOf((*PerformanceStatisticsDescription)(nil)).Elem()
+ minAPIVersionForType["PerformanceStatisticsDescription"] = "4.0"
}
// This data object type provides assignment of some role access to
@@ -61083,8 +61368,8 @@ type PermissionProfile struct {
}
func init() {
- minAPIVersionForType["PermissionProfile"] = "4.1"
t["PermissionProfile"] = reflect.TypeOf((*PermissionProfile)(nil)).Elem()
+ minAPIVersionForType["PermissionProfile"] = "4.1"
}
// This event records the removal of a permission.
@@ -61148,9 +61433,9 @@ type PhysicalNic struct {
// From command line: esxcli network nic get
Driver string `xml:"driver,omitempty" json:"driver,omitempty"`
// The version of the physical network adapter operating system driver.
- DriverVersion string `xml:"driverVersion,omitempty" json:"driverVersion,omitempty"`
+ DriverVersion string `xml:"driverVersion,omitempty" json:"driverVersion,omitempty" vim:"8.0.0.1"`
// The version of the firmware running in the network adapter.
- FirmwareVersion string `xml:"firmwareVersion,omitempty" json:"firmwareVersion,omitempty"`
+ FirmwareVersion string `xml:"firmwareVersion,omitempty" json:"firmwareVersion,omitempty" vim:"8.0.0.1"`
// The current link state of the physical network adapter.
//
// If this object is not set, then the link is down.
@@ -61224,7 +61509,7 @@ type PhysicalNic struct {
// The identifier of the DPU by which the physical NIC is backed.
//
// When physical NIC is not backed by DPU, dpuId will be unset.
- DpuId string `xml:"dpuId,omitempty" json:"dpuId,omitempty"`
+ DpuId string `xml:"dpuId,omitempty" json:"dpuId,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -61239,33 +61524,33 @@ type PhysicalNicCdpDeviceCapability struct {
// The CDP-awared device has the capability of a routing for
// at least one network layer protocol
- Router bool `xml:"router" json:"router" vim:"2.5"`
+ Router bool `xml:"router" json:"router"`
// The CDP-awared device has the capability of transparent
// bridging
- TransparentBridge bool `xml:"transparentBridge" json:"transparentBridge" vim:"2.5"`
+ TransparentBridge bool `xml:"transparentBridge" json:"transparentBridge"`
// The CDP-awared device has the capability of source-route
// bridging
- SourceRouteBridge bool `xml:"sourceRouteBridge" json:"sourceRouteBridge" vim:"2.5"`
+ SourceRouteBridge bool `xml:"sourceRouteBridge" json:"sourceRouteBridge"`
// The CDP-awared device has the capability of switching.
//
// The
// difference between this capability and transparentBridge is
// that a switch does not run the Spanning-Tree Protocol. This
// device is assumed to be deployed in a physical loop-free topology.
- NetworkSwitch bool `xml:"networkSwitch" json:"networkSwitch" vim:"2.5"`
+ NetworkSwitch bool `xml:"networkSwitch" json:"networkSwitch"`
// The CDP-awared device has the capability of a host, which
// Sends and receives packets for at least one network layer protocol.
- Host bool `xml:"host" json:"host" vim:"2.5"`
+ Host bool `xml:"host" json:"host"`
// The CDP-awared device is IGMP-enabled, which does not forward IGMP
// Report packets on nonrouter ports.
- IgmpEnabled bool `xml:"igmpEnabled" json:"igmpEnabled" vim:"2.5"`
+ IgmpEnabled bool `xml:"igmpEnabled" json:"igmpEnabled"`
// The CDP-awared device has the capability of a repeater
- Repeater bool `xml:"repeater" json:"repeater" vim:"2.5"`
+ Repeater bool `xml:"repeater" json:"repeater"`
}
func init() {
- minAPIVersionForType["PhysicalNicCdpDeviceCapability"] = "2.5"
t["PhysicalNicCdpDeviceCapability"] = reflect.TypeOf((*PhysicalNicCdpDeviceCapability)(nil)).Elem()
+ minAPIVersionForType["PhysicalNicCdpDeviceCapability"] = "2.5"
}
// CDP (Cisco Discovery Protocol) is a link level protocol that allows
@@ -61284,83 +61569,83 @@ type PhysicalNicCdpInfo struct {
// CDP version.
//
// The value is always 1.
- CdpVersion int32 `xml:"cdpVersion,omitempty" json:"cdpVersion,omitempty" vim:"2.5"`
+ CdpVersion int32 `xml:"cdpVersion,omitempty" json:"cdpVersion,omitempty"`
// This is the periodicity of advertisement, the time between two
// successive CDP message transmissions
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"2.5"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
// Time-To-Live.
//
// the amount of time, in seconds, that a receiver should
// retain the information contained in the CDP packet.
- Ttl int32 `xml:"ttl,omitempty" json:"ttl,omitempty" vim:"2.5"`
+ Ttl int32 `xml:"ttl,omitempty" json:"ttl,omitempty"`
// The number of CDP messages we have received from the device.
- Samples int32 `xml:"samples,omitempty" json:"samples,omitempty" vim:"2.5"`
+ Samples int32 `xml:"samples,omitempty" json:"samples,omitempty"`
// Device ID which identifies the device.
//
// By default, the device ID is
// either the device's fully-qualified host name (including the domain
// name) or the device's hardware serial number in ASCII.
- DevId string `xml:"devId,omitempty" json:"devId,omitempty" vim:"2.5"`
+ DevId string `xml:"devId,omitempty" json:"devId,omitempty"`
// The advertised IP address that is assigned to the interface of the device
// on which the CDP message is sent.
//
// The device can advertise all addresses for
// a given protocol suite and, optionally, can advertise one or more loopback
// IP addresses. But this property only show the first address.
- Address string `xml:"address,omitempty" json:"address,omitempty" vim:"2.5"`
+ Address string `xml:"address,omitempty" json:"address,omitempty"`
// Port ID.
//
// An ASCII character string that identifies the port on which
// the CDP message is sent, e.g. "FastEthernet0/8"
- PortId string `xml:"portId,omitempty" json:"portId,omitempty" vim:"2.5"`
+ PortId string `xml:"portId,omitempty" json:"portId,omitempty"`
// Device Capability
// `PhysicalNicCdpDeviceCapability`
- DeviceCapability *PhysicalNicCdpDeviceCapability `xml:"deviceCapability,omitempty" json:"deviceCapability,omitempty" vim:"2.5"`
+ DeviceCapability *PhysicalNicCdpDeviceCapability `xml:"deviceCapability,omitempty" json:"deviceCapability,omitempty"`
// Software version on the device.
//
// A character string that provides
// information about the software release version that the device is
// running. e.g. "Cisco Internetwork Operating Syscisco WS-C2940-8TT-S"
- SoftwareVersion string `xml:"softwareVersion,omitempty" json:"softwareVersion,omitempty" vim:"2.5"`
+ SoftwareVersion string `xml:"softwareVersion,omitempty" json:"softwareVersion,omitempty"`
// Hardware platform.
//
// An ASCII character string that describes the
// hardware platform of the device , e.g. "cisco WS-C2940-8TT-S"
- HardwarePlatform string `xml:"hardwarePlatform,omitempty" json:"hardwarePlatform,omitempty" vim:"2.5"`
+ HardwarePlatform string `xml:"hardwarePlatform,omitempty" json:"hardwarePlatform,omitempty"`
// IP prefix.
//
// Each IP prefix represents one of the directly connected
// IP network segments of the local route.
- IpPrefix string `xml:"ipPrefix,omitempty" json:"ipPrefix,omitempty" vim:"2.5"`
+ IpPrefix string `xml:"ipPrefix,omitempty" json:"ipPrefix,omitempty"`
// ipPrefix length.
- IpPrefixLen int32 `xml:"ipPrefixLen,omitempty" json:"ipPrefixLen,omitempty" vim:"2.5"`
+ IpPrefixLen int32 `xml:"ipPrefixLen,omitempty" json:"ipPrefixLen,omitempty"`
// The native VLAN of advertising port.
//
// The native VLAN is the VLAN to
// which a port returns when it is not trunking. Also, the native VLAN
// is the untagged VLAN on an 802.1Q trunk.
- Vlan int32 `xml:"vlan,omitempty" json:"vlan,omitempty" vim:"2.5"`
+ Vlan int32 `xml:"vlan,omitempty" json:"vlan,omitempty"`
// Half/full duplex setting of the advertising port.
- FullDuplex *bool `xml:"fullDuplex" json:"fullDuplex,omitempty" vim:"2.5"`
+ FullDuplex *bool `xml:"fullDuplex" json:"fullDuplex,omitempty"`
// MTU, the maximum transmission unit for the advertising port.
//
// Possible
// values are 1500 through 18190.
- Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty" vim:"2.5"`
+ Mtu int32 `xml:"mtu,omitempty" json:"mtu,omitempty"`
// The configured SNMP system name of the device.
- SystemName string `xml:"systemName,omitempty" json:"systemName,omitempty" vim:"2.5"`
+ SystemName string `xml:"systemName,omitempty" json:"systemName,omitempty"`
// The configured SNMP system OID of the device.
- SystemOID string `xml:"systemOID,omitempty" json:"systemOID,omitempty" vim:"2.5"`
+ SystemOID string `xml:"systemOID,omitempty" json:"systemOID,omitempty"`
// The configured IP address of the SNMP management interface for the
// device.
- MgmtAddr string `xml:"mgmtAddr,omitempty" json:"mgmtAddr,omitempty" vim:"2.5"`
+ MgmtAddr string `xml:"mgmtAddr,omitempty" json:"mgmtAddr,omitempty"`
// The configured location of the device.
- Location string `xml:"location,omitempty" json:"location,omitempty" vim:"2.5"`
+ Location string `xml:"location,omitempty" json:"location,omitempty"`
}
func init() {
- minAPIVersionForType["PhysicalNicCdpInfo"] = "2.5"
t["PhysicalNicCdpInfo"] = reflect.TypeOf((*PhysicalNicCdpInfo)(nil)).Elem()
+ minAPIVersionForType["PhysicalNicCdpInfo"] = "2.5"
}
// The configuration of the physical network adapter containing
@@ -61488,12 +61773,12 @@ type PhysicalNicProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["PhysicalNicProfile"] = "4.0"
t["PhysicalNicProfile"] = reflect.TypeOf((*PhysicalNicProfile)(nil)).Elem()
+ minAPIVersionForType["PhysicalNicProfile"] = "4.0"
}
// This data object type describes the physical network adapter specification
@@ -61537,7 +61822,7 @@ type PlaceVmRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification for placing a virtual machine
// and its virtual disks
- PlacementSpec PlacementSpec `xml:"placementSpec" json:"placementSpec" vim:"6.0"`
+ PlacementSpec PlacementSpec `xml:"placementSpec" json:"placementSpec"`
}
func init() {
@@ -61561,23 +61846,23 @@ type PlacementAction struct {
// Unset if the VM has not been created.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"6.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The host where the virtual machine should be placed.
//
// Unset if no host recommendation is provided.
//
// Refers instance of `HostSystem`.
- TargetHost *ManagedObjectReference `xml:"targetHost,omitempty" json:"targetHost,omitempty" vim:"6.0"`
+ TargetHost *ManagedObjectReference `xml:"targetHost,omitempty" json:"targetHost,omitempty"`
// Specification for placing the configuration files and the virtual
// disks of the virtual machine on one or more datastores.
//
// Unset if no datastore recommendation is provided.
- RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty" vim:"6.0"`
+ RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementAction"] = "6.0"
t["PlacementAction"] = reflect.TypeOf((*PlacementAction)(nil)).Elem()
+ minAPIVersionForType["PlacementAction"] = "6.0"
}
// The `PlacementAffinityRule` data object specifies
@@ -61589,24 +61874,24 @@ type PlacementAffinityRule struct {
//
// The set of possible values are described in
// `PlacementAffinityRuleRuleType_enum`
- RuleType string `xml:"ruleType" json:"ruleType" vim:"6.0"`
+ RuleType string `xml:"ruleType" json:"ruleType"`
// Scope of the affinity rule.
//
// The set of possible values are described in
// `PlacementAffinityRuleRuleScope_enum`
- RuleScope string `xml:"ruleScope" json:"ruleScope" vim:"6.0"`
+ RuleScope string `xml:"ruleScope" json:"ruleScope"`
// List of virtual machines that are part of this rule.
//
// Refers instances of `VirtualMachine`.
- Vms []ManagedObjectReference `xml:"vms,omitempty" json:"vms,omitempty" vim:"6.0"`
+ Vms []ManagedObjectReference `xml:"vms,omitempty" json:"vms,omitempty"`
// List of PlacementSpec keys that are part of this rule representing
// virtual machines yet to be placed.
- Keys []string `xml:"keys,omitempty" json:"keys,omitempty" vim:"6.0"`
+ Keys []string `xml:"keys,omitempty" json:"keys,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementAffinityRule"] = "6.0"
t["PlacementAffinityRule"] = reflect.TypeOf((*PlacementAffinityRule)(nil)).Elem()
+ minAPIVersionForType["PlacementAffinityRule"] = "6.0"
}
// PlacementRankResult is the class of the result returned by
@@ -61615,32 +61900,32 @@ type PlacementRankResult struct {
DynamicData
// Reference key for the placement request
- Key string `xml:"key" json:"key" vim:"6.0"`
+ Key string `xml:"key" json:"key"`
// Candidate cluster for the placement problem
//
// Refers instance of `ClusterComputeResource`.
- Candidate ManagedObjectReference `xml:"candidate" json:"candidate" vim:"6.0"`
+ Candidate ManagedObjectReference `xml:"candidate" json:"candidate"`
// The reserved storage space for the candidate cluster after placement
// The unit is in Megabytes
- ReservedSpaceMB int64 `xml:"reservedSpaceMB" json:"reservedSpaceMB" vim:"6.0"`
+ ReservedSpaceMB int64 `xml:"reservedSpaceMB" json:"reservedSpaceMB"`
// The expected space usage for the candidate cluster after placement
// The unit is in Megabytes
- UsedSpaceMB int64 `xml:"usedSpaceMB" json:"usedSpaceMB" vim:"6.0"`
+ UsedSpaceMB int64 `xml:"usedSpaceMB" json:"usedSpaceMB"`
// The expected total space for the candidate cluster after placement
// The unit is in Megabytes
- TotalSpaceMB int64 `xml:"totalSpaceMB" json:"totalSpaceMB" vim:"6.0"`
+ TotalSpaceMB int64 `xml:"totalSpaceMB" json:"totalSpaceMB"`
// The expected aggregate resource utilization for the candidate cluster
// after placement
// The unit is a fractional value between 0 and 1.
- Utilization float64 `xml:"utilization" json:"utilization" vim:"6.0"`
+ Utilization float64 `xml:"utilization" json:"utilization"`
// Information about why a given cluster is not recommended for
// placement
- Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty" vim:"6.0"`
+ Faults []LocalizedMethodFault `xml:"faults,omitempty" json:"faults,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementRankResult"] = "6.0"
t["PlacementRankResult"] = reflect.TypeOf((*PlacementRankResult)(nil)).Elem()
+ minAPIVersionForType["PlacementRankResult"] = "6.0"
}
// PlacementRankSpec encapsulates all of the inputs passed to
@@ -61649,20 +61934,20 @@ type PlacementRankSpec struct {
DynamicData
// List of VM placement specifications for ranking clusters
- Specs []PlacementSpec `xml:"specs" json:"specs" vim:"6.0"`
+ Specs []PlacementSpec `xml:"specs" json:"specs"`
// List of candidate clusters for the placement request
//
// Refers instances of `ClusterComputeResource`.
- Clusters []ManagedObjectReference `xml:"clusters" json:"clusters" vim:"6.0"`
+ Clusters []ManagedObjectReference `xml:"clusters" json:"clusters"`
// List of affinity rules for the placement request
- Rules []PlacementAffinityRule `xml:"rules,omitempty" json:"rules,omitempty" vim:"6.0"`
+ Rules []PlacementAffinityRule `xml:"rules,omitempty" json:"rules,omitempty"`
// List of preferred clusters for individual VM placement requests
- PlacementRankByVm []StorageDrsPlacementRankVmSpec `xml:"placementRankByVm,omitempty" json:"placementRankByVm,omitempty" vim:"6.0"`
+ PlacementRankByVm []StorageDrsPlacementRankVmSpec `xml:"placementRankByVm,omitempty" json:"placementRankByVm,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementRankSpec"] = "6.0"
t["PlacementRankSpec"] = reflect.TypeOf((*PlacementRankSpec)(nil)).Elem()
+ minAPIVersionForType["PlacementRankSpec"] = "6.0"
}
// `ClusterComputeResource.PlaceVm` method can invoke DRS
@@ -61675,14 +61960,14 @@ type PlacementResult struct {
// The list of recommendations for where to place the virtual machine
// and its virtual disks.
- Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty" vim:"6.0"`
+ Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty"`
// Information about any fault in case DRS fails to make a recommendation.
- DrsFault *ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty" vim:"6.0"`
+ DrsFault *ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementResult"] = "6.0"
t["PlacementResult"] = reflect.TypeOf((*PlacementResult)(nil)).Elem()
+ minAPIVersionForType["PlacementResult"] = "6.0"
}
// PlacementSpec encapsulates all of the information passed to the
@@ -61696,7 +61981,7 @@ type PlacementSpec struct {
// Priority of the migration operation.
//
// The default value is defaultPriority.
- Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty" vim:"6.0"`
+ Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty"`
// The virtual machine to be placed.
//
// For an intra-vCenter migration, this argument is required.
@@ -61705,7 +61990,7 @@ type PlacementSpec struct {
// placement to the correct vm.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"6.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// Configuration information for the virtual machine.
//
// For an intra-vCenter migration, this argument should be unset.
@@ -61719,7 +62004,7 @@ type PlacementSpec struct {
// If a storage profile is specified for a virtual disk or vm configuration,
// only datastores that match this profile will be considered for that
// virtual disk or vm configuration.
- ConfigSpec *VirtualMachineConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty" vim:"6.0"`
+ ConfigSpec *VirtualMachineConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty"`
// Specification for relocating a virtual machine.
//
// Can be used to optionally specify a target host, a target datastore,
@@ -61736,7 +62021,7 @@ type PlacementSpec struct {
// should set the service and the folder arguments properly either in
// the input relocateSpec or in the output relocateSpec in the placement
// recommendation before passing the relocateSpec to the RelocateVM API.
- RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty" vim:"6.0"`
+ RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty"`
// A list of compatible hosts for the virtual machine.
//
// This list is ignored if relocateSpec.host is set.
@@ -61748,7 +62033,7 @@ type PlacementSpec struct {
// incoming virtual machine.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
// A list of compatible datastores for the virtual machine.
//
// This list is ignored if relocateSpec.datastore is set.
@@ -61760,7 +62045,7 @@ type PlacementSpec struct {
// are not guaranteed to be compatible with the incoming virtual machine.
//
// Refers instances of `Datastore`.
- Datastores []ManagedObjectReference `xml:"datastores,omitempty" json:"datastores,omitempty" vim:"6.0"`
+ Datastores []ManagedObjectReference `xml:"datastores,omitempty" json:"datastores,omitempty"`
// A list of compatible datastore clusters for the virtual machine.
//
// This list is ignored if relocateSpec.datastore is set.
@@ -61770,36 +62055,36 @@ type PlacementSpec struct {
// compatible datastores.
//
// Refers instances of `StoragePod`.
- StoragePods []ManagedObjectReference `xml:"storagePods,omitempty" json:"storagePods,omitempty" vim:"6.0"`
+ StoragePods []ManagedObjectReference `xml:"storagePods,omitempty" json:"storagePods,omitempty"`
// Specification for whether to disable pre-requisite vmotions or storage
// vmotions for virtual machine placement.
//
// The default value is true,
// that is, to disallow such prerequisite moves.
- DisallowPrerequisiteMoves *bool `xml:"disallowPrerequisiteMoves" json:"disallowPrerequisiteMoves,omitempty" vim:"6.0"`
+ DisallowPrerequisiteMoves *bool `xml:"disallowPrerequisiteMoves" json:"disallowPrerequisiteMoves,omitempty"`
// A list of rules to respect while placing the virtual machine on
// target cluster.
//
// If the list is empty, rules will not be considered during placement,
// in case of cross-cluster placement within a VC and cross VC
// placement across VCs.
- Rules []BaseClusterRuleInfo `xml:"rules,omitempty,typeattr" json:"rules,omitempty" vim:"6.0"`
+ Rules []BaseClusterRuleInfo `xml:"rules,omitempty,typeattr" json:"rules,omitempty"`
// Client generated identifier as a reference to the placement request
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"6.0"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// Type of the placement.
//
// The set of possible values are described in
// `PlacementSpecPlacementType_enum`
- PlacementType string `xml:"placementType,omitempty" json:"placementType,omitempty" vim:"6.0"`
+ PlacementType string `xml:"placementType,omitempty" json:"placementType,omitempty"`
// Specification for a virtual machine clone operation
- CloneSpec *VirtualMachineCloneSpec `xml:"cloneSpec,omitempty" json:"cloneSpec,omitempty" vim:"6.0"`
+ CloneSpec *VirtualMachineCloneSpec `xml:"cloneSpec,omitempty" json:"cloneSpec,omitempty"`
// Name for the cloned virtual machine, if the operation type is a clone
- CloneName string `xml:"cloneName,omitempty" json:"cloneName,omitempty" vim:"6.0"`
+ CloneName string `xml:"cloneName,omitempty" json:"cloneName,omitempty"`
}
func init() {
- minAPIVersionForType["PlacementSpec"] = "6.0"
t["PlacementSpec"] = reflect.TypeOf((*PlacementSpec)(nil)).Elem()
+ minAPIVersionForType["PlacementSpec"] = "6.0"
}
// A PlatformConfigFault is a catch-all fault indicating that some error has
@@ -61838,12 +62123,12 @@ type PnicUplinkProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["PnicUplinkProfile"] = "4.0"
t["PnicUplinkProfile"] = reflect.TypeOf((*PnicUplinkProfile)(nil)).Elem()
+ minAPIVersionForType["PnicUplinkProfile"] = "4.0"
}
// The disk locator class.
@@ -61851,11 +62136,11 @@ type PodDiskLocator struct {
DynamicData
// The disk ID.
- DiskId int32 `xml:"diskId" json:"diskId" vim:"5.0"`
+ DiskId int32 `xml:"diskId" json:"diskId"`
// The disk move type.
- DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty" vim:"5.0"`
+ DiskMoveType string `xml:"diskMoveType,omitempty" json:"diskMoveType,omitempty"`
// The disk backing info.
- DiskBackingInfo BaseVirtualDeviceBackingInfo `xml:"diskBackingInfo,omitempty,typeattr" json:"diskBackingInfo,omitempty" vim:"5.0"`
+ DiskBackingInfo BaseVirtualDeviceBackingInfo `xml:"diskBackingInfo,omitempty,typeattr" json:"diskBackingInfo,omitempty"`
// Virtual Disk Profile requirement.
//
// Profiles are solution specific.
@@ -61868,8 +62153,8 @@ type PodDiskLocator struct {
}
func init() {
- minAPIVersionForType["PodDiskLocator"] = "5.0"
t["PodDiskLocator"] = reflect.TypeOf((*PodDiskLocator)(nil)).Elem()
+ minAPIVersionForType["PodDiskLocator"] = "5.0"
}
// An entry containing storage DRS configuration, runtime
@@ -61878,7 +62163,7 @@ type PodStorageDrsEntry struct {
DynamicData
// Storage DRS configuration.
- StorageDrsConfig StorageDrsConfigInfo `xml:"storageDrsConfig" json:"storageDrsConfig" vim:"5.0"`
+ StorageDrsConfig StorageDrsConfigInfo `xml:"storageDrsConfig" json:"storageDrsConfig"`
// List of recommended actions for the Storage Pod.
//
// It is
@@ -61886,19 +62171,19 @@ type PodStorageDrsEntry struct {
// either due to not having any running dynamic recommendation
// generation module, or since there may be no recommended actions
// at this time.
- Recommendation []ClusterRecommendation `xml:"recommendation,omitempty" json:"recommendation,omitempty" vim:"5.0"`
+ Recommendation []ClusterRecommendation `xml:"recommendation,omitempty" json:"recommendation,omitempty"`
// A collection of the DRS faults generated in the last Storage DRS invocation.
//
// Each element of the collection is the set of faults generated in one
// recommendation.
- DrsFault []ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty" vim:"5.0"`
+ DrsFault []ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty"`
// The set of actions that have been performed recently.
- ActionHistory []ClusterActionHistory `xml:"actionHistory,omitempty" json:"actionHistory,omitempty" vim:"5.0"`
+ ActionHistory []ClusterActionHistory `xml:"actionHistory,omitempty" json:"actionHistory,omitempty"`
}
func init() {
- minAPIVersionForType["PodStorageDrsEntry"] = "5.0"
t["PodStorageDrsEntry"] = reflect.TypeOf((*PodStorageDrsEntry)(nil)).Elem()
+ minAPIVersionForType["PodStorageDrsEntry"] = "5.0"
}
// The `PolicyOption` data object represents one or more configuration
@@ -61915,18 +62200,18 @@ type PolicyOption struct {
// This value matches one of the
// keys from the list of possible options in the policy metadata
// (`ProfilePolicyMetadata*.*ProfilePolicyMetadata.possibleOption*\[\].*ProfilePolicyOptionMetadata.id*.*ElementDescription.key`).
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// Parameters for the policy option.
//
// This list must include all parameters that are not marked as optional
// in the policy option metadata parameter list
// (`ProfilePolicyMetadata*.*ProfilePolicyMetadata.possibleOption*\[\].*ProfilePolicyOptionMetadata.parameter*\[\].*ProfileParameterMetadata.optional`).
- Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"4.0"`
+ Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["PolicyOption"] = "4.0"
t["PolicyOption"] = reflect.TypeOf((*PolicyOption)(nil)).Elem()
+ minAPIVersionForType["PolicyOption"] = "4.0"
}
// `PortGroupProfile` is the base class for the different port group
@@ -61935,20 +62220,20 @@ type PortGroupProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Name of the portgroup.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// VLAN identifier for the port group.
- Vlan VlanProfile `xml:"vlan" json:"vlan" vim:"4.0"`
+ Vlan VlanProfile `xml:"vlan" json:"vlan"`
// Virtual switch to which the port group is connected.
- Vswitch VirtualSwitchSelectionProfile `xml:"vswitch" json:"vswitch" vim:"4.0"`
+ Vswitch VirtualSwitchSelectionProfile `xml:"vswitch" json:"vswitch"`
// The network policy/policies applicable on the port group.
- NetworkPolicy NetworkPolicyProfile `xml:"networkPolicy" json:"networkPolicy" vim:"4.0"`
+ NetworkPolicy NetworkPolicyProfile `xml:"networkPolicy" json:"networkPolicy"`
}
func init() {
- minAPIVersionForType["PortGroupProfile"] = "4.0"
t["PortGroupProfile"] = reflect.TypeOf((*PortGroupProfile)(nil)).Elem()
+ minAPIVersionForType["PortGroupProfile"] = "4.0"
}
// Searching for users and groups on POSIX systems provides
@@ -62005,7 +62290,7 @@ type PostHealthUpdatesRequestType struct {
// The provider id.
ProviderId string `xml:"providerId" json:"providerId"`
// The changes in health states.
- Updates []HealthUpdate `xml:"updates,omitempty" json:"updates,omitempty" vim:"6.5"`
+ Updates []HealthUpdate `xml:"updates,omitempty" json:"updates,omitempty"`
}
func init() {
@@ -62102,25 +62387,25 @@ type PowerOnFtSecondaryFailed struct {
// be powered on
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The name of the primary virtual machine corresponding to the secondary
// that is to be powered on.
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
// The host selection type
- HostSelectionBy FtIssuesOnHostHostSelectionType `xml:"hostSelectionBy" json:"hostSelectionBy" vim:"4.0"`
+ HostSelectionBy FtIssuesOnHostHostSelectionType `xml:"hostSelectionBy" json:"hostSelectionBy"`
// Information on why the system can not power on a Fault Tolerance
// secondary virtual machine on specific hosts.
//
// Everything in the array
// should be FtIssuesOnHost.
- HostErrors []LocalizedMethodFault `xml:"hostErrors,omitempty" json:"hostErrors,omitempty" vim:"4.0"`
+ HostErrors []LocalizedMethodFault `xml:"hostErrors,omitempty" json:"hostErrors,omitempty"`
// The reason why powering on secondary failed.
- RootCause LocalizedMethodFault `xml:"rootCause" json:"rootCause" vim:"4.0"`
+ RootCause LocalizedMethodFault `xml:"rootCause" json:"rootCause"`
}
func init() {
- minAPIVersionForType["PowerOnFtSecondaryFailed"] = "4.0"
t["PowerOnFtSecondaryFailed"] = reflect.TypeOf((*PowerOnFtSecondaryFailed)(nil)).Elem()
+ minAPIVersionForType["PowerOnFtSecondaryFailed"] = "4.0"
}
type PowerOnFtSecondaryFailedFault PowerOnFtSecondaryFailed
@@ -62139,17 +62424,17 @@ type PowerOnFtSecondaryTimedout struct {
// be powered on
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The name of the primary virtual machine corresponding to the secondary
// that is to be powered on.
- VmName string `xml:"vmName" json:"vmName" vim:"4.0"`
+ VmName string `xml:"vmName" json:"vmName"`
// The time out value in seconds
- Timeout int32 `xml:"timeout" json:"timeout" vim:"4.0"`
+ Timeout int32 `xml:"timeout" json:"timeout"`
}
func init() {
- minAPIVersionForType["PowerOnFtSecondaryTimedout"] = "4.0"
t["PowerOnFtSecondaryTimedout"] = reflect.TypeOf((*PowerOnFtSecondaryTimedout)(nil)).Elem()
+ minAPIVersionForType["PowerOnFtSecondaryTimedout"] = "4.0"
}
type PowerOnFtSecondaryTimedoutFault PowerOnFtSecondaryTimedout
@@ -62171,7 +62456,7 @@ type PowerOnMultiVMRequestType struct {
// for this power-on session. The names and values of the
// options are defined in
// `ClusterPowerOnVmOption_enum`.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"4.1"`
}
func init() {
@@ -62240,12 +62525,12 @@ type PowerSystemCapability struct {
DynamicData
// List of available host power policies.
- AvailablePolicy []HostPowerPolicy `xml:"availablePolicy" json:"availablePolicy" vim:"4.1"`
+ AvailablePolicy []HostPowerPolicy `xml:"availablePolicy" json:"availablePolicy"`
}
func init() {
- minAPIVersionForType["PowerSystemCapability"] = "4.1"
t["PowerSystemCapability"] = reflect.TypeOf((*PowerSystemCapability)(nil)).Elem()
+ minAPIVersionForType["PowerSystemCapability"] = "4.1"
}
// Power System Info data object.
@@ -62258,12 +62543,12 @@ type PowerSystemInfo struct {
//
// This property can have one of the values from
// `PowerSystemCapability.availablePolicy`.
- CurrentPolicy HostPowerPolicy `xml:"currentPolicy" json:"currentPolicy" vim:"4.1"`
+ CurrentPolicy HostPowerPolicy `xml:"currentPolicy" json:"currentPolicy"`
}
func init() {
- minAPIVersionForType["PowerSystemInfo"] = "4.1"
t["PowerSystemInfo"] = reflect.TypeOf((*PowerSystemInfo)(nil)).Elem()
+ minAPIVersionForType["PowerSystemInfo"] = "4.1"
}
// The parameters of `HostSystem.PowerUpHostFromStandBy_Task`.
@@ -62312,14 +62597,14 @@ type PrivilegeAvailability struct {
DynamicData
// The privilege ID.
- PrivId string `xml:"privId" json:"privId" vim:"5.5"`
+ PrivId string `xml:"privId" json:"privId"`
// True if the privilege is granted.
- IsGranted bool `xml:"isGranted" json:"isGranted" vim:"5.5"`
+ IsGranted bool `xml:"isGranted" json:"isGranted"`
}
func init() {
- minAPIVersionForType["PrivilegeAvailability"] = "5.5"
t["PrivilegeAvailability"] = reflect.TypeOf((*PrivilegeAvailability)(nil)).Elem()
+ minAPIVersionForType["PrivilegeAvailability"] = "5.5"
}
// Describes a basic privilege policy.
@@ -62327,18 +62612,18 @@ type PrivilegePolicyDef struct {
DynamicData
// Name of privilege required for creation.
- CreatePrivilege string `xml:"createPrivilege" json:"createPrivilege" vim:"2.5"`
+ CreatePrivilege string `xml:"createPrivilege" json:"createPrivilege"`
// Name of privilege required for reading.
- ReadPrivilege string `xml:"readPrivilege" json:"readPrivilege" vim:"2.5"`
+ ReadPrivilege string `xml:"readPrivilege" json:"readPrivilege"`
// Name of privilege required for updating.
- UpdatePrivilege string `xml:"updatePrivilege" json:"updatePrivilege" vim:"2.5"`
+ UpdatePrivilege string `xml:"updatePrivilege" json:"updatePrivilege"`
// Name of privilege required for deleting.
- DeletePrivilege string `xml:"deletePrivilege" json:"deletePrivilege" vim:"2.5"`
+ DeletePrivilege string `xml:"deletePrivilege" json:"deletePrivilege"`
}
func init() {
- minAPIVersionForType["PrivilegePolicyDef"] = "2.5"
t["PrivilegePolicyDef"] = reflect.TypeOf((*PrivilegePolicyDef)(nil)).Elem()
+ minAPIVersionForType["PrivilegePolicyDef"] = "2.5"
}
// ProductComponentInfo data object type describes installed components.
@@ -62352,22 +62637,22 @@ type ProductComponentInfo struct {
DynamicData
// Opaque identifier that is unique for this product component
- Id string `xml:"id" json:"id" vim:"2.5"`
+ Id string `xml:"id" json:"id"`
// Canonical name of product component
- Name string `xml:"name" json:"name" vim:"2.5"`
+ Name string `xml:"name" json:"name"`
// Version of product component
- Version string `xml:"version" json:"version" vim:"2.5"`
+ Version string `xml:"version" json:"version"`
// Release property is a number which increments with each
// new release of product.
//
// Product release may not rev version
// but release number is always incremented.
- Release int32 `xml:"release" json:"release" vim:"2.5"`
+ Release int32 `xml:"release" json:"release"`
}
func init() {
- minAPIVersionForType["ProductComponentInfo"] = "2.5"
t["ProductComponentInfo"] = reflect.TypeOf((*ProductComponentInfo)(nil)).Elem()
+ minAPIVersionForType["ProductComponentInfo"] = "2.5"
}
// DataObject which represents an ApplyProfile element.
@@ -62380,12 +62665,12 @@ type ProfileApplyProfileElement struct {
ApplyProfile
// The linkable identifier.
- Key string `xml:"key" json:"key" vim:"5.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["ProfileApplyProfileElement"] = "5.0"
t["ProfileApplyProfileElement"] = reflect.TypeOf((*ProfileApplyProfileElement)(nil)).Elem()
+ minAPIVersionForType["ProfileApplyProfileElement"] = "5.0"
}
// The `ProfileApplyProfileProperty` data object defines one or more subprofiles.
@@ -62393,16 +62678,16 @@ type ProfileApplyProfileProperty struct {
DynamicData
// Name of the property.
- PropertyName string `xml:"propertyName" json:"propertyName" vim:"5.0"`
+ PropertyName string `xml:"propertyName" json:"propertyName"`
// Flag indicating whether this property is an array of profiles.
- Array bool `xml:"array" json:"array" vim:"5.0"`
+ Array bool `xml:"array" json:"array"`
// Subprofiles that define policies and nested subprofiles.
- Profile []BaseApplyProfile `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.0"`
+ Profile []BaseApplyProfile `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileApplyProfileProperty"] = "5.0"
t["ProfileApplyProfileProperty"] = reflect.TypeOf((*ProfileApplyProfileProperty)(nil)).Elem()
+ minAPIVersionForType["ProfileApplyProfileProperty"] = "5.0"
}
// This event records that a Profile was associated with a managed entitiy.
@@ -62411,8 +62696,8 @@ type ProfileAssociatedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileAssociatedEvent"] = "4.0"
t["ProfileAssociatedEvent"] = reflect.TypeOf((*ProfileAssociatedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileAssociatedEvent"] = "4.0"
}
// This event records that the profile has beed edited
@@ -62421,8 +62706,8 @@ type ProfileChangedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileChangedEvent"] = "4.0"
t["ProfileChangedEvent"] = reflect.TypeOf((*ProfileChangedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileChangedEvent"] = "4.0"
}
// DataObject to Compose expressions.
@@ -62436,7 +62721,7 @@ type ProfileCompositeExpression struct {
// the composite expression.
//
// e.g: or, and
- Operator string `xml:"operator" json:"operator" vim:"4.0"`
+ Operator string `xml:"operator" json:"operator"`
// List of expression names that will be used for this composition.
//
// The individual expressions will return a boolean. The return values
@@ -62444,12 +62729,12 @@ type ProfileCompositeExpression struct {
// return value of the CompositeExpression.
// The expressions specified in the list can themselves be
// CompositeExpressions.
- ExpressionName []string `xml:"expressionName" json:"expressionName" vim:"4.0"`
+ ExpressionName []string `xml:"expressionName" json:"expressionName"`
}
func init() {
- minAPIVersionForType["ProfileCompositeExpression"] = "4.0"
t["ProfileCompositeExpression"] = reflect.TypeOf((*ProfileCompositeExpression)(nil)).Elem()
+ minAPIVersionForType["ProfileCompositeExpression"] = "4.0"
}
// The `ProfileCompositePolicyOptionMetadata` data object represents the metadata information
@@ -62468,23 +62753,23 @@ type ProfileCompositePolicyOptionMetadata struct {
// part of the possible policy options for the policy. See the
// `ProfilePolicyMetadata*.*ProfilePolicyMetadata.possibleOption`
// list.
- Option []string `xml:"option" json:"option" vim:"4.0"`
+ Option []string `xml:"option" json:"option"`
}
func init() {
- minAPIVersionForType["ProfileCompositePolicyOptionMetadata"] = "4.0"
t["ProfileCompositePolicyOptionMetadata"] = reflect.TypeOf((*ProfileCompositePolicyOptionMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfileCompositePolicyOptionMetadata"] = "4.0"
}
type ProfileConfigInfo struct {
DynamicData
// Name of the profile
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// User Provided description of the profile
- Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty" vim:"4.0"`
+ Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty"`
// Flag indicating if the Profile is enabled
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
}
func init() {
@@ -62496,16 +62781,16 @@ type ProfileCreateSpec struct {
DynamicData
// Name of the profile
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// User Provided description of the profile
- Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty" vim:"4.0"`
+ Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty"`
// Flag indicating if the Profile is enabled
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"4.0"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileCreateSpec"] = "4.0"
t["ProfileCreateSpec"] = reflect.TypeOf((*ProfileCreateSpec)(nil)).Elem()
+ minAPIVersionForType["ProfileCreateSpec"] = "4.0"
}
// This event records that a Profile was created.
@@ -62514,8 +62799,8 @@ type ProfileCreatedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileCreatedEvent"] = "4.0"
t["ProfileCreatedEvent"] = reflect.TypeOf((*ProfileCreatedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileCreatedEvent"] = "4.0"
}
// The `ProfileDeferredPolicyOptionParameter` data object contains
@@ -62532,18 +62817,18 @@ type ProfileDeferredPolicyOptionParameter struct {
DynamicData
// Complete path to the `PolicyOption` that defines the parameters.
- InputPath ProfilePropertyPath `xml:"inputPath" json:"inputPath" vim:"4.0"`
+ InputPath ProfilePropertyPath `xml:"inputPath" json:"inputPath"`
// List that contains values for the policy parameters.
//
// During parameter verification, this property is unspecified
// if the client has not provided the values for this parameter.
// See `ProfileExecuteResult*.*ProfileExecuteResult.requireInput`.
- Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"4.0"`
+ Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileDeferredPolicyOptionParameter"] = "4.0"
t["ProfileDeferredPolicyOptionParameter"] = reflect.TypeOf((*ProfileDeferredPolicyOptionParameter)(nil)).Elem()
+ minAPIVersionForType["ProfileDeferredPolicyOptionParameter"] = "4.0"
}
// The `ProfileDescription` data object describes a profile.
@@ -62554,12 +62839,12 @@ type ProfileDescription struct {
DynamicData
// Sections which make up the profile description.
- Section []ProfileDescriptionSection `xml:"section" json:"section" vim:"4.0"`
+ Section []ProfileDescriptionSection `xml:"section" json:"section"`
}
func init() {
- minAPIVersionForType["ProfileDescription"] = "4.0"
t["ProfileDescription"] = reflect.TypeOf((*ProfileDescription)(nil)).Elem()
+ minAPIVersionForType["ProfileDescription"] = "4.0"
}
// The `ProfileDescriptionSection` data object
@@ -62569,14 +62854,14 @@ type ProfileDescriptionSection struct {
DynamicData
// Localized message data.
- Description ExtendedElementDescription `xml:"description" json:"description" vim:"4.0"`
+ Description ExtendedElementDescription `xml:"description" json:"description"`
// List of messages that make up the section.
- Message []LocalizableMessage `xml:"message,omitempty" json:"message,omitempty" vim:"4.0"`
+ Message []LocalizableMessage `xml:"message,omitempty" json:"message,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileDescriptionSection"] = "4.0"
t["ProfileDescriptionSection"] = reflect.TypeOf((*ProfileDescriptionSection)(nil)).Elem()
+ minAPIVersionForType["ProfileDescriptionSection"] = "4.0"
}
// This event records that a Profile was dissociated from a managed entity
@@ -62585,8 +62870,8 @@ type ProfileDissociatedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileDissociatedEvent"] = "4.0"
t["ProfileDissociatedEvent"] = reflect.TypeOf((*ProfileDissociatedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileDissociatedEvent"] = "4.0"
}
// This event records a Profile specific event.
@@ -62594,12 +62879,12 @@ type ProfileEvent struct {
Event
// Link to the profile to which this event applies
- Profile ProfileEventArgument `xml:"profile" json:"profile" vim:"4.0"`
+ Profile ProfileEventArgument `xml:"profile" json:"profile"`
}
func init() {
- minAPIVersionForType["ProfileEvent"] = "4.0"
t["ProfileEvent"] = reflect.TypeOf((*ProfileEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileEvent"] = "4.0"
}
// The event argument is a Profile object
@@ -62611,8 +62896,8 @@ type ProfileEventArgument struct {
}
func init() {
- minAPIVersionForType["ProfileEventArgument"] = "4.0"
t["ProfileEventArgument"] = reflect.TypeOf((*ProfileEventArgument)(nil)).Elem()
+ minAPIVersionForType["ProfileEventArgument"] = "4.0"
}
// The `ProfileExecuteError` data object
@@ -62621,14 +62906,14 @@ type ProfileExecuteError struct {
DynamicData
// Path to the profile or policy with which the error is associated.
- Path *ProfilePropertyPath `xml:"path,omitempty" json:"path,omitempty" vim:"4.0"`
+ Path *ProfilePropertyPath `xml:"path,omitempty" json:"path,omitempty"`
// Message describing the error.
- Message LocalizableMessage `xml:"message" json:"message" vim:"4.0"`
+ Message LocalizableMessage `xml:"message" json:"message"`
}
func init() {
- minAPIVersionForType["ProfileExecuteError"] = "4.0"
t["ProfileExecuteError"] = reflect.TypeOf((*ProfileExecuteError)(nil)).Elem()
+ minAPIVersionForType["ProfileExecuteError"] = "4.0"
}
// The `ProfileExecuteResult` data object contains the results from a
@@ -62641,7 +62926,7 @@ type ProfileExecuteResult struct {
//
// The value is a string that contains
// one of the `ProfileExecuteResultStatus_enum` enumerations.
- Status string `xml:"status" json:"status" vim:"4.0"`
+ Status string `xml:"status" json:"status"`
// Host configuration specification.
//
// This data is valid only if
@@ -62652,14 +62937,14 @@ type ProfileExecuteResult struct {
// to a host. See the configSpec
parameter to the
// `HostProfileManager*.*HostProfileManager.ApplyHostConfig_Task`
// method.
- ConfigSpec *HostConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty" vim:"4.0"`
+ ConfigSpec *HostConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty"`
// List of property paths.
//
// Each path identifies a policy that does not apply
// to this host. For example, if the precheck policies for a port group are not satisfied,
// the port group will not be created when you apply the profile to the host.
// Based on this information, the client might not display that part of the profile tree.
- InapplicablePath []string `xml:"inapplicablePath,omitempty" json:"inapplicablePath,omitempty" vim:"4.0"`
+ InapplicablePath []string `xml:"inapplicablePath,omitempty" json:"inapplicablePath,omitempty"`
// List that describes the required input for host configuration and identifies
// any policy options that still require parameter data.
//
@@ -62697,16 +62982,16 @@ type ProfileExecuteResult struct {
// `HostProfileManager*.*HostProfileManager.ApplyHostConfig_Task`
// method. The Server will use the list to update the `AnswerFile`
// associated with the host.
- RequireInput []ProfileDeferredPolicyOptionParameter `xml:"requireInput,omitempty" json:"requireInput,omitempty" vim:"4.0"`
+ RequireInput []ProfileDeferredPolicyOptionParameter `xml:"requireInput,omitempty" json:"requireInput,omitempty"`
// List of errors that were encountered during execute.
//
// This field will be set if status is set to error.
- Error []ProfileExecuteError `xml:"error,omitempty" json:"error,omitempty" vim:"4.0"`
+ Error []ProfileExecuteError `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileExecuteResult"] = "4.0"
t["ProfileExecuteResult"] = reflect.TypeOf((*ProfileExecuteResult)(nil)).Elem()
+ minAPIVersionForType["ProfileExecuteResult"] = "4.0"
}
type ProfileExpression struct {
@@ -62716,14 +63001,14 @@ type ProfileExpression struct {
//
// The id has to be unique within a Profile.
// The id can be used as a key while building composite expressions.
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// User visible display name
- DisplayName string `xml:"displayName" json:"displayName" vim:"4.0"`
+ DisplayName string `xml:"displayName" json:"displayName"`
// Flag indicating if the condition of the expression should be negated.
//
// e.g: conditions like VSwitch0 has vmnic0 connected to it can be turned into
// VSwitch0 doesn't have vmnic0 connected to it.
- Negated bool `xml:"negated" json:"negated" vim:"4.0"`
+ Negated bool `xml:"negated" json:"negated"`
}
func init() {
@@ -62735,14 +63020,14 @@ type ProfileExpressionMetadata struct {
DynamicData
// Id of the SimpleExpression
- ExpressionId ExtendedElementDescription `xml:"expressionId" json:"expressionId" vim:"4.0"`
+ ExpressionId ExtendedElementDescription `xml:"expressionId" json:"expressionId"`
// Parameters that can be specified for this SimpleExpression
- Parameter []ProfileParameterMetadata `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"4.0"`
+ Parameter []ProfileParameterMetadata `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileExpressionMetadata"] = "4.0"
t["ProfileExpressionMetadata"] = reflect.TypeOf((*ProfileExpressionMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfileExpressionMetadata"] = "4.0"
}
// This data object represents the metadata information of a Profile.
@@ -62750,11 +63035,11 @@ type ProfileMetadata struct {
DynamicData
// Type of the Profile
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Type identifier for the ApplyProfile
ProfileTypeName string `xml:"profileTypeName,omitempty" json:"profileTypeName,omitempty" vim:"5.0"`
// Property which describes the profile
- Description *ExtendedDescription `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description *ExtendedDescription `xml:"description,omitempty" json:"description,omitempty"`
// Property that determines a sorting order for display purposes.
//
// If
@@ -62787,8 +63072,8 @@ type ProfileMetadata struct {
}
func init() {
- minAPIVersionForType["ProfileMetadata"] = "4.0"
t["ProfileMetadata"] = reflect.TypeOf((*ProfileMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfileMetadata"] = "4.0"
}
// Some operations on host profile documents may cause unexpected result.
@@ -62801,27 +63086,27 @@ type ProfileMetadataProfileOperationMessage struct {
DynamicData
// The operation name.
- OperationName string `xml:"operationName" json:"operationName" vim:"6.7"`
+ OperationName string `xml:"operationName" json:"operationName"`
// The localization message for the operation.
- Message LocalizableMessage `xml:"message" json:"message" vim:"6.7"`
+ Message LocalizableMessage `xml:"message" json:"message"`
}
func init() {
- minAPIVersionForType["ProfileMetadataProfileOperationMessage"] = "6.7"
t["ProfileMetadataProfileOperationMessage"] = reflect.TypeOf((*ProfileMetadataProfileOperationMessage)(nil)).Elem()
+ minAPIVersionForType["ProfileMetadataProfileOperationMessage"] = "6.7"
}
type ProfileMetadataProfileSortSpec struct {
DynamicData
// The id of the policy used to sort instances of the profile
- PolicyId string `xml:"policyId" json:"policyId" vim:"5.0"`
+ PolicyId string `xml:"policyId" json:"policyId"`
// The parameter to be used for sorting.
//
// Note that if the policy to be
// used for sorting has multiple possible policy options, all possible
// policy options defined for that policy type must have this parameter.
- Parameter string `xml:"parameter" json:"parameter" vim:"5.0"`
+ Parameter string `xml:"parameter" json:"parameter"`
}
func init() {
@@ -62834,13 +63119,13 @@ type ProfileParameterMetadata struct {
DynamicData
// Identifier for the parameter.
- Id ExtendedElementDescription `xml:"id" json:"id" vim:"4.0"`
+ Id ExtendedElementDescription `xml:"id" json:"id"`
// Type of the parameter.
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// Whether the parameter is optional.
- Optional bool `xml:"optional" json:"optional" vim:"4.0"`
+ Optional bool `xml:"optional" json:"optional"`
// Default value that can be used for the parameter.
- DefaultValue AnyType `xml:"defaultValue,omitempty,typeattr" json:"defaultValue,omitempty" vim:"4.0"`
+ DefaultValue AnyType `xml:"defaultValue,omitempty,typeattr" json:"defaultValue,omitempty"`
// Whether the parameter will not be displayed in UI.
Hidden *bool `xml:"hidden" json:"hidden,omitempty" vim:"6.5"`
// Whether the parameter is security sensitive.
@@ -62852,8 +63137,8 @@ type ProfileParameterMetadata struct {
}
func init() {
- minAPIVersionForType["ProfileParameterMetadata"] = "4.0"
t["ProfileParameterMetadata"] = reflect.TypeOf((*ProfileParameterMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfileParameterMetadata"] = "4.0"
}
// This class to define a relation between the parameter and a profile
@@ -62862,20 +63147,20 @@ type ProfileParameterMetadataParameterRelationMetadata struct {
DynamicData
// The types of this relation.
- RelationTypes []string `xml:"relationTypes,omitempty" json:"relationTypes,omitempty" vim:"6.7"`
+ RelationTypes []string `xml:"relationTypes,omitempty" json:"relationTypes,omitempty"`
// The valid value list.
- Values []AnyType `xml:"values,omitempty,typeattr" json:"values,omitempty" vim:"6.7"`
+ Values []AnyType `xml:"values,omitempty,typeattr" json:"values,omitempty"`
// The property path of the related profile/parameter.
- Path *ProfilePropertyPath `xml:"path,omitempty" json:"path,omitempty" vim:"6.7"`
+ Path *ProfilePropertyPath `xml:"path,omitempty" json:"path,omitempty"`
// The minimal count of values to map to.
- MinCount int32 `xml:"minCount" json:"minCount" vim:"6.7"`
+ MinCount int32 `xml:"minCount" json:"minCount"`
// The maximum count of values to map to.
- MaxCount int32 `xml:"maxCount" json:"maxCount" vim:"6.7"`
+ MaxCount int32 `xml:"maxCount" json:"maxCount"`
}
func init() {
- minAPIVersionForType["ProfileParameterMetadataParameterRelationMetadata"] = "6.7"
t["ProfileParameterMetadataParameterRelationMetadata"] = reflect.TypeOf((*ProfileParameterMetadataParameterRelationMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfileParameterMetadataParameterRelationMetadata"] = "6.7"
}
// The `ProfilePolicy` data object represents a policy.
@@ -62883,14 +63168,14 @@ type ProfilePolicy struct {
DynamicData
// Identifier for the policy.
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// Configuration parameters.
- PolicyOption BasePolicyOption `xml:"policyOption,typeattr" json:"policyOption" vim:"4.0"`
+ PolicyOption BasePolicyOption `xml:"policyOption,typeattr" json:"policyOption"`
}
func init() {
- minAPIVersionForType["ProfilePolicy"] = "4.0"
t["ProfilePolicy"] = reflect.TypeOf((*ProfilePolicy)(nil)).Elem()
+ minAPIVersionForType["ProfilePolicy"] = "4.0"
}
// The `ProfilePolicyMetadata` data object represents the metadata information
@@ -62899,19 +63184,19 @@ type ProfilePolicyMetadata struct {
DynamicData
// Identifier for the policy.
- Id ExtendedElementDescription `xml:"id" json:"id" vim:"4.0"`
+ Id ExtendedElementDescription `xml:"id" json:"id"`
// Possible policy options that can be set for a policy of the
// given kind.
//
// `HostProfile`s and subprofiles
// will contain selected policy options from this list. See
// `PolicyOption`.
- PossibleOption []BaseProfilePolicyOptionMetadata `xml:"possibleOption,typeattr" json:"possibleOption" vim:"4.0"`
+ PossibleOption []BaseProfilePolicyOptionMetadata `xml:"possibleOption,typeattr" json:"possibleOption"`
}
func init() {
- minAPIVersionForType["ProfilePolicyMetadata"] = "4.0"
t["ProfilePolicyMetadata"] = reflect.TypeOf((*ProfilePolicyMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfilePolicyMetadata"] = "4.0"
}
// The `ProfilePolicyOptionMetadata` data object contains the metadata information
@@ -62931,25 +63216,23 @@ type ProfilePolicyOptionMetadata struct {
// contains a localizable summary of the policy option.
// Summary information can contain embedded variable names which can
// be replaced with values from the parameter
property.
- //
- // `**Since:**` vSphere API 4.0
Id ExtendedElementDescription `xml:"id" json:"id"`
// Metadata about the parameters for the policy option.
- Parameter []ProfileParameterMetadata `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"4.0"`
+ Parameter []ProfileParameterMetadata `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["ProfilePolicyOptionMetadata"] = "4.0"
t["ProfilePolicyOptionMetadata"] = reflect.TypeOf((*ProfilePolicyOptionMetadata)(nil)).Elem()
+ minAPIVersionForType["ProfilePolicyOptionMetadata"] = "4.0"
}
type ProfileProfileStructure struct {
DynamicData
// Identifier for the profile type
- ProfileTypeName string `xml:"profileTypeName" json:"profileTypeName" vim:"5.0"`
+ ProfileTypeName string `xml:"profileTypeName" json:"profileTypeName"`
// SubProfile properties available for this profile
- Child []ProfileProfileStructureProperty `xml:"child,omitempty" json:"child,omitempty" vim:"5.0"`
+ Child []ProfileProfileStructureProperty `xml:"child,omitempty" json:"child,omitempty"`
}
func init() {
@@ -62960,11 +63243,11 @@ type ProfileProfileStructureProperty struct {
DynamicData
// Name of the property where this ProfileStructureProperty is being used
- PropertyName string `xml:"propertyName" json:"propertyName" vim:"5.0"`
+ PropertyName string `xml:"propertyName" json:"propertyName"`
// Flag indicating if this property is an Array of profiles
- Array bool `xml:"array" json:"array" vim:"5.0"`
+ Array bool `xml:"array" json:"array"`
// Details about the profile contained within this property
- Element ProfileProfileStructure `xml:"element" json:"element" vim:"5.0"`
+ Element ProfileProfileStructure `xml:"element" json:"element"`
}
func init() {
@@ -62985,9 +63268,9 @@ type ProfilePropertyPath struct {
// Complete path to the leaf profile, relative to the root of the host profile
// document.
- ProfilePath string `xml:"profilePath" json:"profilePath" vim:"4.0"`
+ ProfilePath string `xml:"profilePath" json:"profilePath"`
// Policy identifier.
- PolicyId string `xml:"policyId,omitempty" json:"policyId,omitempty" vim:"4.0"`
+ PolicyId string `xml:"policyId,omitempty" json:"policyId,omitempty"`
// Key for a parameter in the policy specified by policyId
.
//
// See `PolicyOption*.*PolicyOption.parameter`
@@ -62998,8 +63281,8 @@ type ProfilePropertyPath struct {
}
func init() {
- minAPIVersionForType["ProfilePropertyPath"] = "4.0"
t["ProfilePropertyPath"] = reflect.TypeOf((*ProfilePropertyPath)(nil)).Elem()
+ minAPIVersionForType["ProfilePropertyPath"] = "4.0"
}
// This event records that the reference host associated with this profile has changed
@@ -63009,7 +63292,7 @@ type ProfileReferenceHostChangedEvent struct {
// The newly associated reference host with this profile
//
// Refers instance of `HostSystem`.
- ReferenceHost *ManagedObjectReference `xml:"referenceHost,omitempty" json:"referenceHost,omitempty" vim:"4.0"`
+ ReferenceHost *ManagedObjectReference `xml:"referenceHost,omitempty" json:"referenceHost,omitempty"`
// The newly associated reference host name
ReferenceHostName string `xml:"referenceHostName,omitempty" json:"referenceHostName,omitempty" vim:"6.5"`
// The previous reference host name
@@ -63017,8 +63300,8 @@ type ProfileReferenceHostChangedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileReferenceHostChangedEvent"] = "4.0"
t["ProfileReferenceHostChangedEvent"] = reflect.TypeOf((*ProfileReferenceHostChangedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileReferenceHostChangedEvent"] = "4.0"
}
// This event records that a Profile was removed.
@@ -63027,8 +63310,8 @@ type ProfileRemovedEvent struct {
}
func init() {
- minAPIVersionForType["ProfileRemovedEvent"] = "4.0"
t["ProfileRemovedEvent"] = reflect.TypeOf((*ProfileRemovedEvent)(nil)).Elem()
+ minAPIVersionForType["ProfileRemovedEvent"] = "4.0"
}
// The `ProfileSerializedCreateSpec` data object
@@ -63037,12 +63320,12 @@ type ProfileSerializedCreateSpec struct {
ProfileCreateSpec
// Representation of the profile in the string form.
- ProfileConfigString string `xml:"profileConfigString" json:"profileConfigString" vim:"4.0"`
+ ProfileConfigString string `xml:"profileConfigString" json:"profileConfigString"`
}
func init() {
- minAPIVersionForType["ProfileSerializedCreateSpec"] = "4.0"
t["ProfileSerializedCreateSpec"] = reflect.TypeOf((*ProfileSerializedCreateSpec)(nil)).Elem()
+ minAPIVersionForType["ProfileSerializedCreateSpec"] = "4.0"
}
// DataObject represents a pre-defined expression
@@ -63053,17 +63336,17 @@ type ProfileSimpleExpression struct {
//
// The expressionType should be derived from the available expressions as
// listed in the metadata.
- ExpressionType string `xml:"expressionType" json:"expressionType" vim:"4.0"`
+ ExpressionType string `xml:"expressionType" json:"expressionType"`
// The parameters for the expressionType.
//
// The list of parameters needed for a simple expression can
// be obtained from the metadata.
- Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty" vim:"4.0"`
+ Parameter []KeyAnyValue `xml:"parameter,omitempty" json:"parameter,omitempty"`
}
func init() {
- minAPIVersionForType["ProfileSimpleExpression"] = "4.0"
t["ProfileSimpleExpression"] = reflect.TypeOf((*ProfileSimpleExpression)(nil)).Elem()
+ minAPIVersionForType["ProfileSimpleExpression"] = "4.0"
}
// Errors were detected during Profile update.
@@ -63071,14 +63354,14 @@ type ProfileUpdateFailed struct {
VimFault
// Failures encountered during update/validation
- Failure []ProfileUpdateFailedUpdateFailure `xml:"failure" json:"failure" vim:"4.0"`
+ Failure []ProfileUpdateFailedUpdateFailure `xml:"failure" json:"failure"`
// Warnings encountered during update/validation
Warnings []ProfileUpdateFailedUpdateFailure `xml:"warnings,omitempty" json:"warnings,omitempty" vim:"6.7"`
}
func init() {
- minAPIVersionForType["ProfileUpdateFailed"] = "4.0"
t["ProfileUpdateFailed"] = reflect.TypeOf((*ProfileUpdateFailed)(nil)).Elem()
+ minAPIVersionForType["ProfileUpdateFailed"] = "4.0"
}
type ProfileUpdateFailedFault ProfileUpdateFailed
@@ -63091,9 +63374,9 @@ type ProfileUpdateFailedUpdateFailure struct {
DynamicData
// Location in the profile which has the error
- ProfilePath ProfilePropertyPath `xml:"profilePath" json:"profilePath" vim:"4.0"`
+ ProfilePath ProfilePropertyPath `xml:"profilePath" json:"profilePath"`
// Message which explains the problem encountered
- ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg" vim:"4.0"`
+ ErrMsg LocalizableMessage `xml:"errMsg" json:"errMsg"`
}
func init() {
@@ -63380,7 +63663,7 @@ type QueryAvailableDvsSpecRequestType struct {
// If set to true, return only the recommended versions.
// If set to false, return only the not recommended versions.
// If unset, return all supported versions.
- Recommended *bool `xml:"recommended" json:"recommended,omitempty"`
+ Recommended *bool `xml:"recommended" json:"recommended,omitempty" vim:"6.0"`
}
func init() {
@@ -63602,7 +63885,7 @@ func init() {
type QueryCmmdsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// List of CMMDS query specs.
- Queries []HostVsanInternalSystemCmmdsQuery `xml:"queries" json:"queries" vim:"5.5"`
+ Queries []HostVsanInternalSystemCmmdsQuery `xml:"queries" json:"queries"`
}
func init() {
@@ -63640,7 +63923,7 @@ type QueryCompatibleHostForExistingDvsRequestType struct {
// with the default `DistributedVirtualSwitchProductSpec`.
//
// Refers instance of `DistributedVirtualSwitch`.
- Dvs ManagedObjectReference `xml:"dvs" json:"dvs" vim:"4.0"`
+ Dvs ManagedObjectReference `xml:"dvs" json:"dvs"`
}
func init() {
@@ -63673,7 +63956,7 @@ type QueryCompatibleHostForNewDvsRequestType struct {
// The productSpec of a `DistributedVirtualSwitch`.
// If not set, it is assumed to be the default one used for
// DistributedVirtualSwitch creation.
- SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty" vim:"4.0"`
+ SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty"`
}
func init() {
@@ -63702,7 +63985,7 @@ type QueryCompatibleVmnicsFromHostsRequestType struct {
// made.
//
// Refers instance of `DistributedVirtualSwitch`.
- Dvs ManagedObjectReference `xml:"dvs" json:"dvs" vim:"4.0"`
+ Dvs ManagedObjectReference `xml:"dvs" json:"dvs"`
}
func init() {
@@ -63727,7 +64010,7 @@ type QueryComplianceStatusRequestType struct {
// specified profiles.
//
// Refers instances of `Profile`.
- Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile []ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
// If specified, compliance results for these entities will be returned.
// This acts like a filtering criteria for the ComplianceResults based on entities.
//
@@ -63787,7 +64070,7 @@ type QueryConfigOptionExRequestType struct {
// If the spec argument is omitted, the default
// `VirtualMachineConfigOption` for this environment browser is
// returned.
- Spec *EnvironmentBrowserConfigOptionQuerySpec `xml:"spec,omitempty" json:"spec,omitempty" vim:"6.0"`
+ Spec *EnvironmentBrowserConfigOptionQuerySpec `xml:"spec,omitempty" json:"spec,omitempty"`
}
func init() {
@@ -63884,7 +64167,7 @@ type QueryConnectionInfoRequestType struct {
// The password of the user.
Password string `xml:"password" json:"password"`
// The expected SSL thumbprint of the host's certificate.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"2.5"`
}
func init() {
@@ -63946,7 +64229,7 @@ func init() {
type QueryCryptoKeyStatusRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] The Crypto Key Ids to query.
- KeyIds []CryptoKeyId `xml:"keyIds,omitempty" json:"keyIds,omitempty" vim:"6.5"`
+ KeyIds []CryptoKeyId `xml:"keyIds,omitempty" json:"keyIds,omitempty"`
// \[in\] The key state to check. Supported value:
// 0x01. check if key data is available to VC.
// 0x02. check the VMs which use that key.
@@ -64141,16 +64424,16 @@ type QueryDvsCheckCompatibilityRequestType struct {
// This container can be a datacenter, folder, or computeResource.
// We can also include all the hosts in the hierarchy with container
// as root of the tree.
- HostContainer DistributedVirtualSwitchManagerHostContainer `xml:"hostContainer" json:"hostContainer" vim:"4.1"`
+ HostContainer DistributedVirtualSwitchManagerHostContainer `xml:"hostContainer" json:"hostContainer"`
// The productSpec of a DistributedVirtualSwitch. If not
// set, it is assumed to be the default one used for
// DistributedVirtualSwitch creation for current version.
- DvsProductSpec *DistributedVirtualSwitchManagerDvsProductSpec `xml:"dvsProductSpec,omitempty" json:"dvsProductSpec,omitempty" vim:"4.1"`
+ DvsProductSpec *DistributedVirtualSwitchManagerDvsProductSpec `xml:"dvsProductSpec,omitempty" json:"dvsProductSpec,omitempty"`
// The hosts against which to check compatibility. This is a
// filterSpec and users can use this to specify all hosts in a
// container (datacenter, folder, or computeResource), an array
// of hosts, or hosts that might or might not be a DVS member.
- HostFilterSpec []BaseDistributedVirtualSwitchManagerHostDvsFilterSpec `xml:"hostFilterSpec,omitempty,typeattr" json:"hostFilterSpec,omitempty" vim:"4.1"`
+ HostFilterSpec []BaseDistributedVirtualSwitchManagerHostDvsFilterSpec `xml:"hostFilterSpec,omitempty,typeattr" json:"hostFilterSpec,omitempty"`
}
func init() {
@@ -64173,7 +64456,7 @@ type QueryDvsCompatibleHostSpecRequestType struct {
// The productSpec of a `DistributedVirtualSwitch`.
// If not set, it is assumed to be the default one used for
// DistributedVirtualSwitch creation.
- SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty" vim:"4.0"`
+ SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty"`
}
func init() {
@@ -64203,7 +64486,7 @@ type QueryDvsConfigTargetRequestType struct {
// distributed virtual switches available on the host.
//
// Refers instance of `DistributedVirtualSwitch`.
- Dvs *ManagedObjectReference `xml:"dvs,omitempty" json:"dvs,omitempty" vim:"4.0"`
+ Dvs *ManagedObjectReference `xml:"dvs,omitempty" json:"dvs,omitempty"`
}
func init() {
@@ -64226,7 +64509,7 @@ type QueryDvsFeatureCapabilityRequestType struct {
// The productSpec of a `DistributedVirtualSwitch`.
// If not set, it is assumed to be the default one used for
// DistributedVirtualSwitch creation.
- SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty" vim:"4.0"`
+ SwitchProductSpec *DistributedVirtualSwitchProductSpec `xml:"switchProductSpec,omitempty" json:"switchProductSpec,omitempty"`
}
func init() {
@@ -64273,7 +64556,7 @@ type QueryExpressionMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
}
func init() {
@@ -64347,6 +64630,35 @@ type QueryFaultToleranceCompatibilityResponse struct {
Returnval []LocalizedMethodFault `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+type QueryFileLockInfo QueryFileLockInfoRequestType
+
+func init() {
+ t["QueryFileLockInfo"] = reflect.TypeOf((*QueryFileLockInfo)(nil)).Elem()
+}
+
+// The parameters of `FileManager.QueryFileLockInfo`.
+type QueryFileLockInfoRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // Full file path to look up lock information on.
+ // For example specific VM file like:
+ // /vmfs/volumes/datastore1/vm/vm-flat.vmdk
+ Path string `xml:"path" json:"path"`
+ // Host id is required if API is invoked on vCenter Server.
+ // It is optional if invoked on host directly. Esx does not
+ // require this parameter.
+ //
+ // Refers instance of `HostSystem`.
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
+}
+
+func init() {
+ t["QueryFileLockInfoRequestType"] = reflect.TypeOf((*QueryFileLockInfoRequestType)(nil)).Elem()
+}
+
+type QueryFileLockInfoResponse struct {
+ Returnval FileLockInfoResult `xml:"returnval" json:"returnval"`
+}
+
type QueryFilterEntities QueryFilterEntitiesRequestType
func init() {
@@ -64544,7 +64856,7 @@ type QueryHostProfileMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
}
func init() {
@@ -65299,7 +65611,7 @@ type QueryPolicyMetadataRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"5.0"`
}
func init() {
@@ -65340,7 +65652,7 @@ type QueryProfileStructureRequestType struct {
// Base profile whose context needs to be used during the operation
//
// Refers instance of `Profile`.
- Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty" vim:"4.0"`
+ Profile *ManagedObjectReference `xml:"profile,omitempty" json:"profile,omitempty"`
}
func init() {
@@ -65483,7 +65795,7 @@ type QuerySupportedNetworkOffloadSpecRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The productSpec of a
// `DistributedVirtualSwitch`.
- SwitchProductSpec DistributedVirtualSwitchProductSpec `xml:"switchProductSpec" json:"switchProductSpec" vim:"4.0"`
+ SwitchProductSpec DistributedVirtualSwitchProductSpec `xml:"switchProductSpec" json:"switchProductSpec"`
}
func init() {
@@ -65858,7 +66170,7 @@ type QueryVmfsDatastoreCreateOptionsRequestType struct {
// parameter is not specified, then the highest
// *supported VMFS major version* for the host
// is used.
- VmfsMajorVersion int32 `xml:"vmfsMajorVersion,omitempty" json:"vmfsMajorVersion,omitempty"`
+ VmfsMajorVersion int32 `xml:"vmfsMajorVersion,omitempty" json:"vmfsMajorVersion,omitempty" vim:"5.0"`
}
func init() {
@@ -65913,7 +66225,7 @@ type QueryVmfsDatastoreExtendOptionsRequestType struct {
// Free space can be used for adding an extent or expanding an existing
// extent. If this parameter is set to true, the list of options
// returned will not include free space that can be used for expansion.
- SuppressExpandCandidates *bool `xml:"suppressExpandCandidates" json:"suppressExpandCandidates,omitempty"`
+ SuppressExpandCandidates *bool `xml:"suppressExpandCandidates" json:"suppressExpandCandidates,omitempty" vim:"4.0"`
}
func init() {
@@ -66042,12 +66354,12 @@ type QuestionPending struct {
InvalidState
// Text of the question from the virtual machine.
- Text string `xml:"text" json:"text" vim:"4.1"`
+ Text string `xml:"text" json:"text"`
}
func init() {
- minAPIVersionForType["QuestionPending"] = "4.1"
t["QuestionPending"] = reflect.TypeOf((*QuestionPending)(nil)).Elem()
+ minAPIVersionForType["QuestionPending"] = "4.1"
}
type QuestionPendingFault QuestionPending
@@ -66064,20 +66376,20 @@ type QuiesceDatastoreIOForHAFailed struct {
// The host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"5.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Name of the host.
- HostName string `xml:"hostName" json:"hostName" vim:"5.0"`
+ HostName string `xml:"hostName" json:"hostName"`
// The datastore.
//
// Refers instance of `Datastore`.
- Ds ManagedObjectReference `xml:"ds" json:"ds" vim:"5.0"`
+ Ds ManagedObjectReference `xml:"ds" json:"ds"`
// Name of the datastore.
- DsName string `xml:"dsName" json:"dsName" vim:"5.0"`
+ DsName string `xml:"dsName" json:"dsName"`
}
func init() {
- minAPIVersionForType["QuiesceDatastoreIOForHAFailed"] = "5.0"
t["QuiesceDatastoreIOForHAFailed"] = reflect.TypeOf((*QuiesceDatastoreIOForHAFailed)(nil)).Elem()
+ minAPIVersionForType["QuiesceDatastoreIOForHAFailed"] = "5.0"
}
type QuiesceDatastoreIOForHAFailedFault QuiesceDatastoreIOForHAFailed
@@ -66093,12 +66405,12 @@ type RDMConversionNotSupported struct {
MigrationFault
// The name of the disk device using the RDM.
- Device string `xml:"device" json:"device" vim:"4.0"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["RDMConversionNotSupported"] = "4.0"
t["RDMConversionNotSupported"] = reflect.TypeOf((*RDMConversionNotSupported)(nil)).Elem()
+ minAPIVersionForType["RDMConversionNotSupported"] = "4.0"
}
type RDMConversionNotSupportedFault RDMConversionNotSupported
@@ -66162,18 +66474,18 @@ type RDMNotSupportedOnDatastore struct {
// the datastore.
//
// This is not guaranteed to be the only such device.
- Device string `xml:"device" json:"device" vim:"2.5"`
+ Device string `xml:"device" json:"device"`
// The datastore.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"2.5"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The name of the datastore.
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"2.5"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
}
func init() {
- minAPIVersionForType["RDMNotSupportedOnDatastore"] = "2.5"
t["RDMNotSupportedOnDatastore"] = reflect.TypeOf((*RDMNotSupportedOnDatastore)(nil)).Elem()
+ minAPIVersionForType["RDMNotSupportedOnDatastore"] = "2.5"
}
type RDMNotSupportedOnDatastoreFault RDMNotSupportedOnDatastore
@@ -66234,7 +66546,7 @@ type ReadEnvironmentVariableInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The names of the variables to be read. If not set, then
// all the environment variables are returned.
Names []string `xml:"names,omitempty" json:"names,omitempty"`
@@ -66261,8 +66573,8 @@ type ReadHostResourcePoolTreeFailed struct {
}
func init() {
- minAPIVersionForType["ReadHostResourcePoolTreeFailed"] = "5.0"
t["ReadHostResourcePoolTreeFailed"] = reflect.TypeOf((*ReadHostResourcePoolTreeFailed)(nil)).Elem()
+ minAPIVersionForType["ReadHostResourcePoolTreeFailed"] = "5.0"
}
type ReadHostResourcePoolTreeFailedFault ReadHostResourcePoolTreeFailed
@@ -66567,10 +66879,10 @@ func init() {
type ReconfigurationSatisfiableRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// List of PolicyChangeBatch structure with uuids and policies.
- Pcbs []VsanPolicyChangeBatch `xml:"pcbs" json:"pcbs" vim:"5.5"`
+ Pcbs []VsanPolicyChangeBatch `xml:"pcbs" json:"pcbs"`
// Optionally populate PolicyCost even though
// object cannot be reconfigured in the current cluster topology.
- IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty"`
+ IgnoreSatisfiability *bool `xml:"ignoreSatisfiability" json:"ignoreSatisfiability,omitempty" vim:"6.0"`
}
func init() {
@@ -66659,7 +66971,7 @@ type ReconfigureComputeResourceRequestType struct {
// set of changes, applied incrementally. When invoking
// reconfigureEx on a cluster, this argument may be a
// `ClusterConfigSpecEx` object.
- Spec BaseComputeResourceConfigSpec `xml:"spec,typeattr" json:"spec" vim:"2.5"`
+ Spec BaseComputeResourceConfigSpec `xml:"spec,typeattr" json:"spec"`
// Flag to specify whether the specification ("spec") should
// be applied incrementally. If "modify" is false and the
// operation succeeds, then the configuration of the cluster
@@ -66687,7 +66999,7 @@ type ReconfigureComputeResource_TaskResponse struct {
type ReconfigureDVPortRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The specification of the ports.
- Port []DVPortConfigSpec `xml:"port" json:"port" vim:"4.0"`
+ Port []DVPortConfigSpec `xml:"port" json:"port"`
}
func init() {
@@ -66708,7 +67020,7 @@ type ReconfigureDVPort_TaskResponse struct {
type ReconfigureDVPortgroupRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Configuration data for the portgroup.
- Spec DVPortgroupConfigSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec DVPortgroupConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -66731,7 +67043,7 @@ type ReconfigureDatacenterRequestType struct {
// A set of configuration changes to apply to the datacenter.
// The specification can be a complete set of changes or a partial
// set of changes, applied incrementally.
- Spec DatacenterConfigSpec `xml:"spec" json:"spec" vim:"5.1"`
+ Spec DatacenterConfigSpec `xml:"spec" json:"spec"`
// Flag to specify whether the specification ("spec") should
// be applied incrementally. If "modify" is false and the
// operation succeeds, then the configuration of the datacenter
@@ -66781,7 +67093,7 @@ type ReconfigureDomObjectResponse struct {
type ReconfigureDvsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The configuration of the switch
- Spec BaseDVSConfigSpec `xml:"spec,typeattr" json:"spec" vim:"4.0"`
+ Spec BaseDVSConfigSpec `xml:"spec,typeattr" json:"spec"`
}
func init() {
@@ -66930,8 +67242,8 @@ type RecordReplayDisabled struct {
}
func init() {
- minAPIVersionForType["RecordReplayDisabled"] = "4.0"
t["RecordReplayDisabled"] = reflect.TypeOf((*RecordReplayDisabled)(nil)).Elem()
+ minAPIVersionForType["RecordReplayDisabled"] = "4.0"
}
type RecordReplayDisabledFault RecordReplayDisabled
@@ -66945,18 +67257,18 @@ type RecoveryEvent struct {
DvsEvent
// The host on which recovery happened
- HostName string `xml:"hostName" json:"hostName" vim:"5.1"`
+ HostName string `xml:"hostName" json:"hostName"`
// The key of the new port
- PortKey string `xml:"portKey" json:"portKey" vim:"5.1"`
+ PortKey string `xml:"portKey" json:"portKey"`
// The uuid of the DVS
- DvsUuid string `xml:"dvsUuid,omitempty" json:"dvsUuid,omitempty" vim:"5.1"`
+ DvsUuid string `xml:"dvsUuid,omitempty" json:"dvsUuid,omitempty"`
// The virtual management NIC device where recovery was done
- Vnic string `xml:"vnic,omitempty" json:"vnic,omitempty" vim:"5.1"`
+ Vnic string `xml:"vnic,omitempty" json:"vnic,omitempty"`
}
func init() {
- minAPIVersionForType["RecoveryEvent"] = "5.1"
t["RecoveryEvent"] = reflect.TypeOf((*RecoveryEvent)(nil)).Elem()
+ minAPIVersionForType["RecoveryEvent"] = "5.1"
}
// The parameters of `DistributedVirtualSwitch.RectifyDvsHost_Task`.
@@ -67247,7 +67559,7 @@ type RefreshStorageDrsRecommendationRequestType struct {
// `PodStorageDrsEntry.recommendation`.
//
// Refers instance of `StoragePod`.
- Pod ManagedObjectReference `xml:"pod" json:"pod" vim:"5.0"`
+ Pod ManagedObjectReference `xml:"pod" json:"pod"`
}
func init() {
@@ -67265,7 +67577,7 @@ type RefreshStorageDrsRecommendationsForPodRequestType struct {
// `PodStorageDrsEntry.recommendation`.
//
// Refers instance of `StoragePod`.
- Pod ManagedObjectReference `xml:"pod" json:"pod" vim:"5.0"`
+ Pod ManagedObjectReference `xml:"pod" json:"pod"`
}
func init() {
@@ -67387,7 +67699,7 @@ func init() {
type RegisterExtensionRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Extension description to register.
- Extension Extension `xml:"extension" json:"extension" vim:"2.5"`
+ Extension Extension `xml:"extension" json:"extension"`
}
func init() {
@@ -67413,7 +67725,7 @@ type RegisterHealthUpdateProviderRequestType struct {
Name string `xml:"name" json:"name"`
// The list of healthUpdateInfo that can be
// reported in healthUpdates.
- HealthUpdateInfo []HealthUpdateInfo `xml:"healthUpdateInfo,omitempty" json:"healthUpdateInfo,omitempty" vim:"6.5"`
+ HealthUpdateInfo []HealthUpdateInfo `xml:"healthUpdateInfo,omitempty" json:"healthUpdateInfo,omitempty"`
}
func init() {
@@ -67434,7 +67746,7 @@ func init() {
type RegisterKmipServerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP server connection information.
- Server KmipServerSpec `xml:"server" json:"server" vim:"6.5"`
+ Server KmipServerSpec `xml:"server" json:"server"`
}
func init() {
@@ -67454,7 +67766,7 @@ func init() {
type RegisterKmsClusterRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMS cluster ID to register.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// \[in\] Key provider management type
// See `KmipClusterInfoKmsManagementType_enum`
// for valid values.
@@ -67520,7 +67832,7 @@ type Relation struct {
//
// and if a constraint is defined it will be one of
// `SoftwarePackageConstraint_enum`.
- Constraint string `xml:"constraint,omitempty" json:"constraint,omitempty" vim:"6.5"`
+ Constraint string `xml:"constraint,omitempty" json:"constraint,omitempty"`
Name string `xml:"name" json:"name"`
Version string `xml:"version,omitempty" json:"version,omitempty"`
}
@@ -67546,7 +67858,7 @@ type ReleaseCredentialsInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
}
func init() {
@@ -67637,7 +67949,7 @@ type RelocateVMRequestType struct {
Spec VirtualMachineRelocateSpec `xml:"spec" json:"spec"`
// The task priority
// (see `VirtualMachineMovePriority_enum`).
- Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty"`
+ Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty" vim:"4.0"`
}
func init() {
@@ -67658,7 +67970,7 @@ type RelocateVM_TaskResponse struct {
type RelocateVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -67666,7 +67978,7 @@ type RelocateVStorageObjectRequestType struct {
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The specification for relocation of the virtual
// storage object.
- Spec VslmRelocateSpec `xml:"spec" json:"spec" vim:"6.5"`
+ Spec VslmRelocateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -67707,8 +68019,8 @@ type RemoteTSMEnabledEvent struct {
}
func init() {
- minAPIVersionForType["RemoteTSMEnabledEvent"] = "4.1"
t["RemoteTSMEnabledEvent"] = reflect.TypeOf((*RemoteTSMEnabledEvent)(nil)).Elem()
+ minAPIVersionForType["RemoteTSMEnabledEvent"] = "4.1"
}
type RemoveAlarm RemoveAlarmRequestType
@@ -67733,7 +68045,7 @@ type RemoveAllSnapshotsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// (optional) If set to true, the virtual disks of the deleted
// snapshot will be merged with other disk if possible. Default to true.
- Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty"`
+ Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty" vim:"5.0"`
}
func init() {
@@ -67861,17 +68173,17 @@ type RemoveDatastoreResponse struct {
type RemoveDiskMappingRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// list of disk mappings to be removed from VSAN usage.
- Mapping []VsanHostDiskMapping `xml:"mapping" json:"mapping" vim:"5.5"`
+ Mapping []VsanHostDiskMapping `xml:"mapping" json:"mapping"`
// Any additional actions to move data out of the disk
// before removing it. See `HostMaintenanceSpec`.
// If unspecified, there is no action taken to move
// data from the disk.
- MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"5.5"`
+ MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"6.0"`
// Time to wait for the task to complete in seconds.
// If the value is less than or equal to zero, there
// is no timeout. The operation fails with a Timedout
// exception if it timed out.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.0"`
}
func init() {
@@ -67897,12 +68209,12 @@ type RemoveDiskRequestType struct {
// before removing it. See `HostMaintenanceSpec`.
// If unspecified, there is no action taken to move
// data from the disk.
- MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"5.5"`
+ MaintenanceSpec *HostMaintenanceSpec `xml:"maintenanceSpec,omitempty" json:"maintenanceSpec,omitempty" vim:"6.0"`
// Time to wait for the task to complete in seconds.
// If the value is less than or equal to zero, there
// is no timeout. The operation fails with a Timedout
// exception if it timed out.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.0"`
}
func init() {
@@ -68052,7 +68364,7 @@ type RemoveGuestAliasByCertRequestType struct {
// `GuestAuthentication`. These credentials must satisfy
// authentication requirements
// for a guest account on the specified virtual machine.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// Username for the guest account on the virtual machine.
Username string `xml:"username" json:"username"`
// The X.509 certificate to be removed, in base64
@@ -68080,14 +68392,14 @@ type RemoveGuestAliasRequestType struct {
// `GuestAuthentication`. These credentials must satisfy
// authentication requirements
// for a guest account on the specified virtual machine.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// Username for the guest account on the virtual machine.
Username string `xml:"username" json:"username"`
// The X.509 certificate associated with the alias to be
// removed, in base64 encoded DER format.
Base64Cert string `xml:"base64Cert" json:"base64Cert"`
// The subject of the alias.
- Subject BaseGuestAuthSubject `xml:"subject,typeattr" json:"subject" vim:"6.0"`
+ Subject BaseGuestAuthSubject `xml:"subject,typeattr" json:"subject"`
}
func init() {
@@ -68112,7 +68424,7 @@ type RemoveInternetScsiSendTargetsRequestType struct {
Targets []HostInternetScsiHbaSendTarget `xml:"targets" json:"targets"`
// flag for forced removal of iSCSI send targets.
// If unset, force flag will be treated as false.
- Force *bool `xml:"force" json:"force,omitempty"`
+ Force *bool `xml:"force" json:"force,omitempty" vim:"7.0.1.0"`
}
func init() {
@@ -68154,7 +68466,7 @@ func init() {
type RemoveKeyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] The key to remove.
- Key CryptoKeyId `xml:"key" json:"key" vim:"6.5"`
+ Key CryptoKeyId `xml:"key" json:"key"`
// \[in\] Remove the key even if in use or not existent.
Force bool `xml:"force" json:"force"`
}
@@ -68176,7 +68488,7 @@ func init() {
type RemoveKeysRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] List of keys to remove.
- Keys []CryptoKeyId `xml:"keys,omitempty" json:"keys,omitempty" vim:"6.5"`
+ Keys []CryptoKeyId `xml:"keys,omitempty" json:"keys,omitempty"`
// \[in\] Remove the key even if in use. Always successful.
Force bool `xml:"force" json:"force"`
}
@@ -68199,7 +68511,7 @@ func init() {
type RemoveKmipServerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster ID.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
// \[in\] KMIP server name.
ServerName string `xml:"serverName" json:"serverName"`
}
@@ -68446,7 +68758,7 @@ type RemoveSnapshotRequestType struct {
RemoveChildren bool `xml:"removeChildren" json:"removeChildren"`
// (optional) If set to true, the virtual disk associated
// with this snapshot will be merged with other disk if possible. Defaults to true.
- Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty"`
+ Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty" vim:"5.0"`
}
func init() {
@@ -68641,11 +68953,39 @@ func init() {
t["RenameVStorageObject"] = reflect.TypeOf((*RenameVStorageObject)(nil)).Elem()
}
+type RenameVStorageObjectEx RenameVStorageObjectExRequestType
+
+func init() {
+ t["RenameVStorageObjectEx"] = reflect.TypeOf((*RenameVStorageObjectEx)(nil)).Elem()
+}
+
+// The parameters of `VStorageObjectManagerBase.RenameVStorageObjectEx`.
+type RenameVStorageObjectExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The ID of the virtual storage object to be renamed.
+ Id ID `xml:"id" json:"id"`
+ // The datastore where the virtual storage object is
+ // located.
+ //
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // The new name for the virtual storage object.
+ Name string `xml:"name" json:"name"`
+}
+
+func init() {
+ t["RenameVStorageObjectExRequestType"] = reflect.TypeOf((*RenameVStorageObjectExRequestType)(nil)).Elem()
+}
+
+type RenameVStorageObjectExResponse struct {
+ Returnval VslmVClockInfo `xml:"returnval" json:"returnval"`
+}
+
// The parameters of `VcenterVStorageObjectManager.RenameVStorageObject`.
type RenameVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be renamed.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -68723,8 +69063,8 @@ type ReplicationConfigFault struct {
}
func init() {
- minAPIVersionForType["ReplicationConfigFault"] = "5.0"
t["ReplicationConfigFault"] = reflect.TypeOf((*ReplicationConfigFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationConfigFault"] = "5.0"
}
type ReplicationConfigFaultFault BaseReplicationConfigFault
@@ -68761,37 +69101,37 @@ type ReplicationConfigSpec struct {
// caller; e.g., the caller cannot assume that the generation
// numbers are incremented by one every time replication is
// (re)configured, not even that they are changing monotonically.
- Generation int64 `xml:"generation" json:"generation" vim:"5.0"`
+ Generation int64 `xml:"generation" json:"generation"`
// An opaque identifier that uniquely identifies a replicated VM
// between primary and secondary sites.
- VmReplicationId string `xml:"vmReplicationId" json:"vmReplicationId" vim:"5.0"`
+ VmReplicationId string `xml:"vmReplicationId" json:"vmReplicationId"`
// The IP address of the HBR Server in the secondary site
// where this VM is replicated to.
//
// Note: If net encryption is enabled, this is the address of the
// encryption tunnelling agent.
- Destination string `xml:"destination" json:"destination" vim:"5.0"`
+ Destination string `xml:"destination" json:"destination"`
// The port on the HBR Server in the secondary site where this VM
// is replicated to.
//
// Note: If net encryption is enabled, this is the port of the
// encryption tunneling agent.
- Port int32 `xml:"port" json:"port" vim:"5.0"`
+ Port int32 `xml:"port" json:"port"`
// The Recovery Point Objective specified for this VM, in minutes.
//
// Currently, valid values are in the range of 1 minute to 1440
// minutes (24 hours).
- Rpo int64 `xml:"rpo" json:"rpo" vim:"5.0"`
+ Rpo int64 `xml:"rpo" json:"rpo"`
// Flag that indicates whether or not to quiesce the file system or
// applications in the guest OS before a consistent replica is
// created.
- QuiesceGuestEnabled bool `xml:"quiesceGuestEnabled" json:"quiesceGuestEnabled" vim:"5.0"`
+ QuiesceGuestEnabled bool `xml:"quiesceGuestEnabled" json:"quiesceGuestEnabled"`
// Flag that indicates whether or not the vm or group has been paused for
// replication.
- Paused bool `xml:"paused" json:"paused" vim:"5.0"`
+ Paused bool `xml:"paused" json:"paused"`
// Flag that indicates whether or not to perform opportunistic
// updates in-between consistent replicas.
- OppUpdatesEnabled bool `xml:"oppUpdatesEnabled" json:"oppUpdatesEnabled" vim:"5.0"`
+ OppUpdatesEnabled bool `xml:"oppUpdatesEnabled" json:"oppUpdatesEnabled"`
// Flag that indicates whether or not compression should
// be used when sending traffic over the network.
//
@@ -68817,15 +69157,15 @@ type ReplicationConfigSpec struct {
// This field is only relevant when net encription is enabled.
RemoteCertificateThumbprint string `xml:"remoteCertificateThumbprint,omitempty" json:"remoteCertificateThumbprint,omitempty" vim:"6.7"`
// Flag that indicates whether DataSets files are replicated or not.
- DataSetsReplicationEnabled *bool `xml:"dataSetsReplicationEnabled" json:"dataSetsReplicationEnabled,omitempty"`
+ DataSetsReplicationEnabled *bool `xml:"dataSetsReplicationEnabled" json:"dataSetsReplicationEnabled,omitempty" vim:"8.0.0.0"`
// The set of the disks of this VM that are configured for
// replication.
- Disk []ReplicationInfoDiskSettings `xml:"disk,omitempty" json:"disk,omitempty" vim:"5.0"`
+ Disk []ReplicationInfoDiskSettings `xml:"disk,omitempty" json:"disk,omitempty"`
}
func init() {
- minAPIVersionForType["ReplicationConfigSpec"] = "5.0"
t["ReplicationConfigSpec"] = reflect.TypeOf((*ReplicationConfigSpec)(nil)).Elem()
+ minAPIVersionForType["ReplicationConfigSpec"] = "5.0"
}
// A ReplicationDiskConfigFault is thrown when there is an issue with
@@ -68836,19 +69176,19 @@ type ReplicationDiskConfigFault struct {
// The reason for the failure.
//
// One of the above.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The virtual machine, for identification purposes.
//
// Refers instance of `VirtualMachine`.
- VmRef *ManagedObjectReference `xml:"vmRef,omitempty" json:"vmRef,omitempty" vim:"5.0"`
+ VmRef *ManagedObjectReference `xml:"vmRef,omitempty" json:"vmRef,omitempty"`
// The disk (device) key in the parent VM for identification
// purposes.
- Key int32 `xml:"key,omitempty" json:"key,omitempty" vim:"5.0"`
+ Key int32 `xml:"key,omitempty" json:"key,omitempty"`
}
func init() {
- minAPIVersionForType["ReplicationDiskConfigFault"] = "5.0"
t["ReplicationDiskConfigFault"] = reflect.TypeOf((*ReplicationDiskConfigFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationDiskConfigFault"] = "5.0"
}
type ReplicationDiskConfigFaultFault ReplicationDiskConfigFault
@@ -68863,8 +69203,8 @@ type ReplicationFault struct {
}
func init() {
- minAPIVersionForType["ReplicationFault"] = "5.0"
t["ReplicationFault"] = reflect.TypeOf((*ReplicationFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationFault"] = "5.0"
}
type ReplicationFaultFault BaseReplicationFault
@@ -68896,17 +69236,17 @@ type ReplicationGroupId struct {
// Combined with the fault
// domain id, the group id is unique. A group may (or may not) have the same
// id in all the fault domains.
- FaultDomainId FaultDomainId `xml:"faultDomainId" json:"faultDomainId" vim:"6.5"`
+ FaultDomainId FaultDomainId `xml:"faultDomainId" json:"faultDomainId"`
// Id of the replication device group.
//
// A group may have the same (or different) id in each fault
// domain.
- DeviceGroupId DeviceGroupId `xml:"deviceGroupId" json:"deviceGroupId" vim:"6.5"`
+ DeviceGroupId DeviceGroupId `xml:"deviceGroupId" json:"deviceGroupId"`
}
func init() {
- minAPIVersionForType["ReplicationGroupId"] = "6.5"
t["ReplicationGroupId"] = reflect.TypeOf((*ReplicationGroupId)(nil)).Elem()
+ minAPIVersionForType["ReplicationGroupId"] = "6.5"
}
// Used to indicate that FT cannot be enabled on a replicated virtual machine
@@ -68916,8 +69256,8 @@ type ReplicationIncompatibleWithFT struct {
}
func init() {
- minAPIVersionForType["ReplicationIncompatibleWithFT"] = "5.0"
t["ReplicationIncompatibleWithFT"] = reflect.TypeOf((*ReplicationIncompatibleWithFT)(nil)).Elem()
+ minAPIVersionForType["ReplicationIncompatibleWithFT"] = "5.0"
}
type ReplicationIncompatibleWithFTFault ReplicationIncompatibleWithFT
@@ -68937,15 +69277,15 @@ type ReplicationInfoDiskSettings struct {
// Used to
// uniquely identify the disk to be configured for replication
// in the primary VM.
- Key int32 `xml:"key" json:"key" vim:"5.0"`
+ Key int32 `xml:"key" json:"key"`
// An opaque identifier that uniquely identifies a replicated
// disk between primary and secondary sites.
- DiskReplicationId string `xml:"diskReplicationId" json:"diskReplicationId" vim:"5.0"`
+ DiskReplicationId string `xml:"diskReplicationId" json:"diskReplicationId"`
}
func init() {
- minAPIVersionForType["ReplicationInfoDiskSettings"] = "5.0"
t["ReplicationInfoDiskSettings"] = reflect.TypeOf((*ReplicationInfoDiskSettings)(nil)).Elem()
+ minAPIVersionForType["ReplicationInfoDiskSettings"] = "5.0"
}
// A ReplicationInvalidOptions fault is thrown when the options
@@ -68954,16 +69294,16 @@ type ReplicationInvalidOptions struct {
ReplicationFault
// The invalid options string.
- Options string `xml:"options" json:"options" vim:"5.0"`
+ Options string `xml:"options" json:"options"`
// Entity, if any, that has invalid options.
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"5.0"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
}
func init() {
- minAPIVersionForType["ReplicationInvalidOptions"] = "5.0"
t["ReplicationInvalidOptions"] = reflect.TypeOf((*ReplicationInvalidOptions)(nil)).Elem()
+ minAPIVersionForType["ReplicationInvalidOptions"] = "5.0"
}
type ReplicationInvalidOptionsFault ReplicationInvalidOptions
@@ -68978,8 +69318,8 @@ type ReplicationNotSupportedOnHost struct {
}
func init() {
- minAPIVersionForType["ReplicationNotSupportedOnHost"] = "5.0"
t["ReplicationNotSupportedOnHost"] = reflect.TypeOf((*ReplicationNotSupportedOnHost)(nil)).Elem()
+ minAPIVersionForType["ReplicationNotSupportedOnHost"] = "5.0"
}
type ReplicationNotSupportedOnHostFault ReplicationNotSupportedOnHost
@@ -68992,7 +69332,7 @@ type ReplicationSpec struct {
DynamicData
// Replication Group id
- ReplicationGroupId ReplicationGroupId `xml:"replicationGroupId" json:"replicationGroupId" vim:"6.5"`
+ ReplicationGroupId ReplicationGroupId `xml:"replicationGroupId" json:"replicationGroupId"`
}
func init() {
@@ -69007,16 +69347,16 @@ type ReplicationVmConfigFault struct {
// The reason for the failure.
//
// One of the above `ReplicationVmConfigFaultReasonForFault_enum`.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The virtual machine, for identification purposes.
//
// Refers instance of `VirtualMachine`.
- VmRef *ManagedObjectReference `xml:"vmRef,omitempty" json:"vmRef,omitempty" vim:"5.0"`
+ VmRef *ManagedObjectReference `xml:"vmRef,omitempty" json:"vmRef,omitempty"`
}
func init() {
- minAPIVersionForType["ReplicationVmConfigFault"] = "5.0"
t["ReplicationVmConfigFault"] = reflect.TypeOf((*ReplicationVmConfigFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmConfigFault"] = "5.0"
}
type ReplicationVmConfigFaultFault ReplicationVmConfigFault
@@ -69033,21 +69373,21 @@ type ReplicationVmFault struct {
// The reason for the failure.
//
// One of the above.
- Reason string `xml:"reason" json:"reason" vim:"5.0"`
+ Reason string `xml:"reason" json:"reason"`
// The current `ReplicationVmState_enum` of the
// `VirtualMachine`
- State string `xml:"state,omitempty" json:"state,omitempty" vim:"5.0"`
+ State string `xml:"state,omitempty" json:"state,omitempty"`
// The name of the instance currently being created.
- InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty" vim:"5.0"`
+ InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty"`
// The virtual machine, for identification purposes.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
- minAPIVersionForType["ReplicationVmFault"] = "5.0"
t["ReplicationVmFault"] = reflect.TypeOf((*ReplicationVmFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmFault"] = "5.0"
}
type ReplicationVmFaultFault BaseReplicationVmFault
@@ -69063,14 +69403,14 @@ type ReplicationVmInProgressFault struct {
ReplicationVmFault
// The requsted activity for VM replication
- RequestedActivity string `xml:"requestedActivity" json:"requestedActivity" vim:"6.0"`
+ RequestedActivity string `xml:"requestedActivity" json:"requestedActivity"`
// The in-progress activity for VM replication
- InProgressActivity string `xml:"inProgressActivity" json:"inProgressActivity" vim:"6.0"`
+ InProgressActivity string `xml:"inProgressActivity" json:"inProgressActivity"`
}
func init() {
- minAPIVersionForType["ReplicationVmInProgressFault"] = "6.0"
t["ReplicationVmInProgressFault"] = reflect.TypeOf((*ReplicationVmInProgressFault)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmInProgressFault"] = "6.0"
}
type ReplicationVmInProgressFaultFault ReplicationVmInProgressFault
@@ -69086,13 +69426,13 @@ type ReplicationVmProgressInfo struct {
// An estimation of the operation progress as a percentage completed,
// from 0 to 100.
- Progress int32 `xml:"progress" json:"progress" vim:"5.0"`
+ Progress int32 `xml:"progress" json:"progress"`
// Number of bytes transferred so far.
//
// For sync operations, this value includes (i.e. counts multiple
// times) areas that were transferred multiple times (due to stopping
// and continuing the operation, or for some errors).
- BytesTransferred int64 `xml:"bytesTransferred" json:"bytesTransferred" vim:"5.0"`
+ BytesTransferred int64 `xml:"bytesTransferred" json:"bytesTransferred"`
// The total number of bytes to be transferred.
//
// For lwd operations, this is the total size of the disk images that
@@ -69105,20 +69445,20 @@ type ReplicationVmProgressInfo struct {
// operations advance. The value includes (i.e. counts multiple times)
// areas that will end up being transferred more than once (due to
// stopping and continuing the operation, or for some errors).
- BytesToTransfer int64 `xml:"bytesToTransfer" json:"bytesToTransfer" vim:"5.0"`
+ BytesToTransfer int64 `xml:"bytesToTransfer" json:"bytesToTransfer"`
// The total number of bytes to be checksummed, only present for sync
// tasks.
//
// This is the total size of all disks.
- ChecksumTotalBytes int64 `xml:"checksumTotalBytes,omitempty" json:"checksumTotalBytes,omitempty" vim:"5.0"`
+ ChecksumTotalBytes int64 `xml:"checksumTotalBytes,omitempty" json:"checksumTotalBytes,omitempty"`
// The total number of bytes that were checksummed, only present for
// sync tasks.
- ChecksumComparedBytes int64 `xml:"checksumComparedBytes,omitempty" json:"checksumComparedBytes,omitempty" vim:"5.0"`
+ ChecksumComparedBytes int64 `xml:"checksumComparedBytes,omitempty" json:"checksumComparedBytes,omitempty"`
}
func init() {
- minAPIVersionForType["ReplicationVmProgressInfo"] = "5.0"
t["ReplicationVmProgressInfo"] = reflect.TypeOf((*ReplicationVmProgressInfo)(nil)).Elem()
+ minAPIVersionForType["ReplicationVmProgressInfo"] = "5.0"
}
// A RequestCanceled fault is thrown if the user canceled the task.
@@ -69325,7 +69665,7 @@ type ResetListViewFromViewRequestType struct {
// The view to copy objects from.
//
// Refers instance of `View`.
- View ManagedObjectReference `xml:"view" json:"view" vim:"2.5"`
+ View ManagedObjectReference `xml:"view" json:"view"`
}
func init() {
@@ -69393,7 +69733,7 @@ type ResignatureUnresolvedVmfsVolumeRequestType struct {
// A data object that describes what the disk
// extents to be used for creating the new
// VMFS volume.
- ResolutionSpec HostUnresolvedVmfsResignatureSpec `xml:"resolutionSpec" json:"resolutionSpec" vim:"4.0"`
+ ResolutionSpec HostUnresolvedVmfsResignatureSpec `xml:"resolutionSpec" json:"resolutionSpec"`
}
func init() {
@@ -69472,7 +69812,7 @@ type ResolveMultipleUnresolvedVmfsVolumesExRequestType struct {
// List of data object that describes what the disk
// extents to be used for creating the new
// VMFS volume.
- ResolutionSpec []HostUnresolvedVmfsResolutionSpec `xml:"resolutionSpec" json:"resolutionSpec" vim:"4.0"`
+ ResolutionSpec []HostUnresolvedVmfsResolutionSpec `xml:"resolutionSpec" json:"resolutionSpec"`
}
func init() {
@@ -69495,7 +69835,7 @@ type ResolveMultipleUnresolvedVmfsVolumesRequestType struct {
// List of data object that describes what the disk
// extents to be used for creating the new
// VMFS volume.
- ResolutionSpec []HostUnresolvedVmfsResolutionSpec `xml:"resolutionSpec" json:"resolutionSpec" vim:"4.0"`
+ ResolutionSpec []HostUnresolvedVmfsResolutionSpec `xml:"resolutionSpec" json:"resolutionSpec"`
}
func init() {
@@ -69579,12 +69919,12 @@ type ResourceAllocationOption struct {
DynamicData
// Default value and value range for `ResourceAllocationInfo.shares`.
- SharesOption SharesOption `xml:"sharesOption" json:"sharesOption" vim:"4.1"`
+ SharesOption SharesOption `xml:"sharesOption" json:"sharesOption"`
}
func init() {
- minAPIVersionForType["ResourceAllocationOption"] = "4.1"
t["ResourceAllocationOption"] = reflect.TypeOf((*ResourceAllocationOption)(nil)).Elem()
+ minAPIVersionForType["ResourceAllocationOption"] = "4.1"
}
// This data object type is a default value and value range specification
@@ -69595,16 +69935,16 @@ type ResourceConfigOption struct {
// Resource allocation options for CPU.
//
// See also `ResourceAllocationInfo`.
- CpuAllocationOption ResourceAllocationOption `xml:"cpuAllocationOption" json:"cpuAllocationOption" vim:"4.1"`
+ CpuAllocationOption ResourceAllocationOption `xml:"cpuAllocationOption" json:"cpuAllocationOption"`
// Resource allocation options for memory.
//
// See also `ResourceAllocationInfo`.
- MemoryAllocationOption ResourceAllocationOption `xml:"memoryAllocationOption" json:"memoryAllocationOption" vim:"4.1"`
+ MemoryAllocationOption ResourceAllocationOption `xml:"memoryAllocationOption" json:"memoryAllocationOption"`
}
func init() {
- minAPIVersionForType["ResourceConfigOption"] = "4.1"
t["ResourceConfigOption"] = reflect.TypeOf((*ResourceConfigOption)(nil)).Elem()
+ minAPIVersionForType["ResourceConfigOption"] = "4.1"
}
// This data object type is a specification for a set of resources
@@ -69694,18 +70034,18 @@ type ResourceNotAvailable struct {
VimFault
// Type of container that contains the resource.
- ContainerType string `xml:"containerType,omitempty" json:"containerType,omitempty" vim:"4.0"`
+ ContainerType string `xml:"containerType,omitempty" json:"containerType,omitempty"`
// Name of container that contains the resource.
//
// .
- ContainerName string `xml:"containerName,omitempty" json:"containerName,omitempty" vim:"4.0"`
+ ContainerName string `xml:"containerName,omitempty" json:"containerName,omitempty"`
// Type of resource that is not available.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
}
func init() {
- minAPIVersionForType["ResourceNotAvailable"] = "4.0"
t["ResourceNotAvailable"] = reflect.TypeOf((*ResourceNotAvailable)(nil)).Elem()
+ minAPIVersionForType["ResourceNotAvailable"] = "4.0"
}
type ResourceNotAvailableFault ResourceNotAvailable
@@ -69786,33 +70126,33 @@ type ResourcePoolQuickStats struct {
DynamicData
// Basic CPU performance statistics, in MHz.
- OverallCpuUsage int64 `xml:"overallCpuUsage,omitempty" json:"overallCpuUsage,omitempty" vim:"4.0"`
+ OverallCpuUsage int64 `xml:"overallCpuUsage,omitempty" json:"overallCpuUsage,omitempty"`
// Basic CPU performance statistics, in MHz.
- OverallCpuDemand int64 `xml:"overallCpuDemand,omitempty" json:"overallCpuDemand,omitempty" vim:"4.0"`
+ OverallCpuDemand int64 `xml:"overallCpuDemand,omitempty" json:"overallCpuDemand,omitempty"`
// Guest memory utilization statistics, in MB.
//
// This
// is also known as active guest memory. The number
// can be between 0 and the configured memory size of
// a virtual machine.
- GuestMemoryUsage int64 `xml:"guestMemoryUsage,omitempty" json:"guestMemoryUsage,omitempty" vim:"4.0"`
+ GuestMemoryUsage int64 `xml:"guestMemoryUsage,omitempty" json:"guestMemoryUsage,omitempty"`
// Host memory utilization statistics, in MB.
//
// This
// is also known as consummed host memory. This is between 0 and
// the configured resource limit. Valid while a virtual machine is
// running. This includes the overhead memory of a virtual machine.
- HostMemoryUsage int64 `xml:"hostMemoryUsage,omitempty" json:"hostMemoryUsage,omitempty" vim:"4.0"`
+ HostMemoryUsage int64 `xml:"hostMemoryUsage,omitempty" json:"hostMemoryUsage,omitempty"`
// This is the amount of CPU resource, in MHz, that this VM is entitled to, as
// calculated by DRS.
//
// Valid only for a VM managed by DRS.
- DistributedCpuEntitlement int64 `xml:"distributedCpuEntitlement,omitempty" json:"distributedCpuEntitlement,omitempty" vim:"4.0"`
+ DistributedCpuEntitlement int64 `xml:"distributedCpuEntitlement,omitempty" json:"distributedCpuEntitlement,omitempty"`
// This is the amount of memory, in MB, that this VM is entitled to, as
// calculated by DRS.
//
// Valid only for a VM managed by DRS.
- DistributedMemoryEntitlement int64 `xml:"distributedMemoryEntitlement,omitempty" json:"distributedMemoryEntitlement,omitempty" vim:"4.0"`
+ DistributedMemoryEntitlement int64 `xml:"distributedMemoryEntitlement,omitempty" json:"distributedMemoryEntitlement,omitempty"`
// The static CPU resource entitlement for a virtual machine.
//
// This value is
@@ -69821,7 +70161,7 @@ type ResourcePoolQuickStats struct {
// case CPU allocation for this virtual machine, that is, the amount of CPU
// resource this virtual machine would receive if all virtual machines running
// in the cluster went to maximum consumption. Units are MHz.
- StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty" json:"staticCpuEntitlement,omitempty" vim:"4.0"`
+ StaticCpuEntitlement int32 `xml:"staticCpuEntitlement,omitempty" json:"staticCpuEntitlement,omitempty"`
// The static memory resource entitlement for a virtual machine.
//
// This value is
@@ -69830,24 +70170,24 @@ type ResourcePoolQuickStats struct {
// case memory allocation for this virtual machine, that is, the amount of
// memory this virtual machine would receive if all virtual machines running
// in the cluster went to maximum consumption. Units are MB.
- StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty" json:"staticMemoryEntitlement,omitempty" vim:"4.0"`
+ StaticMemoryEntitlement int32 `xml:"staticMemoryEntitlement,omitempty" json:"staticMemoryEntitlement,omitempty"`
// The portion of memory, in MB, that is granted to a virtual machine from
// non-shared host memory.
- PrivateMemory int64 `xml:"privateMemory,omitempty" json:"privateMemory,omitempty" vim:"4.0"`
+ PrivateMemory int64 `xml:"privateMemory,omitempty" json:"privateMemory,omitempty"`
// The portion of memory, in MB, that is granted to a virtual machine from host
// memory that is shared between VMs.
- SharedMemory int64 `xml:"sharedMemory,omitempty" json:"sharedMemory,omitempty" vim:"4.0"`
+ SharedMemory int64 `xml:"sharedMemory,omitempty" json:"sharedMemory,omitempty"`
// The portion of memory, in MB, that is granted to a virtual machine from the
// host's swap space.
//
// This is a sign that there is memory pressure on the host.
- SwappedMemory int64 `xml:"swappedMemory,omitempty" json:"swappedMemory,omitempty" vim:"4.0"`
+ SwappedMemory int64 `xml:"swappedMemory,omitempty" json:"swappedMemory,omitempty"`
// The size of the balloon driver in a virtual machine, in MB.
//
// The host will
// inflate the balloon driver to reclaim physical memory from a virtual machine.
// This is a sign that there is memory pressure on the host.
- BalloonedMemory int64 `xml:"balloonedMemory,omitempty" json:"balloonedMemory,omitempty" vim:"4.0"`
+ BalloonedMemory int64 `xml:"balloonedMemory,omitempty" json:"balloonedMemory,omitempty"`
// The amount of memory resource (in MB) that will be used by
// a virtual machine above its guest memory requirements.
//
@@ -69860,19 +70200,19 @@ type ResourcePoolQuickStats struct {
// which grows with time.
//
// See also `HostSystem.QueryMemoryOverheadEx`.
- OverheadMemory int64 `xml:"overheadMemory,omitempty" json:"overheadMemory,omitempty" vim:"4.0"`
+ OverheadMemory int64 `xml:"overheadMemory,omitempty" json:"overheadMemory,omitempty"`
// The amount of overhead memory, in MB, currently being consumed to run a VM.
//
// This value is limited by the overhead memory reservation for a VM, stored
// in `ResourcePoolQuickStats.overheadMemory`.
- ConsumedOverheadMemory int64 `xml:"consumedOverheadMemory,omitempty" json:"consumedOverheadMemory,omitempty" vim:"4.0"`
+ ConsumedOverheadMemory int64 `xml:"consumedOverheadMemory,omitempty" json:"consumedOverheadMemory,omitempty"`
// The amount of compressed memory currently consumed by VM, in KB.
CompressedMemory int64 `xml:"compressedMemory,omitempty" json:"compressedMemory,omitempty" vim:"4.1"`
}
func init() {
- minAPIVersionForType["ResourcePoolQuickStats"] = "4.0"
t["ResourcePoolQuickStats"] = reflect.TypeOf((*ResourcePoolQuickStats)(nil)).Elem()
+ minAPIVersionForType["ResourcePoolQuickStats"] = "4.0"
}
// This event records when a resource pool configuration is changed.
@@ -70090,8 +70430,8 @@ type RestrictedByAdministrator struct {
}
func init() {
- minAPIVersionForType["RestrictedByAdministrator"] = "6.0"
t["RestrictedByAdministrator"] = reflect.TypeOf((*RestrictedByAdministrator)(nil)).Elem()
+ minAPIVersionForType["RestrictedByAdministrator"] = "6.0"
}
type RestrictedByAdministratorFault RestrictedByAdministrator
@@ -70107,8 +70447,8 @@ type RestrictedVersion struct {
}
func init() {
- minAPIVersionForType["RestrictedVersion"] = "2.5"
t["RestrictedVersion"] = reflect.TypeOf((*RestrictedVersion)(nil)).Elem()
+ minAPIVersionForType["RestrictedVersion"] = "2.5"
}
type RestrictedVersionFault RestrictedVersion
@@ -70157,7 +70497,7 @@ type RetrieveAnswerFileForProfileRequestType struct {
// Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
// Profile configuration used to generate answer file
- ApplyProfile HostApplyProfile `xml:"applyProfile" json:"applyProfile" vim:"4.0"`
+ ApplyProfile HostApplyProfile `xml:"applyProfile" json:"applyProfile"`
}
func init() {
@@ -70235,7 +70575,7 @@ func init() {
type RetrieveClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
}
func init() {
@@ -70256,7 +70596,7 @@ func init() {
type RetrieveClientCsrRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
}
func init() {
@@ -70469,7 +70809,7 @@ type RetrieveHostCustomizationsForProfileRequestType struct {
// Refers instances of `HostSystem`.
Hosts []ManagedObjectReference `xml:"hosts,omitempty" json:"hosts,omitempty"`
// Profile configuration used to generate answer file
- ApplyProfile HostApplyProfile `xml:"applyProfile" json:"applyProfile" vim:"4.0"`
+ ApplyProfile HostApplyProfile `xml:"applyProfile" json:"applyProfile"`
}
func init() {
@@ -70535,9 +70875,9 @@ type RetrieveKmipServerCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster in which the server is placed
// or will be created.
- KeyProvider KeyProviderId `xml:"keyProvider" json:"keyProvider" vim:"6.5"`
+ KeyProvider KeyProviderId `xml:"keyProvider" json:"keyProvider"`
// \[in\] KMIP server.
- Server KmipServerInfo `xml:"server" json:"server" vim:"6.5"`
+ Server KmipServerInfo `xml:"server" json:"server"`
}
func init() {
@@ -70552,7 +70892,7 @@ type RetrieveKmipServerCertResponse struct {
type RetrieveKmipServersStatusRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP clusters and their servers.
- Clusters []KmipClusterInfo `xml:"clusters,omitempty" json:"clusters,omitempty" vim:"6.5"`
+ Clusters []KmipClusterInfo `xml:"clusters,omitempty" json:"clusters,omitempty"`
}
func init() {
@@ -70609,12 +70949,12 @@ type RetrieveOptions struct {
// objects may be retrieved with `PropertyCollector.ContinueRetrievePropertiesEx`.
//
// A value less than or equal to 0 is illegal.
- MaxObjects int32 `xml:"maxObjects,omitempty" json:"maxObjects,omitempty" vim:"4.1"`
+ MaxObjects int32 `xml:"maxObjects,omitempty" json:"maxObjects,omitempty"`
}
func init() {
- minAPIVersionForType["RetrieveOptions"] = "4.1"
t["RetrieveOptions"] = reflect.TypeOf((*RetrieveOptions)(nil)).Elem()
+ minAPIVersionForType["RetrieveOptions"] = "4.1"
}
type RetrieveProductComponents RetrieveProductComponentsRequestType
@@ -70654,7 +70994,7 @@ type RetrievePropertiesExRequestType struct {
SpecSet []PropertyFilterSpec `xml:"specSet" json:"specSet"`
// Additional method options. If omitted, equivalent to an options
// argument with no fields set.
- Options RetrieveOptions `xml:"options" json:"options" vim:"4.1"`
+ Options RetrieveOptions `xml:"options" json:"options"`
}
func init() {
@@ -70693,14 +71033,14 @@ type RetrieveResult struct {
//
// If unset, there are no further results to retrieve after this
// `RetrieveResult`.
- Token string `xml:"token,omitempty" json:"token,omitempty" vim:"4.1"`
+ Token string `xml:"token,omitempty" json:"token,omitempty"`
// retrieved objects.
- Objects []ObjectContent `xml:"objects" json:"objects" vim:"4.1"`
+ Objects []ObjectContent `xml:"objects" json:"objects"`
}
func init() {
- minAPIVersionForType["RetrieveResult"] = "4.1"
t["RetrieveResult"] = reflect.TypeOf((*RetrieveResult)(nil)).Elem()
+ minAPIVersionForType["RetrieveResult"] = "4.1"
}
type RetrieveRolePermissions RetrieveRolePermissionsRequestType
@@ -70733,7 +71073,7 @@ func init() {
type RetrieveSelfSignedClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
}
func init() {
@@ -70790,14 +71130,14 @@ func init() {
type RetrieveSnapshotDetailsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of a virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -70818,7 +71158,7 @@ func init() {
type RetrieveSnapshotInfoRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -70905,16 +71245,16 @@ type RetrieveVStorageObjSpec struct {
DynamicData
// ID of this virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.7"`
+ Id ID `xml:"id" json:"id"`
// Datastore where the object is located.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"6.7"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["RetrieveVStorageObjSpec"] = "6.7"
t["RetrieveVStorageObjSpec"] = reflect.TypeOf((*RetrieveVStorageObjSpec)(nil)).Elem()
+ minAPIVersionForType["RetrieveVStorageObjSpec"] = "6.7"
}
type RetrieveVStorageObject RetrieveVStorageObjectRequestType
@@ -70933,7 +71273,7 @@ func init() {
type RetrieveVStorageObjectAssociationsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The IDs of the virtual storage objects of the query.
- Ids []RetrieveVStorageObjSpec `xml:"ids,omitempty" json:"ids,omitempty" vim:"6.7"`
+ Ids []RetrieveVStorageObjSpec `xml:"ids,omitempty" json:"ids,omitempty"`
}
func init() {
@@ -70948,7 +71288,7 @@ type RetrieveVStorageObjectAssociationsResponse struct {
type RetrieveVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object to be retrieved.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -70959,7 +71299,7 @@ type RetrieveVStorageObjectRequestType struct {
// information will be retrieved. See
// `vslmDiskInfoFlag_enum` for the list of
// supported values.
- DiskInfoFlags []string `xml:"diskInfoFlags,omitempty" json:"diskInfoFlags,omitempty"`
+ DiskInfoFlags []string `xml:"diskInfoFlags,omitempty" json:"diskInfoFlags,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -70980,7 +71320,7 @@ func init() {
type RetrieveVStorageObjectStateRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object the state to be retrieved.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
@@ -71076,7 +71416,7 @@ type RevertToCurrentSnapshotRequestType struct {
// (optional) If set to true, the virtual
// machine will not be powered on regardless of the power state when
// the current snapshot was created. Default to false.
- SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty"`
+ SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty" vim:"2.5 U2"`
}
func init() {
@@ -71113,7 +71453,7 @@ type RevertToSnapshotRequestType struct {
// (optional) If set to true, the virtual
// machine will not be powered on regardless of the power state when
// the snapshot was created. Default to false.
- SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty"`
+ SuppressPowerOn *bool `xml:"suppressPowerOn" json:"suppressPowerOn,omitempty" vim:"2.5 U2"`
}
func init() {
@@ -71130,18 +71470,46 @@ type RevertToSnapshot_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VStorageObjectManagerBase.RevertVStorageObjectEx_Task`.
+type RevertVStorageObjectExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The ID of the virtual storage object.
+ Id ID `xml:"id" json:"id"`
+ // The datastore where the source virtual storage object
+ // is located.
+ //
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // The ID of the snapshot of a virtual storage object.
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
+}
+
+func init() {
+ t["RevertVStorageObjectExRequestType"] = reflect.TypeOf((*RevertVStorageObjectExRequestType)(nil)).Elem()
+}
+
+type RevertVStorageObjectEx_Task RevertVStorageObjectExRequestType
+
+func init() {
+ t["RevertVStorageObjectEx_Task"] = reflect.TypeOf((*RevertVStorageObjectEx_Task)(nil)).Elem()
+}
+
+type RevertVStorageObjectEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
// The parameters of `VcenterVStorageObjectManager.RevertVStorageObject_Task`.
type RevertVStorageObjectRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// The ID of the snapshot of a virtual storage object.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -71247,14 +71615,14 @@ type RollbackEvent struct {
DvsEvent
// The host on which rollback happened
- HostName string `xml:"hostName" json:"hostName" vim:"5.1"`
+ HostName string `xml:"hostName" json:"hostName"`
// The API method that was rolled back
- MethodName string `xml:"methodName,omitempty" json:"methodName,omitempty" vim:"5.1"`
+ MethodName string `xml:"methodName,omitempty" json:"methodName,omitempty"`
}
func init() {
- minAPIVersionForType["RollbackEvent"] = "5.1"
t["RollbackEvent"] = reflect.TypeOf((*RollbackEvent)(nil)).Elem()
+ minAPIVersionForType["RollbackEvent"] = "5.1"
}
// Thrown if a Rollback operation fails
@@ -71262,14 +71630,14 @@ type RollbackFailure struct {
DvsFault
// The entity name on which rollback failed
- EntityName string `xml:"entityName" json:"entityName" vim:"5.1"`
+ EntityName string `xml:"entityName" json:"entityName"`
// The entity type on which rollback failed
- EntityType string `xml:"entityType" json:"entityType" vim:"5.1"`
+ EntityType string `xml:"entityType" json:"entityType"`
}
func init() {
- minAPIVersionForType["RollbackFailure"] = "5.1"
t["RollbackFailure"] = reflect.TypeOf((*RollbackFailure)(nil)).Elem()
+ minAPIVersionForType["RollbackFailure"] = "5.1"
}
type RollbackFailureFault RollbackFailure
@@ -71402,17 +71770,17 @@ type SAMLTokenAuthentication struct {
GuestAuthentication
// The SAML bearer token.
- Token string `xml:"token" json:"token" vim:"6.0"`
+ Token string `xml:"token" json:"token"`
// This is the guest user to be associated with the authentication.
//
// If none is specified, a guest dependent mapping will decide what
// user account is applied.
- Username string `xml:"username,omitempty" json:"username,omitempty" vim:"6.0"`
+ Username string `xml:"username,omitempty" json:"username,omitempty"`
}
func init() {
- minAPIVersionForType["SAMLTokenAuthentication"] = "6.0"
t["SAMLTokenAuthentication"] = reflect.TypeOf((*SAMLTokenAuthentication)(nil)).Elem()
+ minAPIVersionForType["SAMLTokenAuthentication"] = "6.0"
}
// An empty data object which can be used as the base class for data objects
@@ -71425,8 +71793,8 @@ type SDDCBase struct {
}
func init() {
- minAPIVersionForType["SDDCBase"] = "6.0"
t["SDDCBase"] = reflect.TypeOf((*SDDCBase)(nil)).Elem()
+ minAPIVersionForType["SDDCBase"] = "6.0"
}
// A SSLDisabledFault fault occurs when a host does not have ssl enabled.
@@ -71435,8 +71803,8 @@ type SSLDisabledFault struct {
}
func init() {
- minAPIVersionForType["SSLDisabledFault"] = "4.0"
t["SSLDisabledFault"] = reflect.TypeOf((*SSLDisabledFault)(nil)).Elem()
+ minAPIVersionForType["SSLDisabledFault"] = "4.0"
}
type SSLDisabledFaultFault SSLDisabledFault
@@ -71462,14 +71830,16 @@ type SSLVerifyFault struct {
HostConnectFault
// Whether the host's certificate was self signed
- SelfSigned bool `xml:"selfSigned" json:"selfSigned" vim:"2.5"`
- // The thumbprint of the host's certificate
- Thumbprint string `xml:"thumbprint" json:"thumbprint" vim:"2.5"`
+ SelfSigned bool `xml:"selfSigned" json:"selfSigned"`
+ // The thumbprint of the host's certificate.
+ //
+ // This field is optional since vSphere 8.0u2.
+ Thumbprint string `xml:"thumbprint,omitempty" json:"thumbprint,omitempty"`
}
func init() {
- minAPIVersionForType["SSLVerifyFault"] = "2.5"
t["SSLVerifyFault"] = reflect.TypeOf((*SSLVerifyFault)(nil)).Elem()
+ minAPIVersionForType["SSLVerifyFault"] = "2.5"
}
type SSLVerifyFaultFault SSLVerifyFault
@@ -71513,12 +71883,12 @@ type SSPIAuthentication struct {
GuestAuthentication
// This contains a base64 encoded SSPI Token.
- SspiToken string `xml:"sspiToken" json:"sspiToken" vim:"5.0"`
+ SspiToken string `xml:"sspiToken" json:"sspiToken"`
}
func init() {
- minAPIVersionForType["SSPIAuthentication"] = "5.0"
t["SSPIAuthentication"] = reflect.TypeOf((*SSPIAuthentication)(nil)).Elem()
+ minAPIVersionForType["SSPIAuthentication"] = "5.0"
}
// Thrown during SSPI pass-through authentication if further
@@ -71527,12 +71897,12 @@ type SSPIChallenge struct {
VimFault
// The opaque server response token, base-64 encoded.
- Base64Token string `xml:"base64Token" json:"base64Token" vim:"2.5"`
+ Base64Token string `xml:"base64Token" json:"base64Token"`
}
func init() {
- minAPIVersionForType["SSPIChallenge"] = "2.5"
t["SSPIChallenge"] = reflect.TypeOf((*SSPIChallenge)(nil)).Elem()
+ minAPIVersionForType["SSPIChallenge"] = "2.5"
}
type SSPIChallengeFault SSPIChallenge
@@ -71626,22 +71996,22 @@ type ScheduledHardwareUpgradeInfo struct {
// Scheduled hardware upgrade policy setting for the virtual machine.
//
// See also `ScheduledHardwareUpgradeInfoHardwareUpgradePolicy_enum`.
- UpgradePolicy string `xml:"upgradePolicy,omitempty" json:"upgradePolicy,omitempty" vim:"5.1"`
+ UpgradePolicy string `xml:"upgradePolicy,omitempty" json:"upgradePolicy,omitempty"`
// Key for target hardware version to be used on next scheduled upgrade
// in the format of `VirtualMachineConfigOptionDescriptor.key`.
- VersionKey string `xml:"versionKey,omitempty" json:"versionKey,omitempty" vim:"5.1"`
+ VersionKey string `xml:"versionKey,omitempty" json:"versionKey,omitempty"`
// Status for last attempt to run scheduled hardware upgrade.
//
// See also `ScheduledHardwareUpgradeInfoHardwareUpgradeStatus_enum`.
- ScheduledHardwareUpgradeStatus string `xml:"scheduledHardwareUpgradeStatus,omitempty" json:"scheduledHardwareUpgradeStatus,omitempty" vim:"5.1"`
+ ScheduledHardwareUpgradeStatus string `xml:"scheduledHardwareUpgradeStatus,omitempty" json:"scheduledHardwareUpgradeStatus,omitempty"`
// Contains information about the failure of last attempt to run
// scheduled hardware upgrade.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"5.1"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["ScheduledHardwareUpgradeInfo"] = "5.1"
t["ScheduledHardwareUpgradeInfo"] = reflect.TypeOf((*ScheduledHardwareUpgradeInfo)(nil)).Elem()
+ minAPIVersionForType["ScheduledHardwareUpgradeInfo"] = "5.1"
}
// This event records the completion of a scheduled task.
@@ -72034,11 +72404,11 @@ type ScsiLun struct {
// Application protocol for a device which is set based on input
// from vmkctl storage control plane. Must be one of the values of
// `DeviceProtocol_enum`.
- ApplicationProtocol string `xml:"applicationProtocol,omitempty" json:"applicationProtocol,omitempty"`
+ ApplicationProtocol string `xml:"applicationProtocol,omitempty" json:"applicationProtocol,omitempty" vim:"8.0.1.0"`
// Indicates whether namespace is dispersed.
//
// Set to true when the namespace of LUN is dispersed.
- DispersedNs *bool `xml:"dispersedNs" json:"dispersedNs,omitempty"`
+ DispersedNs *bool `xml:"dispersedNs" json:"dispersedNs,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -72050,12 +72420,12 @@ type ScsiLunCapabilities struct {
DynamicData
// Can the display name of the SCSI device be updated?
- UpdateDisplayNameSupported bool `xml:"updateDisplayNameSupported" json:"updateDisplayNameSupported" vim:"4.0"`
+ UpdateDisplayNameSupported bool `xml:"updateDisplayNameSupported" json:"updateDisplayNameSupported"`
}
func init() {
- minAPIVersionForType["ScsiLunCapabilities"] = "4.0"
t["ScsiLunCapabilities"] = reflect.TypeOf((*ScsiLunCapabilities)(nil)).Elem()
+ minAPIVersionForType["ScsiLunCapabilities"] = "4.0"
}
// A structure that encapsulates an identifier and its properties for the
@@ -72067,14 +72437,14 @@ type ScsiLunDescriptor struct {
// is stable, unique, and correlatable.
//
// See also `ScsiLunDescriptorQuality_enum`.
- Quality string `xml:"quality" json:"quality" vim:"4.0"`
+ Quality string `xml:"quality" json:"quality"`
// The identifier represented as a string.
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
}
func init() {
- minAPIVersionForType["ScsiLunDescriptor"] = "4.0"
t["ScsiLunDescriptor"] = reflect.TypeOf((*ScsiLunDescriptor)(nil)).Elem()
+ minAPIVersionForType["ScsiLunDescriptor"] = "4.0"
}
// This data object type represents an SMI-S "Correlatable and
@@ -72114,12 +72484,12 @@ type SeSparseVirtualDiskSpec struct {
//
// Default value will
// be used if unset.
- GrainSizeKb int32 `xml:"grainSizeKb,omitempty" json:"grainSizeKb,omitempty" vim:"5.1"`
+ GrainSizeKb int32 `xml:"grainSizeKb,omitempty" json:"grainSizeKb,omitempty"`
}
func init() {
- minAPIVersionForType["SeSparseVirtualDiskSpec"] = "5.1"
t["SeSparseVirtualDiskSpec"] = reflect.TypeOf((*SeSparseVirtualDiskSpec)(nil)).Elem()
+ minAPIVersionForType["SeSparseVirtualDiskSpec"] = "5.1"
}
// The parameters of `HostDatastoreBrowser.SearchDatastore_Task`.
@@ -72170,12 +72540,12 @@ type SecondaryVmAlreadyDisabled struct {
VmFaultToleranceIssue
// Instance UUID of the secondary virtual machine.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["SecondaryVmAlreadyDisabled"] = "4.0"
t["SecondaryVmAlreadyDisabled"] = reflect.TypeOf((*SecondaryVmAlreadyDisabled)(nil)).Elem()
+ minAPIVersionForType["SecondaryVmAlreadyDisabled"] = "4.0"
}
type SecondaryVmAlreadyDisabledFault SecondaryVmAlreadyDisabled
@@ -72190,12 +72560,12 @@ type SecondaryVmAlreadyEnabled struct {
VmFaultToleranceIssue
// Instance UUID of the secondary virtual machine.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["SecondaryVmAlreadyEnabled"] = "4.0"
t["SecondaryVmAlreadyEnabled"] = reflect.TypeOf((*SecondaryVmAlreadyEnabled)(nil)).Elem()
+ minAPIVersionForType["SecondaryVmAlreadyEnabled"] = "4.0"
}
type SecondaryVmAlreadyEnabledFault SecondaryVmAlreadyEnabled
@@ -72211,12 +72581,12 @@ type SecondaryVmAlreadyRegistered struct {
VmFaultToleranceIssue
// Instance UUID of the secondary virtual machine.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["SecondaryVmAlreadyRegistered"] = "4.0"
t["SecondaryVmAlreadyRegistered"] = reflect.TypeOf((*SecondaryVmAlreadyRegistered)(nil)).Elem()
+ minAPIVersionForType["SecondaryVmAlreadyRegistered"] = "4.0"
}
type SecondaryVmAlreadyRegisteredFault SecondaryVmAlreadyRegistered
@@ -72232,12 +72602,12 @@ type SecondaryVmNotRegistered struct {
VmFaultToleranceIssue
// Instance UUID of the secondary virtual machine.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["SecondaryVmNotRegistered"] = "4.0"
t["SecondaryVmNotRegistered"] = reflect.TypeOf((*SecondaryVmNotRegistered)(nil)).Elem()
+ minAPIVersionForType["SecondaryVmNotRegistered"] = "4.0"
}
type SecondaryVmNotRegisteredFault SecondaryVmNotRegistered
@@ -72274,8 +72644,8 @@ type SecurityProfile struct {
}
func init() {
- minAPIVersionForType["SecurityProfile"] = "4.0"
t["SecurityProfile"] = reflect.TypeOf((*SecurityProfile)(nil)).Elem()
+ minAPIVersionForType["SecurityProfile"] = "4.0"
}
type SelectActivePartition SelectActivePartitionRequestType
@@ -72345,8 +72715,8 @@ type SelectionSet struct {
}
func init() {
- minAPIVersionForType["SelectionSet"] = "5.0"
t["SelectionSet"] = reflect.TypeOf((*SelectionSet)(nil)).Elem()
+ minAPIVersionForType["SelectionSet"] = "5.0"
}
// The `SelectionSpec` is the base type for data
@@ -72472,12 +72842,12 @@ type ServiceConsolePortGroupProfile struct {
PortGroupProfile
// IP address configuration for the service console network.
- IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig" vim:"4.0"`
+ IpConfig IpAddressProfile `xml:"ipConfig" json:"ipConfig"`
}
func init() {
- minAPIVersionForType["ServiceConsolePortGroupProfile"] = "4.0"
t["ServiceConsolePortGroupProfile"] = reflect.TypeOf((*ServiceConsolePortGroupProfile)(nil)).Elem()
+ minAPIVersionForType["ServiceConsolePortGroupProfile"] = "4.0"
}
// The ServiceConsoleReservationInfo data object type describes the
@@ -72781,18 +73151,22 @@ type ServiceLocator struct {
// For
// instances that support the vSphere API, this is the same as the
// value found in `AboutInfo.instanceUuid`.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"6.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
// URL used to access the service endpoint
- Url string `xml:"url" json:"url" vim:"6.0"`
+ Url string `xml:"url" json:"url"`
// Credential to establish the connection and login to the service.
- Credential BaseServiceLocatorCredential `xml:"credential,typeattr" json:"credential" vim:"6.0"`
- // The sslThumbprint of the service endpoint
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"6.0"`
+ Credential BaseServiceLocatorCredential `xml:"credential,typeattr" json:"credential"`
+ // The SSL thumbprint of the certificate of the service endpoint.
+ //
+ // Superceded by `#sslCertificate`.
+ // Note: If both sslThumbprint
and sslCertificate
are set,
+ // sslThumbprint
must correspond to the sslCertificate
.
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
}
func init() {
- minAPIVersionForType["ServiceLocator"] = "6.0"
t["ServiceLocator"] = reflect.TypeOf((*ServiceLocator)(nil)).Elem()
+ minAPIVersionForType["ServiceLocator"] = "6.0"
}
// The data object type is a base type of credential for authentication such
@@ -72802,8 +73176,8 @@ type ServiceLocatorCredential struct {
}
func init() {
- minAPIVersionForType["ServiceLocatorCredential"] = "6.0"
t["ServiceLocatorCredential"] = reflect.TypeOf((*ServiceLocatorCredential)(nil)).Elem()
+ minAPIVersionForType["ServiceLocatorCredential"] = "6.0"
}
// The data object type specifies the username and password credential for
@@ -72812,14 +73186,14 @@ type ServiceLocatorNamePassword struct {
ServiceLocatorCredential
// The username for Username-Password authentication
- Username string `xml:"username" json:"username" vim:"6.0"`
+ Username string `xml:"username" json:"username"`
// The password for Username-Password authentication
- Password string `xml:"password" json:"password" vim:"6.0"`
+ Password string `xml:"password" json:"password"`
}
func init() {
- minAPIVersionForType["ServiceLocatorNamePassword"] = "6.0"
t["ServiceLocatorNamePassword"] = reflect.TypeOf((*ServiceLocatorNamePassword)(nil)).Elem()
+ minAPIVersionForType["ServiceLocatorNamePassword"] = "6.0"
}
// The data object type specifies the SAML token (SSO) based credential for
@@ -72828,12 +73202,12 @@ type ServiceLocatorSAMLCredential struct {
ServiceLocatorCredential
// The SAML token for authentication
- Token string `xml:"token,omitempty" json:"token,omitempty" vim:"6.0"`
+ Token string `xml:"token,omitempty" json:"token,omitempty"`
}
func init() {
- minAPIVersionForType["ServiceLocatorSAMLCredential"] = "6.0"
t["ServiceLocatorSAMLCredential"] = reflect.TypeOf((*ServiceLocatorSAMLCredential)(nil)).Elem()
+ minAPIVersionForType["ServiceLocatorSAMLCredential"] = "6.0"
}
// This data object represents essential information about a particular service.
@@ -72881,12 +73255,12 @@ type ServiceProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["ServiceProfile"] = "4.0"
t["ServiceProfile"] = reflect.TypeOf((*ServiceProfile)(nil)).Elem()
+ minAPIVersionForType["ServiceProfile"] = "4.0"
}
// These are session events.
@@ -72935,7 +73309,7 @@ type SessionManagerGenericServiceTicket struct {
DynamicData
// A unique string identifying the ticket.
- Id string `xml:"id" json:"id" vim:"5.0"`
+ Id string `xml:"id" json:"id"`
// The name of the host that the service is running on
HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"5.1"`
// The expected thumbprint of the SSL certificate of the host.
@@ -72949,15 +73323,15 @@ type SessionManagerGenericServiceTicket struct {
// to include only certain hash types. The default configuration
// includes all hash types that are considered secure. See vmware.com
// for the current security standards.
- CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty" json:"certThumbprintList,omitempty"`
+ CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty" json:"certThumbprintList,omitempty" vim:"7.0.3.1"`
// Type of the ticket
// See { @Vim::SessionManager::GenericServiceTicket::TicketType }
TicketType string `xml:"ticketType,omitempty" json:"ticketType,omitempty" vim:"7.0.2.0"`
}
func init() {
- minAPIVersionForType["SessionManagerGenericServiceTicket"] = "5.0"
t["SessionManagerGenericServiceTicket"] = reflect.TypeOf((*SessionManagerGenericServiceTicket)(nil)).Elem()
+ minAPIVersionForType["SessionManagerGenericServiceTicket"] = "5.0"
}
// This data object type describes a request to an HTTP or HTTPS service.
@@ -72969,7 +73343,7 @@ type SessionManagerHttpServiceRequestSpec struct {
// If null, then any method is assumed.
//
// See also `SessionManagerHttpServiceRequestSpecMethod_enum`.
- Method string `xml:"method,omitempty" json:"method,omitempty" vim:"5.0"`
+ Method string `xml:"method,omitempty" json:"method,omitempty"`
// URL of the HTTP request.
//
// E.g. 'https://127.0.0.1:8080/cgi-bin/vm-support.cgi?n=val'.
@@ -72980,12 +73354,12 @@ type SessionManagerHttpServiceRequestSpec struct {
//
// This is so because the scheme is not known to the CGI service,
// and the port may not be the same if using a proxy.
- Url string `xml:"url" json:"url" vim:"5.0"`
+ Url string `xml:"url" json:"url"`
}
func init() {
- minAPIVersionForType["SessionManagerHttpServiceRequestSpec"] = "5.0"
t["SessionManagerHttpServiceRequestSpec"] = reflect.TypeOf((*SessionManagerHttpServiceRequestSpec)(nil)).Elem()
+ minAPIVersionForType["SessionManagerHttpServiceRequestSpec"] = "5.0"
}
// This data object type contains the user name
@@ -73015,8 +73389,8 @@ type SessionManagerServiceRequestSpec struct {
}
func init() {
- minAPIVersionForType["SessionManagerServiceRequestSpec"] = "5.0"
t["SessionManagerServiceRequestSpec"] = reflect.TypeOf((*SessionManagerServiceRequestSpec)(nil)).Elem()
+ minAPIVersionForType["SessionManagerServiceRequestSpec"] = "5.0"
}
// This data object type describes a request to invoke a specific method
@@ -73030,12 +73404,12 @@ type SessionManagerVmomiServiceRequestSpec struct {
SessionManagerServiceRequestSpec
// Name of the method identified by this request spec
- Method string `xml:"method" json:"method" vim:"5.1"`
+ Method string `xml:"method" json:"method"`
}
func init() {
- minAPIVersionForType["SessionManagerVmomiServiceRequestSpec"] = "5.1"
t["SessionManagerVmomiServiceRequestSpec"] = reflect.TypeOf((*SessionManagerVmomiServiceRequestSpec)(nil)).Elem()
+ minAPIVersionForType["SessionManagerVmomiServiceRequestSpec"] = "5.1"
}
// This event records the termination of a session.
@@ -73083,7 +73457,9 @@ type SetCryptoModeRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The encryption mode for the cluster.
// See `ClusterCryptoConfigInfoCryptoMode_enum` for
- // supported values.
+ // supported values. An empty string is treated as a valid
+ // input and will be interpreted as
+ // `onDemand`.
CryptoMode string `xml:"cryptoMode" json:"cryptoMode"`
}
@@ -73113,7 +73489,7 @@ type SetDefaultKmsClusterRequestType struct {
// \[in\] KMS cluster ID to become default.
// If omitted, then will clear the default KMS cluster
// setting.
- ClusterId *KeyProviderId `xml:"clusterId,omitempty" json:"clusterId,omitempty" vim:"6.5"`
+ ClusterId *KeyProviderId `xml:"clusterId,omitempty" json:"clusterId,omitempty"`
}
func init() {
@@ -73134,7 +73510,7 @@ type SetDisplayTopologyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The topology for each monitor that the
// virtual machine's display must span.
- Displays []VirtualMachineDisplayTopology `xml:"displays" json:"displays" vim:"4.0"`
+ Displays []VirtualMachineDisplayTopology `xml:"displays" json:"displays"`
}
func init() {
@@ -73227,7 +73603,7 @@ func init() {
type SetKeyCustomAttributesRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] The crypto Key Id.
- KeyId CryptoKeyId `xml:"keyId" json:"keyId" vim:"6.5"`
+ KeyId CryptoKeyId `xml:"keyId" json:"keyId"`
// \[in\] The spec that contains custom attributes key/value pairs.
Spec CryptoManagerKmipCustomAttributeSpec `xml:"spec" json:"spec"`
}
@@ -73401,7 +73777,7 @@ type SetRegistryValueInGuestRequestType struct {
// Refers instance of `VirtualMachine`.
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The information for the registry value to be set/created.
// The Value "name" (specified in
// `GuestRegValueNameSpec`)
@@ -73409,7 +73785,7 @@ type SetRegistryValueInGuestRequestType struct {
// `GuestRegValueSpec`)
// can both be empty. If "name" is empty, it sets the value for
// the unnamed or default value of the given key.
- Value GuestRegValueSpec `xml:"value" json:"value" vim:"6.0"`
+ Value GuestRegValueSpec `xml:"value" json:"value"`
}
func init() {
@@ -73441,6 +73817,28 @@ func init() {
type SetScreenResolutionResponse struct {
}
+type SetServiceAccount SetServiceAccountRequestType
+
+func init() {
+ t["SetServiceAccount"] = reflect.TypeOf((*SetServiceAccount)(nil)).Elem()
+}
+
+// The parameters of `ExtensionManager.SetServiceAccount`.
+type SetServiceAccountRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // Key of extension to update.
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
+ // account name qualified with SSO domain.
+ ServiceAccount string `xml:"serviceAccount" json:"serviceAccount"`
+}
+
+func init() {
+ t["SetServiceAccountRequestType"] = reflect.TypeOf((*SetServiceAccountRequestType)(nil)).Elem()
+}
+
+type SetServiceAccountResponse struct {
+}
+
type SetTaskDescription SetTaskDescriptionRequestType
func init() {
@@ -73451,7 +73849,7 @@ func init() {
type SetTaskDescriptionRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// New description for task
- Description LocalizableMessage `xml:"description" json:"description" vim:"4.0"`
+ Description LocalizableMessage `xml:"description" json:"description"`
}
func init() {
@@ -73498,7 +73896,7 @@ func init() {
type SetVStorageObjectControlFlagsRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage
// object is located.
//
@@ -73609,14 +74007,14 @@ type SharesOption struct {
// Value range which can be used for share definition
// in `SharesInfo.shares`
- SharesOption IntOption `xml:"sharesOption" json:"sharesOption" vim:"4.1"`
+ SharesOption IntOption `xml:"sharesOption" json:"sharesOption"`
// Default value for `SharesInfo.level`
- DefaultLevel SharesLevel `xml:"defaultLevel" json:"defaultLevel" vim:"4.1"`
+ DefaultLevel SharesLevel `xml:"defaultLevel" json:"defaultLevel"`
}
func init() {
- minAPIVersionForType["SharesOption"] = "4.1"
t["SharesOption"] = reflect.TypeOf((*SharesOption)(nil)).Elem()
+ minAPIVersionForType["SharesOption"] = "4.1"
}
// This exception is thrown when VirtualMachine.shrinkDisk
@@ -73625,12 +74023,12 @@ type ShrinkDiskFault struct {
VimFault
// Disk Id of the virtual disk that caused the fault
- DiskId int32 `xml:"diskId,omitempty" json:"diskId,omitempty" vim:"5.1"`
+ DiskId int32 `xml:"diskId,omitempty" json:"diskId,omitempty"`
}
func init() {
- minAPIVersionForType["ShrinkDiskFault"] = "5.1"
t["ShrinkDiskFault"] = reflect.TypeOf((*ShrinkDiskFault)(nil)).Elem()
+ minAPIVersionForType["ShrinkDiskFault"] = "5.1"
}
type ShrinkDiskFaultFault ShrinkDiskFault
@@ -73721,12 +74119,12 @@ type SingleIp struct {
// The value of this property should either be an
// IPv4 address such as "192.168.0.1" or an IPv6 address such as
// "fc00:192:168:0:6cd9:a132:e889:b612"
- Address string `xml:"address" json:"address" vim:"5.5"`
+ Address string `xml:"address" json:"address"`
}
func init() {
- minAPIVersionForType["SingleIp"] = "5.5"
t["SingleIp"] = reflect.TypeOf((*SingleIp)(nil)).Elem()
+ minAPIVersionForType["SingleIp"] = "5.5"
}
// This class defines a Single MAC address.
@@ -73737,12 +74135,12 @@ type SingleMac struct {
//
// The value for this property should be in the form
// like "00:50:56:bc:ef:ab".
- Address string `xml:"address" json:"address" vim:"5.5"`
+ Address string `xml:"address" json:"address"`
}
func init() {
- minAPIVersionForType["SingleMac"] = "5.5"
t["SingleMac"] = reflect.TypeOf((*SingleMac)(nil)).Elem()
+ minAPIVersionForType["SingleMac"] = "5.5"
}
// This data object type represents the external site-related capabilities
@@ -73752,8 +74150,8 @@ type SiteInfo struct {
}
func init() {
- minAPIVersionForType["SiteInfo"] = "7.0"
t["SiteInfo"] = reflect.TypeOf((*SiteInfo)(nil)).Elem()
+ minAPIVersionForType["SiteInfo"] = "7.0"
}
// An attempt is being made to copy a virtual machine's disk that has
@@ -73766,8 +74164,8 @@ type SnapshotCloneNotSupported struct {
}
func init() {
- minAPIVersionForType["SnapshotCloneNotSupported"] = "2.5"
t["SnapshotCloneNotSupported"] = reflect.TypeOf((*SnapshotCloneNotSupported)(nil)).Elem()
+ minAPIVersionForType["SnapshotCloneNotSupported"] = "2.5"
}
type SnapshotCloneNotSupportedFault SnapshotCloneNotSupported
@@ -73805,8 +74203,8 @@ type SnapshotDisabled struct {
}
func init() {
- minAPIVersionForType["SnapshotDisabled"] = "2.5"
t["SnapshotDisabled"] = reflect.TypeOf((*SnapshotDisabled)(nil)).Elem()
+ minAPIVersionForType["SnapshotDisabled"] = "2.5"
}
type SnapshotDisabledFault SnapshotDisabled
@@ -73863,8 +74261,8 @@ type SnapshotLocked struct {
}
func init() {
- minAPIVersionForType["SnapshotLocked"] = "2.5"
t["SnapshotLocked"] = reflect.TypeOf((*SnapshotLocked)(nil)).Elem()
+ minAPIVersionForType["SnapshotLocked"] = "2.5"
}
type SnapshotLockedFault SnapshotLocked
@@ -73882,8 +74280,8 @@ type SnapshotMoveFromNonHomeNotSupported struct {
}
func init() {
- minAPIVersionForType["SnapshotMoveFromNonHomeNotSupported"] = "2.5"
t["SnapshotMoveFromNonHomeNotSupported"] = reflect.TypeOf((*SnapshotMoveFromNonHomeNotSupported)(nil)).Elem()
+ minAPIVersionForType["SnapshotMoveFromNonHomeNotSupported"] = "2.5"
}
type SnapshotMoveFromNonHomeNotSupportedFault SnapshotMoveFromNonHomeNotSupported
@@ -73900,8 +74298,8 @@ type SnapshotMoveNotSupported struct {
}
func init() {
- minAPIVersionForType["SnapshotMoveNotSupported"] = "2.5"
t["SnapshotMoveNotSupported"] = reflect.TypeOf((*SnapshotMoveNotSupported)(nil)).Elem()
+ minAPIVersionForType["SnapshotMoveNotSupported"] = "2.5"
}
type SnapshotMoveNotSupportedFault SnapshotMoveNotSupported
@@ -73919,8 +74317,8 @@ type SnapshotMoveToNonHomeNotSupported struct {
}
func init() {
- minAPIVersionForType["SnapshotMoveToNonHomeNotSupported"] = "2.5"
t["SnapshotMoveToNonHomeNotSupported"] = reflect.TypeOf((*SnapshotMoveToNonHomeNotSupported)(nil)).Elem()
+ minAPIVersionForType["SnapshotMoveToNonHomeNotSupported"] = "2.5"
}
type SnapshotMoveToNonHomeNotSupportedFault SnapshotMoveToNonHomeNotSupported
@@ -73940,8 +74338,8 @@ type SnapshotNoChange struct {
}
func init() {
- minAPIVersionForType["SnapshotNoChange"] = "2.5"
t["SnapshotNoChange"] = reflect.TypeOf((*SnapshotNoChange)(nil)).Elem()
+ minAPIVersionForType["SnapshotNoChange"] = "2.5"
}
type SnapshotNoChangeFault SnapshotNoChange
@@ -73992,12 +74390,12 @@ type SoftRuleVioCorrectionDisallowed struct {
// The vm for which the VM/Host soft affinity rules constraint violation
// is not being corrected by DRS.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["SoftRuleVioCorrectionDisallowed"] = "4.1"
t["SoftRuleVioCorrectionDisallowed"] = reflect.TypeOf((*SoftRuleVioCorrectionDisallowed)(nil)).Elem()
+ minAPIVersionForType["SoftRuleVioCorrectionDisallowed"] = "4.1"
}
type SoftRuleVioCorrectionDisallowedFault SoftRuleVioCorrectionDisallowed
@@ -74014,12 +74412,12 @@ type SoftRuleVioCorrectionImpact struct {
// The vm for which the VM/Host soft affinity rules constraint violation
// is not being corrected by DRS.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
}
func init() {
- minAPIVersionForType["SoftRuleVioCorrectionImpact"] = "4.1"
t["SoftRuleVioCorrectionImpact"] = reflect.TypeOf((*SoftRuleVioCorrectionImpact)(nil)).Elem()
+ minAPIVersionForType["SoftRuleVioCorrectionImpact"] = "4.1"
}
type SoftRuleVioCorrectionImpactFault SoftRuleVioCorrectionImpact
@@ -74035,77 +74433,77 @@ type SoftwarePackage struct {
DynamicData
// Identifier that uniquely identifies the software package.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// Version string uniquely identifies this package.
- Version string `xml:"version" json:"version" vim:"6.5"`
+ Version string `xml:"version" json:"version"`
// Type of vib installed.
//
// See `SoftwarePackageVibType_enum`.
- Type string `xml:"type" json:"type" vim:"6.5"`
+ Type string `xml:"type" json:"type"`
// The corporate entity that created this package.
- Vendor string `xml:"vendor" json:"vendor" vim:"6.5"`
+ Vendor string `xml:"vendor" json:"vendor"`
// See also `HostImageAcceptanceLevel_enum`.
- AcceptanceLevel string `xml:"acceptanceLevel" json:"acceptanceLevel" vim:"6.5"`
+ AcceptanceLevel string `xml:"acceptanceLevel" json:"acceptanceLevel"`
// A brief description of the package contents.
- Summary string `xml:"summary" json:"summary" vim:"6.5"`
+ Summary string `xml:"summary" json:"summary"`
// A full account of the package contents.
- Description string `xml:"description" json:"description" vim:"6.5"`
+ Description string `xml:"description" json:"description"`
// The list of SupportReference objects with in-depth support information.
- ReferenceURL []string `xml:"referenceURL,omitempty" json:"referenceURL,omitempty" vim:"6.5"`
+ ReferenceURL []string `xml:"referenceURL,omitempty" json:"referenceURL,omitempty"`
// The time when the package was installed.
//
// On Autodeploy stateless installs
// there is no set value.
- CreationDate *time.Time `xml:"creationDate" json:"creationDate,omitempty" vim:"6.5"`
+ CreationDate *time.Time `xml:"creationDate" json:"creationDate,omitempty"`
// A list of VIBs that must be installed at the same time as this VIB.
- Depends []Relation `xml:"depends,omitempty" json:"depends,omitempty" vim:"6.5"`
+ Depends []Relation `xml:"depends,omitempty" json:"depends,omitempty"`
// A list of VIBs that cannot be installed at the same time as
// this VIB for a given version.
- Conflicts []Relation `xml:"conflicts,omitempty" json:"conflicts,omitempty" vim:"6.5"`
+ Conflicts []Relation `xml:"conflicts,omitempty" json:"conflicts,omitempty"`
// A list of SoftwareConstraint objects that identify VIBs that
// replace this VIB or make it obsolete.
//
// VIBs automatically replace VIBs with
// the same name but lower versions.
- Replaces []Relation `xml:"replaces,omitempty" json:"replaces,omitempty" vim:"6.5"`
+ Replaces []Relation `xml:"replaces,omitempty" json:"replaces,omitempty"`
// A list of virtual packages or interfaces this VIB provides.
- Provides []string `xml:"provides,omitempty" json:"provides,omitempty" vim:"6.5"`
+ Provides []string `xml:"provides,omitempty" json:"provides,omitempty"`
// True if hosts must be in maintenance mode for installation of this VIB.
- MaintenanceModeRequired *bool `xml:"maintenanceModeRequired" json:"maintenanceModeRequired,omitempty" vim:"6.5"`
+ MaintenanceModeRequired *bool `xml:"maintenanceModeRequired" json:"maintenanceModeRequired,omitempty"`
// A list of hardware platforms this package is supported on.
- HardwarePlatformsRequired []string `xml:"hardwarePlatformsRequired,omitempty" json:"hardwarePlatformsRequired,omitempty" vim:"6.5"`
+ HardwarePlatformsRequired []string `xml:"hardwarePlatformsRequired,omitempty" json:"hardwarePlatformsRequired,omitempty"`
// A set of optional attributes for this package.
- Capability SoftwarePackageCapability `xml:"capability" json:"capability" vim:"6.5"`
+ Capability SoftwarePackageCapability `xml:"capability" json:"capability"`
// A list of string tags for this package defined by the vendor
// or publisher.
//
// Tags can be used to identify characteristics of a package.
- Tag []string `xml:"tag,omitempty" json:"tag,omitempty" vim:"6.5"`
+ Tag []string `xml:"tag,omitempty" json:"tag,omitempty"`
// A list of string tags to indicate one or more of what is
// contained: may be one of bootloader, upgrade, bootisobios, bootisoefi,
// vgz, tgz, boot or other values.
- Payload []string `xml:"payload,omitempty" json:"payload,omitempty" vim:"6.5"`
+ Payload []string `xml:"payload,omitempty" json:"payload,omitempty"`
}
func init() {
- minAPIVersionForType["SoftwarePackage"] = "6.5"
t["SoftwarePackage"] = reflect.TypeOf((*SoftwarePackage)(nil)).Elem()
+ minAPIVersionForType["SoftwarePackage"] = "6.5"
}
type SoftwarePackageCapability struct {
DynamicData
// True if live installs of this VIB are supported.
- LiveInstallAllowed *bool `xml:"liveInstallAllowed" json:"liveInstallAllowed,omitempty" vim:"6.5"`
+ LiveInstallAllowed *bool `xml:"liveInstallAllowed" json:"liveInstallAllowed,omitempty"`
// True if live removals of this VIB are supported.
- LiveRemoveAllowed *bool `xml:"liveRemoveAllowed" json:"liveRemoveAllowed,omitempty" vim:"6.5"`
+ LiveRemoveAllowed *bool `xml:"liveRemoveAllowed" json:"liveRemoveAllowed,omitempty"`
// True if the package supports host profiles or other technologies
// that make it suitable for use in conjunction with vSphere Auto Deploy.
- StatelessReady *bool `xml:"statelessReady" json:"statelessReady,omitempty" vim:"6.5"`
+ StatelessReady *bool `xml:"statelessReady" json:"statelessReady,omitempty"`
// True if this vib will supplant files from another package at runtime.
//
// When False this prevents two packages from installing the same file.
- Overlay *bool `xml:"overlay" json:"overlay,omitempty" vim:"6.5"`
+ Overlay *bool `xml:"overlay" json:"overlay,omitempty"`
}
func init() {
@@ -74119,8 +74517,8 @@ type SolutionUserRequired struct {
}
func init() {
- minAPIVersionForType["SolutionUserRequired"] = "7.0"
t["SolutionUserRequired"] = reflect.TypeOf((*SolutionUserRequired)(nil)).Elem()
+ minAPIVersionForType["SolutionUserRequired"] = "7.0"
}
type SolutionUserRequiredFault SolutionUserRequired
@@ -74137,16 +74535,16 @@ type SourceNodeSpec struct {
// Credentials for the management vCenter Server that is managing
// this node.
- ManagementVc ServiceLocator `xml:"managementVc" json:"managementVc" vim:"6.5"`
+ ManagementVc ServiceLocator `xml:"managementVc" json:"managementVc"`
// VirtualMachine reference for this vCenter Server.
//
// Refers instance of `VirtualMachine`.
- ActiveVc ManagedObjectReference `xml:"activeVc" json:"activeVc" vim:"6.5"`
+ ActiveVc ManagedObjectReference `xml:"activeVc" json:"activeVc"`
}
func init() {
- minAPIVersionForType["SourceNodeSpec"] = "6.5"
t["SourceNodeSpec"] = reflect.TypeOf((*SourceNodeSpec)(nil)).Elem()
+ minAPIVersionForType["SourceNodeSpec"] = "6.5"
}
// A SsdDiskNotAvailable fault indicating that the specified SSD
@@ -74160,12 +74558,12 @@ type SsdDiskNotAvailable struct {
// The device path of the disk.
//
// See also `HostScsiDisk.devicePath`.
- DevicePath string `xml:"devicePath" json:"devicePath" vim:"5.5"`
+ DevicePath string `xml:"devicePath" json:"devicePath"`
}
func init() {
- minAPIVersionForType["SsdDiskNotAvailable"] = "5.5"
t["SsdDiskNotAvailable"] = reflect.TypeOf((*SsdDiskNotAvailable)(nil)).Elem()
+ minAPIVersionForType["SsdDiskNotAvailable"] = "5.5"
}
type SsdDiskNotAvailableFault SsdDiskNotAvailable
@@ -74244,7 +74642,7 @@ type StartGuestNetworkRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
}
func init() {
@@ -74278,9 +74676,9 @@ type StartProgramInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// The arguments describing the program to be started.
- Spec BaseGuestProgramSpec `xml:"spec,typeattr" json:"spec" vim:"5.0"`
+ Spec BaseGuestProgramSpec `xml:"spec,typeattr" json:"spec"`
}
func init() {
@@ -74420,8 +74818,8 @@ type StaticRouteProfile struct {
}
func init() {
- minAPIVersionForType["StaticRouteProfile"] = "4.0"
t["StaticRouteProfile"] = reflect.TypeOf((*StaticRouteProfile)(nil)).Elem()
+ minAPIVersionForType["StaticRouteProfile"] = "4.0"
}
type StopRecordingRequestType struct {
@@ -74492,7 +74890,7 @@ type StorageDrsAutomationConfig struct {
// See `StorageDrsPodConfigInfo`. If specified, this option
// overrides the datastore cluster level automation behavior defined in the
// `StorageDrsPodConfigInfo`.
- SpaceLoadBalanceAutomationMode string `xml:"spaceLoadBalanceAutomationMode,omitempty" json:"spaceLoadBalanceAutomationMode,omitempty" vim:"6.0"`
+ SpaceLoadBalanceAutomationMode string `xml:"spaceLoadBalanceAutomationMode,omitempty" json:"spaceLoadBalanceAutomationMode,omitempty"`
// Specifies the behavior of Storage DRS when it generates
// recommendations for correcting I/O load imbalance in a datastore
// cluster.
@@ -74500,7 +74898,7 @@ type StorageDrsAutomationConfig struct {
// See `StorageDrsPodConfigInfo`. If specified, this option
// overrides the datastore cluster level automation behavior defined in the
// `StorageDrsPodConfigInfo`.
- IoLoadBalanceAutomationMode string `xml:"ioLoadBalanceAutomationMode,omitempty" json:"ioLoadBalanceAutomationMode,omitempty" vim:"6.0"`
+ IoLoadBalanceAutomationMode string `xml:"ioLoadBalanceAutomationMode,omitempty" json:"ioLoadBalanceAutomationMode,omitempty"`
// Specifies the behavior of Storage DRS when it generates
// recommendations for correcting affinity rule violations in a
// datastore cluster.
@@ -74509,7 +74907,7 @@ type StorageDrsAutomationConfig struct {
// specified, this option overrides the datastore cluster level
// automation behavior defined in the `StorageDrsPodConfigInfo` for
// recommendations aimed at fixing rule violations.
- RuleEnforcementAutomationMode string `xml:"ruleEnforcementAutomationMode,omitempty" json:"ruleEnforcementAutomationMode,omitempty" vim:"6.0"`
+ RuleEnforcementAutomationMode string `xml:"ruleEnforcementAutomationMode,omitempty" json:"ruleEnforcementAutomationMode,omitempty"`
// Specifies the behavior of Storage DRS when it generates
// recommendations for correcting storage and Vm policy violations
// in a datastore cluster.
@@ -74518,7 +74916,7 @@ type StorageDrsAutomationConfig struct {
// specified, this option overrides the datastore cluster level
// automation behavior defined in the `StorageDrsPodConfigInfo` for
// recommendations aimed at fixing storage policy violations.
- PolicyEnforcementAutomationMode string `xml:"policyEnforcementAutomationMode,omitempty" json:"policyEnforcementAutomationMode,omitempty" vim:"6.0"`
+ PolicyEnforcementAutomationMode string `xml:"policyEnforcementAutomationMode,omitempty" json:"policyEnforcementAutomationMode,omitempty"`
// Specifies the behavior of Storage DRS when it generates
// recommendations for datastore evacuations in a datastore
// cluster.
@@ -74527,12 +74925,12 @@ type StorageDrsAutomationConfig struct {
// option overrides the datastore cluster level automation behavior
// defined in the `StorageDrsPodConfigInfo` for recommendations aimed at
// evacuating Vms from a datastore.
- VmEvacuationAutomationMode string `xml:"vmEvacuationAutomationMode,omitempty" json:"vmEvacuationAutomationMode,omitempty" vim:"6.0"`
+ VmEvacuationAutomationMode string `xml:"vmEvacuationAutomationMode,omitempty" json:"vmEvacuationAutomationMode,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsAutomationConfig"] = "6.0"
t["StorageDrsAutomationConfig"] = reflect.TypeOf((*StorageDrsAutomationConfig)(nil)).Elem()
+ minAPIVersionForType["StorageDrsAutomationConfig"] = "6.0"
}
// This fault is thrown because Storage DRS cannot generate recommendations
@@ -74543,8 +74941,8 @@ type StorageDrsCannotMoveDiskInMultiWriterMode struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveDiskInMultiWriterMode"] = "5.1"
t["StorageDrsCannotMoveDiskInMultiWriterMode"] = reflect.TypeOf((*StorageDrsCannotMoveDiskInMultiWriterMode)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveDiskInMultiWriterMode"] = "5.1"
}
type StorageDrsCannotMoveDiskInMultiWriterModeFault StorageDrsCannotMoveDiskInMultiWriterMode
@@ -74560,8 +74958,8 @@ type StorageDrsCannotMoveFTVm struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveFTVm"] = "5.1"
t["StorageDrsCannotMoveFTVm"] = reflect.TypeOf((*StorageDrsCannotMoveFTVm)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveFTVm"] = "5.1"
}
type StorageDrsCannotMoveFTVmFault StorageDrsCannotMoveFTVm
@@ -74577,8 +74975,8 @@ type StorageDrsCannotMoveIndependentDisk struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveIndependentDisk"] = "5.1"
t["StorageDrsCannotMoveIndependentDisk"] = reflect.TypeOf((*StorageDrsCannotMoveIndependentDisk)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveIndependentDisk"] = "5.1"
}
type StorageDrsCannotMoveIndependentDiskFault StorageDrsCannotMoveIndependentDisk
@@ -74595,8 +74993,8 @@ type StorageDrsCannotMoveManuallyPlacedSwapFile struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedSwapFile"] = "5.1"
t["StorageDrsCannotMoveManuallyPlacedSwapFile"] = reflect.TypeOf((*StorageDrsCannotMoveManuallyPlacedSwapFile)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedSwapFile"] = "5.1"
}
type StorageDrsCannotMoveManuallyPlacedSwapFileFault StorageDrsCannotMoveManuallyPlacedSwapFile
@@ -74612,8 +75010,8 @@ type StorageDrsCannotMoveManuallyPlacedVm struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedVm"] = "5.1"
t["StorageDrsCannotMoveManuallyPlacedVm"] = reflect.TypeOf((*StorageDrsCannotMoveManuallyPlacedVm)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveManuallyPlacedVm"] = "5.1"
}
type StorageDrsCannotMoveManuallyPlacedVmFault StorageDrsCannotMoveManuallyPlacedVm
@@ -74629,8 +75027,8 @@ type StorageDrsCannotMoveSharedDisk struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveSharedDisk"] = "5.1"
t["StorageDrsCannotMoveSharedDisk"] = reflect.TypeOf((*StorageDrsCannotMoveSharedDisk)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveSharedDisk"] = "5.1"
}
type StorageDrsCannotMoveSharedDiskFault StorageDrsCannotMoveSharedDisk
@@ -74646,8 +75044,8 @@ type StorageDrsCannotMoveTemplate struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveTemplate"] = "5.1"
t["StorageDrsCannotMoveTemplate"] = reflect.TypeOf((*StorageDrsCannotMoveTemplate)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveTemplate"] = "5.1"
}
type StorageDrsCannotMoveTemplateFault StorageDrsCannotMoveTemplate
@@ -74663,8 +75061,8 @@ type StorageDrsCannotMoveVmInUserFolder struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveVmInUserFolder"] = "5.1"
t["StorageDrsCannotMoveVmInUserFolder"] = reflect.TypeOf((*StorageDrsCannotMoveVmInUserFolder)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveVmInUserFolder"] = "5.1"
}
type StorageDrsCannotMoveVmInUserFolderFault StorageDrsCannotMoveVmInUserFolder
@@ -74680,8 +75078,8 @@ type StorageDrsCannotMoveVmWithMountedCDROM struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveVmWithMountedCDROM"] = "5.1"
t["StorageDrsCannotMoveVmWithMountedCDROM"] = reflect.TypeOf((*StorageDrsCannotMoveVmWithMountedCDROM)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveVmWithMountedCDROM"] = "5.1"
}
type StorageDrsCannotMoveVmWithMountedCDROMFault StorageDrsCannotMoveVmWithMountedCDROM
@@ -74697,8 +75095,8 @@ type StorageDrsCannotMoveVmWithNoFilesInLayout struct {
}
func init() {
- minAPIVersionForType["StorageDrsCannotMoveVmWithNoFilesInLayout"] = "5.1"
t["StorageDrsCannotMoveVmWithNoFilesInLayout"] = reflect.TypeOf((*StorageDrsCannotMoveVmWithNoFilesInLayout)(nil)).Elem()
+ minAPIVersionForType["StorageDrsCannotMoveVmWithNoFilesInLayout"] = "5.1"
}
type StorageDrsCannotMoveVmWithNoFilesInLayoutFault StorageDrsCannotMoveVmWithNoFilesInLayout
@@ -74713,7 +75111,7 @@ type StorageDrsConfigInfo struct {
DynamicData
// Pod-wide configuration of the storage DRS service.
- PodConfig StorageDrsPodConfigInfo `xml:"podConfig" json:"podConfig" vim:"5.0"`
+ PodConfig StorageDrsPodConfigInfo `xml:"podConfig" json:"podConfig"`
// List of virtual machine configurations for the storage DRS
// service.
//
@@ -74722,12 +75120,12 @@ type StorageDrsConfigInfo struct {
//
// If a virtual machine is not specified in this array, the service uses
// the default settings for that virtual machine.
- VmConfig []StorageDrsVmConfigInfo `xml:"vmConfig,omitempty" json:"vmConfig,omitempty" vim:"5.0"`
+ VmConfig []StorageDrsVmConfigInfo `xml:"vmConfig,omitempty" json:"vmConfig,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsConfigInfo"] = "5.0"
t["StorageDrsConfigInfo"] = reflect.TypeOf((*StorageDrsConfigInfo)(nil)).Elem()
+ minAPIVersionForType["StorageDrsConfigInfo"] = "5.0"
}
// The `StorageDrsConfigSpec` data object provides a set of update
@@ -74739,14 +75137,14 @@ type StorageDrsConfigSpec struct {
DynamicData
// Changes to the configuration of the storage DRS service.
- PodConfigSpec *StorageDrsPodConfigSpec `xml:"podConfigSpec,omitempty" json:"podConfigSpec,omitempty" vim:"5.0"`
+ PodConfigSpec *StorageDrsPodConfigSpec `xml:"podConfigSpec,omitempty" json:"podConfigSpec,omitempty"`
// Changes to the per-virtual-machine storage DRS settings.
- VmConfigSpec []StorageDrsVmConfigSpec `xml:"vmConfigSpec,omitempty" json:"vmConfigSpec,omitempty" vim:"5.0"`
+ VmConfigSpec []StorageDrsVmConfigSpec `xml:"vmConfigSpec,omitempty" json:"vmConfigSpec,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsConfigSpec"] = "5.0"
t["StorageDrsConfigSpec"] = reflect.TypeOf((*StorageDrsConfigSpec)(nil)).Elem()
+ minAPIVersionForType["StorageDrsConfigSpec"] = "5.0"
}
// This fault is thrown when one datastore using Storage DRS is added to two
@@ -74756,8 +75154,8 @@ type StorageDrsDatacentersCannotShareDatastore struct {
}
func init() {
- minAPIVersionForType["StorageDrsDatacentersCannotShareDatastore"] = "5.5"
t["StorageDrsDatacentersCannotShareDatastore"] = reflect.TypeOf((*StorageDrsDatacentersCannotShareDatastore)(nil)).Elem()
+ minAPIVersionForType["StorageDrsDatacentersCannotShareDatastore"] = "5.5"
}
type StorageDrsDatacentersCannotShareDatastoreFault StorageDrsDatacentersCannotShareDatastore
@@ -74773,8 +75171,8 @@ type StorageDrsDisabledOnVm struct {
}
func init() {
- minAPIVersionForType["StorageDrsDisabledOnVm"] = "5.0"
t["StorageDrsDisabledOnVm"] = reflect.TypeOf((*StorageDrsDisabledOnVm)(nil)).Elem()
+ minAPIVersionForType["StorageDrsDisabledOnVm"] = "5.0"
}
type StorageDrsDisabledOnVmFault StorageDrsDisabledOnVm
@@ -74790,12 +75188,12 @@ type StorageDrsHbrDiskNotMovable struct {
// Comma-separated list of disk IDs that are not movable and failed
// Storage DRS recommendation action.
- NonMovableDiskIds string `xml:"nonMovableDiskIds" json:"nonMovableDiskIds" vim:"6.0"`
+ NonMovableDiskIds string `xml:"nonMovableDiskIds" json:"nonMovableDiskIds"`
}
func init() {
- minAPIVersionForType["StorageDrsHbrDiskNotMovable"] = "6.0"
t["StorageDrsHbrDiskNotMovable"] = reflect.TypeOf((*StorageDrsHbrDiskNotMovable)(nil)).Elem()
+ minAPIVersionForType["StorageDrsHbrDiskNotMovable"] = "6.0"
}
type StorageDrsHbrDiskNotMovableFault StorageDrsHbrDiskNotMovable
@@ -74811,8 +75209,8 @@ type StorageDrsHmsMoveInProgress struct {
}
func init() {
- minAPIVersionForType["StorageDrsHmsMoveInProgress"] = "6.0"
t["StorageDrsHmsMoveInProgress"] = reflect.TypeOf((*StorageDrsHmsMoveInProgress)(nil)).Elem()
+ minAPIVersionForType["StorageDrsHmsMoveInProgress"] = "6.0"
}
type StorageDrsHmsMoveInProgressFault StorageDrsHmsMoveInProgress
@@ -74828,8 +75226,8 @@ type StorageDrsHmsUnreachable struct {
}
func init() {
- minAPIVersionForType["StorageDrsHmsUnreachable"] = "6.0"
t["StorageDrsHmsUnreachable"] = reflect.TypeOf((*StorageDrsHmsUnreachable)(nil)).Elem()
+ minAPIVersionForType["StorageDrsHmsUnreachable"] = "6.0"
}
type StorageDrsHmsUnreachableFault StorageDrsHmsUnreachable
@@ -74886,19 +75284,19 @@ type StorageDrsIoLoadBalanceConfig struct {
// Unit: millisecond.
// The valid values are in the range of 5 to 100. If not specified,
// the default value is 15.
- IoLatencyThreshold int32 `xml:"ioLatencyThreshold,omitempty" json:"ioLatencyThreshold,omitempty" vim:"5.0"`
+ IoLatencyThreshold int32 `xml:"ioLatencyThreshold,omitempty" json:"ioLatencyThreshold,omitempty"`
// Storage DRS makes storage migration recommendations if
// I/O load imbalance level is higher than the specified threshold.
//
// Unit: a number.
// The valid values are in the range of 1 to 100. If not specified,
// the default value is 5.
- IoLoadImbalanceThreshold int32 `xml:"ioLoadImbalanceThreshold,omitempty" json:"ioLoadImbalanceThreshold,omitempty" vim:"5.0"`
+ IoLoadImbalanceThreshold int32 `xml:"ioLoadImbalanceThreshold,omitempty" json:"ioLoadImbalanceThreshold,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsIoLoadBalanceConfig"] = "5.0"
t["StorageDrsIoLoadBalanceConfig"] = reflect.TypeOf((*StorageDrsIoLoadBalanceConfig)(nil)).Elem()
+ minAPIVersionForType["StorageDrsIoLoadBalanceConfig"] = "5.0"
}
// The fault occurs when Storage DRS disables IO Load balancing internally
@@ -74914,8 +75312,8 @@ type StorageDrsIolbDisabledInternally struct {
}
func init() {
- minAPIVersionForType["StorageDrsIolbDisabledInternally"] = "5.0"
t["StorageDrsIolbDisabledInternally"] = reflect.TypeOf((*StorageDrsIolbDisabledInternally)(nil)).Elem()
+ minAPIVersionForType["StorageDrsIolbDisabledInternally"] = "5.0"
}
type StorageDrsIolbDisabledInternallyFault StorageDrsIolbDisabledInternally
@@ -74932,19 +75330,19 @@ type StorageDrsOptionSpec struct {
}
func init() {
- minAPIVersionForType["StorageDrsOptionSpec"] = "5.0"
t["StorageDrsOptionSpec"] = reflect.TypeOf((*StorageDrsOptionSpec)(nil)).Elem()
+ minAPIVersionForType["StorageDrsOptionSpec"] = "5.0"
}
type StorageDrsPlacementRankVmSpec struct {
DynamicData
// Individual VM placement specification for ranking clusters
- VmPlacementSpec PlacementSpec `xml:"vmPlacementSpec" json:"vmPlacementSpec" vim:"6.0"`
+ VmPlacementSpec PlacementSpec `xml:"vmPlacementSpec" json:"vmPlacementSpec"`
// Set of candidate clusters for the placement request
//
// Refers instances of `ClusterComputeResource`.
- VmClusters []ManagedObjectReference `xml:"vmClusters" json:"vmClusters" vim:"6.0"`
+ VmClusters []ManagedObjectReference `xml:"vmClusters" json:"vmClusters"`
}
func init() {
@@ -74957,23 +75355,23 @@ type StorageDrsPodConfigInfo struct {
DynamicData
// Flag indicating whether or not storage DRS is enabled.
- Enabled bool `xml:"enabled" json:"enabled" vim:"5.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// Flag indicating whether or not storage DRS takes into account storage I/O
// workload when making load balancing and initial placement recommendations.
- IoLoadBalanceEnabled bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled" vim:"5.0"`
+ IoLoadBalanceEnabled bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled"`
// Specifies the pod-wide default storage DRS behavior for virtual machines.
//
// For currently supported storage DRS behavior, see `StorageDrsPodConfigInfoBehavior_enum`.
// You can override the default behavior for a virtual machine
// by using the `StorageDrsVmConfigInfo` object.
- DefaultVmBehavior string `xml:"defaultVmBehavior" json:"defaultVmBehavior" vim:"5.0"`
+ DefaultVmBehavior string `xml:"defaultVmBehavior" json:"defaultVmBehavior"`
// Specify the interval that storage DRS runs to load balance among datastores
// within a storage pod.
//
// Unit: minute.
// The valid values are from 60 (1 hour) to 43200 (30 days).
// If not specified, the default value is 480 (8 hours).
- LoadBalanceInterval int32 `xml:"loadBalanceInterval,omitempty" json:"loadBalanceInterval,omitempty" vim:"5.0"`
+ LoadBalanceInterval int32 `xml:"loadBalanceInterval,omitempty" json:"loadBalanceInterval,omitempty"`
// Specifies whether or not each virtual machine in this pod should have its virtual
// disks on the same datastore by default.
//
@@ -74983,25 +75381,25 @@ type StorageDrsPodConfigInfo struct {
// If not set, the default value is true.
// You can override the default behavior for a virtual machine
// by using the `StorageDrsVmConfigInfo` object.
- DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty" vim:"5.0"`
+ DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty"`
// The configuration settings for load balancing storage space.
- SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty" vim:"5.0"`
+ SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty"`
// The configuration settings for load balancing I/O workload.
//
// This takes effect only if `StorageDrsPodConfigInfo.ioLoadBalanceEnabled` is true
.
- IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty" vim:"5.0"`
+ IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty"`
// Configuration settings for fine-grain automation overrides on
// the cluster level setting.
AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty" vim:"6.0"`
// Pod-wide rules.
- Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty" vim:"5.0"`
+ Rule []BaseClusterRuleInfo `xml:"rule,omitempty,typeattr" json:"rule,omitempty"`
// Advanced settings.
- Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty" vim:"5.0"`
+ Option []BaseOptionValue `xml:"option,omitempty,typeattr" json:"option,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsPodConfigInfo"] = "5.0"
t["StorageDrsPodConfigInfo"] = reflect.TypeOf((*StorageDrsPodConfigInfo)(nil)).Elem()
+ minAPIVersionForType["StorageDrsPodConfigInfo"] = "5.0"
}
// The `StorageDrsPodConfigSpec` data object provides a set of update
@@ -75013,40 +75411,40 @@ type StorageDrsPodConfigSpec struct {
DynamicData
// Flag indicating whether or not storage DRS is enabled.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"5.0"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Flag indicating whether or not storage DRS takes into account storage I/O
// workload when making load balancing and initial placement recommendations.
- IoLoadBalanceEnabled *bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled,omitempty" vim:"5.0"`
+ IoLoadBalanceEnabled *bool `xml:"ioLoadBalanceEnabled" json:"ioLoadBalanceEnabled,omitempty"`
// Specifies the pod-wide default storage DRS behavior for virtual machines.
//
// For currently supported storage DRS behavior, see `StorageDrsPodConfigInfoBehavior_enum`.
// You can override the default behavior for a virtual machine
// by using the `StorageDrsVmConfigInfo` object.
- DefaultVmBehavior string `xml:"defaultVmBehavior,omitempty" json:"defaultVmBehavior,omitempty" vim:"5.0"`
+ DefaultVmBehavior string `xml:"defaultVmBehavior,omitempty" json:"defaultVmBehavior,omitempty"`
// Specify the interval that storage DRS runs to load balance among datastores
// within a storage pod.
- LoadBalanceInterval int32 `xml:"loadBalanceInterval,omitempty" json:"loadBalanceInterval,omitempty" vim:"5.0"`
+ LoadBalanceInterval int32 `xml:"loadBalanceInterval,omitempty" json:"loadBalanceInterval,omitempty"`
// Specifies whether or not each virtual machine in this pod should have its virtual
// disks on the same datastore by default.
- DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty" vim:"5.0"`
+ DefaultIntraVmAffinity *bool `xml:"defaultIntraVmAffinity" json:"defaultIntraVmAffinity,omitempty"`
// The configuration settings for load balancing storage space.
- SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty" vim:"5.0"`
+ SpaceLoadBalanceConfig *StorageDrsSpaceLoadBalanceConfig `xml:"spaceLoadBalanceConfig,omitempty" json:"spaceLoadBalanceConfig,omitempty"`
// The configuration settings for load balancing I/O workload.
//
// This takes effect only if `StorageDrsPodConfigInfo.ioLoadBalanceEnabled` is true
.
- IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty" vim:"5.0"`
+ IoLoadBalanceConfig *StorageDrsIoLoadBalanceConfig `xml:"ioLoadBalanceConfig,omitempty" json:"ioLoadBalanceConfig,omitempty"`
// Configuration settings for fine-grain automation overrides on
// the cluster level setting.
AutomationOverrides *StorageDrsAutomationConfig `xml:"automationOverrides,omitempty" json:"automationOverrides,omitempty" vim:"6.0"`
// Changes to the set of rules.
- Rule []ClusterRuleSpec `xml:"rule,omitempty" json:"rule,omitempty" vim:"5.0"`
+ Rule []ClusterRuleSpec `xml:"rule,omitempty" json:"rule,omitempty"`
// Changes to advance settings.
- Option []StorageDrsOptionSpec `xml:"option,omitempty" json:"option,omitempty" vim:"5.0"`
+ Option []StorageDrsOptionSpec `xml:"option,omitempty" json:"option,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsPodConfigSpec"] = "5.0"
t["StorageDrsPodConfigSpec"] = reflect.TypeOf((*StorageDrsPodConfigSpec)(nil)).Elem()
+ minAPIVersionForType["StorageDrsPodConfigSpec"] = "5.0"
}
// Specification for moving or copying a virtual machine to a different Storage Pod.
@@ -75056,16 +75454,16 @@ type StorageDrsPodSelectionSpec struct {
// An optional list that allows specifying the storage pod location
// for each virtual disk and the VM configurations and overrides to be
// used during placement.
- InitialVmConfig []VmPodConfigForPlacement `xml:"initialVmConfig,omitempty" json:"initialVmConfig,omitempty" vim:"5.0"`
+ InitialVmConfig []VmPodConfigForPlacement `xml:"initialVmConfig,omitempty" json:"initialVmConfig,omitempty"`
// The storage pod where the virtual machine should be located.
//
// Refers instance of `StoragePod`.
- StoragePod *ManagedObjectReference `xml:"storagePod,omitempty" json:"storagePod,omitempty" vim:"5.0"`
+ StoragePod *ManagedObjectReference `xml:"storagePod,omitempty" json:"storagePod,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsPodSelectionSpec"] = "5.0"
t["StorageDrsPodSelectionSpec"] = reflect.TypeOf((*StorageDrsPodSelectionSpec)(nil)).Elem()
+ minAPIVersionForType["StorageDrsPodSelectionSpec"] = "5.0"
}
// This fault is thrown when Storage DRS cannot move disks of a virtual machine
@@ -75075,8 +75473,8 @@ type StorageDrsRelocateDisabled struct {
}
func init() {
- minAPIVersionForType["StorageDrsRelocateDisabled"] = "6.0"
t["StorageDrsRelocateDisabled"] = reflect.TypeOf((*StorageDrsRelocateDisabled)(nil)).Elem()
+ minAPIVersionForType["StorageDrsRelocateDisabled"] = "6.0"
}
type StorageDrsRelocateDisabledFault StorageDrsRelocateDisabled
@@ -75096,7 +75494,7 @@ type StorageDrsSpaceLoadBalanceConfig struct {
//
// The valid values are in the range of 50 (i.e., 50%) to 100 (i.e., 100%).
// If not specified, the default value is 80%.
- SpaceUtilizationThreshold int32 `xml:"spaceUtilizationThreshold,omitempty" json:"spaceUtilizationThreshold,omitempty" vim:"5.0"`
+ SpaceUtilizationThreshold int32 `xml:"spaceUtilizationThreshold,omitempty" json:"spaceUtilizationThreshold,omitempty"`
// Storage DRS makes storage migration recommendations if
// free space on one (or more) of the datastores falls below
// the specified threshold.
@@ -75112,12 +75510,12 @@ type StorageDrsSpaceLoadBalanceConfig struct {
//
// The valid values are in the range of 1 (i.e., 1%) to 50 (i.e., 50%).
// If not specified, the default value is 5%.
- MinSpaceUtilizationDifference int32 `xml:"minSpaceUtilizationDifference,omitempty" json:"minSpaceUtilizationDifference,omitempty" vim:"5.0"`
+ MinSpaceUtilizationDifference int32 `xml:"minSpaceUtilizationDifference,omitempty" json:"minSpaceUtilizationDifference,omitempty"`
}
func init() {
- minAPIVersionForType["StorageDrsSpaceLoadBalanceConfig"] = "5.0"
t["StorageDrsSpaceLoadBalanceConfig"] = reflect.TypeOf((*StorageDrsSpaceLoadBalanceConfig)(nil)).Elem()
+ minAPIVersionForType["StorageDrsSpaceLoadBalanceConfig"] = "5.0"
}
// This fault is thrown when Storage DRS action for relocating
@@ -75128,8 +75526,8 @@ type StorageDrsStaleHmsCollection struct {
}
func init() {
- minAPIVersionForType["StorageDrsStaleHmsCollection"] = "6.0"
t["StorageDrsStaleHmsCollection"] = reflect.TypeOf((*StorageDrsStaleHmsCollection)(nil)).Elem()
+ minAPIVersionForType["StorageDrsStaleHmsCollection"] = "6.0"
}
type StorageDrsStaleHmsCollectionFault StorageDrsStaleHmsCollection
@@ -75145,8 +75543,8 @@ type StorageDrsUnableToMoveFiles struct {
}
func init() {
- minAPIVersionForType["StorageDrsUnableToMoveFiles"] = "5.1"
t["StorageDrsUnableToMoveFiles"] = reflect.TypeOf((*StorageDrsUnableToMoveFiles)(nil)).Elem()
+ minAPIVersionForType["StorageDrsUnableToMoveFiles"] = "5.1"
}
type StorageDrsUnableToMoveFilesFault StorageDrsUnableToMoveFiles
@@ -75167,7 +75565,7 @@ type StorageDrsVmConfigInfo struct {
// Can be NULL during initial placement.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// Flag to indicate whether or not VirtualCenter is allowed to perform any
// storage migration or initial placement recommendations for this virtual
// machine on the pod `StoragePod`.
@@ -75177,17 +75575,17 @@ type StorageDrsVmConfigInfo struct {
//
// If no individual DRS specification exists for a virtual machine,
// this property defaults to true.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"5.0"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Specifies the particular storage DRS behavior for this virtual machine.
//
// For supported values, see `StorageDrsPodConfigInfoBehavior_enum`.
- Behavior string `xml:"behavior,omitempty" json:"behavior,omitempty" vim:"5.0"`
+ Behavior string `xml:"behavior,omitempty" json:"behavior,omitempty"`
// Specifies whether or not to have the affinity rule for the virtual disks
// of this virtual machine.
//
// If not set, the default value is derived from
// the pod-wide default `StorageDrsPodConfigInfo.defaultIntraVmAffinity`.
- IntraVmAffinity *bool `xml:"intraVmAffinity" json:"intraVmAffinity,omitempty" vim:"5.0"`
+ IntraVmAffinity *bool `xml:"intraVmAffinity" json:"intraVmAffinity,omitempty"`
// Deprecated as of vSphere API 7.0.
//
// Specifies the disks for this virtual machine that should be placed
@@ -75198,14 +75596,14 @@ type StorageDrsVmConfigInfo struct {
// not in this rule are unconstrained and can be placed either on the
// same datastore or on a different datastore as other disks from this
// virtual machine.
- IntraVmAntiAffinity *VirtualDiskAntiAffinityRuleSpec `xml:"intraVmAntiAffinity,omitempty" json:"intraVmAntiAffinity,omitempty" vim:"5.0"`
+ IntraVmAntiAffinity *VirtualDiskAntiAffinityRuleSpec `xml:"intraVmAntiAffinity,omitempty" json:"intraVmAntiAffinity,omitempty"`
// List of the virtual disk rules that can be overridden/created.
VirtualDiskRules []VirtualDiskRuleSpec `xml:"virtualDiskRules,omitempty" json:"virtualDiskRules,omitempty" vim:"6.7"`
}
func init() {
- minAPIVersionForType["StorageDrsVmConfigInfo"] = "5.0"
t["StorageDrsVmConfigInfo"] = reflect.TypeOf((*StorageDrsVmConfigInfo)(nil)).Elem()
+ minAPIVersionForType["StorageDrsVmConfigInfo"] = "5.0"
}
// Updates the per-virtual-machine storage DRS configuration.
@@ -75216,8 +75614,8 @@ type StorageDrsVmConfigSpec struct {
}
func init() {
- minAPIVersionForType["StorageDrsVmConfigSpec"] = "5.0"
t["StorageDrsVmConfigSpec"] = reflect.TypeOf((*StorageDrsVmConfigSpec)(nil)).Elem()
+ minAPIVersionForType["StorageDrsVmConfigSpec"] = "5.0"
}
// The IOAllocationInfo specifies the shares, limit and reservation
@@ -75247,7 +75645,7 @@ type StorageIOAllocationInfo struct {
// back the limit information of storage I/O resource, if the property is unset,
// a default value of -1 will be returned, which indicates that there is no
// limit on resource usage.
- Limit *int64 `xml:"limit" json:"limit,omitempty" vim:"4.1"`
+ Limit *int64 `xml:"limit" json:"limit,omitempty"`
// Shares are used in case of resource contention.
//
// The value should be within a range of 200 to 4000.
@@ -75256,7 +75654,7 @@ type StorageIOAllocationInfo struct {
// back the shares information of storage I/O resource, if the property is unset,
// a default value of `SharesInfo.level` = normal,
// `SharesInfo.shares` = 1000 will be returned.
- Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty" vim:"4.1"`
+ Shares *SharesInfo `xml:"shares,omitempty" json:"shares,omitempty"`
// Reservation control is used to provide guaranteed allocation in terms
// of IOPS.
//
@@ -75270,8 +75668,8 @@ type StorageIOAllocationInfo struct {
}
func init() {
- minAPIVersionForType["StorageIOAllocationInfo"] = "4.1"
t["StorageIOAllocationInfo"] = reflect.TypeOf((*StorageIOAllocationInfo)(nil)).Elem()
+ minAPIVersionForType["StorageIOAllocationInfo"] = "4.1"
}
// The IOAllocationOption specifies value ranges that can be used
@@ -75281,15 +75679,15 @@ type StorageIOAllocationOption struct {
// limitOptions defines a range of values allowed to be used for
// storage IO limit `StorageIOAllocationInfo.limit`.
- LimitOption LongOption `xml:"limitOption" json:"limitOption" vim:"4.1"`
+ LimitOption LongOption `xml:"limitOption" json:"limitOption"`
// sharesOption defines a range of values allowed to be used to
// specify allocated io shares `StorageIOAllocationInfo.shares`.
- SharesOption SharesOption `xml:"sharesOption" json:"sharesOption" vim:"4.1"`
+ SharesOption SharesOption `xml:"sharesOption" json:"sharesOption"`
}
func init() {
- minAPIVersionForType["StorageIOAllocationOption"] = "4.1"
t["StorageIOAllocationOption"] = reflect.TypeOf((*StorageIOAllocationOption)(nil)).Elem()
+ minAPIVersionForType["StorageIOAllocationOption"] = "4.1"
}
// Configuration setting ranges for `StorageIORMConfigSpec` object.
@@ -75298,10 +75696,10 @@ type StorageIORMConfigOption struct {
// enabledOption provides default state value for
// `StorageIORMConfigSpec.enabled`
- EnabledOption BoolOption `xml:"enabledOption" json:"enabledOption" vim:"4.1"`
+ EnabledOption BoolOption `xml:"enabledOption" json:"enabledOption"`
// congestionThresholdOption defines value range which can be used for
// `StorageIORMConfigSpec.congestionThreshold`
- CongestionThresholdOption IntOption `xml:"congestionThresholdOption" json:"congestionThresholdOption" vim:"4.1"`
+ CongestionThresholdOption IntOption `xml:"congestionThresholdOption" json:"congestionThresholdOption"`
// statsCollectionEnabledOption provides default value for
// `StorageIORMConfigSpec.statsCollectionEnabled`
StatsCollectionEnabledOption *BoolOption `xml:"statsCollectionEnabledOption,omitempty" json:"statsCollectionEnabledOption,omitempty" vim:"5.0"`
@@ -75311,8 +75709,8 @@ type StorageIORMConfigOption struct {
}
func init() {
- minAPIVersionForType["StorageIORMConfigOption"] = "4.1"
t["StorageIORMConfigOption"] = reflect.TypeOf((*StorageIORMConfigOption)(nil)).Elem()
+ minAPIVersionForType["StorageIORMConfigOption"] = "4.1"
}
// Configuration settings used for creating or reconfiguring
@@ -75324,7 +75722,7 @@ type StorageIORMConfigSpec struct {
DynamicData
// Flag indicating whether or not the service is enabled.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"4.1"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Mode of congestion threshold specification
// For more information, see
// `StorageIORMThresholdMode_enum`
@@ -75333,7 +75731,7 @@ type StorageIORMConfigSpec struct {
//
// For more information, see
// `StorageIORMInfo.congestionThreshold`
- CongestionThreshold int32 `xml:"congestionThreshold,omitempty" json:"congestionThreshold,omitempty" vim:"4.1"`
+ CongestionThreshold int32 `xml:"congestionThreshold,omitempty" json:"congestionThreshold,omitempty"`
// The percentage of peak throughput to be used for setting threshold latency
// of a datastore.
//
@@ -75357,8 +75755,8 @@ type StorageIORMConfigSpec struct {
}
func init() {
- minAPIVersionForType["StorageIORMConfigSpec"] = "4.1"
t["StorageIORMConfigSpec"] = reflect.TypeOf((*StorageIORMConfigSpec)(nil)).Elem()
+ minAPIVersionForType["StorageIORMConfigSpec"] = "4.1"
}
// Configuration of storage I/O resource management.
@@ -75366,7 +75764,7 @@ type StorageIORMInfo struct {
DynamicData
// Flag indicating whether or not the service is enabled.
- Enabled bool `xml:"enabled" json:"enabled" vim:"4.1"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// Mode of congestion threshold specification
// For more information, see
// `StorageIORMThresholdMode_enum`
@@ -75377,7 +75775,7 @@ type StorageIORMInfo struct {
// the algorithm tries to maintain the latency to be below or
// close to this value. The unit is millisecond. The range of
// this value is between 5 to 100 milliseconds.
- CongestionThreshold int32 `xml:"congestionThreshold" json:"congestionThreshold" vim:"4.1"`
+ CongestionThreshold int32 `xml:"congestionThreshold" json:"congestionThreshold"`
// The percentage of peak throughput to be used for setting congestion threshold
// of a datastore.
//
@@ -75403,8 +75801,8 @@ type StorageIORMInfo struct {
}
func init() {
- minAPIVersionForType["StorageIORMInfo"] = "4.1"
t["StorageIORMInfo"] = reflect.TypeOf((*StorageIORMInfo)(nil)).Elem()
+ minAPIVersionForType["StorageIORMInfo"] = "4.1"
}
// Describes a single storage migration action.
@@ -75417,57 +75815,57 @@ type StorageMigrationAction struct {
// Virtual machine reference.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Specification for moving a virtual machine or a set of virtual disks
// to a different datastore.
- RelocateSpec VirtualMachineRelocateSpec `xml:"relocateSpec" json:"relocateSpec" vim:"5.0"`
+ RelocateSpec VirtualMachineRelocateSpec `xml:"relocateSpec" json:"relocateSpec"`
// Source datastore.
//
// Refers instance of `Datastore`.
- Source ManagedObjectReference `xml:"source" json:"source" vim:"5.0"`
+ Source ManagedObjectReference `xml:"source" json:"source"`
// Destination datastore.
//
// Refers instance of `Datastore`.
- Destination ManagedObjectReference `xml:"destination" json:"destination" vim:"5.0"`
+ Destination ManagedObjectReference `xml:"destination" json:"destination"`
// The amount of data to be transferred.
//
// Unit: KB.
- SizeTransferred int64 `xml:"sizeTransferred" json:"sizeTransferred" vim:"5.0"`
+ SizeTransferred int64 `xml:"sizeTransferred" json:"sizeTransferred"`
// Space utilization on the source datastore before storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilSrcBefore float32 `xml:"spaceUtilSrcBefore,omitempty" json:"spaceUtilSrcBefore,omitempty" vim:"5.0"`
+ SpaceUtilSrcBefore float32 `xml:"spaceUtilSrcBefore,omitempty" json:"spaceUtilSrcBefore,omitempty"`
// Space utilization on the destination datastore before storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilDstBefore float32 `xml:"spaceUtilDstBefore,omitempty" json:"spaceUtilDstBefore,omitempty" vim:"5.0"`
+ SpaceUtilDstBefore float32 `xml:"spaceUtilDstBefore,omitempty" json:"spaceUtilDstBefore,omitempty"`
// Expected space utilization on the source datastore after storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilSrcAfter float32 `xml:"spaceUtilSrcAfter,omitempty" json:"spaceUtilSrcAfter,omitempty" vim:"5.0"`
+ SpaceUtilSrcAfter float32 `xml:"spaceUtilSrcAfter,omitempty" json:"spaceUtilSrcAfter,omitempty"`
// Expected space utilization on the destination datastore after storage migration.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty" vim:"5.0"`
+ SpaceUtilDstAfter float32 `xml:"spaceUtilDstAfter,omitempty" json:"spaceUtilDstAfter,omitempty"`
// I/O latency on the source datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
- IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty" vim:"5.0"`
+ IoLatencySrcBefore float32 `xml:"ioLatencySrcBefore,omitempty" json:"ioLatencySrcBefore,omitempty"`
// I/O latency on the destination datastore before storage migration.
//
// Unit: millisecond.
// If not set, the value is not available.
- IoLatencyDstBefore float32 `xml:"ioLatencyDstBefore,omitempty" json:"ioLatencyDstBefore,omitempty" vim:"5.0"`
+ IoLatencyDstBefore float32 `xml:"ioLatencyDstBefore,omitempty" json:"ioLatencyDstBefore,omitempty"`
}
func init() {
- minAPIVersionForType["StorageMigrationAction"] = "5.0"
t["StorageMigrationAction"] = reflect.TypeOf((*StorageMigrationAction)(nil)).Elem()
+ minAPIVersionForType["StorageMigrationAction"] = "5.0"
}
// Summary statistics for datastore performance
@@ -75477,7 +75875,7 @@ type StoragePerformanceSummary struct {
// Time period over which statistics are aggregated
// The reported time unit is in seconds
- Interval int32 `xml:"interval" json:"interval" vim:"5.1"`
+ Interval int32 `xml:"interval" json:"interval"`
// Metric percentile specification.
//
// A percentile is a value
@@ -75487,18 +75885,18 @@ type StoragePerformanceSummary struct {
// P, and the value of the datastoreReadLatency\[0\] is L, then
// P% of all the read IOs performed during observation interval
// is less than L milliseconds.
- Percentile []int32 `xml:"percentile" json:"percentile" vim:"5.1"`
+ Percentile []int32 `xml:"percentile" json:"percentile"`
// Aggregated datastore latency in milliseconds for read operations
- DatastoreReadLatency []float64 `xml:"datastoreReadLatency" json:"datastoreReadLatency" vim:"5.1"`
+ DatastoreReadLatency []float64 `xml:"datastoreReadLatency" json:"datastoreReadLatency"`
// Aggregated datastore latency in milliseconds for write operations
- DatastoreWriteLatency []float64 `xml:"datastoreWriteLatency" json:"datastoreWriteLatency" vim:"5.1"`
+ DatastoreWriteLatency []float64 `xml:"datastoreWriteLatency" json:"datastoreWriteLatency"`
// Aggregated datastore latency as observed by Vms using the datastore
// The reported latency is in milliseconds.
- DatastoreVmLatency []float64 `xml:"datastoreVmLatency" json:"datastoreVmLatency" vim:"5.1"`
+ DatastoreVmLatency []float64 `xml:"datastoreVmLatency" json:"datastoreVmLatency"`
// Aggregated datastore Read IO rate (Reads/second)
- DatastoreReadIops []float64 `xml:"datastoreReadIops" json:"datastoreReadIops" vim:"5.1"`
+ DatastoreReadIops []float64 `xml:"datastoreReadIops" json:"datastoreReadIops"`
// Aggregated datastore Write IO rate (Writes/second)
- DatastoreWriteIops []float64 `xml:"datastoreWriteIops" json:"datastoreWriteIops" vim:"5.1"`
+ DatastoreWriteIops []float64 `xml:"datastoreWriteIops" json:"datastoreWriteIops"`
// Cumulative SIOC activity to satisfy SIOC latency threshold
// setting.
//
@@ -75509,12 +75907,12 @@ type StoragePerformanceSummary struct {
// datastore, the metric indicates the total time that SIOC
// would have been active. The unit of reporting is in
// milliseconds.
- SiocActivityDuration int32 `xml:"siocActivityDuration" json:"siocActivityDuration" vim:"5.1"`
+ SiocActivityDuration int32 `xml:"siocActivityDuration" json:"siocActivityDuration"`
}
func init() {
- minAPIVersionForType["StoragePerformanceSummary"] = "5.1"
t["StoragePerformanceSummary"] = reflect.TypeOf((*StoragePerformanceSummary)(nil)).Elem()
+ minAPIVersionForType["StoragePerformanceSummary"] = "5.1"
}
// Describes a single storage initial placement action for placing a virtual
@@ -75528,19 +75926,19 @@ type StoragePlacementAction struct {
// this property is left unset.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// Specification for placing a virtual machine or a set of virtual disks
// to a datastore.
- RelocateSpec VirtualMachineRelocateSpec `xml:"relocateSpec" json:"relocateSpec" vim:"5.0"`
+ RelocateSpec VirtualMachineRelocateSpec `xml:"relocateSpec" json:"relocateSpec"`
// Target datastore.
//
// Refers instance of `Datastore`.
- Destination ManagedObjectReference `xml:"destination" json:"destination" vim:"5.0"`
+ Destination ManagedObjectReference `xml:"destination" json:"destination"`
// Current space utilization on the target datastore.
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilBefore float32 `xml:"spaceUtilBefore,omitempty" json:"spaceUtilBefore,omitempty" vim:"5.0"`
+ SpaceUtilBefore float32 `xml:"spaceUtilBefore,omitempty" json:"spaceUtilBefore,omitempty"`
// Current space demand on the target datastore.
//
// Unit: percentage. For example, if set to 70.0, space demand is 70%. This
@@ -75551,7 +75949,7 @@ type StoragePlacementAction struct {
//
// Unit: percentage. For example, if set to 70.0, space utilization is 70%.
// If not set, the value is not available.
- SpaceUtilAfter float32 `xml:"spaceUtilAfter,omitempty" json:"spaceUtilAfter,omitempty" vim:"5.0"`
+ SpaceUtilAfter float32 `xml:"spaceUtilAfter,omitempty" json:"spaceUtilAfter,omitempty"`
// Space demand on the target datastore after placing the virtual disk.
//
// Unit: percentage. For example, if set to 70.0, space demand is 70%. This
@@ -75562,12 +75960,12 @@ type StoragePlacementAction struct {
//
// Unit: millisecond.
// If not set, the value is not available.
- IoLatencyBefore float32 `xml:"ioLatencyBefore,omitempty" json:"ioLatencyBefore,omitempty" vim:"5.0"`
+ IoLatencyBefore float32 `xml:"ioLatencyBefore,omitempty" json:"ioLatencyBefore,omitempty"`
}
func init() {
- minAPIVersionForType["StoragePlacementAction"] = "5.0"
t["StoragePlacementAction"] = reflect.TypeOf((*StoragePlacementAction)(nil)).Elem()
+ minAPIVersionForType["StoragePlacementAction"] = "5.0"
}
// Both `StorageResourceManager.RecommendDatastores` and
@@ -75580,19 +75978,19 @@ type StoragePlacementResult struct {
DynamicData
// The list of recommendations that the client needs to approve manually.
- Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty" vim:"5.0"`
+ Recommendations []ClusterRecommendation `xml:"recommendations,omitempty" json:"recommendations,omitempty"`
// Information about any fault in case Storage DRS failed to make a recommendation.
- DrsFault *ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty" vim:"5.0"`
+ DrsFault *ClusterDrsFaults `xml:"drsFault,omitempty" json:"drsFault,omitempty"`
// The ID of the task, which monitors the storage placement or datastore entering
// maintennace mode operation.
//
// Refers instance of `Task`.
- Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty" vim:"5.0"`
+ Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty"`
}
func init() {
- minAPIVersionForType["StoragePlacementResult"] = "5.0"
t["StoragePlacementResult"] = reflect.TypeOf((*StoragePlacementResult)(nil)).Elem()
+ minAPIVersionForType["StoragePlacementResult"] = "5.0"
}
// StoragePlacementSpec encapsulates all of the inputs passed to the
@@ -75604,32 +76002,32 @@ type StoragePlacementSpec struct {
//
// The set of possible values is described in
// `StoragePlacementSpecPlacementType_enum`
- Type string `xml:"type" json:"type" vim:"5.0"`
+ Type string `xml:"type" json:"type"`
// Priority of this placement operation.
- Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty" vim:"5.0"`
+ Priority VirtualMachineMovePriority `xml:"priority,omitempty" json:"priority,omitempty"`
// The relevant virtual machine.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"5.0"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// Specification for moving a virtual machine or a set of virtual disks
// to a different storage pod.
- PodSelectionSpec StorageDrsPodSelectionSpec `xml:"podSelectionSpec" json:"podSelectionSpec" vim:"5.0"`
+ PodSelectionSpec StorageDrsPodSelectionSpec `xml:"podSelectionSpec" json:"podSelectionSpec"`
// Specification for a virtual machine cloning operation.
- CloneSpec *VirtualMachineCloneSpec `xml:"cloneSpec,omitempty" json:"cloneSpec,omitempty" vim:"5.0"`
+ CloneSpec *VirtualMachineCloneSpec `xml:"cloneSpec,omitempty" json:"cloneSpec,omitempty"`
// Name for cloned virtual machine.
- CloneName string `xml:"cloneName,omitempty" json:"cloneName,omitempty" vim:"5.0"`
+ CloneName string `xml:"cloneName,omitempty" json:"cloneName,omitempty"`
// Configuration for the virtual machine.
- ConfigSpec *VirtualMachineConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty" vim:"5.0"`
+ ConfigSpec *VirtualMachineConfigSpec `xml:"configSpec,omitempty" json:"configSpec,omitempty"`
// Specification for relocating a virtual machine.
- RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty" vim:"5.0"`
+ RelocateSpec *VirtualMachineRelocateSpec `xml:"relocateSpec,omitempty" json:"relocateSpec,omitempty"`
// The resource pool to which this virtual machine should be attached.
//
// Refers instance of `ResourcePool`.
- ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty" vim:"5.0"`
+ ResourcePool *ManagedObjectReference `xml:"resourcePool,omitempty" json:"resourcePool,omitempty"`
// The target host for the virtual machine.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"5.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The target virtual machine folder for the virtual machine.
//
// Note that this is a different folder than the pod(s) that the virtual
@@ -75640,7 +76038,7 @@ type StoragePlacementSpec struct {
// as the object that the `Folder.CreateVM_Task` method is invoked on.
//
// Refers instance of `Folder`.
- Folder *ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty" vim:"5.0"`
+ Folder *ManagedObjectReference `xml:"folder,omitempty" json:"folder,omitempty"`
// Specification for whether to disable pre-requisite storage vmotions
// for storage placements.
//
@@ -75658,8 +76056,8 @@ type StoragePlacementSpec struct {
}
func init() {
- minAPIVersionForType["StoragePlacementSpec"] = "5.0"
t["StoragePlacementSpec"] = reflect.TypeOf((*StoragePlacementSpec)(nil)).Elem()
+ minAPIVersionForType["StoragePlacementSpec"] = "5.0"
}
// The `StoragePodSummary` data object
@@ -75668,24 +76066,24 @@ type StoragePodSummary struct {
DynamicData
// The name of the storage pod.
- Name string `xml:"name" json:"name" vim:"5.0"`
+ Name string `xml:"name" json:"name"`
// Total capacity of this storage pod, in bytes.
//
// This value is the sum of the
// capacity of all datastores that are part of this storage pod, and is updated
// periodically by the server.
- Capacity int64 `xml:"capacity" json:"capacity" vim:"5.0"`
+ Capacity int64 `xml:"capacity" json:"capacity"`
// Total free space on this storage pod, in bytes.
//
// This value is the sum of the
// free space on all datastores that are part of this storage pod, and is updated
// periodically by the server.
- FreeSpace int64 `xml:"freeSpace" json:"freeSpace" vim:"5.0"`
+ FreeSpace int64 `xml:"freeSpace" json:"freeSpace"`
}
func init() {
- minAPIVersionForType["StoragePodSummary"] = "5.0"
t["StoragePodSummary"] = reflect.TypeOf((*StoragePodSummary)(nil)).Elem()
+ minAPIVersionForType["StoragePodSummary"] = "5.0"
}
// The `StorageProfile` data object represents the host storage configuration.
@@ -75700,12 +76098,12 @@ type StorageProfile struct {
//
// Use the `NasStorageProfile.key` property
// to access a subprofile in the list.
- NasStorage []NasStorageProfile `xml:"nasStorage,omitempty" json:"nasStorage,omitempty" vim:"4.0"`
+ NasStorage []NasStorageProfile `xml:"nasStorage,omitempty" json:"nasStorage,omitempty"`
}
func init() {
- minAPIVersionForType["StorageProfile"] = "4.0"
t["StorageProfile"] = reflect.TypeOf((*StorageProfile)(nil)).Elem()
+ minAPIVersionForType["StorageProfile"] = "4.0"
}
// Describes the storage requirement to perform a consolidation
@@ -75716,14 +76114,14 @@ type StorageRequirement struct {
// The datastore.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"5.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// Space required.
- FreeSpaceRequiredInKb int64 `xml:"freeSpaceRequiredInKb" json:"freeSpaceRequiredInKb" vim:"5.0"`
+ FreeSpaceRequiredInKb int64 `xml:"freeSpaceRequiredInKb" json:"freeSpaceRequiredInKb"`
}
func init() {
- minAPIVersionForType["StorageRequirement"] = "5.0"
t["StorageRequirement"] = reflect.TypeOf((*StorageRequirement)(nil)).Elem()
+ minAPIVersionForType["StorageRequirement"] = "5.0"
}
// A data object to report aggregate storage statistics by storage
@@ -75732,21 +76130,21 @@ type StorageResourceManagerStorageProfileStatistics struct {
DynamicData
// Profile identifier for the reported statistics
- ProfileId string `xml:"profileId" json:"profileId" vim:"6.0"`
+ ProfileId string `xml:"profileId" json:"profileId"`
// The aggregate storage capacity available for a given storage
// capability profile.
//
// The capacity is reported in Megabytes.
- TotalSpaceMB int64 `xml:"totalSpaceMB" json:"totalSpaceMB" vim:"6.0"`
+ TotalSpaceMB int64 `xml:"totalSpaceMB" json:"totalSpaceMB"`
// The aggregate used storage capacity by a given storage capability
// profile
// The used space is reported in Megabytes
- UsedSpaceMB int64 `xml:"usedSpaceMB" json:"usedSpaceMB" vim:"6.0"`
+ UsedSpaceMB int64 `xml:"usedSpaceMB" json:"usedSpaceMB"`
}
func init() {
- minAPIVersionForType["StorageResourceManagerStorageProfileStatistics"] = "6.0"
t["StorageResourceManagerStorageProfileStatistics"] = reflect.TypeOf((*StorageResourceManagerStorageProfileStatistics)(nil)).Elem()
+ minAPIVersionForType["StorageResourceManagerStorageProfileStatistics"] = "6.0"
}
// An operation on a powered-on virtual machine requests a change of storage
@@ -75756,8 +76154,8 @@ type StorageVMotionNotSupported struct {
}
func init() {
- minAPIVersionForType["StorageVMotionNotSupported"] = "4.0"
t["StorageVMotionNotSupported"] = reflect.TypeOf((*StorageVMotionNotSupported)(nil)).Elem()
+ minAPIVersionForType["StorageVMotionNotSupported"] = "4.0"
}
type StorageVMotionNotSupportedFault StorageVMotionNotSupported
@@ -75774,12 +76172,12 @@ type StorageVmotionIncompatible struct {
// The datastore that is incompatible with a given virtual machine.
//
// Refers instance of `Datastore`.
- Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty" vim:"5.0"`
+ Datastore *ManagedObjectReference `xml:"datastore,omitempty" json:"datastore,omitempty"`
}
func init() {
- minAPIVersionForType["StorageVmotionIncompatible"] = "5.0"
t["StorageVmotionIncompatible"] = reflect.TypeOf((*StorageVmotionIncompatible)(nil)).Elem()
+ minAPIVersionForType["StorageVmotionIncompatible"] = "5.0"
}
type StorageVmotionIncompatibleFault StorageVmotionIncompatible
@@ -75794,12 +76192,12 @@ type StringExpression struct {
NegatableExpression
// The String value that is either used as it is or negated.
- Value string `xml:"value,omitempty" json:"value,omitempty" vim:"5.5"`
+ Value string `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["StringExpression"] = "5.5"
t["StringExpression"] = reflect.TypeOf((*StringExpression)(nil)).Elem()
+ minAPIVersionForType["StringExpression"] = "5.5"
}
// The StringOption data object type is used to define an open-ended
@@ -75826,12 +76224,12 @@ type StringPolicy struct {
InheritablePolicy
// The String value that is either set or inherited.
- Value string `xml:"value,omitempty" json:"value,omitempty" vim:"4.0"`
+ Value string `xml:"value,omitempty" json:"value,omitempty"`
}
func init() {
- minAPIVersionForType["StringPolicy"] = "4.0"
t["StringPolicy"] = reflect.TypeOf((*StringPolicy)(nil)).Elem()
+ minAPIVersionForType["StringPolicy"] = "4.0"
}
// Implementation of `HostProfilesEntityCustomizations`
@@ -75852,17 +76250,17 @@ type StructuredCustomizations struct {
// In the current release, this object will always be a host.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"6.5"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
// Host Profile Customizations for the associated entity
.
//
// This is the same object that would be returned by the
// `HostProfileManager.RetrieveAnswerFile` method
- Customizations *AnswerFile `xml:"customizations,omitempty" json:"customizations,omitempty" vim:"6.5"`
+ Customizations *AnswerFile `xml:"customizations,omitempty" json:"customizations,omitempty"`
}
func init() {
- minAPIVersionForType["StructuredCustomizations"] = "6.5"
t["StructuredCustomizations"] = reflect.TypeOf((*StructuredCustomizations)(nil)).Elem()
+ minAPIVersionForType["StructuredCustomizations"] = "6.5"
}
type SuspendVAppRequestType struct {
@@ -75932,8 +76330,8 @@ type SwapDatastoreNotWritableOnHost struct {
}
func init() {
- minAPIVersionForType["SwapDatastoreNotWritableOnHost"] = "2.5"
t["SwapDatastoreNotWritableOnHost"] = reflect.TypeOf((*SwapDatastoreNotWritableOnHost)(nil)).Elem()
+ minAPIVersionForType["SwapDatastoreNotWritableOnHost"] = "2.5"
}
type SwapDatastoreNotWritableOnHostFault SwapDatastoreNotWritableOnHost
@@ -75957,8 +76355,8 @@ type SwapDatastoreUnset struct {
}
func init() {
- minAPIVersionForType["SwapDatastoreUnset"] = "2.5"
t["SwapDatastoreUnset"] = reflect.TypeOf((*SwapDatastoreUnset)(nil)).Elem()
+ minAPIVersionForType["SwapDatastoreUnset"] = "2.5"
}
type SwapDatastoreUnsetFault SwapDatastoreUnset
@@ -75974,8 +76372,8 @@ type SwapPlacementOverrideNotSupported struct {
}
func init() {
- minAPIVersionForType["SwapPlacementOverrideNotSupported"] = "2.5"
t["SwapPlacementOverrideNotSupported"] = reflect.TypeOf((*SwapPlacementOverrideNotSupported)(nil)).Elem()
+ minAPIVersionForType["SwapPlacementOverrideNotSupported"] = "2.5"
}
type SwapPlacementOverrideNotSupportedFault SwapPlacementOverrideNotSupported
@@ -75994,8 +76392,8 @@ type SwitchIpUnset struct {
}
func init() {
- minAPIVersionForType["SwitchIpUnset"] = "5.1"
t["SwitchIpUnset"] = reflect.TypeOf((*SwitchIpUnset)(nil)).Elem()
+ minAPIVersionForType["SwitchIpUnset"] = "5.1"
}
type SwitchIpUnsetFault SwitchIpUnset
@@ -76011,8 +76409,8 @@ type SwitchNotInUpgradeMode struct {
}
func init() {
- minAPIVersionForType["SwitchNotInUpgradeMode"] = "4.0"
t["SwitchNotInUpgradeMode"] = reflect.TypeOf((*SwitchNotInUpgradeMode)(nil)).Elem()
+ minAPIVersionForType["SwitchNotInUpgradeMode"] = "4.0"
}
type SwitchNotInUpgradeModeFault SwitchNotInUpgradeMode
@@ -76051,29 +76449,29 @@ type SystemEventInfo struct {
DynamicData
// The recordId uniquely identifies an entry in IPMI System Event Log.
- RecordId int64 `xml:"recordId" json:"recordId" vim:"6.5"`
+ RecordId int64 `xml:"recordId" json:"recordId"`
// A ISO 8601 timestamp when the event was added to IPMI System Event Log.
//
// This timestamp comes from the IPMI subsystem clock and may not be
// the same as hypervisor's clock.
- When string `xml:"when" json:"when" vim:"6.5"`
+ When string `xml:"when" json:"when"`
// The IPMI SEL type defines the if the SEL event uses
// the system event format format or is OEM defined.
//
// A value of 2 indicates system event.
// Values 0xC0-0xDF, 0xE0-0xFF are OEM event ranges.
- SelType int64 `xml:"selType" json:"selType" vim:"6.5"`
+ SelType int64 `xml:"selType" json:"selType"`
// A description of what the event is about.
- Message string `xml:"message" json:"message" vim:"6.5"`
+ Message string `xml:"message" json:"message"`
// The IPMI Sensor/probe that is reporting this event.
//
// A value of zero (0) indicates event has no related sensor.
- SensorNumber int64 `xml:"sensorNumber" json:"sensorNumber" vim:"6.5"`
+ SensorNumber int64 `xml:"sensorNumber" json:"sensorNumber"`
}
func init() {
- minAPIVersionForType["SystemEventInfo"] = "6.5"
t["SystemEventInfo"] = reflect.TypeOf((*SystemEventInfo)(nil)).Elem()
+ minAPIVersionForType["SystemEventInfo"] = "6.5"
}
// Defines a tag that can be associated with a managed entity.
@@ -76081,12 +76479,12 @@ type Tag struct {
DynamicData
// The tag key in human readable form.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["Tag"] = "4.0"
t["Tag"] = reflect.TypeOf((*Tag)(nil)).Elem()
+ minAPIVersionForType["Tag"] = "4.0"
}
// Static strings for task objects.
@@ -76506,8 +76904,8 @@ type TaskTimeoutEvent struct {
}
func init() {
- minAPIVersionForType["TaskTimeoutEvent"] = "2.5"
t["TaskTimeoutEvent"] = reflect.TypeOf((*TaskTimeoutEvent)(nil)).Elem()
+ minAPIVersionForType["TaskTimeoutEvent"] = "2.5"
}
// The teaming configuration of the uplink ports in the DVS matches
@@ -76517,8 +76915,8 @@ type TeamingMatchEvent struct {
}
func init() {
- minAPIVersionForType["TeamingMatchEvent"] = "5.1"
t["TeamingMatchEvent"] = reflect.TypeOf((*TeamingMatchEvent)(nil)).Elem()
+ minAPIVersionForType["TeamingMatchEvent"] = "5.1"
}
// The teaming configuration of the uplink ports in the DVS
@@ -76528,8 +76926,8 @@ type TeamingMisMatchEvent struct {
}
func init() {
- minAPIVersionForType["TeamingMisMatchEvent"] = "5.1"
t["TeamingMisMatchEvent"] = reflect.TypeOf((*TeamingMisMatchEvent)(nil)).Elem()
+ minAPIVersionForType["TeamingMisMatchEvent"] = "5.1"
}
// This event records the start of a template upgrade.
@@ -76641,7 +77039,7 @@ type TerminateProcessInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
// Process ID of the process to be terminated
Pid int64 `xml:"pid" json:"pid"`
}
@@ -76719,16 +77117,16 @@ type ThirdPartyLicenseAssignmentFailed struct {
// The ESX host where 3rd party license was applied.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"5.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// The asset-id of 3rd party module
- Module string `xml:"module" json:"module" vim:"5.0"`
+ Module string `xml:"module" json:"module"`
// The reason why the assignment failed, if known.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["ThirdPartyLicenseAssignmentFailed"] = "5.0"
t["ThirdPartyLicenseAssignmentFailed"] = reflect.TypeOf((*ThirdPartyLicenseAssignmentFailed)(nil)).Elem()
+ minAPIVersionForType["ThirdPartyLicenseAssignmentFailed"] = "5.0"
}
type ThirdPartyLicenseAssignmentFailedFault ThirdPartyLicenseAssignmentFailed
@@ -76753,12 +77151,12 @@ type TicketedSessionAuthentication struct {
GuestAuthentication
// This contains a base64 encoded Ticket.
- Ticket string `xml:"ticket" json:"ticket" vim:"5.0"`
+ Ticket string `xml:"ticket" json:"ticket"`
}
func init() {
- minAPIVersionForType["TicketedSessionAuthentication"] = "5.0"
t["TicketedSessionAuthentication"] = reflect.TypeOf((*TicketedSessionAuthentication)(nil)).Elem()
+ minAPIVersionForType["TicketedSessionAuthentication"] = "5.0"
}
// This event indicates that an operation performed on the host timed out.
@@ -76797,8 +77195,8 @@ type TooManyConcurrentNativeClones struct {
}
func init() {
- minAPIVersionForType["TooManyConcurrentNativeClones"] = "5.0"
t["TooManyConcurrentNativeClones"] = reflect.TypeOf((*TooManyConcurrentNativeClones)(nil)).Elem()
+ minAPIVersionForType["TooManyConcurrentNativeClones"] = "5.0"
}
type TooManyConcurrentNativeClonesFault TooManyConcurrentNativeClones
@@ -76825,8 +77223,8 @@ type TooManyConsecutiveOverrides struct {
}
func init() {
- minAPIVersionForType["TooManyConsecutiveOverrides"] = "2.5"
t["TooManyConsecutiveOverrides"] = reflect.TypeOf((*TooManyConsecutiveOverrides)(nil)).Elem()
+ minAPIVersionForType["TooManyConsecutiveOverrides"] = "2.5"
}
type TooManyConsecutiveOverridesFault TooManyConsecutiveOverrides
@@ -76863,14 +77261,14 @@ type TooManyDisksOnLegacyHost struct {
MigrationFault
// The number disks this VM has.
- DiskCount int32 `xml:"diskCount" json:"diskCount" vim:"2.5"`
+ DiskCount int32 `xml:"diskCount" json:"diskCount"`
// Whether this number of disks will cause a timeout failure.
- TimeoutDanger bool `xml:"timeoutDanger" json:"timeoutDanger" vim:"2.5"`
+ TimeoutDanger bool `xml:"timeoutDanger" json:"timeoutDanger"`
}
func init() {
- minAPIVersionForType["TooManyDisksOnLegacyHost"] = "2.5"
t["TooManyDisksOnLegacyHost"] = reflect.TypeOf((*TooManyDisksOnLegacyHost)(nil)).Elem()
+ minAPIVersionForType["TooManyDisksOnLegacyHost"] = "2.5"
}
type TooManyDisksOnLegacyHostFault TooManyDisksOnLegacyHost
@@ -76891,8 +77289,8 @@ type TooManyGuestLogons struct {
}
func init() {
- minAPIVersionForType["TooManyGuestLogons"] = "5.0"
t["TooManyGuestLogons"] = reflect.TypeOf((*TooManyGuestLogons)(nil)).Elem()
+ minAPIVersionForType["TooManyGuestLogons"] = "5.0"
}
type TooManyGuestLogonsFault TooManyGuestLogons
@@ -76926,8 +77324,8 @@ type TooManyNativeCloneLevels struct {
}
func init() {
- minAPIVersionForType["TooManyNativeCloneLevels"] = "5.0"
t["TooManyNativeCloneLevels"] = reflect.TypeOf((*TooManyNativeCloneLevels)(nil)).Elem()
+ minAPIVersionForType["TooManyNativeCloneLevels"] = "5.0"
}
type TooManyNativeCloneLevelsFault TooManyNativeCloneLevels
@@ -76943,8 +77341,8 @@ type TooManyNativeClonesOnFile struct {
}
func init() {
- minAPIVersionForType["TooManyNativeClonesOnFile"] = "5.0"
t["TooManyNativeClonesOnFile"] = reflect.TypeOf((*TooManyNativeClonesOnFile)(nil)).Elem()
+ minAPIVersionForType["TooManyNativeClonesOnFile"] = "5.0"
}
type TooManyNativeClonesOnFileFault TooManyNativeClonesOnFile
@@ -76976,8 +77374,8 @@ type ToolsAlreadyUpgraded struct {
}
func init() {
- minAPIVersionForType["ToolsAlreadyUpgraded"] = "4.0"
t["ToolsAlreadyUpgraded"] = reflect.TypeOf((*ToolsAlreadyUpgraded)(nil)).Elem()
+ minAPIVersionForType["ToolsAlreadyUpgraded"] = "4.0"
}
type ToolsAlreadyUpgradedFault ToolsAlreadyUpgraded
@@ -76993,8 +77391,8 @@ type ToolsAutoUpgradeNotSupported struct {
}
func init() {
- minAPIVersionForType["ToolsAutoUpgradeNotSupported"] = "4.0"
t["ToolsAutoUpgradeNotSupported"] = reflect.TypeOf((*ToolsAutoUpgradeNotSupported)(nil)).Elem()
+ minAPIVersionForType["ToolsAutoUpgradeNotSupported"] = "4.0"
}
type ToolsAutoUpgradeNotSupportedFault ToolsAutoUpgradeNotSupported
@@ -77071,14 +77469,14 @@ type ToolsConfigInfoToolsLastInstallInfo struct {
// Number of attempts that have been made to upgrade the version of tools
// installed on this virtual machine.
- Counter int32 `xml:"counter" json:"counter" vim:"5.0"`
+ Counter int32 `xml:"counter" json:"counter"`
// Error that happened, if any, during last attempt to upgrade tools.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"5.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["ToolsConfigInfoToolsLastInstallInfo"] = "5.0"
t["ToolsConfigInfoToolsLastInstallInfo"] = reflect.TypeOf((*ToolsConfigInfoToolsLastInstallInfo)(nil)).Elem()
+ minAPIVersionForType["ToolsConfigInfoToolsLastInstallInfo"] = "5.0"
}
// Thrown when the tools image couldn't be copied to the guest
@@ -77088,8 +77486,8 @@ type ToolsImageCopyFailed struct {
}
func init() {
- minAPIVersionForType["ToolsImageCopyFailed"] = "5.1"
t["ToolsImageCopyFailed"] = reflect.TypeOf((*ToolsImageCopyFailed)(nil)).Elem()
+ minAPIVersionForType["ToolsImageCopyFailed"] = "5.1"
}
type ToolsImageCopyFailedFault ToolsImageCopyFailed
@@ -77105,8 +77503,8 @@ type ToolsImageNotAvailable struct {
}
func init() {
- minAPIVersionForType["ToolsImageNotAvailable"] = "4.0"
t["ToolsImageNotAvailable"] = reflect.TypeOf((*ToolsImageNotAvailable)(nil)).Elem()
+ minAPIVersionForType["ToolsImageNotAvailable"] = "4.0"
}
type ToolsImageNotAvailableFault ToolsImageNotAvailable
@@ -77122,8 +77520,8 @@ type ToolsImageSignatureCheckFailed struct {
}
func init() {
- minAPIVersionForType["ToolsImageSignatureCheckFailed"] = "4.0"
t["ToolsImageSignatureCheckFailed"] = reflect.TypeOf((*ToolsImageSignatureCheckFailed)(nil)).Elem()
+ minAPIVersionForType["ToolsImageSignatureCheckFailed"] = "4.0"
}
type ToolsImageSignatureCheckFailedFault ToolsImageSignatureCheckFailed
@@ -77139,8 +77537,8 @@ type ToolsInstallationInProgress struct {
}
func init() {
- minAPIVersionForType["ToolsInstallationInProgress"] = "4.0"
t["ToolsInstallationInProgress"] = reflect.TypeOf((*ToolsInstallationInProgress)(nil)).Elem()
+ minAPIVersionForType["ToolsInstallationInProgress"] = "4.0"
}
type ToolsInstallationInProgressFault ToolsInstallationInProgress
@@ -77173,8 +77571,8 @@ type ToolsUpgradeCancelled struct {
}
func init() {
- minAPIVersionForType["ToolsUpgradeCancelled"] = "4.0"
t["ToolsUpgradeCancelled"] = reflect.TypeOf((*ToolsUpgradeCancelled)(nil)).Elem()
+ minAPIVersionForType["ToolsUpgradeCancelled"] = "4.0"
}
type ToolsUpgradeCancelledFault ToolsUpgradeCancelled
@@ -77287,16 +77685,16 @@ type UnSupportedDatastoreForVFlash struct {
UnsupportedDatastore
// The name of the Datastore.
- DatastoreName string `xml:"datastoreName" json:"datastoreName" vim:"5.5"`
+ DatastoreName string `xml:"datastoreName" json:"datastoreName"`
// Datastore file system volume type.
//
// See `DatastoreSummary.type`
- Type string `xml:"type" json:"type" vim:"5.5"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["UnSupportedDatastoreForVFlash"] = "5.5"
t["UnSupportedDatastoreForVFlash"] = reflect.TypeOf((*UnSupportedDatastoreForVFlash)(nil)).Elem()
+ minAPIVersionForType["UnSupportedDatastoreForVFlash"] = "5.5"
}
type UnSupportedDatastoreForVFlashFault UnSupportedDatastoreForVFlash
@@ -77381,8 +77779,8 @@ type UnconfiguredPropertyValue struct {
}
func init() {
- minAPIVersionForType["UnconfiguredPropertyValue"] = "4.0"
t["UnconfiguredPropertyValue"] = reflect.TypeOf((*UnconfiguredPropertyValue)(nil)).Elem()
+ minAPIVersionForType["UnconfiguredPropertyValue"] = "4.0"
}
type UnconfiguredPropertyValueFault UnconfiguredPropertyValue
@@ -77531,8 +77929,8 @@ type UnlicensedVirtualMachinesEvent struct {
}
func init() {
- minAPIVersionForType["UnlicensedVirtualMachinesEvent"] = "2.5"
t["UnlicensedVirtualMachinesEvent"] = reflect.TypeOf((*UnlicensedVirtualMachinesEvent)(nil)).Elem()
+ minAPIVersionForType["UnlicensedVirtualMachinesEvent"] = "2.5"
}
// This event records that we discovered unlicensed virtual machines on
@@ -77550,8 +77948,8 @@ type UnlicensedVirtualMachinesFoundEvent struct {
}
func init() {
- minAPIVersionForType["UnlicensedVirtualMachinesFoundEvent"] = "2.5"
t["UnlicensedVirtualMachinesFoundEvent"] = reflect.TypeOf((*UnlicensedVirtualMachinesFoundEvent)(nil)).Elem()
+ minAPIVersionForType["UnlicensedVirtualMachinesFoundEvent"] = "2.5"
}
// The parameters of `HostStorageSystem.UnmapVmfsVolumeEx_Task`.
@@ -77726,12 +78124,12 @@ type UnrecognizedHost struct {
// Host in the VirtualCenter inventory which failed the identity
// validation.
- HostName string `xml:"hostName" json:"hostName" vim:"2.5"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["UnrecognizedHost"] = "2.5"
t["UnrecognizedHost"] = reflect.TypeOf((*UnrecognizedHost)(nil)).Elem()
+ minAPIVersionForType["UnrecognizedHost"] = "2.5"
}
type UnrecognizedHostFault UnrecognizedHost
@@ -77808,7 +78206,7 @@ func init() {
type UnregisterKmsClusterRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMS cluster ID to unregister.
- ClusterId KeyProviderId `xml:"clusterId" json:"clusterId" vim:"6.5"`
+ ClusterId KeyProviderId `xml:"clusterId" json:"clusterId"`
}
func init() {
@@ -77843,8 +78241,8 @@ type UnsharedSwapVMotionNotSupported struct {
}
func init() {
- minAPIVersionForType["UnsharedSwapVMotionNotSupported"] = "2.5"
t["UnsharedSwapVMotionNotSupported"] = reflect.TypeOf((*UnsharedSwapVMotionNotSupported)(nil)).Elem()
+ minAPIVersionForType["UnsharedSwapVMotionNotSupported"] = "2.5"
}
type UnsharedSwapVMotionNotSupportedFault UnsharedSwapVMotionNotSupported
@@ -77906,8 +78304,8 @@ type UnsupportedVimApiVersion struct {
}
func init() {
- minAPIVersionForType["UnsupportedVimApiVersion"] = "4.0"
t["UnsupportedVimApiVersion"] = reflect.TypeOf((*UnsupportedVimApiVersion)(nil)).Elem()
+ minAPIVersionForType["UnsupportedVimApiVersion"] = "4.0"
}
type UnsupportedVimApiVersionFault UnsupportedVimApiVersion
@@ -77948,8 +78346,8 @@ type UnusedVirtualDiskBlocksNotScrubbed struct {
}
func init() {
- minAPIVersionForType["UnusedVirtualDiskBlocksNotScrubbed"] = "4.0"
t["UnusedVirtualDiskBlocksNotScrubbed"] = reflect.TypeOf((*UnusedVirtualDiskBlocksNotScrubbed)(nil)).Elem()
+ minAPIVersionForType["UnusedVirtualDiskBlocksNotScrubbed"] = "4.0"
}
type UnusedVirtualDiskBlocksNotScrubbedFault UnusedVirtualDiskBlocksNotScrubbed
@@ -77969,7 +78367,7 @@ type UpdateAnswerFileRequestType struct {
// specification does not contain any host-specific user input
// (configSpec
.`AnswerFileOptionsCreateSpec.userInput`),
// the method does not perform any operation on the answer file.
- ConfigSpec BaseAnswerFileCreateSpec `xml:"configSpec,typeattr" json:"configSpec" vim:"5.0"`
+ ConfigSpec BaseAnswerFileCreateSpec `xml:"configSpec,typeattr" json:"configSpec"`
}
func init() {
@@ -78104,7 +78502,7 @@ func init() {
type UpdateClusterProfileRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification which describes the changes.
- Config BaseClusterProfileConfigSpec `xml:"config,typeattr" json:"config" vim:"4.0"`
+ Config BaseClusterProfileConfigSpec `xml:"config,typeattr" json:"config"`
}
func init() {
@@ -78172,7 +78570,7 @@ type UpdateCounterLevelMappingRequestType struct {
// unset then only the aggregateLevel is configured. If there are multiple
// entries in the passed in array for the same counterId being updated then
// the last entry containing the counterId takes effect.
- CounterLevelMap []PerformanceManagerCounterLevelMapping `xml:"counterLevelMap" json:"counterLevelMap" vim:"4.1"`
+ CounterLevelMap []PerformanceManagerCounterLevelMapping `xml:"counterLevelMap" json:"counterLevelMap"`
}
func init() {
@@ -78186,7 +78584,7 @@ type UpdateCounterLevelMappingResponse struct {
type UpdateDVSHealthCheckConfigRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The health check configuration.
- HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,typeattr" json:"healthCheckConfig" vim:"5.1"`
+ HealthCheckConfig []BaseDVSHealthCheckConfig `xml:"healthCheckConfig,typeattr" json:"healthCheckConfig"`
}
func init() {
@@ -78207,7 +78605,7 @@ type UpdateDVSHealthCheckConfig_TaskResponse struct {
type UpdateDVSLacpGroupConfigRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The Link Aggregation Control Protocol groups to be configured.
- LacpGroupSpec []VMwareDvsLacpGroupSpec `xml:"lacpGroupSpec" json:"lacpGroupSpec" vim:"5.5"`
+ LacpGroupSpec []VMwareDvsLacpGroupSpec `xml:"lacpGroupSpec" json:"lacpGroupSpec"`
}
func init() {
@@ -78240,7 +78638,7 @@ func init() {
type UpdateDateTimeConfigRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The new DateTime configuration information.
- Config HostDateTimeConfig `xml:"config" json:"config" vim:"2.5"`
+ Config HostDateTimeConfig `xml:"config" json:"config"`
}
func init() {
@@ -78335,7 +78733,7 @@ func init() {
type UpdateDvsCapabilityRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The capability of the switch.
- Capability DVSCapability `xml:"capability" json:"capability" vim:"4.0"`
+ Capability DVSCapability `xml:"capability" json:"capability"`
}
func init() {
@@ -78355,7 +78753,7 @@ func init() {
type UpdateExtensionRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Updated extension description.
- Extension Extension `xml:"extension" json:"extension" vim:"2.5"`
+ Extension Extension `xml:"extension" json:"extension"`
}
func init() {
@@ -78403,32 +78801,6 @@ func init() {
type UpdateGraphicsConfigResponse struct {
}
-// The parameters of `HostProfileManager.UpdateHostCustomizations_Task`.
-type UpdateHostCustomizationsRequestType struct {
- This ManagedObjectReference `xml:"_this" json:"-"`
- // A map that contains the hosts with which
- // the answer files are associated and the corresponding
- // host-specific configuration data. If the configuration
- // specification does not contain any host-specific user input
- // (configSpec
.`AnswerFileOptionsCreateSpec.userInput`),
- // the method does not perform any operation on the answer file.
- HostToConfigSpecMap []HostProfileManagerHostToConfigSpecMap `xml:"hostToConfigSpecMap,omitempty" json:"hostToConfigSpecMap,omitempty" vim:"6.5"`
-}
-
-func init() {
- t["UpdateHostCustomizationsRequestType"] = reflect.TypeOf((*UpdateHostCustomizationsRequestType)(nil)).Elem()
-}
-
-type UpdateHostCustomizations_Task UpdateHostCustomizationsRequestType
-
-func init() {
- t["UpdateHostCustomizations_Task"] = reflect.TypeOf((*UpdateHostCustomizations_Task)(nil)).Elem()
-}
-
-type UpdateHostCustomizations_TaskResponse struct {
- Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
-}
-
type UpdateHostImageAcceptanceLevel UpdateHostImageAcceptanceLevelRequestType
func init() {
@@ -78459,7 +78831,7 @@ func init() {
type UpdateHostProfileRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Specification containing the new data.
- Config BaseHostProfileConfigSpec `xml:"config,typeattr" json:"config" vim:"4.0"`
+ Config BaseHostProfileConfigSpec `xml:"config,typeattr" json:"config"`
}
func init() {
@@ -78483,7 +78855,7 @@ type UpdateHostSpecificationRequestType struct {
// Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
// The new host specification to be updated with.
- HostSpec HostSpecification `xml:"hostSpec" json:"hostSpec" vim:"6.5"`
+ HostSpec HostSpecification `xml:"hostSpec" json:"hostSpec"`
}
func init() {
@@ -78507,7 +78879,7 @@ type UpdateHostSubSpecificationRequestType struct {
// Refers instance of `HostSystem`.
Host ManagedObjectReference `xml:"host" json:"host"`
// The data object for the new host sub specification.
- HostSubSpec HostSubSpecification `xml:"hostSubSpec" json:"hostSubSpec" vim:"6.5"`
+ HostSubSpec HostSubSpecification `xml:"hostSubSpec" json:"hostSubSpec"`
}
func init() {
@@ -78530,7 +78902,7 @@ type UpdateHppMultipathLunPolicyRequestType struct {
LunId string `xml:"lunId" json:"lunId"`
// A data object that describes a path selection policy and
// its configuration for the logical unit.
- Policy HostMultipathInfoHppLogicalUnitPolicy `xml:"policy" json:"policy" vim:"7.0"`
+ Policy HostMultipathInfoHppLogicalUnitPolicy `xml:"policy" json:"policy"`
}
func init() {
@@ -78553,9 +78925,9 @@ type UpdateInternetScsiAdvancedOptionsRequestType struct {
IScsiHbaDevice string `xml:"iScsiHbaDevice" json:"iScsiHbaDevice"`
// The set the targets to configure. If not provided,
// the settings will be applied to the host bus adapter itself.
- TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty" vim:"4.0"`
+ TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty"`
// The list of options to set.
- Options []HostInternetScsiHbaParamValue `xml:"options" json:"options" vim:"4.0"`
+ Options []HostInternetScsiHbaParamValue `xml:"options" json:"options"`
}
func init() {
@@ -78628,10 +79000,10 @@ type UpdateInternetScsiDigestPropertiesRequestType struct {
IScsiHbaDevice string `xml:"iScsiHbaDevice" json:"iScsiHbaDevice"`
// The set the targets to configure. If not provided,
// the settings will be applied to the host bus adapter itself.
- TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty" vim:"4.0"`
+ TargetSet *HostInternetScsiHbaTargetSet `xml:"targetSet,omitempty" json:"targetSet,omitempty"`
// The data object that represents the digest
// settings to set.
- DigestProperties HostInternetScsiHbaDigestProperties `xml:"digestProperties" json:"digestProperties" vim:"4.0"`
+ DigestProperties HostInternetScsiHbaDigestProperties `xml:"digestProperties" json:"digestProperties"`
}
func init() {
@@ -78743,7 +79115,7 @@ type UpdateIpPoolRequestType struct {
// Refers instance of `Datacenter`.
Dc ManagedObjectReference `xml:"dc" json:"dc"`
// The IP pool to update on the server
- Pool IpPool `xml:"pool" json:"pool" vim:"4.0"`
+ Pool IpPool `xml:"pool" json:"pool"`
}
func init() {
@@ -78820,7 +79192,7 @@ func init() {
type UpdateKmipServerRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP server connection information.
- Server KmipServerSpec `xml:"server" json:"server" vim:"6.5"`
+ Server KmipServerSpec `xml:"server" json:"server"`
}
func init() {
@@ -78840,7 +79212,7 @@ func init() {
type UpdateKmsSignedCsrClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Client certificate.
Certificate string `xml:"certificate" json:"certificate"`
}
@@ -78888,7 +79260,7 @@ type UpdateLicenseRequestType struct {
// A license. E.g. a serial license.
LicenseKey string `xml:"licenseKey" json:"licenseKey"`
// array of key-value labels.
- Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty" vim:"2.5"`
+ Labels []KeyValue `xml:"labels,omitempty" json:"labels,omitempty"`
}
func init() {
@@ -78910,7 +79282,7 @@ type UpdateLinkedChildrenRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// a set of LinkInfo objects that either add a new link
// or modify an exisiting link.
- AddChangeSet []VirtualAppLinkInfo `xml:"addChangeSet,omitempty" json:"addChangeSet,omitempty" vim:"4.1"`
+ AddChangeSet []VirtualAppLinkInfo `xml:"addChangeSet,omitempty" json:"addChangeSet,omitempty"`
// a set of entities that should no longer link to this vApp.
//
// Refers instances of `ManagedEntity`.
@@ -79023,7 +79395,7 @@ func init() {
type UpdateNetworkResourcePoolRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The network resource pool configuration specification.
- ConfigSpec []DVSNetworkResourcePoolConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.1"`
+ ConfigSpec []DVSNetworkResourcePoolConfigSpec `xml:"configSpec" json:"configSpec"`
}
func init() {
@@ -79062,7 +79434,7 @@ func init() {
type UpdatePassthruConfigRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The new PciPassthru configuration information.
- Config []BaseHostPciPassthruConfig `xml:"config,typeattr" json:"config" vim:"4.0"`
+ Config []BaseHostPciPassthruConfig `xml:"config,typeattr" json:"config"`
}
func init() {
@@ -79255,7 +79627,7 @@ func init() {
type UpdateSelfSignedClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Client certificate.
Certificate string `xml:"certificate" json:"certificate"`
}
@@ -79426,7 +79798,7 @@ type UpdateSystemSwapConfigurationRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Contains a list of system swap options that
// configure the system swap functionality.
- SysSwapConfig HostSystemSwapConfiguration `xml:"sysSwapConfig" json:"sysSwapConfig" vim:"5.1"`
+ SysSwapConfig HostSystemSwapConfiguration `xml:"sysSwapConfig" json:"sysSwapConfig"`
}
func init() {
@@ -79488,7 +79860,7 @@ type UpdateVAppConfigRequestType struct {
// contains the updates to the current configuration. Any set element,
// is changed. All values in the spec that is left unset, will not be
// modified.
- Spec VAppConfigSpec `xml:"spec" json:"spec" vim:"4.0"`
+ Spec VAppConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -79503,7 +79875,7 @@ type UpdateVStorageInfrastructureObjectPolicyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// specification to assign a SPBM policy to virtual storage
// infrastructure object.
- Spec VslmInfrastructureObjectPolicySpec `xml:"spec" json:"spec" vim:"6.7"`
+ Spec VslmInfrastructureObjectPolicySpec `xml:"spec" json:"spec"`
}
func init() {
@@ -79524,16 +79896,16 @@ type UpdateVStorageInfrastructureObjectPolicy_TaskResponse struct {
type UpdateVStorageObjectCryptoRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// New profile requirement on the virtual storage object.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// The crypto information of each disk on the chain.
- DisksCrypto *DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty" vim:"7.0"`
+ DisksCrypto *DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty"`
}
func init() {
@@ -79554,14 +79926,14 @@ type UpdateVStorageObjectCrypto_TaskResponse struct {
type UpdateVStorageObjectPolicyRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the virtual storage object is
// located.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// New profile requirement on the virtual storage object.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"5.5"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
}
func init() {
@@ -79583,7 +79955,7 @@ type UpdateVVolVirtualMachineFilesRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Mapping of source to target storage container
// as well as source to target VVol IDs.
- FailoverPair []DatastoreVVolContainerFailoverPair `xml:"failoverPair,omitempty" json:"failoverPair,omitempty" vim:"6.5"`
+ FailoverPair []DatastoreVVolContainerFailoverPair `xml:"failoverPair,omitempty" json:"failoverPair,omitempty"`
}
func init() {
@@ -79604,7 +79976,7 @@ type UpdateVVolVirtualMachineFiles_TaskResponse struct {
type UpdateVirtualMachineFilesRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// Old mount path to datastore mapping.
- MountPathDatastoreMapping []DatastoreMountPathDatastorePair `xml:"mountPathDatastoreMapping" json:"mountPathDatastoreMapping" vim:"4.1"`
+ MountPathDatastoreMapping []DatastoreMountPathDatastorePair `xml:"mountPathDatastoreMapping" json:"mountPathDatastoreMapping"`
}
func init() {
@@ -79618,21 +79990,21 @@ type UpdateVirtualMachineFilesResult struct {
// The list of virtual machines files the server has attempted
// to update but failed to update.
- FailedVmFile []UpdateVirtualMachineFilesResultFailedVmFileInfo `xml:"failedVmFile,omitempty" json:"failedVmFile,omitempty" vim:"4.1"`
+ FailedVmFile []UpdateVirtualMachineFilesResultFailedVmFileInfo `xml:"failedVmFile,omitempty" json:"failedVmFile,omitempty"`
}
func init() {
- minAPIVersionForType["UpdateVirtualMachineFilesResult"] = "4.1"
t["UpdateVirtualMachineFilesResult"] = reflect.TypeOf((*UpdateVirtualMachineFilesResult)(nil)).Elem()
+ minAPIVersionForType["UpdateVirtualMachineFilesResult"] = "4.1"
}
type UpdateVirtualMachineFilesResultFailedVmFileInfo struct {
DynamicData
// The file path
- VmFile string `xml:"vmFile" json:"vmFile" vim:"4.1"`
+ VmFile string `xml:"vmFile" json:"vmFile"`
// The reason why the update failed.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"4.1"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
@@ -79702,7 +80074,7 @@ type UpdateVmfsUnmapBandwidthRequestType struct {
VmfsUuid string `xml:"vmfsUuid" json:"vmfsUuid"`
// Unmap bandwidth specification. See
// `VmfsUnmapBandwidthSpec`
- UnmapBandwidthSpec VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec" json:"unmapBandwidthSpec" vim:"6.7"`
+ UnmapBandwidthSpec VmfsUnmapBandwidthSpec `xml:"unmapBandwidthSpec" json:"unmapBandwidthSpec"`
}
func init() {
@@ -79739,7 +80111,7 @@ type UpdateVmfsUnmapPriorityResponse struct {
type UpdateVsanRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// host configuration settings to use for the VSAN service.
- Config VsanHostConfigInfo `xml:"config" json:"config" vim:"5.5"`
+ Config VsanHostConfigInfo `xml:"config" json:"config"`
}
func init() {
@@ -79763,8 +80135,8 @@ type UpdatedAgentBeingRestartedEvent struct {
}
func init() {
- minAPIVersionForType["UpdatedAgentBeingRestartedEvent"] = "2.5"
t["UpdatedAgentBeingRestartedEvent"] = reflect.TypeOf((*UpdatedAgentBeingRestartedEvent)(nil)).Elem()
+ minAPIVersionForType["UpdatedAgentBeingRestartedEvent"] = "2.5"
}
// These event types represent events converted from VirtualCenter 1.x.
@@ -79921,8 +80293,8 @@ type UplinkPortMtuNotSupportEvent struct {
}
func init() {
- minAPIVersionForType["UplinkPortMtuNotSupportEvent"] = "5.1"
t["UplinkPortMtuNotSupportEvent"] = reflect.TypeOf((*UplinkPortMtuNotSupportEvent)(nil)).Elem()
+ minAPIVersionForType["UplinkPortMtuNotSupportEvent"] = "5.1"
}
// Mtu health check status of an uplink port is changed, and in the latest mtu health check,
@@ -79933,8 +80305,8 @@ type UplinkPortMtuSupportEvent struct {
}
func init() {
- minAPIVersionForType["UplinkPortMtuSupportEvent"] = "5.1"
t["UplinkPortMtuSupportEvent"] = reflect.TypeOf((*UplinkPortMtuSupportEvent)(nil)).Elem()
+ minAPIVersionForType["UplinkPortMtuSupportEvent"] = "5.1"
}
// Vlans health check status of an uplink port is changed, and in the latest vlan health check,
@@ -79944,8 +80316,8 @@ type UplinkPortVlanTrunkedEvent struct {
}
func init() {
- minAPIVersionForType["UplinkPortVlanTrunkedEvent"] = "5.1"
t["UplinkPortVlanTrunkedEvent"] = reflect.TypeOf((*UplinkPortVlanTrunkedEvent)(nil)).Elem()
+ minAPIVersionForType["UplinkPortVlanTrunkedEvent"] = "5.1"
}
// Vlans health check status of an uplink port is changed, and in the latest vlan health check,
@@ -79955,8 +80327,8 @@ type UplinkPortVlanUntrunkedEvent struct {
}
func init() {
- minAPIVersionForType["UplinkPortVlanUntrunkedEvent"] = "5.1"
t["UplinkPortVlanUntrunkedEvent"] = reflect.TypeOf((*UplinkPortVlanUntrunkedEvent)(nil)).Elem()
+ minAPIVersionForType["UplinkPortVlanUntrunkedEvent"] = "5.1"
}
type UploadClientCert UploadClientCertRequestType
@@ -79969,7 +80341,7 @@ func init() {
type UploadClientCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Client certificate.
Certificate string `xml:"certificate" json:"certificate"`
// \[in\] Private key.
@@ -79993,7 +80365,7 @@ func init() {
type UploadKmipServerCertRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// \[in\] KMIP cluster.
- Cluster KeyProviderId `xml:"cluster" json:"cluster" vim:"6.5"`
+ Cluster KeyProviderId `xml:"cluster" json:"cluster"`
// \[in\] Server certificate in PEM encoding.
Certificate string `xml:"certificate" json:"certificate"`
}
@@ -80014,17 +80386,17 @@ type UsbScanCodeSpec struct {
}
func init() {
- minAPIVersionForType["UsbScanCodeSpec"] = "6.5"
t["UsbScanCodeSpec"] = reflect.TypeOf((*UsbScanCodeSpec)(nil)).Elem()
+ minAPIVersionForType["UsbScanCodeSpec"] = "6.5"
}
type UsbScanCodeSpecKeyEvent struct {
DynamicData
// USB HID code of the event
- UsbHidCode int32 `xml:"usbHidCode" json:"usbHidCode" vim:"6.5"`
+ UsbHidCode int32 `xml:"usbHidCode" json:"usbHidCode"`
// Modifiers to apply to the USB HID code
- Modifiers *UsbScanCodeSpecModifierType `xml:"modifiers,omitempty" json:"modifiers,omitempty" vim:"6.5"`
+ Modifiers *UsbScanCodeSpecModifierType `xml:"modifiers,omitempty" json:"modifiers,omitempty"`
}
func init() {
@@ -80036,26 +80408,26 @@ type UsbScanCodeSpecModifierType struct {
DynamicData
// Left control key
- LeftControl *bool `xml:"leftControl" json:"leftControl,omitempty" vim:"6.5"`
+ LeftControl *bool `xml:"leftControl" json:"leftControl,omitempty"`
// Left shift key
- LeftShift *bool `xml:"leftShift" json:"leftShift,omitempty" vim:"6.5"`
+ LeftShift *bool `xml:"leftShift" json:"leftShift,omitempty"`
// Left alt key
- LeftAlt *bool `xml:"leftAlt" json:"leftAlt,omitempty" vim:"6.5"`
+ LeftAlt *bool `xml:"leftAlt" json:"leftAlt,omitempty"`
// Left gui key
- LeftGui *bool `xml:"leftGui" json:"leftGui,omitempty" vim:"6.5"`
+ LeftGui *bool `xml:"leftGui" json:"leftGui,omitempty"`
// Right control key
- RightControl *bool `xml:"rightControl" json:"rightControl,omitempty" vim:"6.5"`
+ RightControl *bool `xml:"rightControl" json:"rightControl,omitempty"`
// Right shift key
- RightShift *bool `xml:"rightShift" json:"rightShift,omitempty" vim:"6.5"`
+ RightShift *bool `xml:"rightShift" json:"rightShift,omitempty"`
// Right alt key
- RightAlt *bool `xml:"rightAlt" json:"rightAlt,omitempty" vim:"6.5"`
+ RightAlt *bool `xml:"rightAlt" json:"rightAlt,omitempty"`
// Right gui key
- RightGui *bool `xml:"rightGui" json:"rightGui,omitempty" vim:"6.5"`
+ RightGui *bool `xml:"rightGui" json:"rightGui,omitempty"`
}
func init() {
- minAPIVersionForType["UsbScanCodeSpecModifierType"] = "6.5"
t["UsbScanCodeSpecModifierType"] = reflect.TypeOf((*UsbScanCodeSpecModifierType)(nil)).Elem()
+ minAPIVersionForType["UsbScanCodeSpecModifierType"] = "6.5"
}
// This event records that a user account membership was added to a group.
@@ -80079,12 +80451,12 @@ type UserGroupProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["UserGroupProfile"] = "4.0"
t["UserGroupProfile"] = reflect.TypeOf((*UserGroupProfile)(nil)).Elem()
+ minAPIVersionForType["UserGroupProfile"] = "4.0"
}
// The `UserInputRequiredParameterMetadata` data object represents policy option metadata
@@ -80098,12 +80470,12 @@ type UserInputRequiredParameterMetadata struct {
ProfilePolicyOptionMetadata
// Metadata for user input options.
- UserInputParameter []ProfileParameterMetadata `xml:"userInputParameter,omitempty" json:"userInputParameter,omitempty" vim:"4.0"`
+ UserInputParameter []ProfileParameterMetadata `xml:"userInputParameter,omitempty" json:"userInputParameter,omitempty"`
}
func init() {
- minAPIVersionForType["UserInputRequiredParameterMetadata"] = "4.0"
t["UserInputRequiredParameterMetadata"] = reflect.TypeOf((*UserInputRequiredParameterMetadata)(nil)).Elem()
+ minAPIVersionForType["UserInputRequiredParameterMetadata"] = "4.0"
}
// This event records a user logon.
@@ -80192,14 +80564,14 @@ type UserPrivilegeResult struct {
// The entity on which privileges are retrieved.
//
// Refers instance of `ManagedEntity`.
- Entity ManagedObjectReference `xml:"entity" json:"entity" vim:"6.5"`
+ Entity ManagedObjectReference `xml:"entity" json:"entity"`
// A list of privileges set on the entity.
- Privileges []string `xml:"privileges,omitempty" json:"privileges,omitempty" vim:"6.5"`
+ Privileges []string `xml:"privileges,omitempty" json:"privileges,omitempty"`
}
func init() {
- minAPIVersionForType["UserPrivilegeResult"] = "6.5"
t["UserPrivilegeResult"] = reflect.TypeOf((*UserPrivilegeResult)(nil)).Elem()
+ minAPIVersionForType["UserPrivilegeResult"] = "6.5"
}
// The `UserProfile` data object represents a user.
@@ -80211,12 +80583,12 @@ type UserProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["UserProfile"] = "4.0"
t["UserProfile"] = reflect.TypeOf((*UserProfile)(nil)).Elem()
+ minAPIVersionForType["UserProfile"] = "4.0"
}
// When searching for users, the search results in
@@ -80311,21 +80683,21 @@ type VASAStorageArray struct {
DynamicData
// Name
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
// Unique identifier
- Uuid string `xml:"uuid" json:"uuid" vim:"6.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
// Vendor Id
- VendorId string `xml:"vendorId" json:"vendorId" vim:"6.0"`
+ VendorId string `xml:"vendorId" json:"vendorId"`
// Model Id
- ModelId string `xml:"modelId" json:"modelId" vim:"6.0"`
+ ModelId string `xml:"modelId" json:"modelId"`
// Transport information to address the array's discovery
// service.
- DiscoverySvcInfo []VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvcInfo,omitempty" json:"discoverySvcInfo,omitempty"`
+ DiscoverySvcInfo []VASAStorageArrayDiscoverySvcInfo `xml:"discoverySvcInfo,omitempty" json:"discoverySvcInfo,omitempty" vim:"8.0.0.0"`
}
func init() {
- minAPIVersionForType["VASAStorageArray"] = "6.0"
t["VASAStorageArray"] = reflect.TypeOf((*VASAStorageArray)(nil)).Elem()
+ minAPIVersionForType["VASAStorageArray"] = "6.0"
}
// Discovery service information of the array with FC
@@ -80341,6 +80713,7 @@ type VASAStorageArrayDiscoveryFcTransport struct {
func init() {
t["VASAStorageArrayDiscoveryFcTransport"] = reflect.TypeOf((*VASAStorageArrayDiscoveryFcTransport)(nil)).Elem()
+ minAPIVersionForType["VASAStorageArrayDiscoveryFcTransport"] = "8.0.0.0"
}
// Discovery service information of the array with IP
@@ -80359,6 +80732,7 @@ type VASAStorageArrayDiscoveryIpTransport struct {
func init() {
t["VASAStorageArrayDiscoveryIpTransport"] = reflect.TypeOf((*VASAStorageArrayDiscoveryIpTransport)(nil)).Elem()
+ minAPIVersionForType["VASAStorageArrayDiscoveryIpTransport"] = "8.0.0.0"
}
// Discovery service information of storage array.
@@ -80383,6 +80757,7 @@ type VASAStorageArrayDiscoverySvcInfo struct {
func init() {
t["VASAStorageArrayDiscoverySvcInfo"] = reflect.TypeOf((*VASAStorageArrayDiscoverySvcInfo)(nil)).Elem()
+ minAPIVersionForType["VASAStorageArrayDiscoverySvcInfo"] = "8.0.0.0"
}
// Specification for a vApp cloning operation.
@@ -80392,7 +80767,7 @@ type VAppCloneSpec struct {
// Location where the destination vApp must be stored
//
// Refers instance of `Datastore`.
- Location ManagedObjectReference `xml:"location" json:"location" vim:"4.0"`
+ Location ManagedObjectReference `xml:"location" json:"location"`
// The target host for the virtual machines.
//
// This is often not a required
@@ -80405,19 +80780,19 @@ type VAppCloneSpec struct {
// thrown.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"4.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The resource configuration for the vApp.
- ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty" vim:"4.0"`
+ ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty"`
// The VM Folder to associate the vApp with
//
// Refers instance of `Folder`.
- VmFolder *ManagedObjectReference `xml:"vmFolder,omitempty" json:"vmFolder,omitempty" vim:"4.0"`
+ VmFolder *ManagedObjectReference `xml:"vmFolder,omitempty" json:"vmFolder,omitempty"`
// Network mappings.
//
// See `VAppCloneSpecNetworkMappingPair`.
- NetworkMapping []VAppCloneSpecNetworkMappingPair `xml:"networkMapping,omitempty" json:"networkMapping,omitempty" vim:"4.0"`
+ NetworkMapping []VAppCloneSpecNetworkMappingPair `xml:"networkMapping,omitempty" json:"networkMapping,omitempty"`
// A set of property values to override.
- Property []KeyValue `xml:"property,omitempty" json:"property,omitempty" vim:"4.0"`
+ Property []KeyValue `xml:"property,omitempty" json:"property,omitempty"`
// The resource configuration for the cloned vApp.
ResourceMapping []VAppCloneSpecResourceMap `xml:"resourceMapping,omitempty" json:"resourceMapping,omitempty" vim:"4.1"`
// Specify how the VMs in the vApp should be provisioned.
@@ -80425,8 +80800,8 @@ type VAppCloneSpec struct {
}
func init() {
- minAPIVersionForType["VAppCloneSpec"] = "4.0"
t["VAppCloneSpec"] = reflect.TypeOf((*VAppCloneSpec)(nil)).Elem()
+ minAPIVersionForType["VAppCloneSpec"] = "4.0"
}
// Maps one network to another as part of the clone process.
@@ -80438,16 +80813,16 @@ type VAppCloneSpecNetworkMappingPair struct {
// The source network
//
// Refers instance of `Network`.
- Source ManagedObjectReference `xml:"source" json:"source" vim:"4.0"`
+ Source ManagedObjectReference `xml:"source" json:"source"`
// The destination network
//
// Refers instance of `Network`.
- Destination ManagedObjectReference `xml:"destination" json:"destination" vim:"4.0"`
+ Destination ManagedObjectReference `xml:"destination" json:"destination"`
}
func init() {
- minAPIVersionForType["VAppCloneSpecNetworkMappingPair"] = "4.0"
t["VAppCloneSpecNetworkMappingPair"] = reflect.TypeOf((*VAppCloneSpecNetworkMappingPair)(nil)).Elem()
+ minAPIVersionForType["VAppCloneSpecNetworkMappingPair"] = "4.0"
}
// Maps source child entities to destination resource pools
@@ -80461,7 +80836,7 @@ type VAppCloneSpecResourceMap struct {
// Source entity
//
// Refers instance of `ManagedEntity`.
- Source ManagedObjectReference `xml:"source" json:"source" vim:"4.1"`
+ Source ManagedObjectReference `xml:"source" json:"source"`
// Resource pool to use for the cloned entity of source.
//
// This must specify a
@@ -80469,12 +80844,12 @@ type VAppCloneSpecResourceMap struct {
// child (as opposed to a direct child) is created for the vApp.
//
// Refers instance of `ResourcePool`.
- Parent *ManagedObjectReference `xml:"parent,omitempty" json:"parent,omitempty" vim:"4.1"`
+ Parent *ManagedObjectReference `xml:"parent,omitempty" json:"parent,omitempty"`
// An optional resource configuration for the cloned entity of the source.
//
// If
// not specified, the same resource configuration as the source is used.
- ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty" vim:"4.1"`
+ ResourceSpec *ResourceConfigSpec `xml:"resourceSpec,omitempty" json:"resourceSpec,omitempty"`
// A client can optionally specify a datastore in the resource map to
// override the default datastore location set in `VAppCloneSpecResourceMap.location` field.
//
@@ -80483,12 +80858,12 @@ type VAppCloneSpecResourceMap struct {
// datastores.
//
// Refers instance of `Datastore`.
- Location *ManagedObjectReference `xml:"location,omitempty" json:"location,omitempty" vim:"4.1"`
+ Location *ManagedObjectReference `xml:"location,omitempty" json:"location,omitempty"`
}
func init() {
- minAPIVersionForType["VAppCloneSpecResourceMap"] = "4.1"
t["VAppCloneSpecResourceMap"] = reflect.TypeOf((*VAppCloneSpecResourceMap)(nil)).Elem()
+ minAPIVersionForType["VAppCloneSpecResourceMap"] = "4.1"
}
// Base for configuration / environment issues that can be thrown when powering on or
@@ -80498,8 +80873,8 @@ type VAppConfigFault struct {
}
func init() {
- minAPIVersionForType["VAppConfigFault"] = "4.0"
t["VAppConfigFault"] = reflect.TypeOf((*VAppConfigFault)(nil)).Elem()
+ minAPIVersionForType["VAppConfigFault"] = "4.0"
}
type VAppConfigFaultFault BaseVAppConfigFault
@@ -80513,9 +80888,9 @@ type VAppConfigInfo struct {
VmConfigInfo
// Configuration of sub-entities (virtual machine or vApp).
- EntityConfig []VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty" vim:"4.0"`
+ EntityConfig []VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty"`
// Description for the vApp.
- Annotation string `xml:"annotation" json:"annotation" vim:"4.0"`
+ Annotation string `xml:"annotation" json:"annotation"`
// vCenter-specific 128-bit UUID of a vApp, represented as a hexademical
// string.
//
@@ -80531,8 +80906,8 @@ type VAppConfigInfo struct {
}
func init() {
- minAPIVersionForType["VAppConfigInfo"] = "4.0"
t["VAppConfigInfo"] = reflect.TypeOf((*VAppConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VAppConfigInfo"] = "4.0"
}
// Configuration of a vApp
@@ -80542,11 +80917,11 @@ type VAppConfigSpec struct {
// Configuration of sub-entities (virtual machine or vApp container).
//
// Reconfigure privilege: See EntityConfigInfo
- EntityConfig []VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty" vim:"4.0"`
+ EntityConfig []VAppEntityConfigInfo `xml:"entityConfig,omitempty" json:"entityConfig,omitempty"`
// Description for the vApp.
//
// Reconfigure privilege: VApp.Rename.
- Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty" vim:"4.0"`
+ Annotation string `xml:"annotation,omitempty" json:"annotation,omitempty"`
// vCenter-specific 128-bit UUID of a vApp, represented as a hexadecimal
// string.
//
@@ -80573,8 +80948,8 @@ type VAppConfigSpec struct {
}
func init() {
- minAPIVersionForType["VAppConfigSpec"] = "4.0"
t["VAppConfigSpec"] = reflect.TypeOf((*VAppConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VAppConfigSpec"] = "4.0"
}
// This object type describes the behavior of an entity (virtual machine or
@@ -80609,11 +80984,11 @@ type VAppEntityConfigInfo struct {
// This can be a virtual machine or a vApp.
//
// Refers instance of `ManagedEntity`.
- Key *ManagedObjectReference `xml:"key,omitempty" json:"key,omitempty" vim:"4.0"`
+ Key *ManagedObjectReference `xml:"key,omitempty" json:"key,omitempty"`
// Tag for entity.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Tag string `xml:"tag,omitempty" json:"tag,omitempty" vim:"4.0"`
+ Tag string `xml:"tag,omitempty" json:"tag,omitempty"`
// Specifies the start order for this entity.
//
// Entities are started from lower
@@ -80622,12 +80997,12 @@ type VAppEntityConfigInfo struct {
// value must be 0 or higher.
//
// Reconfigure privilege: VApp.ApplicationConfig
- StartOrder int32 `xml:"startOrder,omitempty" json:"startOrder,omitempty" vim:"4.0"`
+ StartOrder int32 `xml:"startOrder,omitempty" json:"startOrder,omitempty"`
// Delay in seconds before continuing with the next entity in the order of entities
// to be started.
//
// Reconfigure privilege: VApp.ApplicationConfig
- StartDelay int32 `xml:"startDelay,omitempty" json:"startDelay,omitempty" vim:"4.0"`
+ StartDelay int32 `xml:"startDelay,omitempty" json:"startDelay,omitempty"`
// Determines if the virtual machine should start after receiving a heartbeat,
// from the guest.
//
@@ -80639,21 +81014,21 @@ type VAppEntityConfigInfo struct {
// This property has no effect for vApps.
//
// Reconfigure privilege: VApp.ApplicationConfig
- WaitingForGuest *bool `xml:"waitingForGuest" json:"waitingForGuest,omitempty" vim:"4.0"`
+ WaitingForGuest *bool `xml:"waitingForGuest" json:"waitingForGuest,omitempty"`
// How to start the entity.
//
// Valid settings are none or powerOn. If set to none, then
// the entity does not participate in auto-start.
//
// Reconfigure privilege: VApp.ApplicationConfig
- StartAction string `xml:"startAction,omitempty" json:"startAction,omitempty" vim:"4.0"`
+ StartAction string `xml:"startAction,omitempty" json:"startAction,omitempty"`
// Delay in seconds before continuing with the next entity in the order
// sequence.
//
// This is only used if the stopAction is guestShutdown.
//
// Reconfigure privilege: VApp.ApplicationConfig
- StopDelay int32 `xml:"stopDelay,omitempty" json:"stopDelay,omitempty" vim:"4.0"`
+ StopDelay int32 `xml:"stopDelay,omitempty" json:"stopDelay,omitempty"`
// Defines the stop action for the entity.
//
// Can be set to none, powerOff,
@@ -80661,7 +81036,7 @@ type VAppEntityConfigInfo struct {
// auto-stop.
//
// Reconfigure privilege: VApp.ApplicationConfig
- StopAction string `xml:"stopAction,omitempty" json:"stopAction,omitempty" vim:"4.0"`
+ StopAction string `xml:"stopAction,omitempty" json:"stopAction,omitempty"`
// Deprecated as of vSphere API 5.1.
//
// Whether the entity should be removed, when this vApp is removed.
@@ -80673,8 +81048,8 @@ type VAppEntityConfigInfo struct {
}
func init() {
- minAPIVersionForType["VAppEntityConfigInfo"] = "4.0"
t["VAppEntityConfigInfo"] = reflect.TypeOf((*VAppEntityConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VAppEntityConfigInfo"] = "4.0"
}
// The IPAssignmentInfo class specifies how the guest software gets
@@ -80722,7 +81097,7 @@ type VAppIPAssignmentInfo struct {
// value will overwrite the current setting.
//
// Reconfigure privilege: VApp.ApplicationConfig
- SupportedAllocationScheme []string `xml:"supportedAllocationScheme,omitempty" json:"supportedAllocationScheme,omitempty" vim:"4.0"`
+ SupportedAllocationScheme []string `xml:"supportedAllocationScheme,omitempty" json:"supportedAllocationScheme,omitempty"`
// Specifies how IP allocation should be managed by the VI platform.
//
// This is
@@ -80731,7 +81106,7 @@ type VAppIPAssignmentInfo struct {
// supportedAllocationSchemes property.
//
// Reconfigure privilege: VApp.InstanceConfig
- IpAllocationPolicy string `xml:"ipAllocationPolicy,omitempty" json:"ipAllocationPolicy,omitempty" vim:"4.0"`
+ IpAllocationPolicy string `xml:"ipAllocationPolicy,omitempty" json:"ipAllocationPolicy,omitempty"`
// Specifies the IP protocols supported by the guest software.
//
// When updating this field, an empty array will be interpreted as no changes.
@@ -80739,19 +81114,19 @@ type VAppIPAssignmentInfo struct {
// value will overwrite the current setting.
//
// Reconfigure privilege: VApp.ApplicationConfig
- SupportedIpProtocol []string `xml:"supportedIpProtocol,omitempty" json:"supportedIpProtocol,omitempty" vim:"4.0"`
+ SupportedIpProtocol []string `xml:"supportedIpProtocol,omitempty" json:"supportedIpProtocol,omitempty"`
// Specifies the chosen IP protocol for this deployment.
//
// This must be one of the
// values in the supportedIpProtocol field.
//
// Reconfigure privilege: VApp.InstanceConfig
- IpProtocol string `xml:"ipProtocol,omitempty" json:"ipProtocol,omitempty" vim:"4.0"`
+ IpProtocol string `xml:"ipProtocol,omitempty" json:"ipProtocol,omitempty"`
}
func init() {
- minAPIVersionForType["VAppIPAssignmentInfo"] = "4.0"
t["VAppIPAssignmentInfo"] = reflect.TypeOf((*VAppIPAssignmentInfo)(nil)).Elem()
+ minAPIVersionForType["VAppIPAssignmentInfo"] = "4.0"
}
// A virtual machine in a vApp cannot be powered on unless the
@@ -80761,8 +81136,8 @@ type VAppNotRunning struct {
}
func init() {
- minAPIVersionForType["VAppNotRunning"] = "4.0"
t["VAppNotRunning"] = reflect.TypeOf((*VAppNotRunning)(nil)).Elem()
+ minAPIVersionForType["VAppNotRunning"] = "4.0"
}
type VAppNotRunningFault VAppNotRunning
@@ -80781,8 +81156,8 @@ type VAppOperationInProgress struct {
}
func init() {
- minAPIVersionForType["VAppOperationInProgress"] = "5.0"
t["VAppOperationInProgress"] = reflect.TypeOf((*VAppOperationInProgress)(nil)).Elem()
+ minAPIVersionForType["VAppOperationInProgress"] = "5.0"
}
type VAppOperationInProgressFault VAppOperationInProgress
@@ -80802,23 +81177,23 @@ type VAppOvfSectionInfo struct {
DynamicData
// A unique key to identify a section.
- Key int32 `xml:"key,omitempty" json:"key,omitempty" vim:"4.0"`
+ Key int32 `xml:"key,omitempty" json:"key,omitempty"`
// The namespace for the value in xsi:type attribute.
- Namespace string `xml:"namespace,omitempty" json:"namespace,omitempty" vim:"4.0"`
+ Namespace string `xml:"namespace,omitempty" json:"namespace,omitempty"`
// The value of the xsi:type attribute not including the namespace prefix.
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Whether this is a global envelope section
- AtEnvelopeLevel *bool `xml:"atEnvelopeLevel" json:"atEnvelopeLevel,omitempty" vim:"4.0"`
+ AtEnvelopeLevel *bool `xml:"atEnvelopeLevel" json:"atEnvelopeLevel,omitempty"`
// The XML fragment including the top-level <Section...> element.
//
// The
// fragment is self-contained will all required namespace definitions.
- Contents string `xml:"contents,omitempty" json:"contents,omitempty" vim:"4.0"`
+ Contents string `xml:"contents,omitempty" json:"contents,omitempty"`
}
func init() {
- minAPIVersionForType["VAppOvfSectionInfo"] = "4.0"
t["VAppOvfSectionInfo"] = reflect.TypeOf((*VAppOvfSectionInfo)(nil)).Elem()
+ minAPIVersionForType["VAppOvfSectionInfo"] = "4.0"
}
// An incremental update to the OvfSection list.
@@ -80829,8 +81204,8 @@ type VAppOvfSectionSpec struct {
}
func init() {
- minAPIVersionForType["VAppOvfSectionSpec"] = "4.0"
t["VAppOvfSectionSpec"] = reflect.TypeOf((*VAppOvfSectionSpec)(nil)).Elem()
+ minAPIVersionForType["VAppOvfSectionSpec"] = "4.0"
}
// Information that describes what product a vApp contains, for example,
@@ -80839,40 +81214,40 @@ type VAppProductInfo struct {
DynamicData
// A unique key for the product section
- Key int32 `xml:"key" json:"key" vim:"4.0"`
+ Key int32 `xml:"key" json:"key"`
// Class name for this attribute.
//
// Valid values for classId:
// Any string except any white-space characters.
- ClassId string `xml:"classId,omitempty" json:"classId,omitempty" vim:"4.0"`
+ ClassId string `xml:"classId,omitempty" json:"classId,omitempty"`
// Class name for this attribute.
//
// Valid values for instanceId:
// Any string except any white-space characters.
- InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty" vim:"4.0"`
+ InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty"`
// Name of the product.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"4.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Vendor of the product.
- Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty" vim:"4.0"`
+ Vendor string `xml:"vendor,omitempty" json:"vendor,omitempty"`
// Short version of the product, for example, 1.0.
- Version string `xml:"version,omitempty" json:"version,omitempty" vim:"4.0"`
+ Version string `xml:"version,omitempty" json:"version,omitempty"`
// Full-version of the product, for example, 1.0-build 12323.
- FullVersion string `xml:"fullVersion,omitempty" json:"fullVersion,omitempty" vim:"4.0"`
+ FullVersion string `xml:"fullVersion,omitempty" json:"fullVersion,omitempty"`
// URL to vendor homepage.
- VendorUrl string `xml:"vendorUrl,omitempty" json:"vendorUrl,omitempty" vim:"4.0"`
+ VendorUrl string `xml:"vendorUrl,omitempty" json:"vendorUrl,omitempty"`
// URL to product homepage.
- ProductUrl string `xml:"productUrl,omitempty" json:"productUrl,omitempty" vim:"4.0"`
+ ProductUrl string `xml:"productUrl,omitempty" json:"productUrl,omitempty"`
// URL to entry-point for application.
//
// This is often specified using
// a macro, for example, http://${app.ip}/, where app.ip is a defined property
// on the virtual machine or vApp container.
- AppUrl string `xml:"appUrl,omitempty" json:"appUrl,omitempty" vim:"4.0"`
+ AppUrl string `xml:"appUrl,omitempty" json:"appUrl,omitempty"`
}
func init() {
- minAPIVersionForType["VAppProductInfo"] = "4.0"
t["VAppProductInfo"] = reflect.TypeOf((*VAppProductInfo)(nil)).Elem()
+ minAPIVersionForType["VAppProductInfo"] = "4.0"
}
// An incremental update to the Product information list.
@@ -80883,8 +81258,8 @@ type VAppProductSpec struct {
}
func init() {
- minAPIVersionForType["VAppProductSpec"] = "4.0"
t["VAppProductSpec"] = reflect.TypeOf((*VAppProductSpec)(nil)).Elem()
+ minAPIVersionForType["VAppProductSpec"] = "4.0"
}
// The base fault for all vApp property configuration issues
@@ -80893,20 +81268,20 @@ type VAppPropertyFault struct {
// The fully-qualified id of the property, including instance and class
// identifiers.
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// The user-readable category
- Category string `xml:"category" json:"category" vim:"4.0"`
+ Category string `xml:"category" json:"category"`
// The user-readable label
- Label string `xml:"label" json:"label" vim:"4.0"`
+ Label string `xml:"label" json:"label"`
// The type specified for the property
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// The value of the property
- Value string `xml:"value" json:"value" vim:"4.0"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["VAppPropertyFault"] = "4.0"
t["VAppPropertyFault"] = reflect.TypeOf((*VAppPropertyFault)(nil)).Elem()
+ minAPIVersionForType["VAppPropertyFault"] = "4.0"
}
type VAppPropertyFaultFault BaseVAppPropertyFault
@@ -80920,21 +81295,21 @@ type VAppPropertyInfo struct {
DynamicData
// A unique integer key for the property.
- Key int32 `xml:"key" json:"key" vim:"4.0"`
+ Key int32 `xml:"key" json:"key"`
// class name for this property
//
// Valid values for classId:
// Any string except any white-space characters
//
// Reconfigure privilege: VApp.ApplicationConfig
- ClassId string `xml:"classId,omitempty" json:"classId,omitempty" vim:"4.0"`
+ ClassId string `xml:"classId,omitempty" json:"classId,omitempty"`
// class name for this property
//
// Valid values for instanceId:
// Any string except any white-space characters
//
// Reconfigure privilege: VApp.ApplicationConfig
- InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty" vim:"4.0"`
+ InstanceId string `xml:"instanceId,omitempty" json:"instanceId,omitempty"`
// Name of property.
//
// In the OVF environment, the property is listed as
@@ -80947,15 +81322,15 @@ type VAppPropertyInfo struct {
// Any string except any white-space characters
//
// Reconfigure privilege: VApp.ApplicationConfig
- Id string `xml:"id,omitempty" json:"id,omitempty" vim:"4.0"`
+ Id string `xml:"id,omitempty" json:"id,omitempty"`
// A user-visible description the category the property belongs to.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Category string `xml:"category,omitempty" json:"category,omitempty" vim:"4.0"`
+ Category string `xml:"category,omitempty" json:"category,omitempty"`
// The display name for the property.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Label string `xml:"label,omitempty" json:"label,omitempty" vim:"4.0"`
+ Label string `xml:"label,omitempty" json:"label,omitempty"`
// Describes the valid format of the property.
//
// A type must be one of:
@@ -81078,7 +81453,7 @@ type VAppPropertyInfo struct {
//
//
// Reconfigure privilege: VApp.ApplicationConfig
- Type string `xml:"type,omitempty" json:"type,omitempty" vim:"4.0"`
+ Type string `xml:"type,omitempty" json:"type,omitempty"`
// Contains extra configuration data depending on the property type.
//
// For types that
@@ -81091,28 +81466,28 @@ type VAppPropertyInfo struct {
// if the type is expression.
//
// Reconfigure privilege: VApp.ApplicationConfig
- UserConfigurable *bool `xml:"userConfigurable" json:"userConfigurable,omitempty" vim:"4.0"`
+ UserConfigurable *bool `xml:"userConfigurable" json:"userConfigurable,omitempty"`
// This either contains the default value of a field (used if value is empty
// string), or the expression if the type is "expression".
//
// See comment for the
- DefaultValue string `xml:"defaultValue,omitempty" json:"defaultValue,omitempty" vim:"4.0"`
+ DefaultValue string `xml:"defaultValue,omitempty" json:"defaultValue,omitempty"`
// The value of the field at deployment time.
//
// For expressions, this will contain
// the value that has been computed.
//
// Reconfigure privilege: VApp.InstanceConfig
- Value string `xml:"value,omitempty" json:"value,omitempty" vim:"4.0"`
+ Value string `xml:"value,omitempty" json:"value,omitempty"`
// A description of the field.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"4.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
}
func init() {
- minAPIVersionForType["VAppPropertyInfo"] = "4.0"
t["VAppPropertyInfo"] = reflect.TypeOf((*VAppPropertyInfo)(nil)).Elem()
+ minAPIVersionForType["VAppPropertyInfo"] = "4.0"
}
// An incremental update to the Property list.
@@ -81123,8 +81498,8 @@ type VAppPropertySpec struct {
}
func init() {
- minAPIVersionForType["VAppPropertySpec"] = "4.0"
t["VAppPropertySpec"] = reflect.TypeOf((*VAppPropertySpec)(nil)).Elem()
+ minAPIVersionForType["VAppPropertySpec"] = "4.0"
}
// A specialized TaskInProgress when an operation is performed
@@ -81139,8 +81514,8 @@ type VAppTaskInProgress struct {
}
func init() {
- minAPIVersionForType["VAppTaskInProgress"] = "4.0"
t["VAppTaskInProgress"] = reflect.TypeOf((*VAppTaskInProgress)(nil)).Elem()
+ minAPIVersionForType["VAppTaskInProgress"] = "4.0"
}
type VAppTaskInProgressFault VAppTaskInProgress
@@ -81153,14 +81528,14 @@ func init() {
type VCenterUpdateVStorageObjectMetadataExRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore to query for the virtual storage objects.
//
// Refers instance of `Datastore`.
Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// array of key/value strings. (keys must be unique
// within the list)
- Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"2.5"`
+ Metadata []KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
// array of keys need to be deleted
DeleteKeys []string `xml:"deleteKeys,omitempty" json:"deleteKeys,omitempty"`
}
@@ -81185,8 +81560,8 @@ type VFlashCacheHotConfigNotSupported struct {
}
func init() {
- minAPIVersionForType["VFlashCacheHotConfigNotSupported"] = "6.0"
t["VFlashCacheHotConfigNotSupported"] = reflect.TypeOf((*VFlashCacheHotConfigNotSupported)(nil)).Elem()
+ minAPIVersionForType["VFlashCacheHotConfigNotSupported"] = "6.0"
}
type VFlashCacheHotConfigNotSupportedFault VFlashCacheHotConfigNotSupported
@@ -81201,18 +81576,18 @@ type VFlashModuleNotSupported struct {
VmConfigFault
// VM name
- VmName string `xml:"vmName" json:"vmName" vim:"5.5"`
+ VmName string `xml:"vmName" json:"vmName"`
// The vFlash module name.
- ModuleName string `xml:"moduleName" json:"moduleName" vim:"5.5"`
+ ModuleName string `xml:"moduleName" json:"moduleName"`
// Message of reason.
- Reason string `xml:"reason" json:"reason" vim:"5.5"`
+ Reason string `xml:"reason" json:"reason"`
// Host name
- HostName string `xml:"hostName" json:"hostName" vim:"5.5"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["VFlashModuleNotSupported"] = "5.5"
t["VFlashModuleNotSupported"] = reflect.TypeOf((*VFlashModuleNotSupported)(nil)).Elem()
+ minAPIVersionForType["VFlashModuleNotSupported"] = "5.5"
}
type VFlashModuleNotSupportedFault VFlashModuleNotSupported
@@ -81228,18 +81603,18 @@ type VFlashModuleVersionIncompatible struct {
VimFault
// The vFlash module name.
- ModuleName string `xml:"moduleName" json:"moduleName" vim:"5.5"`
+ ModuleName string `xml:"moduleName" json:"moduleName"`
// The VM request module version.
- VmRequestModuleVersion string `xml:"vmRequestModuleVersion" json:"vmRequestModuleVersion" vim:"5.5"`
+ VmRequestModuleVersion string `xml:"vmRequestModuleVersion" json:"vmRequestModuleVersion"`
// The minimum supported version of the specified module on the host.
- HostMinSupportedVerson string `xml:"hostMinSupportedVerson" json:"hostMinSupportedVerson" vim:"5.5"`
+ HostMinSupportedVerson string `xml:"hostMinSupportedVerson" json:"hostMinSupportedVerson"`
// The verson of the specified module on the host.
- HostModuleVersion string `xml:"hostModuleVersion" json:"hostModuleVersion" vim:"5.5"`
+ HostModuleVersion string `xml:"hostModuleVersion" json:"hostModuleVersion"`
}
func init() {
- minAPIVersionForType["VFlashModuleVersionIncompatible"] = "5.5"
t["VFlashModuleVersionIncompatible"] = reflect.TypeOf((*VFlashModuleVersionIncompatible)(nil)).Elem()
+ minAPIVersionForType["VFlashModuleVersionIncompatible"] = "5.5"
}
type VFlashModuleVersionIncompatibleFault VFlashModuleVersionIncompatible
@@ -81267,12 +81642,12 @@ type VMFSDatastoreExpandedEvent struct {
HostEvent
// The associated datastore.
- Datastore DatastoreEventArgument `xml:"datastore" json:"datastore" vim:"4.0"`
+ Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["VMFSDatastoreExpandedEvent"] = "4.0"
t["VMFSDatastoreExpandedEvent"] = reflect.TypeOf((*VMFSDatastoreExpandedEvent)(nil)).Elem()
+ minAPIVersionForType["VMFSDatastoreExpandedEvent"] = "4.0"
}
// This event records when a datastore is extended.
@@ -81280,12 +81655,12 @@ type VMFSDatastoreExtendedEvent struct {
HostEvent
// The associated datastore.
- Datastore DatastoreEventArgument `xml:"datastore" json:"datastore" vim:"4.0"`
+ Datastore DatastoreEventArgument `xml:"datastore" json:"datastore"`
}
func init() {
- minAPIVersionForType["VMFSDatastoreExtendedEvent"] = "4.0"
t["VMFSDatastoreExtendedEvent"] = reflect.TypeOf((*VMFSDatastoreExtendedEvent)(nil)).Elem()
+ minAPIVersionForType["VMFSDatastoreExtendedEvent"] = "4.0"
}
// The virtual machine is configured to use a VMI ROM, which is not
@@ -81295,8 +81670,8 @@ type VMINotSupported struct {
}
func init() {
- minAPIVersionForType["VMINotSupported"] = "2.5"
t["VMINotSupported"] = reflect.TypeOf((*VMINotSupported)(nil)).Elem()
+ minAPIVersionForType["VMINotSupported"] = "2.5"
}
type VMINotSupportedFault VMINotSupported
@@ -81314,8 +81689,8 @@ type VMOnConflictDVPort struct {
}
func init() {
- minAPIVersionForType["VMOnConflictDVPort"] = "4.0"
t["VMOnConflictDVPort"] = reflect.TypeOf((*VMOnConflictDVPort)(nil)).Elem()
+ minAPIVersionForType["VMOnConflictDVPort"] = "4.0"
}
type VMOnConflictDVPortFault VMOnConflictDVPort
@@ -81351,8 +81726,8 @@ type VMotionAcrossNetworkNotSupported struct {
}
func init() {
- minAPIVersionForType["VMotionAcrossNetworkNotSupported"] = "5.5"
t["VMotionAcrossNetworkNotSupported"] = reflect.TypeOf((*VMotionAcrossNetworkNotSupported)(nil)).Elem()
+ minAPIVersionForType["VMotionAcrossNetworkNotSupported"] = "5.5"
}
type VMotionAcrossNetworkNotSupportedFault VMotionAcrossNetworkNotSupported
@@ -81524,11 +81899,11 @@ type VMwareDVSConfigInfo struct {
// The Distributed Port Mirroring sessions in the switch.
VspanSession []VMwareVspanSession `xml:"vspanSession,omitempty" json:"vspanSession,omitempty" vim:"5.0"`
// The PVLAN configured in the switch.
- PvlanConfig []VMwareDVSPvlanMapEntry `xml:"pvlanConfig,omitempty" json:"pvlanConfig,omitempty" vim:"4.0"`
+ PvlanConfig []VMwareDVSPvlanMapEntry `xml:"pvlanConfig,omitempty" json:"pvlanConfig,omitempty"`
// The maximum MTU in the switch.
- MaxMtu int32 `xml:"maxMtu" json:"maxMtu" vim:"4.0"`
+ MaxMtu int32 `xml:"maxMtu" json:"maxMtu"`
// See `LinkDiscoveryProtocolConfig`.
- LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty" vim:"4.0"`
+ LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty"`
// Configuration for ipfix monitoring of the switch traffic.
//
// This must be
@@ -81550,12 +81925,12 @@ type VMwareDVSConfigInfo struct {
// Indicate the ID of NetworkOffloadSpec used in the switch.
//
// ID "None" means that network offload is not allowed in the switch.
- NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty"`
+ NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VMwareDVSConfigInfo"] = "4.0"
t["VMwareDVSConfigInfo"] = reflect.TypeOf((*VMwareDVSConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSConfigInfo"] = "4.0"
}
// This class defines the VMware specific configuration for
@@ -81589,16 +81964,16 @@ type VMwareDVSConfigSpec struct {
//
// While deleting a primary PVLAN entry, any associated secondary PVLAN
// entries must be explicitly deleted.
- PvlanConfigSpec []VMwareDVSPvlanConfigSpec `xml:"pvlanConfigSpec,omitempty" json:"pvlanConfigSpec,omitempty" vim:"4.0"`
+ PvlanConfigSpec []VMwareDVSPvlanConfigSpec `xml:"pvlanConfigSpec,omitempty" json:"pvlanConfigSpec,omitempty"`
// The Distributed Port Mirroring configuration specification.
//
// The VSPAN
// sessions in the array cannot be of the same key.
VspanConfigSpec []VMwareDVSVspanConfigSpec `xml:"vspanConfigSpec,omitempty" json:"vspanConfigSpec,omitempty" vim:"5.0"`
// The maximum MTU in the switch.
- MaxMtu int32 `xml:"maxMtu,omitempty" json:"maxMtu,omitempty" vim:"4.0"`
+ MaxMtu int32 `xml:"maxMtu,omitempty" json:"maxMtu,omitempty"`
// See `LinkDiscoveryProtocolConfig`.
- LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty" vim:"4.0"`
+ LinkDiscoveryProtocolConfig *LinkDiscoveryProtocolConfig `xml:"linkDiscoveryProtocolConfig,omitempty" json:"linkDiscoveryProtocolConfig,omitempty"`
// Configuration for ipfix monitoring of the switch traffic.
//
// This must be
@@ -81619,12 +81994,12 @@ type VMwareDVSConfigSpec struct {
//
// Unset it when network offload is not allowed when creating a switch.
// Use ID "None" to change network offload from allowed to not allowed.
- NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty"`
+ NetworkOffloadSpecId string `xml:"networkOffloadSpecId,omitempty" json:"networkOffloadSpecId,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VMwareDVSConfigSpec"] = "4.0"
t["VMwareDVSConfigSpec"] = reflect.TypeOf((*VMwareDVSConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSConfigSpec"] = "4.0"
}
// Indicators of support for version-specific DVS features that are only
@@ -81661,7 +82036,7 @@ type VMwareDVSFeatureCapability struct {
// The support for version-specific Link Aggregation Control Protocol.
LacpCapability *VMwareDvsLacpCapability `xml:"lacpCapability,omitempty" json:"lacpCapability,omitempty" vim:"5.1"`
// The support for version-specific DPU(SmartNic).
- DpuCapability *VMwareDvsDpuCapability `xml:"dpuCapability,omitempty" json:"dpuCapability,omitempty"`
+ DpuCapability *VMwareDvsDpuCapability `xml:"dpuCapability,omitempty" json:"dpuCapability,omitempty" vim:"8.0.0.1"`
// Flag to indicate whether NSX is supported on the
// vSphere Distributed Switch.
//
@@ -81672,8 +82047,8 @@ type VMwareDVSFeatureCapability struct {
}
func init() {
- minAPIVersionForType["VMwareDVSFeatureCapability"] = "4.1"
t["VMwareDVSFeatureCapability"] = reflect.TypeOf((*VMwareDVSFeatureCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSFeatureCapability"] = "4.1"
}
// The feature capabilities of health check supported by the
@@ -81683,15 +82058,15 @@ type VMwareDVSHealthCheckCapability struct {
// Flag to indicate whether vlan/mtu health check is supported on the
// vSphere Distributed Switch.
- VlanMtuSupported bool `xml:"vlanMtuSupported" json:"vlanMtuSupported" vim:"5.1"`
+ VlanMtuSupported bool `xml:"vlanMtuSupported" json:"vlanMtuSupported"`
// Flag to indicate whether teaming health check is supported on the
// vSphere Distributed Switch.
- TeamingSupported bool `xml:"teamingSupported" json:"teamingSupported" vim:"5.1"`
+ TeamingSupported bool `xml:"teamingSupported" json:"teamingSupported"`
}
func init() {
- minAPIVersionForType["VMwareDVSHealthCheckCapability"] = "5.1"
t["VMwareDVSHealthCheckCapability"] = reflect.TypeOf((*VMwareDVSHealthCheckCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSHealthCheckCapability"] = "5.1"
}
// This class defines health check configuration for
@@ -81701,8 +82076,8 @@ type VMwareDVSHealthCheckConfig struct {
}
func init() {
- minAPIVersionForType["VMwareDVSHealthCheckConfig"] = "5.1"
t["VMwareDVSHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSHealthCheckConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSHealthCheckConfig"] = "5.1"
}
// This class defines MTU health check result of an uplink port
@@ -81716,24 +82091,24 @@ type VMwareDVSMtuHealthCheckResult struct {
// If it is true,
// MTU health check is stopped. In this case, `VMwareDVSMtuHealthCheckResult.vlanSupportSwitchMtu` and
// `VMwareDVSMtuHealthCheckResult.vlanNotSupportSwitchMtu` will not have values.
- MtuMismatch bool `xml:"mtuMismatch" json:"mtuMismatch" vim:"5.1"`
+ MtuMismatch bool `xml:"mtuMismatch" json:"mtuMismatch"`
// The vlan's MTU setting on physical switch allows vSphere Distributed Switch
// max MTU size packets passing.
//
// If the vlan is not a range, but a single Id,
// both start and end have the same value with the single vlan Id.
- VlanSupportSwitchMtu []NumericRange `xml:"vlanSupportSwitchMtu,omitempty" json:"vlanSupportSwitchMtu,omitempty" vim:"5.1"`
+ VlanSupportSwitchMtu []NumericRange `xml:"vlanSupportSwitchMtu,omitempty" json:"vlanSupportSwitchMtu,omitempty"`
// The vlan's MTU setting on physical switch does not allow
// vSphere Distributed Switch max MTU size packets passing.
//
// If the vlan is not a range, but a single Id,
// both start and end have the same value with the single vlan Id.
- VlanNotSupportSwitchMtu []NumericRange `xml:"vlanNotSupportSwitchMtu,omitempty" json:"vlanNotSupportSwitchMtu,omitempty" vim:"5.1"`
+ VlanNotSupportSwitchMtu []NumericRange `xml:"vlanNotSupportSwitchMtu,omitempty" json:"vlanNotSupportSwitchMtu,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareDVSMtuHealthCheckResult"] = "5.1"
t["VMwareDVSMtuHealthCheckResult"] = reflect.TypeOf((*VMwareDVSMtuHealthCheckResult)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSMtuHealthCheckResult"] = "5.1"
}
// This class defines the VMware specific configuration for
@@ -81742,22 +82117,22 @@ type VMwareDVSPortSetting struct {
DVPortSetting
// The VLAN Specification of the port.
- Vlan BaseVmwareDistributedVirtualSwitchVlanSpec `xml:"vlan,omitempty,typeattr" json:"vlan,omitempty" vim:"4.0"`
+ Vlan BaseVmwareDistributedVirtualSwitchVlanSpec `xml:"vlan,omitempty,typeattr" json:"vlan,omitempty"`
// Deprecated as of vSphere API 5.0.
//
// The Quality Of Service tagging of the port.
- QosTag *IntPolicy `xml:"qosTag,omitempty" json:"qosTag,omitempty" vim:"4.0"`
+ QosTag *IntPolicy `xml:"qosTag,omitempty" json:"qosTag,omitempty"`
// The uplink teaming policy.
//
// This property is ignored for uplink
// ports.
- UplinkTeamingPolicy *VmwareUplinkPortTeamingPolicy `xml:"uplinkTeamingPolicy,omitempty" json:"uplinkTeamingPolicy,omitempty" vim:"4.0"`
+ UplinkTeamingPolicy *VmwareUplinkPortTeamingPolicy `xml:"uplinkTeamingPolicy,omitempty" json:"uplinkTeamingPolicy,omitempty"`
// Deprecated as of vSphere API 6.7, use
// `DVSMacManagementPolicy`
// instead to specify the security policy.
//
// The security policy.
- SecurityPolicy *DVSSecurityPolicy `xml:"securityPolicy,omitempty" json:"securityPolicy,omitempty" vim:"4.0"`
+ SecurityPolicy *DVSSecurityPolicy `xml:"securityPolicy,omitempty" json:"securityPolicy,omitempty"`
// True if ipfix monitoring is enabled.
//
// To successfully enable ipfix
@@ -81769,7 +82144,7 @@ type VMwareDVSPortSetting struct {
IpfixEnabled *BoolPolicy `xml:"ipfixEnabled,omitempty" json:"ipfixEnabled,omitempty" vim:"5.0"`
// If true, a copy of packets sent to the switch will always be forwarded to
// an uplink in addition to the regular packet forwarded done by the switch.
- TxUplink *BoolPolicy `xml:"txUplink,omitempty" json:"txUplink,omitempty" vim:"4.0"`
+ TxUplink *BoolPolicy `xml:"txUplink,omitempty" json:"txUplink,omitempty"`
// Deprecated as of vSphere API 5.5, use
// `VmwareDistributedVirtualSwitch.UpdateDVSLacpGroupConfig_Task` and
// `VMwareDVSConfigInfo.lacpGroupConfig`
@@ -81788,8 +82163,8 @@ type VMwareDVSPortSetting struct {
}
func init() {
- minAPIVersionForType["VMwareDVSPortSetting"] = "4.0"
t["VMwareDVSPortSetting"] = reflect.TypeOf((*VMwareDVSPortSetting)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSPortSetting"] = "4.0"
}
// This class defines the VMware specific configuration for
@@ -81804,13 +82179,13 @@ type VMwareDVSPortgroupPolicy struct {
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- VlanOverrideAllowed bool `xml:"vlanOverrideAllowed" json:"vlanOverrideAllowed" vim:"4.0"`
+ VlanOverrideAllowed bool `xml:"vlanOverrideAllowed" json:"vlanOverrideAllowed"`
// Allow the setting of
// `VMwareDVSPortSetting.uplinkTeamingPolicy`
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- UplinkTeamingOverrideAllowed bool `xml:"uplinkTeamingOverrideAllowed" json:"uplinkTeamingOverrideAllowed" vim:"4.0"`
+ UplinkTeamingOverrideAllowed bool `xml:"uplinkTeamingOverrideAllowed" json:"uplinkTeamingOverrideAllowed"`
// Deprecated as of vSphere API 6.7.1, use
// `VMwareDVSPortgroupPolicy.macManagementOverrideAllowed` instead.
//
@@ -81819,7 +82194,7 @@ type VMwareDVSPortgroupPolicy struct {
// for an individual port to override the setting in
// `DVPortgroupConfigInfo.defaultPortConfig` of
// a portgroup.
- SecurityPolicyOverrideAllowed bool `xml:"securityPolicyOverrideAllowed" json:"securityPolicyOverrideAllowed" vim:"4.0"`
+ SecurityPolicyOverrideAllowed bool `xml:"securityPolicyOverrideAllowed" json:"securityPolicyOverrideAllowed"`
// Allow the setting of
// `VMwareDVSPortSetting.ipfixEnabled`
// for an individual port to override the setting in
@@ -81835,8 +82210,8 @@ type VMwareDVSPortgroupPolicy struct {
}
func init() {
- minAPIVersionForType["VMwareDVSPortgroupPolicy"] = "4.0"
t["VMwareDVSPortgroupPolicy"] = reflect.TypeOf((*VMwareDVSPortgroupPolicy)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSPortgroupPolicy"] = "4.0"
}
// This class defines the configuration of a PVLAN map entry
@@ -81844,18 +82219,18 @@ type VMwareDVSPvlanConfigSpec struct {
DynamicData
// The PVLAN entry to be added or removed.
- PvlanEntry VMwareDVSPvlanMapEntry `xml:"pvlanEntry" json:"pvlanEntry" vim:"4.0"`
+ PvlanEntry VMwareDVSPvlanMapEntry `xml:"pvlanEntry" json:"pvlanEntry"`
// Operation type.
//
// See
// `ConfigSpecOperation_enum` for valid values,
// except for the "edit" value, which is not supported.
- Operation string `xml:"operation" json:"operation" vim:"4.0"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["VMwareDVSPvlanConfigSpec"] = "4.0"
t["VMwareDVSPvlanConfigSpec"] = reflect.TypeOf((*VMwareDVSPvlanConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSPvlanConfigSpec"] = "4.0"
}
// The class represents a PVLAN id.
@@ -81866,22 +82241,22 @@ type VMwareDVSPvlanMapEntry struct {
//
// The VLAN IDs of 0 and 4095 are reserved
// and cannot be used in this property.
- PrimaryVlanId int32 `xml:"primaryVlanId" json:"primaryVlanId" vim:"4.0"`
+ PrimaryVlanId int32 `xml:"primaryVlanId" json:"primaryVlanId"`
// The secondary VLAN ID.
//
// The VLAN IDs of 0 and 4095 are reserved
// and cannot be used in this property.
- SecondaryVlanId int32 `xml:"secondaryVlanId" json:"secondaryVlanId" vim:"4.0"`
+ SecondaryVlanId int32 `xml:"secondaryVlanId" json:"secondaryVlanId"`
// The type of PVLAN.
//
// See `VmwareDistributedVirtualSwitchPvlanPortType_enum`
// for valid values.
- PvlanType string `xml:"pvlanType" json:"pvlanType" vim:"4.0"`
+ PvlanType string `xml:"pvlanType" json:"pvlanType"`
}
func init() {
- minAPIVersionForType["VMwareDVSPvlanMapEntry"] = "4.0"
t["VMwareDVSPvlanMapEntry"] = reflect.TypeOf((*VMwareDVSPvlanMapEntry)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSPvlanMapEntry"] = "4.0"
}
// This class defines the teaming health check configuration.
@@ -81893,8 +82268,8 @@ type VMwareDVSTeamingHealthCheckConfig struct {
}
func init() {
- minAPIVersionForType["VMwareDVSTeamingHealthCheckConfig"] = "5.1"
t["VMwareDVSTeamingHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSTeamingHealthCheckConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSTeamingHealthCheckConfig"] = "5.1"
}
// This class defines teaming health check result of a host that
@@ -81906,12 +82281,12 @@ type VMwareDVSTeamingHealthCheckResult struct {
//
// See `VMwareDVSTeamingMatchStatus_enum`
// for valid values.
- TeamingStatus string `xml:"teamingStatus" json:"teamingStatus" vim:"5.1"`
+ TeamingStatus string `xml:"teamingStatus" json:"teamingStatus"`
}
func init() {
- minAPIVersionForType["VMwareDVSTeamingHealthCheckResult"] = "5.1"
t["VMwareDVSTeamingHealthCheckResult"] = reflect.TypeOf((*VMwareDVSTeamingHealthCheckResult)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSTeamingHealthCheckResult"] = "5.1"
}
// This class defines Vlan health check result of an uplink port
@@ -81923,17 +82298,17 @@ type VMwareDVSVlanHealthCheckResult struct {
//
// If the vlan is not a range, but a single Id,
// both start and end have the same value with the single vlan Id.
- TrunkedVlan []NumericRange `xml:"trunkedVlan,omitempty" json:"trunkedVlan,omitempty" vim:"5.1"`
+ TrunkedVlan []NumericRange `xml:"trunkedVlan,omitempty" json:"trunkedVlan,omitempty"`
// The vlans which are not trunked by the physical switch connected to the uplink port.
//
// If the vlan is not a range, but a single Id,
// both start and end have the same value with the single vlan Id.
- UntrunkedVlan []NumericRange `xml:"untrunkedVlan,omitempty" json:"untrunkedVlan,omitempty" vim:"5.1"`
+ UntrunkedVlan []NumericRange `xml:"untrunkedVlan,omitempty" json:"untrunkedVlan,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareDVSVlanHealthCheckResult"] = "5.1"
t["VMwareDVSVlanHealthCheckResult"] = reflect.TypeOf((*VMwareDVSVlanHealthCheckResult)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVlanHealthCheckResult"] = "5.1"
}
// This class defines the vlan and mtu health check configuration.
@@ -81947,8 +82322,8 @@ type VMwareDVSVlanMtuHealthCheckConfig struct {
}
func init() {
- minAPIVersionForType["VMwareDVSVlanMtuHealthCheckConfig"] = "5.1"
t["VMwareDVSVlanMtuHealthCheckConfig"] = reflect.TypeOf((*VMwareDVSVlanMtuHealthCheckConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVlanMtuHealthCheckConfig"] = "5.1"
}
// Indicators of support for version-specific Distributed Port Mirroring sessions.
@@ -81957,19 +82332,19 @@ type VMwareDVSVspanCapability struct {
// Flag to indicate whether mixed dest mirror session is supported on the
// vSphere Distributed Switch.
- MixedDestSupported bool `xml:"mixedDestSupported" json:"mixedDestSupported" vim:"5.1"`
+ MixedDestSupported bool `xml:"mixedDestSupported" json:"mixedDestSupported"`
// Flag to indicate whether dvport mirror session is supported on the
// vSphere Distributed Switch.
- DvportSupported bool `xml:"dvportSupported" json:"dvportSupported" vim:"5.1"`
+ DvportSupported bool `xml:"dvportSupported" json:"dvportSupported"`
// Flag to indicate whether remote mirror source session is supported on the
// vSphere Distributed Switch.
- RemoteSourceSupported bool `xml:"remoteSourceSupported" json:"remoteSourceSupported" vim:"5.1"`
+ RemoteSourceSupported bool `xml:"remoteSourceSupported" json:"remoteSourceSupported"`
// Flag to indicate whether remote mirror destination session is supported on the
// vSphere Distributed Switch.
- RemoteDestSupported bool `xml:"remoteDestSupported" json:"remoteDestSupported" vim:"5.1"`
+ RemoteDestSupported bool `xml:"remoteDestSupported" json:"remoteDestSupported"`
// Flag to indicate whether encapsulated remote mirror source session is supported on the
// vSphere Distributed Switch.
- EncapRemoteSourceSupported bool `xml:"encapRemoteSourceSupported" json:"encapRemoteSourceSupported" vim:"5.1"`
+ EncapRemoteSourceSupported bool `xml:"encapRemoteSourceSupported" json:"encapRemoteSourceSupported"`
// Flag to indicate whether ERSPAN protocol encapsulation is supported
// on the vSphere Distributed Switch.
ErspanProtocolSupported *bool `xml:"erspanProtocolSupported" json:"erspanProtocolSupported,omitempty" vim:"6.5"`
@@ -81979,8 +82354,8 @@ type VMwareDVSVspanCapability struct {
}
func init() {
- minAPIVersionForType["VMwareDVSVspanCapability"] = "5.1"
t["VMwareDVSVspanCapability"] = reflect.TypeOf((*VMwareDVSVspanCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVspanCapability"] = "5.1"
}
// This class defines the configuration of a Distributed Port Mirroring session.
@@ -81990,15 +82365,15 @@ type VMwareDVSVspanConfigSpec struct {
DynamicData
// The Distributed Port Mirroring session to be reconfigured.
- VspanSession VMwareVspanSession `xml:"vspanSession" json:"vspanSession" vim:"5.0"`
+ VspanSession VMwareVspanSession `xml:"vspanSession" json:"vspanSession"`
// Operation type, see
// `ConfigSpecOperation_enum` for valid values.
- Operation string `xml:"operation" json:"operation" vim:"5.0"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["VMwareDVSVspanConfigSpec"] = "5.0"
t["VMwareDVSVspanConfigSpec"] = reflect.TypeOf((*VMwareDVSVspanConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VMwareDVSVspanConfigSpec"] = "5.0"
}
// The feature capabilities of Dpu Features supported by the
@@ -82013,6 +82388,7 @@ type VMwareDvsDpuCapability struct {
func init() {
t["VMwareDvsDpuCapability"] = reflect.TypeOf((*VMwareDvsDpuCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsDpuCapability"] = "8.0.0.1"
}
// The feature capabilities of Ipfix supported by the vSphere Distributed Switch.
@@ -82023,22 +82399,22 @@ type VMwareDvsIpfixCapability struct {
// vSphere Distributed Switch.
//
// IPFIX is supported in vSphere Distributed Switch Version 5.0 or later.
- IpfixSupported *bool `xml:"ipfixSupported" json:"ipfixSupported,omitempty" vim:"6.0"`
+ IpfixSupported *bool `xml:"ipfixSupported" json:"ipfixSupported,omitempty"`
// Flag to indicate whether IPv6 for IPFIX(NetFlow) is supported on the
// vSphere Distributed Switch.
//
// IPv6 for IPFIX is supported in vSphere Distributed Switch Version 6.0 or later.
- Ipv6ForIpfixSupported *bool `xml:"ipv6ForIpfixSupported" json:"ipv6ForIpfixSupported,omitempty" vim:"6.0"`
+ Ipv6ForIpfixSupported *bool `xml:"ipv6ForIpfixSupported" json:"ipv6ForIpfixSupported,omitempty"`
// Flag to indicate whether Observation Domain Id for IPFIX is supported
// on the vSphere Distributed Switch.
//
// Observation Domain Id is supported in vSphere Distributed Switch Version 6.0 or later.
- ObservationDomainIdSupported *bool `xml:"observationDomainIdSupported" json:"observationDomainIdSupported,omitempty" vim:"6.0"`
+ ObservationDomainIdSupported *bool `xml:"observationDomainIdSupported" json:"observationDomainIdSupported,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareDvsIpfixCapability"] = "6.0"
t["VMwareDvsIpfixCapability"] = reflect.TypeOf((*VMwareDvsIpfixCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsIpfixCapability"] = "6.0"
}
// The feature capabilities of Link Aggregation Control Protocol supported by the
@@ -82048,7 +82424,7 @@ type VMwareDvsLacpCapability struct {
// Flag to indicate whether Link Aggregation Control Protocol is supported on the
// vSphere Distributed Switch.
- LacpSupported *bool `xml:"lacpSupported" json:"lacpSupported,omitempty" vim:"5.1"`
+ LacpSupported *bool `xml:"lacpSupported" json:"lacpSupported,omitempty"`
// Flag to indicate whether the vSphere Distributed Switch supports more
// than one Link Aggregation Control Protocol group to be configured.
//
@@ -82062,8 +82438,8 @@ type VMwareDvsLacpCapability struct {
}
func init() {
- minAPIVersionForType["VMwareDvsLacpCapability"] = "5.1"
t["VMwareDvsLacpCapability"] = reflect.TypeOf((*VMwareDvsLacpCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLacpCapability"] = "5.1"
}
// This class defines VMware specific multiple IEEE 802.3ad
@@ -82072,32 +82448,32 @@ type VMwareDvsLacpGroupConfig struct {
DynamicData
// The generated key as the identifier for the Link Aggregation group.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.5"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The display name.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.5"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The mode of Link Aggregation Control Protocol.
//
// See `VMwareUplinkLacpMode_enum` for valid values.
- Mode string `xml:"mode,omitempty" json:"mode,omitempty" vim:"5.5"`
+ Mode string `xml:"mode,omitempty" json:"mode,omitempty"`
// The number of uplink ports.
- UplinkNum int32 `xml:"uplinkNum,omitempty" json:"uplinkNum,omitempty" vim:"5.5"`
+ UplinkNum int32 `xml:"uplinkNum,omitempty" json:"uplinkNum,omitempty"`
// Load balance policy.
//
// See `VMwareDvsLacpLoadBalanceAlgorithm_enum` for valid values.
- LoadbalanceAlgorithm string `xml:"loadbalanceAlgorithm,omitempty" json:"loadbalanceAlgorithm,omitempty" vim:"5.5"`
+ LoadbalanceAlgorithm string `xml:"loadbalanceAlgorithm,omitempty" json:"loadbalanceAlgorithm,omitempty"`
// The VLAN Specification of the Uplink Ports in the Link Aggregation group.
- Vlan *VMwareDvsLagVlanConfig `xml:"vlan,omitempty" json:"vlan,omitempty" vim:"5.5"`
+ Vlan *VMwareDvsLagVlanConfig `xml:"vlan,omitempty" json:"vlan,omitempty"`
// Ipfix configuration of the Link Aggregation
// Control Protocol group.
- Ipfix *VMwareDvsLagIpfixConfig `xml:"ipfix,omitempty" json:"ipfix,omitempty" vim:"5.5"`
+ Ipfix *VMwareDvsLagIpfixConfig `xml:"ipfix,omitempty" json:"ipfix,omitempty"`
// Names for the Uplink Ports in the group.
//
// This property is ignored in an update operation.
- UplinkName []string `xml:"uplinkName,omitempty" json:"uplinkName,omitempty" vim:"5.5"`
+ UplinkName []string `xml:"uplinkName,omitempty" json:"uplinkName,omitempty"`
// Keys for the Uplink Ports in the group.
//
// This property is ignored in an update operation.
- UplinkPortKey []string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty" vim:"5.5"`
+ UplinkPortKey []string `xml:"uplinkPortKey,omitempty" json:"uplinkPortKey,omitempty"`
// The timeout mode of LACP group.
//
// See `VMwareUplinkLacpTimeoutMode_enum` for valid values.
@@ -82105,8 +82481,8 @@ type VMwareDvsLacpGroupConfig struct {
}
func init() {
- minAPIVersionForType["VMwareDvsLacpGroupConfig"] = "5.5"
t["VMwareDvsLacpGroupConfig"] = reflect.TypeOf((*VMwareDvsLacpGroupConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLacpGroupConfig"] = "5.5"
}
// This class defines the configuration of a Link Aggregation
@@ -82115,15 +82491,15 @@ type VMwareDvsLacpGroupSpec struct {
DynamicData
// The Link Aggregation Control Protocol group to be configured.
- LacpGroupConfig VMwareDvsLacpGroupConfig `xml:"lacpGroupConfig" json:"lacpGroupConfig" vim:"5.5"`
+ LacpGroupConfig VMwareDvsLacpGroupConfig `xml:"lacpGroupConfig" json:"lacpGroupConfig"`
// Operation type, see
// `ConfigSpecOperation_enum` for valid values.
- Operation string `xml:"operation" json:"operation" vim:"5.5"`
+ Operation string `xml:"operation" json:"operation"`
}
func init() {
- minAPIVersionForType["VMwareDvsLacpGroupSpec"] = "5.5"
t["VMwareDvsLacpGroupSpec"] = reflect.TypeOf((*VMwareDvsLacpGroupSpec)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLacpGroupSpec"] = "5.5"
}
// This class defines the ipfix configuration of the Link Aggregation
@@ -82140,12 +82516,12 @@ type VMwareDvsLagIpfixConfig struct {
// `VMwareDVSPortgroupPolicy.ipfixOverrideAllowed`
// of all the Uplink Port Groups to be true,
// otherwise ConflictingConfiguration fault will be raised.
- IpfixEnabled *bool `xml:"ipfixEnabled" json:"ipfixEnabled,omitempty" vim:"5.5"`
+ IpfixEnabled *bool `xml:"ipfixEnabled" json:"ipfixEnabled,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareDvsLagIpfixConfig"] = "5.5"
t["VMwareDvsLagIpfixConfig"] = reflect.TypeOf((*VMwareDvsLagIpfixConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLagIpfixConfig"] = "5.5"
}
// This class defines the vlan configuration of the Link Aggregation
@@ -82164,12 +82540,12 @@ type VMwareDvsLagVlanConfig struct {
// `VMwareDVSPortgroupPolicy.vlanOverrideAllowed`
// of all the Uplink Port Groups to be true,
// otherwise ConflictingConfiguration fault will be raised.
- VlanId []NumericRange `xml:"vlanId,omitempty" json:"vlanId,omitempty" vim:"5.5"`
+ VlanId []NumericRange `xml:"vlanId,omitempty" json:"vlanId,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareDvsLagVlanConfig"] = "5.5"
t["VMwareDvsLagVlanConfig"] = reflect.TypeOf((*VMwareDvsLagVlanConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsLagVlanConfig"] = "5.5"
}
// Indicators of support for version-specific supported MTU.
@@ -82177,14 +82553,14 @@ type VMwareDvsMtuCapability struct {
DynamicData
// Minimum supported MTU on VDS.
- MinMtuSupported int32 `xml:"minMtuSupported" json:"minMtuSupported" vim:"7.0.2.0"`
+ MinMtuSupported int32 `xml:"minMtuSupported" json:"minMtuSupported"`
// Maximum supported MTU on VDS.
- MaxMtuSupported int32 `xml:"maxMtuSupported" json:"maxMtuSupported" vim:"7.0.2.0"`
+ MaxMtuSupported int32 `xml:"maxMtuSupported" json:"maxMtuSupported"`
}
func init() {
- minAPIVersionForType["VMwareDvsMtuCapability"] = "7.0.2.0"
t["VMwareDvsMtuCapability"] = reflect.TypeOf((*VMwareDvsMtuCapability)(nil)).Elem()
+ minAPIVersionForType["VMwareDvsMtuCapability"] = "7.0.2.0"
}
// Configuration for IPFIX monitoring of distributed virtual switch traffic.
@@ -82199,13 +82575,13 @@ type VMwareIpfixConfig struct {
// IPv6 is supported in vSphere Distributed Switch Version 6.0 or later.
// This must be set before ipfix monitoring can be enabled for the
// switch, or for any portgroup or port of the switch.
- CollectorIpAddress string `xml:"collectorIpAddress,omitempty" json:"collectorIpAddress,omitempty" vim:"5.0"`
+ CollectorIpAddress string `xml:"collectorIpAddress,omitempty" json:"collectorIpAddress,omitempty"`
// Port for the ipfix collector.
//
// This must be set before ipfix monitoring
// can be enabled for the switch, or for any portgroup or port of the
// switch. Legal value range is 0-65535.
- CollectorPort int32 `xml:"collectorPort,omitempty" json:"collectorPort,omitempty" vim:"5.0"`
+ CollectorPort int32 `xml:"collectorPort,omitempty" json:"collectorPort,omitempty"`
// Observation Domain Id for the ipfix collector.
//
// Observation Domain Id is supported
@@ -82216,28 +82592,28 @@ type VMwareIpfixConfig struct {
// exported to the collector.
//
// Legal value range is 60-3600. Default: 60.
- ActiveFlowTimeout int32 `xml:"activeFlowTimeout" json:"activeFlowTimeout" vim:"5.0"`
+ ActiveFlowTimeout int32 `xml:"activeFlowTimeout" json:"activeFlowTimeout"`
// The number of seconds after which "idle" flows are forced to be
// exported to the collector.
//
// Legal value range is 10-600. Default: 15.
- IdleFlowTimeout int32 `xml:"idleFlowTimeout" json:"idleFlowTimeout" vim:"5.0"`
+ IdleFlowTimeout int32 `xml:"idleFlowTimeout" json:"idleFlowTimeout"`
// The ratio of total number of packets to the number of packets
// analyzed.
//
// Set to 0 to disable sampling. Legal value range is 0-16384.
// Default: 4096.
- SamplingRate int32 `xml:"samplingRate" json:"samplingRate" vim:"5.0"`
+ SamplingRate int32 `xml:"samplingRate" json:"samplingRate"`
// Whether to limit analysis to traffic that has both source and
// destination served by the same host.
//
// Default: false.
- InternalFlowsOnly bool `xml:"internalFlowsOnly" json:"internalFlowsOnly" vim:"5.0"`
+ InternalFlowsOnly bool `xml:"internalFlowsOnly" json:"internalFlowsOnly"`
}
func init() {
- minAPIVersionForType["VMwareIpfixConfig"] = "5.0"
t["VMwareIpfixConfig"] = reflect.TypeOf((*VMwareIpfixConfig)(nil)).Elem()
+ minAPIVersionForType["VMwareIpfixConfig"] = "5.0"
}
// Deprecated as of vSphere API 5.5.
@@ -82254,16 +82630,16 @@ type VMwareUplinkLacpPolicy struct {
// `VMwareDVSConfigInfo.lacpApiVersion`
// is `singleLag`,
// else an exception ConflictingConfiguration will be thrown.
- Enable *BoolPolicy `xml:"enable,omitempty" json:"enable,omitempty" vim:"5.1"`
+ Enable *BoolPolicy `xml:"enable,omitempty" json:"enable,omitempty"`
// The mode of Link Aggregation Control Protocol.
//
// See `VMwareUplinkLacpMode_enum` for valid values.
- Mode *StringPolicy `xml:"mode,omitempty" json:"mode,omitempty" vim:"5.1"`
+ Mode *StringPolicy `xml:"mode,omitempty" json:"mode,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareUplinkLacpPolicy"] = "5.1"
t["VMwareUplinkLacpPolicy"] = reflect.TypeOf((*VMwareUplinkLacpPolicy)(nil)).Elem()
+ minAPIVersionForType["VMwareUplinkLacpPolicy"] = "5.1"
}
// This data object type describes uplink port ordering policy for a
@@ -82275,14 +82651,14 @@ type VMwareUplinkPortOrderPolicy struct {
InheritablePolicy
// List of active uplink ports used for load balancing.
- ActiveUplinkPort []string `xml:"activeUplinkPort,omitempty" json:"activeUplinkPort,omitempty" vim:"4.0"`
+ ActiveUplinkPort []string `xml:"activeUplinkPort,omitempty" json:"activeUplinkPort,omitempty"`
// Standby uplink ports used for failover.
- StandbyUplinkPort []string `xml:"standbyUplinkPort,omitempty" json:"standbyUplinkPort,omitempty" vim:"4.0"`
+ StandbyUplinkPort []string `xml:"standbyUplinkPort,omitempty" json:"standbyUplinkPort,omitempty"`
}
func init() {
- minAPIVersionForType["VMwareUplinkPortOrderPolicy"] = "4.0"
t["VMwareUplinkPortOrderPolicy"] = reflect.TypeOf((*VMwareUplinkPortOrderPolicy)(nil)).Elem()
+ minAPIVersionForType["VMwareUplinkPortOrderPolicy"] = "4.0"
}
// This class defines the ports, uplink ports name, vlans and IP addresses participating in a
@@ -82293,12 +82669,12 @@ type VMwareVspanPort struct {
DynamicData
// Individual ports to participate in the Distributed Port Mirroring session.
- PortKey []string `xml:"portKey,omitempty" json:"portKey,omitempty" vim:"5.0"`
+ PortKey []string `xml:"portKey,omitempty" json:"portKey,omitempty"`
// Uplink ports used as destination ports to participate in the Distributed Port Mirroring session.
//
// A fault will be raised if uplinkPortName is used as source ports
// in any Distributed Port Mirroring session.
- UplinkPortName []string `xml:"uplinkPortName,omitempty" json:"uplinkPortName,omitempty" vim:"5.0"`
+ UplinkPortName []string `xml:"uplinkPortName,omitempty" json:"uplinkPortName,omitempty"`
// Wild card specification for source ports participating in the Distributed Port Mirroring session.
//
// See `DistributedVirtualSwitchPortConnecteeConnecteeType_enum` for valid values.
@@ -82306,7 +82682,7 @@ type VMwareVspanPort struct {
// mirrored. A fault will be raised if wildcards are specified as destination
// ports or source ports mirroring traffic on the transmit side.
// It is to be not used.
- WildcardPortConnecteeType []string `xml:"wildcardPortConnecteeType,omitempty" json:"wildcardPortConnecteeType,omitempty" vim:"5.0"`
+ WildcardPortConnecteeType []string `xml:"wildcardPortConnecteeType,omitempty" json:"wildcardPortConnecteeType,omitempty"`
// Vlan Ids for ingress source of Remote Mirror destination
// session.
Vlans []int32 `xml:"vlans,omitempty" json:"vlans,omitempty" vim:"5.1"`
@@ -82322,8 +82698,8 @@ type VMwareVspanPort struct {
}
func init() {
- minAPIVersionForType["VMwareVspanPort"] = "5.0"
t["VMwareVspanPort"] = reflect.TypeOf((*VMwareVspanPort)(nil)).Elem()
+ minAPIVersionForType["VMwareVspanPort"] = "5.0"
}
// The `VMwareVspanSession` data object
@@ -82383,17 +82759,17 @@ type VMwareVspanSession struct {
DynamicData
// The generated key as the identifier for the session.
- Key string `xml:"key,omitempty" json:"key,omitempty" vim:"5.0"`
+ Key string `xml:"key,omitempty" json:"key,omitempty"`
// The display name.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"5.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The description for the session.
- Description string `xml:"description,omitempty" json:"description,omitempty" vim:"5.0"`
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
// Whether the session is enabled.
- Enabled bool `xml:"enabled" json:"enabled" vim:"5.0"`
+ Enabled bool `xml:"enabled" json:"enabled"`
// Source ports for which transmitted packets are mirrored.
- SourcePortTransmitted *VMwareVspanPort `xml:"sourcePortTransmitted,omitempty" json:"sourcePortTransmitted,omitempty" vim:"5.0"`
+ SourcePortTransmitted *VMwareVspanPort `xml:"sourcePortTransmitted,omitempty" json:"sourcePortTransmitted,omitempty"`
// Source ports for which received packets are mirrored.
- SourcePortReceived *VMwareVspanPort `xml:"sourcePortReceived,omitempty" json:"sourcePortReceived,omitempty" vim:"5.0"`
+ SourcePortReceived *VMwareVspanPort `xml:"sourcePortReceived,omitempty" json:"sourcePortReceived,omitempty"`
// Destination ports that received the mirrored packets.
//
// You cannot use wild card ports as destination ports. If `VMwareVspanPort.wildcardPortConnecteeType`
@@ -82401,28 +82777,28 @@ type VMwareVspanSession struct {
// operation will raise a fault. Also any port designated in the value of
// this property can not match the wild card source port in any of the
// Distributed Port Mirroring session.
- DestinationPort *VMwareVspanPort `xml:"destinationPort,omitempty" json:"destinationPort,omitempty" vim:"5.0"`
+ DestinationPort *VMwareVspanPort `xml:"destinationPort,omitempty" json:"destinationPort,omitempty"`
// VLAN ID used to encapsulate the mirrored traffic.
- EncapsulationVlanId int32 `xml:"encapsulationVlanId,omitempty" json:"encapsulationVlanId,omitempty" vim:"5.0"`
+ EncapsulationVlanId int32 `xml:"encapsulationVlanId,omitempty" json:"encapsulationVlanId,omitempty"`
// Whether to strip the original VLAN tag.
//
// if false, the original VLAN tag
// will be preserved on the mirrored traffic. If `VMwareVspanSession.encapsulationVlanId`
// has been set and this property is false, the frames will be double tagged
// with the original VLAN ID as the inner tag.
- StripOriginalVlan bool `xml:"stripOriginalVlan" json:"stripOriginalVlan" vim:"5.0"`
+ StripOriginalVlan bool `xml:"stripOriginalVlan" json:"stripOriginalVlan"`
// An integer that describes how much of each frame to mirror.
//
// If unset, all
// of the frame would be mirrored. Setting this property to a smaller value
// is useful when the consumer will look only at the headers.
// The value cannot be less than 60.
- MirroredPacketLength int32 `xml:"mirroredPacketLength,omitempty" json:"mirroredPacketLength,omitempty" vim:"5.0"`
+ MirroredPacketLength int32 `xml:"mirroredPacketLength,omitempty" json:"mirroredPacketLength,omitempty"`
// Whether or not destination ports can send and receive "normal" traffic.
//
// Setting this to false will make mirror ports be used solely for mirroring
// and not double as normal access ports.
- NormalTrafficAllowed bool `xml:"normalTrafficAllowed" json:"normalTrafficAllowed" vim:"5.0"`
+ NormalTrafficAllowed bool `xml:"normalTrafficAllowed" json:"normalTrafficAllowed"`
// Type of the session.
//
// See
@@ -82470,8 +82846,8 @@ type VMwareVspanSession struct {
}
func init() {
- minAPIVersionForType["VMwareVspanSession"] = "5.0"
t["VMwareVspanSession"] = reflect.TypeOf((*VMwareVspanSession)(nil)).Elem()
+ minAPIVersionForType["VMwareVspanSession"] = "5.0"
}
// This data object type describes a virtual storage object.
@@ -82479,12 +82855,12 @@ type VStorageObject struct {
DynamicData
// Virtual storage object configuration
- Config VStorageObjectConfigInfo `xml:"config" json:"config" vim:"6.5"`
+ Config VStorageObjectConfigInfo `xml:"config" json:"config"`
}
func init() {
- minAPIVersionForType["VStorageObject"] = "6.5"
t["VStorageObject"] = reflect.TypeOf((*VStorageObject)(nil)).Elem()
+ minAPIVersionForType["VStorageObject"] = "6.5"
}
// This data object is a key-value pair whose key is the virtual storage
@@ -82493,16 +82869,16 @@ type VStorageObjectAssociations struct {
DynamicData
// ID of this virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.7"`
+ Id ID `xml:"id" json:"id"`
// Array of vm associations related to the virtual storage object.
- VmDiskAssociations []VStorageObjectAssociationsVmDiskAssociations `xml:"vmDiskAssociations,omitempty" json:"vmDiskAssociations,omitempty" vim:"6.7"`
+ VmDiskAssociations []VStorageObjectAssociationsVmDiskAssociations `xml:"vmDiskAssociations,omitempty" json:"vmDiskAssociations,omitempty"`
// Received error while generating associations.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"6.7"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["VStorageObjectAssociations"] = "6.7"
t["VStorageObjectAssociations"] = reflect.TypeOf((*VStorageObjectAssociations)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectAssociations"] = "6.7"
}
// This data object contains infomation of a VM Disk associations.
@@ -82510,14 +82886,14 @@ type VStorageObjectAssociationsVmDiskAssociations struct {
DynamicData
// ID of the virtual machine.
- VmId string `xml:"vmId" json:"vmId" vim:"6.7"`
+ VmId string `xml:"vmId" json:"vmId"`
// Device key of the disk attached to the VM.
- DiskKey int32 `xml:"diskKey" json:"diskKey" vim:"6.7"`
+ DiskKey int32 `xml:"diskKey" json:"diskKey"`
}
func init() {
- minAPIVersionForType["VStorageObjectAssociationsVmDiskAssociations"] = "6.7"
t["VStorageObjectAssociationsVmDiskAssociations"] = reflect.TypeOf((*VStorageObjectAssociationsVmDiskAssociations)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectAssociationsVmDiskAssociations"] = "6.7"
}
// Data object specifies Virtual storage object configuration
@@ -82525,29 +82901,57 @@ type VStorageObjectConfigInfo struct {
BaseConfigInfo
// The descriptor version of this object
- DescriptorVersion int32 `xml:"descriptorVersion,omitempty" json:"descriptorVersion,omitempty"`
+ DescriptorVersion int32 `xml:"descriptorVersion,omitempty" json:"descriptorVersion,omitempty" vim:"8.0.1.0"`
// The size in MB of this object.
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB" vim:"6.5"`
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
// Consumption type of this object.
//
// See also `VStorageObjectConsumptionType_enum`.
- ConsumptionType []string `xml:"consumptionType,omitempty" json:"consumptionType,omitempty" vim:"6.5"`
+ ConsumptionType []string `xml:"consumptionType,omitempty" json:"consumptionType,omitempty"`
// IDs of the consumer objects which consume this vstorage object.
//
// For a virtual disk, this can be VM ID(s).
- ConsumerId []ID `xml:"consumerId,omitempty" json:"consumerId,omitempty" vim:"6.5"`
+ ConsumerId []ID `xml:"consumerId,omitempty" json:"consumerId,omitempty"`
}
func init() {
- minAPIVersionForType["VStorageObjectConfigInfo"] = "6.5"
t["VStorageObjectConfigInfo"] = reflect.TypeOf((*VStorageObjectConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectConfigInfo"] = "6.5"
+}
+
+// The parameters of `VStorageObjectManagerBase.VStorageObjectCreateSnapshotEx_Task`.
+type VStorageObjectCreateSnapshotExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The ID of the virtual storage object.
+ Id ID `xml:"id" json:"id"`
+ // The datastore where the source virtual storage object
+ // is located.
+ //
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // A short description to be associated with the snapshot.
+ Description string `xml:"description" json:"description"`
+}
+
+func init() {
+ t["VStorageObjectCreateSnapshotExRequestType"] = reflect.TypeOf((*VStorageObjectCreateSnapshotExRequestType)(nil)).Elem()
+}
+
+type VStorageObjectCreateSnapshotEx_Task VStorageObjectCreateSnapshotExRequestType
+
+func init() {
+ t["VStorageObjectCreateSnapshotEx_Task"] = reflect.TypeOf((*VStorageObjectCreateSnapshotEx_Task)(nil)).Elem()
+}
+
+type VStorageObjectCreateSnapshotEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
}
// The parameters of `VcenterVStorageObjectManager.VStorageObjectCreateSnapshot_Task`.
type VStorageObjectCreateSnapshotRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -82571,19 +82975,89 @@ type VStorageObjectCreateSnapshot_TaskResponse struct {
Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VStorageObjectManagerBase.VStorageObjectDeleteSnapshotEx_Task`.
+type VStorageObjectDeleteSnapshotExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The ID of the virtual storage object.
+ Id ID `xml:"id" json:"id"`
+ // The datastore where the source virtual storage object
+ // is located.
+ //
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // The ID of the snapshot of a virtual storage object.
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
+}
+
+func init() {
+ t["VStorageObjectDeleteSnapshotExRequestType"] = reflect.TypeOf((*VStorageObjectDeleteSnapshotExRequestType)(nil)).Elem()
+}
+
+type VStorageObjectDeleteSnapshotEx_Task VStorageObjectDeleteSnapshotExRequestType
+
+func init() {
+ t["VStorageObjectDeleteSnapshotEx_Task"] = reflect.TypeOf((*VStorageObjectDeleteSnapshotEx_Task)(nil)).Elem()
+}
+
+type VStorageObjectDeleteSnapshotEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
+// The parameters of `VStorageObjectManagerBase.VStorageObjectExtendDiskEx_Task`.
+type VStorageObjectExtendDiskExRequestType struct {
+ This ManagedObjectReference `xml:"_this" json:"-"`
+ // The ID of the virtual disk to be extended.
+ Id ID `xml:"id" json:"id"`
+ // The datastore where the virtual disk is located.
+ //
+ // Refers instance of `Datastore`.
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // The new capacity of the virtual disk in MB.
+ NewCapacityInMB int64 `xml:"newCapacityInMB" json:"newCapacityInMB"`
+}
+
+func init() {
+ t["VStorageObjectExtendDiskExRequestType"] = reflect.TypeOf((*VStorageObjectExtendDiskExRequestType)(nil)).Elem()
+}
+
+type VStorageObjectExtendDiskEx_Task VStorageObjectExtendDiskExRequestType
+
+func init() {
+ t["VStorageObjectExtendDiskEx_Task"] = reflect.TypeOf((*VStorageObjectExtendDiskEx_Task)(nil)).Elem()
+}
+
+type VStorageObjectExtendDiskEx_TaskResponse struct {
+ Returnval ManagedObjectReference `xml:"returnval" json:"returnval"`
+}
+
+// This data object type contains ID and VClock details of a virtual disk snapshot.
+type VStorageObjectSnapshot struct {
+ DynamicData
+
+ // ID of this snapshot object.
+ Id ID `xml:"id" json:"id"`
+ // VClock associated with the FCD when the operation completes.
+ Vclock VslmVClockInfo `xml:"vclock" json:"vclock"`
+}
+
+func init() {
+ t["VStorageObjectSnapshot"] = reflect.TypeOf((*VStorageObjectSnapshot)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectSnapshot"] = "8.0.2.0"
+}
+
// This data object type provides details of a vstorage object snapshot
type VStorageObjectSnapshotDetails struct {
DynamicData
// Path of the snaphost object
- Path string `xml:"path,omitempty" json:"path,omitempty" vim:"6.7"`
+ Path string `xml:"path,omitempty" json:"path,omitempty"`
// Changed block tracking ID of the snapshot
- ChangedBlockTrackingId string `xml:"changedBlockTrackingId,omitempty" json:"changedBlockTrackingId,omitempty" vim:"6.7"`
+ ChangedBlockTrackingId string `xml:"changedBlockTrackingId,omitempty" json:"changedBlockTrackingId,omitempty"`
}
func init() {
- minAPIVersionForType["VStorageObjectSnapshotDetails"] = "6.7"
t["VStorageObjectSnapshotDetails"] = reflect.TypeOf((*VStorageObjectSnapshotDetails)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectSnapshotDetails"] = "6.7"
}
// This data object type contains the brief information of a
@@ -82592,25 +83066,25 @@ type VStorageObjectSnapshotInfo struct {
DynamicData
// An array of snapshots
- Snapshots []VStorageObjectSnapshotInfoVStorageObjectSnapshot `xml:"snapshots,omitempty" json:"snapshots,omitempty" vim:"6.7"`
+ Snapshots []VStorageObjectSnapshotInfoVStorageObjectSnapshot `xml:"snapshots,omitempty" json:"snapshots,omitempty"`
}
func init() {
- minAPIVersionForType["VStorageObjectSnapshotInfo"] = "6.7"
t["VStorageObjectSnapshotInfo"] = reflect.TypeOf((*VStorageObjectSnapshotInfo)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectSnapshotInfo"] = "6.7"
}
type VStorageObjectSnapshotInfoVStorageObjectSnapshot struct {
DynamicData
// ID of the snapshot object.
- Id *ID `xml:"id,omitempty" json:"id,omitempty" vim:"6.7"`
+ Id *ID `xml:"id,omitempty" json:"id,omitempty"`
// Backing object ID
- BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty" vim:"6.7"`
+ BackingObjectId string `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
// The date and time this object was created.
- CreateTime time.Time `xml:"createTime" json:"createTime" vim:"6.7"`
+ CreateTime time.Time `xml:"createTime" json:"createTime"`
// Short description of the snapshot
- Description string `xml:"description" json:"description" vim:"6.7"`
+ Description string `xml:"description" json:"description"`
}
func init() {
@@ -82631,12 +83105,12 @@ type VStorageObjectStateInfo struct {
//
// There are maintenance procedures that are working on resolving that
// tentative state. Note that this might result in the object to be removed.
- Tentative *bool `xml:"tentative" json:"tentative,omitempty" vim:"6.5"`
+ Tentative *bool `xml:"tentative" json:"tentative,omitempty"`
}
func init() {
- minAPIVersionForType["VStorageObjectStateInfo"] = "6.5"
t["VStorageObjectStateInfo"] = reflect.TypeOf((*VStorageObjectStateInfo)(nil)).Elem()
+ minAPIVersionForType["VStorageObjectStateInfo"] = "6.5"
}
type VVolHostPE struct {
@@ -82645,9 +83119,9 @@ type VVolHostPE struct {
// The host associated with this volume.
//
// Refers instance of `HostSystem`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"6.0"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Host-specific information about the ProtocolEndpoint.
- ProtocolEndpoint []HostProtocolEndpoint `xml:"protocolEndpoint" json:"protocolEndpoint" vim:"6.0"`
+ ProtocolEndpoint []HostProtocolEndpoint `xml:"protocolEndpoint" json:"protocolEndpoint"`
}
func init() {
@@ -82661,15 +83135,15 @@ type VVolVmConfigFileUpdateResult struct {
// Mapping of target config VVol IDs to the target virtual machine
// config file paths which are successfully updated.
- SucceededVmConfigFile []KeyValue `xml:"succeededVmConfigFile,omitempty" json:"succeededVmConfigFile,omitempty" vim:"6.5"`
+ SucceededVmConfigFile []KeyValue `xml:"succeededVmConfigFile,omitempty" json:"succeededVmConfigFile,omitempty"`
// The list of virtual machines config files the server has attempted,
// but failed to update.
- FailedVmConfigFile []VVolVmConfigFileUpdateResultFailedVmConfigFileInfo `xml:"failedVmConfigFile,omitempty" json:"failedVmConfigFile,omitempty" vim:"6.5"`
+ FailedVmConfigFile []VVolVmConfigFileUpdateResultFailedVmConfigFileInfo `xml:"failedVmConfigFile,omitempty" json:"failedVmConfigFile,omitempty"`
}
func init() {
- minAPIVersionForType["VVolVmConfigFileUpdateResult"] = "6.5"
t["VVolVmConfigFileUpdateResult"] = reflect.TypeOf((*VVolVmConfigFileUpdateResult)(nil)).Elem()
+ minAPIVersionForType["VVolVmConfigFileUpdateResult"] = "6.5"
}
// Information of the failed update on the virtual machine config
@@ -82678,16 +83152,16 @@ type VVolVmConfigFileUpdateResultFailedVmConfigFileInfo struct {
DynamicData
// The target virtual machine config VVol ID
- TargetConfigVVolId string `xml:"targetConfigVVolId" json:"targetConfigVVolId" vim:"6.5"`
+ TargetConfigVVolId string `xml:"targetConfigVVolId" json:"targetConfigVVolId"`
// Datastore path for the virtual machine that failed to recover
DsPath string `xml:"dsPath,omitempty" json:"dsPath,omitempty" vim:"7.0"`
// The reason why the update failed.
- Fault LocalizedMethodFault `xml:"fault" json:"fault" vim:"6.5"`
+ Fault LocalizedMethodFault `xml:"fault" json:"fault"`
}
func init() {
- minAPIVersionForType["VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"] = "6.5"
t["VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"] = reflect.TypeOf((*VVolVmConfigFileUpdateResultFailedVmConfigFileInfo)(nil)).Elem()
+ minAPIVersionForType["VVolVmConfigFileUpdateResultFailedVmConfigFileInfo"] = "6.5"
}
type ValidateCredentialsInGuest ValidateCredentialsInGuestRequestType
@@ -82707,7 +83181,7 @@ type ValidateCredentialsInGuestRequestType struct {
Vm ManagedObjectReference `xml:"vm" json:"vm"`
// The guest authentication data. See
// `GuestAuthentication`.
- Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth" vim:"5.0"`
+ Auth BaseGuestAuthentication `xml:"auth,typeattr" json:"auth"`
}
func init() {
@@ -82731,7 +83205,7 @@ type ValidateHCIConfigurationRequestType struct {
// existing `ClusterComputeResourceHCIConfigInfo` of the
// cluster will be used.
// Note:- This param must be omitted for post-configure validation.
- HciConfigSpec *ClusterComputeResourceHCIConfigSpec `xml:"hciConfigSpec,omitempty" json:"hciConfigSpec,omitempty" vim:"6.7.1"`
+ HciConfigSpec *ClusterComputeResourceHCIConfigSpec `xml:"hciConfigSpec,omitempty" json:"hciConfigSpec,omitempty"`
// The set of hosts to be validated. If not specified, the set
// of existing hosts in the cluster will be used.
// Note:- This param must be omitted for post-configure validation.
@@ -82761,12 +83235,12 @@ type ValidateHostProfileCompositionRequestType struct {
// composition.
//
// Refers instance of `Profile`.
- Source ManagedObjectReference `xml:"source" json:"source" vim:"4.0"`
+ Source ManagedObjectReference `xml:"source" json:"source"`
// The array of target host profiles that the configurations
// composite into.
//
// Refers instances of `Profile`.
- Targets []ManagedObjectReference `xml:"targets,omitempty" json:"targets,omitempty" vim:"4.0"`
+ Targets []ManagedObjectReference `xml:"targets,omitempty" json:"targets,omitempty"`
// A `HostApplyProfile` object
// contains the sub profiles that will be merged from the source to
// the target host profiles, and all the ancestors of these sub
@@ -82780,7 +83254,7 @@ type ValidateHostProfileCompositionRequestType struct {
// `ApplyProfile.toReplaceWith`,
// `ApplyProfile.toBeDeleted`
// of the ancestors should have a value of false
.
- ToBeMerged *HostApplyProfile `xml:"toBeMerged,omitempty" json:"toBeMerged,omitempty" vim:"4.0"`
+ ToBeMerged *HostApplyProfile `xml:"toBeMerged,omitempty" json:"toBeMerged,omitempty"`
// A `HostApplyProfile` object
// contains the sub profiles that will be used to replace the array
// in the target host profiles, and all the ancestors of these sub
@@ -82788,7 +83262,7 @@ type ValidateHostProfileCompositionRequestType struct {
// Similar to above except that the member variable
// `ApplyProfile.toReplaceWith`
// is turned on.
- ToReplaceWith *HostApplyProfile `xml:"toReplaceWith,omitempty" json:"toReplaceWith,omitempty" vim:"4.0"`
+ ToReplaceWith *HostApplyProfile `xml:"toReplaceWith,omitempty" json:"toReplaceWith,omitempty"`
// A `HostApplyProfile` object
// contains the sub profiles that will be deleted from the source
// `*and*` the target host profiles, and all the ancestors of
@@ -82796,7 +83270,7 @@ type ValidateHostProfileCompositionRequestType struct {
// Similar to above except that the member variable
// `ApplyProfile.toBeDeleted`
// is turned on.
- ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty" json:"toBeDeleted,omitempty" vim:"4.0"`
+ ToBeDeleted *HostApplyProfile `xml:"toBeDeleted,omitempty" json:"toBeDeleted,omitempty"`
// A `HostApplyProfile`
// object contains the sub profiles that the member variable
// `ApplyProfile.enabled` will be copied from the
@@ -82808,7 +83282,7 @@ type ValidateHostProfileCompositionRequestType struct {
// `ApplyProfile.copyEnableStatus` of the
// `ApplyProfile.copyEnableStatus` of the
// ancestors should have a value of false
.
- EnableStatusToBeCopied *HostApplyProfile `xml:"enableStatusToBeCopied,omitempty" json:"enableStatusToBeCopied,omitempty" vim:"4.0"`
+ EnableStatusToBeCopied *HostApplyProfile `xml:"enableStatusToBeCopied,omitempty" json:"enableStatusToBeCopied,omitempty"`
// Indicates that the validation result for each target
// don't contain the source-target difference.
ErrorOnly *bool `xml:"errorOnly" json:"errorOnly,omitempty"`
@@ -82839,7 +83313,7 @@ type ValidateHostRequestType struct {
Host ManagedObjectReference `xml:"host" json:"host"`
// Additional parameters for validateHost, wrapped in a ValidateHostParams
// instance.
- Vhp OvfValidateHostParams `xml:"vhp" json:"vhp" vim:"4.0"`
+ Vhp OvfValidateHostParams `xml:"vhp" json:"vhp"`
}
func init() {
@@ -82912,10 +83386,10 @@ type ValidateStoragePodConfigRequestType struct {
// The storage pod.
//
// Refers instance of `StoragePod`.
- Pod ManagedObjectReference `xml:"pod" json:"pod" vim:"5.0"`
+ Pod ManagedObjectReference `xml:"pod" json:"pod"`
// A set of storage Drs configuration changes to apply to
// the storage pod.
- Spec StorageDrsConfigSpec `xml:"spec" json:"spec" vim:"5.0"`
+ Spec StorageDrsConfigSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -82931,16 +83405,16 @@ type VasaProviderContainerSpec struct {
DynamicData
// VASA Providers that manage this volume
- VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty" vim:"6.0"`
+ VasaProviderInfo []VimVasaProviderInfo `xml:"vasaProviderInfo,omitempty" json:"vasaProviderInfo,omitempty"`
// Vendor specified Storage Container ID
- ScId string `xml:"scId" json:"scId" vim:"6.0"`
+ ScId string `xml:"scId" json:"scId"`
// Indicates whether the container got deleted
- Deleted bool `xml:"deleted" json:"deleted" vim:"6.0"`
+ Deleted bool `xml:"deleted" json:"deleted"`
}
func init() {
- minAPIVersionForType["VasaProviderContainerSpec"] = "6.0"
t["VasaProviderContainerSpec"] = reflect.TypeOf((*VasaProviderContainerSpec)(nil)).Elem()
+ minAPIVersionForType["VasaProviderContainerSpec"] = "6.0"
}
// This event records when the VirtualCenter agent on a host failed to uninstall.
@@ -82950,12 +83424,12 @@ type VcAgentUninstallFailedEvent struct {
// The reason why the uninstall failed, if known.
//
// See `AgentInstallFailedReason_enum`
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["VcAgentUninstallFailedEvent"] = "4.0"
t["VcAgentUninstallFailedEvent"] = reflect.TypeOf((*VcAgentUninstallFailedEvent)(nil)).Elem()
+ minAPIVersionForType["VcAgentUninstallFailedEvent"] = "4.0"
}
// This event records when the VirtualCenter agent on a host is uninstalled.
@@ -82964,8 +83438,8 @@ type VcAgentUninstalledEvent struct {
}
func init() {
- minAPIVersionForType["VcAgentUninstalledEvent"] = "4.0"
t["VcAgentUninstalledEvent"] = reflect.TypeOf((*VcAgentUninstalledEvent)(nil)).Elem()
+ minAPIVersionForType["VcAgentUninstalledEvent"] = "4.0"
}
// This event records when the VirtualCenter agent on a host failed to upgrade.
@@ -82998,23 +83472,23 @@ type VchaClusterConfigInfo struct {
DynamicData
// Node configuration information for the VCHA Cluster
- FailoverNodeInfo1 *FailoverNodeInfo `xml:"failoverNodeInfo1,omitempty" json:"failoverNodeInfo1,omitempty" vim:"6.5"`
+ FailoverNodeInfo1 *FailoverNodeInfo `xml:"failoverNodeInfo1,omitempty" json:"failoverNodeInfo1,omitempty"`
// Node configuration information for the VCHA Cluster
- FailoverNodeInfo2 *FailoverNodeInfo `xml:"failoverNodeInfo2,omitempty" json:"failoverNodeInfo2,omitempty" vim:"6.5"`
+ FailoverNodeInfo2 *FailoverNodeInfo `xml:"failoverNodeInfo2,omitempty" json:"failoverNodeInfo2,omitempty"`
// Node configuration information for the VCHA Cluster
- WitnessNodeInfo *WitnessNodeInfo `xml:"witnessNodeInfo,omitempty" json:"witnessNodeInfo,omitempty" vim:"6.5"`
+ WitnessNodeInfo *WitnessNodeInfo `xml:"witnessNodeInfo,omitempty" json:"witnessNodeInfo,omitempty"`
// Current state of VCHA Cluster.
//
// `VchaState_enum` lists all
// possible states.
// If the state is invalid or notConfigured, the other fields in this
// object will be unset.
- State string `xml:"state" json:"state" vim:"6.5"`
+ State string `xml:"state" json:"state"`
}
func init() {
- minAPIVersionForType["VchaClusterConfigInfo"] = "6.5"
t["VchaClusterConfigInfo"] = reflect.TypeOf((*VchaClusterConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VchaClusterConfigInfo"] = "6.5"
}
// The VchaClusterConfigSpec class contains IP addresses of
@@ -83028,14 +83502,14 @@ type VchaClusterConfigSpec struct {
DynamicData
// IP Address of Passive node in the VCHA Cluster network.
- PassiveIp string `xml:"passiveIp" json:"passiveIp" vim:"6.5"`
+ PassiveIp string `xml:"passiveIp" json:"passiveIp"`
// IP Address of Witness node in the VCHA Cluster network.
- WitnessIp string `xml:"witnessIp" json:"witnessIp" vim:"6.5"`
+ WitnessIp string `xml:"witnessIp" json:"witnessIp"`
}
func init() {
- minAPIVersionForType["VchaClusterConfigSpec"] = "6.5"
t["VchaClusterConfigSpec"] = reflect.TypeOf((*VchaClusterConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VchaClusterConfigSpec"] = "6.5"
}
// The VchaClusterDeploymentSpec class contains
@@ -83044,23 +83518,23 @@ type VchaClusterDeploymentSpec struct {
DynamicData
// Deployment spec for the Passive node
- PassiveDeploymentSpec PassiveNodeDeploymentSpec `xml:"passiveDeploymentSpec" json:"passiveDeploymentSpec" vim:"6.5"`
+ PassiveDeploymentSpec PassiveNodeDeploymentSpec `xml:"passiveDeploymentSpec" json:"passiveDeploymentSpec"`
// Deployment spec for the Witness node
- WitnessDeploymentSpec BaseNodeDeploymentSpec `xml:"witnessDeploymentSpec,typeattr" json:"witnessDeploymentSpec" vim:"6.5"`
+ WitnessDeploymentSpec BaseNodeDeploymentSpec `xml:"witnessDeploymentSpec,typeattr" json:"witnessDeploymentSpec"`
// Active vCenter Server specification required to deploy
// VCHA Cluster.
- ActiveVcSpec SourceNodeSpec `xml:"activeVcSpec" json:"activeVcSpec" vim:"6.5"`
+ ActiveVcSpec SourceNodeSpec `xml:"activeVcSpec" json:"activeVcSpec"`
// The Cluster network config spec allows creation and configuration of
// the second Network adapter of the Active or Source VCenter.
//
// The second network adapter is used for communication between
// the nodes of a VCHA cluster.
- ActiveVcNetworkConfig *ClusterNetworkConfigSpec `xml:"activeVcNetworkConfig,omitempty" json:"activeVcNetworkConfig,omitempty" vim:"6.5"`
+ ActiveVcNetworkConfig *ClusterNetworkConfigSpec `xml:"activeVcNetworkConfig,omitempty" json:"activeVcNetworkConfig,omitempty"`
}
func init() {
- minAPIVersionForType["VchaClusterDeploymentSpec"] = "6.5"
t["VchaClusterDeploymentSpec"] = reflect.TypeOf((*VchaClusterDeploymentSpec)(nil)).Elem()
+ minAPIVersionForType["VchaClusterDeploymentSpec"] = "6.5"
}
// The VchaClusterHealth class describes the overall
@@ -83075,17 +83549,17 @@ type VchaClusterHealth struct {
DynamicData
// Runtime information of the VCHA Cluster
- RuntimeInfo VchaClusterRuntimeInfo `xml:"runtimeInfo" json:"runtimeInfo" vim:"6.5"`
+ RuntimeInfo VchaClusterRuntimeInfo `xml:"runtimeInfo" json:"runtimeInfo"`
// A collection of Messages describing the reason for a non-healthy
// Cluster.
- HealthMessages []LocalizableMessage `xml:"healthMessages,omitempty" json:"healthMessages,omitempty" vim:"6.5"`
+ HealthMessages []LocalizableMessage `xml:"healthMessages,omitempty" json:"healthMessages,omitempty"`
// A collection of additional information regarding the health messages.
- AdditionalInformation []LocalizableMessage `xml:"additionalInformation,omitempty" json:"additionalInformation,omitempty" vim:"6.5"`
+ AdditionalInformation []LocalizableMessage `xml:"additionalInformation,omitempty" json:"additionalInformation,omitempty"`
}
func init() {
- minAPIVersionForType["VchaClusterHealth"] = "6.5"
t["VchaClusterHealth"] = reflect.TypeOf((*VchaClusterHealth)(nil)).Elem()
+ minAPIVersionForType["VchaClusterHealth"] = "6.5"
}
// The VchaClusterNetworkSpec class contains network
@@ -83094,14 +83568,14 @@ type VchaClusterNetworkSpec struct {
DynamicData
// Network spec for the Witness node.
- WitnessNetworkSpec BaseNodeNetworkSpec `xml:"witnessNetworkSpec,typeattr" json:"witnessNetworkSpec" vim:"6.5"`
+ WitnessNetworkSpec BaseNodeNetworkSpec `xml:"witnessNetworkSpec,typeattr" json:"witnessNetworkSpec"`
// Network spec for the Passive node.
- PassiveNetworkSpec PassiveNodeNetworkSpec `xml:"passiveNetworkSpec" json:"passiveNetworkSpec" vim:"6.5"`
+ PassiveNetworkSpec PassiveNodeNetworkSpec `xml:"passiveNetworkSpec" json:"passiveNetworkSpec"`
}
func init() {
- minAPIVersionForType["VchaClusterNetworkSpec"] = "6.5"
t["VchaClusterNetworkSpec"] = reflect.TypeOf((*VchaClusterNetworkSpec)(nil)).Elem()
+ minAPIVersionForType["VchaClusterNetworkSpec"] = "6.5"
}
// The VchaClusterRuntimeInfo class describes the
@@ -83115,19 +83589,19 @@ type VchaClusterRuntimeInfo struct {
// Last known state of the VCHA Cluster.
//
// `VchaClusterState` lists all possible states.
- ClusterState string `xml:"clusterState" json:"clusterState" vim:"6.5"`
+ ClusterState string `xml:"clusterState" json:"clusterState"`
// Runtime information for each node in the VCHA Cluster.
- NodeInfo []VchaNodeRuntimeInfo `xml:"nodeInfo,omitempty" json:"nodeInfo,omitempty" vim:"6.5"`
+ NodeInfo []VchaNodeRuntimeInfo `xml:"nodeInfo,omitempty" json:"nodeInfo,omitempty"`
// Operational mode of the VCHA Cluster.
//
// `VchaClusterMode`
// lists all possible modes.
- ClusterMode string `xml:"clusterMode" json:"clusterMode" vim:"6.5"`
+ ClusterMode string `xml:"clusterMode" json:"clusterMode"`
}
func init() {
- minAPIVersionForType["VchaClusterRuntimeInfo"] = "6.5"
t["VchaClusterRuntimeInfo"] = reflect.TypeOf((*VchaClusterRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["VchaClusterRuntimeInfo"] = "6.5"
}
// The VchaNodeRuntimeInfo class describes a node's
@@ -83139,19 +83613,19 @@ type VchaNodeRuntimeInfo struct {
//
// `VchaNodeState`
// lists all possible states.
- NodeState string `xml:"nodeState" json:"nodeState" vim:"6.5"`
+ NodeState string `xml:"nodeState" json:"nodeState"`
// Last known role of the node.
//
// `VchaNodeRole`
// lists all possible roles.
- NodeRole string `xml:"nodeRole" json:"nodeRole" vim:"6.5"`
+ NodeRole string `xml:"nodeRole" json:"nodeRole"`
// IP address for the node in the replication network.
- NodeIp string `xml:"nodeIp" json:"nodeIp" vim:"6.5"`
+ NodeIp string `xml:"nodeIp" json:"nodeIp"`
}
func init() {
- minAPIVersionForType["VchaNodeRuntimeInfo"] = "6.5"
t["VchaNodeRuntimeInfo"] = reflect.TypeOf((*VchaNodeRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["VchaNodeRuntimeInfo"] = "6.5"
}
// Password for the Vim account user on the host has been changed.
@@ -83162,8 +83636,8 @@ type VimAccountPasswordChangedEvent struct {
}
func init() {
- minAPIVersionForType["VimAccountPasswordChangedEvent"] = "2.5"
t["VimAccountPasswordChangedEvent"] = reflect.TypeOf((*VimAccountPasswordChangedEvent)(nil)).Elem()
+ minAPIVersionForType["VimAccountPasswordChangedEvent"] = "2.5"
}
// The common base type for all virtual infrastructure management
@@ -83199,17 +83673,17 @@ type VimVasaProvider struct {
//
// In VirtualHost based MultiVC setup,
// this is set to default virtual host's URL.
- Url string `xml:"url" json:"url" vim:"6.0"`
+ Url string `xml:"url" json:"url"`
// Name
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"6.0"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// Self-signed certificate of VASA provider.
//
// In VirtualHost based MultiVC setup,
// this is set to default virtual host's self-signed certificate.
- SelfSignedCertificate string `xml:"selfSignedCertificate,omitempty" json:"selfSignedCertificate,omitempty" vim:"6.0"`
+ SelfSignedCertificate string `xml:"selfSignedCertificate,omitempty" json:"selfSignedCertificate,omitempty"`
// Virtual host configuration for VASA Provider when it supports MultiVC
// through VirtualHosts.
- VhostConfig *VimVasaProviderVirtualHostConfig `xml:"vhostConfig,omitempty" json:"vhostConfig,omitempty"`
+ VhostConfig *VimVasaProviderVirtualHostConfig `xml:"vhostConfig,omitempty" json:"vhostConfig,omitempty" vim:"8.0.1.0"`
// SMS supported VASA provider versionId.
//
// i-e if versionX corresponds to VASA version supported
@@ -83217,12 +83691,12 @@ type VimVasaProvider struct {
// versionX corresponds to SMS supported VASA versions are, 1.0->version1, 1.5->version2,
// 2.0->version3, 3.0->version4, 3.5->version5, 4.0->version6, 5.0->version7, etc.
// For example: If SMS is connecting to VASA 5.0, the this field should be set to 7.
- VersionId int32 `xml:"versionId,omitempty" json:"versionId,omitempty"`
+ VersionId int32 `xml:"versionId,omitempty" json:"versionId,omitempty" vim:"8.0.1.0"`
}
func init() {
- minAPIVersionForType["VimVasaProvider"] = "6.0"
t["VimVasaProvider"] = reflect.TypeOf((*VimVasaProvider)(nil)).Elem()
+ minAPIVersionForType["VimVasaProvider"] = "6.0"
}
// Data object representing VASA Provider information.
@@ -83230,14 +83704,14 @@ type VimVasaProviderInfo struct {
DynamicData
// Vasa provider
- Provider VimVasaProvider `xml:"provider" json:"provider" vim:"6.0"`
+ Provider VimVasaProvider `xml:"provider" json:"provider"`
// Per-array State
- ArrayState []VimVasaProviderStatePerArray `xml:"arrayState,omitempty" json:"arrayState,omitempty" vim:"6.0"`
+ ArrayState []VimVasaProviderStatePerArray `xml:"arrayState,omitempty" json:"arrayState,omitempty"`
}
func init() {
- minAPIVersionForType["VimVasaProviderInfo"] = "6.0"
t["VimVasaProviderInfo"] = reflect.TypeOf((*VimVasaProviderInfo)(nil)).Elem()
+ minAPIVersionForType["VimVasaProviderInfo"] = "6.0"
}
// Per Storage Array VP status.
@@ -83245,17 +83719,17 @@ type VimVasaProviderStatePerArray struct {
DynamicData
// Priority of the provider for the given array
- Priority int32 `xml:"priority" json:"priority" vim:"6.0"`
+ Priority int32 `xml:"priority" json:"priority"`
// Storage Array object Id
- ArrayId string `xml:"arrayId" json:"arrayId" vim:"6.0"`
+ ArrayId string `xml:"arrayId" json:"arrayId"`
// Indicates whether a VASA Provider (`VimVasaProvider.url`) is active
// for the specified storage array.
- Active bool `xml:"active" json:"active" vim:"6.0"`
+ Active bool `xml:"active" json:"active"`
}
func init() {
- minAPIVersionForType["VimVasaProviderStatePerArray"] = "6.0"
t["VimVasaProviderStatePerArray"] = reflect.TypeOf((*VimVasaProviderStatePerArray)(nil)).Elem()
+ minAPIVersionForType["VimVasaProviderStatePerArray"] = "6.0"
}
// Holds VirtualHost configuration information when VASA 5.0 or greater VVOL VASA Provider
@@ -83279,6 +83753,7 @@ type VimVasaProviderVirtualHostConfig struct {
func init() {
t["VimVasaProviderVirtualHostConfig"] = reflect.TypeOf((*VimVasaProviderVirtualHostConfig)(nil)).Elem()
+ minAPIVersionForType["VimVasaProviderVirtualHostConfig"] = "8.0.1.0"
}
// The VirtualAHCIController data object type represents
@@ -83288,8 +83763,8 @@ type VirtualAHCIController struct {
}
func init() {
- minAPIVersionForType["VirtualAHCIController"] = "5.5"
t["VirtualAHCIController"] = reflect.TypeOf((*VirtualAHCIController)(nil)).Elem()
+ minAPIVersionForType["VirtualAHCIController"] = "5.5"
}
// VirtualAHCIControllerOption is the data object that contains
@@ -83299,8 +83774,8 @@ type VirtualAHCIControllerOption struct {
}
func init() {
- minAPIVersionForType["VirtualAHCIControllerOption"] = "5.5"
t["VirtualAHCIControllerOption"] = reflect.TypeOf((*VirtualAHCIControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualAHCIControllerOption"] = "5.5"
}
// A VAppImportSpec is used by `ResourcePool.importVApp` when importing vApps (single VM or multi-VM).
@@ -83312,9 +83787,9 @@ type VirtualAppImportSpec struct {
ImportSpec
// The name of the vApp
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// vApp configuration
- VAppConfigSpec VAppConfigSpec `xml:"vAppConfigSpec" json:"vAppConfigSpec" vim:"4.0"`
+ VAppConfigSpec VAppConfigSpec `xml:"vAppConfigSpec" json:"vAppConfigSpec"`
// Resource pool specification.
//
// If resourcePoolSpec.entity is specified, that resource pool is used as the parent
@@ -83322,15 +83797,15 @@ type VirtualAppImportSpec struct {
// field is ignored for the root node in an ImportSpec tree.
// Use of resourcePoolSpec.entity for creating linked children is deprecated as of
// vSphere API 5.1.
- ResourcePoolSpec ResourceConfigSpec `xml:"resourcePoolSpec" json:"resourcePoolSpec" vim:"4.0"`
+ ResourcePoolSpec ResourceConfigSpec `xml:"resourcePoolSpec" json:"resourcePoolSpec"`
// Contains a list of children (`VirtualMachine`s and
// `VirtualApp`s).
- Child []BaseImportSpec `xml:"child,omitempty,typeattr" json:"child,omitempty" vim:"4.0"`
+ Child []BaseImportSpec `xml:"child,omitempty,typeattr" json:"child,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualAppImportSpec"] = "4.0"
t["VirtualAppImportSpec"] = reflect.TypeOf((*VirtualAppImportSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualAppImportSpec"] = "4.0"
}
// Deprecated as of vSphere API 5.1.
@@ -83342,14 +83817,14 @@ type VirtualAppLinkInfo struct {
// The key contains a reference to the entity that is linked to this vApp
//
// Refers instance of `ManagedEntity`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"4.1"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Whether the entity should be removed, when this vApp is removed
- DestroyWithParent *bool `xml:"destroyWithParent" json:"destroyWithParent,omitempty" vim:"4.1"`
+ DestroyWithParent *bool `xml:"destroyWithParent" json:"destroyWithParent,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualAppLinkInfo"] = "4.1"
t["VirtualAppLinkInfo"] = reflect.TypeOf((*VirtualAppLinkInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualAppLinkInfo"] = "4.1"
}
// This data object type encapsulates a typical set of resource
@@ -83360,9 +83835,9 @@ type VirtualAppSummary struct {
// Product information.
//
// References to properties in the URLs are expanded.
- Product *VAppProductInfo `xml:"product,omitempty" json:"product,omitempty" vim:"4.0"`
+ Product *VAppProductInfo `xml:"product,omitempty" json:"product,omitempty"`
// Whether the vApp is running
- VAppState VirtualAppVAppState `xml:"vAppState,omitempty" json:"vAppState,omitempty" vim:"4.0"`
+ VAppState VirtualAppVAppState `xml:"vAppState,omitempty" json:"vAppState,omitempty"`
// Whether a vApp is suspended, in the process of being suspended, or in the
// process of being resumed.
//
@@ -83383,14 +83858,14 @@ type VirtualAppSummary struct {
Suspended *bool `xml:"suspended" json:"suspended,omitempty" vim:"4.1"`
// Whether one or more VMs in this vApp require a reboot to finish
// installation.
- InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty" vim:"4.0"`
+ InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty"`
// vCenter-specific UUID of the vApp
InstanceUuid string `xml:"instanceUuid,omitempty" json:"instanceUuid,omitempty" vim:"4.1"`
}
func init() {
- minAPIVersionForType["VirtualAppSummary"] = "4.0"
t["VirtualAppSummary"] = reflect.TypeOf((*VirtualAppSummary)(nil)).Elem()
+ minAPIVersionForType["VirtualAppSummary"] = "4.0"
}
// VirtualBusLogicController is the data object that represents
@@ -83668,13 +84143,13 @@ type VirtualDevice struct {
// An unset value of numaNode is status-quo during Reconfigure time.
// If numaNode is unset during ConfigInfo, then it means there is no
// affinity for the device.
- NumaNode int32 `xml:"numaNode,omitempty" json:"numaNode,omitempty"`
+ NumaNode int32 `xml:"numaNode,omitempty" json:"numaNode,omitempty" vim:"8.0.0.1"`
// Information about device group device is part of.
//
// Devices in the device group cannot be added/removed individually,
// whole group has to be added/removed at once. Value can be set
// during device add, it cannot be modified later.
- DeviceGroupInfo *VirtualDeviceDeviceGroupInfo `xml:"deviceGroupInfo,omitempty" json:"deviceGroupInfo,omitempty"`
+ DeviceGroupInfo *VirtualDeviceDeviceGroupInfo `xml:"deviceGroupInfo,omitempty" json:"deviceGroupInfo,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -83721,8 +84196,8 @@ type VirtualDeviceBusSlotInfo struct {
}
func init() {
- minAPIVersionForType["VirtualDeviceBusSlotInfo"] = "5.1"
t["VirtualDeviceBusSlotInfo"] = reflect.TypeOf((*VirtualDeviceBusSlotInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceBusSlotInfo"] = "5.1"
}
// The `VirtualDeviceBusSlotOption` data class
@@ -83732,12 +84207,12 @@ type VirtualDeviceBusSlotOption struct {
// The name of the class the client should use to instantiate bus slot
// object for the virtual device.
- Type string `xml:"type" json:"type" vim:"5.1"`
+ Type string `xml:"type" json:"type"`
}
func init() {
- minAPIVersionForType["VirtualDeviceBusSlotOption"] = "5.1"
t["VirtualDeviceBusSlotOption"] = reflect.TypeOf((*VirtualDeviceBusSlotOption)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceBusSlotOption"] = "5.1"
}
// The VirtualDeviceSpec data object type encapsulates change
@@ -83786,7 +84261,7 @@ type VirtualDeviceConfigSpec struct {
//
// The values of the mode will be one of `VirtualDeviceConfigSpecChangeMode_enum` enumerations.
// On unset, default to 'fail'.
- ChangeMode string `xml:"changeMode,omitempty" json:"changeMode,omitempty"`
+ ChangeMode string `xml:"changeMode,omitempty" json:"changeMode,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -83807,8 +84282,8 @@ type VirtualDeviceConfigSpecBackingSpec struct {
}
func init() {
- minAPIVersionForType["VirtualDeviceConfigSpecBackingSpec"] = "6.5"
t["VirtualDeviceConfigSpecBackingSpec"] = reflect.TypeOf((*VirtualDeviceConfigSpecBackingSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceConfigSpecBackingSpec"] = "6.5"
}
// The `VirtualDeviceConnectInfo`
data object type
@@ -83925,6 +84400,7 @@ type VirtualDeviceDeviceGroupInfo struct {
func init() {
t["VirtualDeviceDeviceGroupInfo"] = reflect.TypeOf((*VirtualDeviceDeviceGroupInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceDeviceGroupInfo"] = "8.0.0.1"
}
// `VirtualDeviceFileBackingInfo`
is a data object type
@@ -84022,7 +84498,7 @@ type VirtualDeviceOption struct {
PlugAndPlay bool `xml:"plugAndPlay" json:"plugAndPlay"`
// Indicates if this type of device can be hot-removed from the virtual machine
// via a reconfigure operation when the virtual machine is powered on.
- HotRemoveSupported *bool `xml:"hotRemoveSupported" json:"hotRemoveSupported,omitempty" vim:"4.0"`
+ HotRemoveSupported *bool `xml:"hotRemoveSupported" json:"hotRemoveSupported,omitempty" vim:"2.5 U2"`
NumaSupported *bool `xml:"numaSupported" json:"numaSupported,omitempty"`
}
@@ -84047,12 +84523,12 @@ type VirtualDevicePciBusSlotInfo struct {
// determined by looking at an existing VM configuration of similar
// hardware version. In other words, when the virtual hardware configuration
// is duplicated.
- PciSlotNumber int32 `xml:"pciSlotNumber" json:"pciSlotNumber" vim:"5.1"`
+ PciSlotNumber int32 `xml:"pciSlotNumber" json:"pciSlotNumber"`
}
func init() {
- minAPIVersionForType["VirtualDevicePciBusSlotInfo"] = "5.1"
t["VirtualDevicePciBusSlotInfo"] = reflect.TypeOf((*VirtualDevicePciBusSlotInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDevicePciBusSlotInfo"] = "5.1"
}
// The `VirtualDevicePipeBackingInfo`
data object type
@@ -84136,24 +84612,24 @@ type VirtualDeviceURIBackingInfo struct {
// specify the address of the local host.
// - If you use the virtual machine as a client, the URI identifies
// the remote system on the network.
- ServiceURI string `xml:"serviceURI" json:"serviceURI" vim:"4.1"`
+ ServiceURI string `xml:"serviceURI" json:"serviceURI"`
// The direction of the connection.
//
// For possible values see
// `VirtualDeviceURIBackingOptionDirection_enum`
- Direction string `xml:"direction" json:"direction" vim:"4.1"`
+ Direction string `xml:"direction" json:"direction"`
// Identifies a proxy service that provides network access to the
// `VirtualDeviceURIBackingInfo.serviceURI`
.
//
// If you specify a proxy URI, the virtual machine initiates
// a connection with the proxy service and forwards the
// `VirtualDeviceURIBackingInfo.serviceURI` and `VirtualDeviceURIBackingInfo.direction` to the proxy.
- ProxyURI string `xml:"proxyURI,omitempty" json:"proxyURI,omitempty" vim:"4.1"`
+ ProxyURI string `xml:"proxyURI,omitempty" json:"proxyURI,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualDeviceURIBackingInfo"] = "4.1"
t["VirtualDeviceURIBackingInfo"] = reflect.TypeOf((*VirtualDeviceURIBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceURIBackingInfo"] = "4.1"
}
// The `VirtualDeviceURIBackingOption` data object type describes network communication
@@ -84171,12 +84647,12 @@ type VirtualDeviceURIBackingOption struct {
// Valid directions are:
// - `server`
// - `client`
- Directions ChoiceOption `xml:"directions" json:"directions" vim:"4.1"`
+ Directions ChoiceOption `xml:"directions" json:"directions"`
}
func init() {
- minAPIVersionForType["VirtualDeviceURIBackingOption"] = "4.1"
t["VirtualDeviceURIBackingOption"] = reflect.TypeOf((*VirtualDeviceURIBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualDeviceURIBackingOption"] = "4.1"
}
// This data object type contains information about a disk in a virtual machine.
@@ -84263,7 +84739,7 @@ type VirtualDisk struct {
// even if the virtual disk is not associated with VM.
VDiskId *ID `xml:"vDiskId,omitempty" json:"vDiskId,omitempty" vim:"6.5"`
// Disk descriptor version of the virtual disk.
- VDiskVersion int32 `xml:"vDiskVersion,omitempty" json:"vDiskVersion,omitempty"`
+ VDiskVersion int32 `xml:"vDiskVersion,omitempty" json:"vDiskVersion,omitempty" vim:"8.0.1.0"`
// Indicates whether a disk with
// `VirtualDiskFlatVer2BackingInfo` backing is a linked
// clone from an unmanaged delta disk and hence the
@@ -84276,6 +84752,9 @@ type VirtualDisk struct {
// an existing virtual machine. The client cannot modify this information on
// a virtual machine.
IndependentFilters []BaseVirtualMachineBaseIndependentFilterSpec `xml:"independentFilters,omitempty,typeattr" json:"independentFilters,omitempty" vim:"7.0.2.1"`
+ // Flag to indicate whether a disk should be presented to the guest
+ // in read-only mode (limited by choice of adapter).
+ GuestReadOnly *bool `xml:"guestReadOnly" json:"guestReadOnly,omitempty" vim:"8.0.2.0"`
}
func init() {
@@ -84290,12 +84769,12 @@ type VirtualDiskAntiAffinityRuleSpec struct {
ClusterRuleInfo
// The list of virtual disks.
- DiskId []int32 `xml:"diskId" json:"diskId" vim:"5.0"`
+ DiskId []int32 `xml:"diskId" json:"diskId"`
}
func init() {
- minAPIVersionForType["VirtualDiskAntiAffinityRuleSpec"] = "5.0"
t["VirtualDiskAntiAffinityRuleSpec"] = reflect.TypeOf((*VirtualDiskAntiAffinityRuleSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskAntiAffinityRuleSpec"] = "5.0"
}
// The disk blocks of the specified virtual disk have not been fully
@@ -84310,8 +84789,8 @@ type VirtualDiskBlocksNotFullyProvisioned struct {
}
func init() {
- minAPIVersionForType["VirtualDiskBlocksNotFullyProvisioned"] = "4.0"
t["VirtualDiskBlocksNotFullyProvisioned"] = reflect.TypeOf((*VirtualDiskBlocksNotFullyProvisioned)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskBlocksNotFullyProvisioned"] = "4.0"
}
type VirtualDiskBlocksNotFullyProvisionedFault VirtualDiskBlocksNotFullyProvisioned
@@ -84357,12 +84836,12 @@ type VirtualDiskConfigSpec struct {
// Default is unset.
//
// See also `HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption`.
- MigrateCache *bool `xml:"migrateCache" json:"migrateCache,omitempty" vim:"5.5"`
+ MigrateCache *bool `xml:"migrateCache" json:"migrateCache,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualDiskConfigSpec"] = "5.5"
t["VirtualDiskConfigSpec"] = reflect.TypeOf((*VirtualDiskConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskConfigSpec"] = "5.5"
}
// Delta disk format supported for each datastore type.
@@ -84370,18 +84849,18 @@ type VirtualDiskDeltaDiskFormatsSupported struct {
DynamicData
// Datastore type name
- DatastoreType string `xml:"datastoreType" json:"datastoreType" vim:"5.1"`
+ DatastoreType string `xml:"datastoreType" json:"datastoreType"`
// Delta disk formats supported.
//
// Valid values are:
// - `redoLogFormat`
// - `nativeFormat`
- DeltaDiskFormat ChoiceOption `xml:"deltaDiskFormat" json:"deltaDiskFormat" vim:"5.1"`
+ DeltaDiskFormat ChoiceOption `xml:"deltaDiskFormat" json:"deltaDiskFormat"`
}
func init() {
- minAPIVersionForType["VirtualDiskDeltaDiskFormatsSupported"] = "5.1"
t["VirtualDiskDeltaDiskFormatsSupported"] = reflect.TypeOf((*VirtualDiskDeltaDiskFormatsSupported)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskDeltaDiskFormatsSupported"] = "5.1"
}
// This data object type contains information about backing a virtual disk by
@@ -84760,14 +85239,14 @@ type VirtualDiskId struct {
// Virtual machine reference.
//
// Refers instance of `VirtualMachine`.
- Vm ManagedObjectReference `xml:"vm" json:"vm" vim:"5.0"`
+ Vm ManagedObjectReference `xml:"vm" json:"vm"`
// Device ID `VirtualDevice.key` of the virtual disk.
- DiskId int32 `xml:"diskId" json:"diskId" vim:"5.0"`
+ DiskId int32 `xml:"diskId" json:"diskId"`
}
func init() {
- minAPIVersionForType["VirtualDiskId"] = "5.0"
t["VirtualDiskId"] = reflect.TypeOf((*VirtualDiskId)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskId"] = "5.0"
}
// This data object type contains information about backing a virtual disk
@@ -84780,16 +85259,16 @@ type VirtualDiskLocalPMemBackingInfo struct {
// The disk persistence mode.
//
// See also `VirtualDiskMode_enum`.
- DiskMode string `xml:"diskMode" json:"diskMode" vim:"6.7"`
+ DiskMode string `xml:"diskMode" json:"diskMode"`
// Disk UUID for the virtual disk, if available.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"6.7"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Persistent memory volume UUID - UUID which associates this
// virtual disk with a specific host.
//
// This is read only property.
//
// See also `HostPersistentMemoryInfo.volumeUUID`.
- VolumeUUID string `xml:"volumeUUID,omitempty" json:"volumeUUID,omitempty" vim:"6.7"`
+ VolumeUUID string `xml:"volumeUUID,omitempty" json:"volumeUUID,omitempty"`
// Content ID of the virtual disk file, if available.
//
// A content ID indicates the logical contents of the disk backing and
@@ -84803,12 +85282,12 @@ type VirtualDiskLocalPMemBackingInfo struct {
// backings have the same content ID and are not currently being written
// to, then reads issued from the guest operating system to those disk
// backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"6.7"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualDiskLocalPMemBackingInfo"] = "6.7"
t["VirtualDiskLocalPMemBackingInfo"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskLocalPMemBackingInfo"] = "6.7"
}
// This data object type contains the available options when backing
@@ -84819,14 +85298,14 @@ type VirtualDiskLocalPMemBackingOption struct {
// The disk mode.
//
// See also `VirtualDiskMode_enum`.
- DiskMode ChoiceOption `xml:"diskMode" json:"diskMode" vim:"6.7"`
+ DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
// Indicates whether or not this disk backing can be
// extended to larger sizes through a reconfigure operation.
//
// If set to true, reconfiguring this virtual disk
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size.
- Growable bool `xml:"growable" json:"growable" vim:"6.7"`
+ Growable bool `xml:"growable" json:"growable"`
// Indicates whether or not this disk backing can be
// extended to larger sizes through a reconfigure operation while
// the virtual machine is powered on.
@@ -84835,14 +85314,14 @@ type VirtualDiskLocalPMemBackingOption struct {
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size
// while the virtual machine is powered on.
- HotGrowable bool `xml:"hotGrowable" json:"hotGrowable" vim:"6.7"`
+ HotGrowable bool `xml:"hotGrowable" json:"hotGrowable"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"6.7"`
+ Uuid bool `xml:"uuid" json:"uuid"`
}
func init() {
- minAPIVersionForType["VirtualDiskLocalPMemBackingOption"] = "6.7"
t["VirtualDiskLocalPMemBackingOption"] = reflect.TypeOf((*VirtualDiskLocalPMemBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskLocalPMemBackingOption"] = "6.7"
}
// The disk mode of the specified virtual disk is not supported.
@@ -84855,12 +85334,12 @@ type VirtualDiskModeNotSupported struct {
DeviceNotSupported
// Disk mode that is not supported
- Mode string `xml:"mode" json:"mode" vim:"4.1"`
+ Mode string `xml:"mode" json:"mode"`
}
func init() {
- minAPIVersionForType["VirtualDiskModeNotSupported"] = "4.1"
t["VirtualDiskModeNotSupported"] = reflect.TypeOf((*VirtualDiskModeNotSupported)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskModeNotSupported"] = "4.1"
}
type VirtualDiskModeNotSupportedFault VirtualDiskModeNotSupported
@@ -84901,19 +85380,19 @@ type VirtualDiskOptionVFlashCacheConfigOption struct {
// Cache data consistency type.
//
// See `VirtualDiskVFlashCacheConfigInfoCacheConsistencyType_enum`
- CacheConsistencyType ChoiceOption `xml:"cacheConsistencyType" json:"cacheConsistencyType" vim:"5.5"`
+ CacheConsistencyType ChoiceOption `xml:"cacheConsistencyType" json:"cacheConsistencyType"`
// Cache mode
// See `VirtualDiskVFlashCacheConfigInfoCacheMode_enum`
- CacheMode ChoiceOption `xml:"cacheMode" json:"cacheMode" vim:"5.5"`
+ CacheMode ChoiceOption `xml:"cacheMode" json:"cacheMode"`
// Cache reservation
- ReservationInMB LongOption `xml:"reservationInMB" json:"reservationInMB" vim:"5.5"`
+ ReservationInMB LongOption `xml:"reservationInMB" json:"reservationInMB"`
// Cache block size
- BlockSizeInKB LongOption `xml:"blockSizeInKB" json:"blockSizeInKB" vim:"5.5"`
+ BlockSizeInKB LongOption `xml:"blockSizeInKB" json:"blockSizeInKB"`
}
func init() {
- minAPIVersionForType["VirtualDiskOptionVFlashCacheConfigOption"] = "5.5"
t["VirtualDiskOptionVFlashCacheConfigOption"] = reflect.TypeOf((*VirtualDiskOptionVFlashCacheConfigOption)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskOptionVFlashCacheConfigOption"] = "5.5"
}
// This data object type contains information about backing a virtual disk
@@ -85182,14 +85661,14 @@ type VirtualDiskRuleSpec struct {
//
// The set of possible values are described
// in `VirtualDiskRuleSpecRuleType_enum`
- DiskRuleType string `xml:"diskRuleType" json:"diskRuleType" vim:"6.7"`
+ DiskRuleType string `xml:"diskRuleType" json:"diskRuleType"`
// The list of virtual disks for this rule.
- DiskId []int32 `xml:"diskId,omitempty" json:"diskId,omitempty" vim:"6.7"`
+ DiskId []int32 `xml:"diskId,omitempty" json:"diskId,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualDiskRuleSpec"] = "6.7"
t["VirtualDiskRuleSpec"] = reflect.TypeOf((*VirtualDiskRuleSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskRuleSpec"] = "6.7"
}
// Backing type for virtual disks that use the space efficient
@@ -85213,12 +85692,12 @@ type VirtualDiskSeSparseBackingInfo struct {
// - `append`
//
// See also `VirtualDiskMode_enum`.
- DiskMode string `xml:"diskMode" json:"diskMode" vim:"5.1"`
+ DiskMode string `xml:"diskMode" json:"diskMode"`
// Flag to indicate whether writes should go directly to the file system
// or should be buffered.
- WriteThrough *bool `xml:"writeThrough" json:"writeThrough,omitempty" vim:"5.1"`
+ WriteThrough *bool `xml:"writeThrough" json:"writeThrough,omitempty"`
// Disk UUID for the virtual disk, if available.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.1"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Content ID of the virtual disk file, if available.
//
// A content ID indicates the logical contents of the disk backing and its parents.
@@ -85230,13 +85709,13 @@ type VirtualDiskSeSparseBackingInfo struct {
// The guarantee provided by the content ID is that if two disk backings have the
// same content ID and are not currently being written to, then reads issued from
// the guest operating system to those disk backings will return the same data.
- ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty" vim:"5.1"`
+ ContentId string `xml:"contentId,omitempty" json:"contentId,omitempty"`
// The change ID of the virtual disk for the corresponding
// snapshot or virtual machine.
//
// This can be used to track
// incremental changes to a virtual disk. See `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"5.1"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
// The parent of this virtual disk file, if this is a delta disk backing.
//
// This will be unset if this is not a delta disk backing.
@@ -85270,7 +85749,7 @@ type VirtualDiskSeSparseBackingInfo struct {
// This property may only be set if
// `deltaDiskBackingsSupported`
// is true.
- Parent *VirtualDiskSeSparseBackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"5.1"`
+ Parent *VirtualDiskSeSparseBackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
// The format of the delta disk.
//
// This field is valid only for a delta disk.
@@ -85278,13 +85757,13 @@ type VirtualDiskSeSparseBackingInfo struct {
// See `DeltaDiskFormat` for the
// supported formats. If not specified, the default value used is
// `redoLogFormat`.
- DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty" vim:"5.1"`
+ DeltaDiskFormat string `xml:"deltaDiskFormat,omitempty" json:"deltaDiskFormat,omitempty"`
// Indicates whether the disk backing has digest file enabled.
- DigestEnabled *bool `xml:"digestEnabled" json:"digestEnabled,omitempty" vim:"5.1"`
+ DigestEnabled *bool `xml:"digestEnabled" json:"digestEnabled,omitempty"`
// Specify the grain size in kB.
//
// The default size is 4 kB.
- GrainSize int32 `xml:"grainSize,omitempty" json:"grainSize,omitempty" vim:"5.1"`
+ GrainSize int32 `xml:"grainSize,omitempty" json:"grainSize,omitempty"`
// Virtual Disk Backing encryption options.
//
// On modification operations the value is ignored, use the specification
@@ -85294,8 +85773,8 @@ type VirtualDiskSeSparseBackingInfo struct {
}
func init() {
- minAPIVersionForType["VirtualDiskSeSparseBackingInfo"] = "5.1"
t["VirtualDiskSeSparseBackingInfo"] = reflect.TypeOf((*VirtualDiskSeSparseBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskSeSparseBackingInfo"] = "5.1"
}
// Backing options for virtual disks that use the space
@@ -85315,20 +85794,20 @@ type VirtualDiskSeSparseBackingOption struct {
// - `independent_nonpersistent`
//
// See also `VirtualDiskMode_enum`.
- DiskMode ChoiceOption `xml:"diskMode" json:"diskMode" vim:"5.1"`
+ DiskMode ChoiceOption `xml:"diskMode" json:"diskMode"`
// Flag to indicate whether or not the host supports
// allowing the client to select "writethrough" as a mode for
// virtual disks.
//
// Typically, this is available only for VMware Server Linux hosts.
- WriteThrough BoolOption `xml:"writeThrough" json:"writeThrough" vim:"5.1"`
+ WriteThrough BoolOption `xml:"writeThrough" json:"writeThrough"`
// Indicates whether or not this disk backing can be
// extended to larger sizes through a reconfigure operation.
//
// If set to true, reconfiguring this virtual disk
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size.
- Growable bool `xml:"growable" json:"growable" vim:"5.1"`
+ Growable bool `xml:"growable" json:"growable"`
// Indicates whether or not this disk backing can be
// extended to larger sizes through a reconfigure operation while
// the virtual machine is powered on.
@@ -85337,16 +85816,16 @@ type VirtualDiskSeSparseBackingOption struct {
// with a `VirtualDisk.capacityInKB` value greater
// than its current value will grow the disk to the newly specified size
// while the virtual machine is powered on.
- HotGrowable bool `xml:"hotGrowable" json:"hotGrowable" vim:"5.1"`
+ HotGrowable bool `xml:"hotGrowable" json:"hotGrowable"`
// Flag to indicate whether this backing supports disk UUID property.
- Uuid bool `xml:"uuid" json:"uuid" vim:"5.1"`
+ Uuid bool `xml:"uuid" json:"uuid"`
// Delta disk formats supported for each datastore type.
- DeltaDiskFormatsSupported []VirtualDiskDeltaDiskFormatsSupported `xml:"deltaDiskFormatsSupported" json:"deltaDiskFormatsSupported" vim:"5.1"`
+ DeltaDiskFormatsSupported []VirtualDiskDeltaDiskFormatsSupported `xml:"deltaDiskFormatsSupported" json:"deltaDiskFormatsSupported"`
}
func init() {
- minAPIVersionForType["VirtualDiskSeSparseBackingOption"] = "5.1"
t["VirtualDiskSeSparseBackingOption"] = reflect.TypeOf((*VirtualDiskSeSparseBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskSeSparseBackingOption"] = "5.1"
}
// This data object type contains information about backing a virtual disk by
@@ -85622,16 +86101,16 @@ type VirtualDiskSpec struct {
// The type of the new virtual disk.
//
// See also `VirtualDiskType_enum`.
- DiskType string `xml:"diskType" json:"diskType" vim:"2.5"`
+ DiskType string `xml:"diskType" json:"diskType"`
// The type of the virtual disk adapter for the new virtual disk.
//
// See also `VirtualDiskAdapterType_enum`.
- AdapterType string `xml:"adapterType" json:"adapterType" vim:"2.5"`
+ AdapterType string `xml:"adapterType" json:"adapterType"`
}
func init() {
- minAPIVersionForType["VirtualDiskSpec"] = "2.5"
t["VirtualDiskSpec"] = reflect.TypeOf((*VirtualDiskSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskSpec"] = "2.5"
}
// Data object describes the vFlash cache configuration on this virtual disk.
@@ -85646,7 +86125,7 @@ type VirtualDiskVFlashCacheConfigInfo struct {
// If not specified, default setting
// `HostVFlashManagerVFlashCacheConfigSpec.defaultVFlashModule`
// will be used.
- VFlashModule string `xml:"vFlashModule,omitempty" json:"vFlashModule,omitempty" vim:"5.5"`
+ VFlashModule string `xml:"vFlashModule,omitempty" json:"vFlashModule,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -85654,7 +86133,7 @@ type VirtualDiskVFlashCacheConfigInfo struct {
//
// If not specified,
// default reservation will be used.
- ReservationInMB int64 `xml:"reservationInMB,omitempty" json:"reservationInMB,omitempty" vim:"5.5"`
+ ReservationInMB int64 `xml:"reservationInMB,omitempty" json:"reservationInMB,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -85663,7 +86142,7 @@ type VirtualDiskVFlashCacheConfigInfo struct {
// See `VirtualDiskVFlashCacheConfigInfoCacheConsistencyType_enum`
// for supported types. If not specified, the default value used is
// `strong`
- CacheConsistencyType string `xml:"cacheConsistencyType,omitempty" json:"cacheConsistencyType,omitempty" vim:"5.5"`
+ CacheConsistencyType string `xml:"cacheConsistencyType,omitempty" json:"cacheConsistencyType,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -85672,7 +86151,7 @@ type VirtualDiskVFlashCacheConfigInfo struct {
// See `VirtualDiskVFlashCacheConfigInfoCacheMode_enum`
// for supported modes. If not specified, the default value used is
// `write_thru`.
- CacheMode string `xml:"cacheMode,omitempty" json:"cacheMode,omitempty" vim:"5.5"`
+ CacheMode string `xml:"cacheMode,omitempty" json:"cacheMode,omitempty"`
// Deprecated since vSphere 7.0 because vFlash Read Cache
// end of availability.
//
@@ -85681,12 +86160,12 @@ type VirtualDiskVFlashCacheConfigInfo struct {
// This parameter allows the user to control how much
// data gets cached on a single access to the VMDK. Max block size is 1MB.
// Default is 4KB.
- BlockSizeInKB int64 `xml:"blockSizeInKB,omitempty" json:"blockSizeInKB,omitempty" vim:"5.5"`
+ BlockSizeInKB int64 `xml:"blockSizeInKB,omitempty" json:"blockSizeInKB,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualDiskVFlashCacheConfigInfo"] = "5.5"
t["VirtualDiskVFlashCacheConfigInfo"] = reflect.TypeOf((*VirtualDiskVFlashCacheConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualDiskVFlashCacheConfigInfo"] = "5.5"
}
// The VirtualE1000 data object type represents an instance
@@ -85716,8 +86195,8 @@ type VirtualE1000e struct {
}
func init() {
- minAPIVersionForType["VirtualE1000e"] = "5.0"
t["VirtualE1000e"] = reflect.TypeOf((*VirtualE1000e)(nil)).Elem()
+ minAPIVersionForType["VirtualE1000e"] = "5.0"
}
// The VirtualE1000e option data object type contains the options for the
@@ -85727,8 +86206,8 @@ type VirtualE1000eOption struct {
}
func init() {
- minAPIVersionForType["VirtualE1000eOption"] = "5.0"
t["VirtualE1000eOption"] = reflect.TypeOf((*VirtualE1000eOption)(nil)).Elem()
+ minAPIVersionForType["VirtualE1000eOption"] = "5.0"
}
// The VirtualEnsoniq1371 data object type represents an Ensoniq 1371
@@ -85814,8 +86293,8 @@ type VirtualEthernetCardDVPortBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualEthernetCardDVPortBackingOption"] = "4.0"
t["VirtualEthernetCardDVPortBackingOption"] = reflect.TypeOf((*VirtualEthernetCardDVPortBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardDVPortBackingOption"] = "4.0"
}
// The `VirtualEthernetCardDistributedVirtualPortBackingInfo`
@@ -85835,12 +86314,12 @@ type VirtualEthernetCardDistributedVirtualPortBackingInfo struct {
// This property will be unset during Virtual Machine or template cloning
// operation unless it's set to a `DistributedVirtualSwitchPortConnection`
// object and the portgroup is a late binding portgroup.
- Port DistributedVirtualSwitchPortConnection `xml:"port" json:"port" vim:"4.0"`
+ Port DistributedVirtualSwitchPortConnection `xml:"port" json:"port"`
}
func init() {
- minAPIVersionForType["VirtualEthernetCardDistributedVirtualPortBackingInfo"] = "4.0"
t["VirtualEthernetCardDistributedVirtualPortBackingInfo"] = reflect.TypeOf((*VirtualEthernetCardDistributedVirtualPortBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardDistributedVirtualPortBackingInfo"] = "4.0"
}
// The `VirtualEthernetCardLegacyNetworkBackingInfo` data object
@@ -85878,7 +86357,7 @@ type VirtualEthernetCardNetworkBackingInfo struct {
// .
//
//
- InPassthroughMode *bool `xml:"inPassthroughMode" json:"inPassthroughMode,omitempty" vim:"4.0"`
+ InPassthroughMode *bool `xml:"inPassthroughMode" json:"inPassthroughMode,omitempty" vim:"2.5 U2"`
}
func init() {
@@ -85901,8 +86380,8 @@ type VirtualEthernetCardNotSupported struct {
}
func init() {
- minAPIVersionForType["VirtualEthernetCardNotSupported"] = "2.5"
t["VirtualEthernetCardNotSupported"] = reflect.TypeOf((*VirtualEthernetCardNotSupported)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardNotSupported"] = "2.5"
}
type VirtualEthernetCardNotSupportedFault VirtualEthernetCardNotSupported
@@ -85917,14 +86396,14 @@ type VirtualEthernetCardOpaqueNetworkBackingInfo struct {
VirtualDeviceBackingInfo
// The opaque network ID
- OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId" vim:"5.5"`
+ OpaqueNetworkId string `xml:"opaqueNetworkId" json:"opaqueNetworkId"`
// The opaque network type
- OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType" vim:"5.5"`
+ OpaqueNetworkType string `xml:"opaqueNetworkType" json:"opaqueNetworkType"`
}
func init() {
- minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingInfo"] = "5.5"
t["VirtualEthernetCardOpaqueNetworkBackingInfo"] = reflect.TypeOf((*VirtualEthernetCardOpaqueNetworkBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingInfo"] = "5.5"
}
// This data object type contains the options for
@@ -85934,8 +86413,8 @@ type VirtualEthernetCardOpaqueNetworkBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingOption"] = "5.5"
t["VirtualEthernetCardOpaqueNetworkBackingOption"] = reflect.TypeOf((*VirtualEthernetCardOpaqueNetworkBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardOpaqueNetworkBackingOption"] = "5.5"
}
// This data object type contains the options for the
@@ -85983,12 +86462,12 @@ type VirtualEthernetCardResourceAllocation struct {
// value of `VirtualEthernetCardResourceAllocation.limit` if
// `VirtualEthernetCardResourceAllocation.limit` is set.
// Units in Mbits/sec.
- Reservation *int64 `xml:"reservation" json:"reservation,omitempty" vim:"6.0"`
+ Reservation *int64 `xml:"reservation" json:"reservation,omitempty"`
// Network share.
//
// The value is used as a relative weight in
// competing for shared bandwidth, in case of resource contention.
- Share SharesInfo `xml:"share" json:"share" vim:"6.0"`
+ Share SharesInfo `xml:"share" json:"share"`
// The bandwidth limit for the virtual network adapter.
//
// The utilization of the virtual network adapter will not
@@ -85996,12 +86475,12 @@ type VirtualEthernetCardResourceAllocation struct {
// To clear the value of this property and revert it to unset,
// set the vaule to "-1" in an update operation.
// Units in Mbits/sec.
- Limit *int64 `xml:"limit" json:"limit,omitempty" vim:"6.0"`
+ Limit *int64 `xml:"limit" json:"limit,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualEthernetCardResourceAllocation"] = "6.0"
t["VirtualEthernetCardResourceAllocation"] = reflect.TypeOf((*VirtualEthernetCardResourceAllocation)(nil)).Elem()
+ minAPIVersionForType["VirtualEthernetCardResourceAllocation"] = "6.0"
}
// The VirtualFloppy data object type contains information about a floppy drive
@@ -86100,7 +86579,7 @@ type VirtualHardware struct {
// size seen by the virtual machine.
NumCoresPerSocket int32 `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty" vim:"5.0"`
// Cores per socket is automatically determined.
- AutoCoresPerSocket *bool `xml:"autoCoresPerSocket" json:"autoCoresPerSocket,omitempty"`
+ AutoCoresPerSocket *bool `xml:"autoCoresPerSocket" json:"autoCoresPerSocket,omitempty" vim:"8.0.0.1"`
// Memory size, in MB.
MemoryMB int32 `xml:"memoryMB" json:"memoryMB"`
// Does this virtual machine have Virtual Intel I/O Controller Hub 7
@@ -86115,11 +86594,11 @@ type VirtualHardware struct {
//
// Default is i440bxHostBridge. See
// `VirtualHardware.motherboardLayout`
- MotherboardLayout string `xml:"motherboardLayout,omitempty" json:"motherboardLayout,omitempty"`
+ MotherboardLayout string `xml:"motherboardLayout,omitempty" json:"motherboardLayout,omitempty" vim:"8.0.0.1"`
// Number of SMT (Simultaneous multithreading) threads.
//
// If unset, then system defaults are in use.
- SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty" json:"simultaneousThreads,omitempty"`
+ SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty" json:"simultaneousThreads,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -86175,7 +86654,7 @@ type VirtualHardwareOption struct {
// can be used when distributing virtual CPUs.
NumCoresPerSocket *IntOption `xml:"numCoresPerSocket,omitempty" json:"numCoresPerSocket,omitempty" vim:"5.0"`
// Whether auto cores per socket is supported.
- AutoCoresPerSocket *BoolOption `xml:"autoCoresPerSocket,omitempty" json:"autoCoresPerSocket,omitempty"`
+ AutoCoresPerSocket *BoolOption `xml:"autoCoresPerSocket,omitempty" json:"autoCoresPerSocket,omitempty" vim:"8.0.0.1"`
// Can the number of virtual CPUs be changed
NumCpuReadonly bool `xml:"numCpuReadonly" json:"numCpuReadonly"`
// The minimum, maximum, and default memory options, in MB, per virtual machine,
@@ -86236,15 +86715,15 @@ type VirtualHardwareOption struct {
// Enclave Page Cache (EPC) memory.
EpcMemoryMB *LongOption `xml:"epcMemoryMB,omitempty" json:"epcMemoryMB,omitempty" vim:"7.0"`
// Empty for HWv17 & older, \["efi"\] for HWv18.
- AcpiHostBridgesFirmware []string `xml:"acpiHostBridgesFirmware,omitempty" json:"acpiHostBridgesFirmware,omitempty"`
+ AcpiHostBridgesFirmware []string `xml:"acpiHostBridgesFirmware,omitempty" json:"acpiHostBridgesFirmware,omitempty" vim:"8.0.0.1"`
// The minimum, maximum and default number of CPU simultaneous threads.
- NumCpuSimultaneousThreads *IntOption `xml:"numCpuSimultaneousThreads,omitempty" json:"numCpuSimultaneousThreads,omitempty"`
+ NumCpuSimultaneousThreads *IntOption `xml:"numCpuSimultaneousThreads,omitempty" json:"numCpuSimultaneousThreads,omitempty" vim:"8.0.0.1"`
// The minimum, maximum and default number of NUMA nodes.
- NumNumaNodes *IntOption `xml:"numNumaNodes,omitempty" json:"numNumaNodes,omitempty"`
+ NumNumaNodes *IntOption `xml:"numNumaNodes,omitempty" json:"numNumaNodes,omitempty" vim:"8.0.0.1"`
// Maximum number of device groups.
- NumDeviceGroups *IntOption `xml:"numDeviceGroups,omitempty" json:"numDeviceGroups,omitempty"`
+ NumDeviceGroups *IntOption `xml:"numDeviceGroups,omitempty" json:"numDeviceGroups,omitempty" vim:"8.0.0.1"`
// Supported device group types.
- DeviceGroupTypes []string `xml:"deviceGroupTypes,omitempty" json:"deviceGroupTypes,omitempty"`
+ DeviceGroupTypes []string `xml:"deviceGroupTypes,omitempty" json:"deviceGroupTypes,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -86279,8 +86758,8 @@ type VirtualHdAudioCard struct {
}
func init() {
- minAPIVersionForType["VirtualHdAudioCard"] = "5.0"
t["VirtualHdAudioCard"] = reflect.TypeOf((*VirtualHdAudioCard)(nil)).Elem()
+ minAPIVersionForType["VirtualHdAudioCard"] = "5.0"
}
// The VirtualHdAudioCardOption data object type contains the options for a
@@ -86290,8 +86769,8 @@ type VirtualHdAudioCardOption struct {
}
func init() {
- minAPIVersionForType["VirtualHdAudioCardOption"] = "5.0"
t["VirtualHdAudioCardOption"] = reflect.TypeOf((*VirtualHdAudioCardOption)(nil)).Elem()
+ minAPIVersionForType["VirtualHdAudioCardOption"] = "5.0"
}
// The VirtualIDEController data object type specifies a virtual IDE controller.
@@ -86373,8 +86852,8 @@ type VirtualLsiLogicSASController struct {
}
func init() {
- minAPIVersionForType["VirtualLsiLogicSASController"] = "4.0"
t["VirtualLsiLogicSASController"] = reflect.TypeOf((*VirtualLsiLogicSASController)(nil)).Elem()
+ minAPIVersionForType["VirtualLsiLogicSASController"] = "2.5 U2"
}
// VirtualLsiLogicSASControllerOption is the data object that contains
@@ -86384,8 +86863,8 @@ type VirtualLsiLogicSASControllerOption struct {
}
func init() {
- minAPIVersionForType["VirtualLsiLogicSASControllerOption"] = "4.0"
t["VirtualLsiLogicSASControllerOption"] = reflect.TypeOf((*VirtualLsiLogicSASControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualLsiLogicSASControllerOption"] = "2.5 U2"
}
// Specification of scheduling affinity.
@@ -86416,8 +86895,8 @@ type VirtualMachineBaseIndependentFilterSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineBaseIndependentFilterSpec"] = "7.0.2.1"
t["VirtualMachineBaseIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineBaseIndependentFilterSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBaseIndependentFilterSpec"] = "7.0.2.1"
}
// The `VirtualMachineBootOptions` data object defines the boot-time
@@ -86435,13 +86914,13 @@ type VirtualMachineBootOptions struct {
//
// The boot delay specifies a time interval between virtual machine
// power on or restart and the beginning of the boot sequence.
- BootDelay int64 `xml:"bootDelay,omitempty" json:"bootDelay,omitempty" vim:"2.5"`
+ BootDelay int64 `xml:"bootDelay,omitempty" json:"bootDelay,omitempty"`
// If set to true
, the virtual machine
// automatically enters BIOS setup the next time it boots.
//
// The virtual machine resets this flag to false
// so that subsequent boots proceed normally.
- EnterBIOSSetup *bool `xml:"enterBIOSSetup" json:"enterBIOSSetup,omitempty" vim:"2.5"`
+ EnterBIOSSetup *bool `xml:"enterBIOSSetup" json:"enterBIOSSetup,omitempty"`
// If set to true
, the virtual machine's firmware will
// perform signature checks of any EFI images loaded during startup, and
// will refuse to start any images which do not pass those signature
@@ -86488,8 +86967,8 @@ type VirtualMachineBootOptions struct {
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptions"] = "2.5"
t["VirtualMachineBootOptions"] = reflect.TypeOf((*VirtualMachineBootOptions)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptions"] = "2.5"
}
// Bootable CDROM.
@@ -86500,8 +86979,8 @@ type VirtualMachineBootOptionsBootableCdromDevice struct {
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsBootableCdromDevice"] = "5.0"
t["VirtualMachineBootOptionsBootableCdromDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableCdromDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsBootableCdromDevice"] = "5.0"
}
// Bootable device.
@@ -86510,8 +86989,8 @@ type VirtualMachineBootOptionsBootableDevice struct {
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsBootableDevice"] = "5.0"
t["VirtualMachineBootOptionsBootableDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsBootableDevice"] = "5.0"
}
// Bootable disk.
@@ -86520,12 +86999,12 @@ type VirtualMachineBootOptionsBootableDiskDevice struct {
// `Key`
// property of the bootable harddisk.
- DeviceKey int32 `xml:"deviceKey" json:"deviceKey" vim:"5.0"`
+ DeviceKey int32 `xml:"deviceKey" json:"deviceKey"`
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsBootableDiskDevice"] = "5.0"
t["VirtualMachineBootOptionsBootableDiskDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableDiskDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsBootableDiskDevice"] = "5.0"
}
// Bootable ethernet adapter.
@@ -86536,12 +87015,12 @@ type VirtualMachineBootOptionsBootableEthernetDevice struct {
// `Key`
// property of the bootable ethernet adapter.
- DeviceKey int32 `xml:"deviceKey" json:"deviceKey" vim:"5.0"`
+ DeviceKey int32 `xml:"deviceKey" json:"deviceKey"`
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsBootableEthernetDevice"] = "5.0"
t["VirtualMachineBootOptionsBootableEthernetDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableEthernetDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsBootableEthernetDevice"] = "5.0"
}
// Bootable floppy disk.
@@ -86550,8 +87029,8 @@ type VirtualMachineBootOptionsBootableFloppyDevice struct {
}
func init() {
- minAPIVersionForType["VirtualMachineBootOptionsBootableFloppyDevice"] = "5.0"
t["VirtualMachineBootOptionsBootableFloppyDevice"] = reflect.TypeOf((*VirtualMachineBootOptionsBootableFloppyDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineBootOptionsBootableFloppyDevice"] = "5.0"
}
// This data object type contains information about the
@@ -86638,7 +87117,7 @@ type VirtualMachineCapability struct {
//
// This capability depends on the guest operating system
// configured for this virtual machine.
- SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported" json:"settingDisplayTopologySupported,omitempty" vim:"4.0"`
+ SettingDisplayTopologySupported *bool `xml:"settingDisplayTopologySupported" json:"settingDisplayTopologySupported,omitempty" vim:"2.5 U2"`
// Deprecated as of vSphere API 6.0.
//
// Indicates whether record and replay functionality is supported on this
@@ -86713,11 +87192,11 @@ type VirtualMachineCapability struct {
// Failover is supported when set to true, and unsupported otherwise.
PmemFailoverSupported *bool `xml:"pmemFailoverSupported" json:"pmemFailoverSupported,omitempty" vim:"7.0.2.0"`
// Whether the VM supports requiring SGX remote attestation.
- RequireSgxAttestationSupported *bool `xml:"requireSgxAttestationSupported" json:"requireSgxAttestationSupported,omitempty"`
+ RequireSgxAttestationSupported *bool `xml:"requireSgxAttestationSupported" json:"requireSgxAttestationSupported,omitempty" vim:"8.0.0.1"`
// Indicates support for change mode on virtual disks
- ChangeModeDisksSupported *bool `xml:"changeModeDisksSupported" json:"changeModeDisksSupported,omitempty"`
+ ChangeModeDisksSupported *bool `xml:"changeModeDisksSupported" json:"changeModeDisksSupported,omitempty" vim:"8.0.0.1"`
// Indicates support for Vendor Device Groups
- VendorDeviceGroupSupported *bool `xml:"vendorDeviceGroupSupported" json:"vendorDeviceGroupSupported,omitempty"`
+ VendorDeviceGroupSupported *bool `xml:"vendorDeviceGroupSupported" json:"vendorDeviceGroupSupported,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -86754,6 +87233,7 @@ type VirtualMachineCertThumbprint struct {
func init() {
t["VirtualMachineCertThumbprint"] = reflect.TypeOf((*VirtualMachineCertThumbprint)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineCertThumbprint"] = "7.0.3.1"
}
// Specification for a virtual machine cloning operation.
@@ -86843,7 +87323,7 @@ type VirtualMachineCloneSpec struct {
//
// If unset - a globally defined policy is used, which by default is set to
// 'copy'.
- TpmProvisionPolicy string `xml:"tpmProvisionPolicy,omitempty" json:"tpmProvisionPolicy,omitempty"`
+ TpmProvisionPolicy string `xml:"tpmProvisionPolicy,omitempty" json:"tpmProvisionPolicy,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -86980,7 +87460,7 @@ type VirtualMachineConfigInfo struct {
// Configuration of default power operations.
DefaultPowerOps VirtualMachineDefaultPowerOpInfo `xml:"defaultPowerOps" json:"defaultPowerOps"`
// Whether the next reboot will result in a power off.
- RebootPowerOff *bool `xml:"rebootPowerOff" json:"rebootPowerOff,omitempty"`
+ RebootPowerOff *bool `xml:"rebootPowerOff" json:"rebootPowerOff,omitempty" vim:"8.0.0.1"`
// Processor, memory, and virtual devices for a virtual machine.
Hardware VirtualHardware `xml:"hardware" json:"hardware"`
// Vcpu configuration.
@@ -86995,13 +87475,13 @@ type VirtualMachineConfigInfo struct {
// The latency-sensitivity of the virtual machine.
LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty" vim:"5.1"`
// Whether memory can be added while this virtual machine is running.
- MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"4.0"`
+ MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"2.5 U2"`
// Whether virtual processors can be added while this
// virtual machine is running.
- CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"4.0"`
+ CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"2.5 U2"`
// Whether virtual processors can be removed while this
// virtual machine is running.
- CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"4.0"`
+ CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"2.5 U2"`
// The maximum amount of memory, in MB, than can be added to a
// running virtual machine.
//
@@ -87009,7 +87489,7 @@ type VirtualMachineConfigInfo struct {
// virtual machine and is specified only if
// `VirtualMachineConfigInfo.memoryHotAddEnabled`
// is set to true.
- HotPlugMemoryLimit int64 `xml:"hotPlugMemoryLimit,omitempty" json:"hotPlugMemoryLimit,omitempty" vim:"4.0"`
+ HotPlugMemoryLimit int64 `xml:"hotPlugMemoryLimit,omitempty" json:"hotPlugMemoryLimit,omitempty" vim:"2.5 U2"`
// Memory, in MB that can be added to a running virtual machine
// must be in increments of this value and needs be a
// multiple of this value.
@@ -87017,7 +87497,7 @@ type VirtualMachineConfigInfo struct {
// This value is determined by the virtual machine and is specified
// only if `VirtualMachineConfigSpec.memoryHotAddEnabled`
// has been set to true.
- HotPlugMemoryIncrementSize int64 `xml:"hotPlugMemoryIncrementSize,omitempty" json:"hotPlugMemoryIncrementSize,omitempty" vim:"4.0"`
+ HotPlugMemoryIncrementSize int64 `xml:"hotPlugMemoryIncrementSize,omitempty" json:"hotPlugMemoryIncrementSize,omitempty" vim:"2.5 U2"`
// Affinity settings for CPU.
CpuAffinity *VirtualMachineAffinityInfo `xml:"cpuAffinity,omitempty" json:"cpuAffinity,omitempty"`
// Deprecated since vSphere 6.0.
@@ -87181,7 +87661,7 @@ type VirtualMachineConfigInfo struct {
// when set to true, and disabled otherwise.
SevEnabled *bool `xml:"sevEnabled" json:"sevEnabled,omitempty" vim:"7.0.1.0"`
// vNUMA info.
- NumaInfo *VirtualMachineVirtualNumaInfo `xml:"numaInfo,omitempty" json:"numaInfo,omitempty"`
+ NumaInfo *VirtualMachineVirtualNumaInfo `xml:"numaInfo,omitempty" json:"numaInfo,omitempty" vim:"8.0.0.1"`
// Property to indicate PMem HA failover configuration.
//
// \- When set to TRUE, VMs configured to use PMem
@@ -87198,7 +87678,7 @@ type VirtualMachineConfigInfo struct {
// file is created to store stats for various VMX components.
// \- If FALSE, VMXStats is disabled for the VM and there is
// no scoreboard file created.
- VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled" json:"vmxStatsCollectionEnabled,omitempty"`
+ VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled" json:"vmxStatsCollectionEnabled,omitempty" vim:"7.0.3.1"`
// Indicates whether operation notification to applications is
// enabled/disabled.
//
@@ -87215,13 +87695,13 @@ type VirtualMachineConfigInfo struct {
// only if `VirtualMachineConfigInfo.vmOpNotificationToAppEnabled` is set to TRUE.
// \- If `VirtualMachineConfigInfo.vmOpNotificationTimeout` is unset, then it defaults to
// cluster/host timeout.
- VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty" json:"vmOpNotificationTimeout,omitempty"`
+ VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty" json:"vmOpNotificationTimeout,omitempty" vim:"8.0.0.1"`
// Status of the device swap operation.
- DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty" json:"deviceSwap,omitempty"`
+ DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty" json:"deviceSwap,omitempty" vim:"8.0.0.1"`
// Virtual persistent memory info.
Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty" json:"pmem,omitempty" vim:"7.0.3.0"`
// Assignable hardware device groups.
- DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty" json:"deviceGroups,omitempty"`
+ DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty" json:"deviceGroups,omitempty" vim:"8.0.0.1"`
// Indicates whether support to add and remove fixed passthrough
// devices when the VM is running is enabled.
//
@@ -87233,7 +87713,7 @@ type VirtualMachineConfigInfo struct {
// be equal to the guest memory size or the option to reserve all
// guest memory should be selected. If unset, the current value is
// left unchanged.
- FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty"`
+ FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -87259,7 +87739,7 @@ type VirtualMachineConfigInfoOverheadInfo struct {
DynamicData
// Memory overhead required for virtual machine to be powered on (in bytes).
- InitialMemoryReservation int64 `xml:"initialMemoryReservation,omitempty" json:"initialMemoryReservation,omitempty" vim:"5.0"`
+ InitialMemoryReservation int64 `xml:"initialMemoryReservation,omitempty" json:"initialMemoryReservation,omitempty"`
// Disk space required for virtual machine to be powered on (in bytes).
//
// This space is used by virtualization infrastructure to swap out
@@ -87267,12 +87747,12 @@ type VirtualMachineConfigInfoOverheadInfo struct {
// sched.swap.vmxSwapDir virtual machinge advanced config option or
// in case it is not specified - current virtual machine home directory
// is being used.
- InitialSwapReservation int64 `xml:"initialSwapReservation,omitempty" json:"initialSwapReservation,omitempty" vim:"5.0"`
+ InitialSwapReservation int64 `xml:"initialSwapReservation,omitempty" json:"initialSwapReservation,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineConfigInfoOverheadInfo"] = "5.0"
t["VirtualMachineConfigInfoOverheadInfo"] = reflect.TypeOf((*VirtualMachineConfigInfoOverheadInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConfigInfoOverheadInfo"] = "5.0"
}
// This configuration data object type contains information about the execution
@@ -87354,7 +87834,7 @@ type VirtualMachineConfigOptionDescriptor struct {
// Indicates whether the associated set of configuration options
// can be used for virtual machine creation on a given host or
// cluster.
- CreateSupported *bool `xml:"createSupported" json:"createSupported,omitempty" vim:"4.0"`
+ CreateSupported *bool `xml:"createSupported" json:"createSupported,omitempty" vim:"2.5 U2"`
// Indicates whether the associated set of virtual machine
// configuration options is the default one for a given host or
// cluster.
@@ -87366,7 +87846,7 @@ type VirtualMachineConfigOptionDescriptor struct {
// If this setting is TRUE, virtual machine creates will use the
// associated set of configuration options, unless a config version is
// explicitly specified in the `ConfigSpec`.
- DefaultConfigOption *bool `xml:"defaultConfigOption" json:"defaultConfigOption,omitempty" vim:"4.0"`
+ DefaultConfigOption *bool `xml:"defaultConfigOption" json:"defaultConfigOption,omitempty" vim:"2.5 U2"`
// Indicates whether the associated set of configuration options
// can be used to power on a virtual machine on a given host or
// cluster.
@@ -87591,7 +88071,7 @@ type VirtualMachineConfigSpec struct {
// Whether the next reboot will result in a power off.
//
// Reconfigure privilege: VirtualMachine.Config.Settings
- RebootPowerOff *bool `xml:"rebootPowerOff" json:"rebootPowerOff,omitempty"`
+ RebootPowerOff *bool `xml:"rebootPowerOff" json:"rebootPowerOff,omitempty" vim:"8.0.0.1"`
// Number of virtual processors in a virtual machine.
//
// Reconfigure privilege: VirtualMachine.Config.CpuCount
@@ -87622,7 +88102,7 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.Memory
- MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"4.0"`
+ MemoryHotAddEnabled *bool `xml:"memoryHotAddEnabled" json:"memoryHotAddEnabled,omitempty" vim:"2.5 U2"`
// Indicates whether or not virtual processors can be added to
// the virtual machine while it is running.
//
@@ -87630,7 +88110,7 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.CpuCount
- CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"4.0"`
+ CpuHotAddEnabled *bool `xml:"cpuHotAddEnabled" json:"cpuHotAddEnabled,omitempty" vim:"2.5 U2"`
// Indicates whether or not virtual processors can be removed
// from the virtual machine while it is running.
//
@@ -87638,7 +88118,7 @@ type VirtualMachineConfigSpec struct {
// powered-off.
//
// Reconfigure privilege: VirtualMachine.Config.CpuCount
- CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"4.0"`
+ CpuHotRemoveEnabled *bool `xml:"cpuHotRemoveEnabled" json:"cpuHotRemoveEnabled,omitempty" vim:"2.5 U2"`
// Does this virtual machine have Virtual Intel I/O Controller Hub 7
VirtualICH7MPresent *bool `xml:"virtualICH7MPresent" json:"virtualICH7MPresent,omitempty" vim:"5.0"`
// Does this virtual machine have System Management Controller
@@ -87878,12 +88358,12 @@ type VirtualMachineConfigSpec struct {
// set to true, and disabled otherwise.
SevEnabled *bool `xml:"sevEnabled" json:"sevEnabled,omitempty" vim:"7.0.1.0"`
// Virtual NUMA information for this VM.
- VirtualNuma *VirtualMachineVirtualNuma `xml:"virtualNuma,omitempty" json:"virtualNuma,omitempty"`
+ VirtualNuma *VirtualMachineVirtualNuma `xml:"virtualNuma,omitempty" json:"virtualNuma,omitempty" vim:"8.0.0.1"`
// One of motherboardLayout choices.
//
// Default is i440bxHostBridge. See
// `VirtualHardware.motherboardLayout`
- MotherboardLayout string `xml:"motherboardLayout,omitempty" json:"motherboardLayout,omitempty"`
+ MotherboardLayout string `xml:"motherboardLayout,omitempty" json:"motherboardLayout,omitempty" vim:"8.0.0.1"`
// Property to enable/disable PMem HA failover.
//
// \- When set to TRUE, VMs configured to use PMem
@@ -87901,7 +88381,7 @@ type VirtualMachineConfigSpec struct {
// \- When set to TRUE, VMs will be configured to create a
// scoreboard file to store certain stats for various VMX
// components.
- VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled" json:"vmxStatsCollectionEnabled,omitempty"`
+ VmxStatsCollectionEnabled *bool `xml:"vmxStatsCollectionEnabled" json:"vmxStatsCollectionEnabled,omitempty" vim:"7.0.3.1"`
// Property to enable/disable operation notification to applications.
//
// \- When set to TRUE, application running inside the VM will be
@@ -87916,18 +88396,18 @@ type VirtualMachineConfigSpec struct {
// only if `VirtualMachineConfigSpec.vmOpNotificationToAppEnabled` is set to TRUE.
// \- Timeout has to be a non-zero positive value for applications to
// be able to register and get notifications.
- VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty" json:"vmOpNotificationTimeout,omitempty"`
+ VmOpNotificationTimeout int64 `xml:"vmOpNotificationTimeout,omitempty" json:"vmOpNotificationTimeout,omitempty" vim:"8.0.0.1"`
// Status of the device swap operation.
- DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty" json:"deviceSwap,omitempty"`
+ DeviceSwap *VirtualMachineVirtualDeviceSwap `xml:"deviceSwap,omitempty" json:"deviceSwap,omitempty" vim:"8.0.0.1"`
// Number of SMT (Simultaneous multithreading) threads.
//
// \- Set "simultaneousThreads" with a non-zero value to configure threads.
// \- If unset, then use system defaults.
- SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty" json:"simultaneousThreads,omitempty"`
+ SimultaneousThreads int32 `xml:"simultaneousThreads,omitempty" json:"simultaneousThreads,omitempty" vim:"8.0.0.1"`
// Configuration for virtual persistent memory.
Pmem *VirtualMachineVirtualPMem `xml:"pmem,omitempty" json:"pmem,omitempty" vim:"7.0.3.0"`
// Assignable hardware device groups.
- DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty" json:"deviceGroups,omitempty"`
+ DeviceGroups *VirtualMachineVirtualDeviceGroups `xml:"deviceGroups,omitempty" json:"deviceGroups,omitempty" vim:"8.0.0.1"`
// Indicates whether support to add and remove fixed passthrough
// devices when the VM is running should be enabled.
//
@@ -87939,7 +88419,7 @@ type VirtualMachineConfigSpec struct {
// be equal to the guest memory size or the option to reserve all
// guest memory should be selected. If unset, the current value
// is left unchanged.
- FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty"`
+ FixedPassthruHotPlugEnabled *bool `xml:"fixedPassthruHotPlugEnabled" json:"fixedPassthruHotPlugEnabled,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -88020,7 +88500,7 @@ type VirtualMachineConnection struct {
//
// The label is a UTF-8 string which specifies a unique identifier for
// a connection.
- Label string `xml:"label" json:"label" vim:"7.0.1.0"`
+ Label string `xml:"label" json:"label"`
// The client identifer.
//
// This identifier is a UTF-8 string which is semantically meaningful
@@ -88028,16 +88508,16 @@ type VirtualMachineConnection struct {
// address (V4 or V6) with or without a port specification, a machine
// name that requires a DNS lookup, or any other network oriented
// identification scheme.
- Client string `xml:"client" json:"client" vim:"7.0.1.0"`
+ Client string `xml:"client" json:"client"`
// The name of the user authorizing the connection.
//
// This is used for auditing.
- UserName string `xml:"userName" json:"userName" vim:"7.0.1.0"`
+ UserName string `xml:"userName" json:"userName"`
}
func init() {
- minAPIVersionForType["VirtualMachineConnection"] = "7.0.1.0"
t["VirtualMachineConnection"] = reflect.TypeOf((*VirtualMachineConnection)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineConnection"] = "7.0.1.0"
}
// Preferences for the legacy console application that affect the way it behaves during power
@@ -88064,16 +88544,16 @@ type VirtualMachineContentLibraryItemInfo struct {
DynamicData
// The content library item UUID
- ContentLibraryItemUuid string `xml:"contentLibraryItemUuid" json:"contentLibraryItemUuid" vim:"7.0"`
+ ContentLibraryItemUuid string `xml:"contentLibraryItemUuid" json:"contentLibraryItemUuid"`
// The content library item version is determined and
// managed by content library and this field stamps the version
// provided by CL to the VM.
- ContentLibraryItemVersion string `xml:"contentLibraryItemVersion,omitempty" json:"contentLibraryItemVersion,omitempty" vim:"7.0"`
+ ContentLibraryItemVersion string `xml:"contentLibraryItemVersion,omitempty" json:"contentLibraryItemVersion,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineContentLibraryItemInfo"] = "7.0"
t["VirtualMachineContentLibraryItemInfo"] = reflect.TypeOf((*VirtualMachineContentLibraryItemInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineContentLibraryItemInfo"] = "7.0"
}
// Wrapper class to support incremental updates of the cpuFeatureMask.
@@ -88231,8 +88711,8 @@ type VirtualMachineDefaultProfileSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineDefaultProfileSpec"] = "6.0"
t["VirtualMachineDefaultProfileSpec"] = reflect.TypeOf((*VirtualMachineDefaultProfileSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDefaultProfileSpec"] = "6.0"
}
// Policy specification that carries a pre-defined Storage Policy to be associated
@@ -88250,7 +88730,7 @@ type VirtualMachineDefinedProfileSpec struct {
// Storage Policy Profile identification - Should be
// pbm.profileId but for implementation reasons, could not be.
- ProfileId string `xml:"profileId" json:"profileId" vim:"5.5"`
+ ProfileId string `xml:"profileId" json:"profileId"`
// Specification containing replication related parameters, sent to the Replication Data Service
// provider.
ReplicationSpec *ReplicationSpec `xml:"replicationSpec,omitempty" json:"replicationSpec,omitempty" vim:"6.5"`
@@ -88258,7 +88738,7 @@ type VirtualMachineDefinedProfileSpec struct {
//
// This data is provided by the SPBM component of the vSphere platform.
// This field should not be set by Virtual Center users.
- ProfileData *VirtualMachineProfileRawData `xml:"profileData,omitempty" json:"profileData,omitempty" vim:"5.5"`
+ ProfileData *VirtualMachineProfileRawData `xml:"profileData,omitempty" json:"profileData,omitempty"`
// Parameterized Storage Profiles
// Extra configuration that is not expressed as a capability in the Profile
// definition.
@@ -88266,8 +88746,8 @@ type VirtualMachineDefinedProfileSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineDefinedProfileSpec"] = "5.5"
t["VirtualMachineDefinedProfileSpec"] = reflect.TypeOf((*VirtualMachineDefinedProfileSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDefinedProfileSpec"] = "5.5"
}
// The DeviceRuntimeInfo data object type provides information about
@@ -88276,14 +88756,14 @@ type VirtualMachineDeviceRuntimeInfo struct {
DynamicData
// The device runtime state.
- RuntimeState BaseVirtualMachineDeviceRuntimeInfoDeviceRuntimeState `xml:"runtimeState,typeattr" json:"runtimeState" vim:"4.1"`
+ RuntimeState BaseVirtualMachineDeviceRuntimeInfoDeviceRuntimeState `xml:"runtimeState,typeattr" json:"runtimeState"`
// The device key.
- Key int32 `xml:"key" json:"key" vim:"4.1"`
+ Key int32 `xml:"key" json:"key"`
}
func init() {
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfo"] = "4.1"
t["VirtualMachineDeviceRuntimeInfo"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDeviceRuntimeInfo"] = "4.1"
}
// Runtime state of a device.
@@ -88295,8 +88775,8 @@ type VirtualMachineDeviceRuntimeInfoDeviceRuntimeState struct {
}
func init() {
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoDeviceRuntimeState"] = "4.1"
t["VirtualMachineDeviceRuntimeInfoDeviceRuntimeState"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoDeviceRuntimeState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDeviceRuntimeInfoDeviceRuntimeState"] = "4.1"
}
// Runtime state of a virtual ethernet card device.
@@ -88312,7 +88792,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// more of `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.vmDirectPathGen2InactiveReasonVm`,
// `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.vmDirectPathGen2InactiveReasonOther`,
// and `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.vmDirectPathGen2InactiveReasonExtended`.
- VmDirectPathGen2Active *bool `xml:"vmDirectPathGen2Active" json:"vmDirectPathGen2Active,omitempty" vim:"4.1"`
+ VmDirectPathGen2Active *bool `xml:"vmDirectPathGen2Active" json:"vmDirectPathGen2Active,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -88329,7 +88809,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// with an additional explanation provided by the platform.
//
// Note that this list of reasons is not guaranteed to be exhaustive.
- VmDirectPathGen2InactiveReasonVm []string `xml:"vmDirectPathGen2InactiveReasonVm,omitempty" json:"vmDirectPathGen2InactiveReasonVm,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonVm []string `xml:"vmDirectPathGen2InactiveReasonVm,omitempty" json:"vmDirectPathGen2InactiveReasonVm,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -88348,7 +88828,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// Note that this list of reasons is not guaranteed to be exhaustive.
//
// See also `HostCapability.vmDirectPathGen2Supported`.
- VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty" json:"vmDirectPathGen2InactiveReasonOther,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonOther []string `xml:"vmDirectPathGen2InactiveReasonOther,omitempty" json:"vmDirectPathGen2InactiveReasonOther,omitempty"`
// Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer
// supported and there is no replacement.
//
@@ -88356,7 +88836,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// contain an explanation provided by the platform, beyond the reasons
// (if any) enumerated in `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.vmDirectPathGen2InactiveReasonVm`
// and/or `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.vmDirectPathGen2InactiveReasonOther`.
- VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty" json:"vmDirectPathGen2InactiveReasonExtended,omitempty" vim:"4.1"`
+ VmDirectPathGen2InactiveReasonExtended string `xml:"vmDirectPathGen2InactiveReasonExtended,omitempty" json:"vmDirectPathGen2InactiveReasonExtended,omitempty"`
// Flag to indicate whether UPTv2(Uniform Pass-through version 2) is active
// on this device.
//
@@ -88368,7 +88848,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// This flag is unset if not applicable. It indicates network adapter is not a
// vmxnet3 adapter or `VirtualVmxnet3.uptv2Enabled` of it
// is not set to true.
- Uptv2Active *bool `xml:"uptv2Active" json:"uptv2Active,omitempty"`
+ Uptv2Active *bool `xml:"uptv2Active" json:"uptv2Active,omitempty" vim:"8.0.0.1"`
// When `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.uptv2Active` is false, this field will be
// populated with reasons for the inactivity that are related to virtual
// machine state or configuration (chosen from
@@ -88379,7 +88859,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// This field will be unset if `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.uptv2Active` is true or unset.
//
// Note that this field of reasons is not guaranteed to be exhaustive.
- Uptv2InactiveReasonVm []string `xml:"uptv2InactiveReasonVm,omitempty" json:"uptv2InactiveReasonVm,omitempty"`
+ Uptv2InactiveReasonVm []string `xml:"uptv2InactiveReasonVm,omitempty" json:"uptv2InactiveReasonVm,omitempty" vim:"8.0.0.1"`
// When `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.uptv2Active` is false, this field will be
// populated with reasons for the inactivity that are not related to
// virtual machine state or configuration (chosen from
@@ -88391,7 +88871,7 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
// This field will be unset if `VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState.uptv2Active` is true or unset.
//
// Note that this field of reasons is not guaranteed to be exhaustive.
- Uptv2InactiveReasonOther []string `xml:"uptv2InactiveReasonOther,omitempty" json:"uptv2InactiveReasonOther,omitempty"`
+ Uptv2InactiveReasonOther []string `xml:"uptv2InactiveReasonOther,omitempty" json:"uptv2InactiveReasonOther,omitempty" vim:"8.0.0.1"`
// The status indicating whether network reservation requirement is violated
// or not on the virtual network adapter.
//
@@ -88423,8 +88903,8 @@ type VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState struct {
}
func init() {
- minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState"] = "4.1"
t["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState"] = reflect.TypeOf((*VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDeviceRuntimeInfoVirtualEthernetCardRuntimeState"] = "4.1"
}
// The DiskDeviceInfo class contains basic information about a specific disk hardware
@@ -88450,18 +88930,18 @@ type VirtualMachineDisplayTopology struct {
DynamicData
// The x co-ordinate defining the start of the display rectangle.
- X int32 `xml:"x" json:"x" vim:"4.0"`
+ X int32 `xml:"x" json:"x"`
// The y co-ordinate defining the start of the display rectangle.
- Y int32 `xml:"y" json:"y" vim:"4.0"`
+ Y int32 `xml:"y" json:"y"`
// The width of the display rectangle.
- Width int32 `xml:"width" json:"width" vim:"4.0"`
+ Width int32 `xml:"width" json:"width"`
// The height of the display rectangle.
- Height int32 `xml:"height" json:"height" vim:"4.0"`
+ Height int32 `xml:"height" json:"height"`
}
func init() {
- minAPIVersionForType["VirtualMachineDisplayTopology"] = "4.0"
t["VirtualMachineDisplayTopology"] = reflect.TypeOf((*VirtualMachineDisplayTopology)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDisplayTopology"] = "2.5 U2"
}
// Description of a Device Virtualization Extensions (DVX) device class.
@@ -88483,6 +88963,7 @@ type VirtualMachineDvxClassInfo struct {
func init() {
t["VirtualMachineDvxClassInfo"] = reflect.TypeOf((*VirtualMachineDvxClassInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDvxClassInfo"] = "8.0.0.1"
}
// Description of a Dynamic DirectPath PCI device.
@@ -88490,20 +88971,20 @@ type VirtualMachineDynamicPassthroughInfo struct {
VirtualMachineTargetInfo
// The vendor name of this PCI device.
- VendorName string `xml:"vendorName" json:"vendorName" vim:"7.0"`
+ VendorName string `xml:"vendorName" json:"vendorName"`
// The device name of this PCI device.
- DeviceName string `xml:"deviceName" json:"deviceName" vim:"7.0"`
+ DeviceName string `xml:"deviceName" json:"deviceName"`
// The custom label attached to this PCI device.
- CustomLabel string `xml:"customLabel,omitempty" json:"customLabel,omitempty" vim:"7.0"`
+ CustomLabel string `xml:"customLabel,omitempty" json:"customLabel,omitempty"`
// PCI vendor ID for this device.
- VendorId int32 `xml:"vendorId" json:"vendorId" vim:"7.0"`
+ VendorId int32 `xml:"vendorId" json:"vendorId"`
// PCI device ID for this device.
- DeviceId int32 `xml:"deviceId" json:"deviceId" vim:"7.0"`
+ DeviceId int32 `xml:"deviceId" json:"deviceId"`
}
func init() {
- minAPIVersionForType["VirtualMachineDynamicPassthroughInfo"] = "7.0"
t["VirtualMachineDynamicPassthroughInfo"] = reflect.TypeOf((*VirtualMachineDynamicPassthroughInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineDynamicPassthroughInfo"] = "7.0"
}
// The EmptyIndependentFilterSpec data object is used to specify empty independent
@@ -88516,8 +88997,8 @@ type VirtualMachineEmptyIndependentFilterSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineEmptyIndependentFilterSpec"] = "7.0.2.1"
t["VirtualMachineEmptyIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineEmptyIndependentFilterSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineEmptyIndependentFilterSpec"] = "7.0.2.1"
}
// Specifies an empty Storage Policy for a Virtual Machine Home or a
@@ -88531,8 +89012,8 @@ type VirtualMachineEmptyProfileSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineEmptyProfileSpec"] = "5.5"
t["VirtualMachineEmptyProfileSpec"] = reflect.TypeOf((*VirtualMachineEmptyProfileSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineEmptyProfileSpec"] = "5.5"
}
// Feature requirement contains a key, featureName and an opaque value
@@ -88540,21 +89021,21 @@ type VirtualMachineFeatureRequirement struct {
DynamicData
// Accessor name to the feature requirement test
- Key string `xml:"key" json:"key" vim:"5.1"`
+ Key string `xml:"key" json:"key"`
// Name of the feature.
//
// Identical to the key.
- FeatureName string `xml:"featureName" json:"featureName" vim:"5.1"`
+ FeatureName string `xml:"featureName" json:"featureName"`
// Opaque value for the feature operation.
//
// Operation is contained
// in the value.
- Value string `xml:"value" json:"value" vim:"5.1"`
+ Value string `xml:"value" json:"value"`
}
func init() {
- minAPIVersionForType["VirtualMachineFeatureRequirement"] = "5.1"
t["VirtualMachineFeatureRequirement"] = reflect.TypeOf((*VirtualMachineFeatureRequirement)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFeatureRequirement"] = "5.1"
}
// The FileInfo data object type contains the locations of virtual machine
@@ -88698,21 +89179,21 @@ type VirtualMachineFileLayoutEx struct {
//
// `VirtualMachineFileLayoutExFileType_enum` lists the
// different file-types that make a virtual machine.
- File []VirtualMachineFileLayoutExFileInfo `xml:"file,omitempty" json:"file,omitempty" vim:"4.0"`
+ File []VirtualMachineFileLayoutExFileInfo `xml:"file,omitempty" json:"file,omitempty"`
// Layout of each virtual disk attached to the virtual machine.
//
// For a virtual machine with snaphots, this property gives only those disks
// that are attached to it at the current point of running.
- Disk []VirtualMachineFileLayoutExDiskLayout `xml:"disk,omitempty" json:"disk,omitempty" vim:"4.0"`
+ Disk []VirtualMachineFileLayoutExDiskLayout `xml:"disk,omitempty" json:"disk,omitempty"`
// Layout of each snapshot of the virtual machine.
- Snapshot []VirtualMachineFileLayoutExSnapshotLayout `xml:"snapshot,omitempty" json:"snapshot,omitempty" vim:"4.0"`
+ Snapshot []VirtualMachineFileLayoutExSnapshotLayout `xml:"snapshot,omitempty" json:"snapshot,omitempty"`
// Time when values in this structure were last updated.
- Timestamp time.Time `xml:"timestamp" json:"timestamp" vim:"4.0"`
+ Timestamp time.Time `xml:"timestamp" json:"timestamp"`
}
func init() {
- minAPIVersionForType["VirtualMachineFileLayoutEx"] = "4.0"
t["VirtualMachineFileLayoutEx"] = reflect.TypeOf((*VirtualMachineFileLayoutEx)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFileLayoutEx"] = "4.0"
}
// Layout of a virtual disk, including the base- and delta- disks.
@@ -88722,14 +89203,14 @@ type VirtualMachineFileLayoutExDiskLayout struct {
DynamicData
// Identifier for the virtual disk in `VirtualHardware.device`.
- Key int32 `xml:"key" json:"key" vim:"4.0"`
+ Key int32 `xml:"key" json:"key"`
// The disk-unit chain that makes up this virtual disk.
- Chain []VirtualMachineFileLayoutExDiskUnit `xml:"chain,omitempty" json:"chain,omitempty" vim:"4.0"`
+ Chain []VirtualMachineFileLayoutExDiskUnit `xml:"chain,omitempty" json:"chain,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineFileLayoutExDiskLayout"] = "4.0"
t["VirtualMachineFileLayoutExDiskLayout"] = reflect.TypeOf((*VirtualMachineFileLayoutExDiskLayout)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFileLayoutExDiskLayout"] = "4.0"
}
// Information about a single unit of a virtual disk, such as
@@ -88751,12 +89232,12 @@ type VirtualMachineFileLayoutExDiskUnit struct {
// At least one entry always exists in this array. Property
// `VirtualMachineFileLayoutExFileInfo.type` of the referenced file
// can be used to distinguish the disk descriptor (type `diskDescriptor`) from the extents.
- FileKey []int32 `xml:"fileKey" json:"fileKey" vim:"4.0"`
+ FileKey []int32 `xml:"fileKey" json:"fileKey"`
}
func init() {
- minAPIVersionForType["VirtualMachineFileLayoutExDiskUnit"] = "4.0"
t["VirtualMachineFileLayoutExDiskUnit"] = reflect.TypeOf((*VirtualMachineFileLayoutExDiskUnit)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFileLayoutExDiskUnit"] = "4.0"
}
// Basic information about a file.
@@ -88764,16 +89245,16 @@ type VirtualMachineFileLayoutExFileInfo struct {
DynamicData
// Key to reference this file.
- Key int32 `xml:"key" json:"key" vim:"4.0"`
+ Key int32 `xml:"key" json:"key"`
// Name of the file, including the complete datastore path.
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Type of the file.
//
// `VirtualMachineFileLayoutExFileType_enum` lists
// all valid values.
- Type string `xml:"type" json:"type" vim:"4.0"`
+ Type string `xml:"type" json:"type"`
// Size of the file in bytes.
- Size int64 `xml:"size" json:"size" vim:"4.0"`
+ Size int64 `xml:"size" json:"size"`
// Size of the file in bytes corresponding to the file blocks
// that were allocated uniquely.
//
@@ -88802,8 +89283,8 @@ type VirtualMachineFileLayoutExFileInfo struct {
}
func init() {
- minAPIVersionForType["VirtualMachineFileLayoutExFileInfo"] = "4.0"
t["VirtualMachineFileLayoutExFileInfo"] = reflect.TypeOf((*VirtualMachineFileLayoutExFileInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFileLayoutExFileInfo"] = "4.0"
}
// Layout of a snapshot.
@@ -88813,9 +89294,9 @@ type VirtualMachineFileLayoutExSnapshotLayout struct {
// Reference to the snapshot.
//
// Refers instance of `VirtualMachineSnapshot`.
- Key ManagedObjectReference `xml:"key" json:"key" vim:"4.0"`
+ Key ManagedObjectReference `xml:"key" json:"key"`
// Key to the snapshot data file in `VirtualMachineFileLayoutEx.file`.
- DataKey int32 `xml:"dataKey" json:"dataKey" vim:"4.0"`
+ DataKey int32 `xml:"dataKey" json:"dataKey"`
// Key to the snapshot memory file in `VirtualMachineFileLayoutEx.file`.
//
// Powered off snapshots do not have a memory component and in some cases
@@ -88824,12 +89305,12 @@ type VirtualMachineFileLayoutExSnapshotLayout struct {
MemoryKey int32 `xml:"memoryKey,omitempty" json:"memoryKey,omitempty" vim:"6.0"`
// Layout of each virtual disk of the virtual machine when the
// snapshot was taken.
- Disk []VirtualMachineFileLayoutExDiskLayout `xml:"disk,omitempty" json:"disk,omitempty" vim:"4.0"`
+ Disk []VirtualMachineFileLayoutExDiskLayout `xml:"disk,omitempty" json:"disk,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineFileLayoutExSnapshotLayout"] = "4.0"
t["VirtualMachineFileLayoutExSnapshotLayout"] = reflect.TypeOf((*VirtualMachineFileLayoutExSnapshotLayout)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineFileLayoutExSnapshotLayout"] = "4.0"
}
// Enumerates the set of files that make up a snapshot or redo-point
@@ -89037,12 +89518,12 @@ type VirtualMachineForkConfigInfo struct {
// If this vm is not a parent enabled vm this
// property will be unset.
// When set into the vim.vm.ConfigSpec this flag will be ignored.
- ParentEnabled *bool `xml:"parentEnabled" json:"parentEnabled,omitempty" vim:"6.0"`
+ ParentEnabled *bool `xml:"parentEnabled" json:"parentEnabled,omitempty"`
// The fork group ID identifies the parent group of which this child
// VirtualMachine is a child.
//
// Applicable for child VirtualMachines only.
- ChildForkGroupId string `xml:"childForkGroupId,omitempty" json:"childForkGroupId,omitempty" vim:"6.0"`
+ ChildForkGroupId string `xml:"childForkGroupId,omitempty" json:"childForkGroupId,omitempty"`
// The fork group ID identifies the parent group which this VirtualMachine
// belongs to.
//
@@ -89055,12 +89536,12 @@ type VirtualMachineForkConfigInfo struct {
// clone of its parent and this flag will be set to 'none'.
//
// See also `VirtualMachineForkConfigInfoChildType_enum`.
- ChildType string `xml:"childType,omitempty" json:"childType,omitempty" vim:"6.0"`
+ ChildType string `xml:"childType,omitempty" json:"childType,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineForkConfigInfo"] = "6.0"
t["VirtualMachineForkConfigInfo"] = reflect.TypeOf((*VirtualMachineForkConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineForkConfigInfo"] = "6.0"
}
// This data object describes the guest integrity platform configuration of
@@ -89073,12 +89554,12 @@ type VirtualMachineGuestIntegrityInfo struct {
//
// Guest integrity adds capabilities in the virtual
// platform to detect attacks on the guest OS kernel
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"6.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineGuestIntegrityInfo"] = "6.5"
t["VirtualMachineGuestIntegrityInfo"] = reflect.TypeOf((*VirtualMachineGuestIntegrityInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineGuestIntegrityInfo"] = "6.5"
}
// This data object describes the GMM (Guest Mode Monitoring) configuration
@@ -89091,8 +89572,8 @@ type VirtualMachineGuestMonitoringModeInfo struct {
}
func init() {
- minAPIVersionForType["VirtualMachineGuestMonitoringModeInfo"] = "7.0"
t["VirtualMachineGuestMonitoringModeInfo"] = reflect.TypeOf((*VirtualMachineGuestMonitoringModeInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineGuestMonitoringModeInfo"] = "7.0"
}
// This data object type encapsulates configuration settings
@@ -89104,12 +89585,12 @@ type VirtualMachineGuestQuiesceSpec struct {
// to be performed on the virtual machine.
//
// The timeout can not be less than 5 minutes or more than 240 minutes.
- Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"6.5"`
+ Timeout int32 `xml:"timeout,omitempty" json:"timeout,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineGuestQuiesceSpec"] = "6.5"
t["VirtualMachineGuestQuiesceSpec"] = reflect.TypeOf((*VirtualMachineGuestQuiesceSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineGuestQuiesceSpec"] = "6.5"
}
// A subset of virtual machine guest information.
@@ -89191,7 +89672,7 @@ type VirtualMachineImportSpec struct {
ImportSpec
// Configuration for the virtual machine.
- ConfigSpec VirtualMachineConfigSpec `xml:"configSpec" json:"configSpec" vim:"4.0"`
+ ConfigSpec VirtualMachineConfigSpec `xml:"configSpec" json:"configSpec"`
// Deprecated as of vSphere API 5.1.
//
// If specified, this resource pool will be used as the parent resource pool and the
@@ -89205,8 +89686,8 @@ type VirtualMachineImportSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineImportSpec"] = "4.0"
t["VirtualMachineImportSpec"] = reflect.TypeOf((*VirtualMachineImportSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineImportSpec"] = "4.0"
}
// The IndependentFilterSpec data object is used to specify the independent
@@ -89215,19 +89696,19 @@ type VirtualMachineIndependentFilterSpec struct {
VirtualMachineBaseIndependentFilterSpec
// Name/id of the IO filter.
- FilterName string `xml:"filterName" json:"filterName" vim:"7.0.2.1"`
+ FilterName string `xml:"filterName" json:"filterName"`
// IO filter class.
- FilterClass string `xml:"filterClass,omitempty" json:"filterClass,omitempty" vim:"7.0.2.1"`
+ FilterClass string `xml:"filterClass,omitempty" json:"filterClass,omitempty"`
// Capabilities defined by the above filter.
//
// Basically this key value pair define the configurable properties
// of the independent filters. Users can specify desired values.
- FilterCapabilities []KeyValue `xml:"filterCapabilities,omitempty" json:"filterCapabilities,omitempty" vim:"7.0.2.1"`
+ FilterCapabilities []KeyValue `xml:"filterCapabilities,omitempty" json:"filterCapabilities,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineIndependentFilterSpec"] = "7.0.2.1"
t["VirtualMachineIndependentFilterSpec"] = reflect.TypeOf((*VirtualMachineIndependentFilterSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineIndependentFilterSpec"] = "7.0.2.1"
}
// Specification for creating an Instant Clone of a powered-on virtual machine.
@@ -89235,7 +89716,7 @@ type VirtualMachineInstantCloneSpec struct {
DynamicData
// The name of the cloned virtual machine.
- Name string `xml:"name" json:"name" vim:"6.7"`
+ Name string `xml:"name" json:"name"`
// A type of `VirtualMachineRelocateSpec` that specifies the location of
// resources the newly created virtual machine will use.
//
@@ -89251,21 +89732,21 @@ type VirtualMachineInstantCloneSpec struct {
// ports.
//
// All other settings are NOT supported.
- Location VirtualMachineRelocateSpec `xml:"location" json:"location" vim:"6.7"`
+ Location VirtualMachineRelocateSpec `xml:"location" json:"location"`
// A list of key value pairs that will be passed to the destination VM.
//
// These pairs should be used to provide user-defined customization to
// differentiate the destination VM from the source VM. Values will be
// queryable via destination VM's `VirtualMachineConfigInfo.extraConfig`.
- Config []BaseOptionValue `xml:"config,omitempty,typeattr" json:"config,omitempty" vim:"6.7"`
+ Config []BaseOptionValue `xml:"config,omitempty,typeattr" json:"config,omitempty"`
// 128-bit SMBIOS UUID of a virtual machine represented as a hexadecimal string
// in "12345678-abcd-1234-cdef-123456789abc" format.
- BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty" vim:"6.7"`
+ BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineInstantCloneSpec"] = "6.7"
t["VirtualMachineInstantCloneSpec"] = reflect.TypeOf((*VirtualMachineInstantCloneSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineInstantCloneSpec"] = "6.7"
}
// The LegacyNetworkSwitchInfo data object type contains information about
@@ -89291,22 +89772,22 @@ type VirtualMachineMemoryReservationInfo struct {
// The minimum amount of memory reserved for all running virtual machines,
// in bytes.
- VirtualMachineMin int64 `xml:"virtualMachineMin" json:"virtualMachineMin" vim:"2.5"`
+ VirtualMachineMin int64 `xml:"virtualMachineMin" json:"virtualMachineMin"`
// The maximum amount of memory reserved for all running virtual machines,
// in bytes.
- VirtualMachineMax int64 `xml:"virtualMachineMax" json:"virtualMachineMax" vim:"2.5"`
+ VirtualMachineMax int64 `xml:"virtualMachineMax" json:"virtualMachineMax"`
// The amount of memory reserved for all running virtual machines,
// in bytes.
- VirtualMachineReserved int64 `xml:"virtualMachineReserved" json:"virtualMachineReserved" vim:"2.5"`
+ VirtualMachineReserved int64 `xml:"virtualMachineReserved" json:"virtualMachineReserved"`
// Policy for allocating additional memory for virtual machines.
//
// See also `VirtualMachineMemoryAllocationPolicy_enum`.
- AllocationPolicy string `xml:"allocationPolicy" json:"allocationPolicy" vim:"2.5"`
+ AllocationPolicy string `xml:"allocationPolicy" json:"allocationPolicy"`
}
func init() {
- minAPIVersionForType["VirtualMachineMemoryReservationInfo"] = "2.5"
t["VirtualMachineMemoryReservationInfo"] = reflect.TypeOf((*VirtualMachineMemoryReservationInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMemoryReservationInfo"] = "2.5"
}
// The VirtualMachineReservationSpec data object specifies
@@ -89316,16 +89797,16 @@ type VirtualMachineMemoryReservationSpec struct {
// The amount of memory reserved for all running virtual machines, in
// bytes.
- VirtualMachineReserved int64 `xml:"virtualMachineReserved,omitempty" json:"virtualMachineReserved,omitempty" vim:"2.5"`
+ VirtualMachineReserved int64 `xml:"virtualMachineReserved,omitempty" json:"virtualMachineReserved,omitempty"`
// Policy for allocating additional memory for virtual machines.
//
// See also `VirtualMachineMemoryAllocationPolicy_enum`.
- AllocationPolicy string `xml:"allocationPolicy,omitempty" json:"allocationPolicy,omitempty" vim:"2.5"`
+ AllocationPolicy string `xml:"allocationPolicy,omitempty" json:"allocationPolicy,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineMemoryReservationSpec"] = "2.5"
t["VirtualMachineMemoryReservationSpec"] = reflect.TypeOf((*VirtualMachineMemoryReservationSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMemoryReservationSpec"] = "2.5"
}
// Message data which is intended to be displayed according
@@ -89362,13 +89843,13 @@ type VirtualMachineMessage struct {
//
// This field is a key for looking up format strings in the locmsg
// catalog.
- Id string `xml:"id" json:"id" vim:"2.5"`
+ Id string `xml:"id" json:"id"`
// Substitution arguments for variables in the localized message.
//
// Substitution variables in the format string identified by `VirtualMachineMessage.id`
// are 1-based indexes into this array. Substitution variable {1}
// corresponds to argument\[0\], etc.
- Argument []AnyType `xml:"argument,omitempty,typeattr" json:"argument,omitempty" vim:"2.5"`
+ Argument []AnyType `xml:"argument,omitempty,typeattr" json:"argument,omitempty"`
// Text in session locale.
//
// Use `SessionManager*.*SessionManager.SetLocale` to
@@ -89377,8 +89858,8 @@ type VirtualMachineMessage struct {
}
func init() {
- minAPIVersionForType["VirtualMachineMessage"] = "2.5"
t["VirtualMachineMessage"] = reflect.TypeOf((*VirtualMachineMessage)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMessage"] = "2.5"
}
// VmMetadata is a pair of VM ID and opaque metadata.
@@ -89387,17 +89868,17 @@ type VirtualMachineMetadataManagerVmMetadata struct {
// Datastore URL-based ID for VM, for example,
// "\[datastore1\] SomeVM/SomeVM.vmx".
- VmId string `xml:"vmId" json:"vmId" vim:"5.5"`
+ VmId string `xml:"vmId" json:"vmId"`
// Opaque metadata for the VM identified by vmId.
//
// If no
// value is supplied, the entry for this VM is removed.
- Metadata string `xml:"metadata,omitempty" json:"metadata,omitempty" vim:"5.5"`
+ Metadata string `xml:"metadata,omitempty" json:"metadata,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadata"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadata"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadata)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadata"] = "5.5"
}
// VmMetadataInput specifies the operation and metadata for a
@@ -89408,14 +89889,14 @@ type VirtualMachineMetadataManagerVmMetadataInput struct {
// The input operation type.
//
// The values come from `VirtualMachineMetadataManagerVmMetadataOp_enum`
- Operation string `xml:"operation" json:"operation" vim:"5.5"`
+ Operation string `xml:"operation" json:"operation"`
// the VM and optional metadata
- VmMetadata VirtualMachineMetadataManagerVmMetadata `xml:"vmMetadata" json:"vmMetadata" vim:"5.5"`
+ VmMetadata VirtualMachineMetadataManagerVmMetadata `xml:"vmMetadata" json:"vmMetadata"`
}
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataInput"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadataInput"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataInput)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataInput"] = "5.5"
}
// VmMetadataOwner defines the namespace for an owner
@@ -89428,12 +89909,12 @@ type VirtualMachineMetadataManagerVmMetadataOwner struct {
// from `VirtualMachineMetadataManagerVmMetadataOwnerOwner_enum` for vSAN datastores. Otherwise, the
// owner field is interpreted by the implementation based on
// the datastore type.
- Name string `xml:"name" json:"name" vim:"5.5"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwner"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadataOwner"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataOwner)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataOwner"] = "5.5"
}
// A list of VmMetadataResults are returned for successful and
@@ -89444,15 +89925,15 @@ type VirtualMachineMetadataManagerVmMetadataResult struct {
DynamicData
// The VM-specific metadata
- VmMetadata VirtualMachineMetadataManagerVmMetadata `xml:"vmMetadata" json:"vmMetadata" vim:"5.5"`
+ VmMetadata VirtualMachineMetadataManagerVmMetadata `xml:"vmMetadata" json:"vmMetadata"`
// MethodFault set for errors in getting or setting
// the VmMetadata.
- Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"5.5"`
+ Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataResult"] = "5.5"
t["VirtualMachineMetadataManagerVmMetadataResult"] = reflect.TypeOf((*VirtualMachineMetadataManagerVmMetadataResult)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMetadataManagerVmMetadataResult"] = "5.5"
}
// The `VirtualMachineMksConnection` object describes an MKS style connection
@@ -89462,8 +89943,8 @@ type VirtualMachineMksConnection struct {
}
func init() {
- minAPIVersionForType["VirtualMachineMksConnection"] = "7.0.1.0"
t["VirtualMachineMksConnection"] = reflect.TypeOf((*VirtualMachineMksConnection)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineMksConnection"] = "7.0.1.0"
}
// Deprecated as of vSphere API 4.1, use `VirtualMachineTicket`
@@ -89554,14 +90035,14 @@ type VirtualMachinePciPassthroughInfo struct {
// Details of the PCI device, including vendor, class and
// device identification information.
- PciDevice HostPciDevice `xml:"pciDevice" json:"pciDevice" vim:"4.0"`
+ PciDevice HostPciDevice `xml:"pciDevice" json:"pciDevice"`
// The ID of the system the PCI device is attached to.
- SystemId string `xml:"systemId" json:"systemId" vim:"4.0"`
+ SystemId string `xml:"systemId" json:"systemId"`
}
func init() {
- minAPIVersionForType["VirtualMachinePciPassthroughInfo"] = "4.0"
t["VirtualMachinePciPassthroughInfo"] = reflect.TypeOf((*VirtualMachinePciPassthroughInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachinePciPassthroughInfo"] = "4.0"
}
// Description of a gpu PCI device that can be shared with a virtual machine.
@@ -89569,12 +90050,12 @@ type VirtualMachinePciSharedGpuPassthroughInfo struct {
VirtualMachineTargetInfo
// The VGPU corresponding to this GPU passthrough device.
- Vgpu string `xml:"vgpu" json:"vgpu" vim:"6.0"`
+ Vgpu string `xml:"vgpu" json:"vgpu"`
}
func init() {
- minAPIVersionForType["VirtualMachinePciSharedGpuPassthroughInfo"] = "6.0"
t["VirtualMachinePciSharedGpuPassthroughInfo"] = reflect.TypeOf((*VirtualMachinePciSharedGpuPassthroughInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachinePciSharedGpuPassthroughInfo"] = "6.0"
}
// The PrecisionClockInfo data object type describes available host
@@ -89587,12 +90068,12 @@ type VirtualMachinePrecisionClockInfo struct {
//
// Used for specifying protocol in
// `VirtualPrecisionClockSystemClockBackingInfo`.
- SystemClockProtocol string `xml:"systemClockProtocol,omitempty" json:"systemClockProtocol,omitempty" vim:"7.0"`
+ SystemClockProtocol string `xml:"systemClockProtocol,omitempty" json:"systemClockProtocol,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachinePrecisionClockInfo"] = "7.0"
t["VirtualMachinePrecisionClockInfo"] = reflect.TypeOf((*VirtualMachinePrecisionClockInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachinePrecisionClockInfo"] = "7.0"
}
// The `VirtualMachineProfileDetails` data object type provides details of the policy
@@ -89601,15 +90082,15 @@ type VirtualMachineProfileDetails struct {
DynamicData
// Storage profile associated with Virtual Machine's home directory.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"6.7"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
// An optional list that allows specifying details of the policy associated
// with virutual disks.
- DiskProfileDetails []VirtualMachineProfileDetailsDiskProfileDetails `xml:"diskProfileDetails,omitempty" json:"diskProfileDetails,omitempty" vim:"6.7"`
+ DiskProfileDetails []VirtualMachineProfileDetailsDiskProfileDetails `xml:"diskProfileDetails,omitempty" json:"diskProfileDetails,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineProfileDetails"] = "6.7"
t["VirtualMachineProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetails)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineProfileDetails"] = "6.7"
}
// Details of the policies associated with Virtual Disks.
@@ -89617,14 +90098,14 @@ type VirtualMachineProfileDetailsDiskProfileDetails struct {
DynamicData
// Virtual disk ID.
- DiskId int32 `xml:"diskId" json:"diskId" vim:"6.7"`
+ DiskId int32 `xml:"diskId" json:"diskId"`
// Storage profile associated with the Virtual Disk.
- Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty" vim:"6.7"`
+ Profile []BaseVirtualMachineProfileSpec `xml:"profile,omitempty,typeattr" json:"profile,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineProfileDetailsDiskProfileDetails"] = "6.7"
t["VirtualMachineProfileDetailsDiskProfileDetails"] = reflect.TypeOf((*VirtualMachineProfileDetailsDiskProfileDetails)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineProfileDetailsDiskProfileDetails"] = "6.7"
}
// The extensible data object type encapsulates additional data specific
@@ -89643,15 +90124,15 @@ type VirtualMachineProfileRawData struct {
DynamicData
// vSphere Extension Identifier
- ExtensionKey string `xml:"extensionKey" json:"extensionKey" vim:"5.5"`
+ ExtensionKey string `xml:"extensionKey" json:"extensionKey"`
// Extension-specific additional data to be associated
// with Virtual machine and its devices.
- ObjectData string `xml:"objectData,omitempty" json:"objectData,omitempty" vim:"5.5"`
+ ObjectData string `xml:"objectData,omitempty" json:"objectData,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineProfileRawData"] = "5.5"
t["VirtualMachineProfileRawData"] = reflect.TypeOf((*VirtualMachineProfileRawData)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineProfileRawData"] = "5.5"
}
// The ProfileSpec data object is used to specify the Storage Policy to be
@@ -89661,8 +90142,8 @@ type VirtualMachineProfileSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineProfileSpec"] = "5.5"
t["VirtualMachineProfileSpec"] = reflect.TypeOf((*VirtualMachineProfileSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineProfileSpec"] = "5.5"
}
// Data object which represents relations between a
@@ -89673,14 +90154,14 @@ type VirtualMachinePropertyRelation struct {
DynamicData
// The target property and its value
- Key DynamicProperty `xml:"key" json:"key" vim:"6.7"`
+ Key DynamicProperty `xml:"key" json:"key"`
// The related properties and their values
- Relations []DynamicProperty `xml:"relations,omitempty" json:"relations,omitempty" vim:"6.7"`
+ Relations []DynamicProperty `xml:"relations,omitempty" json:"relations,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachinePropertyRelation"] = "6.7"
t["VirtualMachinePropertyRelation"] = reflect.TypeOf((*VirtualMachinePropertyRelation)(nil)).Elem()
+ minAPIVersionForType["VirtualMachinePropertyRelation"] = "6.7"
}
// This data object type describes the question that is currently
@@ -89846,10 +90327,10 @@ type VirtualMachineQuickStatsMemoryTierStats struct {
//
// See `HostMemoryTierType_enum` for supported
// values.
- MemoryTierType string `xml:"memoryTierType" json:"memoryTierType" vim:"7.0.3.0"`
+ MemoryTierType string `xml:"memoryTierType" json:"memoryTierType"`
// Memory access bandwidth usage for the reads of the VM on this tier in
// MBps.
- ReadBandwidth int64 `xml:"readBandwidth" json:"readBandwidth" vim:"7.0.3.0"`
+ ReadBandwidth int64 `xml:"readBandwidth" json:"readBandwidth"`
}
func init() {
@@ -90061,8 +90542,8 @@ type VirtualMachineRelocateSpecDiskLocatorBackingSpec struct {
}
func init() {
- minAPIVersionForType["VirtualMachineRelocateSpecDiskLocatorBackingSpec"] = "7.0"
t["VirtualMachineRelocateSpecDiskLocatorBackingSpec"] = reflect.TypeOf((*VirtualMachineRelocateSpecDiskLocatorBackingSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineRelocateSpecDiskLocatorBackingSpec"] = "7.0"
}
// The RuntimeInfo data object type provides information about
@@ -90266,9 +90747,9 @@ type VirtualMachineRuntimeInfo struct {
// Specifies the maximum time duration the application may take to
// prepare for the operation after it has been notified.
// This property is set only for powered on VMs.
- OpNotificationTimeout int64 `xml:"opNotificationTimeout,omitempty" json:"opNotificationTimeout,omitempty"`
+ OpNotificationTimeout int64 `xml:"opNotificationTimeout,omitempty" json:"opNotificationTimeout,omitempty" vim:"8.0.0.1"`
// Indicates whether there is active IOMMU domain in the current VM.
- IommuActive *bool `xml:"iommuActive" json:"iommuActive,omitempty"`
+ IommuActive *bool `xml:"iommuActive" json:"iommuActive,omitempty" vim:"8.0.1.0"`
}
func init() {
@@ -90292,12 +90773,12 @@ type VirtualMachineRuntimeInfoDasProtectionState struct {
// for this VM, vSphere HA will monitor the heartbeats of the
// VM and reset the VM when needed, as dictated by the configured
// policy settings.
- DasProtected bool `xml:"dasProtected" json:"dasProtected" vim:"5.0"`
+ DasProtected bool `xml:"dasProtected" json:"dasProtected"`
}
func init() {
- minAPIVersionForType["VirtualMachineRuntimeInfoDasProtectionState"] = "5.0"
t["VirtualMachineRuntimeInfoDasProtectionState"] = reflect.TypeOf((*VirtualMachineRuntimeInfoDasProtectionState)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineRuntimeInfoDasProtectionState"] = "5.0"
}
// The ScsiDiskDeviceInfo class contains detailed information about a specific
@@ -90363,28 +90844,28 @@ type VirtualMachineSgxInfo struct {
DynamicData
// Size of vEPC, in megabytes.
- EpcSize int64 `xml:"epcSize" json:"epcSize" vim:"7.0"`
+ EpcSize int64 `xml:"epcSize" json:"epcSize"`
// FLC mode for the virtual machine.
//
// The set of possible values are
// described in `VirtualMachineSgxInfoFlcModes_enum`. If no value is specified,
// then "unlocked" will be used.
- FlcMode string `xml:"flcMode,omitempty" json:"flcMode,omitempty" vim:"7.0"`
+ FlcMode string `xml:"flcMode,omitempty" json:"flcMode,omitempty"`
// Public key hash of the provider launch enclave.
//
// This is the SHA256
// digest of the SIGSTRUCT.MODULUS(MR\_SIGNER) of the provider launch
// enclave. This hash must only be provided when the launch enclave mode is
// "locked", for the other cases the hash is ignored.
- LePubKeyHash string `xml:"lePubKeyHash,omitempty" json:"lePubKeyHash,omitempty" vim:"7.0"`
+ LePubKeyHash string `xml:"lePubKeyHash,omitempty" json:"lePubKeyHash,omitempty"`
// Indicates whether or not a virtual machine requires remote
// attestation.
- RequireAttestation *bool `xml:"requireAttestation" json:"requireAttestation,omitempty"`
+ RequireAttestation *bool `xml:"requireAttestation" json:"requireAttestation,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualMachineSgxInfo"] = "7.0"
t["VirtualMachineSgxInfo"] = reflect.TypeOf((*VirtualMachineSgxInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSgxInfo"] = "7.0"
}
// Description of Intel Software Guard Extensions information.
@@ -90392,22 +90873,22 @@ type VirtualMachineSgxTargetInfo struct {
VirtualMachineTargetInfo
// Maximum size, in bytes, of EPC available on the compute resource.
- MaxEpcSize int64 `xml:"maxEpcSize" json:"maxEpcSize" vim:"7.0"`
+ MaxEpcSize int64 `xml:"maxEpcSize" json:"maxEpcSize"`
// FLC modes available in the compute resource.
//
// The set of possible values
// are described in `VirtualMachineSgxInfoFlcModes_enum`.
- FlcModes []string `xml:"flcModes,omitempty" json:"flcModes,omitempty" vim:"7.0"`
+ FlcModes []string `xml:"flcModes,omitempty" json:"flcModes,omitempty"`
// Public key hashes of the provider launch enclaves available in the
// compute resource.
- LePubKeyHashes []string `xml:"lePubKeyHashes,omitempty" json:"lePubKeyHashes,omitempty" vim:"7.0"`
+ LePubKeyHashes []string `xml:"lePubKeyHashes,omitempty" json:"lePubKeyHashes,omitempty"`
// Whether the host/cluster supports requiring SGX remote attestation.
- RequireAttestationSupported *bool `xml:"requireAttestationSupported" json:"requireAttestationSupported,omitempty"`
+ RequireAttestationSupported *bool `xml:"requireAttestationSupported" json:"requireAttestationSupported,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualMachineSgxTargetInfo"] = "7.0"
t["VirtualMachineSgxTargetInfo"] = reflect.TypeOf((*VirtualMachineSgxTargetInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSgxTargetInfo"] = "7.0"
}
// The SnapshotInfo data object type provides all the information about the
@@ -90463,7 +90944,7 @@ type VirtualMachineSnapshotTree struct {
// manifest.
//
// Available for certain quiesced snapshots only.
- BackupManifest string `xml:"backupManifest,omitempty" json:"backupManifest,omitempty" vim:"4.0"`
+ BackupManifest string `xml:"backupManifest,omitempty" json:"backupManifest,omitempty" vim:"2.5 U2"`
// The snapshot data for all snapshots for which this snapshot is the parent.
ChildSnapshotList []VirtualMachineSnapshotTree `xml:"childSnapshotList,omitempty" json:"childSnapshotList,omitempty"`
// Deprecated as of vSphere API 6.0.
@@ -90484,15 +90965,15 @@ type VirtualMachineSoundInfo struct {
}
func init() {
- minAPIVersionForType["VirtualMachineSoundInfo"] = "2.5"
t["VirtualMachineSoundInfo"] = reflect.TypeOf((*VirtualMachineSoundInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSoundInfo"] = "2.5"
}
type VirtualMachineSriovDevicePoolInfo struct {
DynamicData
// To be used for extending to other device types
- Key string `xml:"key" json:"key" vim:"6.5"`
+ Key string `xml:"key" json:"key"`
}
func init() {
@@ -90505,17 +90986,17 @@ type VirtualMachineSriovInfo struct {
// Indicates whether corresponding PCI device is a virtual function
// instantiated by a SR-IOV capable device.
- VirtualFunction bool `xml:"virtualFunction" json:"virtualFunction" vim:"5.5"`
+ VirtualFunction bool `xml:"virtualFunction" json:"virtualFunction"`
// The name of the physical nic that is represented by a SR-IOV
// capable physical function.
- Pnic string `xml:"pnic,omitempty" json:"pnic,omitempty" vim:"5.5"`
+ Pnic string `xml:"pnic,omitempty" json:"pnic,omitempty"`
// SRIOV DevicePool information
DevicePool BaseVirtualMachineSriovDevicePoolInfo `xml:"devicePool,omitempty,typeattr" json:"devicePool,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["VirtualMachineSriovInfo"] = "5.5"
t["VirtualMachineSriovInfo"] = reflect.TypeOf((*VirtualMachineSriovInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSriovInfo"] = "5.5"
}
// This class is networking specific SR-IOV device pool info
@@ -90523,14 +91004,14 @@ type VirtualMachineSriovNetworkDevicePoolInfo struct {
VirtualMachineSriovDevicePoolInfo
// vSwitch key
- SwitchKey string `xml:"switchKey,omitempty" json:"switchKey,omitempty" vim:"6.5"`
+ SwitchKey string `xml:"switchKey,omitempty" json:"switchKey,omitempty"`
// DVSwitch Uuid
- SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty" vim:"6.5"`
+ SwitchUuid string `xml:"switchUuid,omitempty" json:"switchUuid,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineSriovNetworkDevicePoolInfo"] = "6.5"
t["VirtualMachineSriovNetworkDevicePoolInfo"] = reflect.TypeOf((*VirtualMachineSriovNetworkDevicePoolInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineSriovNetworkDevicePoolInfo"] = "6.5"
}
// Information about the amount of storage used by a virtual machine across
@@ -90546,14 +91027,14 @@ type VirtualMachineStorageInfo struct {
// `VirtualMachineUsageOnDatastore.committed`.
//
// See also `VirtualMachineStorageSummary.committed`.
- PerDatastoreUsage []VirtualMachineUsageOnDatastore `xml:"perDatastoreUsage,omitempty" json:"perDatastoreUsage,omitempty" vim:"4.0"`
+ PerDatastoreUsage []VirtualMachineUsageOnDatastore `xml:"perDatastoreUsage,omitempty" json:"perDatastoreUsage,omitempty"`
// Time when values in this structure were last updated.
- Timestamp time.Time `xml:"timestamp" json:"timestamp" vim:"4.0"`
+ Timestamp time.Time `xml:"timestamp" json:"timestamp"`
}
func init() {
- minAPIVersionForType["VirtualMachineStorageInfo"] = "4.0"
t["VirtualMachineStorageInfo"] = reflect.TypeOf((*VirtualMachineStorageInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineStorageInfo"] = "4.0"
}
// A subset of the storage information of this virtual machine.
@@ -90568,24 +91049,24 @@ type VirtualMachineStorageSummary struct {
// Essentially an aggregate of the property
// `VirtualMachineUsageOnDatastore.committed` across all
// datastores that this virtual machine is located on.
- Committed int64 `xml:"committed" json:"committed" vim:"4.0"`
+ Committed int64 `xml:"committed" json:"committed"`
// Additional storage space, in bytes, potentially used by this virtual machine
// on all datastores.
//
// Essentially an aggregate of the property
// `VirtualMachineUsageOnDatastore.uncommitted` across all
// datastores that this virtual machine is located on.
- Uncommitted int64 `xml:"uncommitted" json:"uncommitted" vim:"4.0"`
+ Uncommitted int64 `xml:"uncommitted" json:"uncommitted"`
// Total storage space, in bytes, occupied by the virtual machine across
// all datastores, that is not shared with any other virtual machine.
- Unshared int64 `xml:"unshared" json:"unshared" vim:"4.0"`
+ Unshared int64 `xml:"unshared" json:"unshared"`
// Time when values in this structure were last updated.
- Timestamp time.Time `xml:"timestamp" json:"timestamp" vim:"4.0"`
+ Timestamp time.Time `xml:"timestamp" json:"timestamp"`
}
func init() {
- minAPIVersionForType["VirtualMachineStorageSummary"] = "4.0"
t["VirtualMachineStorageSummary"] = reflect.TypeOf((*VirtualMachineStorageSummary)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineStorageSummary"] = "4.0"
}
// The summary data object type encapsulates a typical set of virtual machine
@@ -90689,26 +91170,26 @@ type VirtualMachineTicket struct {
//
// This is used as the username and password for the MKS
// connection.
- Ticket string `xml:"ticket" json:"ticket" vim:"4.1"`
+ Ticket string `xml:"ticket" json:"ticket"`
// The name of the configuration file for the virtual machine.
- CfgFile string `xml:"cfgFile" json:"cfgFile" vim:"4.1"`
+ CfgFile string `xml:"cfgFile" json:"cfgFile"`
// The host with which to establish a connection.
//
// If the host is not specified,
// it is assumed that the requesting entity knows the appropriate host with which
// to connect.
- Host string `xml:"host,omitempty" json:"host,omitempty" vim:"4.1"`
+ Host string `xml:"host,omitempty" json:"host,omitempty"`
// The port number to use.
//
// If the port is not specified,
// it is assumed that the requesting entity knows the appropriate port to
// use when making a new connection.
- Port int32 `xml:"port,omitempty" json:"port,omitempty" vim:"4.1"`
+ Port int32 `xml:"port,omitempty" json:"port,omitempty"`
// The expected SHA1 thumbprint of the SSL cert of the host to which we
// are connecting.
//
// This field can be enabled or disabled on the host.
- SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty" vim:"4.1"`
+ SslThumbprint string `xml:"sslThumbprint,omitempty" json:"sslThumbprint,omitempty"`
// List of expected thumbprints of the certificate of the host to
// which we are connecting.
//
@@ -90716,7 +91197,7 @@ type VirtualMachineTicket struct {
// to include only certain hash types. The default configuration
// includes all hash types that are considered secure. See vmware.com
// for the current security standards.
- CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty" json:"certThumbprintList,omitempty"`
+ CertThumbprintList []VirtualMachineCertThumbprint `xml:"certThumbprintList,omitempty" json:"certThumbprintList,omitempty" vim:"7.0.3.1"`
// Websocket URL.
//
// Some tickets are "websocket" tickets and are best expressed
@@ -90725,8 +91206,8 @@ type VirtualMachineTicket struct {
}
func init() {
- minAPIVersionForType["VirtualMachineTicket"] = "4.1"
t["VirtualMachineTicket"] = reflect.TypeOf((*VirtualMachineTicket)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineTicket"] = "4.1"
}
// Storage space used by this virtual machine on a particular datastore.
@@ -90736,7 +91217,7 @@ type VirtualMachineUsageOnDatastore struct {
// Reference to datastore for which information is being provided.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"4.0"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// Storage space, in bytes, on this datastore that is actually being used by
// the virtual machine.
//
@@ -90745,7 +91226,7 @@ type VirtualMachineUsageOnDatastore struct {
// on a different datastore (e.g. a virtual disk on another datastore) are not
// included here. `VirtualMachineFileLayoutEx` provides a detailed
// break-up of the committed space.
- Committed int64 `xml:"committed" json:"committed" vim:"4.0"`
+ Committed int64 `xml:"committed" json:"committed"`
// Additional storage space, in bytes, potentially used by the virtual machine
// on this datastore.
//
@@ -90755,15 +91236,15 @@ type VirtualMachineUsageOnDatastore struct {
// If the virtual machine is running off delta disks (for example because
// a snapshot was taken), then only the potential growth of the currently
// used delta-disks is considered.
- Uncommitted int64 `xml:"uncommitted" json:"uncommitted" vim:"4.0"`
+ Uncommitted int64 `xml:"uncommitted" json:"uncommitted"`
// Storage space, in bytes, occupied by the virtual machine on this datastore
// that is not shared with any other virtual machine.
- Unshared int64 `xml:"unshared" json:"unshared" vim:"4.0"`
+ Unshared int64 `xml:"unshared" json:"unshared"`
}
func init() {
- minAPIVersionForType["VirtualMachineUsageOnDatastore"] = "4.0"
t["VirtualMachineUsageOnDatastore"] = reflect.TypeOf((*VirtualMachineUsageOnDatastore)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineUsageOnDatastore"] = "4.0"
}
// This data object contains information about a physical USB device
@@ -90772,35 +91253,35 @@ type VirtualMachineUsbInfo struct {
VirtualMachineTargetInfo
// A user visible name of the USB device.
- Description string `xml:"description" json:"description" vim:"2.5"`
+ Description string `xml:"description" json:"description"`
// The vendor ID of the USB device.
- Vendor int32 `xml:"vendor" json:"vendor" vim:"2.5"`
+ Vendor int32 `xml:"vendor" json:"vendor"`
// The product ID of the USB device.
- Product int32 `xml:"product" json:"product" vim:"2.5"`
+ Product int32 `xml:"product" json:"product"`
// An autoconnect pattern which describes the device's physical
// path.
//
// This is the path to the specific port on the host where the
// USB device is attached.
- PhysicalPath string `xml:"physicalPath" json:"physicalPath" vim:"2.5"`
+ PhysicalPath string `xml:"physicalPath" json:"physicalPath"`
// The device class families.
//
// For possible values see
// `VirtualMachineUsbInfoFamily_enum`
- Family []string `xml:"family,omitempty" json:"family,omitempty" vim:"2.5"`
+ Family []string `xml:"family,omitempty" json:"family,omitempty"`
// The possible device speeds detected by server.
//
// For possible values see
// `VirtualMachineUsbInfoSpeed_enum`
- Speed []string `xml:"speed,omitempty" json:"speed,omitempty" vim:"2.5"`
+ Speed []string `xml:"speed,omitempty" json:"speed,omitempty"`
// Summary information about the virtual machine that is currently
// using this device, if any.
- Summary *VirtualMachineSummary `xml:"summary,omitempty" json:"summary,omitempty" vim:"2.5"`
+ Summary *VirtualMachineSummary `xml:"summary,omitempty" json:"summary,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineUsbInfo"] = "2.5"
t["VirtualMachineUsbInfo"] = reflect.TypeOf((*VirtualMachineUsbInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineUsbInfo"] = "2.5"
}
// VFlashModuleInfo class contains information about a vFlash module
@@ -90809,12 +91290,12 @@ type VirtualMachineVFlashModuleInfo struct {
VirtualMachineTargetInfo
// Information about the vFlash module
- VFlashModule HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption `xml:"vFlashModule" json:"vFlashModule" vim:"5.5"`
+ VFlashModule HostVFlashManagerVFlashCacheConfigInfoVFlashModuleConfigOption `xml:"vFlashModule" json:"vFlashModule"`
}
func init() {
- minAPIVersionForType["VirtualMachineVFlashModuleInfo"] = "5.5"
t["VirtualMachineVFlashModuleInfo"] = reflect.TypeOf((*VirtualMachineVFlashModuleInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVFlashModuleInfo"] = "5.5"
}
// The `VirtualMachineVMCIDevice` data object represents
@@ -90851,7 +91332,7 @@ type VirtualMachineVMCIDevice struct {
// from a snapshot. If you have saved a VMCI device identifier,
// check to see if the value is still valid after power
// operations.
- Id int64 `xml:"id,omitempty" json:"id,omitempty" vim:"4.0"`
+ Id int64 `xml:"id,omitempty" json:"id,omitempty"`
// Deprecated as of vSphere API 5.1. On vSphere 5.1 and later
// platforms, the VMCI device does not support communication with
// other virtual machines. Therefore, this property has no effect
@@ -90866,7 +91347,7 @@ type VirtualMachineVMCIDevice struct {
// with trusted services such as the hypervisor on the host.
//
// If unset, communication is restricted to trusted services only.
- AllowUnrestrictedCommunication *bool `xml:"allowUnrestrictedCommunication" json:"allowUnrestrictedCommunication,omitempty" vim:"4.0"`
+ AllowUnrestrictedCommunication *bool `xml:"allowUnrestrictedCommunication" json:"allowUnrestrictedCommunication,omitempty"`
// Determines if filtering of VMCI communication is enabled for this virtual
// machine.
//
@@ -90879,8 +91360,8 @@ type VirtualMachineVMCIDevice struct {
}
func init() {
- minAPIVersionForType["VirtualMachineVMCIDevice"] = "4.0"
t["VirtualMachineVMCIDevice"] = reflect.TypeOf((*VirtualMachineVMCIDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDevice"] = "2.5 U2"
}
// The `VirtualMachineVMCIDeviceFilterInfo` data object contains an array of filters.
@@ -90895,8 +91376,8 @@ type VirtualMachineVMCIDeviceFilterInfo struct {
}
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceFilterInfo"] = "6.0"
t["VirtualMachineVMCIDeviceFilterInfo"] = reflect.TypeOf((*VirtualMachineVMCIDeviceFilterInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceFilterInfo"] = "6.0"
}
// The `VirtualMachineVMCIDeviceFilterSpec` data object describes a filter based on protocol,
@@ -90910,13 +91391,13 @@ type VirtualMachineVMCIDeviceFilterSpec struct {
// processed in ascending rank order, that is, if rank1 < rank2, then
// rank1 is processed before rank2. The ranks within an array of
// filters should be unique.
- Rank int64 `xml:"rank" json:"rank" vim:"6.0"`
+ Rank int64 `xml:"rank" json:"rank"`
// String value from `VirtualMachineVMCIDeviceAction_enum` enum object.
- Action string `xml:"action" json:"action" vim:"6.0"`
+ Action string `xml:"action" json:"action"`
// String value from `VirtualMachineVMCIDeviceProtocol_enum` enum object
- Protocol string `xml:"protocol" json:"protocol" vim:"6.0"`
+ Protocol string `xml:"protocol" json:"protocol"`
// String value from `VirtualMachineVMCIDeviceDirection_enum` enum object.
- Direction string `xml:"direction" json:"direction" vim:"6.0"`
+ Direction string `xml:"direction" json:"direction"`
// Long value representing the lower destination port boundary.
//
// If unset, the lower destination port boundary is default to the
@@ -90924,7 +91405,7 @@ type VirtualMachineVMCIDeviceFilterSpec struct {
//
// To specify a single port, both lowerDstPortBoundary and
// upperDstPortBoundary shall be set to the same value.
- LowerDstPortBoundary int64 `xml:"lowerDstPortBoundary,omitempty" json:"lowerDstPortBoundary,omitempty" vim:"6.0"`
+ LowerDstPortBoundary int64 `xml:"lowerDstPortBoundary,omitempty" json:"lowerDstPortBoundary,omitempty"`
// Long value representing the upper destination port range.
//
// If unset, the upper destination port boundary is default to the
@@ -90932,12 +91413,12 @@ type VirtualMachineVMCIDeviceFilterSpec struct {
//
// To specify a single port, both lowerDstPortBoundary and
// upperDstPortBoundary shall be set to the same value.
- UpperDstPortBoundary int64 `xml:"upperDstPortBoundary,omitempty" json:"upperDstPortBoundary,omitempty" vim:"6.0"`
+ UpperDstPortBoundary int64 `xml:"upperDstPortBoundary,omitempty" json:"upperDstPortBoundary,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceFilterSpec"] = "6.0"
t["VirtualMachineVMCIDeviceFilterSpec"] = reflect.TypeOf((*VirtualMachineVMCIDeviceFilterSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceFilterSpec"] = "6.0"
}
// The `VirtualMachineVMCIDeviceOption` data object contains the options
@@ -90955,7 +91436,7 @@ type VirtualMachineVMCIDeviceOption struct {
// On vSphere 5.1 and later platforms, the VMCI device does not support
// communication with other virtual machines. Therefore, this property has
// no effect on these platforms.
- AllowUnrestrictedCommunication BoolOption `xml:"allowUnrestrictedCommunication" json:"allowUnrestrictedCommunication" vim:"4.0"`
+ AllowUnrestrictedCommunication BoolOption `xml:"allowUnrestrictedCommunication" json:"allowUnrestrictedCommunication"`
// Filter specification options.
FilterSpecOption *VirtualMachineVMCIDeviceOptionFilterSpecOption `xml:"filterSpecOption,omitempty" json:"filterSpecOption,omitempty" vim:"6.0"`
// Indicates support for VMCI firewall filters and specifies the default
@@ -90968,8 +91449,8 @@ type VirtualMachineVMCIDeviceOption struct {
}
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceOption"] = "4.0"
t["VirtualMachineVMCIDeviceOption"] = reflect.TypeOf((*VirtualMachineVMCIDeviceOption)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceOption"] = "2.5 U2"
}
// Filter specification options.
@@ -90981,22 +91462,22 @@ type VirtualMachineVMCIDeviceOptionFilterSpecOption struct {
DynamicData
// Available actions.
- Action ChoiceOption `xml:"action" json:"action" vim:"6.0"`
+ Action ChoiceOption `xml:"action" json:"action"`
// Available protocols.
- Protocol ChoiceOption `xml:"protocol" json:"protocol" vim:"6.0"`
+ Protocol ChoiceOption `xml:"protocol" json:"protocol"`
// Available directions.
- Direction ChoiceOption `xml:"direction" json:"direction" vim:"6.0"`
+ Direction ChoiceOption `xml:"direction" json:"direction"`
// Minimum, maximum and default values for lower destination port
// boundary.
- LowerDstPortBoundary LongOption `xml:"lowerDstPortBoundary" json:"lowerDstPortBoundary" vim:"6.0"`
+ LowerDstPortBoundary LongOption `xml:"lowerDstPortBoundary" json:"lowerDstPortBoundary"`
// Minimum, maximum and default values for upper destination port
// boundary.
- UpperDstPortBoundary LongOption `xml:"upperDstPortBoundary" json:"upperDstPortBoundary" vim:"6.0"`
+ UpperDstPortBoundary LongOption `xml:"upperDstPortBoundary" json:"upperDstPortBoundary"`
}
func init() {
- minAPIVersionForType["VirtualMachineVMCIDeviceOptionFilterSpecOption"] = "6.0"
t["VirtualMachineVMCIDeviceOptionFilterSpecOption"] = reflect.TypeOf((*VirtualMachineVMCIDeviceOptionFilterSpecOption)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMCIDeviceOptionFilterSpecOption"] = "6.0"
}
// Deprecated as of vSphere API 6.0. On vSphere 6.0 and later
@@ -91009,8 +91490,23 @@ type VirtualMachineVMIROM struct {
}
func init() {
- minAPIVersionForType["VirtualMachineVMIROM"] = "2.5"
t["VirtualMachineVMIROM"] = reflect.TypeOf((*VirtualMachineVMIROM)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMIROM"] = "2.5"
+}
+
+// Description of VMotion Stun Time.
+type VirtualMachineVMotionStunTimeInfo struct {
+ VirtualMachineTargetInfo
+
+ // Migration bandwidth in Mbps
+ MigrationBW int64 `xml:"migrationBW" json:"migrationBW"`
+ // Stun Time in seconds
+ StunTime int64 `xml:"stunTime" json:"stunTime"`
+}
+
+func init() {
+ t["VirtualMachineVMotionStunTimeInfo"] = reflect.TypeOf((*VirtualMachineVMotionStunTimeInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVMotionStunTimeInfo"] = "8.0.2.0"
}
// Vcpu configuration.
@@ -91031,12 +91527,12 @@ type VirtualMachineVcpuConfig struct {
// The only allowed levels for vcpu Latency sensitivity
// are `high` or
// `normal`
- LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty" vim:"7.0"`
+ LatencySensitivity *LatencySensitivity `xml:"latencySensitivity,omitempty" json:"latencySensitivity,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineVcpuConfig"] = "7.0"
t["VirtualMachineVcpuConfig"] = reflect.TypeOf((*VirtualMachineVcpuConfig)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVcpuConfig"] = "7.0"
}
// Description of a PCI vendor device group device.
@@ -91055,6 +91551,7 @@ type VirtualMachineVendorDeviceGroupInfo struct {
func init() {
t["VirtualMachineVendorDeviceGroupInfo"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVendorDeviceGroupInfo"] = "8.0.0.1"
}
// Class describing a component device within this vendor device group.
@@ -91077,6 +91574,7 @@ type VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo struct {
func init() {
t["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = reflect.TypeOf((*VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVendorDeviceGroupInfoComponentDeviceInfo"] = "8.0.0.1"
}
// Description of PCI vGPU device and its capabilities.
@@ -91084,27 +91582,27 @@ type VirtualMachineVgpuDeviceInfo struct {
VirtualMachineTargetInfo
// The vGPU device name.
- DeviceName string `xml:"deviceName" json:"deviceName" vim:"7.0.3.0"`
+ DeviceName string `xml:"deviceName" json:"deviceName"`
// A well-known unique identifier for the device.
//
// It concatenates the
// 16-bit PCI vendor id in lower bits followed by 16-bit PCI device id.
- DeviceVendorId int64 `xml:"deviceVendorId" json:"deviceVendorId" vim:"7.0.3.0"`
+ DeviceVendorId int64 `xml:"deviceVendorId" json:"deviceVendorId"`
// The maximum framebuffer size in gibibytes.
- MaxFbSizeInGib int64 `xml:"maxFbSizeInGib" json:"maxFbSizeInGib" vim:"7.0.3.0"`
+ MaxFbSizeInGib int64 `xml:"maxFbSizeInGib" json:"maxFbSizeInGib"`
// Indicate whether device is time-sliced capable.
- TimeSlicedCapable bool `xml:"timeSlicedCapable" json:"timeSlicedCapable" vim:"7.0.3.0"`
+ TimeSlicedCapable bool `xml:"timeSlicedCapable" json:"timeSlicedCapable"`
// Indicate whether device is Multiple Instance GPU capable.
- MigCapable bool `xml:"migCapable" json:"migCapable" vim:"7.0.3.0"`
+ MigCapable bool `xml:"migCapable" json:"migCapable"`
// Indicate whether device is compute profile capable.
- ComputeProfileCapable bool `xml:"computeProfileCapable" json:"computeProfileCapable" vim:"7.0.3.0"`
+ ComputeProfileCapable bool `xml:"computeProfileCapable" json:"computeProfileCapable"`
// Indicate whether device is quadro profile capable.
- QuadroProfileCapable bool `xml:"quadroProfileCapable" json:"quadroProfileCapable" vim:"7.0.3.0"`
+ QuadroProfileCapable bool `xml:"quadroProfileCapable" json:"quadroProfileCapable"`
}
func init() {
- minAPIVersionForType["VirtualMachineVgpuDeviceInfo"] = "7.0.3.0"
t["VirtualMachineVgpuDeviceInfo"] = reflect.TypeOf((*VirtualMachineVgpuDeviceInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVgpuDeviceInfo"] = "7.0.3.0"
}
// Description of PCI vGPU profile and its attributes.
@@ -91112,24 +91610,26 @@ type VirtualMachineVgpuProfileInfo struct {
VirtualMachineTargetInfo
// The vGPU profile name.
- ProfileName string `xml:"profileName" json:"profileName" vim:"7.0.3.0"`
+ ProfileName string `xml:"profileName" json:"profileName"`
// A well-known unique identifier for the device that supports this
// profile.
//
// It concatenates the 16-bit PCI vendor id in lower bits
// followed by 16-bit PCI device id.
- DeviceVendorId int64 `xml:"deviceVendorId" json:"deviceVendorId" vim:"7.0.3.0"`
+ DeviceVendorId int64 `xml:"deviceVendorId" json:"deviceVendorId"`
// The profile framebuffer size in gibibytes.
- FbSizeInGib int64 `xml:"fbSizeInGib" json:"fbSizeInGib" vim:"7.0.3.0"`
+ FbSizeInGib int64 `xml:"fbSizeInGib" json:"fbSizeInGib"`
// Indicate how this profile is shared within device.
- ProfileSharing string `xml:"profileSharing" json:"profileSharing" vim:"7.0.3.0"`
+ ProfileSharing string `xml:"profileSharing" json:"profileSharing"`
// Indicate class for this profile.
- ProfileClass string `xml:"profileClass" json:"profileClass" vim:"7.0.3.0"`
+ ProfileClass string `xml:"profileClass" json:"profileClass"`
+ // VMotion stun time information for this profile.
+ StunTimeEstimates []VirtualMachineVMotionStunTimeInfo `xml:"stunTimeEstimates,omitempty" json:"stunTimeEstimates,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["VirtualMachineVgpuProfileInfo"] = "7.0.3.0"
t["VirtualMachineVgpuProfileInfo"] = reflect.TypeOf((*VirtualMachineVgpuProfileInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVgpuProfileInfo"] = "7.0.3.0"
}
// The VirtualVideoCard data object type represents a video card in
@@ -91145,19 +91645,19 @@ type VirtualMachineVideoCard struct {
// bounded by the video RAM size of the virtual video card.
// This property can only be updated when the virtual machine is
// powered off.
- NumDisplays int32 `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"4.0"`
+ NumDisplays int32 `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"2.5 U2"`
// Flag to indicate whether the display settings of the host on which the
// virtual machine is running should be used to automatically determine
// the display settings of the virtual machine's video card.
//
// This setting takes effect at virtual machine power-on time. If this
// value is set to TRUE, numDisplays will be ignored.
- UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty" vim:"4.0"`
+ UseAutoDetect *bool `xml:"useAutoDetect" json:"useAutoDetect,omitempty" vim:"2.5 U2"`
// Flag to indicate whether the virtual video card supports 3D functions.
//
// This property can only be updated when the virtual machine is powered
// off.
- Enable3DSupport *bool `xml:"enable3DSupport" json:"enable3DSupport,omitempty" vim:"4.0"`
+ Enable3DSupport *bool `xml:"enable3DSupport" json:"enable3DSupport,omitempty" vim:"2.5 U2"`
// Indicate how the virtual video device renders 3D graphics.
//
// The virtual video device can use hardware acceleration and software
@@ -91211,6 +91711,7 @@ type VirtualMachineVirtualDeviceGroups struct {
func init() {
t["VirtualMachineVirtualDeviceGroups"] = reflect.TypeOf((*VirtualMachineVirtualDeviceGroups)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualDeviceGroups"] = "8.0.0.1"
}
// Base device group type.
@@ -91265,6 +91766,7 @@ type VirtualMachineVirtualDeviceSwap struct {
func init() {
t["VirtualMachineVirtualDeviceSwap"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwap)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualDeviceSwap"] = "8.0.0.1"
}
// Information for the device swap operation.
@@ -91291,6 +91793,7 @@ type VirtualMachineVirtualDeviceSwapDeviceSwapInfo struct {
func init() {
t["VirtualMachineVirtualDeviceSwapDeviceSwapInfo"] = reflect.TypeOf((*VirtualMachineVirtualDeviceSwapDeviceSwapInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualDeviceSwapDeviceSwapInfo"] = "8.0.0.1"
}
// This data object describes the virtual NUMA configuration for
@@ -91319,6 +91822,7 @@ type VirtualMachineVirtualNuma struct {
func init() {
t["VirtualMachineVirtualNuma"] = reflect.TypeOf((*VirtualMachineVirtualNuma)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualNuma"] = "8.0.0.1"
}
// vNUMA: This is read-only data for ConfigInfo since this portion is
@@ -91343,6 +91847,7 @@ type VirtualMachineVirtualNumaInfo struct {
func init() {
t["VirtualMachineVirtualNumaInfo"] = reflect.TypeOf((*VirtualMachineVirtualNumaInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualNumaInfo"] = "8.0.0.1"
}
// Virtual Persistent Memory configuration for the VM.
@@ -91358,12 +91863,12 @@ type VirtualMachineVirtualPMem struct {
// Property is currently only applicable to VMs with virtual NVDIMMs and not
// applicable to vPMem disks.
// Setting this property will fail if the VM has existing snapshots.
- SnapshotMode string `xml:"snapshotMode,omitempty" json:"snapshotMode,omitempty" vim:"7.0.3.0"`
+ SnapshotMode string `xml:"snapshotMode,omitempty" json:"snapshotMode,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineVirtualPMem"] = "7.0.3.0"
t["VirtualMachineVirtualPMem"] = reflect.TypeOf((*VirtualMachineVirtualPMem)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineVirtualPMem"] = "7.0.3.0"
}
// This data object type encapsulates configuration settings
@@ -91376,24 +91881,24 @@ type VirtualMachineWindowsQuiesceSpec struct {
//
// See VSS\_BACKUP\_TYPE on MSDN:
// https://msdn.microsoft.com/en-us/library/aa384679(v=vs.85).aspx
- VssBackupType int32 `xml:"vssBackupType,omitempty" json:"vssBackupType,omitempty" vim:"6.5"`
+ VssBackupType int32 `xml:"vssBackupType,omitempty" json:"vssBackupType,omitempty"`
// The property to indicate if a bootable system state during VSS backup
// to be performed on the virtual machine.
- VssBootableSystemState *bool `xml:"vssBootableSystemState" json:"vssBootableSystemState,omitempty" vim:"6.5"`
+ VssBootableSystemState *bool `xml:"vssBootableSystemState" json:"vssBootableSystemState,omitempty"`
// The property to indicate if partial file support is enabled during VSS
// backup to be performed on the virtual machine.
- VssPartialFileSupport *bool `xml:"vssPartialFileSupport" json:"vssPartialFileSupport,omitempty" vim:"6.5"`
+ VssPartialFileSupport *bool `xml:"vssPartialFileSupport" json:"vssPartialFileSupport,omitempty"`
// The property to indicate what context of VSS backup operation to be
// performed on the virtual machine.
//
// For the list of supported values,
// see `VirtualMachineWindowsQuiesceSpecVssBackupContext_enum`
- VssBackupContext string `xml:"vssBackupContext,omitempty" json:"vssBackupContext,omitempty" vim:"6.5"`
+ VssBackupContext string `xml:"vssBackupContext,omitempty" json:"vssBackupContext,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualMachineWindowsQuiesceSpec"] = "6.5"
t["VirtualMachineWindowsQuiesceSpec"] = reflect.TypeOf((*VirtualMachineWindowsQuiesceSpec)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineWindowsQuiesceSpec"] = "6.5"
}
// Data structure used by wipeDisk to return the amount of disk space that
@@ -91403,14 +91908,14 @@ type VirtualMachineWipeResult struct {
DynamicData
// The disk id for the disk that was wiped.
- DiskId int32 `xml:"diskId" json:"diskId" vim:"5.1"`
+ DiskId int32 `xml:"diskId" json:"diskId"`
// The amount of shrinkable disk space in kB.
- ShrinkableDiskSpace int64 `xml:"shrinkableDiskSpace" json:"shrinkableDiskSpace" vim:"5.1"`
+ ShrinkableDiskSpace int64 `xml:"shrinkableDiskSpace" json:"shrinkableDiskSpace"`
}
func init() {
- minAPIVersionForType["VirtualMachineWipeResult"] = "5.1"
t["VirtualMachineWipeResult"] = reflect.TypeOf((*VirtualMachineWipeResult)(nil)).Elem()
+ minAPIVersionForType["VirtualMachineWipeResult"] = "5.1"
}
// The Virtual NVDIMM device.
@@ -91421,14 +91926,14 @@ type VirtualNVDIMM struct {
//
// If backing is inaccessible, then
// capacity is reported as 0.
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB" vim:"6.7"`
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
// NVDIMM device's configured size in MiB.
ConfiguredCapacityInMB int64 `xml:"configuredCapacityInMB,omitempty" json:"configuredCapacityInMB,omitempty" vim:"7.0.2.0"`
}
func init() {
- minAPIVersionForType["VirtualNVDIMM"] = "6.7"
t["VirtualNVDIMM"] = reflect.TypeOf((*VirtualNVDIMM)(nil)).Elem()
+ minAPIVersionForType["VirtualNVDIMM"] = "6.7"
}
// The `VirtualNVDIMMBackingInfo`
data object type
@@ -91438,19 +91943,19 @@ type VirtualNVDIMMBackingInfo struct {
VirtualDeviceFileBackingInfo
// Parent object in snapshot chain.
- Parent *VirtualNVDIMMBackingInfo `xml:"parent,omitempty" json:"parent,omitempty" vim:"6.7"`
+ Parent *VirtualNVDIMMBackingInfo `xml:"parent,omitempty" json:"parent,omitempty"`
// The change ID of the virtual NVDIMM for the corresponding
// snapshot of virtual machine.
//
// This can be used to track
// incremental changes.
// See `VirtualMachine.QueryChangedDiskAreas`.
- ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty" vim:"6.7"`
+ ChangeId string `xml:"changeId,omitempty" json:"changeId,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualNVDIMMBackingInfo"] = "6.7"
t["VirtualNVDIMMBackingInfo"] = reflect.TypeOf((*VirtualNVDIMMBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualNVDIMMBackingInfo"] = "6.7"
}
// The Virtual NVDIMM controller.
@@ -91459,8 +91964,8 @@ type VirtualNVDIMMController struct {
}
func init() {
- minAPIVersionForType["VirtualNVDIMMController"] = "6.7"
t["VirtualNVDIMMController"] = reflect.TypeOf((*VirtualNVDIMMController)(nil)).Elem()
+ minAPIVersionForType["VirtualNVDIMMController"] = "6.7"
}
// VirtualNVDIMMControllerOption is the data object that contains
@@ -91469,12 +91974,12 @@ type VirtualNVDIMMControllerOption struct {
VirtualControllerOption
// Minimum, maximum and default number of virtual NVDIMM controllers.
- NumNVDIMMControllers IntOption `xml:"numNVDIMMControllers" json:"numNVDIMMControllers" vim:"6.7"`
+ NumNVDIMMControllers IntOption `xml:"numNVDIMMControllers" json:"numNVDIMMControllers"`
}
func init() {
- minAPIVersionForType["VirtualNVDIMMControllerOption"] = "6.7"
t["VirtualNVDIMMControllerOption"] = reflect.TypeOf((*VirtualNVDIMMControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualNVDIMMControllerOption"] = "6.7"
}
// The VirtualNVDIMMOption contains information about
@@ -91484,31 +91989,39 @@ type VirtualNVDIMMOption struct {
VirtualDeviceOption
// Minimum and maximum capacity in MB.
- CapacityInMB LongOption `xml:"capacityInMB" json:"capacityInMB" vim:"6.7"`
+ CapacityInMB LongOption `xml:"capacityInMB" json:"capacityInMB"`
// Option to show if device capacity growth is supported for
// powered off VMs.
- Growable bool `xml:"growable" json:"growable" vim:"6.7"`
+ Growable bool `xml:"growable" json:"growable"`
// Option to show if device capacity growth is supported for
// powered on VMs.
- HotGrowable bool `xml:"hotGrowable" json:"hotGrowable" vim:"6.7"`
+ HotGrowable bool `xml:"hotGrowable" json:"hotGrowable"`
// Option to show capacity growth granularity if growth operation
// is supported in MB.
- GranularityInMB int64 `xml:"granularityInMB" json:"granularityInMB" vim:"6.7"`
+ GranularityInMB int64 `xml:"granularityInMB" json:"granularityInMB"`
}
func init() {
- minAPIVersionForType["VirtualNVDIMMOption"] = "6.7"
t["VirtualNVDIMMOption"] = reflect.TypeOf((*VirtualNVDIMMOption)(nil)).Elem()
+ minAPIVersionForType["VirtualNVDIMMOption"] = "6.7"
}
// The Virtual NVME controller.
type VirtualNVMEController struct {
VirtualController
+
+ // Mode for sharing the SCSI bus.
+ //
+ // The modes are physicalSharing,
+ // and noSharing. See the
+ // `Sharing`
+ // data object type for an explanation of these modes.
+ SharedBus string `xml:"sharedBus,omitempty" json:"sharedBus,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["VirtualNVMEController"] = "6.5"
t["VirtualNVMEController"] = reflect.TypeOf((*VirtualNVMEController)(nil)).Elem()
+ minAPIVersionForType["VirtualNVMEController"] = "6.5"
}
// VirtualNVMEControllerOption is the data object that contains
@@ -91523,12 +92036,16 @@ type VirtualNVMEControllerOption struct {
//
// The number of NVME VirtualDisk instances is
// also limited by the number of available namespaces in the NVME controller.
- NumNVMEDisks IntOption `xml:"numNVMEDisks" json:"numNVMEDisks" vim:"6.5"`
+ NumNVMEDisks IntOption `xml:"numNVMEDisks" json:"numNVMEDisks"`
+ // Supported shared bus modes.
+ //
+ // See `VirtualNVMEControllerSharing_enum` for the list of available modes.
+ Sharing []string `xml:"sharing,omitempty" json:"sharing,omitempty" vim:"8.0.2.0"`
}
func init() {
- minAPIVersionForType["VirtualNVMEControllerOption"] = "6.5"
t["VirtualNVMEControllerOption"] = reflect.TypeOf((*VirtualNVMEControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualNVMEControllerOption"] = "6.5"
}
// The NetConfig data object type contains the networking
@@ -91537,21 +92054,21 @@ type VirtualNicManagerNetConfig struct {
DynamicData
// The NicType of this NetConfig.
- NicType string `xml:"nicType" json:"nicType" vim:"4.0"`
+ NicType string `xml:"nicType" json:"nicType"`
// Whether multiple nics can be selected for this nicType.
- MultiSelectAllowed bool `xml:"multiSelectAllowed" json:"multiSelectAllowed" vim:"4.0"`
+ MultiSelectAllowed bool `xml:"multiSelectAllowed" json:"multiSelectAllowed"`
// List of VirtualNic objects that may be used.
//
// This will be a subset of the list of VirtualNics in
// `HostNetworkInfo.vnic`.
- CandidateVnic []HostVirtualNic `xml:"candidateVnic,omitempty" json:"candidateVnic,omitempty" vim:"4.0"`
+ CandidateVnic []HostVirtualNic `xml:"candidateVnic,omitempty" json:"candidateVnic,omitempty"`
// List of VirtualNic objects that are selected for use.
- SelectedVnic []string `xml:"selectedVnic,omitempty" json:"selectedVnic,omitempty" vim:"4.0"`
+ SelectedVnic []string `xml:"selectedVnic,omitempty" json:"selectedVnic,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualNicManagerNetConfig"] = "4.0"
t["VirtualNicManagerNetConfig"] = reflect.TypeOf((*VirtualNicManagerNetConfig)(nil)).Elem()
+ minAPIVersionForType["VirtualNicManagerNetConfig"] = "4.0"
}
// The VirtualPCIController data object type defines a virtual PCI
@@ -91614,14 +92131,14 @@ type VirtualPCIControllerOption struct {
//
// This is also limited
// by the number of available slots in the PCI controller.
- NumVmciDevices *IntOption `xml:"numVmciDevices,omitempty" json:"numVmciDevices,omitempty" vim:"4.0"`
+ NumVmciDevices *IntOption `xml:"numVmciDevices,omitempty" json:"numVmciDevices,omitempty" vim:"2.5 U2"`
// Defines the minimum, maximum, and default
// number of VirtualPCIPassthrough instances available,
// at any given time, in the PCI controller.
//
// This is also limited
// by the number of available PCI Express slots in the PCI controller.
- NumPCIPassthroughDevices *IntOption `xml:"numPCIPassthroughDevices,omitempty" json:"numPCIPassthroughDevices,omitempty" vim:"4.0"`
+ NumPCIPassthroughDevices *IntOption `xml:"numPCIPassthroughDevices,omitempty" json:"numPCIPassthroughDevices,omitempty" vim:"2.5 U2"`
// Defines the minimum, maximum, and default
// number of VirtualLsiLogicSASController instances available,
// at any given time, in the PCI controller.
@@ -91629,7 +92146,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported SCSI controllers.
- NumSasSCSIControllers *IntOption `xml:"numSasSCSIControllers,omitempty" json:"numSasSCSIControllers,omitempty" vim:"4.0"`
+ NumSasSCSIControllers *IntOption `xml:"numSasSCSIControllers,omitempty" json:"numSasSCSIControllers,omitempty" vim:"2.5 U2"`
// Defines the minimum, maximum, and default
// number of VirtualVmxnet3 ethernet card instances available,
// at any given time, in the PCI controller.
@@ -91637,7 +92154,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported ethernet cards.
- NumVmxnet3EthernetCards *IntOption `xml:"numVmxnet3EthernetCards,omitempty" json:"numVmxnet3EthernetCards,omitempty" vim:"4.0"`
+ NumVmxnet3EthernetCards *IntOption `xml:"numVmxnet3EthernetCards,omitempty" json:"numVmxnet3EthernetCards,omitempty" vim:"2.5 U2"`
// Defines the minimum, maximum, and default
// number of ParaVirtualScsiController instances available,
// at any given time, in the PCI controller.
@@ -91645,7 +92162,7 @@ type VirtualPCIControllerOption struct {
// This is also limited
// by the number of available PCI Express slots in the PCI controller
// as well as the total number of supported SCSI controllers.
- NumParaVirtualSCSIControllers *IntOption `xml:"numParaVirtualSCSIControllers,omitempty" json:"numParaVirtualSCSIControllers,omitempty" vim:"4.0"`
+ NumParaVirtualSCSIControllers *IntOption `xml:"numParaVirtualSCSIControllers,omitempty" json:"numParaVirtualSCSIControllers,omitempty" vim:"2.5 U2"`
// Defines the minimum, maximum, and default
// number of VirtualSATAController instances available,
// at any given time, in the PCI controller.
@@ -91684,8 +92201,8 @@ type VirtualPCIPassthrough struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthrough"] = "4.0"
t["VirtualPCIPassthrough"] = reflect.TypeOf((*VirtualPCIPassthrough)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthrough"] = "4.0"
}
// A tuple of vendorId and deviceId indicating an allowed device
@@ -91697,35 +92214,35 @@ type VirtualPCIPassthroughAllowedDevice struct {
//
// You must use the vendor ID
// retrieved from the vSphere host or cluster.
- VendorId int32 `xml:"vendorId" json:"vendorId" vim:"7.0"`
+ VendorId int32 `xml:"vendorId" json:"vendorId"`
// The device ID of this PCI device.
//
// You must use the device ID
// retrieved from the vSphere host or cluster.
- DeviceId int32 `xml:"deviceId" json:"deviceId" vim:"7.0"`
+ DeviceId int32 `xml:"deviceId" json:"deviceId"`
// The subVendor ID for this PCI device.
//
// If specified, you must use
// the subVendor ID retrieved from the vSphere host or cluster.
// Range of legal values is 0x0 to 0xFFFF.
- SubVendorId int32 `xml:"subVendorId,omitempty" json:"subVendorId,omitempty" vim:"7.0"`
+ SubVendorId int32 `xml:"subVendorId,omitempty" json:"subVendorId,omitempty"`
// The subDevice ID of this PCI device.
//
// If specified, you must use
// the subDevice ID retrieved from the vSphere host or cluster.
// Range of legal values is 0x0 to 0xFFFF.
- SubDeviceId int32 `xml:"subDeviceId,omitempty" json:"subDeviceId,omitempty" vim:"7.0"`
+ SubDeviceId int32 `xml:"subDeviceId,omitempty" json:"subDeviceId,omitempty"`
// The revision ID of this PCI device.
//
// If specified, you must use
// the revision ID retrieved from the vSphere host or cluster.
// Range of legal values is 0x0 to 0xFF.
- RevisionId int16 `xml:"revisionId,omitempty" json:"revisionId,omitempty" vim:"7.0"`
+ RevisionId int16 `xml:"revisionId,omitempty" json:"revisionId,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughAllowedDevice"] = "7.0"
t["VirtualPCIPassthroughAllowedDevice"] = reflect.TypeOf((*VirtualPCIPassthroughAllowedDevice)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughAllowedDevice"] = "7.0"
}
// The VirtualPCIPassthrough.DeviceBackingInfo data object type
@@ -91735,25 +92252,25 @@ type VirtualPCIPassthroughDeviceBackingInfo struct {
VirtualDeviceDeviceBackingInfo
// The name ID of this PCI, composed of "bus:slot.function".
- Id string `xml:"id" json:"id" vim:"4.0"`
+ Id string `xml:"id" json:"id"`
// The device ID of this PCI.
//
// You must use the device ID retrieved
// from the vSphere host (`HostPciDevice`.deviceId), converted
// as is to a string.
- DeviceId string `xml:"deviceId" json:"deviceId" vim:"4.0"`
+ DeviceId string `xml:"deviceId" json:"deviceId"`
// The ID of the system the PCI device is attached to.
- SystemId string `xml:"systemId" json:"systemId" vim:"4.0"`
+ SystemId string `xml:"systemId" json:"systemId"`
// The vendor ID for this PCI device.
//
// You must use the vendor ID retrieved
// from the vSphere host (`HostPciDevice`.vendorId).
- VendorId int16 `xml:"vendorId" json:"vendorId" vim:"4.0"`
+ VendorId int16 `xml:"vendorId" json:"vendorId"`
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughDeviceBackingInfo"] = "4.0"
t["VirtualPCIPassthroughDeviceBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDeviceBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDeviceBackingInfo"] = "4.0"
}
// This data object type describes the options for the
@@ -91763,8 +92280,8 @@ type VirtualPCIPassthroughDeviceBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughDeviceBackingOption"] = "4.0"
t["VirtualPCIPassthroughDeviceBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDeviceBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDeviceBackingOption"] = "4.0"
}
// DVX Device specific information.
@@ -91788,6 +92305,7 @@ type VirtualPCIPassthroughDvxBackingInfo struct {
func init() {
t["VirtualPCIPassthroughDvxBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDvxBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDvxBackingInfo"] = "8.0.0.1"
}
// Describes the options for
@@ -91798,6 +92316,7 @@ type VirtualPCIPassthroughDvxBackingOption struct {
func init() {
t["VirtualPCIPassthroughDvxBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDvxBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDvxBackingOption"] = "8.0.0.1"
}
// The VirtualPCIPassthrough.DynamicBackingInfo data object type
@@ -91809,22 +92328,22 @@ type VirtualPCIPassthroughDynamicBackingInfo struct {
// The list of allowed devices for use with a Dynamic DirectPath
// device.
- AllowedDevice []VirtualPCIPassthroughAllowedDevice `xml:"allowedDevice,omitempty" json:"allowedDevice,omitempty" vim:"7.0"`
+ AllowedDevice []VirtualPCIPassthroughAllowedDevice `xml:"allowedDevice,omitempty" json:"allowedDevice,omitempty"`
// An optional label.
//
// If set, the device must also have the same
// customLabel attribute set.
- CustomLabel string `xml:"customLabel,omitempty" json:"customLabel,omitempty" vim:"7.0"`
+ CustomLabel string `xml:"customLabel,omitempty" json:"customLabel,omitempty"`
// The id of the device assigned when the VM is powered on.
//
// This value
// is unset when the VM is powered off.
- AssignedId string `xml:"assignedId,omitempty" json:"assignedId,omitempty" vim:"7.0"`
+ AssignedId string `xml:"assignedId,omitempty" json:"assignedId,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughDynamicBackingInfo"] = "7.0"
t["VirtualPCIPassthroughDynamicBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughDynamicBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDynamicBackingInfo"] = "7.0"
}
// This data object type describes the options for the
@@ -91834,8 +92353,8 @@ type VirtualPCIPassthroughDynamicBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughDynamicBackingOption"] = "7.0"
t["VirtualPCIPassthroughDynamicBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughDynamicBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughDynamicBackingOption"] = "7.0"
}
// The VirtualPCIPassthroughOption data object type describes the options
@@ -91847,8 +92366,8 @@ type VirtualPCIPassthroughOption struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughOption"] = "4.0"
t["VirtualPCIPassthroughOption"] = reflect.TypeOf((*VirtualPCIPassthroughOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughOption"] = "4.0"
}
// The VirtualPCIPassthrough.PluginBackingInfo is a base data object type
@@ -91862,8 +92381,8 @@ type VirtualPCIPassthroughPluginBackingInfo struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughPluginBackingInfo"] = "6.0"
t["VirtualPCIPassthroughPluginBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughPluginBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughPluginBackingInfo"] = "6.0"
}
// This data object type describes the options for the
@@ -91873,8 +92392,8 @@ type VirtualPCIPassthroughPluginBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughPluginBackingOption"] = "6.0"
t["VirtualPCIPassthroughPluginBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughPluginBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughPluginBackingOption"] = "6.0"
}
// The VirtualPCIPassthrough.VmiopBackingInfo data object type
@@ -91886,19 +92405,19 @@ type VirtualPCIPassthroughVmiopBackingInfo struct {
VirtualPCIPassthroughPluginBackingInfo
// The vGPU configuration type exposed by a VMIOP plugin.
- Vgpu string `xml:"vgpu,omitempty" json:"vgpu,omitempty" vim:"6.0"`
+ Vgpu string `xml:"vgpu,omitempty" json:"vgpu,omitempty"`
// The expected size of the vGPU device state during migration.
- VgpuMigrateDataSizeMB int32 `xml:"vgpuMigrateDataSizeMB,omitempty" json:"vgpuMigrateDataSizeMB,omitempty"`
+ VgpuMigrateDataSizeMB int32 `xml:"vgpuMigrateDataSizeMB,omitempty" json:"vgpuMigrateDataSizeMB,omitempty" vim:"8.0.0.1"`
// Indicates whether the vGPU device is migration capable or not.
MigrateSupported *bool `xml:"migrateSupported" json:"migrateSupported,omitempty" vim:"7.0.2.0"`
// Indicates whether the vGPU has enhanced migration features for
// sub-second downtime.
- EnhancedMigrateCapability *bool `xml:"enhancedMigrateCapability" json:"enhancedMigrateCapability,omitempty"`
+ EnhancedMigrateCapability *bool `xml:"enhancedMigrateCapability" json:"enhancedMigrateCapability,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughVmiopBackingInfo"] = "6.0"
t["VirtualPCIPassthroughVmiopBackingInfo"] = reflect.TypeOf((*VirtualPCIPassthroughVmiopBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughVmiopBackingInfo"] = "6.0"
}
// This data object type describes the options for the
@@ -91909,19 +92428,19 @@ type VirtualPCIPassthroughVmiopBackingOption struct {
// Parameter indicating which GPU profile the plugin should emulate.
//
// See also `ConfigTarget.sharedGpuPassthroughTypes`.
- Vgpu StringOption `xml:"vgpu" json:"vgpu" vim:"6.0"`
+ Vgpu StringOption `xml:"vgpu" json:"vgpu"`
// Maximum number of instances of this backing type allowed
// per virtual machine.
//
// This is a parameter of the plugin
// itself, which may support only a limited number of
// instances per virtual machine.
- MaxInstances int32 `xml:"maxInstances" json:"maxInstances" vim:"6.0"`
+ MaxInstances int32 `xml:"maxInstances" json:"maxInstances"`
}
func init() {
- minAPIVersionForType["VirtualPCIPassthroughVmiopBackingOption"] = "6.0"
t["VirtualPCIPassthroughVmiopBackingOption"] = reflect.TypeOf((*VirtualPCIPassthroughVmiopBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPCIPassthroughVmiopBackingOption"] = "6.0"
}
// This data object type defines the properties
@@ -92141,8 +92660,8 @@ type VirtualPrecisionClock struct {
}
func init() {
- minAPIVersionForType["VirtualPrecisionClock"] = "7.0"
t["VirtualPrecisionClock"] = reflect.TypeOf((*VirtualPrecisionClock)(nil)).Elem()
+ minAPIVersionForType["VirtualPrecisionClock"] = "7.0"
}
// The VirtualPrecisionClockOption data object type describes the
@@ -92153,8 +92672,8 @@ type VirtualPrecisionClockOption struct {
}
func init() {
- minAPIVersionForType["VirtualPrecisionClockOption"] = "7.0"
t["VirtualPrecisionClockOption"] = reflect.TypeOf((*VirtualPrecisionClockOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPrecisionClockOption"] = "7.0"
}
// The `VirtualPrecisionClockSystemClockBackingInfo`
@@ -92166,12 +92685,12 @@ type VirtualPrecisionClockSystemClockBackingInfo struct {
// The time synchronization protocol used to discipline system clock.
//
// See `HostDateTimeInfoProtocol_enum` for valid values.
- Protocol string `xml:"protocol,omitempty" json:"protocol,omitempty" vim:"7.0"`
+ Protocol string `xml:"protocol,omitempty" json:"protocol,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualPrecisionClockSystemClockBackingInfo"] = "7.0"
t["VirtualPrecisionClockSystemClockBackingInfo"] = reflect.TypeOf((*VirtualPrecisionClockSystemClockBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualPrecisionClockSystemClockBackingInfo"] = "7.0"
}
// This data object type describes the options for the
@@ -92182,12 +92701,12 @@ type VirtualPrecisionClockSystemClockBackingOption struct {
// Parameter indicating the protocol used to discipline the
// host system clock.
- Protocol ChoiceOption `xml:"protocol" json:"protocol" vim:"7.0"`
+ Protocol ChoiceOption `xml:"protocol" json:"protocol"`
}
func init() {
- minAPIVersionForType["VirtualPrecisionClockSystemClockBackingOption"] = "7.0"
t["VirtualPrecisionClockSystemClockBackingOption"] = reflect.TypeOf((*VirtualPrecisionClockSystemClockBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualPrecisionClockSystemClockBackingOption"] = "7.0"
}
// The VirtualSATAController data object type represents
@@ -92197,8 +92716,8 @@ type VirtualSATAController struct {
}
func init() {
- minAPIVersionForType["VirtualSATAController"] = "5.5"
t["VirtualSATAController"] = reflect.TypeOf((*VirtualSATAController)(nil)).Elem()
+ minAPIVersionForType["VirtualSATAController"] = "5.5"
}
// The VirtualSATAControllerOption data object type contains the options
@@ -92215,7 +92734,7 @@ type VirtualSATAControllerOption struct {
//
// The number of SATA VirtualDisk instances is
// also limited by the number of available slots in the SATA controller.
- NumSATADisks IntOption `xml:"numSATADisks" json:"numSATADisks" vim:"5.5"`
+ NumSATADisks IntOption `xml:"numSATADisks" json:"numSATADisks"`
// Three properties (numSATACdroms.min, numSATACdroms.max, and
// numSATACdroms.defaultValue) define the minimum, maximum, and default
// number of SATA VirtualCdrom instances available
@@ -92223,12 +92742,12 @@ type VirtualSATAControllerOption struct {
//
// The number of SATA VirtualCdrom instances is
// also limited by the number of available slots in the SATA controller.
- NumSATACdroms IntOption `xml:"numSATACdroms" json:"numSATACdroms" vim:"5.5"`
+ NumSATACdroms IntOption `xml:"numSATACdroms" json:"numSATACdroms"`
}
func init() {
- minAPIVersionForType["VirtualSATAControllerOption"] = "5.5"
t["VirtualSATAControllerOption"] = reflect.TypeOf((*VirtualSATAControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualSATAControllerOption"] = "5.5"
}
// The VirtualSCSIController data object type represents
@@ -92667,8 +93186,8 @@ type VirtualSerialPortThinPrintBackingInfo struct {
}
func init() {
- minAPIVersionForType["VirtualSerialPortThinPrintBackingInfo"] = "5.1"
t["VirtualSerialPortThinPrintBackingInfo"] = reflect.TypeOf((*VirtualSerialPortThinPrintBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualSerialPortThinPrintBackingInfo"] = "5.1"
}
// The `VirtualSerialPortThinPrintBackingOption`
data
@@ -92678,8 +93197,8 @@ type VirtualSerialPortThinPrintBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualSerialPortThinPrintBackingOption"] = "5.1"
t["VirtualSerialPortThinPrintBackingOption"] = reflect.TypeOf((*VirtualSerialPortThinPrintBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualSerialPortThinPrintBackingOption"] = "5.1"
}
// The `VirtualSerialPortURIBackingInfo`
data object
@@ -92785,6 +93304,10 @@ func init() {
//
// The first parameter must have a number sign (#) prefix. Additional parameters
// must have an ampersand (&) prefix. The following list shows the valid parameters.
+// - certificate=value
- Specifies a certificate in PEM format
+// against which the peer certificate is compared.
+// When you specify a certificate, certificate verification is automatically enabled.
+// See the description of the verify
parameter below.
// - thumbprint=value
- Specifies a certificate thumbprint against
// which the peer certificate thumbprint is compared. When you specify a thumbprint,
// certificate verification is automatically enabled. See the description of the
@@ -92797,7 +93320,7 @@ func init() {
// will verify that the peer certificate subject matches the specified
// peerName
and that it was signed by a certificate authority
// known to the ESXi host. Verification is automatically enabled if you specify a
-// thumbprint
or peerName
.
+// certificate
, thumbprint
, or peerName
.
// - cipherList=value
- Specifies a list of SSL ciphers.
// See OpenSSL ciphers.
// The ciphers are specified as a list separated by colons, spaces, or commas.
@@ -92809,8 +93332,8 @@ type VirtualSerialPortURIBackingInfo struct {
}
func init() {
- minAPIVersionForType["VirtualSerialPortURIBackingInfo"] = "4.1"
t["VirtualSerialPortURIBackingInfo"] = reflect.TypeOf((*VirtualSerialPortURIBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualSerialPortURIBackingInfo"] = "4.1"
}
// The `VirtualSerialPortURIBackingOption`
data object type
@@ -92820,8 +93343,8 @@ type VirtualSerialPortURIBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualSerialPortURIBackingOption"] = "4.1"
t["VirtualSerialPortURIBackingOption"] = reflect.TypeOf((*VirtualSerialPortURIBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualSerialPortURIBackingOption"] = "4.1"
}
// The VirtualSoundBlaster16 data object type represents a Sound
@@ -92889,7 +93412,7 @@ type VirtualSriovEthernetCard struct {
VirtualEthernetCard
// Indicates whether MTU can be changed from guest OS.
- AllowGuestOSMtuChange *bool `xml:"allowGuestOSMtuChange" json:"allowGuestOSMtuChange,omitempty" vim:"5.5"`
+ AllowGuestOSMtuChange *bool `xml:"allowGuestOSMtuChange" json:"allowGuestOSMtuChange,omitempty"`
// Information about SR-IOV passthrough backing of this VirtualSriovEthernetCard.
//
// During an edit operation, if this value is unset, no changes to the
@@ -92898,17 +93421,17 @@ type VirtualSriovEthernetCard struct {
// This field is ignored and must be unset if this VirtualSriovEthernetCard
// is a DVX device, in which case the dvxBackingInfo field is set. In other
// words, sriovBacking and dvxBackingInfo cannot both be set at any time.
- SriovBacking *VirtualSriovEthernetCardSriovBackingInfo `xml:"sriovBacking,omitempty" json:"sriovBacking,omitempty" vim:"5.5"`
+ SriovBacking *VirtualSriovEthernetCardSriovBackingInfo `xml:"sriovBacking,omitempty" json:"sriovBacking,omitempty"`
// Information about DVX backing of this VirtualSriovEthernetCard.
//
// This field is set if and only if this VirtualSriovEthernetCard is a DVX
// device.
- DvxBackingInfo *VirtualPCIPassthroughDvxBackingInfo `xml:"dvxBackingInfo,omitempty" json:"dvxBackingInfo,omitempty"`
+ DvxBackingInfo *VirtualPCIPassthroughDvxBackingInfo `xml:"dvxBackingInfo,omitempty" json:"dvxBackingInfo,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualSriovEthernetCard"] = "5.5"
t["VirtualSriovEthernetCard"] = reflect.TypeOf((*VirtualSriovEthernetCard)(nil)).Elem()
+ minAPIVersionForType["VirtualSriovEthernetCard"] = "5.5"
}
// The VirtualSriovEthernetCardOption data object contains the options for the
@@ -92918,8 +93441,8 @@ type VirtualSriovEthernetCardOption struct {
}
func init() {
- minAPIVersionForType["VirtualSriovEthernetCardOption"] = "5.5"
t["VirtualSriovEthernetCardOption"] = reflect.TypeOf((*VirtualSriovEthernetCardOption)(nil)).Elem()
+ minAPIVersionForType["VirtualSriovEthernetCardOption"] = "5.5"
}
// The `VirtualSriovEthernetCardSriovBackingInfo`
@@ -92943,7 +93466,7 @@ type VirtualSriovEthernetCardSriovBackingInfo struct {
// in `VirtualPCIPassthroughDeviceBackingInfo.id` indicates that assignment
// is automatic and the physical function in question is the one that has currently
// been assigned.
- PhysicalFunctionBacking *VirtualPCIPassthroughDeviceBackingInfo `xml:"physicalFunctionBacking,omitempty" json:"physicalFunctionBacking,omitempty" vim:"5.5"`
+ PhysicalFunctionBacking *VirtualPCIPassthroughDeviceBackingInfo `xml:"physicalFunctionBacking,omitempty" json:"physicalFunctionBacking,omitempty"`
// Virtual function backing for this device.
//
// During reconfigure, if this is unset, any currently assigned virtual function
@@ -92954,13 +93477,13 @@ type VirtualSriovEthernetCardSriovBackingInfo struct {
// allocated for the device.
// When a virtual function is yet to be assigned to the device (e.g. if the VM
// has not been powered on yet), the virtual function backing will be unset.
- VirtualFunctionBacking *VirtualPCIPassthroughDeviceBackingInfo `xml:"virtualFunctionBacking,omitempty" json:"virtualFunctionBacking,omitempty" vim:"5.5"`
+ VirtualFunctionBacking *VirtualPCIPassthroughDeviceBackingInfo `xml:"virtualFunctionBacking,omitempty" json:"virtualFunctionBacking,omitempty"`
VirtualFunctionIndex int32 `xml:"virtualFunctionIndex,omitempty" json:"virtualFunctionIndex,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualSriovEthernetCardSriovBackingInfo"] = "5.5"
t["VirtualSriovEthernetCardSriovBackingInfo"] = reflect.TypeOf((*VirtualSriovEthernetCardSriovBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualSriovEthernetCardSriovBackingInfo"] = "5.5"
}
// This data object contains the option for SriovBackingInfo data
@@ -92970,8 +93493,8 @@ type VirtualSriovEthernetCardSriovBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualSriovEthernetCardSriovBackingOption"] = "5.5"
t["VirtualSriovEthernetCardSriovBackingOption"] = reflect.TypeOf((*VirtualSriovEthernetCardSriovBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualSriovEthernetCardSriovBackingOption"] = "5.5"
}
// The `VirtualSwitchProfile` data object represents a subprofile
@@ -92984,20 +93507,20 @@ type VirtualSwitchProfile struct {
ApplyProfile
// Linkable identifier.
- Key string `xml:"key" json:"key" vim:"4.0"`
+ Key string `xml:"key" json:"key"`
// Name of the standard virtual switch(VSS).
- Name string `xml:"name" json:"name" vim:"4.0"`
+ Name string `xml:"name" json:"name"`
// Links that are connected to the virtual switch.
- Link LinkProfile `xml:"link" json:"link" vim:"4.0"`
+ Link LinkProfile `xml:"link" json:"link"`
// Number of ports on the virtual switch.
- NumPorts NumPortsProfile `xml:"numPorts" json:"numPorts" vim:"4.0"`
+ NumPorts NumPortsProfile `xml:"numPorts" json:"numPorts"`
// Network policy/policies for the virtual switch.
- NetworkPolicy NetworkPolicyProfile `xml:"networkPolicy" json:"networkPolicy" vim:"4.0"`
+ NetworkPolicy NetworkPolicyProfile `xml:"networkPolicy" json:"networkPolicy"`
}
func init() {
- minAPIVersionForType["VirtualSwitchProfile"] = "4.0"
t["VirtualSwitchProfile"] = reflect.TypeOf((*VirtualSwitchProfile)(nil)).Elem()
+ minAPIVersionForType["VirtualSwitchProfile"] = "4.0"
}
// The `VirtualSwitchSelectionProfile` data object represents
@@ -93010,8 +93533,8 @@ type VirtualSwitchSelectionProfile struct {
}
func init() {
- minAPIVersionForType["VirtualSwitchSelectionProfile"] = "4.0"
t["VirtualSwitchSelectionProfile"] = reflect.TypeOf((*VirtualSwitchSelectionProfile)(nil)).Elem()
+ minAPIVersionForType["VirtualSwitchSelectionProfile"] = "4.0"
}
// This data object type represents a TPM 2.0 module
@@ -93023,19 +93546,19 @@ type VirtualTPM struct {
//
// There may be more than one - one for RSA 2048, one for ECC NIST P256,
// and any number of other signing requests for other algorithms.
- EndorsementKeyCertificateSigningRequest [][]byte `xml:"endorsementKeyCertificateSigningRequest,omitempty" json:"endorsementKeyCertificateSigningRequest,omitempty" vim:"6.7"`
+ EndorsementKeyCertificateSigningRequest [][]byte `xml:"endorsementKeyCertificateSigningRequest,omitempty" json:"endorsementKeyCertificateSigningRequest,omitempty"`
// Endorsement Key Certificate in DER format.
//
// There may be more than one. Indices in this array do not match
// indices in `VirtualTPM.endorsementKeyCertificateSigningRequest` array,
// entries must be matched by comparing fields in DER data between
// certificate signing requests and certificates.
- EndorsementKeyCertificate [][]byte `xml:"endorsementKeyCertificate,omitempty" json:"endorsementKeyCertificate,omitempty" vim:"6.7"`
+ EndorsementKeyCertificate [][]byte `xml:"endorsementKeyCertificate,omitempty" json:"endorsementKeyCertificate,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualTPM"] = "6.7"
t["VirtualTPM"] = reflect.TypeOf((*VirtualTPM)(nil)).Elem()
+ minAPIVersionForType["VirtualTPM"] = "6.7"
}
// This data object type contains the options for the
@@ -93047,12 +93570,12 @@ type VirtualTPMOption struct {
// `GuestOsDescriptorFirmwareType_enum` enumeration.
//
// There is at least one value in this array.
- SupportedFirmware []string `xml:"supportedFirmware,omitempty" json:"supportedFirmware,omitempty" vim:"6.7"`
+ SupportedFirmware []string `xml:"supportedFirmware,omitempty" json:"supportedFirmware,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualTPMOption"] = "6.7"
t["VirtualTPMOption"] = reflect.TypeOf((*VirtualTPMOption)(nil)).Elem()
+ minAPIVersionForType["VirtualTPMOption"] = "6.7"
}
// The `VirtualUSB` data object describes the USB device configuration
@@ -93210,12 +93733,12 @@ type VirtualUSBControllerPciBusSlotInfo struct {
//
// This property should be used only when the ehciEnabled property
// is set to true.
- EhciPciSlotNumber int32 `xml:"ehciPciSlotNumber,omitempty" json:"ehciPciSlotNumber,omitempty" vim:"5.1"`
+ EhciPciSlotNumber int32 `xml:"ehciPciSlotNumber,omitempty" json:"ehciPciSlotNumber,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualUSBControllerPciBusSlotInfo"] = "5.1"
t["VirtualUSBControllerPciBusSlotInfo"] = reflect.TypeOf((*VirtualUSBControllerPciBusSlotInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBControllerPciBusSlotInfo"] = "5.1"
}
// The `VirtualUSBOption` data object type contains options for
@@ -93242,12 +93765,12 @@ type VirtualUSBRemoteClientBackingInfo struct {
VirtualDeviceRemoteDeviceBackingInfo
// Hostname of the remote client where the physical USB device resides.
- Hostname string `xml:"hostname" json:"hostname" vim:"5.0"`
+ Hostname string `xml:"hostname" json:"hostname"`
}
func init() {
- minAPIVersionForType["VirtualUSBRemoteClientBackingInfo"] = "5.0"
t["VirtualUSBRemoteClientBackingInfo"] = reflect.TypeOf((*VirtualUSBRemoteClientBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBRemoteClientBackingInfo"] = "5.0"
}
// This data object type contains the options for
@@ -93257,8 +93780,8 @@ type VirtualUSBRemoteClientBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualUSBRemoteClientBackingOption"] = "5.0"
t["VirtualUSBRemoteClientBackingOption"] = reflect.TypeOf((*VirtualUSBRemoteClientBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBRemoteClientBackingOption"] = "5.0"
}
// The `VirtualUSBRemoteHostBackingInfo` data object
@@ -93306,12 +93829,12 @@ type VirtualUSBRemoteHostBackingInfo struct {
//
// When you configure remote host backing, hostname must identify
// the local host on which the virtual machine is running.
- Hostname string `xml:"hostname" json:"hostname" vim:"4.1"`
+ Hostname string `xml:"hostname" json:"hostname"`
}
func init() {
- minAPIVersionForType["VirtualUSBRemoteHostBackingInfo"] = "4.1"
t["VirtualUSBRemoteHostBackingInfo"] = reflect.TypeOf((*VirtualUSBRemoteHostBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBRemoteHostBackingInfo"] = "4.1"
}
// The `VirtualUSBRemoteHostBackingOption` data object
@@ -93325,8 +93848,8 @@ type VirtualUSBRemoteHostBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualUSBRemoteHostBackingOption"] = "4.1"
t["VirtualUSBRemoteHostBackingOption"] = reflect.TypeOf((*VirtualUSBRemoteHostBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBRemoteHostBackingOption"] = "4.1"
}
// The `VirtualUSBUSBBackingInfo` data object
@@ -93367,8 +93890,8 @@ type VirtualUSBUSBBackingInfo struct {
}
func init() {
- minAPIVersionForType["VirtualUSBUSBBackingInfo"] = "2.5"
t["VirtualUSBUSBBackingInfo"] = reflect.TypeOf((*VirtualUSBUSBBackingInfo)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBUSBBackingInfo"] = "2.5"
}
// The `VirtualUSBUSBBackingOption` data object
@@ -93382,8 +93905,8 @@ type VirtualUSBUSBBackingOption struct {
}
func init() {
- minAPIVersionForType["VirtualUSBUSBBackingOption"] = "2.5"
t["VirtualUSBUSBBackingOption"] = reflect.TypeOf((*VirtualUSBUSBBackingOption)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBUSBBackingOption"] = "2.5"
}
// The `VirtualUSBXHCIController` data object describes a virtual
@@ -93395,12 +93918,12 @@ type VirtualUSBXHCIController struct {
// Flag to indicate whether or not the ability to hot plug devices
// is enabled on this controller.
- AutoConnectDevices *bool `xml:"autoConnectDevices" json:"autoConnectDevices,omitempty" vim:"5.0"`
+ AutoConnectDevices *bool `xml:"autoConnectDevices" json:"autoConnectDevices,omitempty"`
}
func init() {
- minAPIVersionForType["VirtualUSBXHCIController"] = "5.0"
t["VirtualUSBXHCIController"] = reflect.TypeOf((*VirtualUSBXHCIController)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBXHCIController"] = "5.0"
}
// The VirtualUSBXHCIControllerOption data object type contains the options
@@ -93410,16 +93933,16 @@ type VirtualUSBXHCIControllerOption struct {
// Flag to indicate whether or not the ability to autoconnect devices
// is enabled for this virtual USB controller.
- AutoConnectDevices BoolOption `xml:"autoConnectDevices" json:"autoConnectDevices" vim:"5.0"`
+ AutoConnectDevices BoolOption `xml:"autoConnectDevices" json:"autoConnectDevices"`
// Range of USB device speeds supported by this USB controller type.
//
// Acceptable values are specified at `VirtualMachineUsbInfoSpeed_enum`.
- SupportedSpeeds []string `xml:"supportedSpeeds" json:"supportedSpeeds" vim:"5.0"`
+ SupportedSpeeds []string `xml:"supportedSpeeds" json:"supportedSpeeds"`
}
func init() {
- minAPIVersionForType["VirtualUSBXHCIControllerOption"] = "5.0"
t["VirtualUSBXHCIControllerOption"] = reflect.TypeOf((*VirtualUSBXHCIControllerOption)(nil)).Elem()
+ minAPIVersionForType["VirtualUSBXHCIControllerOption"] = "5.0"
}
// This data object type contains the options for the
@@ -93429,8 +93952,8 @@ type VirtualVMIROMOption struct {
}
func init() {
- minAPIVersionForType["VirtualVMIROMOption"] = "2.5"
t["VirtualVMIROMOption"] = reflect.TypeOf((*VirtualVMIROMOption)(nil)).Elem()
+ minAPIVersionForType["VirtualVMIROMOption"] = "2.5"
}
// This data object type contains the options for the
@@ -93441,13 +93964,13 @@ type VirtualVideoCardOption struct {
// Minimum, maximum and default size of the video frame buffer.
VideoRamSizeInKB *LongOption `xml:"videoRamSizeInKB,omitempty" json:"videoRamSizeInKB,omitempty"`
// Minimum, maximum and default value for the number of displays.
- NumDisplays *IntOption `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"4.0"`
+ NumDisplays *IntOption `xml:"numDisplays,omitempty" json:"numDisplays,omitempty" vim:"2.5 U2"`
// Flag to indicate whether the display settings of the host should
// be used to automatically determine the display settings of the
// virtual machine's video card.
- UseAutoDetect *BoolOption `xml:"useAutoDetect,omitempty" json:"useAutoDetect,omitempty" vim:"4.0"`
+ UseAutoDetect *BoolOption `xml:"useAutoDetect,omitempty" json:"useAutoDetect,omitempty" vim:"2.5 U2"`
// Flag to indicate whether the virtual video card supports 3D functions.
- Support3D *BoolOption `xml:"support3D,omitempty" json:"support3D,omitempty" vim:"4.0"`
+ Support3D *BoolOption `xml:"support3D,omitempty" json:"support3D,omitempty" vim:"2.5 U2"`
// Flag to indicate whether the virtual video card can specify how to render 3D graphics.
Use3dRendererSupported *BoolOption `xml:"use3dRendererSupported,omitempty" json:"use3dRendererSupported,omitempty" vim:"5.1"`
// The minimum, maximum, and default values for graphics memory size.
@@ -93478,8 +94001,8 @@ type VirtualVmxnet2 struct {
}
func init() {
- minAPIVersionForType["VirtualVmxnet2"] = "2.5"
t["VirtualVmxnet2"] = reflect.TypeOf((*VirtualVmxnet2)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet2"] = "2.5"
}
// The VirtualVmxnet2Option data object type contains the options for the
@@ -93489,8 +94012,8 @@ type VirtualVmxnet2Option struct {
}
func init() {
- minAPIVersionForType["VirtualVmxnet2Option"] = "2.5"
t["VirtualVmxnet2Option"] = reflect.TypeOf((*VirtualVmxnet2Option)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet2Option"] = "2.5"
}
// The VirtualVmxnet3 data object type represents an instance
@@ -93505,12 +94028,12 @@ type VirtualVmxnet3 struct {
// adapter. Clients can set this property enabled or disabled if ethernet
// virtual device is Vmxnet3. It requires the VM hardware version is
// compatible with ESXi version which has enabled smartnic feature.
- Uptv2Enabled *bool `xml:"uptv2Enabled" json:"uptv2Enabled,omitempty"`
+ Uptv2Enabled *bool `xml:"uptv2Enabled" json:"uptv2Enabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualVmxnet3"] = "4.0"
t["VirtualVmxnet3"] = reflect.TypeOf((*VirtualVmxnet3)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet3"] = "2.5 U2"
}
// The VirtualVmxnet3Option data object type contains the options for the
@@ -93520,12 +94043,12 @@ type VirtualVmxnet3Option struct {
// Flag to indicate whether UPTv2(Uniform Pass-through version 2) is
// settable on this device.
- Uptv2Enabled *BoolOption `xml:"uptv2Enabled,omitempty" json:"uptv2Enabled,omitempty"`
+ Uptv2Enabled *BoolOption `xml:"uptv2Enabled,omitempty" json:"uptv2Enabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VirtualVmxnet3Option"] = "4.0"
t["VirtualVmxnet3Option"] = reflect.TypeOf((*VirtualVmxnet3Option)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet3Option"] = "2.5 U2"
}
// The VirtualVmxnet3Vrdma data object type represents an instance of the
@@ -93542,8 +94065,8 @@ type VirtualVmxnet3Vrdma struct {
}
func init() {
- minAPIVersionForType["VirtualVmxnet3Vrdma"] = "6.5"
t["VirtualVmxnet3Vrdma"] = reflect.TypeOf((*VirtualVmxnet3Vrdma)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet3Vrdma"] = "6.5"
}
// The VirtualVmxnet3VrdmaOption data object type contains the options for the
@@ -93556,8 +94079,8 @@ type VirtualVmxnet3VrdmaOption struct {
}
func init() {
- minAPIVersionForType["VirtualVmxnet3VrdmaOption"] = "6.5"
t["VirtualVmxnet3VrdmaOption"] = reflect.TypeOf((*VirtualVmxnet3VrdmaOption)(nil)).Elem()
+ minAPIVersionForType["VirtualVmxnet3VrdmaOption"] = "6.5"
}
// The VirtualVmxnetOption data object type contains the options for the
@@ -93579,18 +94102,18 @@ type VirtualWDT struct {
//
// If not set, the device will default to being initialized as the
// Enabled/Stopped sub-state.
- RunOnBoot bool `xml:"runOnBoot" json:"runOnBoot" vim:"7.0"`
+ RunOnBoot bool `xml:"runOnBoot" json:"runOnBoot"`
// Flag to indicate if the virtual watchdog timer device is currently
// in the Enabled/Running state.
//
// The guest can cause state changes,
// which will result in this flag being either set or cleared.
- Running bool `xml:"running" json:"running" vim:"7.0"`
+ Running bool `xml:"running" json:"running"`
}
func init() {
- minAPIVersionForType["VirtualWDT"] = "7.0"
t["VirtualWDT"] = reflect.TypeOf((*VirtualWDT)(nil)).Elem()
+ minAPIVersionForType["VirtualWDT"] = "7.0"
}
// This data object type contains the options for the
@@ -93600,12 +94123,12 @@ type VirtualWDTOption struct {
// Flag to indicate whether or not the "run on boot" option
// is settable on this device.
- RunOnBoot BoolOption `xml:"runOnBoot" json:"runOnBoot" vim:"7.0"`
+ RunOnBoot BoolOption `xml:"runOnBoot" json:"runOnBoot"`
}
func init() {
- minAPIVersionForType["VirtualWDTOption"] = "7.0"
t["VirtualWDTOption"] = reflect.TypeOf((*VirtualWDTOption)(nil)).Elem()
+ minAPIVersionForType["VirtualWDTOption"] = "7.0"
}
// The `VlanProfile` data object represents
@@ -93618,8 +94141,8 @@ type VlanProfile struct {
}
func init() {
- minAPIVersionForType["VlanProfile"] = "4.0"
t["VlanProfile"] = reflect.TypeOf((*VlanProfile)(nil)).Elem()
+ minAPIVersionForType["VlanProfile"] = "4.0"
}
// This event records a user successfully acquiring an MKS ticket
@@ -93628,8 +94151,8 @@ type VmAcquiredMksTicketEvent struct {
}
func init() {
- minAPIVersionForType["VmAcquiredMksTicketEvent"] = "2.5"
t["VmAcquiredMksTicketEvent"] = reflect.TypeOf((*VmAcquiredMksTicketEvent)(nil)).Elem()
+ minAPIVersionForType["VmAcquiredMksTicketEvent"] = "2.5"
}
// This event records a user successfully acquiring a ticket
@@ -93637,12 +94160,12 @@ type VmAcquiredTicketEvent struct {
VmEvent
// The type of the ticket @see VirtualMachine.TicketType
- TicketType string `xml:"ticketType" json:"ticketType" vim:"4.1"`
+ TicketType string `xml:"ticketType" json:"ticketType"`
}
func init() {
- minAPIVersionForType["VmAcquiredTicketEvent"] = "4.1"
t["VmAcquiredTicketEvent"] = reflect.TypeOf((*VmAcquiredTicketEvent)(nil)).Elem()
+ minAPIVersionForType["VmAcquiredTicketEvent"] = "4.1"
}
// Fault thrown when moving a standalone host between datacenters, and
@@ -93654,19 +94177,19 @@ type VmAlreadyExistsInDatacenter struct {
// The target host.
//
// Refers instance of `HostSystem`.
- Host ManagedObjectReference `xml:"host" json:"host" vim:"4.0"`
+ Host ManagedObjectReference `xml:"host" json:"host"`
// Name of the target host.
- Hostname string `xml:"hostname" json:"hostname" vim:"4.0"`
+ Hostname string `xml:"hostname" json:"hostname"`
// Virtual machines in the target datacenter which have the same
// registration information as those belonging to the target host.
//
// Refers instances of `VirtualMachine`.
- Vm []ManagedObjectReference `xml:"vm" json:"vm" vim:"4.0"`
+ Vm []ManagedObjectReference `xml:"vm" json:"vm"`
}
func init() {
- minAPIVersionForType["VmAlreadyExistsInDatacenter"] = "4.0"
t["VmAlreadyExistsInDatacenter"] = reflect.TypeOf((*VmAlreadyExistsInDatacenter)(nil)).Elem()
+ minAPIVersionForType["VmAlreadyExistsInDatacenter"] = "4.0"
}
type VmAlreadyExistsInDatacenterFault VmAlreadyExistsInDatacenter
@@ -93711,14 +94234,14 @@ type VmBeingClonedNoFolderEvent struct {
VmCloneEvent
// The name of the destination virtual machine.
- DestName string `xml:"destName" json:"destName" vim:"4.1"`
+ DestName string `xml:"destName" json:"destName"`
// The destination host to which the virtual machine is being cloned.
- DestHost HostEventArgument `xml:"destHost" json:"destHost" vim:"4.1"`
+ DestHost HostEventArgument `xml:"destHost" json:"destHost"`
}
func init() {
- minAPIVersionForType["VmBeingClonedNoFolderEvent"] = "4.1"
t["VmBeingClonedNoFolderEvent"] = reflect.TypeOf((*VmBeingClonedNoFolderEvent)(nil)).Elem()
+ minAPIVersionForType["VmBeingClonedNoFolderEvent"] = "4.1"
}
// This event records a virtual machine being created.
@@ -93862,12 +94385,12 @@ type VmConfigFileEncryptionInfo struct {
// the keyId is set and indicates the identifier that can be
// used to lookup the key material. Unset if the virtual machine
// configuration file is not encrypted.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
- minAPIVersionForType["VmConfigFileEncryptionInfo"] = "6.5"
t["VmConfigFileEncryptionInfo"] = reflect.TypeOf((*VmConfigFileEncryptionInfo)(nil)).Elem()
+ minAPIVersionForType["VmConfigFileEncryptionInfo"] = "6.5"
}
// This data object type describes a virtual machine configuration file.
@@ -93947,12 +94470,12 @@ type VmConfigIncompatibleForFaultTolerance struct {
//
// This is typically
// a subclass of VirtualHardwareCompatibilityIssue.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"4.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["VmConfigIncompatibleForFaultTolerance"] = "4.0"
t["VmConfigIncompatibleForFaultTolerance"] = reflect.TypeOf((*VmConfigIncompatibleForFaultTolerance)(nil)).Elem()
+ minAPIVersionForType["VmConfigIncompatibleForFaultTolerance"] = "4.0"
}
type VmConfigIncompatibleForFaultToleranceFault VmConfigIncompatibleForFaultTolerance
@@ -93972,12 +94495,12 @@ type VmConfigIncompatibleForRecordReplay struct {
//
// This is typically
// a subclass of VirtualHardwareCompatibilityIssue.
- Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty" vim:"4.0"`
+ Fault *LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
- minAPIVersionForType["VmConfigIncompatibleForRecordReplay"] = "4.0"
t["VmConfigIncompatibleForRecordReplay"] = reflect.TypeOf((*VmConfigIncompatibleForRecordReplay)(nil)).Elem()
+ minAPIVersionForType["VmConfigIncompatibleForRecordReplay"] = "4.0"
}
type VmConfigIncompatibleForRecordReplayFault VmConfigIncompatibleForRecordReplay
@@ -93991,20 +94514,20 @@ type VmConfigInfo struct {
DynamicData
// Information about the package content.
- Product []VAppProductInfo `xml:"product,omitempty" json:"product,omitempty" vim:"4.0"`
+ Product []VAppProductInfo `xml:"product,omitempty" json:"product,omitempty"`
// List of properties
- Property []VAppPropertyInfo `xml:"property,omitempty" json:"property,omitempty" vim:"4.0"`
+ Property []VAppPropertyInfo `xml:"property,omitempty" json:"property,omitempty"`
// IP assignment policy and DHCP support configuration.
- IpAssignment VAppIPAssignmentInfo `xml:"ipAssignment" json:"ipAssignment" vim:"4.0"`
+ IpAssignment VAppIPAssignmentInfo `xml:"ipAssignment" json:"ipAssignment"`
// End User Liceses Agreements.
- Eula []string `xml:"eula,omitempty" json:"eula,omitempty" vim:"4.0"`
+ Eula []string `xml:"eula,omitempty" json:"eula,omitempty"`
// List of uninterpreted OVF meta-data sections.
- OvfSection []VAppOvfSectionInfo `xml:"ovfSection,omitempty" json:"ovfSection,omitempty" vim:"4.0"`
+ OvfSection []VAppOvfSectionInfo `xml:"ovfSection,omitempty" json:"ovfSection,omitempty"`
// List the transports to use for properties.
//
// Supported values are: iso and
// com.vmware.guestInfo.
- OvfEnvironmentTransport []string `xml:"ovfEnvironmentTransport,omitempty" json:"ovfEnvironmentTransport,omitempty" vim:"4.0"`
+ OvfEnvironmentTransport []string `xml:"ovfEnvironmentTransport,omitempty" json:"ovfEnvironmentTransport,omitempty"`
// Specifies whether the VM needs an initial boot before the deployment is complete.
//
// Not relevant for vApps. This means that the value is always false when reading the
@@ -94012,7 +94535,7 @@ type VmConfigInfo struct {
//
// If a vApp requires an install boot (because one of its VMs does), this is visible
// on the `VirtualAppSummary.installBootRequired` field of the vApp.
- InstallBootRequired bool `xml:"installBootRequired" json:"installBootRequired" vim:"4.0"`
+ InstallBootRequired bool `xml:"installBootRequired" json:"installBootRequired"`
// Specifies the delay in seconds to wait for the VM to power off after the initial
// boot (used only if installBootRequired is true).
//
@@ -94020,12 +94543,12 @@ type VmConfigInfo struct {
//
// Not relevant for vApps. This means that the value is always false when reading the
// configuration and is ignored when setting the configuration.
- InstallBootStopDelay int32 `xml:"installBootStopDelay" json:"installBootStopDelay" vim:"4.0"`
+ InstallBootStopDelay int32 `xml:"installBootStopDelay" json:"installBootStopDelay"`
}
func init() {
- minAPIVersionForType["VmConfigInfo"] = "4.0"
t["VmConfigInfo"] = reflect.TypeOf((*VmConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VmConfigInfo"] = "4.0"
}
// This event records if the configuration file can not be found.
@@ -94044,18 +94567,18 @@ type VmConfigSpec struct {
// Information about the product.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Product []VAppProductSpec `xml:"product,omitempty" json:"product,omitempty" vim:"4.0"`
+ Product []VAppProductSpec `xml:"product,omitempty" json:"product,omitempty"`
// List of properties.
//
// Adding and editing properties requires various privileges depending on which fields
// are affected. See `VAppPropertyInfo` for details.
//
// Deleting properties requires the privilege VApp.ApplicationConfig.
- Property []VAppPropertySpec `xml:"property,omitempty" json:"property,omitempty" vim:"4.0"`
+ Property []VAppPropertySpec `xml:"property,omitempty" json:"property,omitempty"`
// IP assignment policy and DHCP support configuration.
//
// Reconfigure privilege: See `VAppIPAssignmentInfo`
- IpAssignment *VAppIPAssignmentInfo `xml:"ipAssignment,omitempty" json:"ipAssignment,omitempty" vim:"4.0"`
+ IpAssignment *VAppIPAssignmentInfo `xml:"ipAssignment,omitempty" json:"ipAssignment,omitempty"`
// End User Liceses Agreements.
//
// If this list is set, it replaces all exiting licenses. An empty list will not
@@ -94063,11 +94586,11 @@ type VmConfigSpec struct {
// remove all licenses and leave an empty list.
//
// Reconfigure privilege: VApp.ApplicationConfig
- Eula []string `xml:"eula,omitempty" json:"eula,omitempty" vim:"4.0"`
+ Eula []string `xml:"eula,omitempty" json:"eula,omitempty"`
// List of uninterpreted OVF meta-data sections.
//
// Reconfigure privilege: VApp.ApplicationConfig
- OvfSection []VAppOvfSectionSpec `xml:"ovfSection,omitempty" json:"ovfSection,omitempty" vim:"4.0"`
+ OvfSection []VAppOvfSectionSpec `xml:"ovfSection,omitempty" json:"ovfSection,omitempty"`
// List the transports to use for properties.
//
// Supported values are: iso and
@@ -94077,7 +94600,7 @@ type VmConfigSpec struct {
// any changes. A list with a single element {""} will clear the list of transports.
//
// Reconfigure privilege: VApp.ApplicationConfig
- OvfEnvironmentTransport []string `xml:"ovfEnvironmentTransport,omitempty" json:"ovfEnvironmentTransport,omitempty" vim:"4.0"`
+ OvfEnvironmentTransport []string `xml:"ovfEnvironmentTransport,omitempty" json:"ovfEnvironmentTransport,omitempty"`
// If this is on a VirtualMachine object, it specifies whether the VM needs an
// initial boot before the deployment is complete.
//
@@ -94086,19 +94609,19 @@ type VmConfigSpec struct {
// automatically reset once the reboot has happened.
//
// Reconfigure privilege: VApp.ApplicationConfig
- InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty" vim:"4.0"`
+ InstallBootRequired *bool `xml:"installBootRequired" json:"installBootRequired,omitempty"`
// Specifies the delay in seconds to wait for the VM to power off after the initial
// boot (used only if installBootRequired is true).
//
// A value of 0 means wait forever.
//
// Reconfigure privilege: VApp.ApplicationConfig
- InstallBootStopDelay int32 `xml:"installBootStopDelay,omitempty" json:"installBootStopDelay,omitempty" vim:"4.0"`
+ InstallBootStopDelay int32 `xml:"installBootStopDelay,omitempty" json:"installBootStopDelay,omitempty"`
}
func init() {
- minAPIVersionForType["VmConfigSpec"] = "4.0"
t["VmConfigSpec"] = reflect.TypeOf((*VmConfigSpec)(nil)).Elem()
+ minAPIVersionForType["VmConfigSpec"] = "4.0"
}
// This event records that a virtual machine is connected.
@@ -94130,8 +94653,8 @@ type VmDasBeingResetEvent struct {
}
func init() {
- minAPIVersionForType["VmDasBeingResetEvent"] = "4.0"
t["VmDasBeingResetEvent"] = reflect.TypeOf((*VmDasBeingResetEvent)(nil)).Elem()
+ minAPIVersionForType["VmDasBeingResetEvent"] = "4.0"
}
// This event records when a virtual machine is reset by
@@ -94140,12 +94663,12 @@ type VmDasBeingResetWithScreenshotEvent struct {
VmDasBeingResetEvent
// The datastore path of the screenshot taken before resetting.
- ScreenshotFilePath string `xml:"screenshotFilePath" json:"screenshotFilePath" vim:"4.0"`
+ ScreenshotFilePath string `xml:"screenshotFilePath" json:"screenshotFilePath"`
}
func init() {
- minAPIVersionForType["VmDasBeingResetWithScreenshotEvent"] = "4.0"
t["VmDasBeingResetWithScreenshotEvent"] = reflect.TypeOf((*VmDasBeingResetWithScreenshotEvent)(nil)).Elem()
+ minAPIVersionForType["VmDasBeingResetWithScreenshotEvent"] = "4.0"
}
// This event records when HA VM Health Monitoring fails to reset
@@ -94155,8 +94678,8 @@ type VmDasResetFailedEvent struct {
}
func init() {
- minAPIVersionForType["VmDasResetFailedEvent"] = "4.0"
t["VmDasResetFailedEvent"] = reflect.TypeOf((*VmDasResetFailedEvent)(nil)).Elem()
+ minAPIVersionForType["VmDasResetFailedEvent"] = "4.0"
}
// The event records that an error occurred when updating the HA agents
@@ -94261,12 +94784,12 @@ type VmDiskFileEncryptionInfo struct {
// If the virtual disk is encrypted, then the keyId is set and
// indicates the identifier that can be used to lookup the key
// material. Unset if the virtual disk is not encrypted.
- KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty" vim:"6.5"`
+ KeyId *CryptoKeyId `xml:"keyId,omitempty" json:"keyId,omitempty"`
}
func init() {
- minAPIVersionForType["VmDiskFileEncryptionInfo"] = "6.5"
t["VmDiskFileEncryptionInfo"] = reflect.TypeOf((*VmDiskFileEncryptionInfo)(nil)).Elem()
+ minAPIVersionForType["VmDiskFileEncryptionInfo"] = "6.5"
}
// This data object type describes a virtual disk primary file.
@@ -94431,8 +94954,8 @@ type VmEndRecordingEvent struct {
}
func init() {
- minAPIVersionForType["VmEndRecordingEvent"] = "4.0"
t["VmEndRecordingEvent"] = reflect.TypeOf((*VmEndRecordingEvent)(nil)).Elem()
+ minAPIVersionForType["VmEndRecordingEvent"] = "4.0"
}
// Deprecated as of vSphere API 6.0.
@@ -94443,8 +94966,8 @@ type VmEndReplayingEvent struct {
}
func init() {
- minAPIVersionForType["VmEndReplayingEvent"] = "4.0"
t["VmEndReplayingEvent"] = reflect.TypeOf((*VmEndReplayingEvent)(nil)).Elem()
+ minAPIVersionForType["VmEndReplayingEvent"] = "4.0"
}
// These are virtual machine events.
@@ -94520,12 +95043,12 @@ type VmFailedStartingSecondaryEvent struct {
// The reason for the failure.
//
// See `VmFailedStartingSecondaryEventFailureReason_enum`
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["VmFailedStartingSecondaryEvent"] = "4.0"
t["VmFailedStartingSecondaryEvent"] = reflect.TypeOf((*VmFailedStartingSecondaryEvent)(nil)).Elem()
+ minAPIVersionForType["VmFailedStartingSecondaryEvent"] = "4.0"
}
// This event records a failure to power off a virtual machine.
@@ -94620,8 +95143,8 @@ type VmFailedUpdatingSecondaryConfig struct {
}
func init() {
- minAPIVersionForType["VmFailedUpdatingSecondaryConfig"] = "4.0"
t["VmFailedUpdatingSecondaryConfig"] = reflect.TypeOf((*VmFailedUpdatingSecondaryConfig)(nil)).Elem()
+ minAPIVersionForType["VmFailedUpdatingSecondaryConfig"] = "4.0"
}
// This event records when a virtual machine failover was unsuccessful.
@@ -94642,21 +95165,21 @@ type VmFaultToleranceConfigIssue struct {
VmFaultToleranceIssue
// The reason for the failure.
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
// The entity name.
//
// Depending on the issue, it could
// be virtual machine or host.
- EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty" vim:"4.0"`
+ EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty"`
// The entity
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"4.0"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceConfigIssue"] = "4.0"
t["VmFaultToleranceConfigIssue"] = reflect.TypeOf((*VmFaultToleranceConfigIssue)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceConfigIssue"] = "4.0"
}
type VmFaultToleranceConfigIssueFault VmFaultToleranceConfigIssue
@@ -94674,18 +95197,18 @@ type VmFaultToleranceConfigIssueWrapper struct {
//
// Depending on the issue, it could
// be virtual machine or host.
- EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty" vim:"4.1"`
+ EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty"`
// The entity
//
// Refers instance of `ManagedEntity`.
- Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty" vim:"4.1"`
+ Entity *ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
// The nested error when the reason field is other
- Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"4.1"`
+ Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceConfigIssueWrapper"] = "4.1"
t["VmFaultToleranceConfigIssueWrapper"] = reflect.TypeOf((*VmFaultToleranceConfigIssueWrapper)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceConfigIssueWrapper"] = "4.1"
}
type VmFaultToleranceConfigIssueWrapperFault VmFaultToleranceConfigIssueWrapper
@@ -94700,13 +95223,13 @@ type VmFaultToleranceInvalidFileBacking struct {
VmFaultToleranceIssue
// The device type of the file backing
- BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty" vim:"4.0"`
+ BackingType string `xml:"backingType,omitempty" json:"backingType,omitempty"`
BackingFilename string `xml:"backingFilename,omitempty" json:"backingFilename,omitempty"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceInvalidFileBacking"] = "4.0"
t["VmFaultToleranceInvalidFileBacking"] = reflect.TypeOf((*VmFaultToleranceInvalidFileBacking)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceInvalidFileBacking"] = "4.0"
}
type VmFaultToleranceInvalidFileBackingFault VmFaultToleranceInvalidFileBacking
@@ -94722,8 +95245,8 @@ type VmFaultToleranceIssue struct {
}
func init() {
- minAPIVersionForType["VmFaultToleranceIssue"] = "4.0"
t["VmFaultToleranceIssue"] = reflect.TypeOf((*VmFaultToleranceIssue)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceIssue"] = "4.0"
}
type VmFaultToleranceIssueFault BaseVmFaultToleranceIssue
@@ -94738,13 +95261,13 @@ type VmFaultToleranceOpIssuesList struct {
VmFaultToleranceIssue
// A list of faults representing errors
- Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty" vim:"4.0"`
+ Errors []LocalizedMethodFault `xml:"errors,omitempty" json:"errors,omitempty"`
Warnings []LocalizedMethodFault `xml:"warnings,omitempty" json:"warnings,omitempty"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceOpIssuesList"] = "4.0"
t["VmFaultToleranceOpIssuesList"] = reflect.TypeOf((*VmFaultToleranceOpIssuesList)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceOpIssuesList"] = "4.0"
}
type VmFaultToleranceOpIssuesListFault VmFaultToleranceOpIssuesList
@@ -94765,14 +95288,14 @@ type VmFaultToleranceStateChangedEvent struct {
VmEvent
// The old fault toleeance state.
- OldState VirtualMachineFaultToleranceState `xml:"oldState" json:"oldState" vim:"4.0"`
+ OldState VirtualMachineFaultToleranceState `xml:"oldState" json:"oldState"`
// The new fault tolerance state.
- NewState VirtualMachineFaultToleranceState `xml:"newState" json:"newState" vim:"4.0"`
+ NewState VirtualMachineFaultToleranceState `xml:"newState" json:"newState"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceStateChangedEvent"] = "4.0"
t["VmFaultToleranceStateChangedEvent"] = reflect.TypeOf((*VmFaultToleranceStateChangedEvent)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceStateChangedEvent"] = "4.0"
}
// This fault is returned when a host has more than the recommended number of
@@ -94781,14 +95304,14 @@ type VmFaultToleranceTooManyFtVcpusOnHost struct {
InsufficientResourcesFault
// The name of the host
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"6.0"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The recommended number of FT protected vCPUs on a host.
- MaxNumFtVcpus int32 `xml:"maxNumFtVcpus" json:"maxNumFtVcpus" vim:"6.0"`
+ MaxNumFtVcpus int32 `xml:"maxNumFtVcpus" json:"maxNumFtVcpus"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceTooManyFtVcpusOnHost"] = "6.0"
t["VmFaultToleranceTooManyFtVcpusOnHost"] = reflect.TypeOf((*VmFaultToleranceTooManyFtVcpusOnHost)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceTooManyFtVcpusOnHost"] = "6.0"
}
type VmFaultToleranceTooManyFtVcpusOnHostFault VmFaultToleranceTooManyFtVcpusOnHost
@@ -94804,12 +95327,12 @@ type VmFaultToleranceTooManyVMsOnHost struct {
HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The recommended number of Fault Tolerance VMs running on the host.
- MaxNumFtVms int32 `xml:"maxNumFtVms" json:"maxNumFtVms" vim:"4.1"`
+ MaxNumFtVms int32 `xml:"maxNumFtVms" json:"maxNumFtVms"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceTooManyVMsOnHost"] = "4.1"
t["VmFaultToleranceTooManyVMsOnHost"] = reflect.TypeOf((*VmFaultToleranceTooManyVMsOnHost)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceTooManyVMsOnHost"] = "4.1"
}
type VmFaultToleranceTooManyVMsOnHostFault VmFaultToleranceTooManyVMsOnHost
@@ -94826,8 +95349,8 @@ type VmFaultToleranceTurnedOffEvent struct {
}
func init() {
- minAPIVersionForType["VmFaultToleranceTurnedOffEvent"] = "4.0"
t["VmFaultToleranceTurnedOffEvent"] = reflect.TypeOf((*VmFaultToleranceTurnedOffEvent)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceTurnedOffEvent"] = "4.0"
}
// This event records a secondary or primary VM is terminated.
@@ -94840,12 +95363,12 @@ type VmFaultToleranceVmTerminatedEvent struct {
// The reason for the failure.
//
// see `VirtualMachineNeedSecondaryReason_enum`
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["VmFaultToleranceVmTerminatedEvent"] = "4.0"
t["VmFaultToleranceVmTerminatedEvent"] = reflect.TypeOf((*VmFaultToleranceVmTerminatedEvent)(nil)).Elem()
+ minAPIVersionForType["VmFaultToleranceVmTerminatedEvent"] = "4.0"
}
// This event notifies that a guest OS has crashed
@@ -94854,8 +95377,8 @@ type VmGuestOSCrashedEvent struct {
}
func init() {
- minAPIVersionForType["VmGuestOSCrashedEvent"] = "6.0"
t["VmGuestOSCrashedEvent"] = reflect.TypeOf((*VmGuestOSCrashedEvent)(nil)).Elem()
+ minAPIVersionForType["VmGuestOSCrashedEvent"] = "6.0"
}
// This is a virtual machine guest reboot request event.
@@ -94891,15 +95414,15 @@ type VmHealthMonitoringStateChangedEvent struct {
// The service state in
// `ClusterDasConfigInfoVmMonitoringState_enum`
- State string `xml:"state" json:"state" vim:"4.0"`
+ State string `xml:"state" json:"state"`
// The previous service state in
// `ClusterDasConfigInfoVmMonitoringState_enum`
PrevState string `xml:"prevState,omitempty" json:"prevState,omitempty" vim:"6.5"`
}
func init() {
- minAPIVersionForType["VmHealthMonitoringStateChangedEvent"] = "4.0"
t["VmHealthMonitoringStateChangedEvent"] = reflect.TypeOf((*VmHealthMonitoringStateChangedEvent)(nil)).Elem()
+ minAPIVersionForType["VmHealthMonitoringStateChangedEvent"] = "4.0"
}
// The virtual machine if powered on or VMotioned, would violate a VM-Host affinity rule.
@@ -94907,14 +95430,14 @@ type VmHostAffinityRuleViolation struct {
VmConfigFault
// The vm that can not be powered on or VMotioned without violating a rule.
- VmName string `xml:"vmName" json:"vmName" vim:"4.1"`
+ VmName string `xml:"vmName" json:"vmName"`
// The host that the virtual machine can not be powered on without violating a rule.
- HostName string `xml:"hostName" json:"hostName" vim:"4.1"`
+ HostName string `xml:"hostName" json:"hostName"`
}
func init() {
- minAPIVersionForType["VmHostAffinityRuleViolation"] = "4.1"
t["VmHostAffinityRuleViolation"] = reflect.TypeOf((*VmHostAffinityRuleViolation)(nil)).Elem()
+ minAPIVersionForType["VmHostAffinityRuleViolation"] = "4.1"
}
type VmHostAffinityRuleViolationFault VmHostAffinityRuleViolation
@@ -94929,12 +95452,12 @@ type VmInstanceUuidAssignedEvent struct {
VmEvent
// The new instance UUID.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["VmInstanceUuidAssignedEvent"] = "4.0"
t["VmInstanceUuidAssignedEvent"] = reflect.TypeOf((*VmInstanceUuidAssignedEvent)(nil)).Elem()
+ minAPIVersionForType["VmInstanceUuidAssignedEvent"] = "4.0"
}
// This event records a change in a virtual machine's instance UUID.
@@ -94942,14 +95465,14 @@ type VmInstanceUuidChangedEvent struct {
VmEvent
// The old instance UUID.
- OldInstanceUuid string `xml:"oldInstanceUuid" json:"oldInstanceUuid" vim:"4.0"`
+ OldInstanceUuid string `xml:"oldInstanceUuid" json:"oldInstanceUuid"`
// The new instance UUID.
- NewInstanceUuid string `xml:"newInstanceUuid" json:"newInstanceUuid" vim:"4.0"`
+ NewInstanceUuid string `xml:"newInstanceUuid" json:"newInstanceUuid"`
}
func init() {
- minAPIVersionForType["VmInstanceUuidChangedEvent"] = "4.0"
t["VmInstanceUuidChangedEvent"] = reflect.TypeOf((*VmInstanceUuidChangedEvent)(nil)).Elem()
+ minAPIVersionForType["VmInstanceUuidChangedEvent"] = "4.0"
}
// This event records a conflict of virtual machine instance UUIDs.
@@ -94958,14 +95481,14 @@ type VmInstanceUuidConflictEvent struct {
// The virtual machine whose instance UUID conflicts with the
// current virtual machine's instance UUID.
- ConflictedVm VmEventArgument `xml:"conflictedVm" json:"conflictedVm" vim:"4.0"`
+ ConflictedVm VmEventArgument `xml:"conflictedVm" json:"conflictedVm"`
// The instance UUID in conflict.
- InstanceUuid string `xml:"instanceUuid" json:"instanceUuid" vim:"4.0"`
+ InstanceUuid string `xml:"instanceUuid" json:"instanceUuid"`
}
func init() {
- minAPIVersionForType["VmInstanceUuidConflictEvent"] = "4.0"
t["VmInstanceUuidConflictEvent"] = reflect.TypeOf((*VmInstanceUuidConflictEvent)(nil)).Elem()
+ minAPIVersionForType["VmInstanceUuidConflictEvent"] = "4.0"
}
// A VmLimitLicense fault is thrown if powering on the virtual
@@ -95061,8 +95584,8 @@ type VmMaxFTRestartCountReached struct {
}
func init() {
- minAPIVersionForType["VmMaxFTRestartCountReached"] = "4.0"
t["VmMaxFTRestartCountReached"] = reflect.TypeOf((*VmMaxFTRestartCountReached)(nil)).Elem()
+ minAPIVersionForType["VmMaxFTRestartCountReached"] = "4.0"
}
// This event is fired when the VM reached the max restart count
@@ -95071,8 +95594,8 @@ type VmMaxRestartCountReached struct {
}
func init() {
- minAPIVersionForType["VmMaxRestartCountReached"] = "4.0"
t["VmMaxRestartCountReached"] = reflect.TypeOf((*VmMaxRestartCountReached)(nil)).Elem()
+ minAPIVersionForType["VmMaxRestartCountReached"] = "4.0"
}
// This event records when an error message (consisting of a collection of "observations")
@@ -95083,16 +95606,16 @@ type VmMessageErrorEvent struct {
VmEvent
// A raw message returned by the virtualization platform.
- Message string `xml:"message" json:"message" vim:"4.0"`
+ Message string `xml:"message" json:"message"`
// A set of localizable message data that comprise this event.
//
// Only available on servers that support localization.
- MessageInfo []VirtualMachineMessage `xml:"messageInfo,omitempty" json:"messageInfo,omitempty" vim:"4.0"`
+ MessageInfo []VirtualMachineMessage `xml:"messageInfo,omitempty" json:"messageInfo,omitempty"`
}
func init() {
- minAPIVersionForType["VmMessageErrorEvent"] = "4.0"
t["VmMessageErrorEvent"] = reflect.TypeOf((*VmMessageErrorEvent)(nil)).Elem()
+ minAPIVersionForType["VmMessageErrorEvent"] = "4.0"
}
// This event records when an informational message (consisting of a collection of "observations")
@@ -95122,13 +95645,13 @@ type VmMessageWarningEvent struct {
VmEvent
// A raw message returned by the virtualization platform.
- Message string `xml:"message" json:"message" vim:"4.0"`
+ Message string `xml:"message" json:"message"`
MessageInfo []VirtualMachineMessage `xml:"messageInfo,omitempty" json:"messageInfo,omitempty"`
}
func init() {
- minAPIVersionForType["VmMessageWarningEvent"] = "4.0"
t["VmMessageWarningEvent"] = reflect.TypeOf((*VmMessageWarningEvent)(nil)).Elem()
+ minAPIVersionForType["VmMessageWarningEvent"] = "4.0"
}
// This fault indicates that some error has occurred during the processing of
@@ -95141,8 +95664,8 @@ type VmMetadataManagerFault struct {
}
func init() {
- minAPIVersionForType["VmMetadataManagerFault"] = "5.5"
t["VmMetadataManagerFault"] = reflect.TypeOf((*VmMetadataManagerFault)(nil)).Elem()
+ minAPIVersionForType["VmMetadataManagerFault"] = "5.5"
}
type VmMetadataManagerFaultFault VmMetadataManagerFault
@@ -95177,8 +95700,8 @@ type VmMonitorIncompatibleForFaultTolerance struct {
}
func init() {
- minAPIVersionForType["VmMonitorIncompatibleForFaultTolerance"] = "4.1"
t["VmMonitorIncompatibleForFaultTolerance"] = reflect.TypeOf((*VmMonitorIncompatibleForFaultTolerance)(nil)).Elem()
+ minAPIVersionForType["VmMonitorIncompatibleForFaultTolerance"] = "4.1"
}
type VmMonitorIncompatibleForFaultToleranceFault VmMonitorIncompatibleForFaultTolerance
@@ -95197,8 +95720,8 @@ type VmNoCompatibleHostForSecondaryEvent struct {
}
func init() {
- minAPIVersionForType["VmNoCompatibleHostForSecondaryEvent"] = "4.0"
t["VmNoCompatibleHostForSecondaryEvent"] = reflect.TypeOf((*VmNoCompatibleHostForSecondaryEvent)(nil)).Elem()
+ minAPIVersionForType["VmNoCompatibleHostForSecondaryEvent"] = "4.0"
}
// This event records a migration failure when the destination host
@@ -95258,11 +95781,11 @@ type VmPodConfigForPlacement struct {
// pod.
//
// Refers instance of `StoragePod`.
- StoragePod ManagedObjectReference `xml:"storagePod" json:"storagePod" vim:"5.0"`
+ StoragePod ManagedObjectReference `xml:"storagePod" json:"storagePod"`
// Array of PodDiskLocator objects.
- Disk []PodDiskLocator `xml:"disk,omitempty" json:"disk,omitempty" vim:"5.0"`
+ Disk []PodDiskLocator `xml:"disk,omitempty" json:"disk,omitempty"`
// The VM configuration for the VM that is being placed.
- VmConfig *StorageDrsVmConfigInfo `xml:"vmConfig,omitempty" json:"vmConfig,omitempty" vim:"5.0"`
+ VmConfig *StorageDrsVmConfigInfo `xml:"vmConfig,omitempty" json:"vmConfig,omitempty"`
// The initial interVmRules that should during placement of this
// virtual machine.
//
@@ -95272,12 +95795,12 @@ type VmPodConfigForPlacement struct {
// we assume the virtual machine being placed is always implicitly
// part of any rule specified. It will be explicitly added to the
// rule before it is saved to the pod config.
- InterVmRule []BaseClusterRuleInfo `xml:"interVmRule,omitempty,typeattr" json:"interVmRule,omitempty" vim:"5.0"`
+ InterVmRule []BaseClusterRuleInfo `xml:"interVmRule,omitempty,typeattr" json:"interVmRule,omitempty"`
}
func init() {
- minAPIVersionForType["VmPodConfigForPlacement"] = "5.0"
t["VmPodConfigForPlacement"] = reflect.TypeOf((*VmPodConfigForPlacement)(nil)).Elem()
+ minAPIVersionForType["VmPodConfigForPlacement"] = "5.0"
}
// The `VmPortGroupProfile` data object represents the subprofile
@@ -95294,8 +95817,8 @@ type VmPortGroupProfile struct {
}
func init() {
- minAPIVersionForType["VmPortGroupProfile"] = "4.0"
t["VmPortGroupProfile"] = reflect.TypeOf((*VmPortGroupProfile)(nil)).Elem()
+ minAPIVersionForType["VmPortGroupProfile"] = "4.0"
}
// This event records when a virtual machine has been powered off on an isolated host
@@ -95318,8 +95841,8 @@ type VmPowerOnDisabled struct {
}
func init() {
- minAPIVersionForType["VmPowerOnDisabled"] = "4.0"
t["VmPowerOnDisabled"] = reflect.TypeOf((*VmPowerOnDisabled)(nil)).Elem()
+ minAPIVersionForType["VmPowerOnDisabled"] = "4.0"
}
type VmPowerOnDisabledFault VmPowerOnDisabled
@@ -95353,12 +95876,12 @@ type VmPoweringOnWithCustomizedDVPortEvent struct {
VmEvent
// The list of Virtual NIC that were using the DVports.
- Vnic []VnicPortArgument `xml:"vnic" json:"vnic" vim:"4.0"`
+ Vnic []VnicPortArgument `xml:"vnic" json:"vnic"`
}
func init() {
- minAPIVersionForType["VmPoweringOnWithCustomizedDVPortEvent"] = "4.0"
t["VmPoweringOnWithCustomizedDVPortEvent"] = reflect.TypeOf((*VmPoweringOnWithCustomizedDVPortEvent)(nil)).Elem()
+ minAPIVersionForType["VmPoweringOnWithCustomizedDVPortEvent"] = "4.0"
}
// This event records a fault tolerance failover.
@@ -95371,12 +95894,12 @@ type VmPrimaryFailoverEvent struct {
// The reason for the failure.
//
// see `VirtualMachineNeedSecondaryReason_enum`
- Reason string `xml:"reason,omitempty" json:"reason,omitempty" vim:"4.0"`
+ Reason string `xml:"reason,omitempty" json:"reason,omitempty"`
}
func init() {
- minAPIVersionForType["VmPrimaryFailoverEvent"] = "4.0"
t["VmPrimaryFailoverEvent"] = reflect.TypeOf((*VmPrimaryFailoverEvent)(nil)).Elem()
+ minAPIVersionForType["VmPrimaryFailoverEvent"] = "4.0"
}
// This event records a reconfiguration of the virtual machine.
@@ -95433,8 +95956,8 @@ type VmReloadFromPathEvent struct {
}
func init() {
- minAPIVersionForType["VmReloadFromPathEvent"] = "4.1"
t["VmReloadFromPathEvent"] = reflect.TypeOf((*VmReloadFromPathEvent)(nil)).Elem()
+ minAPIVersionForType["VmReloadFromPathEvent"] = "4.1"
}
// This event records that a virtual machine reload from a new configuration
@@ -95446,8 +95969,8 @@ type VmReloadFromPathFailedEvent struct {
}
func init() {
- minAPIVersionForType["VmReloadFromPathFailedEvent"] = "4.1"
t["VmReloadFromPathFailedEvent"] = reflect.TypeOf((*VmReloadFromPathFailedEvent)(nil)).Elem()
+ minAPIVersionForType["VmReloadFromPathFailedEvent"] = "4.1"
}
// This event records a failure to relocate a virtual machine.
@@ -95499,8 +96022,8 @@ type VmRemoteConsoleConnectedEvent struct {
}
func init() {
- minAPIVersionForType["VmRemoteConsoleConnectedEvent"] = "4.0"
t["VmRemoteConsoleConnectedEvent"] = reflect.TypeOf((*VmRemoteConsoleConnectedEvent)(nil)).Elem()
+ minAPIVersionForType["VmRemoteConsoleConnectedEvent"] = "4.0"
}
// This event records that a remote console was disconnected from the VM
@@ -95509,8 +96032,8 @@ type VmRemoteConsoleDisconnectedEvent struct {
}
func init() {
- minAPIVersionForType["VmRemoteConsoleDisconnectedEvent"] = "4.0"
t["VmRemoteConsoleDisconnectedEvent"] = reflect.TypeOf((*VmRemoteConsoleDisconnectedEvent)(nil)).Elem()
+ minAPIVersionForType["VmRemoteConsoleDisconnectedEvent"] = "4.0"
}
// This event records a virtual machine removed from VirtualCenter management.
@@ -95547,8 +96070,8 @@ type VmRequirementsExceedCurrentEVCModeEvent struct {
}
func init() {
- minAPIVersionForType["VmRequirementsExceedCurrentEVCModeEvent"] = "5.1"
t["VmRequirementsExceedCurrentEVCModeEvent"] = reflect.TypeOf((*VmRequirementsExceedCurrentEVCModeEvent)(nil)).Elem()
+ minAPIVersionForType["VmRequirementsExceedCurrentEVCModeEvent"] = "5.1"
}
// This event records a virtual machine resetting.
@@ -95617,8 +96140,8 @@ type VmSecondaryAddedEvent struct {
}
func init() {
- minAPIVersionForType["VmSecondaryAddedEvent"] = "4.0"
t["VmSecondaryAddedEvent"] = reflect.TypeOf((*VmSecondaryAddedEvent)(nil)).Elem()
+ minAPIVersionForType["VmSecondaryAddedEvent"] = "4.0"
}
// This event records that a fault tolerance secondary VM has been
@@ -95630,8 +96153,8 @@ type VmSecondaryDisabledBySystemEvent struct {
}
func init() {
- minAPIVersionForType["VmSecondaryDisabledBySystemEvent"] = "4.0"
t["VmSecondaryDisabledBySystemEvent"] = reflect.TypeOf((*VmSecondaryDisabledBySystemEvent)(nil)).Elem()
+ minAPIVersionForType["VmSecondaryDisabledBySystemEvent"] = "4.0"
}
// This event records a secondary VM is disabled.
@@ -95640,8 +96163,8 @@ type VmSecondaryDisabledEvent struct {
}
func init() {
- minAPIVersionForType["VmSecondaryDisabledEvent"] = "4.0"
t["VmSecondaryDisabledEvent"] = reflect.TypeOf((*VmSecondaryDisabledEvent)(nil)).Elem()
+ minAPIVersionForType["VmSecondaryDisabledEvent"] = "4.0"
}
// This event records a secondary VM is enabled.
@@ -95650,8 +96173,8 @@ type VmSecondaryEnabledEvent struct {
}
func init() {
- minAPIVersionForType["VmSecondaryEnabledEvent"] = "4.0"
t["VmSecondaryEnabledEvent"] = reflect.TypeOf((*VmSecondaryEnabledEvent)(nil)).Elem()
+ minAPIVersionForType["VmSecondaryEnabledEvent"] = "4.0"
}
// This event records a secondary VM is started successfully.
@@ -95660,8 +96183,8 @@ type VmSecondaryStartedEvent struct {
}
func init() {
- minAPIVersionForType["VmSecondaryStartedEvent"] = "4.0"
t["VmSecondaryStartedEvent"] = reflect.TypeOf((*VmSecondaryStartedEvent)(nil)).Elem()
+ minAPIVersionForType["VmSecondaryStartedEvent"] = "4.0"
}
// This event records when a virtual machine has been shut down on an isolated host
@@ -95670,17 +96193,17 @@ type VmShutdownOnIsolationEvent struct {
VmPoweredOffEvent
// The isolated host on which a virtual machine was shutdown.
- IsolatedHost HostEventArgument `xml:"isolatedHost" json:"isolatedHost" vim:"4.0"`
+ IsolatedHost HostEventArgument `xml:"isolatedHost" json:"isolatedHost"`
// Indicates if the shutdown was successful.
//
// If the shutdown failed, the virtual
// machine was powered off. see `VmShutdownOnIsolationEventOperation_enum`
- ShutdownResult string `xml:"shutdownResult,omitempty" json:"shutdownResult,omitempty" vim:"4.0"`
+ ShutdownResult string `xml:"shutdownResult,omitempty" json:"shutdownResult,omitempty"`
}
func init() {
- minAPIVersionForType["VmShutdownOnIsolationEvent"] = "4.0"
t["VmShutdownOnIsolationEvent"] = reflect.TypeOf((*VmShutdownOnIsolationEvent)(nil)).Elem()
+ minAPIVersionForType["VmShutdownOnIsolationEvent"] = "4.0"
}
// This fault is returned when a host has more than the recommended number of
@@ -95689,14 +96212,14 @@ type VmSmpFaultToleranceTooManyVMsOnHost struct {
InsufficientResourcesFault
// The name of the host
- HostName string `xml:"hostName,omitempty" json:"hostName,omitempty" vim:"6.0"`
+ HostName string `xml:"hostName,omitempty" json:"hostName,omitempty"`
// The recommended number of SMP-Fault Tolerance VMs running on the host.
- MaxNumSmpFtVms int32 `xml:"maxNumSmpFtVms" json:"maxNumSmpFtVms" vim:"6.0"`
+ MaxNumSmpFtVms int32 `xml:"maxNumSmpFtVms" json:"maxNumSmpFtVms"`
}
func init() {
- minAPIVersionForType["VmSmpFaultToleranceTooManyVMsOnHost"] = "6.0"
t["VmSmpFaultToleranceTooManyVMsOnHost"] = reflect.TypeOf((*VmSmpFaultToleranceTooManyVMsOnHost)(nil)).Elem()
+ minAPIVersionForType["VmSmpFaultToleranceTooManyVMsOnHost"] = "6.0"
}
type VmSmpFaultToleranceTooManyVMsOnHostFault VmSmpFaultToleranceTooManyVMsOnHost
@@ -95732,8 +96255,8 @@ type VmStartRecordingEvent struct {
}
func init() {
- minAPIVersionForType["VmStartRecordingEvent"] = "4.0"
t["VmStartRecordingEvent"] = reflect.TypeOf((*VmStartRecordingEvent)(nil)).Elem()
+ minAPIVersionForType["VmStartRecordingEvent"] = "4.0"
}
// Deprecated as of vSphere API 6.0.
@@ -95744,8 +96267,8 @@ type VmStartReplayingEvent struct {
}
func init() {
- minAPIVersionForType["VmStartReplayingEvent"] = "4.0"
t["VmStartReplayingEvent"] = reflect.TypeOf((*VmStartReplayingEvent)(nil)).Elem()
+ minAPIVersionForType["VmStartReplayingEvent"] = "4.0"
}
// This event records a virtual machine powering on.
@@ -95763,8 +96286,8 @@ type VmStartingSecondaryEvent struct {
}
func init() {
- minAPIVersionForType["VmStartingSecondaryEvent"] = "4.0"
t["VmStartingSecondaryEvent"] = reflect.TypeOf((*VmStartingSecondaryEvent)(nil)).Elem()
+ minAPIVersionForType["VmStartingSecondaryEvent"] = "4.0"
}
// This event records a static MAC address conflict for a virtual machine.
@@ -95817,12 +96340,12 @@ type VmTimedoutStartingSecondaryEvent struct {
VmEvent
// The duration of the timeout in milliseconds.
- Timeout int64 `xml:"timeout,omitempty" json:"timeout,omitempty" vim:"4.0"`
+ Timeout int64 `xml:"timeout,omitempty" json:"timeout,omitempty"`
}
func init() {
- minAPIVersionForType["VmTimedoutStartingSecondaryEvent"] = "4.0"
t["VmTimedoutStartingSecondaryEvent"] = reflect.TypeOf((*VmTimedoutStartingSecondaryEvent)(nil)).Elem()
+ minAPIVersionForType["VmTimedoutStartingSecondaryEvent"] = "4.0"
}
// A base fault to indicate that something went wrong when upgrading tools.
@@ -95931,11 +96454,11 @@ type VmValidateMaxDevice struct {
VimFault
// The device
- Device string `xml:"device" json:"device" vim:"4.0"`
+ Device string `xml:"device" json:"device"`
// max count for the device
- Max int32 `xml:"max" json:"max" vim:"4.0"`
+ Max int32 `xml:"max" json:"max"`
// number of devices found in vim.vm.ConfigSpec
- Count int32 `xml:"count" json:"count" vim:"4.0"`
+ Count int32 `xml:"count" json:"count"`
}
func init() {
@@ -95955,14 +96478,14 @@ type VmVnicPoolReservationViolationClearEvent struct {
DvsEvent
// The key of the Virtual NIC network resource pool
- VmVnicResourcePoolKey string `xml:"vmVnicResourcePoolKey" json:"vmVnicResourcePoolKey" vim:"6.0"`
+ VmVnicResourcePoolKey string `xml:"vmVnicResourcePoolKey" json:"vmVnicResourcePoolKey"`
// The name of the Virtual NIC network resource pool
- VmVnicResourcePoolName string `xml:"vmVnicResourcePoolName,omitempty" json:"vmVnicResourcePoolName,omitempty" vim:"6.0"`
+ VmVnicResourcePoolName string `xml:"vmVnicResourcePoolName,omitempty" json:"vmVnicResourcePoolName,omitempty"`
}
func init() {
- minAPIVersionForType["VmVnicPoolReservationViolationClearEvent"] = "6.0"
t["VmVnicPoolReservationViolationClearEvent"] = reflect.TypeOf((*VmVnicPoolReservationViolationClearEvent)(nil)).Elem()
+ minAPIVersionForType["VmVnicPoolReservationViolationClearEvent"] = "6.0"
}
// This event is generated when the reservations used by all
@@ -95972,14 +96495,14 @@ type VmVnicPoolReservationViolationRaiseEvent struct {
DvsEvent
// The key of the Virtual NIC network resource pool
- VmVnicResourcePoolKey string `xml:"vmVnicResourcePoolKey" json:"vmVnicResourcePoolKey" vim:"6.0"`
+ VmVnicResourcePoolKey string `xml:"vmVnicResourcePoolKey" json:"vmVnicResourcePoolKey"`
// The name of the Virtual NIC network resource pool
- VmVnicResourcePoolName string `xml:"vmVnicResourcePoolName,omitempty" json:"vmVnicResourcePoolName,omitempty" vim:"6.0"`
+ VmVnicResourcePoolName string `xml:"vmVnicResourcePoolName,omitempty" json:"vmVnicResourcePoolName,omitempty"`
}
func init() {
- minAPIVersionForType["VmVnicPoolReservationViolationRaiseEvent"] = "6.0"
t["VmVnicPoolReservationViolationRaiseEvent"] = reflect.TypeOf((*VmVnicPoolReservationViolationRaiseEvent)(nil)).Elem()
+ minAPIVersionForType["VmVnicPoolReservationViolationRaiseEvent"] = "6.0"
}
// This event records the assignment of a new WWN (World Wide Name)
@@ -95988,14 +96511,14 @@ type VmWwnAssignedEvent struct {
VmEvent
// The new node WWN.
- NodeWwns []int64 `xml:"nodeWwns" json:"nodeWwns" vim:"2.5"`
+ NodeWwns []int64 `xml:"nodeWwns" json:"nodeWwns"`
// The new port WWN.
- PortWwns []int64 `xml:"portWwns" json:"portWwns" vim:"2.5"`
+ PortWwns []int64 `xml:"portWwns" json:"portWwns"`
}
func init() {
- minAPIVersionForType["VmWwnAssignedEvent"] = "2.5"
t["VmWwnAssignedEvent"] = reflect.TypeOf((*VmWwnAssignedEvent)(nil)).Elem()
+ minAPIVersionForType["VmWwnAssignedEvent"] = "2.5"
}
// This event records a change in a virtual machine's WWN (World Wide Name).
@@ -96003,18 +96526,18 @@ type VmWwnChangedEvent struct {
VmEvent
// The old node WWN.
- OldNodeWwns []int64 `xml:"oldNodeWwns,omitempty" json:"oldNodeWwns,omitempty" vim:"2.5"`
+ OldNodeWwns []int64 `xml:"oldNodeWwns,omitempty" json:"oldNodeWwns,omitempty"`
// The old port WWN.
- OldPortWwns []int64 `xml:"oldPortWwns,omitempty" json:"oldPortWwns,omitempty" vim:"2.5"`
+ OldPortWwns []int64 `xml:"oldPortWwns,omitempty" json:"oldPortWwns,omitempty"`
// The new node WWN.
- NewNodeWwns []int64 `xml:"newNodeWwns,omitempty" json:"newNodeWwns,omitempty" vim:"2.5"`
+ NewNodeWwns []int64 `xml:"newNodeWwns,omitempty" json:"newNodeWwns,omitempty"`
// The new port WWN.
- NewPortWwns []int64 `xml:"newPortWwns,omitempty" json:"newPortWwns,omitempty" vim:"2.5"`
+ NewPortWwns []int64 `xml:"newPortWwns,omitempty" json:"newPortWwns,omitempty"`
}
func init() {
- minAPIVersionForType["VmWwnChangedEvent"] = "2.5"
t["VmWwnChangedEvent"] = reflect.TypeOf((*VmWwnChangedEvent)(nil)).Elem()
+ minAPIVersionForType["VmWwnChangedEvent"] = "2.5"
}
// Thrown if a user attempts to assign a
@@ -96025,20 +96548,20 @@ type VmWwnConflict struct {
// The virtual machine that is using the same WWN.
//
// Refers instance of `VirtualMachine`.
- Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty" vim:"2.5"`
+ Vm *ManagedObjectReference `xml:"vm,omitempty" json:"vm,omitempty"`
// The host that is using the same WWN.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"2.5"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// The name of the virtual machine/host that is using the same WWN.
- Name string `xml:"name,omitempty" json:"name,omitempty" vim:"2.5"`
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
// The WWN that is in conflict.
- Wwn int64 `xml:"wwn,omitempty" json:"wwn,omitempty" vim:"2.5"`
+ Wwn int64 `xml:"wwn,omitempty" json:"wwn,omitempty"`
}
func init() {
- minAPIVersionForType["VmWwnConflict"] = "2.5"
t["VmWwnConflict"] = reflect.TypeOf((*VmWwnConflict)(nil)).Elem()
+ minAPIVersionForType["VmWwnConflict"] = "2.5"
}
// This event records a conflict of virtual machine WWNs (World Wide Name).
@@ -96047,17 +96570,17 @@ type VmWwnConflictEvent struct {
// The virtual machine whose WWN conflicts with the
// current virtual machine's WWN.
- ConflictedVms []VmEventArgument `xml:"conflictedVms,omitempty" json:"conflictedVms,omitempty" vim:"2.5"`
+ ConflictedVms []VmEventArgument `xml:"conflictedVms,omitempty" json:"conflictedVms,omitempty"`
// The host whose physical WWN conflicts with the
// current virtual machine's WWN.
- ConflictedHosts []HostEventArgument `xml:"conflictedHosts,omitempty" json:"conflictedHosts,omitempty" vim:"2.5"`
+ ConflictedHosts []HostEventArgument `xml:"conflictedHosts,omitempty" json:"conflictedHosts,omitempty"`
// The WWN in conflict.
- Wwn int64 `xml:"wwn" json:"wwn" vim:"2.5"`
+ Wwn int64 `xml:"wwn" json:"wwn"`
}
func init() {
- minAPIVersionForType["VmWwnConflictEvent"] = "2.5"
t["VmWwnConflictEvent"] = reflect.TypeOf((*VmWwnConflictEvent)(nil)).Elem()
+ minAPIVersionForType["VmWwnConflictEvent"] = "2.5"
}
type VmWwnConflictFault VmWwnConflict
@@ -96073,8 +96596,8 @@ type VmfsAlreadyMounted struct {
}
func init() {
- minAPIVersionForType["VmfsAlreadyMounted"] = "4.0"
t["VmfsAlreadyMounted"] = reflect.TypeOf((*VmfsAlreadyMounted)(nil)).Elem()
+ minAPIVersionForType["VmfsAlreadyMounted"] = "4.0"
}
type VmfsAlreadyMountedFault VmfsAlreadyMounted
@@ -96095,8 +96618,8 @@ type VmfsAmbiguousMount struct {
}
func init() {
- minAPIVersionForType["VmfsAmbiguousMount"] = "4.0"
t["VmfsAmbiguousMount"] = reflect.TypeOf((*VmfsAmbiguousMount)(nil)).Elem()
+ minAPIVersionForType["VmfsAmbiguousMount"] = "4.0"
}
type VmfsAmbiguousMountFault VmfsAmbiguousMount
@@ -96110,12 +96633,12 @@ type VmfsConfigOption struct {
// Supported values of VMFS block size in kilobytes (KB)
// `HostVmfsVolume.blockSize`.
- BlockSizeOption int32 `xml:"blockSizeOption" json:"blockSizeOption" vim:"6.5"`
+ BlockSizeOption int32 `xml:"blockSizeOption" json:"blockSizeOption"`
// Supported values of VMFS unmap granularity
// `HostVmfsVolume.unmapGranularity`.
//
// The unit is KB.
- UnmapGranularityOption []int32 `xml:"unmapGranularityOption,omitempty" json:"unmapGranularityOption,omitempty" vim:"6.5"`
+ UnmapGranularityOption []int32 `xml:"unmapGranularityOption,omitempty" json:"unmapGranularityOption,omitempty"`
// Fixed unmap bandwidth min/max/default value
UnmapBandwidthFixedValue *LongOption `xml:"unmapBandwidthFixedValue,omitempty" json:"unmapBandwidthFixedValue,omitempty" vim:"6.7"`
// Dynamic unmap bandwidth lower limit min/max/default value.
@@ -96125,7 +96648,7 @@ type VmfsConfigOption struct {
// Increment value of unmap bandwidth
UnmapBandwidthIncrement int64 `xml:"unmapBandwidthIncrement,omitempty" json:"unmapBandwidthIncrement,omitempty" vim:"6.7"`
// Fixed unmap bandwidth ultra low limit value in MB/sec.
- UnmapBandwidthUltraLow int64 `xml:"unmapBandwidthUltraLow,omitempty" json:"unmapBandwidthUltraLow,omitempty"`
+ UnmapBandwidthUltraLow int64 `xml:"unmapBandwidthUltraLow,omitempty" json:"unmapBandwidthUltraLow,omitempty" vim:"8.0.0.1"`
}
func init() {
@@ -96197,14 +96720,14 @@ type VmfsDatastoreExpandSpec struct {
VmfsDatastoreSpec
// Partitioning specification.
- Partition HostDiskPartitionSpec `xml:"partition" json:"partition" vim:"4.0"`
+ Partition HostDiskPartitionSpec `xml:"partition" json:"partition"`
// VMFS extent to expand.
- Extent HostScsiDiskPartition `xml:"extent" json:"extent" vim:"4.0"`
+ Extent HostScsiDiskPartition `xml:"extent" json:"extent"`
}
func init() {
- minAPIVersionForType["VmfsDatastoreExpandSpec"] = "4.0"
t["VmfsDatastoreExpandSpec"] = reflect.TypeOf((*VmfsDatastoreExpandSpec)(nil)).Elem()
+ minAPIVersionForType["VmfsDatastoreExpandSpec"] = "4.0"
}
// Specification to increase the capacity of a VMFS datastore by adding
@@ -96337,12 +96860,12 @@ type VmfsMountFault struct {
HostConfigFault
// Vmfs volume uuid
- Uuid string `xml:"uuid" json:"uuid" vim:"4.0"`
+ Uuid string `xml:"uuid" json:"uuid"`
}
func init() {
- minAPIVersionForType["VmfsMountFault"] = "4.0"
t["VmfsMountFault"] = reflect.TypeOf((*VmfsMountFault)(nil)).Elem()
+ minAPIVersionForType["VmfsMountFault"] = "4.0"
}
type VmfsMountFaultFault BaseVmfsMountFault
@@ -96364,20 +96887,20 @@ type VmfsUnmapBandwidthSpec struct {
// values. If not specified, the default value is
// `fixed`, which means
// unmap is processed at a fixed rate.
- Policy string `xml:"policy" json:"policy" vim:"6.7"`
+ Policy string `xml:"policy" json:"policy"`
// This property determines the bandwidth under the fixed policy.
- FixedValue int64 `xml:"fixedValue" json:"fixedValue" vim:"6.7"`
+ FixedValue int64 `xml:"fixedValue" json:"fixedValue"`
// This property determines the lower limits of the unmap bandwidth
// under the dynamic policy.
- DynamicMin int64 `xml:"dynamicMin" json:"dynamicMin" vim:"6.7"`
+ DynamicMin int64 `xml:"dynamicMin" json:"dynamicMin"`
// This property determines the upper limits of the unmap bandwidth
// under the dynamic policy.
- DynamicMax int64 `xml:"dynamicMax" json:"dynamicMax" vim:"6.7"`
+ DynamicMax int64 `xml:"dynamicMax" json:"dynamicMax"`
}
func init() {
- minAPIVersionForType["VmfsUnmapBandwidthSpec"] = "6.7"
t["VmfsUnmapBandwidthSpec"] = reflect.TypeOf((*VmfsUnmapBandwidthSpec)(nil)).Elem()
+ minAPIVersionForType["VmfsUnmapBandwidthSpec"] = "6.7"
}
// This fault is thrown when the Vmotion Interface on this host is not enabled.
@@ -96388,8 +96911,8 @@ type VmotionInterfaceNotEnabled struct {
}
func init() {
- minAPIVersionForType["VmotionInterfaceNotEnabled"] = "2.5"
t["VmotionInterfaceNotEnabled"] = reflect.TypeOf((*VmotionInterfaceNotEnabled)(nil)).Elem()
+ minAPIVersionForType["VmotionInterfaceNotEnabled"] = "2.5"
}
type VmotionInterfaceNotEnabledFault VmotionInterfaceNotEnabled
@@ -96404,12 +96927,12 @@ type VmwareDistributedVirtualSwitchPvlanSpec struct {
VmwareDistributedVirtualSwitchVlanSpec
// The `VMwareDVSPvlanMapEntry.secondaryVlanId`.
- PvlanId int32 `xml:"pvlanId" json:"pvlanId" vim:"4.0"`
+ PvlanId int32 `xml:"pvlanId" json:"pvlanId"`
}
func init() {
- minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanSpec"] = "4.0"
t["VmwareDistributedVirtualSwitchPvlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchPvlanSpec)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchPvlanSpec"] = "4.0"
}
// This data type specifies that the port uses trunk mode,
@@ -96421,12 +96944,12 @@ type VmwareDistributedVirtualSwitchTrunkVlanSpec struct {
//
// The valid VlanId range is
// from 0 to 4094. Overlapping ranges are allowed.
- VlanId []NumericRange `xml:"vlanId,omitempty" json:"vlanId,omitempty" vim:"4.0"`
+ VlanId []NumericRange `xml:"vlanId,omitempty" json:"vlanId,omitempty"`
}
func init() {
- minAPIVersionForType["VmwareDistributedVirtualSwitchTrunkVlanSpec"] = "4.0"
t["VmwareDistributedVirtualSwitchTrunkVlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchTrunkVlanSpec)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchTrunkVlanSpec"] = "4.0"
}
// This data type defines the configuration when single vlanId is used for
@@ -96440,14 +96963,12 @@ type VmwareDistributedVirtualSwitchVlanIdSpec struct {
// - A value of 0 specifies that you do not want the port associated
// with a VLAN.
// - A value from 1 to 4094 specifies a VLAN ID for the port.
- //
- // `**Since:**` vSphere API 4.0
VlanId int32 `xml:"vlanId" json:"vlanId"`
}
func init() {
- minAPIVersionForType["VmwareDistributedVirtualSwitchVlanIdSpec"] = "4.0"
t["VmwareDistributedVirtualSwitchVlanIdSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchVlanIdSpec)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchVlanIdSpec"] = "4.0"
}
// Base class for Vlan Specifiation for ports.
@@ -96456,8 +96977,8 @@ type VmwareDistributedVirtualSwitchVlanSpec struct {
}
func init() {
- minAPIVersionForType["VmwareDistributedVirtualSwitchVlanSpec"] = "4.0"
t["VmwareDistributedVirtualSwitchVlanSpec"] = reflect.TypeOf((*VmwareDistributedVirtualSwitchVlanSpec)(nil)).Elem()
+ minAPIVersionForType["VmwareDistributedVirtualSwitchVlanSpec"] = "4.0"
}
// Policy for a uplink port team.
@@ -96470,31 +96991,31 @@ type VmwareUplinkPortTeamingPolicy struct {
// from the clients of the team is routed through the different uplinks
// in the team. The policies supported on the VDS platform is one of
// `nicTeamingPolicy`.
- Policy *StringPolicy `xml:"policy,omitempty" json:"policy,omitempty" vim:"4.0"`
+ Policy *StringPolicy `xml:"policy,omitempty" json:"policy,omitempty"`
// The flag to indicate whether or not the teaming policy is applied
// to inbound frames as well.
//
// Also see `HostNicTeamingPolicy.reversePolicy`
- ReversePolicy *BoolPolicy `xml:"reversePolicy,omitempty" json:"reversePolicy,omitempty" vim:"4.0"`
+ ReversePolicy *BoolPolicy `xml:"reversePolicy,omitempty" json:"reversePolicy,omitempty"`
// Flag to specify whether or not to notify the physical switch
// if a link fails.
//
// Also see `HostNicTeamingPolicy.notifySwitches`
- NotifySwitches *BoolPolicy `xml:"notifySwitches,omitempty" json:"notifySwitches,omitempty" vim:"4.0"`
+ NotifySwitches *BoolPolicy `xml:"notifySwitches,omitempty" json:"notifySwitches,omitempty"`
// The flag to indicate whether or not to use a rolling policy when
// restoring links.
//
// Also see `HostNicTeamingPolicy.rollingOrder`
- RollingOrder *BoolPolicy `xml:"rollingOrder,omitempty" json:"rollingOrder,omitempty" vim:"4.0"`
+ RollingOrder *BoolPolicy `xml:"rollingOrder,omitempty" json:"rollingOrder,omitempty"`
// Failover detection policy for the uplink port team.
- FailureCriteria *DVSFailureCriteria `xml:"failureCriteria,omitempty" json:"failureCriteria,omitempty" vim:"4.0"`
+ FailureCriteria *DVSFailureCriteria `xml:"failureCriteria,omitempty" json:"failureCriteria,omitempty"`
// Failover order policy for uplink ports on the hosts.
- UplinkPortOrder *VMwareUplinkPortOrderPolicy `xml:"uplinkPortOrder,omitempty" json:"uplinkPortOrder,omitempty" vim:"4.0"`
+ UplinkPortOrder *VMwareUplinkPortOrderPolicy `xml:"uplinkPortOrder,omitempty" json:"uplinkPortOrder,omitempty"`
}
func init() {
- minAPIVersionForType["VmwareUplinkPortTeamingPolicy"] = "4.0"
t["VmwareUplinkPortTeamingPolicy"] = reflect.TypeOf((*VmwareUplinkPortTeamingPolicy)(nil)).Elem()
+ minAPIVersionForType["VmwareUplinkPortTeamingPolicy"] = "4.0"
}
// This argument records a Virtual NIC device that connects to a DVPort.
@@ -96502,14 +97023,14 @@ type VnicPortArgument struct {
DynamicData
// The Virtual NIC devices that were using the DVports.
- Vnic string `xml:"vnic" json:"vnic" vim:"4.0"`
+ Vnic string `xml:"vnic" json:"vnic"`
// The DVPorts that were being used.
- Port DistributedVirtualSwitchPortConnection `xml:"port" json:"port" vim:"4.0"`
+ Port DistributedVirtualSwitchPortConnection `xml:"port" json:"port"`
}
func init() {
- minAPIVersionForType["VnicPortArgument"] = "4.0"
t["VnicPortArgument"] = reflect.TypeOf((*VnicPortArgument)(nil)).Elem()
+ minAPIVersionForType["VnicPortArgument"] = "4.0"
}
// An error occurred in the Open Source Components applications during
@@ -96540,12 +97061,12 @@ type VramLimitLicense struct {
NotEnoughLicenses
// The maximum allowed vRAM amount.
- Limit int32 `xml:"limit" json:"limit" vim:"5.0"`
+ Limit int32 `xml:"limit" json:"limit"`
}
func init() {
- minAPIVersionForType["VramLimitLicense"] = "5.0"
t["VramLimitLicense"] = reflect.TypeOf((*VramLimitLicense)(nil)).Elem()
+ minAPIVersionForType["VramLimitLicense"] = "5.0"
}
type VramLimitLicenseFault VramLimitLicense
@@ -96566,7 +97087,7 @@ type VsanClusterConfigInfo struct {
DynamicData
// Whether the VSAN service is enabled for the cluster.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"5.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// Default VSAN settings to use for hosts admitted to the cluster when the
// VSAN service is enabled.
//
@@ -96574,17 +97095,17 @@ type VsanClusterConfigInfo struct {
// fields in the `VsanClusterConfigInfoHostDefaultInfo` have been omitted.
//
// See also `VsanClusterConfigInfo.enabled`, `VsanClusterConfigInfoHostDefaultInfo`.
- DefaultConfig *VsanClusterConfigInfoHostDefaultInfo `xml:"defaultConfig,omitempty" json:"defaultConfig,omitempty" vim:"5.5"`
+ DefaultConfig *VsanClusterConfigInfoHostDefaultInfo `xml:"defaultConfig,omitempty" json:"defaultConfig,omitempty"`
// Whether the vSAN ESA is enabled for vSAN cluster.
//
// This can only be
// enabled when vSAN is enabled on the cluster.
- VsanEsaEnabled *bool `xml:"vsanEsaEnabled" json:"vsanEsaEnabled,omitempty"`
+ VsanEsaEnabled *bool `xml:"vsanEsaEnabled" json:"vsanEsaEnabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VsanClusterConfigInfo"] = "5.5"
t["VsanClusterConfigInfo"] = reflect.TypeOf((*VsanClusterConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VsanClusterConfigInfo"] = "5.5"
}
// Default VSAN service configuration to be used for hosts admitted
@@ -96602,7 +97123,7 @@ type VsanClusterConfigInfoHostDefaultInfo struct {
// not be specified by the user; a suitable UUID will be generated
// by the platform.
// While the VSAN service is enabled, this is a read-only value.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Deprecated as this configuration will be deprecated, autoclaim
// will be no longer supported.
//
@@ -96619,7 +97140,7 @@ type VsanClusterConfigInfoHostDefaultInfo struct {
// currently participating in the VSAN service.
//
// See also `VsanHostConfigInfoStorageInfo.diskMapping`, `VsanHostConfigInfoStorageInfo.autoClaimStorage`.
- AutoClaimStorage *bool `xml:"autoClaimStorage" json:"autoClaimStorage,omitempty" vim:"5.5"`
+ AutoClaimStorage *bool `xml:"autoClaimStorage" json:"autoClaimStorage,omitempty"`
// Whether the VSAN service is configured to enforce checksum protection.
//
// If omitted while enabling the VSAN service, this value will default
@@ -96632,8 +97153,8 @@ type VsanClusterConfigInfoHostDefaultInfo struct {
}
func init() {
- minAPIVersionForType["VsanClusterConfigInfoHostDefaultInfo"] = "5.5"
t["VsanClusterConfigInfoHostDefaultInfo"] = reflect.TypeOf((*VsanClusterConfigInfoHostDefaultInfo)(nil)).Elem()
+ minAPIVersionForType["VsanClusterConfigInfoHostDefaultInfo"] = "5.5"
}
// Fault thrown for the case that an attempt is made to move a host which
@@ -96645,15 +97166,15 @@ type VsanClusterUuidMismatch struct {
CannotMoveVsanEnabledHost
// The VSAN cluster UUID in use by the host at hand.
- HostClusterUuid string `xml:"hostClusterUuid" json:"hostClusterUuid" vim:"5.5"`
+ HostClusterUuid string `xml:"hostClusterUuid" json:"hostClusterUuid"`
// The VSAN cluster UUID in use by the destination
// `ClusterComputeResource`.
- DestinationClusterUuid string `xml:"destinationClusterUuid" json:"destinationClusterUuid" vim:"5.5"`
+ DestinationClusterUuid string `xml:"destinationClusterUuid" json:"destinationClusterUuid"`
}
func init() {
- minAPIVersionForType["VsanClusterUuidMismatch"] = "5.5"
t["VsanClusterUuidMismatch"] = reflect.TypeOf((*VsanClusterUuidMismatch)(nil)).Elem()
+ minAPIVersionForType["VsanClusterUuidMismatch"] = "5.5"
}
type VsanClusterUuidMismatchFault VsanClusterUuidMismatch
@@ -96667,14 +97188,14 @@ type VsanDatastoreInfo struct {
DatastoreInfo
// The cluster membership identity of the datastore.
- MembershipUuid string `xml:"membershipUuid,omitempty" json:"membershipUuid,omitempty" vim:"7.0.1.0"`
+ MembershipUuid string `xml:"membershipUuid,omitempty" json:"membershipUuid,omitempty"`
// The generation number tracking datastore accessibility.
- AccessGenNo int32 `xml:"accessGenNo,omitempty" json:"accessGenNo,omitempty" vim:"7.0.1.0"`
+ AccessGenNo int32 `xml:"accessGenNo,omitempty" json:"accessGenNo,omitempty"`
}
func init() {
- minAPIVersionForType["VsanDatastoreInfo"] = "7.0.1.0"
t["VsanDatastoreInfo"] = reflect.TypeOf((*VsanDatastoreInfo)(nil)).Elem()
+ minAPIVersionForType["VsanDatastoreInfo"] = "7.0.1.0"
}
// Base exception class for VSAN disk-related faults.
@@ -96684,12 +97205,12 @@ type VsanDiskFault struct {
// The canonical name for the disk at hand, if applicable.
//
// See also `ScsiLun.canonicalName`.
- Device string `xml:"device,omitempty" json:"device,omitempty" vim:"5.5"`
+ Device string `xml:"device,omitempty" json:"device,omitempty"`
}
func init() {
- minAPIVersionForType["VsanDiskFault"] = "5.5"
t["VsanDiskFault"] = reflect.TypeOf((*VsanDiskFault)(nil)).Elem()
+ minAPIVersionForType["VsanDiskFault"] = "5.5"
}
type VsanDiskFaultFault BaseVsanDiskFault
@@ -96707,8 +97228,8 @@ type VsanFault struct {
}
func init() {
- minAPIVersionForType["VsanFault"] = "5.5"
t["VsanFault"] = reflect.TypeOf((*VsanFault)(nil)).Elem()
+ minAPIVersionForType["VsanFault"] = "5.5"
}
type VsanFaultFault BaseVsanFault
@@ -96728,22 +97249,22 @@ type VsanHostClusterStatus struct {
DynamicData
// VSAN service cluster UUID.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// VSAN node UUID for this host.
- NodeUuid string `xml:"nodeUuid,omitempty" json:"nodeUuid,omitempty" vim:"5.5"`
+ NodeUuid string `xml:"nodeUuid,omitempty" json:"nodeUuid,omitempty"`
// VSAN health state for this host.
//
// See also `VsanHostHealthState_enum`.
- Health string `xml:"health" json:"health" vim:"5.5"`
+ Health string `xml:"health" json:"health"`
// VSAN node state for this host.
- NodeState VsanHostClusterStatusState `xml:"nodeState" json:"nodeState" vim:"5.5"`
+ NodeState VsanHostClusterStatusState `xml:"nodeState" json:"nodeState"`
// List of UUIDs for VSAN nodes known to this host.
- MemberUuid []string `xml:"memberUuid,omitempty" json:"memberUuid,omitempty" vim:"5.5"`
+ MemberUuid []string `xml:"memberUuid,omitempty" json:"memberUuid,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostClusterStatus"] = "5.5"
t["VsanHostClusterStatus"] = reflect.TypeOf((*VsanHostClusterStatus)(nil)).Elem()
+ minAPIVersionForType["VsanHostClusterStatus"] = "5.5"
}
// Data object representing the VSAN node state for a host.
@@ -96753,17 +97274,17 @@ type VsanHostClusterStatusState struct {
// VSAN node state for this host.
//
// See also `VsanHostNodeState_enum`.
- State string `xml:"state" json:"state" vim:"5.5"`
+ State string `xml:"state" json:"state"`
// An estimation of the completion of a node state transition; this
// value may be populated for transitory node states.
//
// See also `VsanHostNodeState_enum`.
- Completion *VsanHostClusterStatusStateCompletionEstimate `xml:"completion,omitempty" json:"completion,omitempty" vim:"5.5"`
+ Completion *VsanHostClusterStatusStateCompletionEstimate `xml:"completion,omitempty" json:"completion,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostClusterStatusState"] = "5.5"
t["VsanHostClusterStatusState"] = reflect.TypeOf((*VsanHostClusterStatusState)(nil)).Elem()
+ minAPIVersionForType["VsanHostClusterStatusState"] = "5.5"
}
// Estimated completion status for transitory node states.
@@ -96773,14 +97294,14 @@ type VsanHostClusterStatusStateCompletionEstimate struct {
DynamicData
// Estimated time of completion.
- CompleteTime *time.Time `xml:"completeTime" json:"completeTime,omitempty" vim:"5.5"`
+ CompleteTime *time.Time `xml:"completeTime" json:"completeTime,omitempty"`
// Estimated percent of completion as a value in the range \[0, 100\].
- PercentComplete int32 `xml:"percentComplete,omitempty" json:"percentComplete,omitempty" vim:"5.5"`
+ PercentComplete int32 `xml:"percentComplete,omitempty" json:"percentComplete,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostClusterStatusStateCompletionEstimate"] = "5.5"
t["VsanHostClusterStatusStateCompletionEstimate"] = reflect.TypeOf((*VsanHostClusterStatusStateCompletionEstimate)(nil)).Elem()
+ minAPIVersionForType["VsanHostClusterStatusStateCompletionEstimate"] = "5.5"
}
// The `VsanHostConfigInfo` data object contains host-specific settings
@@ -96793,7 +97314,7 @@ type VsanHostConfigInfo struct {
DynamicData
// Whether the VSAN service is currently enabled on this host.
- Enabled *bool `xml:"enabled" json:"enabled,omitempty" vim:"5.5"`
+ Enabled *bool `xml:"enabled" json:"enabled,omitempty"`
// The `HostSystem` for this host.
//
// This argument is required when this configuration is specified as
@@ -96803,19 +97324,19 @@ type VsanHostConfigInfo struct {
// See also `ComputeResource.ReconfigureComputeResource_Task`, `HostVsanSystem.UpdateVsan_Task`.
//
// Refers instance of `HostSystem`.
- HostSystem *ManagedObjectReference `xml:"hostSystem,omitempty" json:"hostSystem,omitempty" vim:"5.5"`
+ HostSystem *ManagedObjectReference `xml:"hostSystem,omitempty" json:"hostSystem,omitempty"`
// The VSAN service cluster configuration for this host.
- ClusterInfo *VsanHostConfigInfoClusterInfo `xml:"clusterInfo,omitempty" json:"clusterInfo,omitempty" vim:"5.5"`
+ ClusterInfo *VsanHostConfigInfoClusterInfo `xml:"clusterInfo,omitempty" json:"clusterInfo,omitempty"`
// The VSAN storage configuration for this host.
//
// VSAN storage configuration settings are independent of the
// current value of `VsanHostConfigInfo.enabled`.
- StorageInfo *VsanHostConfigInfoStorageInfo `xml:"storageInfo,omitempty" json:"storageInfo,omitempty" vim:"5.5"`
+ StorageInfo *VsanHostConfigInfoStorageInfo `xml:"storageInfo,omitempty" json:"storageInfo,omitempty"`
// The VSAN network configuration for this host.
//
// VSAN network configuration settings are independent of the
// current value of `VsanHostConfigInfo.enabled`.
- NetworkInfo *VsanHostConfigInfoNetworkInfo `xml:"networkInfo,omitempty" json:"networkInfo,omitempty" vim:"5.5"`
+ NetworkInfo *VsanHostConfigInfoNetworkInfo `xml:"networkInfo,omitempty" json:"networkInfo,omitempty"`
// The VSAN fault domain configuration for this host.
//
// VSAN host fault domain settings are independent of the
@@ -96825,12 +97346,12 @@ type VsanHostConfigInfo struct {
//
// This can only be
// enabled when vSAN is enabled on this host.
- VsanEsaEnabled *bool `xml:"vsanEsaEnabled" json:"vsanEsaEnabled,omitempty"`
+ VsanEsaEnabled *bool `xml:"vsanEsaEnabled" json:"vsanEsaEnabled,omitempty" vim:"8.0.0.1"`
}
func init() {
- minAPIVersionForType["VsanHostConfigInfo"] = "5.5"
t["VsanHostConfigInfo"] = reflect.TypeOf((*VsanHostConfigInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostConfigInfo"] = "5.5"
}
// Host-local VSAN cluster configuration.
@@ -96849,17 +97370,17 @@ type VsanHostConfigInfoClusterInfo struct {
// used for the service cluster UUID. If omitted when enabling the
// VSAN service, a suitable UUID will be generated by the platform.
// This is a read-only value while the VSAN service is enabled.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// VSAN node UUID for this host.
//
// This is a read-only value which is populated upon enabling of the
// VSAN service.
- NodeUuid string `xml:"nodeUuid,omitempty" json:"nodeUuid,omitempty" vim:"5.5"`
+ NodeUuid string `xml:"nodeUuid,omitempty" json:"nodeUuid,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostConfigInfoClusterInfo"] = "5.5"
t["VsanHostConfigInfoClusterInfo"] = reflect.TypeOf((*VsanHostConfigInfoClusterInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostConfigInfoClusterInfo"] = "5.5"
}
// Host-local VSAN network configuration.
@@ -96872,12 +97393,12 @@ type VsanHostConfigInfoNetworkInfo struct {
// Set of PortConfig entries for use by the VSAN service, one per
// "virtual network" as used by VSAN.
- Port []VsanHostConfigInfoNetworkInfoPortConfig `xml:"port,omitempty" json:"port,omitempty" vim:"5.5"`
+ Port []VsanHostConfigInfoNetworkInfoPortConfig `xml:"port,omitempty" json:"port,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostConfigInfoNetworkInfo"] = "5.5"
t["VsanHostConfigInfoNetworkInfo"] = reflect.TypeOf((*VsanHostConfigInfoNetworkInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostConfigInfoNetworkInfo"] = "5.5"
}
// A PortConfig represents a virtual network adapter and its
@@ -96888,17 +97409,17 @@ type VsanHostConfigInfoNetworkInfoPortConfig struct {
DynamicData
// `VsanHostIpConfig` for this PortConfig.
- IpConfig *VsanHostIpConfig `xml:"ipConfig,omitempty" json:"ipConfig,omitempty" vim:"5.5"`
+ IpConfig *VsanHostIpConfig `xml:"ipConfig,omitempty" json:"ipConfig,omitempty"`
// Device name which identifies the network adapter for this
// PortConfig.
//
// See also `HostVirtualNic.device`.
- Device string `xml:"device" json:"device" vim:"5.5"`
+ Device string `xml:"device" json:"device"`
}
func init() {
- minAPIVersionForType["VsanHostConfigInfoNetworkInfoPortConfig"] = "5.5"
t["VsanHostConfigInfoNetworkInfoPortConfig"] = reflect.TypeOf((*VsanHostConfigInfoNetworkInfoPortConfig)(nil)).Elem()
+ minAPIVersionForType["VsanHostConfigInfoNetworkInfoPortConfig"] = "5.5"
}
// Host-local VSAN storage configuration.
@@ -96923,7 +97444,7 @@ type VsanHostConfigInfoStorageInfo struct {
// it will override that of any cluster-level default value.
//
// See also `VsanHostConfigInfoStorageInfo.diskMapping`, `ClusterConfigInfoEx.vsanHostConfig`, `VsanClusterConfigInfo.defaultConfig`.
- AutoClaimStorage *bool `xml:"autoClaimStorage" json:"autoClaimStorage,omitempty" vim:"5.5"`
+ AutoClaimStorage *bool `xml:"autoClaimStorage" json:"autoClaimStorage,omitempty"`
// Deprecated use `VsanHostConfigInfoStorageInfo.diskMapInfo` instead.
//
// List of `VsanHostDiskMapping` entries in use by the VSAN service.
@@ -96933,7 +97454,7 @@ type VsanHostConfigInfoStorageInfo struct {
// `HostVsanSystem.InitializeDisks_Task`.
//
// See also `HostVsanSystem.InitializeDisks_Task`.
- DiskMapping []VsanHostDiskMapping `xml:"diskMapping,omitempty" json:"diskMapping,omitempty" vim:"5.5"`
+ DiskMapping []VsanHostDiskMapping `xml:"diskMapping,omitempty" json:"diskMapping,omitempty"`
// List of `VsanHostDiskMapping` entries with runtime information from
// the perspective of this host.
DiskMapInfo []VsanHostDiskMapInfo `xml:"diskMapInfo,omitempty" json:"diskMapInfo,omitempty" vim:"6.0"`
@@ -96951,8 +97472,8 @@ type VsanHostConfigInfoStorageInfo struct {
}
func init() {
- minAPIVersionForType["VsanHostConfigInfoStorageInfo"] = "5.5"
t["VsanHostConfigInfoStorageInfo"] = reflect.TypeOf((*VsanHostConfigInfoStorageInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostConfigInfoStorageInfo"] = "5.5"
}
// A `VsanHostDecommissionMode` defines an action to take upon decommissioning
@@ -96970,12 +97491,12 @@ type VsanHostDecommissionMode struct {
// putting a host into maintenance mode.
//
// See also `VsanHostDecommissionModeObjectAction_enum`.
- ObjectAction string `xml:"objectAction" json:"objectAction" vim:"5.5"`
+ ObjectAction string `xml:"objectAction" json:"objectAction"`
}
func init() {
- minAPIVersionForType["VsanHostDecommissionMode"] = "5.5"
t["VsanHostDecommissionMode"] = reflect.TypeOf((*VsanHostDecommissionMode)(nil)).Elem()
+ minAPIVersionForType["VsanHostDecommissionMode"] = "5.5"
}
// A DiskMapInfo represents a `VsanHostDiskMapping` and its
@@ -96986,14 +97507,14 @@ type VsanHostDiskMapInfo struct {
DynamicData
// DiskMapping.
- Mapping VsanHostDiskMapping `xml:"mapping" json:"mapping" vim:"6.0"`
+ Mapping VsanHostDiskMapping `xml:"mapping" json:"mapping"`
// Indicates whether the `VsanHostDiskMapping` is mounted.
- Mounted bool `xml:"mounted" json:"mounted" vim:"6.0"`
+ Mounted bool `xml:"mounted" json:"mounted"`
}
func init() {
- minAPIVersionForType["VsanHostDiskMapInfo"] = "6.0"
t["VsanHostDiskMapInfo"] = reflect.TypeOf((*VsanHostDiskMapInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostDiskMapInfo"] = "6.0"
}
// A DiskMapResult represents the result of an operation performed
@@ -97004,18 +97525,18 @@ type VsanHostDiskMapResult struct {
DynamicData
// DiskMapping for this result.
- Mapping VsanHostDiskMapping `xml:"mapping" json:"mapping" vim:"5.5"`
+ Mapping VsanHostDiskMapping `xml:"mapping" json:"mapping"`
// List of results for each disk in the mapping.
- DiskResult []VsanHostDiskResult `xml:"diskResult,omitempty" json:"diskResult,omitempty" vim:"5.5"`
+ DiskResult []VsanHostDiskResult `xml:"diskResult,omitempty" json:"diskResult,omitempty"`
// Error information for this result.
//
// See also `VsanDiskFault`.
- Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"5.5"`
+ Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostDiskMapResult"] = "5.5"
t["VsanHostDiskMapResult"] = reflect.TypeOf((*VsanHostDiskMapResult)(nil)).Elem()
+ minAPIVersionForType["VsanHostDiskMapResult"] = "5.5"
}
// A `VsanHostDiskMapping` is a set of one SSD `HostScsiDisk` backed
@@ -97031,14 +97552,14 @@ type VsanHostDiskMapping struct {
DynamicData
// SSD `HostScsiDisk`.
- Ssd HostScsiDisk `xml:"ssd" json:"ssd" vim:"5.5"`
+ Ssd HostScsiDisk `xml:"ssd" json:"ssd"`
// Set of non-SSD backing `HostScsiDisk`.
- NonSsd []HostScsiDisk `xml:"nonSsd" json:"nonSsd" vim:"5.5"`
+ NonSsd []HostScsiDisk `xml:"nonSsd" json:"nonSsd"`
}
func init() {
- minAPIVersionForType["VsanHostDiskMapping"] = "5.5"
t["VsanHostDiskMapping"] = reflect.TypeOf((*VsanHostDiskMapping)(nil)).Elem()
+ minAPIVersionForType["VsanHostDiskMapping"] = "5.5"
}
// A DiskResult represents the result of VSAN configuration operation
@@ -97050,18 +97571,18 @@ type VsanHostDiskResult struct {
DynamicData
// Disk for this result.
- Disk HostScsiDisk `xml:"disk" json:"disk" vim:"5.5"`
+ Disk HostScsiDisk `xml:"disk" json:"disk"`
// State of the disk for this result.
//
// See also `VsanHostDiskResultState_enum`.
- State string `xml:"state" json:"state" vim:"5.5"`
+ State string `xml:"state" json:"state"`
// VSAN disk UUID in case this disk is a VSAN disk.
- VsanUuid string `xml:"vsanUuid,omitempty" json:"vsanUuid,omitempty" vim:"5.5"`
+ VsanUuid string `xml:"vsanUuid,omitempty" json:"vsanUuid,omitempty"`
// Error information for this result: may be populated with additional
// information about the disk at hand, regardless of the disk's state.
//
// See also `VsanDiskFault`, `VsanHostDiskResult.state`.
- Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty" vim:"5.5"`
+ Error *LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
// Indicates whether the disk is degraded in VSAN performance.
//
// If set, indicates the disk performance is degraded in VSAN
@@ -97070,8 +97591,8 @@ type VsanHostDiskResult struct {
}
func init() {
- minAPIVersionForType["VsanHostDiskResult"] = "5.5"
t["VsanHostDiskResult"] = reflect.TypeOf((*VsanHostDiskResult)(nil)).Elem()
+ minAPIVersionForType["VsanHostDiskResult"] = "5.5"
}
// Host-local VSAN fault domain configuration.
@@ -97086,12 +97607,12 @@ type VsanHostFaultDomainInfo struct {
//
// The length of fault domain name should not exceed 256.
// Empty string indicates that the default fault domain is used.
- Name string `xml:"name" json:"name" vim:"6.0"`
+ Name string `xml:"name" json:"name"`
}
func init() {
- minAPIVersionForType["VsanHostFaultDomainInfo"] = "6.0"
t["VsanHostFaultDomainInfo"] = reflect.TypeOf((*VsanHostFaultDomainInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostFaultDomainInfo"] = "6.0"
}
// An `VsanHostIpConfig` is a pair of multicast IP addresses for use by the VSAN
@@ -97105,14 +97626,14 @@ type VsanHostIpConfig struct {
DynamicData
// Agent-to-master multicast IP address.
- UpstreamIpAddress string `xml:"upstreamIpAddress" json:"upstreamIpAddress" vim:"5.5"`
+ UpstreamIpAddress string `xml:"upstreamIpAddress" json:"upstreamIpAddress"`
// Master-to-agent multicast IP address.
- DownstreamIpAddress string `xml:"downstreamIpAddress" json:"downstreamIpAddress" vim:"5.5"`
+ DownstreamIpAddress string `xml:"downstreamIpAddress" json:"downstreamIpAddress"`
}
func init() {
- minAPIVersionForType["VsanHostIpConfig"] = "5.5"
t["VsanHostIpConfig"] = reflect.TypeOf((*VsanHostIpConfig)(nil)).Elem()
+ minAPIVersionForType["VsanHostIpConfig"] = "5.5"
}
// The `VsanHostMembershipInfo` data object contains VSAN cluster
@@ -97129,16 +97650,16 @@ type VsanHostMembershipInfo struct {
// VSAN node UUID for the host of this MembershipInfo.
//
// See also `VsanHostClusterStatus.nodeUuid`.
- NodeUuid string `xml:"nodeUuid" json:"nodeUuid" vim:"5.5"`
+ NodeUuid string `xml:"nodeUuid" json:"nodeUuid"`
// Hostname for the host of this MembershipInfo.
//
// May be the empty string "" if the hostname is unavailable.
- Hostname string `xml:"hostname" json:"hostname" vim:"5.5"`
+ Hostname string `xml:"hostname" json:"hostname"`
}
func init() {
- minAPIVersionForType["VsanHostMembershipInfo"] = "5.5"
t["VsanHostMembershipInfo"] = reflect.TypeOf((*VsanHostMembershipInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostMembershipInfo"] = "5.5"
}
// This data object contains VSAN cluster runtime information from
@@ -97150,19 +97671,19 @@ type VsanHostRuntimeInfo struct {
DynamicData
// This property reports host membership information.
- MembershipList []VsanHostMembershipInfo `xml:"membershipList,omitempty" json:"membershipList,omitempty" vim:"5.5"`
+ MembershipList []VsanHostMembershipInfo `xml:"membershipList,omitempty" json:"membershipList,omitempty"`
// List of disk issues detected on this host.
//
// To retrieve more information on the issues, use
// `HostVsanSystem.QueryDisksForVsan`.
- DiskIssues []VsanHostRuntimeInfoDiskIssue `xml:"diskIssues,omitempty" json:"diskIssues,omitempty" vim:"5.5"`
+ DiskIssues []VsanHostRuntimeInfoDiskIssue `xml:"diskIssues,omitempty" json:"diskIssues,omitempty"`
// Generation number tracking object accessibility.
- AccessGenNo int32 `xml:"accessGenNo,omitempty" json:"accessGenNo,omitempty" vim:"5.5"`
+ AccessGenNo int32 `xml:"accessGenNo,omitempty" json:"accessGenNo,omitempty"`
}
func init() {
- minAPIVersionForType["VsanHostRuntimeInfo"] = "5.5"
t["VsanHostRuntimeInfo"] = reflect.TypeOf((*VsanHostRuntimeInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostRuntimeInfo"] = "5.5"
}
// Data structure of reporting a disk issue.
@@ -97170,16 +97691,16 @@ type VsanHostRuntimeInfoDiskIssue struct {
DynamicData
// Disk uuid, @see vim.host.ScsiLun#uuid
- DiskId string `xml:"diskId" json:"diskId" vim:"5.5"`
+ DiskId string `xml:"diskId" json:"diskId"`
// Type of issue
//
// See also `VsanDiskIssueType_enum`.
- Issue string `xml:"issue" json:"issue" vim:"5.5"`
+ Issue string `xml:"issue" json:"issue"`
}
func init() {
- minAPIVersionForType["VsanHostRuntimeInfoDiskIssue"] = "5.5"
t["VsanHostRuntimeInfoDiskIssue"] = reflect.TypeOf((*VsanHostRuntimeInfoDiskIssue)(nil)).Elem()
+ minAPIVersionForType["VsanHostRuntimeInfoDiskIssue"] = "5.5"
}
// A VsanDiskInfo represents the additional detailed
@@ -97191,14 +97712,14 @@ type VsanHostVsanDiskInfo struct {
DynamicData
// Disk UUID in VSAN
- VsanUuid string `xml:"vsanUuid" json:"vsanUuid" vim:"6.0"`
+ VsanUuid string `xml:"vsanUuid" json:"vsanUuid"`
// VSAN file system version number
- FormatVersion int32 `xml:"formatVersion" json:"formatVersion" vim:"6.0"`
+ FormatVersion int32 `xml:"formatVersion" json:"formatVersion"`
}
func init() {
- minAPIVersionForType["VsanHostVsanDiskInfo"] = "6.0"
t["VsanHostVsanDiskInfo"] = reflect.TypeOf((*VsanHostVsanDiskInfo)(nil)).Elem()
+ minAPIVersionForType["VsanHostVsanDiskInfo"] = "6.0"
}
// Fault used for the add operation which will result in incompatible
@@ -97210,8 +97731,8 @@ type VsanIncompatibleDiskMapping struct {
}
func init() {
- minAPIVersionForType["VsanIncompatibleDiskMapping"] = "6.0"
t["VsanIncompatibleDiskMapping"] = reflect.TypeOf((*VsanIncompatibleDiskMapping)(nil)).Elem()
+ minAPIVersionForType["VsanIncompatibleDiskMapping"] = "6.0"
}
type VsanIncompatibleDiskMappingFault VsanIncompatibleDiskMapping
@@ -97227,14 +97748,14 @@ type VsanNewPolicyBatch struct {
DynamicData
// Size (in bytes) of the objects.
- Size []int64 `xml:"size,omitempty" json:"size,omitempty" vim:"5.5"`
+ Size []int64 `xml:"size,omitempty" json:"size,omitempty"`
// New policy in SPBM or VSAN expression format.
- Policy string `xml:"policy,omitempty" json:"policy,omitempty" vim:"5.5"`
+ Policy string `xml:"policy,omitempty" json:"policy,omitempty"`
}
func init() {
- minAPIVersionForType["VsanNewPolicyBatch"] = "5.5"
t["VsanNewPolicyBatch"] = reflect.TypeOf((*VsanNewPolicyBatch)(nil)).Elem()
+ minAPIVersionForType["VsanNewPolicyBatch"] = "5.5"
}
// PolicyChangeBatch --
@@ -97244,14 +97765,14 @@ type VsanPolicyChangeBatch struct {
DynamicData
// UUIDs of the objects.
- Uuid []string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid []string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// New policy in SPBM or VSAN expression format.
- Policy string `xml:"policy,omitempty" json:"policy,omitempty" vim:"5.5"`
+ Policy string `xml:"policy,omitempty" json:"policy,omitempty"`
}
func init() {
- minAPIVersionForType["VsanPolicyChangeBatch"] = "5.5"
t["VsanPolicyChangeBatch"] = reflect.TypeOf((*VsanPolicyChangeBatch)(nil)).Elem()
+ minAPIVersionForType["VsanPolicyChangeBatch"] = "5.5"
}
// PolicyCost --
@@ -97263,23 +97784,23 @@ type VsanPolicyCost struct {
//
// This is
// the max of reserved and used capacity.
- ChangeDataSize int64 `xml:"changeDataSize,omitempty" json:"changeDataSize,omitempty" vim:"5.5"`
+ ChangeDataSize int64 `xml:"changeDataSize,omitempty" json:"changeDataSize,omitempty"`
// Size (in bytes) of data currently stored on the datastore.
//
// This is
// the max of reserved and used capacity.
- CurrentDataSize int64 `xml:"currentDataSize,omitempty" json:"currentDataSize,omitempty" vim:"5.5"`
+ CurrentDataSize int64 `xml:"currentDataSize,omitempty" json:"currentDataSize,omitempty"`
// Size (in bytes) for temporary data that will be needed on disk if
// new policy is applied.
- TempDataSize int64 `xml:"tempDataSize,omitempty" json:"tempDataSize,omitempty" vim:"5.5"`
+ TempDataSize int64 `xml:"tempDataSize,omitempty" json:"tempDataSize,omitempty"`
// Size (in bytes) of data we need to write to VSAN Datastore if new
// policy is applied.
- CopyDataSize int64 `xml:"copyDataSize,omitempty" json:"copyDataSize,omitempty" vim:"5.5"`
+ CopyDataSize int64 `xml:"copyDataSize,omitempty" json:"copyDataSize,omitempty"`
// Change (in bytes) of flash space reserved for read cache if new
// policy is applied.
- ChangeFlashReadCacheSize int64 `xml:"changeFlashReadCacheSize,omitempty" json:"changeFlashReadCacheSize,omitempty" vim:"5.5"`
+ ChangeFlashReadCacheSize int64 `xml:"changeFlashReadCacheSize,omitempty" json:"changeFlashReadCacheSize,omitempty"`
// Size (in bytes) of flash space currently reserved for read cache.
- CurrentFlashReadCacheSize int64 `xml:"currentFlashReadCacheSize,omitempty" json:"currentFlashReadCacheSize,omitempty" vim:"5.5"`
+ CurrentFlashReadCacheSize int64 `xml:"currentFlashReadCacheSize,omitempty" json:"currentFlashReadCacheSize,omitempty"`
// Current ratio of physical disk space of an object to the logical VSAN
// address space.
//
@@ -97292,12 +97813,12 @@ type VsanPolicyCost struct {
// For eg. an object of size
// 1GB with two copies of the data has two 1GB replicas and so this
// ratio is 2.
- DiskSpaceToAddressSpaceRatio float32 `xml:"diskSpaceToAddressSpaceRatio,omitempty" json:"diskSpaceToAddressSpaceRatio,omitempty" vim:"5.5"`
+ DiskSpaceToAddressSpaceRatio float32 `xml:"diskSpaceToAddressSpaceRatio,omitempty" json:"diskSpaceToAddressSpaceRatio,omitempty"`
}
func init() {
- minAPIVersionForType["VsanPolicyCost"] = "5.5"
t["VsanPolicyCost"] = reflect.TypeOf((*VsanPolicyCost)(nil)).Elem()
+ minAPIVersionForType["VsanPolicyCost"] = "5.5"
}
// PolicySatisfiablity --
@@ -97306,23 +97827,23 @@ type VsanPolicySatisfiability struct {
DynamicData
// UUID of the object.
- Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty" vim:"5.5"`
+ Uuid string `xml:"uuid,omitempty" json:"uuid,omitempty"`
// Can the policy be satisfied given the assumptions of the API that
// queried satisfiability.
//
// See also `HostVsanInternalSystem.ReconfigurationSatisfiable`.
- IsSatisfiable bool `xml:"isSatisfiable" json:"isSatisfiable" vim:"5.5"`
+ IsSatisfiable bool `xml:"isSatisfiable" json:"isSatisfiable"`
// Reason for not being able to satisfy the policy; This is unset if
// policy can be satisfied.
- Reason *LocalizableMessage `xml:"reason,omitempty" json:"reason,omitempty" vim:"5.5"`
+ Reason *LocalizableMessage `xml:"reason,omitempty" json:"reason,omitempty"`
// Cost of satisfying the new policy; This is unset if policy cannot be
// satisfied.
- Cost *VsanPolicyCost `xml:"cost,omitempty" json:"cost,omitempty" vim:"5.5"`
+ Cost *VsanPolicyCost `xml:"cost,omitempty" json:"cost,omitempty"`
}
func init() {
- minAPIVersionForType["VsanPolicySatisfiability"] = "5.5"
t["VsanPolicySatisfiability"] = reflect.TypeOf((*VsanPolicySatisfiability)(nil)).Elem()
+ minAPIVersionForType["VsanPolicySatisfiability"] = "5.5"
}
// Pre-flight check encountered a VC plumbing issue.
@@ -97332,12 +97853,12 @@ type VsanUpgradeSystemAPIBrokenIssue struct {
// Hosts this issue applies to.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemAPIBrokenIssue"] = "6.0"
t["VsanUpgradeSystemAPIBrokenIssue"] = reflect.TypeOf((*VsanUpgradeSystemAPIBrokenIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemAPIBrokenIssue"] = "6.0"
}
// Pre-flight check encountered at least one host with auto-claim enabled.
@@ -97347,12 +97868,12 @@ type VsanUpgradeSystemAutoClaimEnabledOnHostsIssue struct {
// Hosts this issue applies to.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemAutoClaimEnabledOnHostsIssue"] = "6.0"
t["VsanUpgradeSystemAutoClaimEnabledOnHostsIssue"] = reflect.TypeOf((*VsanUpgradeSystemAutoClaimEnabledOnHostsIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemAutoClaimEnabledOnHostsIssue"] = "6.0"
}
// Pre-flight check encountered at least one host that is disconnected
@@ -97363,12 +97884,12 @@ type VsanUpgradeSystemHostsDisconnectedIssue struct {
// Hosts this issue applies to.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemHostsDisconnectedIssue"] = "6.0"
t["VsanUpgradeSystemHostsDisconnectedIssue"] = reflect.TypeOf((*VsanUpgradeSystemHostsDisconnectedIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemHostsDisconnectedIssue"] = "6.0"
}
// Pre-flight check encountered at least one host that is part of the
@@ -97379,12 +97900,12 @@ type VsanUpgradeSystemMissingHostsInClusterIssue struct {
// Hosts this issue applies to.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemMissingHostsInClusterIssue"] = "6.0"
t["VsanUpgradeSystemMissingHostsInClusterIssue"] = reflect.TypeOf((*VsanUpgradeSystemMissingHostsInClusterIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemMissingHostsInClusterIssue"] = "6.0"
}
// Information about a particular group of hosts making up a network partition.
@@ -97394,12 +97915,12 @@ type VsanUpgradeSystemNetworkPartitionInfo struct {
// Hosts that make up the network partition
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemNetworkPartitionInfo"] = "6.0"
t["VsanUpgradeSystemNetworkPartitionInfo"] = reflect.TypeOf((*VsanUpgradeSystemNetworkPartitionInfo)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemNetworkPartitionInfo"] = "6.0"
}
// Pre-flight check encountered a network partition.
@@ -97410,12 +97931,12 @@ type VsanUpgradeSystemNetworkPartitionIssue struct {
VsanUpgradeSystemPreflightCheckIssue
// List of network partitions
- Partitions []VsanUpgradeSystemNetworkPartitionInfo `xml:"partitions" json:"partitions" vim:"6.0"`
+ Partitions []VsanUpgradeSystemNetworkPartitionInfo `xml:"partitions" json:"partitions"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemNetworkPartitionIssue"] = "6.0"
t["VsanUpgradeSystemNetworkPartitionIssue"] = reflect.TypeOf((*VsanUpgradeSystemNetworkPartitionIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemNetworkPartitionIssue"] = "6.0"
}
// Pre-flight check encountered not enough free disk capacity to maintain policy compliance.
@@ -97424,12 +97945,12 @@ type VsanUpgradeSystemNotEnoughFreeCapacityIssue struct {
// Indicates that whether upgrade could be processed if option
// allowReducedRedundancy is taken.
- ReducedRedundancyUpgradePossible bool `xml:"reducedRedundancyUpgradePossible" json:"reducedRedundancyUpgradePossible" vim:"6.0"`
+ ReducedRedundancyUpgradePossible bool `xml:"reducedRedundancyUpgradePossible" json:"reducedRedundancyUpgradePossible"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemNotEnoughFreeCapacityIssue"] = "6.0"
t["VsanUpgradeSystemNotEnoughFreeCapacityIssue"] = reflect.TypeOf((*VsanUpgradeSystemNotEnoughFreeCapacityIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemNotEnoughFreeCapacityIssue"] = "6.0"
}
// Base class for a pre-flight check issue.
@@ -97440,12 +97961,12 @@ type VsanUpgradeSystemPreflightCheckIssue struct {
DynamicData
// Message describing the issue.
- Msg string `xml:"msg" json:"msg" vim:"6.0"`
+ Msg string `xml:"msg" json:"msg"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemPreflightCheckIssue"] = "6.0"
t["VsanUpgradeSystemPreflightCheckIssue"] = reflect.TypeOf((*VsanUpgradeSystemPreflightCheckIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemPreflightCheckIssue"] = "6.0"
}
// Captures the result of a VSAN upgrade pre-flight check.
@@ -97458,19 +97979,19 @@ type VsanUpgradeSystemPreflightCheckResult struct {
// i.e. only the first (few) issues may be captured, and only once those
// are resolved would additional issues be reported.
// Absence of issues means the pre-flight check passed.
- Issues []BaseVsanUpgradeSystemPreflightCheckIssue `xml:"issues,omitempty,typeattr" json:"issues,omitempty" vim:"6.0"`
+ Issues []BaseVsanUpgradeSystemPreflightCheckIssue `xml:"issues,omitempty,typeattr" json:"issues,omitempty"`
// If the upgrade process was previously interrupted, it may have
// removed VSAN from a disk group, but not added the disk group back
// into VSAN.
//
// If such a situation is detected, this field will be set
// and contains information about this disk group.
- DiskMappingToRestore *VsanHostDiskMapping `xml:"diskMappingToRestore,omitempty" json:"diskMappingToRestore,omitempty" vim:"6.0"`
+ DiskMappingToRestore *VsanHostDiskMapping `xml:"diskMappingToRestore,omitempty" json:"diskMappingToRestore,omitempty"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemPreflightCheckResult"] = "6.0"
t["VsanUpgradeSystemPreflightCheckResult"] = reflect.TypeOf((*VsanUpgradeSystemPreflightCheckResult)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemPreflightCheckResult"] = "6.0"
}
// Pre-flight check encountered at least one host that is part of the VSAN
@@ -97479,12 +98000,12 @@ type VsanUpgradeSystemRogueHostsInClusterIssue struct {
VsanUpgradeSystemPreflightCheckIssue
// Host UUIDs of rogue hosts.
- Uuids []string `xml:"uuids" json:"uuids" vim:"6.0"`
+ Uuids []string `xml:"uuids" json:"uuids"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemRogueHostsInClusterIssue"] = "6.0"
t["VsanUpgradeSystemRogueHostsInClusterIssue"] = reflect.TypeOf((*VsanUpgradeSystemRogueHostsInClusterIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemRogueHostsInClusterIssue"] = "6.0"
}
// The upgrade process removed or added VSAN from/to a disk group.
@@ -97499,14 +98020,14 @@ type VsanUpgradeSystemUpgradeHistoryDiskGroupOp struct {
// add or remove.
//
// See also `VsanUpgradeSystemUpgradeHistoryDiskGroupOpType_enum`.
- Operation string `xml:"operation" json:"operation" vim:"6.0"`
+ Operation string `xml:"operation" json:"operation"`
// Disk group that is being added/removed
- DiskMapping VsanHostDiskMapping `xml:"diskMapping" json:"diskMapping" vim:"6.0"`
+ DiskMapping VsanHostDiskMapping `xml:"diskMapping" json:"diskMapping"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOp"] = "6.0"
t["VsanUpgradeSystemUpgradeHistoryDiskGroupOp"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryDiskGroupOp)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryDiskGroupOp"] = "6.0"
}
// Captures one "log entry" of an upgrade process.
@@ -97514,28 +98035,28 @@ type VsanUpgradeSystemUpgradeHistoryItem struct {
DynamicData
// Time stamp when the history is record.
- Timestamp time.Time `xml:"timestamp" json:"timestamp" vim:"6.0"`
+ Timestamp time.Time `xml:"timestamp" json:"timestamp"`
// The host a history item pertains to.
//
// May be unset when item related
// to no particular host.
//
// Refers instance of `HostSystem`.
- Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty" vim:"6.0"`
+ Host *ManagedObjectReference `xml:"host,omitempty" json:"host,omitempty"`
// Description of the history item.
- Message string `xml:"message" json:"message" vim:"6.0"`
+ Message string `xml:"message" json:"message"`
// A task associated with the history item.
//
// May be unset if no task is
// associated.
//
// Refers instance of `Task`.
- Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty" vim:"6.0"`
+ Task *ManagedObjectReference `xml:"task,omitempty" json:"task,omitempty"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryItem"] = "6.0"
t["VsanUpgradeSystemUpgradeHistoryItem"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryItem)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryItem"] = "6.0"
}
// Upgrade process encountered a pre-flight check failure.
@@ -97546,12 +98067,12 @@ type VsanUpgradeSystemUpgradeHistoryPreflightFail struct {
VsanUpgradeSystemUpgradeHistoryItem
// Details about the failed preflight check.
- PreflightResult VsanUpgradeSystemPreflightCheckResult `xml:"preflightResult" json:"preflightResult" vim:"6.0"`
+ PreflightResult VsanUpgradeSystemPreflightCheckResult `xml:"preflightResult" json:"preflightResult"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryPreflightFail"] = "6.0"
t["VsanUpgradeSystemUpgradeHistoryPreflightFail"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeHistoryPreflightFail)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemUpgradeHistoryPreflightFail"] = "6.0"
}
// Captures the status of a VSAN cluster on-disk format upgrade.
@@ -97566,23 +98087,23 @@ type VsanUpgradeSystemUpgradeStatus struct {
// If true, other fields
// are guaranteed to be populated. If false, other fields may reflect
// a previous upgrade process run, or they may be unset.
- InProgress bool `xml:"inProgress" json:"inProgress" vim:"6.0"`
+ InProgress bool `xml:"inProgress" json:"inProgress"`
// Log of a single upgrade task.
//
// Lists all operations performed by the
// upgrade process in chronological order.
- History []BaseVsanUpgradeSystemUpgradeHistoryItem `xml:"history,omitempty,typeattr" json:"history,omitempty" vim:"6.0"`
+ History []BaseVsanUpgradeSystemUpgradeHistoryItem `xml:"history,omitempty,typeattr" json:"history,omitempty"`
// Set if the upgrade process was aborted.
- Aborted *bool `xml:"aborted" json:"aborted,omitempty" vim:"6.0"`
+ Aborted *bool `xml:"aborted" json:"aborted,omitempty"`
// Set if the upgrade process has completed successfully.
- Completed *bool `xml:"completed" json:"completed,omitempty" vim:"6.0"`
+ Completed *bool `xml:"completed" json:"completed,omitempty"`
// Progress in percent.
- Progress int32 `xml:"progress,omitempty" json:"progress,omitempty" vim:"6.0"`
+ Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemUpgradeStatus"] = "6.0"
t["VsanUpgradeSystemUpgradeStatus"] = reflect.TypeOf((*VsanUpgradeSystemUpgradeStatus)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemUpgradeStatus"] = "6.0"
}
// Pre-flight check encountered v2 objects preventing a downgrade.
@@ -97590,12 +98111,12 @@ type VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue struct {
VsanUpgradeSystemPreflightCheckIssue
// Object UUIDs of v2 objects.
- Uuids []string `xml:"uuids" json:"uuids" vim:"6.0"`
+ Uuids []string `xml:"uuids" json:"uuids"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue"] = "6.0"
t["VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue"] = reflect.TypeOf((*VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemV2ObjectsPresentDuringDowngradeIssue"] = "6.0"
}
// Pre-flight check encountered at least one host with wrong ESX version.
@@ -97607,12 +98128,12 @@ type VsanUpgradeSystemWrongEsxVersionIssue struct {
// Hosts this issue applies to.
//
// Refers instances of `HostSystem`.
- Hosts []ManagedObjectReference `xml:"hosts" json:"hosts" vim:"6.0"`
+ Hosts []ManagedObjectReference `xml:"hosts" json:"hosts"`
}
func init() {
- minAPIVersionForType["VsanUpgradeSystemWrongEsxVersionIssue"] = "6.0"
t["VsanUpgradeSystemWrongEsxVersionIssue"] = reflect.TypeOf((*VsanUpgradeSystemWrongEsxVersionIssue)(nil)).Elem()
+ minAPIVersionForType["VsanUpgradeSystemWrongEsxVersionIssue"] = "6.0"
}
// Specification of cloning a virtual storage object.
@@ -97620,7 +98141,7 @@ type VslmCloneSpec struct {
VslmMigrateSpec
// Descriptive name of the cloned virtual storage object.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is false.
@@ -97636,8 +98157,8 @@ type VslmCloneSpec struct {
}
func init() {
- minAPIVersionForType["VslmCloneSpec"] = "6.5"
t["VslmCloneSpec"] = reflect.TypeOf((*VslmCloneSpec)(nil)).Elem()
+ minAPIVersionForType["VslmCloneSpec"] = "6.5"
}
// Specification to create a virtual storage object.
@@ -97645,15 +98166,15 @@ type VslmCreateSpec struct {
DynamicData
// Descriptive name of this virtual storage object.
- Name string `xml:"name" json:"name" vim:"6.5"`
+ Name string `xml:"name" json:"name"`
// Choice of the deletion behavior of this virtual storage object.
//
// If not set, the default value is true.
KeepAfterDeleteVm *bool `xml:"keepAfterDeleteVm" json:"keepAfterDeleteVm,omitempty" vim:"6.7"`
// Specification of the backings of the virtual storage object.
- BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr" json:"backingSpec" vim:"6.5"`
+ BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr" json:"backingSpec"`
// Size in MB of the virtual storage object.
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB" vim:"6.5"`
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
// Virtual storage object Profile requirement.
//
// If unset,
@@ -97677,8 +98198,8 @@ type VslmCreateSpec struct {
}
func init() {
- minAPIVersionForType["VslmCreateSpec"] = "6.5"
t["VslmCreateSpec"] = reflect.TypeOf((*VslmCreateSpec)(nil)).Elem()
+ minAPIVersionForType["VslmCreateSpec"] = "6.5"
}
// Specification of the backing of a virtual
@@ -97689,7 +98210,7 @@ type VslmCreateSpecBackingSpec struct {
// The datastore managed object where this backing is located.
//
// Refers instance of `Datastore`.
- Datastore ManagedObjectReference `xml:"datastore" json:"datastore" vim:"6.5"`
+ Datastore ManagedObjectReference `xml:"datastore" json:"datastore"`
// Relative location in the specified datastore where disk needs to be
// created.
//
@@ -97699,8 +98220,8 @@ type VslmCreateSpecBackingSpec struct {
}
func init() {
- minAPIVersionForType["VslmCreateSpecBackingSpec"] = "6.5"
t["VslmCreateSpecBackingSpec"] = reflect.TypeOf((*VslmCreateSpecBackingSpec)(nil)).Elem()
+ minAPIVersionForType["VslmCreateSpecBackingSpec"] = "6.5"
}
// Specification of the disk file backing of a virtual
@@ -97716,12 +98237,12 @@ type VslmCreateSpecDiskFileBackingSpec struct {
// in the policy. If still not found, the default
// `thin`
// will be used..
- ProvisioningType string `xml:"provisioningType,omitempty" json:"provisioningType,omitempty" vim:"6.5"`
+ ProvisioningType string `xml:"provisioningType,omitempty" json:"provisioningType,omitempty"`
}
func init() {
- minAPIVersionForType["VslmCreateSpecDiskFileBackingSpec"] = "6.5"
t["VslmCreateSpecDiskFileBackingSpec"] = reflect.TypeOf((*VslmCreateSpecDiskFileBackingSpec)(nil)).Elem()
+ minAPIVersionForType["VslmCreateSpecDiskFileBackingSpec"] = "6.5"
}
// Specification of the rdm backing of a virtual
@@ -97730,19 +98251,19 @@ type VslmCreateSpecRawDiskMappingBackingSpec struct {
VslmCreateSpecBackingSpec
// Unique identifier of the LUN accessed by the raw disk mapping.
- LunUuid string `xml:"lunUuid" json:"lunUuid" vim:"6.5"`
+ LunUuid string `xml:"lunUuid" json:"lunUuid"`
// The compatibility mode of the raw disk mapping (RDM).
//
// This must be specified
// when a new virtual disk with an RDM backing is created.
//
// See also `VirtualDiskCompatibilityMode_enum`.
- CompatibilityMode string `xml:"compatibilityMode" json:"compatibilityMode" vim:"6.5"`
+ CompatibilityMode string `xml:"compatibilityMode" json:"compatibilityMode"`
}
func init() {
- minAPIVersionForType["VslmCreateSpecRawDiskMappingBackingSpec"] = "6.5"
t["VslmCreateSpecRawDiskMappingBackingSpec"] = reflect.TypeOf((*VslmCreateSpecRawDiskMappingBackingSpec)(nil)).Elem()
+ minAPIVersionForType["VslmCreateSpecRawDiskMappingBackingSpec"] = "6.5"
}
// Base specification of moving or copying a virtual storage object.
@@ -97750,7 +98271,7 @@ type VslmMigrateSpec struct {
DynamicData
// Specification of the backings of the target virtual storage object.
- BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr" json:"backingSpec" vim:"6.5"`
+ BackingSpec BaseVslmCreateSpecBackingSpec `xml:"backingSpec,typeattr" json:"backingSpec"`
// Virtual storage object Profile requirement.
//
// If unset,
@@ -97761,7 +98282,7 @@ type VslmMigrateSpec struct {
//
// If unset, delta disk backings will not be
// consolidated.
- Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty" vim:"6.5"`
+ Consolidate *bool `xml:"consolidate" json:"consolidate,omitempty"`
// Disk chain crypto information.
//
// If unset and if `VslmMigrateSpec.profile` contains an encryption iofilter and if
@@ -97783,8 +98304,8 @@ type VslmMigrateSpec struct {
}
func init() {
- minAPIVersionForType["VslmMigrateSpec"] = "6.5"
t["VslmMigrateSpec"] = reflect.TypeOf((*VslmMigrateSpec)(nil)).Elem()
+ minAPIVersionForType["VslmMigrateSpec"] = "6.5"
}
// Specification for relocating a virtual storage object.
@@ -97793,8 +98314,8 @@ type VslmRelocateSpec struct {
}
func init() {
- minAPIVersionForType["VslmRelocateSpec"] = "6.5"
t["VslmRelocateSpec"] = reflect.TypeOf((*VslmRelocateSpec)(nil)).Elem()
+ minAPIVersionForType["VslmRelocateSpec"] = "6.5"
}
// Specification of the Tag-Association tuple of Dataservice Tagging package.
@@ -97804,14 +98325,14 @@ type VslmTagEntry struct {
DynamicData
// Associated tag name of the Tag-Association tuple
- TagName string `xml:"tagName" json:"tagName" vim:"6.5"`
+ TagName string `xml:"tagName" json:"tagName"`
// Associated parent category name of the Tag-Association tuple
- ParentCategoryName string `xml:"parentCategoryName" json:"parentCategoryName" vim:"6.5"`
+ ParentCategoryName string `xml:"parentCategoryName" json:"parentCategoryName"`
}
func init() {
- minAPIVersionForType["VslmTagEntry"] = "6.5"
t["VslmTagEntry"] = reflect.TypeOf((*VslmTagEntry)(nil)).Elem()
+ minAPIVersionForType["VslmTagEntry"] = "6.5"
}
// Thrown if a dvPort is used as destination in multiple Distributed Port Mirroring sessions.
@@ -97820,17 +98341,17 @@ type VspanDestPortConflict struct {
// The key of the Distributed Port Mirroring session whose destination ports include a port
// that is also used as destination ports of other Distributed Port Mirroring sessions
- VspanSessionKey1 string `xml:"vspanSessionKey1" json:"vspanSessionKey1" vim:"5.0"`
+ VspanSessionKey1 string `xml:"vspanSessionKey1" json:"vspanSessionKey1"`
// The key of the Distributed Port Mirroring session whose destination ports include a port
// that is also used as destination ports of other Distributed Port Mirroring sessions
- VspanSessionKey2 string `xml:"vspanSessionKey2" json:"vspanSessionKey2" vim:"5.0"`
+ VspanSessionKey2 string `xml:"vspanSessionKey2" json:"vspanSessionKey2"`
// The key of the the port that is used as destination in multiple Distributed Port Mirroring sessions
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanDestPortConflict"] = "5.0"
t["VspanDestPortConflict"] = reflect.TypeOf((*VspanDestPortConflict)(nil)).Elem()
+ minAPIVersionForType["VspanDestPortConflict"] = "5.0"
}
type VspanDestPortConflictFault VspanDestPortConflict
@@ -97845,16 +98366,16 @@ type VspanPortConflict struct {
DvsFault
// The key of the Distributed Port Mirroring session that is in conflict
- VspanSessionKey1 string `xml:"vspanSessionKey1" json:"vspanSessionKey1" vim:"5.0"`
+ VspanSessionKey1 string `xml:"vspanSessionKey1" json:"vspanSessionKey1"`
// The key of the Distributed Port Mirroring session that is in conflict
- VspanSessionKey2 string `xml:"vspanSessionKey2" json:"vspanSessionKey2" vim:"5.0"`
+ VspanSessionKey2 string `xml:"vspanSessionKey2" json:"vspanSessionKey2"`
// The key of the port that is both the transmitted source and destination.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanPortConflict"] = "5.0"
t["VspanPortConflict"] = reflect.TypeOf((*VspanPortConflict)(nil)).Elem()
+ minAPIVersionForType["VspanPortConflict"] = "5.0"
}
type VspanPortConflictFault VspanPortConflict
@@ -97870,16 +98391,16 @@ type VspanPortMoveFault struct {
DvsFault
// The key of the source portgroup.
- SrcPortgroupName string `xml:"srcPortgroupName" json:"srcPortgroupName" vim:"5.0"`
+ SrcPortgroupName string `xml:"srcPortgroupName" json:"srcPortgroupName"`
// The key of the dest portgroup.
- DestPortgroupName string `xml:"destPortgroupName" json:"destPortgroupName" vim:"5.0"`
+ DestPortgroupName string `xml:"destPortgroupName" json:"destPortgroupName"`
// The key of the port.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanPortMoveFault"] = "5.0"
t["VspanPortMoveFault"] = reflect.TypeOf((*VspanPortMoveFault)(nil)).Elem()
+ minAPIVersionForType["VspanPortMoveFault"] = "5.0"
}
type VspanPortMoveFaultFault VspanPortMoveFault
@@ -97894,12 +98415,12 @@ type VspanPortPromiscChangeFault struct {
DvsFault
// The key of the port.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanPortPromiscChangeFault"] = "5.0"
t["VspanPortPromiscChangeFault"] = reflect.TypeOf((*VspanPortPromiscChangeFault)(nil)).Elem()
+ minAPIVersionForType["VspanPortPromiscChangeFault"] = "5.0"
}
type VspanPortPromiscChangeFaultFault VspanPortPromiscChangeFault
@@ -97915,12 +98436,12 @@ type VspanPortgroupPromiscChangeFault struct {
DvsFault
// The key of the port.
- PortgroupName string `xml:"portgroupName" json:"portgroupName" vim:"5.0"`
+ PortgroupName string `xml:"portgroupName" json:"portgroupName"`
}
func init() {
- minAPIVersionForType["VspanPortgroupPromiscChangeFault"] = "5.0"
t["VspanPortgroupPromiscChangeFault"] = reflect.TypeOf((*VspanPortgroupPromiscChangeFault)(nil)).Elem()
+ minAPIVersionForType["VspanPortgroupPromiscChangeFault"] = "5.0"
}
type VspanPortgroupPromiscChangeFaultFault VspanPortgroupPromiscChangeFault
@@ -97936,12 +98457,12 @@ type VspanPortgroupTypeChangeFault struct {
DvsFault
// The name of the portgroup.
- PortgroupName string `xml:"portgroupName" json:"portgroupName" vim:"5.0"`
+ PortgroupName string `xml:"portgroupName" json:"portgroupName"`
}
func init() {
- minAPIVersionForType["VspanPortgroupTypeChangeFault"] = "5.0"
t["VspanPortgroupTypeChangeFault"] = reflect.TypeOf((*VspanPortgroupTypeChangeFault)(nil)).Elem()
+ minAPIVersionForType["VspanPortgroupTypeChangeFault"] = "5.0"
}
type VspanPortgroupTypeChangeFaultFault VspanPortgroupTypeChangeFault
@@ -97957,15 +98478,15 @@ type VspanPromiscuousPortNotSupported struct {
// The key of the Distributed Port Mirroring session in which a promiscuous port is used as
// transmitted source or destination ports.
- VspanSessionKey string `xml:"vspanSessionKey" json:"vspanSessionKey" vim:"5.0"`
+ VspanSessionKey string `xml:"vspanSessionKey" json:"vspanSessionKey"`
// The key of the promiscuous port that appears in transmitted
// source or destination ports.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanPromiscuousPortNotSupported"] = "5.0"
t["VspanPromiscuousPortNotSupported"] = reflect.TypeOf((*VspanPromiscuousPortNotSupported)(nil)).Elem()
+ minAPIVersionForType["VspanPromiscuousPortNotSupported"] = "5.0"
}
type VspanPromiscuousPortNotSupportedFault VspanPromiscuousPortNotSupported
@@ -97980,15 +98501,15 @@ type VspanSameSessionPortConflict struct {
DvsFault
// The key of the Distributed Port Mirroring session in which a dvPort appears in both the source and destination ports
- VspanSessionKey string `xml:"vspanSessionKey" json:"vspanSessionKey" vim:"5.0"`
+ VspanSessionKey string `xml:"vspanSessionKey" json:"vspanSessionKey"`
// The key of the port that appears in both the source and
// destination ports of the same Distributed Port Mirroring session.
- PortKey string `xml:"portKey" json:"portKey" vim:"5.0"`
+ PortKey string `xml:"portKey" json:"portKey"`
}
func init() {
- minAPIVersionForType["VspanSameSessionPortConflict"] = "5.0"
t["VspanSameSessionPortConflict"] = reflect.TypeOf((*VspanSameSessionPortConflict)(nil)).Elem()
+ minAPIVersionForType["VspanSameSessionPortConflict"] = "5.0"
}
type VspanSameSessionPortConflictFault VspanSameSessionPortConflict
@@ -98007,7 +98528,7 @@ func init() {
type VstorageObjectVCenterQueryChangedDiskAreasRequestType struct {
This ManagedObjectReference `xml:"_this" json:"-"`
// The ID of the virtual storage object.
- Id ID `xml:"id" json:"id" vim:"6.5"`
+ Id ID `xml:"id" json:"id"`
// The datastore where the source virtual storage object
// is located.
//
@@ -98016,7 +98537,7 @@ type VstorageObjectVCenterQueryChangedDiskAreasRequestType struct {
// The ID of the snapshot of a virtual storage object for
// which changes that have been made since "changeId"
// should be computed.
- SnapshotId ID `xml:"snapshotId" json:"snapshotId" vim:"6.5"`
+ SnapshotId ID `xml:"snapshotId" json:"snapshotId"`
// Start Offset in bytes at which to start computing
// changes. Typically, callers will make multiple calls
// to this function, starting with startOffset 0 and then
@@ -98052,8 +98573,8 @@ type VvolDatastoreInfo struct {
}
func init() {
- minAPIVersionForType["VvolDatastoreInfo"] = "6.0"
t["VvolDatastoreInfo"] = reflect.TypeOf((*VvolDatastoreInfo)(nil)).Elem()
+ minAPIVersionForType["VvolDatastoreInfo"] = "6.0"
}
type WaitForUpdates WaitForUpdatesRequestType
@@ -98080,7 +98601,7 @@ type WaitForUpdatesExRequestType struct {
Version string `xml:"version,omitempty" json:"version,omitempty"`
// Additional options controlling the change calculation. If omitted,
// equivalent to an options argument with no fields set.
- Options *WaitOptions `xml:"options,omitempty" json:"options,omitempty" vim:"4.1"`
+ Options *WaitOptions `xml:"options,omitempty" json:"options,omitempty"`
}
func init() {
@@ -98137,7 +98658,7 @@ type WaitOptions struct {
// Typically it should be no shorter than a few minutes.
//
// A negative value is illegal.
- MaxWaitSeconds *int32 `xml:"maxWaitSeconds" json:"maxWaitSeconds,omitempty" vim:"4.1"`
+ MaxWaitSeconds *int32 `xml:"maxWaitSeconds" json:"maxWaitSeconds,omitempty"`
// The maximum number of `ObjectUpdate`
// entries that should be returned in a single result from `PropertyCollector.WaitForUpdatesEx`.
//
@@ -98153,12 +98674,12 @@ type WaitOptions struct {
// limit the total count to something less than `WaitOptions.maxObjectUpdates`.
//
// A value less than or equal to 0 is illegal.
- MaxObjectUpdates int32 `xml:"maxObjectUpdates,omitempty" json:"maxObjectUpdates,omitempty" vim:"4.1"`
+ MaxObjectUpdates int32 `xml:"maxObjectUpdates,omitempty" json:"maxObjectUpdates,omitempty"`
}
func init() {
- minAPIVersionForType["WaitOptions"] = "4.1"
t["WaitOptions"] = reflect.TypeOf((*WaitOptions)(nil)).Elem()
+ minAPIVersionForType["WaitOptions"] = "4.1"
}
// The virtual machine and at least one of its virtual NICs are configured to
@@ -98169,8 +98690,8 @@ type WakeOnLanNotSupported struct {
}
func init() {
- minAPIVersionForType["WakeOnLanNotSupported"] = "2.5"
t["WakeOnLanNotSupported"] = reflect.TypeOf((*WakeOnLanNotSupported)(nil)).Elem()
+ minAPIVersionForType["WakeOnLanNotSupported"] = "2.5"
}
// This fault is thrown when Wake-on-LAN isn't supported by the Vmotion NIC on the host.
@@ -98179,8 +98700,8 @@ type WakeOnLanNotSupportedByVmotionNIC struct {
}
func init() {
- minAPIVersionForType["WakeOnLanNotSupportedByVmotionNIC"] = "2.5"
t["WakeOnLanNotSupportedByVmotionNIC"] = reflect.TypeOf((*WakeOnLanNotSupportedByVmotionNIC)(nil)).Elem()
+ minAPIVersionForType["WakeOnLanNotSupportedByVmotionNIC"] = "2.5"
}
type WakeOnLanNotSupportedByVmotionNICFault WakeOnLanNotSupportedByVmotionNIC
@@ -98253,12 +98774,12 @@ type WillLoseHAProtection struct {
//
// Values come from
// `WillLoseHAProtectionResolution_enum`.
- Resolution string `xml:"resolution" json:"resolution" vim:"5.0"`
+ Resolution string `xml:"resolution" json:"resolution"`
}
func init() {
- minAPIVersionForType["WillLoseHAProtection"] = "5.0"
t["WillLoseHAProtection"] = reflect.TypeOf((*WillLoseHAProtection)(nil)).Elem()
+ minAPIVersionForType["WillLoseHAProtection"] = "5.0"
}
type WillLoseHAProtectionFault WillLoseHAProtection
@@ -98312,8 +98833,8 @@ type WillResetSnapshotDirectory struct {
}
func init() {
- minAPIVersionForType["WillResetSnapshotDirectory"] = "5.0"
t["WillResetSnapshotDirectory"] = reflect.TypeOf((*WillResetSnapshotDirectory)(nil)).Elem()
+ minAPIVersionForType["WillResetSnapshotDirectory"] = "5.0"
}
type WillResetSnapshotDirectoryFault WillResetSnapshotDirectory
@@ -98328,14 +98849,14 @@ type WinNetBIOSConfigInfo struct {
NetBIOSConfigInfo
// The IP address of the primary WINS server.
- PrimaryWINS string `xml:"primaryWINS" json:"primaryWINS" vim:"4.1"`
+ PrimaryWINS string `xml:"primaryWINS" json:"primaryWINS"`
// The IP address of the secondary WINS server.
- SecondaryWINS string `xml:"secondaryWINS,omitempty" json:"secondaryWINS,omitempty" vim:"4.1"`
+ SecondaryWINS string `xml:"secondaryWINS,omitempty" json:"secondaryWINS,omitempty"`
}
func init() {
- minAPIVersionForType["WinNetBIOSConfigInfo"] = "4.1"
t["WinNetBIOSConfigInfo"] = reflect.TypeOf((*WinNetBIOSConfigInfo)(nil)).Elem()
+ minAPIVersionForType["WinNetBIOSConfigInfo"] = "4.1"
}
// This exception is thrown when VirtualMachine.wipeDisk
@@ -98345,8 +98866,8 @@ type WipeDiskFault struct {
}
func init() {
- minAPIVersionForType["WipeDiskFault"] = "5.1"
t["WipeDiskFault"] = reflect.TypeOf((*WipeDiskFault)(nil)).Elem()
+ minAPIVersionForType["WipeDiskFault"] = "5.1"
}
type WipeDiskFaultFault WipeDiskFault
@@ -98361,17 +98882,17 @@ type WitnessNodeInfo struct {
DynamicData
// VCHA Cluster network configuration of the Witness node.
- IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings" vim:"6.5"`
+ IpSettings CustomizationIPSettings `xml:"ipSettings" json:"ipSettings"`
// BIOS UUID for the node.
//
// It is set only if the VCHA Cluster was
// formed using automatic provisioning by the deploy API.
- BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty" vim:"6.5"`
+ BiosUuid string `xml:"biosUuid,omitempty" json:"biosUuid,omitempty"`
}
func init() {
- minAPIVersionForType["WitnessNodeInfo"] = "6.5"
t["WitnessNodeInfo"] = reflect.TypeOf((*WitnessNodeInfo)(nil)).Elem()
+ minAPIVersionForType["WitnessNodeInfo"] = "6.5"
}
type XmlToCustomizationSpecItem XmlToCustomizationSpecItemRequestType
diff --git a/vslm/object_manager.go b/vslm/object_manager.go
index 9add57c0e..7e49cf0bc 100644
--- a/vslm/object_manager.go
+++ b/vslm/object_manager.go
@@ -250,7 +250,11 @@ func (m ObjectManager) RegisterDisk(ctx context.Context, path, name string) (*ty
return &res.Returnval, nil
}
- res, err := methods.HostRegisterDisk(ctx, m.c, (*types.HostRegisterDisk)(&req))
+ res, err := methods.HostRegisterDisk(ctx, m.c, &types.HostRegisterDisk{
+ This: m.Reference(),
+ Path: path,
+ Name: name,
+ })
if err != nil {
return nil, err
}
diff --git a/vslm/types/enum.go b/vslm/types/enum.go
index ea382c731..06598900e 100644
--- a/vslm/types/enum.go
+++ b/vslm/types/enum.go
@@ -25,7 +25,9 @@ import (
type VslmEventType string
const (
- VslmEventTypePreFcdMigrateEvent = VslmEventType("preFcdMigrateEvent")
+ // Event type used to notify that FCD is going to be relocated.
+ VslmEventTypePreFcdMigrateEvent = VslmEventType("preFcdMigrateEvent")
+ // Event type used to notify FCD has been relocated.
VslmEventTypePostFcdMigrateEvent = VslmEventType("postFcdMigrateEvent")
)
@@ -33,47 +35,76 @@ func init() {
types.Add("vslm:VslmEventType", reflect.TypeOf((*VslmEventType)(nil)).Elem())
}
+// The possible states of the vlsm event processing.
type VslmEventVslmEventInfoState string
const (
+ // When the event has been successfully processed.
VslmEventVslmEventInfoStateSuccess = VslmEventVslmEventInfoState("success")
- VslmEventVslmEventInfoStateError = VslmEventVslmEventInfoState("error")
+ // When there is error while processing the event.
+ VslmEventVslmEventInfoStateError = VslmEventVslmEventInfoState("error")
)
func init() {
types.Add("vslm:VslmEventVslmEventInfoState", reflect.TypeOf((*VslmEventVslmEventInfoState)(nil)).Elem())
}
+// List of possible states of a task.
type VslmTaskInfoState string
const (
- VslmTaskInfoStateQueued = VslmTaskInfoState("queued")
+ // When there are too many tasks for threads to handle.
+ VslmTaskInfoStateQueued = VslmTaskInfoState("queued")
+ // When the busy thread is freed from its current task by
+ // finishing the task, it picks a queued task to run.
+ //
+ // Then the queued tasks are marked as running.
VslmTaskInfoStateRunning = VslmTaskInfoState("running")
+ // When a running task has completed.
VslmTaskInfoStateSuccess = VslmTaskInfoState("success")
- VslmTaskInfoStateError = VslmTaskInfoState("error")
+ // When a running task has encountered an error.
+ VslmTaskInfoStateError = VslmTaskInfoState("error")
)
func init() {
types.Add("vslm:VslmTaskInfoState", reflect.TypeOf((*VslmTaskInfoState)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectQuerySpecQueryFieldEnum_enum` enumerated
+// type defines the searchable fields.
type VslmVsoVStorageObjectQuerySpecQueryFieldEnum string
const (
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumId = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("id")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumName = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("name")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumCapacity = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("capacity")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumCreateTime = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("createTime")
+ // Indicates `BaseConfigInfo.id` as the searchable field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumId = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("id")
+ // Indicates `BaseConfigInfo.name` as the searchable
+ // field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumName = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("name")
+ // Indicates `vim.vslm.VStorageObject#capacityInMB` as the
+ // searchable field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumCapacity = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("capacity")
+ // Indicates `BaseConfigInfo.createTime` as the searchable
+ // field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumCreateTime = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("createTime")
+ // Indicates
+ // `BaseConfigInfoFileBackingInfo.backingObjectId` as the
+ // searchable field.
VslmVsoVStorageObjectQuerySpecQueryFieldEnumBackingObjectId = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("backingObjectId")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumDatastoreMoId = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("datastoreMoId")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumMetadataKey = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("metadataKey")
- VslmVsoVStorageObjectQuerySpecQueryFieldEnumMetadataValue = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("metadataValue")
+ // Indicates `BaseConfigInfoBackingInfo.datastore` as the
+ // searchable field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumDatastoreMoId = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("datastoreMoId")
+ // Indicates it as the searchable field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumMetadataKey = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("metadataKey")
+ // Indicates it as the searchable field.
+ VslmVsoVStorageObjectQuerySpecQueryFieldEnumMetadataValue = VslmVsoVStorageObjectQuerySpecQueryFieldEnum("metadataValue")
)
func init() {
types.Add("vslm:VslmVsoVStorageObjectQuerySpecQueryFieldEnum", reflect.TypeOf((*VslmVsoVStorageObjectQuerySpecQueryFieldEnum)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectQuerySpecQueryOperatorEnum_enum` enumerated
+// type defines the operators to use for constructing the query criteria.
type VslmVsoVStorageObjectQuerySpecQueryOperatorEnum string
const (
diff --git a/vslm/types/types.go b/vslm/types/types.go
index d2e2b125f..9f387d96f 100644
--- a/vslm/types/types.go
+++ b/vslm/types/types.go
@@ -23,6 +23,7 @@ import (
"github.com/vmware/govmomi/vim25/types"
)
+// A boxed array of `VslmDatastoreSyncStatus`. To be used in `Any` placeholders.
type ArrayOfVslmDatastoreSyncStatus struct {
VslmDatastoreSyncStatus []VslmDatastoreSyncStatus `xml:"VslmDatastoreSyncStatus,omitempty" json:"_value"`
}
@@ -31,6 +32,7 @@ func init() {
types.Add("vslm:ArrayOfVslmDatastoreSyncStatus", reflect.TypeOf((*ArrayOfVslmDatastoreSyncStatus)(nil)).Elem())
}
+// A boxed array of `VslmQueryDatastoreInfoResult`. To be used in `Any` placeholders.
type ArrayOfVslmQueryDatastoreInfoResult struct {
VslmQueryDatastoreInfoResult []VslmQueryDatastoreInfoResult `xml:"VslmQueryDatastoreInfoResult,omitempty" json:"_value"`
}
@@ -39,6 +41,7 @@ func init() {
types.Add("vslm:ArrayOfVslmQueryDatastoreInfoResult", reflect.TypeOf((*ArrayOfVslmQueryDatastoreInfoResult)(nil)).Elem())
}
+// A boxed array of `VslmVsoVStorageObjectAssociations`. To be used in `Any` placeholders.
type ArrayOfVslmVsoVStorageObjectAssociations struct {
VslmVsoVStorageObjectAssociations []VslmVsoVStorageObjectAssociations `xml:"VslmVsoVStorageObjectAssociations,omitempty" json:"_value"`
}
@@ -47,6 +50,7 @@ func init() {
types.Add("vslm:ArrayOfVslmVsoVStorageObjectAssociations", reflect.TypeOf((*ArrayOfVslmVsoVStorageObjectAssociations)(nil)).Elem())
}
+// A boxed array of `VslmVsoVStorageObjectAssociationsVmDiskAssociation`. To be used in `Any` placeholders.
type ArrayOfVslmVsoVStorageObjectAssociationsVmDiskAssociation struct {
VslmVsoVStorageObjectAssociationsVmDiskAssociation []VslmVsoVStorageObjectAssociationsVmDiskAssociation `xml:"VslmVsoVStorageObjectAssociationsVmDiskAssociation,omitempty" json:"_value"`
}
@@ -55,6 +59,7 @@ func init() {
types.Add("vslm:ArrayOfVslmVsoVStorageObjectAssociationsVmDiskAssociation", reflect.TypeOf((*ArrayOfVslmVsoVStorageObjectAssociationsVmDiskAssociation)(nil)).Elem())
}
+// A boxed array of `VslmVsoVStorageObjectQuerySpec`. To be used in `Any` placeholders.
type ArrayOfVslmVsoVStorageObjectQuerySpec struct {
VslmVsoVStorageObjectQuerySpec []VslmVsoVStorageObjectQuerySpec `xml:"VslmVsoVStorageObjectQuerySpec,omitempty" json:"_value"`
}
@@ -63,6 +68,7 @@ func init() {
types.Add("vslm:ArrayOfVslmVsoVStorageObjectQuerySpec", reflect.TypeOf((*ArrayOfVslmVsoVStorageObjectQuerySpec)(nil)).Elem())
}
+// A boxed array of `VslmVsoVStorageObjectResult`. To be used in `Any` placeholders.
type ArrayOfVslmVsoVStorageObjectResult struct {
VslmVsoVStorageObjectResult []VslmVsoVStorageObjectResult `xml:"VslmVsoVStorageObjectResult,omitempty" json:"_value"`
}
@@ -71,6 +77,7 @@ func init() {
types.Add("vslm:ArrayOfVslmVsoVStorageObjectResult", reflect.TypeOf((*ArrayOfVslmVsoVStorageObjectResult)(nil)).Elem())
}
+// A boxed array of `VslmVsoVStorageObjectSnapshotResult`. To be used in `Any` placeholders.
type ArrayOfVslmVsoVStorageObjectSnapshotResult struct {
VslmVsoVStorageObjectSnapshotResult []VslmVsoVStorageObjectSnapshotResult `xml:"VslmVsoVStorageObjectSnapshotResult,omitempty" json:"_value"`
}
@@ -97,6 +104,9 @@ type RetrieveContentResponse struct {
Returnval VslmServiceInstanceContent `xml:"returnval" json:"returnval"`
}
+// This data object type describes system information.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmAboutInfo struct {
types.DynamicData
@@ -111,12 +121,30 @@ func init() {
types.Add("vslm:VslmAboutInfo", reflect.TypeOf((*VslmAboutInfo)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmAttachDisk_Task`.
type VslmAttachDiskRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
- ControllerKey int32 `xml:"controllerKey,omitempty" json:"controllerKey,omitempty"`
- UnitNumber *int32 `xml:"unitNumber" json:"unitNumber,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual disk to be operated. See
+ // `ID`
+ Id types.ID `xml:"id" json:"id"`
+ // The virtual machine where the virtual disk is to be attached.
+ //
+ // Refers instance of `VirtualMachine`.
+ Vm types.ManagedObjectReference `xml:"vm" json:"vm"`
+ // Key of the controller the disk will connect to.
+ // It can be unset if there is only one controller
+ // (SCSI or SATA) with the available slot in the
+ // virtual machine. If there are multiple SCSI or
+ // SATA controllers available, user must specify
+ // the controller; if there is no available
+ // controllers, a `MissingController`
+ // fault will be thrown.
+ ControllerKey int32 `xml:"controllerKey,omitempty" json:"controllerKey,omitempty"`
+ // The unit number of the attached disk on its controller.
+ // If unset, the next available slot on the specified
+ // controller or the only available controller will be
+ // assigned to the attached disk.
+ UnitNumber *int32 `xml:"unitNumber" json:"unitNumber,omitempty"`
}
func init() {
@@ -139,11 +167,16 @@ func init() {
types.Add("vslm:VslmAttachTagToVStorageObject", reflect.TypeOf((*VslmAttachTagToVStorageObject)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmAttachTagToVStorageObject`.
type VslmAttachTagToVStorageObjectRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Category string `xml:"category" json:"category"`
- Tag string `xml:"tag" json:"tag"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The identifier(ID) of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The category to which the tag belongs.
+ Category string `xml:"category" json:"category"`
+ // The tag which has to be associated with the virtual storage
+ // object.
+ Tag string `xml:"tag" json:"tag"`
}
func init() {
@@ -176,10 +209,15 @@ func init() {
types.Add("vslm:VslmClearVStorageObjectControlFlags", reflect.TypeOf((*VslmClearVStorageObjectControlFlags)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmClearVStorageObjectControlFlags`.
type VslmClearVStorageObjectControlFlagsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- ControlFlags []string `xml:"controlFlags,omitempty" json:"controlFlags,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // control flags enum array to be cleared on the
+ // VStorageObject. All control flags not included
+ // in the array remain intact.
+ ControlFlags []string `xml:"controlFlags,omitempty" json:"controlFlags,omitempty"`
}
func init() {
@@ -189,10 +227,14 @@ func init() {
type VslmClearVStorageObjectControlFlagsResponse struct {
}
+// The parameters of `VslmVStorageObjectManager.VslmCloneVStorageObject_Task`.
type VslmCloneVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Spec types.VslmCloneSpec `xml:"spec" json:"spec"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The specification for cloning the virtual storage
+ // object.
+ Spec types.VslmCloneSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -209,14 +251,25 @@ type VslmCloneVStorageObject_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmCreateDiskFromSnapshot_Task`.
type VslmCreateDiskFromSnapshotRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
- Name string `xml:"name" json:"name"`
- Profile []types.VirtualMachineProfileSpec `xml:"profile,omitempty" json:"profile,omitempty"`
- Crypto *types.CryptoSpec `xml:"crypto,omitempty" json:"crypto,omitempty"`
- Path string `xml:"path,omitempty" json:"path,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of the virtual storage object.
+ SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
+ // A user friendly name to be associated with the new disk.
+ Name string `xml:"name" json:"name"`
+ // SPBM Profile requirement on the new virtual storage object.
+ // If not specified datastore default policy would be
+ // assigned.
+ Profile []types.VirtualMachineProfileSpec `xml:"profile,omitempty" json:"profile,omitempty"`
+ // Crypto information of the new disk.
+ Crypto *types.CryptoSpec `xml:"crypto,omitempty" json:"crypto,omitempty"`
+ // Relative location in the specified datastore where disk needs
+ // to be created. If not specified disk gets created at the
+ // defualt VStorageObject location on the specified datastore.
+ Path string `xml:"path,omitempty" json:"path,omitempty"`
}
func init() {
@@ -233,9 +286,12 @@ type VslmCreateDiskFromSnapshot_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmCreateDisk_Task`.
type VslmCreateDiskRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Spec types.VslmCreateSpec `xml:"spec" json:"spec"`
+ // The specification of the virtual storage object
+ // to be created.
+ Spec types.VslmCreateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -252,10 +308,13 @@ type VslmCreateDisk_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmCreateSnapshot_Task`.
type VslmCreateSnapshotRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Description string `xml:"description" json:"description"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // A short description to be associated with the snapshot.
+ Description string `xml:"description" json:"description"`
}
func init() {
@@ -272,25 +331,46 @@ type VslmCreateSnapshot_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// DatastoreSyncStatus shows the catalog sync status of a datastore
+// and is returned as a result of the VStorageObjectManager
+// getGlobalCatalogSyncStatus API.
+//
+// When syncVClock == objectVClock the global catalog is in sync with the
+// local catalog
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmDatastoreSyncStatus struct {
types.DynamicData
- DatastoreURL string `xml:"datastoreURL" json:"datastoreURL"`
- ObjectVClock int64 `xml:"objectVClock" json:"objectVClock"`
- SyncVClock int64 `xml:"syncVClock" json:"syncVClock"`
- SyncTime *time.Time `xml:"syncTime" json:"syncTime,omitempty"`
- NumberOfRetries int32 `xml:"numberOfRetries,omitempty" json:"numberOfRetries,omitempty"`
- Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // The datastore URL as specified in `DatastoreInfo.url`
+ DatastoreURL string `xml:"datastoreURL" json:"datastoreURL"`
+ ObjectVClock int64 `xml:"objectVClock" json:"objectVClock"`
+ SyncVClock int64 `xml:"syncVClock" json:"syncVClock"`
+ // The time representing the last successfull sync of the datastore.
+ SyncTime *time.Time `xml:"syncTime" json:"syncTime,omitempty"`
+ // The number of retries for the Datastore synchronization in failure
+ // cases.
+ NumberOfRetries int32 `xml:"numberOfRetries,omitempty" json:"numberOfRetries,omitempty"`
+ // The fault is set in case of error conditions.
+ //
+ // If the fault is set,
+ // the objectVClock and syncVClock will be set to -1L.
+ // Possible Faults:
+ // SyncFault If specified datastoreURL failed to sync.
+ Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
types.Add("vslm:VslmDatastoreSyncStatus", reflect.TypeOf((*VslmDatastoreSyncStatus)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmDeleteSnapshot_Task`.
type VslmDeleteSnapshotRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of a virtual storage object.
+ SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -307,9 +387,11 @@ type VslmDeleteSnapshot_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmDeleteVStorageObject_Task`.
type VslmDeleteVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual storage object to be deleted.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -332,11 +414,16 @@ func init() {
types.Add("vslm:VslmDetachTagFromVStorageObject", reflect.TypeOf((*VslmDetachTagFromVStorageObject)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmDetachTagFromVStorageObject`.
type VslmDetachTagFromVStorageObjectRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Category string `xml:"category" json:"category"`
- Tag string `xml:"tag" json:"tag"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The identifier(ID) of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The category to which the tag belongs.
+ Category string `xml:"category" json:"category"`
+ // The tag which has to be disassociated with the virtual storage
+ // object.
+ Tag string `xml:"tag" json:"tag"`
}
func init() {
@@ -346,10 +433,13 @@ func init() {
type VslmDetachTagFromVStorageObjectResponse struct {
}
+// The parameters of `VslmVStorageObjectManager.VslmExtendDisk_Task`.
type VslmExtendDiskRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- NewCapacityInMB int64 `xml:"newCapacityInMB" json:"newCapacityInMB"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual disk to be extended.
+ Id types.ID `xml:"id" json:"id"`
+ // The new capacity of the virtual disk in MB.
+ NewCapacityInMB int64 `xml:"newCapacityInMB" json:"newCapacityInMB"`
}
func init() {
@@ -366,9 +456,13 @@ type VslmExtendDisk_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The super class for all VSLM Faults.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmFault struct {
types.MethodFault
+ // The fault message if available.
Msg string `xml:"msg,omitempty" json:"msg,omitempty"`
}
@@ -382,9 +476,11 @@ func init() {
types.Add("vslm:VslmFaultFault", reflect.TypeOf((*VslmFaultFault)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmInflateDisk_Task`.
type VslmInflateDiskRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual disk to be inflated.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -407,9 +503,11 @@ func init() {
types.Add("vslm:VslmListTagsAttachedToVStorageObject", reflect.TypeOf((*VslmListTagsAttachedToVStorageObject)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmListTagsAttachedToVStorageObject`.
type VslmListTagsAttachedToVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -426,10 +524,14 @@ func init() {
types.Add("vslm:VslmListVStorageObjectForSpec", reflect.TypeOf((*VslmListVStorageObjectForSpec)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmListVStorageObjectForSpec`.
type VslmListVStorageObjectForSpecRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Query []VslmVsoVStorageObjectQuerySpec `xml:"query,omitempty" json:"query,omitempty"`
- MaxResult int32 `xml:"maxResult" json:"maxResult"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Query defined using array of
+ // `VslmVsoVStorageObjectQuerySpec` objects.
+ Query []VslmVsoVStorageObjectQuerySpec `xml:"query,omitempty" json:"query,omitempty"`
+ // Maximum number of virtual storage object IDs to return.
+ MaxResult int32 `xml:"maxResult" json:"maxResult"`
}
func init() {
@@ -446,10 +548,13 @@ func init() {
types.Add("vslm:VslmListVStorageObjectsAttachedToTag", reflect.TypeOf((*VslmListVStorageObjectsAttachedToTag)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmListVStorageObjectsAttachedToTag`.
type VslmListVStorageObjectsAttachedToTagRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Category string `xml:"category" json:"category"`
- Tag string `xml:"tag" json:"tag"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The category to which the tag belongs.
+ Category string `xml:"category" json:"category"`
+ // The tag to be queried.
+ Tag string `xml:"tag" json:"tag"`
}
func init() {
@@ -466,9 +571,15 @@ func init() {
types.Add("vslm:VslmLoginByToken", reflect.TypeOf((*VslmLoginByToken)(nil)).Elem())
}
+// The parameters of `VslmSessionManager.VslmLoginByToken`.
type VslmLoginByTokenRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- DelegatedTokenXml string `xml:"delegatedTokenXml" json:"delegatedTokenXml"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The delegated token will be retrieved by the
+ // client and delegated to VSLM. VSLM will use this token, on user's
+ // behalf, to login to VC for authorization purposes. It is necessary
+ // to convert the token to XML because the SAML token itself is
+ // not a VMODL Data Object and cannot be used as a parameter.
+ DelegatedTokenXml string `xml:"delegatedTokenXml" json:"delegatedTokenXml"`
}
func init() {
@@ -501,12 +612,32 @@ func init() {
types.Add("vslm:VslmQueryChangedDiskAreas", reflect.TypeOf((*VslmQueryChangedDiskAreas)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmQueryChangedDiskAreas`.
type VslmQueryChangedDiskAreasRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
- StartOffset int64 `xml:"startOffset" json:"startOffset"`
- ChangeId string `xml:"changeId" json:"changeId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of a virtual storage object for
+ // which changes that have been made since "changeId"
+ // should be computed.
+ SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
+ // Start Offset in bytes at which to start computing
+ // changes. Typically, callers will make multiple calls
+ // to this function, starting with startOffset 0 and then
+ // examine the "length" property in the returned
+ // DiskChangeInfo structure, repeatedly calling
+ // queryChangedDiskAreas until a map for the entire
+ // virtual disk has been obtained.
+ StartOffset int64 `xml:"startOffset" json:"startOffset"`
+ // Identifier referring to a point in the past that should
+ // be used as the point in time at which to begin including
+ // changes to the disk in the result. A typical use case
+ // would be a backup application obtaining a changeId from
+ // a virtual disk's backing info when performing a backup.
+ // When a subsequent incremental backup is to be performed,
+ // this change Id can be used to obtain a list of changed
+ // areas on disk.
+ ChangeId string `xml:"changeId" json:"changeId"`
}
func init() {
@@ -523,9 +654,12 @@ func init() {
types.Add("vslm:VslmQueryDatastoreInfo", reflect.TypeOf((*VslmQueryDatastoreInfo)(nil)).Elem())
}
+// The parameters of `VslmStorageLifecycleManager.VslmQueryDatastoreInfo`.
type VslmQueryDatastoreInfoRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- DatastoreUrl string `xml:"datastoreUrl" json:"datastoreUrl"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The datastore URL as specified in
+ // `DatastoreInfo.url`
+ DatastoreUrl string `xml:"datastoreUrl" json:"datastoreUrl"`
}
func init() {
@@ -536,11 +670,26 @@ type VslmQueryDatastoreInfoResponse struct {
Returnval []VslmQueryDatastoreInfoResult `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// The `VslmQueryDatastoreInfoResult` provides mapping information
+// between `Datacenter` and `Datastore`.
+//
+// This API is returned as a result of
+// `VslmStorageLifecycleManager.VslmQueryDatastoreInfo` invocation.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmQueryDatastoreInfoResult struct {
types.DynamicData
+ // Indicates the datacenter containing the
+ // `VslmQueryDatastoreInfoResult.datastore`.
+ //
+ // Refers instance of `Datacenter`.
Datacenter types.ManagedObjectReference `xml:"datacenter" json:"datacenter"`
- Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
+ // Indicates the datastore which is contained within the
+ // `VslmQueryDatastoreInfoResult.datacenter`.
+ //
+ // Refers instance of `Datastore`.
+ Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
func init() {
@@ -559,9 +708,11 @@ func init() {
types.Add("vslm:VslmQueryGlobalCatalogSyncStatusForDatastore", reflect.TypeOf((*VslmQueryGlobalCatalogSyncStatusForDatastore)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmQueryGlobalCatalogSyncStatusForDatastore`.
type VslmQueryGlobalCatalogSyncStatusForDatastoreRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- DatastoreURL string `xml:"datastoreURL" json:"datastoreURL"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // URL of the datastore to check synchronization status for
+ DatastoreURL string `xml:"datastoreURL" json:"datastoreURL"`
}
func init() {
@@ -620,8 +771,12 @@ type VslmQueryTaskResultResponse struct {
Returnval types.AnyType `xml:"returnval,omitempty,typeattr" json:"returnval,omitempty"`
}
+// The parameters of `VslmVStorageObjectManager.VslmReconcileDatastoreInventory_Task`.
type VslmReconcileDatastoreInventoryRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The datastore that needs to be reconciled.
+ //
+ // Refers instance of `Datastore`.
Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -645,10 +800,15 @@ func init() {
types.Add("vslm:VslmRegisterDisk", reflect.TypeOf((*VslmRegisterDisk)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRegisterDisk`.
type VslmRegisterDiskRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Path string `xml:"path" json:"path"`
- Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // URL path to the virtual disk.
+ Path string `xml:"path" json:"path"`
+ // The descriptive name of the disk object. If
+ // unset the name will be automatically determined
+ // from the path. @see vim.vslm.BaseConfigInfo.name
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
}
func init() {
@@ -659,10 +819,14 @@ type VslmRegisterDiskResponse struct {
Returnval types.VStorageObject `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmRelocateVStorageObject_Task`.
type VslmRelocateVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Spec types.VslmRelocateSpec `xml:"spec" json:"spec"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The specification for relocation of the virtual
+ // storage object.
+ Spec types.VslmRelocateSpec `xml:"spec" json:"spec"`
}
func init() {
@@ -685,10 +849,13 @@ func init() {
types.Add("vslm:VslmRenameVStorageObject", reflect.TypeOf((*VslmRenameVStorageObject)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRenameVStorageObject`.
type VslmRenameVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Name string `xml:"name" json:"name"`
+ // The ID of the virtual storage object to be renamed.
+ Id types.ID `xml:"id" json:"id"`
+ // The new name for the virtual storage object.
+ Name string `xml:"name" json:"name"`
}
func init() {
@@ -704,10 +871,13 @@ func init() {
types.Add("vslm:VslmRetrieveSnapshotDetails", reflect.TypeOf((*VslmRetrieveSnapshotDetails)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveSnapshotDetails`.
type VslmRetrieveSnapshotDetailsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of a virtual storage object.
+ SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -724,9 +894,11 @@ func init() {
types.Add("vslm:VslmRetrieveSnapshotInfo", reflect.TypeOf((*VslmRetrieveSnapshotInfo)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveSnapshotInfo`.
type VslmRetrieveSnapshotInfoRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -743,8 +915,12 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageInfrastructureObjectPolicy", reflect.TypeOf((*VslmRetrieveVStorageInfrastructureObjectPolicy)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageInfrastructureObjectPolicy`.
type VslmRetrieveVStorageInfrastructureObjectPolicyRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // Datastore on which policy needs to be retrieved.
+ //
+ // Refers instance of `Datastore`.
Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -768,9 +944,11 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageObjectAssociations", reflect.TypeOf((*VslmRetrieveVStorageObjectAssociations)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObjectAssociations`.
type VslmRetrieveVStorageObjectAssociationsRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Ids []types.ID `xml:"ids,omitempty" json:"ids,omitempty"`
+ // The IDs of the virtual storage objects of the query.
+ Ids []types.ID `xml:"ids,omitempty" json:"ids,omitempty"`
}
func init() {
@@ -787,11 +965,15 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageObjectMetadata", reflect.TypeOf((*VslmRetrieveVStorageObjectMetadata)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObjectMetadata`.
type VslmRetrieveVStorageObjectMetadataRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
- Prefix string `xml:"prefix,omitempty" json:"prefix,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of virtual storage object.
+ SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
+ // The prefix of the metadata key that needs to be retrieved
+ Prefix string `xml:"prefix,omitempty" json:"prefix,omitempty"`
}
func init() {
@@ -808,11 +990,15 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageObjectMetadataValue", reflect.TypeOf((*VslmRetrieveVStorageObjectMetadataValue)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObjectMetadataValue`.
type VslmRetrieveVStorageObjectMetadataValueRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
- Key string `xml:"key" json:"key"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of virtual storage object.
+ SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
+ // The key for the the virtual storage object
+ Key string `xml:"key" json:"key"`
}
func init() {
@@ -823,9 +1009,11 @@ type VslmRetrieveVStorageObjectMetadataValueResponse struct {
Returnval string `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObject`.
type VslmRetrieveVStorageObjectRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual storage object to be retrieved.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -842,9 +1030,11 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageObjectState", reflect.TypeOf((*VslmRetrieveVStorageObjectState)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObjectState`.
type VslmRetrieveVStorageObjectStateRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ // The ID of the virtual storage object the state to be retrieved.
+ Id types.ID `xml:"id" json:"id"`
}
func init() {
@@ -861,9 +1051,12 @@ func init() {
types.Add("vslm:VslmRetrieveVStorageObjects", reflect.TypeOf((*VslmRetrieveVStorageObjects)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmRetrieveVStorageObjects`.
type VslmRetrieveVStorageObjectsRequestType struct {
This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Ids []types.ID `xml:"ids,omitempty" json:"ids,omitempty"`
+ // The array of IDs of the virtual storage object to be
+ // retrieved.
+ Ids []types.ID `xml:"ids,omitempty" json:"ids,omitempty"`
}
func init() {
@@ -874,10 +1067,13 @@ type VslmRetrieveVStorageObjectsResponse struct {
Returnval []VslmVsoVStorageObjectResult `xml:"returnval,omitempty" json:"returnval,omitempty"`
}
+// The parameters of `VslmVStorageObjectManager.VslmRevertVStorageObject_Task`.
type VslmRevertVStorageObjectRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // The ID of the snapshot of a virtual storage object.
+ SnapshotId types.ID `xml:"snapshotId" json:"snapshotId"`
}
func init() {
@@ -900,8 +1096,12 @@ func init() {
types.Add("vslm:VslmScheduleReconcileDatastoreInventory", reflect.TypeOf((*VslmScheduleReconcileDatastoreInventory)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmScheduleReconcileDatastoreInventory`.
type VslmScheduleReconcileDatastoreInventoryRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The datastore that needs to be reconciled.
+ //
+ // Refers instance of `Datastore`.
Datastore types.ManagedObjectReference `xml:"datastore" json:"datastore"`
}
@@ -912,12 +1112,30 @@ func init() {
type VslmScheduleReconcileDatastoreInventoryResponse struct {
}
+// The `VslmServiceInstanceContent` data object defines properties for the
+// `VslmServiceInstance` managed object.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmServiceInstanceContent struct {
types.DynamicData
- AboutInfo VslmAboutInfo `xml:"aboutInfo" json:"aboutInfo"`
- SessionManager types.ManagedObjectReference `xml:"sessionManager" json:"sessionManager"`
- VStorageObjectManager types.ManagedObjectReference `xml:"vStorageObjectManager" json:"vStorageObjectManager"`
+ // Contains information that identifies the Storage Lifecycle Management
+ // service.
+ AboutInfo VslmAboutInfo `xml:"aboutInfo" json:"aboutInfo"`
+ // `VslmSessionManager` contains login APIs to connect to VSLM
+ // service.
+ //
+ // Refers instance of `VslmSessionManager`.
+ SessionManager types.ManagedObjectReference `xml:"sessionManager" json:"sessionManager"`
+ // `VslmVStorageObjectManager` contains virtual storage object
+ // APIs.
+ //
+ // Refers instance of `VslmVStorageObjectManager`.
+ VStorageObjectManager types.ManagedObjectReference `xml:"vStorageObjectManager" json:"vStorageObjectManager"`
+ // `VslmStorageLifecycleManager` contains callback APIs to VSLM
+ // service.
+ //
+ // Refers instance of `VslmStorageLifecycleManager`.
StorageLifecycleManager types.ManagedObjectReference `xml:"storageLifecycleManager" json:"storageLifecycleManager"`
}
@@ -931,10 +1149,15 @@ func init() {
types.Add("vslm:VslmSetVStorageObjectControlFlags", reflect.TypeOf((*VslmSetVStorageObjectControlFlags)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmSetVStorageObjectControlFlags`.
type VslmSetVStorageObjectControlFlagsRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- ControlFlags []string `xml:"controlFlags,omitempty" json:"controlFlags,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // control flags enum array to be set on the
+ // VStorageObject. All control flags not included
+ // in the array remain intact.
+ ControlFlags []string `xml:"controlFlags,omitempty" json:"controlFlags,omitempty"`
}
func init() {
@@ -950,11 +1173,19 @@ func init() {
types.Add("vslm:VslmSyncDatastore", reflect.TypeOf((*VslmSyncDatastore)(nil)).Elem())
}
+// The parameters of `VslmStorageLifecycleManager.VslmSyncDatastore`.
type VslmSyncDatastoreRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- DatastoreUrl string `xml:"datastoreUrl" json:"datastoreUrl"`
- FullSync bool `xml:"fullSync" json:"fullSync"`
- FcdId *types.ID `xml:"fcdId,omitempty" json:"fcdId,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The datastore URL as specified in
+ // `DatastoreInfo.url`
+ DatastoreUrl string `xml:"datastoreUrl" json:"datastoreUrl"`
+ // If this is set to true, all information for this datastore
+ // will be discarded from the catalog and reloaded from the
+ // datastore's catalog
+ FullSync bool `xml:"fullSync" json:"fullSync"`
+ // If set, this call blocks until fcdId is persisited into db
+ // if this fcdId is not found in queue, assume persisted and return
+ FcdId *types.ID `xml:"fcdId,omitempty" json:"fcdId,omitempty"`
}
func init() {
@@ -964,6 +1195,27 @@ func init() {
type VslmSyncDatastoreResponse struct {
}
+// An SyncFault fault is thrown when there is a failure to synchronize
+// the FCD global catalog information with the local catalog information.
+//
+// Pandora synchronizes the datastore periodically in the background, it
+// recovers from any transient failures affecting the datastore or
+// individual FCDs. In cases where the sync fault needs to be resolved
+// immediately, explicitly triggering a
+// `vslm.vso.StorageLifecycleManager#syncDatastore` should resolve the
+// issue, unless there are underlying infrastructure issues affecting the
+// datastore or FCD. If the fault is ignored there is
+// a possibility that the FCD is unrecognized by Pandora or Pandora
+// DB having stale information, consequently, affecting the return of
+// `VslmVStorageObjectManager.VslmListVStorageObjectForSpec` and
+// `VslmVStorageObjectManager.VslmRetrieveVStorageObjects` APIs.
+// In cases where the `VslmSyncFault.id` is specified,
+// the client can explicitly trigger
+// `vslm.vso.StorageLifecycleManager#syncDatastore` to resolve
+// the issue, else, could ignore the fault in anticipation of Pandora
+// automatically resolving the error.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmSyncFault struct {
VslmFault
@@ -980,38 +1232,104 @@ func init() {
types.Add("vslm:VslmSyncFaultFault", reflect.TypeOf((*VslmSyncFaultFault)(nil)).Elem())
}
+// This data object type contains all information about a VSLM task.
+//
+// A task represents an operation performed by VirtualCenter or ESX.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskInfo struct {
types.DynamicData
- Key string `xml:"key" json:"key"`
- Task types.ManagedObjectReference `xml:"task" json:"task"`
- Description *types.LocalizableMessage `xml:"description,omitempty" json:"description,omitempty"`
- Name string `xml:"name,omitempty" json:"name,omitempty"`
- DescriptionId string `xml:"descriptionId" json:"descriptionId"`
- Entity *types.ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
- EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty"`
- Locked []types.ManagedObjectReference `xml:"locked,omitempty" json:"locked,omitempty"`
- State VslmTaskInfoState `xml:"state" json:"state"`
- Cancelled bool `xml:"cancelled" json:"cancelled"`
- Cancelable bool `xml:"cancelable" json:"cancelable"`
- Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
- Result types.AnyType `xml:"result,omitempty,typeattr" json:"result,omitempty"`
- Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
- Reason BaseVslmTaskReason `xml:"reason,typeattr" json:"reason"`
- QueueTime time.Time `xml:"queueTime" json:"queueTime"`
- StartTime *time.Time `xml:"startTime" json:"startTime,omitempty"`
- CompleteTime *time.Time `xml:"completeTime" json:"completeTime,omitempty"`
- EventChainId int32 `xml:"eventChainId" json:"eventChainId"`
- ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty"`
- ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
- RootTaskKey string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty"`
- ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty"`
+ // The unique key for the task.
+ Key string `xml:"key" json:"key"`
+ // The managed object that represents this task.
+ //
+ // Refers instance of `VslmTask`.
+ Task types.ManagedObjectReference `xml:"task" json:"task"`
+ // The description field of the task describes the current phase of
+ // operation of the task.
+ //
+ // For a task that does a single monolithic
+ // activity, this will be fixed and unchanging.
+ // For tasks that have various substeps, this field will change
+ // as the task progresses from one phase to another.
+ Description *types.LocalizableMessage `xml:"description,omitempty" json:"description,omitempty"`
+ // The name of the operation that created the task.
+ //
+ // This is not set
+ // for internal tasks.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // An identifier for this operation.
+ //
+ // This includes publicly visible
+ // internal tasks and is a lookup in the TaskDescription methodInfo
+ // data object.
+ DescriptionId string `xml:"descriptionId" json:"descriptionId"`
+ // Managed entity to which the operation applies.
+ //
+ // Refers instance of `ManagedEntity`.
+ Entity *types.ManagedObjectReference `xml:"entity,omitempty" json:"entity,omitempty"`
+ // The name of the managed entity, locale-specific, retained for the
+ // history collector database.
+ EntityName string `xml:"entityName,omitempty" json:"entityName,omitempty"`
+ // If the state of the task is "running", then this property is a list of
+ // managed entities that the operation has locked, with a shared lock.
+ //
+ // Refers instances of `ManagedEntity`.
+ Locked []types.ManagedObjectReference `xml:"locked,omitempty" json:"locked,omitempty"`
+ // Runtime status of the task.
+ State VslmTaskInfoState `xml:"state" json:"state"`
+ // Flag to indicate whether or not the client requested
+ // cancellation of the task.
+ Cancelled bool `xml:"cancelled" json:"cancelled"`
+ // Flag to indicate whether or not the cancel task operation is supported.
+ Cancelable bool `xml:"cancelable" json:"cancelable"`
+ // If the task state is "error", then this property contains the fault code.
+ Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // If the task state is "success", then this property may be used
+ // to hold a return value.
+ Result types.AnyType `xml:"result,omitempty,typeattr" json:"result,omitempty"`
+ // If the task state is "running", then this property contains a
+ // progress measurement, expressed as percentage completed, from 0 to 100.
+ //
+ // If this property is not set, then the command does not report progress.
+ Progress int32 `xml:"progress,omitempty" json:"progress,omitempty"`
+ // Kind of entity responsible for creating this task.
+ Reason BaseVslmTaskReason `xml:"reason,typeattr" json:"reason"`
+ // Time stamp when the task was created.
+ QueueTime time.Time `xml:"queueTime" json:"queueTime"`
+ // Time stamp when the task started running.
+ StartTime *time.Time `xml:"startTime" json:"startTime,omitempty"`
+ // Time stamp when the task was completed (whether success or failure).
+ CompleteTime *time.Time `xml:"completeTime" json:"completeTime,omitempty"`
+ // Event chain ID that leads to the corresponding events.
+ EventChainId int32 `xml:"eventChainId" json:"eventChainId"`
+ // The user entered tag to identify the operations and their side effects
+ ChangeTag string `xml:"changeTag,omitempty" json:"changeTag,omitempty"`
+ // Tasks can be created by another task.
+ //
+ // This shows `VslmTaskInfo.key` of the task spun off this task. This is to
+ // track causality between tasks.
+ ParentTaskKey string `xml:"parentTaskKey,omitempty" json:"parentTaskKey,omitempty"`
+ // Tasks can be created by another task and such creation can go on for
+ // multiple levels.
+ //
+ // This is the `VslmTaskInfo.key` of the task
+ // that started the chain of tasks.
+ RootTaskKey string `xml:"rootTaskKey,omitempty" json:"rootTaskKey,omitempty"`
+ // The activation Id is a client-provided token to link an API call with a task.
+ ActivationId string `xml:"activationId,omitempty" json:"activationId,omitempty"`
}
func init() {
types.Add("vslm:VslmTaskInfo", reflect.TypeOf((*VslmTaskInfo)(nil)).Elem())
}
+// Base type for all task reasons.
+//
+// Task reasons represent the kind of entity responsible for a task's creation.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskReason struct {
types.DynamicData
}
@@ -1020,23 +1338,43 @@ func init() {
types.Add("vslm:VslmTaskReason", reflect.TypeOf((*VslmTaskReason)(nil)).Elem())
}
+// Indicates that the task was queued by an alarm.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskReasonAlarm struct {
VslmTaskReason
- AlarmName string `xml:"alarmName" json:"alarmName"`
- Alarm types.ManagedObjectReference `xml:"alarm" json:"alarm"`
- EntityName string `xml:"entityName" json:"entityName"`
- Entity types.ManagedObjectReference `xml:"entity" json:"entity"`
+ // The name of the alarm that queued the task, retained in the history
+ // collector database.
+ AlarmName string `xml:"alarmName" json:"alarmName"`
+ // The alarm object that queued the task.
+ //
+ // Refers instance of `Alarm`.
+ Alarm types.ManagedObjectReference `xml:"alarm" json:"alarm"`
+ // The name of the managed entity on which the alarm is triggered,
+ // retained in the history collector database.
+ EntityName string `xml:"entityName" json:"entityName"`
+ // The managed entity object on which the alarm is triggered.
+ //
+ // Refers instance of `ManagedEntity`.
+ Entity types.ManagedObjectReference `xml:"entity" json:"entity"`
}
func init() {
types.Add("vslm:VslmTaskReasonAlarm", reflect.TypeOf((*VslmTaskReasonAlarm)(nil)).Elem())
}
+// Indicates that the task was queued by a scheduled task.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskReasonSchedule struct {
VslmTaskReason
- Name string `xml:"name" json:"name"`
+ // The name of the scheduled task that queued this task.
+ Name string `xml:"name" json:"name"`
+ // The scheduledTask object that queued this task.
+ //
+ // Refers instance of `ScheduledTask`.
ScheduledTask types.ManagedObjectReference `xml:"scheduledTask" json:"scheduledTask"`
}
@@ -1044,6 +1382,9 @@ func init() {
types.Add("vslm:VslmTaskReasonSchedule", reflect.TypeOf((*VslmTaskReasonSchedule)(nil)).Elem())
}
+// Indicates that the task was started by the system (a default task).
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskReasonSystem struct {
VslmTaskReason
}
@@ -1052,9 +1393,13 @@ func init() {
types.Add("vslm:VslmTaskReasonSystem", reflect.TypeOf((*VslmTaskReasonSystem)(nil)).Elem())
}
+// Indicates that the task was queued by a specific user.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmTaskReasonUser struct {
VslmTaskReason
+ // Name of the user that queued the task.
UserName string `xml:"userName" json:"userName"`
}
@@ -1062,8 +1407,11 @@ func init() {
types.Add("vslm:VslmTaskReasonUser", reflect.TypeOf((*VslmTaskReasonUser)(nil)).Elem())
}
+// The parameters of `VslmVStorageObjectManager.VslmUpdateVStorageInfrastructureObjectPolicy_Task`.
type VslmUpdateVStorageInfrastructureObjectPolicyRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // specification to assign a SPBM policy to FCD infrastructure
+ // object.
Spec types.VslmInfrastructureObjectPolicySpec `xml:"spec" json:"spec"`
}
@@ -1081,11 +1429,16 @@ type VslmUpdateVStorageInfrastructureObjectPolicy_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmUpdateVStorageObjectMetadata_Task`.
type VslmUpdateVStorageObjectMetadataRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Metadata []types.KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
- DeleteKeys []string `xml:"deleteKeys,omitempty" json:"deleteKeys,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // array of key/value strings. (keys must be unique
+ // within the list)
+ Metadata []types.KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
+ // array of keys need to be deleted
+ DeleteKeys []string `xml:"deleteKeys,omitempty" json:"deleteKeys,omitempty"`
}
func init() {
@@ -1102,11 +1455,15 @@ type VslmUpdateVStorageObjectMetadata_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmUpdateVstorageObjectCrypto_Task`.
type VslmUpdateVstorageObjectCryptoRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
- Profile []types.VirtualMachineProfileSpec `xml:"profile,omitempty" json:"profile,omitempty"`
- DisksCrypto *types.DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // New profile requirement on the virtual storage object.
+ Profile []types.VirtualMachineProfileSpec `xml:"profile,omitempty" json:"profile,omitempty"`
+ // The crypto information of each disk on the chain.
+ DisksCrypto *types.DiskCryptoSpec `xml:"disksCrypto,omitempty" json:"disksCrypto,omitempty"`
}
func init() {
@@ -1123,9 +1480,12 @@ type VslmUpdateVstorageObjectCrypto_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// The parameters of `VslmVStorageObjectManager.VslmUpdateVstorageObjectPolicy_Task`.
type VslmUpdateVstorageObjectPolicyRequestType struct {
- This types.ManagedObjectReference `xml:"_this" json:"_this"`
- Id types.ID `xml:"id" json:"id"`
+ This types.ManagedObjectReference `xml:"_this" json:"_this"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // New profile requirement on the virtual storage object.
Profile []types.VirtualMachineProfileSpec `xml:"profile,omitempty" json:"profile,omitempty"`
}
@@ -1143,80 +1503,169 @@ type VslmUpdateVstorageObjectPolicy_TaskResponse struct {
Returnval types.ManagedObjectReference `xml:"returnval" json:"returnval"`
}
+// This data object is a key-value pair whose key is the virtual storage
+// object id, and value is the vm association information.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectAssociations struct {
types.DynamicData
- Id types.ID `xml:"id" json:"id"`
+ // ID of this virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // Array of vm associations related to the virtual storage object.
VmDiskAssociation []VslmVsoVStorageObjectAssociationsVmDiskAssociation `xml:"vmDiskAssociation,omitempty" json:"vmDiskAssociation,omitempty"`
- Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
+ // Received error while generating associations.
+ Fault *types.LocalizedMethodFault `xml:"fault,omitempty" json:"fault,omitempty"`
}
func init() {
types.Add("vslm:VslmVsoVStorageObjectAssociations", reflect.TypeOf((*VslmVsoVStorageObjectAssociations)(nil)).Elem())
}
+// This data object contains infomation of a VM Disk association.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectAssociationsVmDiskAssociation struct {
types.DynamicData
- VmId string `xml:"vmId" json:"vmId"`
- DiskKey int32 `xml:"diskKey" json:"diskKey"`
+ // ID of the virtual machine.
+ VmId string `xml:"vmId" json:"vmId"`
+ // Device key of the disk attached to the VM.
+ DiskKey int32 `xml:"diskKey" json:"diskKey"`
}
func init() {
types.Add("vslm:VslmVsoVStorageObjectAssociationsVmDiskAssociation", reflect.TypeOf((*VslmVsoVStorageObjectAssociationsVmDiskAssociation)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectQueryResult` contains the result of
+// `vslm.vso.VStorageObjectManager#listVStorageObjectForSpec` API.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectQueryResult struct {
types.DynamicData
- AllRecordsReturned bool `xml:"allRecordsReturned" json:"allRecordsReturned"`
- Id []types.ID `xml:"id,omitempty" json:"id,omitempty"`
- QueryResults []VslmVsoVStorageObjectResult `xml:"queryResults,omitempty" json:"queryResults,omitempty"`
+ // If set to false, more results were found than could be returned (either
+ // limited by maxResult input argument in the
+ // `vslm.vso.VStorageObjectManager#listVStorageObjectForSpec` API or
+ // truncated because the number of results exceeded the internal limit).
+ AllRecordsReturned bool `xml:"allRecordsReturned" json:"allRecordsReturned"`
+ // IDs of the VStorageObjects matching the query criteria
+ // NOTE: This field will be removed once the dev/qe code is refactored.
+ //
+ // IDs will be returned in ascending order. If
+ // `VslmVsoVStorageObjectQueryResult.allRecordsReturned` is set to false,
+ // to get the additional results, repeat the query with ID last ID as
+ // part of the query spec `VslmVsoVStorageObjectQuerySpec`.
+ Id []types.ID `xml:"id,omitempty" json:"id,omitempty"`
+ // Results of the query criteria.
+ //
+ // `vim.vslm.VStorageObjectResult#id` IDs will be returned in
+ // ascending order. If `VslmVsoVStorageObjectQueryResult.allRecordsReturned`
+ // is set to false,then, to get the additional results, repeat the query
+ // with ID last ID as part of the query spec
+ // `VslmVsoVStorageObjectQuerySpec`.
+ QueryResults []VslmVsoVStorageObjectResult `xml:"queryResults,omitempty" json:"queryResults,omitempty"`
}
func init() {
types.Add("vslm:VslmVsoVStorageObjectQueryResult", reflect.TypeOf((*VslmVsoVStorageObjectQueryResult)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectQuerySpec` describes the criteria to query
+// VStorageObject from global catalog.
+//
+// `VslmVsoVStorageObjectQuerySpec` is sent as input to
+// `vslm.vso.VStorageObjectManager#listVStorageObjectForSpec` API.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectQuerySpec struct {
types.DynamicData
- QueryField string `xml:"queryField" json:"queryField"`
- QueryOperator string `xml:"queryOperator" json:"queryOperator"`
- QueryValue []string `xml:"queryValue,omitempty" json:"queryValue,omitempty"`
+ // This field specifies the searchable field.
+ //
+ // This can be one of the values from
+ // `VslmVsoVStorageObjectQuerySpecQueryFieldEnum_enum`.
+ QueryField string `xml:"queryField" json:"queryField"`
+ // This field specifies the operator to compare the searchable field
+ // `VslmVsoVStorageObjectQuerySpec.queryField` with the specified
+ // value `VslmVsoVStorageObjectQuerySpec.queryValue`.
+ //
+ // This can be one of the values from
+ // `vslm.vso.VStorageObjectQuerySpec.QueryFieldOperator`.
+ QueryOperator string `xml:"queryOperator" json:"queryOperator"`
+ // This field specifies the value to be compared with the searchable field.
+ QueryValue []string `xml:"queryValue,omitempty" json:"queryValue,omitempty"`
}
func init() {
types.Add("vslm:VslmVsoVStorageObjectQuerySpec", reflect.TypeOf((*VslmVsoVStorageObjectQuerySpec)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectResult` contains the result objects of
+// `VslmVsoVStorageObjectQueryResult` which is returned as a result of
+// `slm.vso.VStorageObjectManager#listVStorageObjectForSpec` and
+// `slm.vso.VStorageObjectManager#retrieveVStorageObjects` APIs.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectResult struct {
types.DynamicData
- Id types.ID `xml:"id" json:"id"`
- Name string `xml:"name,omitempty" json:"name,omitempty"`
- CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
- CreateTime *time.Time `xml:"createTime" json:"createTime,omitempty"`
- DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty"`
- DiskPath string `xml:"diskPath,omitempty" json:"diskPath,omitempty"`
- UsedCapacityInMB int64 `xml:"usedCapacityInMB,omitempty" json:"usedCapacityInMB,omitempty"`
- BackingObjectId *types.ID `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
- SnapshotInfo []VslmVsoVStorageObjectSnapshotResult `xml:"snapshotInfo,omitempty" json:"snapshotInfo,omitempty"`
- Metadata []types.KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
- Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
+ // The ID of the virtual storage object.
+ Id types.ID `xml:"id" json:"id"`
+ // Name of FCD.
+ Name string `xml:"name,omitempty" json:"name,omitempty"`
+ // The size in MB of this object.
+ //
+ // If the faults are set,
+ // then the capacityInMB will be -1
+ CapacityInMB int64 `xml:"capacityInMB" json:"capacityInMB"`
+ // The create time information of the FCD.
+ CreateTime *time.Time `xml:"createTime" json:"createTime,omitempty"`
+ // The Datastore URL containing the FCD.
+ DatastoreUrl string `xml:"datastoreUrl,omitempty" json:"datastoreUrl,omitempty"`
+ // The disk path of the FCD.
+ DiskPath string `xml:"diskPath,omitempty" json:"diskPath,omitempty"`
+ // The rolled up used capacity of the FCD and it's snapshots.
+ //
+ // Returns -1L if the space information is currently unavailable.
+ UsedCapacityInMB int64 `xml:"usedCapacityInMB,omitempty" json:"usedCapacityInMB,omitempty"`
+ // The ID of the backing object of the virtual storage object.
+ BackingObjectId *types.ID `xml:"backingObjectId,omitempty" json:"backingObjectId,omitempty"`
+ // VStorageObjectSnapshotResult array containing information about all the
+ // snapshots of the virtual storage object.
+ SnapshotInfo []VslmVsoVStorageObjectSnapshotResult `xml:"snapshotInfo,omitempty" json:"snapshotInfo,omitempty"`
+ // Metadata array of key/value strings.
+ Metadata []types.KeyValue `xml:"metadata,omitempty" json:"metadata,omitempty"`
+ // The fault is set in case of error conditions and this property will
+ // have the reason.
+ //
+ // Possible Faults:
+ // NotFound If specified virtual storage object cannot be found.
+ Error *types.LocalizedMethodFault `xml:"error,omitempty" json:"error,omitempty"`
}
func init() {
types.Add("vslm:VslmVsoVStorageObjectResult", reflect.TypeOf((*VslmVsoVStorageObjectResult)(nil)).Elem())
}
+// The `VslmVsoVStorageObjectSnapshotResult` contains brief information about a
+// snapshot of the object `VslmVsoVStorageObjectResult` which is returned as a
+// result of `slm.vso.VStorageObjectManager#retrieveVStorageObjects` API.
+//
+// This structure may be used only with operations rendered under `/vslm`.
type VslmVsoVStorageObjectSnapshotResult struct {
types.DynamicData
- BackingObjectId types.ID `xml:"backingObjectId" json:"backingObjectId"`
- Description string `xml:"description,omitempty" json:"description,omitempty"`
- SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
- DiskPath string `xml:"diskPath,omitempty" json:"diskPath,omitempty"`
+ // The ID of the vsan object backing a snapshot of the virtual storage
+ // object.
+ BackingObjectId types.ID `xml:"backingObjectId" json:"backingObjectId"`
+ // The description user passed in when creating this snapshot.
+ Description string `xml:"description,omitempty" json:"description,omitempty"`
+ // The ID of this snapshot, created and used in fcd layer.
+ SnapshotId *types.ID `xml:"snapshotId,omitempty" json:"snapshotId,omitempty"`
+ // The file path of this snapshot.
+ DiskPath string `xml:"diskPath,omitempty" json:"diskPath,omitempty"`
}
func init() {