cloud/azure/batch/models/compute_node_information.go
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
)
// ComputeNodeInformation Information about the compute node on which a task ran.
// swagger:model ComputeNodeInformation
type ComputeNodeInformation struct {
// An identifier for the compute node on which the task ran, which can be passed when adding a task to request that the task be scheduled close to this compute node.
AffinityID string `json:"affinityId,omitempty"`
// The ID of the node on which the task ran.
NodeID string `json:"nodeId,omitempty"`
// The URL of the node on which the task ran.
NodeURL string `json:"nodeUrl,omitempty"`
// The ID of the pool on which the task ran.
PoolID string `json:"poolId,omitempty"`
// The root directory of the task on the compute node.
TaskRootDirectory string `json:"taskRootDirectory,omitempty"`
// The URL to the root directory of the task on the compute node.
TaskRootDirectoryURL string `json:"taskRootDirectoryUrl,omitempty"`
}
// Validate validates this compute node information
func (m *ComputeNodeInformation) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}