models

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AutoPoolSpecificationPoolLifetimeOptionJobschedule captures enum value "jobschedule"
	AutoPoolSpecificationPoolLifetimeOptionJobschedule string = "jobschedule"
	// AutoPoolSpecificationPoolLifetimeOptionJob captures enum value "job"
	AutoPoolSpecificationPoolLifetimeOptionJob string = "job"
	// AutoPoolSpecificationPoolLifetimeOptionUnmapped captures enum value "unmapped"
	AutoPoolSpecificationPoolLifetimeOptionUnmapped string = "unmapped"
)
View Source
const (
	// CertificatePreviousStateActive captures enum value "active"
	CertificatePreviousStateActive string = "active"
	// CertificatePreviousStateDeleting captures enum value "deleting"
	CertificatePreviousStateDeleting string = "deleting"
	// CertificatePreviousStateDeletefailed captures enum value "deletefailed"
	CertificatePreviousStateDeletefailed string = "deletefailed"
)
View Source
const (
	// CertificateStateActive captures enum value "active"
	CertificateStateActive string = "active"
	// CertificateStateDeleting captures enum value "deleting"
	CertificateStateDeleting string = "deleting"
	// CertificateStateDeletefailed captures enum value "deletefailed"
	CertificateStateDeletefailed string = "deletefailed"
)
View Source
const (
	// CertificateAddParameterCertificateFormatPfx captures enum value "pfx"
	CertificateAddParameterCertificateFormatPfx string = "pfx"
	// CertificateAddParameterCertificateFormatCer captures enum value "cer"
	CertificateAddParameterCertificateFormatCer string = "cer"
	// CertificateAddParameterCertificateFormatUnmapped captures enum value "unmapped"
	CertificateAddParameterCertificateFormatUnmapped string = "unmapped"
)
View Source
const (
	// CertificateReferenceStoreLocationCurrentuser captures enum value "currentuser"
	CertificateReferenceStoreLocationCurrentuser string = "currentuser"
	// CertificateReferenceStoreLocationLocalmachine captures enum value "localmachine"
	CertificateReferenceStoreLocationLocalmachine string = "localmachine"
	// CertificateReferenceStoreLocationUnmapped captures enum value "unmapped"
	CertificateReferenceStoreLocationUnmapped string = "unmapped"
)
View Source
const (
	// CloudJobOnAllTasksCompleteNoAction captures enum value "noAction"
	CloudJobOnAllTasksCompleteNoAction string = "noAction"
	// CloudJobOnAllTasksCompleteTerminateJob captures enum value "terminateJob"
	CloudJobOnAllTasksCompleteTerminateJob string = "terminateJob"
)
View Source
const (
	// CloudJobOnTaskFailureNoAction captures enum value "noAction"
	CloudJobOnTaskFailureNoAction string = "noAction"
	// CloudJobOnTaskFailurePerformExitOptionsJobAction captures enum value "performExitOptionsJobAction"
	CloudJobOnTaskFailurePerformExitOptionsJobAction string = "performExitOptionsJobAction"
)
View Source
const (
	// CloudJobPreviousStateActive captures enum value "active"
	CloudJobPreviousStateActive string = "active"
	// CloudJobPreviousStateDisabling captures enum value "disabling"
	CloudJobPreviousStateDisabling string = "disabling"
	// CloudJobPreviousStateDisabled captures enum value "disabled"
	CloudJobPreviousStateDisabled string = "disabled"
	// CloudJobPreviousStateEnabling captures enum value "enabling"
	CloudJobPreviousStateEnabling string = "enabling"
	// CloudJobPreviousStateTerminating captures enum value "terminating"
	CloudJobPreviousStateTerminating string = "terminating"
	// CloudJobPreviousStateCompleted captures enum value "completed"
	CloudJobPreviousStateCompleted string = "completed"
	// CloudJobPreviousStateDeleting captures enum value "deleting"
	CloudJobPreviousStateDeleting string = "deleting"
)
View Source
const (
	// CloudJobStateActive captures enum value "active"
	CloudJobStateActive string = "active"
	// CloudJobStateDisabling captures enum value "disabling"
	CloudJobStateDisabling string = "disabling"
	// CloudJobStateDisabled captures enum value "disabled"
	CloudJobStateDisabled string = "disabled"
	// CloudJobStateEnabling captures enum value "enabling"
	CloudJobStateEnabling string = "enabling"
	// CloudJobStateTerminating captures enum value "terminating"
	CloudJobStateTerminating string = "terminating"
	// CloudJobStateCompleted captures enum value "completed"
	CloudJobStateCompleted string = "completed"
	// CloudJobStateDeleting captures enum value "deleting"
	CloudJobStateDeleting string = "deleting"
)
View Source
const (
	// CloudJobSchedulePreviousStateActive captures enum value "active"
	CloudJobSchedulePreviousStateActive string = "active"
	// CloudJobSchedulePreviousStateCompleted captures enum value "completed"
	CloudJobSchedulePreviousStateCompleted string = "completed"
	// CloudJobSchedulePreviousStateDisabled captures enum value "disabled"
	CloudJobSchedulePreviousStateDisabled string = "disabled"
	// CloudJobSchedulePreviousStateTerminating captures enum value "terminating"
	CloudJobSchedulePreviousStateTerminating string = "terminating"
	// CloudJobSchedulePreviousStateDeleting captures enum value "deleting"
	CloudJobSchedulePreviousStateDeleting string = "deleting"
)
View Source
const (
	// CloudJobScheduleStateActive captures enum value "active"
	CloudJobScheduleStateActive string = "active"
	// CloudJobScheduleStateCompleted captures enum value "completed"
	CloudJobScheduleStateCompleted string = "completed"
	// CloudJobScheduleStateDisabled captures enum value "disabled"
	CloudJobScheduleStateDisabled string = "disabled"
	// CloudJobScheduleStateTerminating captures enum value "terminating"
	CloudJobScheduleStateTerminating string = "terminating"
	// CloudJobScheduleStateDeleting captures enum value "deleting"
	CloudJobScheduleStateDeleting string = "deleting"
)
View Source
const (
	// CloudPoolAllocationStateSteady captures enum value "steady"
	CloudPoolAllocationStateSteady string = "steady"
	// CloudPoolAllocationStateResizing captures enum value "resizing"
	CloudPoolAllocationStateResizing string = "resizing"
	// CloudPoolAllocationStateStopping captures enum value "stopping"
	CloudPoolAllocationStateStopping string = "stopping"
)
View Source
const (
	// CloudPoolStateActive captures enum value "active"
	CloudPoolStateActive string = "active"
	// CloudPoolStateDeleting captures enum value "deleting"
	CloudPoolStateDeleting string = "deleting"
	// CloudPoolStateUpgrading captures enum value "upgrading"
	CloudPoolStateUpgrading string = "upgrading"
)
View Source
const (
	// CloudTaskPreviousStateActive captures enum value "active"
	CloudTaskPreviousStateActive string = "active"
	// CloudTaskPreviousStatePreparing captures enum value "preparing"
	CloudTaskPreviousStatePreparing string = "preparing"
	// CloudTaskPreviousStateRunning captures enum value "running"
	CloudTaskPreviousStateRunning string = "running"
	// CloudTaskPreviousStateCompleted captures enum value "completed"
	CloudTaskPreviousStateCompleted string = "completed"
)
View Source
const (
	// CloudTaskStateActive captures enum value "active"
	CloudTaskStateActive string = "active"
	// CloudTaskStatePreparing captures enum value "preparing"
	CloudTaskStatePreparing string = "preparing"
	// CloudTaskStateRunning captures enum value "running"
	CloudTaskStateRunning string = "running"
	// CloudTaskStateCompleted captures enum value "completed"
	CloudTaskStateCompleted string = "completed"
)
View Source
const (
	// ComputeNodeSchedulingStateEnabled captures enum value "enabled"
	ComputeNodeSchedulingStateEnabled string = "enabled"
	// ComputeNodeSchedulingStateDisabled captures enum value "disabled"
	ComputeNodeSchedulingStateDisabled string = "disabled"
)
View Source
const (
	// ComputeNodeStateIDLE captures enum value "idle"
	ComputeNodeStateIDLE string = "idle"
	// ComputeNodeStateRebooting captures enum value "rebooting"
	ComputeNodeStateRebooting string = "rebooting"
	// ComputeNodeStateReimaging captures enum value "reimaging"
	ComputeNodeStateReimaging string = "reimaging"
	// ComputeNodeStateRunning captures enum value "running"
	ComputeNodeStateRunning string = "running"
	// ComputeNodeStateUnusable captures enum value "unusable"
	ComputeNodeStateUnusable string = "unusable"
	// ComputeNodeStateCreating captures enum value "creating"
	ComputeNodeStateCreating string = "creating"
	// ComputeNodeStateStarting captures enum value "starting"
	ComputeNodeStateStarting string = "starting"
	// ComputeNodeStateWaitingforstarttask captures enum value "waitingforstarttask"
	ComputeNodeStateWaitingforstarttask string = "waitingforstarttask"
	// ComputeNodeStateStarttaskfailed captures enum value "starttaskfailed"
	ComputeNodeStateStarttaskfailed string = "starttaskfailed"
	// ComputeNodeStateUnknown captures enum value "unknown"
	ComputeNodeStateUnknown string = "unknown"
	// ComputeNodeStateLeavingpool captures enum value "leavingpool"
	ComputeNodeStateLeavingpool string = "leavingpool"
	// ComputeNodeStateOffline captures enum value "offline"
	ComputeNodeStateOffline string = "offline"
)
View Source
const (
	// ExitOptionsJobActionNone captures enum value "none"
	ExitOptionsJobActionNone string = "none"
	// ExitOptionsJobActionDisable captures enum value "disable"
	ExitOptionsJobActionDisable string = "disable"
	// ExitOptionsJobActionTerminate captures enum value "terminate"
	ExitOptionsJobActionTerminate string = "terminate"
)
View Source
const (
	// JobAddParameterOnAllTasksCompleteNoAction captures enum value "noAction"
	JobAddParameterOnAllTasksCompleteNoAction string = "noAction"
	// JobAddParameterOnAllTasksCompleteTerminateJob captures enum value "terminateJob"
	JobAddParameterOnAllTasksCompleteTerminateJob string = "terminateJob"
)
View Source
const (
	// JobAddParameterOnTaskFailureNoAction captures enum value "noAction"
	JobAddParameterOnTaskFailureNoAction string = "noAction"
	// JobAddParameterOnTaskFailurePerformExitOptionsJobAction captures enum value "performExitOptionsJobAction"
	JobAddParameterOnTaskFailurePerformExitOptionsJobAction string = "performExitOptionsJobAction"
)
View Source
const (
	// JobDisableParameterDisableTasksRequeue captures enum value "requeue"
	JobDisableParameterDisableTasksRequeue string = "requeue"
	// JobDisableParameterDisableTasksTerminate captures enum value "terminate"
	JobDisableParameterDisableTasksTerminate string = "terminate"
	// JobDisableParameterDisableTasksWait captures enum value "wait"
	JobDisableParameterDisableTasksWait string = "wait"
)
View Source
const (
	// JobPatchParameterOnAllTasksCompleteNoAction captures enum value "noAction"
	JobPatchParameterOnAllTasksCompleteNoAction string = "noAction"
	// JobPatchParameterOnAllTasksCompleteTerminateJob captures enum value "terminateJob"
	JobPatchParameterOnAllTasksCompleteTerminateJob string = "terminateJob"
)
View Source
const (
	// JobPreparationTaskExecutionInformationStateRunning captures enum value "running"
	JobPreparationTaskExecutionInformationStateRunning string = "running"
	// JobPreparationTaskExecutionInformationStateCompleted captures enum value "completed"
	JobPreparationTaskExecutionInformationStateCompleted string = "completed"
)
View Source
const (
	// JobReleaseTaskExecutionInformationStateRunning captures enum value "running"
	JobReleaseTaskExecutionInformationStateRunning string = "running"
	// JobReleaseTaskExecutionInformationStateCompleted captures enum value "completed"
	JobReleaseTaskExecutionInformationStateCompleted string = "completed"
)
View Source
const (
	// JobSchedulingErrorCategoryUsererror captures enum value "usererror"
	JobSchedulingErrorCategoryUsererror string = "usererror"
	// JobSchedulingErrorCategoryServererror captures enum value "servererror"
	JobSchedulingErrorCategoryServererror string = "servererror"
	// JobSchedulingErrorCategoryUnmapped captures enum value "unmapped"
	JobSchedulingErrorCategoryUnmapped string = "unmapped"
)
View Source
const (
	// JobSpecificationOnAllTasksCompleteNoAction captures enum value "noAction"
	JobSpecificationOnAllTasksCompleteNoAction string = "noAction"
	// JobSpecificationOnAllTasksCompleteTerminateJob captures enum value "terminateJob"
	JobSpecificationOnAllTasksCompleteTerminateJob string = "terminateJob"
)
View Source
const (
	// JobSpecificationOnTaskFailureNoAction captures enum value "noAction"
	JobSpecificationOnTaskFailureNoAction string = "noAction"
	// JobSpecificationOnTaskFailurePerformExitOptionsJobAction captures enum value "performExitOptionsJobAction"
	JobSpecificationOnTaskFailurePerformExitOptionsJobAction string = "performExitOptionsJobAction"
)
View Source
const (
	// JobUpdateParameterOnAllTasksCompleteNoAction captures enum value "noAction"
	JobUpdateParameterOnAllTasksCompleteNoAction string = "noAction"
	// JobUpdateParameterOnAllTasksCompleteTerminateJob captures enum value "terminateJob"
	JobUpdateParameterOnAllTasksCompleteTerminateJob string = "terminateJob"
)
View Source
const (
	// NodeAgentSkuOsTypeLinux captures enum value "linux"
	NodeAgentSkuOsTypeLinux string = "linux"
	// NodeAgentSkuOsTypeWindows captures enum value "windows"
	NodeAgentSkuOsTypeWindows string = "windows"
	// NodeAgentSkuOsTypeUnmapped captures enum value "unmapped"
	NodeAgentSkuOsTypeUnmapped string = "unmapped"
)
View Source
const (
	// NodeDisableSchedulingParameterNodeDisableSchedulingOptionRequeue captures enum value "requeue"
	NodeDisableSchedulingParameterNodeDisableSchedulingOptionRequeue string = "requeue"
	// NodeDisableSchedulingParameterNodeDisableSchedulingOptionTerminate captures enum value "terminate"
	NodeDisableSchedulingParameterNodeDisableSchedulingOptionTerminate string = "terminate"
	// NodeDisableSchedulingParameterNodeDisableSchedulingOptionTaskcompletion captures enum value "taskcompletion"
	NodeDisableSchedulingParameterNodeDisableSchedulingOptionTaskcompletion string = "taskcompletion"
)
View Source
const (
	// NodeRebootParameterNodeRebootOptionRequeue captures enum value "requeue"
	NodeRebootParameterNodeRebootOptionRequeue string = "requeue"
	// NodeRebootParameterNodeRebootOptionTerminate captures enum value "terminate"
	NodeRebootParameterNodeRebootOptionTerminate string = "terminate"
	// NodeRebootParameterNodeRebootOptionTaskcompletion captures enum value "taskcompletion"
	NodeRebootParameterNodeRebootOptionTaskcompletion string = "taskcompletion"
	// NodeRebootParameterNodeRebootOptionRetaineddata captures enum value "retaineddata"
	NodeRebootParameterNodeRebootOptionRetaineddata string = "retaineddata"
)
View Source
const (
	// NodeReimageParameterNodeReimageOptionRequeue captures enum value "requeue"
	NodeReimageParameterNodeReimageOptionRequeue string = "requeue"
	// NodeReimageParameterNodeReimageOptionTerminate captures enum value "terminate"
	NodeReimageParameterNodeReimageOptionTerminate string = "terminate"
	// NodeReimageParameterNodeReimageOptionTaskcompletion captures enum value "taskcompletion"
	NodeReimageParameterNodeReimageOptionTaskcompletion string = "taskcompletion"
	// NodeReimageParameterNodeReimageOptionRetaineddata captures enum value "retaineddata"
	NodeReimageParameterNodeReimageOptionRetaineddata string = "retaineddata"
)
View Source
const (
	// NodeRemoveParameterNodeDeallocationOptionRequeue captures enum value "requeue"
	NodeRemoveParameterNodeDeallocationOptionRequeue string = "requeue"
	// NodeRemoveParameterNodeDeallocationOptionTerminate captures enum value "terminate"
	NodeRemoveParameterNodeDeallocationOptionTerminate string = "terminate"
	// NodeRemoveParameterNodeDeallocationOptionTaskcompletion captures enum value "taskcompletion"
	NodeRemoveParameterNodeDeallocationOptionTaskcompletion string = "taskcompletion"
	// NodeRemoveParameterNodeDeallocationOptionRetaineddata captures enum value "retaineddata"
	NodeRemoveParameterNodeDeallocationOptionRetaineddata string = "retaineddata"
)
View Source
const (
	// PoolResizeParameterNodeDeallocationOptionRequeue captures enum value "requeue"
	PoolResizeParameterNodeDeallocationOptionRequeue string = "requeue"
	// PoolResizeParameterNodeDeallocationOptionTerminate captures enum value "terminate"
	PoolResizeParameterNodeDeallocationOptionTerminate string = "terminate"
	// PoolResizeParameterNodeDeallocationOptionTaskcompletion captures enum value "taskcompletion"
	PoolResizeParameterNodeDeallocationOptionTaskcompletion string = "taskcompletion"
	// PoolResizeParameterNodeDeallocationOptionRetaineddata captures enum value "retaineddata"
	PoolResizeParameterNodeDeallocationOptionRetaineddata string = "retaineddata"
)
View Source
const (
	// StartTaskInformationStateRunning captures enum value "running"
	StartTaskInformationStateRunning string = "running"
	// StartTaskInformationStateCompleted captures enum value "completed"
	StartTaskInformationStateCompleted string = "completed"
)
View Source
const (
	// SubtaskInformationPreviousStateActive captures enum value "active"
	SubtaskInformationPreviousStateActive string = "active"
	// SubtaskInformationPreviousStatePreparing captures enum value "preparing"
	SubtaskInformationPreviousStatePreparing string = "preparing"
	// SubtaskInformationPreviousStateRunning captures enum value "running"
	SubtaskInformationPreviousStateRunning string = "running"
	// SubtaskInformationPreviousStateCompleted captures enum value "completed"
	SubtaskInformationPreviousStateCompleted string = "completed"
)
View Source
const (
	// SubtaskInformationStateActive captures enum value "active"
	SubtaskInformationStateActive string = "active"
	// SubtaskInformationStatePreparing captures enum value "preparing"
	SubtaskInformationStatePreparing string = "preparing"
	// SubtaskInformationStateRunning captures enum value "running"
	SubtaskInformationStateRunning string = "running"
	// SubtaskInformationStateCompleted captures enum value "completed"
	SubtaskInformationStateCompleted string = "completed"
)
View Source
const (
	// TaskAddResultStatusSuccess captures enum value "success"
	TaskAddResultStatusSuccess string = "success"
	// TaskAddResultStatusClienterror captures enum value "clienterror"
	TaskAddResultStatusClienterror string = "clienterror"
	// TaskAddResultStatusServererror captures enum value "servererror"
	TaskAddResultStatusServererror string = "servererror"
	// TaskAddResultStatusUnmapped captures enum value "unmapped"
	TaskAddResultStatusUnmapped string = "unmapped"
)
View Source
const (
	// TaskInformationTaskStateActive captures enum value "active"
	TaskInformationTaskStateActive string = "active"
	// TaskInformationTaskStatePreparing captures enum value "preparing"
	TaskInformationTaskStatePreparing string = "preparing"
	// TaskInformationTaskStateRunning captures enum value "running"
	TaskInformationTaskStateRunning string = "running"
	// TaskInformationTaskStateCompleted captures enum value "completed"
	TaskInformationTaskStateCompleted string = "completed"
)
View Source
const (
	// TaskSchedulingErrorCategoryUsererror captures enum value "usererror"
	TaskSchedulingErrorCategoryUsererror string = "usererror"
	// TaskSchedulingErrorCategoryServererror captures enum value "servererror"
	TaskSchedulingErrorCategoryServererror string = "servererror"
	// TaskSchedulingErrorCategoryUnmapped captures enum value "unmapped"
	TaskSchedulingErrorCategoryUnmapped string = "unmapped"
)
View Source
const (
	// TaskSchedulingPolicyNodeFillTypeSpread captures enum value "spread"
	TaskSchedulingPolicyNodeFillTypeSpread string = "spread"
	// TaskSchedulingPolicyNodeFillTypePack captures enum value "pack"
	TaskSchedulingPolicyNodeFillTypePack string = "pack"
	// TaskSchedulingPolicyNodeFillTypeUnmapped captures enum value "unmapped"
	TaskSchedulingPolicyNodeFillTypeUnmapped string = "unmapped"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountListNodeAgentSkusResult

type AccountListNodeAgentSkusResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of supported node agent SKUs.
	Value []*NodeAgentSku `json:"value"`
}

AccountListNodeAgentSkusResult The result of listing the supported node agent SKUs. swagger:model AccountListNodeAgentSkusResult

func (*AccountListNodeAgentSkusResult) Validate

func (m *AccountListNodeAgentSkusResult) Validate(formats strfmt.Registry) error

Validate validates this account list node agent skus result

type AffinityInformation

type AffinityInformation struct {

	// An opaque string representing the location of a compute node or a task that has run previously.
	//
	// You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task.
	// Required: true
	AffinityID *string `json:"affinityId"`
}

AffinityInformation A locality hint that can be used by the Batch service to select a compute node on which to start a task. swagger:model AffinityInformation

func (*AffinityInformation) Validate

func (m *AffinityInformation) Validate(formats strfmt.Registry) error

Validate validates this affinity information

type ApplicationListResult

type ApplicationListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of applications available in the account.
	Value []*ApplicationSummary `json:"value"`
}

ApplicationListResult The result of listing the applications available in an account. swagger:model ApplicationListResult

func (*ApplicationListResult) Validate

func (m *ApplicationListResult) Validate(formats strfmt.Registry) error

Validate validates this application list result

type ApplicationPackageReference

type ApplicationPackageReference struct {

	// The ID of the application to deploy.
	// Required: true
	ApplicationID *string `json:"applicationId"`

	// The version of the application to deploy. If omitted, the default version is deployed.
	//
	// If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
	Version string `json:"version,omitempty"`
}

ApplicationPackageReference A reference to an application package to be deployed to compute nodes. swagger:model ApplicationPackageReference

func (*ApplicationPackageReference) Validate

func (m *ApplicationPackageReference) Validate(formats strfmt.Registry) error

Validate validates this application package reference

type ApplicationSummary

type ApplicationSummary struct {

	// The display name for the application.
	// Required: true
	DisplayName *string `json:"displayName"`

	// A string that uniquely identifies the application within the account.
	// Required: true
	ID *string `json:"id"`

	// The versions of the application which are available.
	// Required: true
	Versions []string `json:"versions"`
}

ApplicationSummary Contains information about an application in an Azure Batch account. swagger:model ApplicationSummary

func (*ApplicationSummary) Validate

func (m *ApplicationSummary) Validate(formats strfmt.Registry) error

Validate validates this application summary

type AutoPoolSpecification

type AutoPoolSpecification struct {

	// A prefix to be added to the unique identifier when a pool is automatically created.
	//
	// The Batch service assigns each auto pool a unique identifier on creation. To distinguish between pools created for different purposes, you can specify this element to add a prefix to the id that is assigned. The prefix can be up to 20 characters long.
	AutoPoolIDPrefix string `json:"autoPoolIdPrefix,omitempty"`

	// Whether to keep an auto pool alive after its lifetime expires.
	//
	// If false, the Batch service deletes the pool once its lifetime (as determined by the poolLifetimeOption setting) expires; that is, when the job or job schedule completes. If true, the Batch service does not delete the pool automatically. It is up to the user to delete auto pools created with this option.
	KeepAlive bool `json:"keepAlive,omitempty"`

	// The pool specification for the auto pool.
	Pool *PoolSpecification `json:"pool,omitempty"`

	// The minimum lifetime of created auto pools, and how multiple jobs on a schedule are assigned to pools.
	//
	// When the pool lifetime scope is jobschedule level, the Batch service keeps track of the last autopool created for the jobschedule, and deletes that pool when the jobschedule completes. Batch will also delete this pool if the user updates the auto pool specification in a way that changes this lifetime.
	// Required: true
	PoolLifetimeOption *string `json:"poolLifetimeOption"`
}

AutoPoolSpecification Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted. swagger:model AutoPoolSpecification

func (*AutoPoolSpecification) Validate

func (m *AutoPoolSpecification) Validate(formats strfmt.Registry) error

Validate validates this auto pool specification

type AutoScaleRun

type AutoScaleRun struct {

	// Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful.
	Error *AutoScaleRunError `json:"error,omitempty"`

	// The final values of all variables used in the evaluation of the autoscale formula.
	//
	// Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
	Results string `json:"results,omitempty"`

	// The time at which the autoscale formula was last evaluated.
	// Required: true
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

AutoScaleRun The results and errors from an execution of a pool autoscale formula. swagger:model AutoScaleRun

func (*AutoScaleRun) Validate

func (m *AutoScaleRun) Validate(formats strfmt.Registry) error

Validate validates this auto scale run

type AutoScaleRunError

type AutoScaleRunError struct {

	// An identifier for the autoscale error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// A message describing the autoscale error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`

	// A list of additional error details related to the autoscale error.
	Values []*NameValuePair `json:"values"`
}

AutoScaleRunError An error that occurred when executing or evaluating a pool autoscale formula. swagger:model AutoScaleRunError

func (*AutoScaleRunError) Validate

func (m *AutoScaleRunError) Validate(formats strfmt.Registry) error

Validate validates this auto scale run error

type BatchError

type BatchError struct {

	// An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// A message describing the error, intended to be suitable for display in a user interface.
	Message *ErrorMessage `json:"message,omitempty"`

	// A collection of key-value pairs containing additional details about the error.
	Values []*BatchErrorDetail `json:"values"`
}

BatchError An error response received from the Azure Batch service. swagger:model BatchError

func (*BatchError) Validate

func (m *BatchError) Validate(formats strfmt.Registry) error

Validate validates this batch error

type BatchErrorDetail

type BatchErrorDetail struct {

	// An identifier specifying the meaning of the Value property.
	Key string `json:"key,omitempty"`

	// The additional information included with the error response.
	Value string `json:"value,omitempty"`
}

BatchErrorDetail An item of additional information included in an Azure Batch error response. swagger:model BatchErrorDetail

func (*BatchErrorDetail) Validate

func (m *BatchErrorDetail) Validate(formats strfmt.Registry) error

Validate validates this batch error detail

type Certificate

type Certificate struct {

	// The error that occurred on the last attempt to delete this certificate.
	//
	// This property is set only if the certificate is in the DeleteFailed state.
	DeleteCertificateError *DeleteCertificateError `json:"deleteCertificateError,omitempty"`

	// The previous state of the certificate.
	//
	// This property is not set if the certificate is in its initial Active state.
	PreviousState string `json:"previousState,omitempty"`

	// The time at which the certificate entered its previous state.
	//
	// This property is not set if the certificate is in its initial Active state.
	PreviousStateTransitionTime strfmt.DateTime `json:"previousStateTransitionTime,omitempty"`

	// The public part of the certificate as a base-64 encoded .cer file.
	PublicData string `json:"publicData,omitempty"`

	// The current state of the certificate.
	State string `json:"state,omitempty"`

	// The time at which the certificate entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// The X.509 thumbprint of the certificate. This is a sequence of up to 40 hex digits.
	Thumbprint string `json:"thumbprint,omitempty"`

	// The algorithm used to derive the thumbprint.
	ThumbprintAlgorithm string `json:"thumbprintAlgorithm,omitempty"`

	// The URL of the certificate.
	URL string `json:"url,omitempty"`
}

Certificate A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine. swagger:model Certificate

func (*Certificate) Validate

func (m *Certificate) Validate(formats strfmt.Registry) error

Validate validates this certificate

type CertificateAddParameter

type CertificateAddParameter struct {

	// The format of the certificate data.
	CertificateFormat string `json:"certificateFormat,omitempty"`

	// The base64-encoded contents of the certificate. The maximum size is 10KB.
	// Required: true
	Data *string `json:"data"`

	// The password to access the certificate's private key.
	//
	// This is required if the certificate format is pfx. It should be omitted if the certificate format is cer.
	Password string `json:"password,omitempty"`

	// The X.509 thumbprint of the certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed).
	// Required: true
	Thumbprint *string `json:"thumbprint"`

	// The algorithm used to derive the thumbprint. This must be sha1.
	// Required: true
	ThumbprintAlgorithm *string `json:"thumbprintAlgorithm"`
}

CertificateAddParameter A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine. swagger:model CertificateAddParameter

func (*CertificateAddParameter) Validate

func (m *CertificateAddParameter) Validate(formats strfmt.Registry) error

Validate validates this certificate add parameter

type CertificateListResult

type CertificateListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of certificates.
	Value []*Certificate `json:"value"`
}

CertificateListResult The result of listing the certificates in the account. swagger:model CertificateListResult

func (*CertificateListResult) Validate

func (m *CertificateListResult) Validate(formats strfmt.Registry) error

Validate validates this certificate list result

type CertificateReference

type CertificateReference struct {

	// The location of the certificate store on the compute node into which to install the certificate.
	//
	// The default value is CurrentUser. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	StoreLocation string `json:"storeLocation,omitempty"`

	// The name of the certificate store on the compute node into which to install the certificate.
	//
	// The default value is My. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference).
	StoreName string `json:"storeName,omitempty"`

	// The thumbprint of the certificate.
	// Required: true
	Thumbprint *string `json:"thumbprint"`

	// The algorithm with which the thumbprint is associated. This must be sha1.
	// Required: true
	ThumbprintAlgorithm *string `json:"thumbprintAlgorithm"`

	// Which user accounts on the compute node should have access to the private data of the certificate.
	//
	// The default is all accounts.
	Visibility []string `json:"visibility"`
}

CertificateReference A reference to a certificate to be installed on compute nodes in a pool. swagger:model CertificateReference

func (*CertificateReference) Validate

func (m *CertificateReference) Validate(formats strfmt.Registry) error

Validate validates this certificate reference

type CloudJob

type CloudJob struct {

	// The list of common environment variable settings. These environment variables are set for all tasks in the job (including the Job Manager, Job Preparation and Job Release tasks).
	CommonEnvironmentSettings []*EnvironmentSetting `json:"commonEnvironmentSettings"`

	// The execution constraints for the job.
	Constraints *JobConstraints `json:"constraints,omitempty"`

	// The creation time of the job.
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// The display name for the job.
	DisplayName string `json:"displayName,omitempty"`

	// The ETag of the job.
	//
	// This is an opaque string. You can use it to detect whether the job has changed between requests. In particular, you can be pass the ETag when updating a job to specify that your changes should take effect only if nobody else has modified the job in the meantime.
	ETag string `json:"eTag,omitempty"`

	// The execution information for the job.
	ExecutionInfo *JobExecutionInformation `json:"executionInfo,omitempty"`

	// A string that uniquely identifies the job within the account.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. It is common to use a GUID for the id.
	ID string `json:"id,omitempty"`

	// Details of a Job Manager task to be launched when the job is started.
	JobManagerTask *JobManagerTask `json:"jobManagerTask,omitempty"`

	// The Job Preparation task.
	//
	// The Job Preparation task is a special task run on each node before any other task of the job.
	JobPreparationTask *JobPreparationTask `json:"jobPreparationTask,omitempty"`

	// The Job Release task.
	//
	// The Job Release task is a special task run at the end of the job on each node that has run any other task of the job.
	JobReleaseTask *JobReleaseTask `json:"jobReleaseTask,omitempty"`

	// The last modified time of the job.
	//
	// This is the last time at which the job level data, such as the job state or priority, changed. It does not factor in task-level changes such as adding new tasks or tasks changing state.
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// A list of name-value pairs associated with the job as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The action the Batch service should take when all tasks in the job are in the completed state.
	//
	// Permitted values are: noaction – do nothing. The job remains active unless terminated or disabled by some other means. terminatejob – terminate the job. The job's terminateReason is set to 'AllTasksComplete'. The default is noaction.
	OnAllTasksComplete string `json:"onAllTasksComplete,omitempty"`

	// The action the Batch service should take when any task in the job fails. A task is considered to have failed if it completes with a non-zero exit code and has exhausted its retry count, or if it had a scheduling error.
	//
	// Permitted values are: noaction – do nothing. performexitoptionsjobaction – take the action associated with the task exit condition in the task's exitConditions collection. (This may still result in no action being taken, if that is what the task specifies.) The default is noaction.
	OnTaskFailure string `json:"onTaskFailure,omitempty"`

	// The pool settings associated with the job.
	PoolInfo *PoolInformation `json:"poolInfo,omitempty"`

	// The previous state of the job.
	//
	// This property is not set if the job is in its initial Active state.
	PreviousState string `json:"previousState,omitempty"`

	// The time at which the job entered its previous state.
	//
	// This property is not set if the job is in its initial Active state.
	PreviousStateTransitionTime strfmt.DateTime `json:"previousStateTransitionTime,omitempty"`

	// The priority of the job.
	//
	// Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0.
	Priority int32 `json:"priority,omitempty"`

	// The current state of the job.
	State string `json:"state,omitempty"`

	// The time at which the job entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// Resource usage statistics for the entire lifetime of the job.
	Stats *JobStatistics `json:"stats,omitempty"`

	// The URL of the job.
	URL string `json:"url,omitempty"`

	// The flag that determines if this job will use tasks with dependencies.
	UsesTaskDependencies bool `json:"usesTaskDependencies,omitempty"`
}

CloudJob An Azure Batch job. swagger:model CloudJob

func (*CloudJob) Validate

func (m *CloudJob) Validate(formats strfmt.Registry) error

Validate validates this cloud job

type CloudJobListPreparationAndReleaseTaskStatusResult

type CloudJobListPreparationAndReleaseTaskStatusResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// A list of Job Preparation and Job Release task execution information.
	Value []*JobPreparationAndReleaseTaskExecutionInformation `json:"value"`
}

CloudJobListPreparationAndReleaseTaskStatusResult The result of listing the status of the job preparation and job release tasks for a job. swagger:model CloudJobListPreparationAndReleaseTaskStatusResult

func (*CloudJobListPreparationAndReleaseTaskStatusResult) Validate

Validate validates this cloud job list preparation and release task status result

type CloudJobListResult

type CloudJobListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of jobs.
	Value []*CloudJob `json:"value"`
}

CloudJobListResult The result of listing the jobs in an account. swagger:model CloudJobListResult

func (*CloudJobListResult) Validate

func (m *CloudJobListResult) Validate(formats strfmt.Registry) error

Validate validates this cloud job list result

type CloudJobSchedule

type CloudJobSchedule struct {

	// The creation time of the job schedule.
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// The display name for the schedule.
	DisplayName string `json:"displayName,omitempty"`

	// The ETag of the job schedule.
	//
	// This is an opaque string. You can use it to detect whether the job schedule has changed between requests. In particular, you can be pass the ETag with an Update Job Schedule request to specify that your changes should take effect only if nobody else has modified the schedule in the meantime.
	ETag string `json:"eTag,omitempty"`

	// Information about jobs that have been and will be run under this schedule.
	ExecutionInfo *JobScheduleExecutionInformation `json:"executionInfo,omitempty"`

	// A string that uniquely identifies the schedule within the account.
	//
	// It is common to use a GUID for the id.
	ID string `json:"id,omitempty"`

	// The details of the jobs to be created on this schedule.
	JobSpecification *JobSpecification `json:"jobSpecification,omitempty"`

	// The last modified time of the job schedule.
	//
	// This is the last time at which the schedule level data, such as the job specification or recurrence information, changed. It does not factor in job-level changes such as new jobs being created or jobs changing state.
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// A list of name-value pairs associated with the schedule as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The previous state of the job schedule.
	//
	// This property is not present if the job schedule is in its initial active state.
	PreviousState string `json:"previousState,omitempty"`

	// The time at which the job schedule entered its previous state.
	//
	// This property is not present if the job schedule is in its initial active state.
	PreviousStateTransitionTime strfmt.DateTime `json:"previousStateTransitionTime,omitempty"`

	// The schedule according to which jobs will be created.
	Schedule *Schedule `json:"schedule,omitempty"`

	// The current state of the job schedule.
	State string `json:"state,omitempty"`

	// The time at which the job schedule entered the current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// The lifetime resource usage statistics for the job schedule.
	Stats *JobScheduleStatistics `json:"stats,omitempty"`

	// The URL of the job schedule.
	URL string `json:"url,omitempty"`
}

CloudJobSchedule A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job. swagger:model CloudJobSchedule

func (*CloudJobSchedule) Validate

func (m *CloudJobSchedule) Validate(formats strfmt.Registry) error

Validate validates this cloud job schedule

type CloudJobScheduleListResult

type CloudJobScheduleListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of job schedules.
	Value []*CloudJobSchedule `json:"value"`
}

CloudJobScheduleListResult The result of listing the job schedules in an account. swagger:model CloudJobScheduleListResult

func (*CloudJobScheduleListResult) Validate

func (m *CloudJobScheduleListResult) Validate(formats strfmt.Registry) error

Validate validates this cloud job schedule list result

type CloudPool

type CloudPool struct {

	// Whether the pool is resizing.
	//
	// Possible values are: steady – The pool is not resizing. There are no changes to the number of nodes in the pool in progress. A pool enters this state when it is created and when no operations are being performed on the pool to change the number of dedicated nodes. resizing - The pool is resizing; that is, compute nodes are being added to or removed from the pool. stopping - The pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed.
	AllocationState string `json:"allocationState,omitempty"`

	// The time at which the pool entered its current allocation state.
	AllocationStateTransitionTime strfmt.DateTime `json:"allocationStateTransitionTime,omitempty"`

	// The list of application packages to be installed on each compute node in the pool.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The time interval at which to automatically adjust the pool size according to the autoscale formula.
	//
	// This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
	AutoScaleEvaluationInterval strfmt.Duration `json:"autoScaleEvaluationInterval,omitempty"`

	// A formula for the desired number of compute nodes in the pool.
	//
	// This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
	AutoScaleFormula string `json:"autoScaleFormula,omitempty"`

	// The results and errors from the last execution of the autoscale formula.
	//
	// This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
	AutoScaleRun *AutoScaleRun `json:"autoScaleRun,omitempty"`

	// The list of certificates to be installed on each compute node in the pool.
	//
	// For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// The cloud service configuration for the pool.
	//
	// This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified.
	CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"`

	// The creation time of the pool.
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// The number of compute nodes currently in the pool.
	CurrentDedicated int32 `json:"currentDedicated,omitempty"`

	// The display name for the pool.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// The ETag of the pool.
	//
	// This is an opaque string. You can use it to detect whether the pool has changed between requests. In particular, you can be pass the ETag when updating a pool to specify that your changes should take effect only if nobody else has modified the pool in the meantime.
	ETag string `json:"eTag,omitempty"`

	// Whether the pool size should automatically adjust over time.
	//
	// If true, the autoScaleFormula property must be set. If false, the targetDedicated property must be set.
	EnableAutoScale bool `json:"enableAutoScale,omitempty"`

	// Whether the pool permits direct communication between nodes.
	//
	// This imposes restrictions on which nodes can be assigned to the pool. Specifying this value can reduce the chance of the requested number of nodes to be allocated in the pool.
	EnableInterNodeCommunication bool `json:"enableInterNodeCommunication,omitempty"`

	// A string that uniquely identifies the pool within the account.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. It is common to use a GUID for the id.
	ID string `json:"id,omitempty"`

	// The last modified time of the pool.
	//
	// This is the last time at which the pool level data, such as the targetDedicated or enableAutoscale settings, changed. It does not factor in node-level changes such as a compute node changing state.
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// The maximum number of tasks that can run concurrently on a single compute node in the pool.
	MaxTasksPerNode int32 `json:"maxTasksPerNode,omitempty"`

	// A list of name-value pairs associated with the pool as metadata.
	Metadata []*MetadataItem `json:"metadata"`

	// The network configuration for the pool.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`

	// Details of any error encountered while performing the last resize on the pool.
	//
	// This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
	ResizeError *ResizeError `json:"resizeError,omitempty"`

	// The timeout for allocation of compute nodes to the pool.
	//
	// This is the timeout for the most recent resize operation. (The initial sizing when the pool is created counts as a resize.) The default value is 15 minutes.
	ResizeTimeout strfmt.Duration `json:"resizeTimeout,omitempty"`

	// A task specified to run on each compute node as it joins the pool.
	StartTask *StartTask `json:"startTask,omitempty"`

	// The current state of the pool.
	//
	// Possible values are: active – The pool is available to run tasks subject to the availability of compute nodes. deleting – The user has requested that the pool be deleted, but the delete operation has not yet completed. upgrading – The user has requested that the operating system of the pool's nodes be upgraded, but the upgrade operation has not yet completed (that is, some nodes in the pool have not yet been upgraded). While upgrading, the pool may be able to run tasks (with reduced capacity) but this is not guaranteed.
	State string `json:"state,omitempty"`

	// The time at which the pool entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// Utilization and resource usage statistics for the entire lifetime of the pool.
	Stats *PoolStatistics `json:"stats,omitempty"`

	// The desired number of compute nodes in the pool.
	//
	// This property is not set if enableAutoScale is true. It is required if enableAutoScale is false.
	TargetDedicated int32 `json:"targetDedicated,omitempty"`

	// How the Batch service distributes tasks between compute nodes in the pool.
	TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"`

	// The URL of the pool.
	URL string `json:"url,omitempty"`

	// The virtual machine configuration for the pool.
	//
	// This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
	VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"`

	// The size of virtual machines in the pool. All virtual machines in a pool are the same size.
	//
	// For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
	VMSize string `json:"vmSize,omitempty"`
}

CloudPool A pool in the Azure Batch service. swagger:model CloudPool

func (*CloudPool) Validate

func (m *CloudPool) Validate(formats strfmt.Registry) error

Validate validates this cloud pool

type CloudPoolListResult

type CloudPoolListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of pools.
	Value []*CloudPool `json:"value"`
}

CloudPoolListResult The result of listing the pools in an account. swagger:model CloudPoolListResult

func (*CloudPoolListResult) Validate

func (m *CloudPoolListResult) Validate(formats strfmt.Registry) error

Validate validates this cloud pool list result

type CloudServiceConfiguration

type CloudServiceConfiguration struct {

	// The Azure Guest OS Version currently installed on the virtual machines in the pool.
	//
	// This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion.
	CurrentOSVersion string `json:"currentOSVersion,omitempty"`

	// The Azure Guest OS family to be installed on the virtual machines in the pool.
	//
	// Possible values are: 2 – OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 – OS Family 3, equivalent to Windows Server 2012. 4 – OS Family 4, equivalent to Windows Server 2012 R2. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases).
	// Required: true
	OsFamily *string `json:"osFamily"`

	// The Azure Guest OS version to be installed on the virtual machines in the pool.
	//
	// The default value is * which specifies the latest operating system version for the specified OS family.
	TargetOSVersion string `json:"targetOSVersion,omitempty"`
}

CloudServiceConfiguration The configuration for nodes in a pool based on the Azure Cloud Services platform. swagger:model CloudServiceConfiguration

func (*CloudServiceConfiguration) Validate

func (m *CloudServiceConfiguration) Validate(formats strfmt.Registry) error

Validate validates this cloud service configuration

type CloudTask

type CloudTask struct {

	// A locality hint that can be used by the Batch service to select a compute node on which to start the new task.
	AffinityInfo *AffinityInformation `json:"affinityInfo,omitempty"`

	// A list of application packages that the Batch service will deploy to the compute node before running the command line.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The command line of the task.
	//
	// For multi-instance tasks, the command line is executed as the primary task, after the primary task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	CommandLine string `json:"commandLine,omitempty"`

	// The execution constraints that apply to this task.
	Constraints *TaskConstraints `json:"constraints,omitempty"`

	// The creation time of the task.
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// The tasks that this task depends on.
	//
	// The task will not be scheduled until all depended-on tasks have completed successfully. (If any depended-on tasks fail and exhaust their retry counts, the task will never be scheduled.)
	DependsOn *TaskDependencies `json:"dependsOn,omitempty"`

	// A display name for the task.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// The ETag of the task.
	//
	// This is an opaque string. You can use it to detect whether the task has changed between requests. In particular, you can be pass the ETag when updating a task to specify that your changes should take effect only if nobody else has modified the task in the meantime.
	ETag string `json:"eTag,omitempty"`

	// A list of environment variable settings for the task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// Information about the execution of the task.
	ExecutionInfo *TaskExecutionInformation `json:"executionInfo,omitempty"`

	// How the Batch service should respond when the task completes.
	ExitConditions *ExitConditions `json:"exitConditions,omitempty"`

	// A string that uniquely identifies the task within the job.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters.
	ID string `json:"id,omitempty"`

	// The last modified time of the task.
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// An object that indicates that the task is a multi-instance task, and contains information about how to run the multi-instance task.
	MultiInstanceSettings *MultiInstanceSettings `json:"multiInstanceSettings,omitempty"`

	// Information about the compute node on which the task ran.
	NodeInfo *ComputeNodeInformation `json:"nodeInfo,omitempty"`

	// The previous state of the task.
	//
	// This property is not set if the task is in its initial Active state.
	PreviousState string `json:"previousState,omitempty"`

	// The time at which the task entered its previous state.
	//
	// This property is not set if the task is in its initial Active state.
	PreviousStateTransitionTime strfmt.DateTime `json:"previousStateTransitionTime,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	//
	// For multi-instance tasks, the resource files will only be downloaded to the compute node on which the primary task is executed.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// Whether to run the task in elevated mode.
	RunElevated bool `json:"runElevated,omitempty"`

	// The current state of the task.
	State string `json:"state,omitempty"`

	// The time at which the task entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// Resource usage statistics for the task.
	Stats *TaskStatistics `json:"stats,omitempty"`

	// The URL of the task.
	URL string `json:"url,omitempty"`
}

CloudTask An Azure Batch task. swagger:model CloudTask

func (*CloudTask) Validate

func (m *CloudTask) Validate(formats strfmt.Registry) error

Validate validates this cloud task

type CloudTaskListResult

type CloudTaskListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of tasks.
	Value []*CloudTask `json:"value"`
}

CloudTaskListResult The result of listing the tasks in a job. swagger:model CloudTaskListResult

func (*CloudTaskListResult) Validate

func (m *CloudTaskListResult) Validate(formats strfmt.Registry) error

Validate validates this cloud task list result

type CloudTaskListSubtasksResult

type CloudTaskListSubtasksResult struct {

	// The list of subtasks.
	Value []*SubtaskInformation `json:"value"`
}

CloudTaskListSubtasksResult The result of listing the subtasks of a task. swagger:model CloudTaskListSubtasksResult

func (*CloudTaskListSubtasksResult) Validate

func (m *CloudTaskListSubtasksResult) Validate(formats strfmt.Registry) error

Validate validates this cloud task list subtasks result

type ComputeNode

type ComputeNode struct {

	// An identifier 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 time at which this compute node was allocated to the pool.
	AllocationTime strfmt.DateTime `json:"allocationTime,omitempty"`

	// The list of certificates installed on the compute node.
	//
	// For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// The list of errors that are currently being encountered by the compute node.
	Errors []*ComputeNodeError `json:"errors"`

	// The ID of the compute node.
	//
	// Every node that is added to a pool is assigned a unique ID. Whenever a node is removed from a pool, all of its local files are deleted, and the ID is reclaimed and could be reused for new nodes.
	ID string `json:"id,omitempty"`

	// The IP address that other compute nodes can use to communicate with this compute node.
	//
	// Every node that is added to a pool is assigned a unique IP address. Whenever a node is removed from a pool, all of its local files are deleted, and the IP address is reclaimed and could be reused for new nodes.
	IPAddress string `json:"ipAddress,omitempty"`

	// The time at which the compute node was started.
	//
	// This property may not be present if the node state is unusable.
	LastBootTime strfmt.DateTime `json:"lastBootTime,omitempty"`

	// The list of tasks that are currently running on the compute node.
	RecentTasks []*TaskInformation `json:"recentTasks"`

	// The total number of currently running job tasks on the compute node. This includes Job Preparation, Job Release, and Job Manager tasks, but not the pool start task.
	RunningTasksCount int32 `json:"runningTasksCount,omitempty"`

	// Whether the compute node is available for task scheduling.
	//
	// Possible values are: enabled – Tasks can be scheduled on the node. disabled – No new tasks will be scheduled on the node. Tasks already running on the node may still run to completion. All nodes start with scheduling enabled.
	SchedulingState string `json:"schedulingState,omitempty"`

	// The task specified to run on the compute node as it joins the pool.
	StartTask *StartTask `json:"startTask,omitempty"`

	// Runtime information about the execution of the start task on the compute node.
	StartTaskInfo *StartTaskInformation `json:"startTaskInfo,omitempty"`

	// The current state of the compute node.
	State string `json:"state,omitempty"`

	// The time at which the compute node entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`

	// The total number of job tasks completed on the compute node. This includes Job Preparation, Job Release and Job Manager tasks, but not the pool start task.
	TotalTasksRun int32 `json:"totalTasksRun,omitempty"`

	// The total number of job tasks which completed successfully (with exitCode 0) on the compute node. This includes Job Preparation, Job Release, and Job Manager tasks, but not the pool start task.
	TotalTasksSucceeded int32 `json:"totalTasksSucceeded,omitempty"`

	// The URL of the compute node.
	URL string `json:"url,omitempty"`

	// The size of the virtual machine hosting the compute node.
	//
	// For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
	VMSize string `json:"vmSize,omitempty"`
}

ComputeNode A compute node in the Batch service. swagger:model ComputeNode

func (*ComputeNode) Validate

func (m *ComputeNode) Validate(formats strfmt.Registry) error

Validate validates this compute node

type ComputeNodeError

type ComputeNodeError struct {

	// An identifier for the compute node error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// The list of additional error details related to the compute node error.
	ErrorDetails []*NameValuePair `json:"errorDetails"`

	// A message describing the compute node error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`
}

ComputeNodeError An error encountered by a compute node. swagger:model ComputeNodeError

func (*ComputeNodeError) Validate

func (m *ComputeNodeError) Validate(formats strfmt.Registry) error

Validate validates this compute node error

type ComputeNodeGetRemoteLoginSettingsResult

type ComputeNodeGetRemoteLoginSettingsResult struct {

	// The IP address used for remote login to the compute node.
	// Required: true
	RemoteLoginIPAddress *string `json:"remoteLoginIPAddress"`

	// The port used for remote login to the compute node.
	// Required: true
	RemoteLoginPort *int32 `json:"remoteLoginPort"`
}

ComputeNodeGetRemoteLoginSettingsResult The remote login settings for a compute node. swagger:model ComputeNodeGetRemoteLoginSettingsResult

func (*ComputeNodeGetRemoteLoginSettingsResult) Validate

Validate validates this compute node get remote login settings result

type 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"`
}

ComputeNodeInformation Information about the compute node on which a task ran. swagger:model ComputeNodeInformation

func (*ComputeNodeInformation) Validate

func (m *ComputeNodeInformation) Validate(formats strfmt.Registry) error

Validate validates this compute node information

type ComputeNodeListResult

type ComputeNodeListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of compute nodes.
	Value []*ComputeNode `json:"value"`
}

ComputeNodeListResult The result of listing the compute nodes in a pool. swagger:model ComputeNodeListResult

func (*ComputeNodeListResult) Validate

func (m *ComputeNodeListResult) Validate(formats strfmt.Registry) error

Validate validates this compute node list result

type ComputeNodeUser

type ComputeNodeUser struct {

	// The time at which the account should expire.
	//
	// If omitted, the default is 1 day from the current time. For Linux compute nodes, the expiryTime has a precision up to a day.
	ExpiryTime strfmt.DateTime `json:"expiryTime,omitempty"`

	// Whether the account should be an administrator on the compute node.
	//
	// The default value is false.
	IsAdmin bool `json:"isAdmin,omitempty"`

	// The user name of the account.
	// Required: true
	Name *string `json:"name"`

	// The password of the account.
	//
	// The password is required for Windows nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows image reference). For Linux compute nodes, the password can optionally be specified along with the sshPublicKey property.
	Password string `json:"password,omitempty"`

	// The SSH public key that can be used for remote login to the compute node.
	//
	// The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	SSHPublicKey string `json:"sshPublicKey,omitempty"`
}

ComputeNodeUser An user account on a compute node. swagger:model ComputeNodeUser

func (*ComputeNodeUser) Validate

func (m *ComputeNodeUser) Validate(formats strfmt.Registry) error

Validate validates this compute node user

type DeleteCertificateError

type DeleteCertificateError struct {

	// An identifier for the certificate deletion error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// A message describing the certificate deletion error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`

	// A list of additional error details related to the certificate deletion error.
	//
	// This list includes details such as the active pools and nodes referencing this certificate. However, if a large number of resources reference the certificate, the list contains only about the first hundred.
	Values []*NameValuePair `json:"values"`
}

DeleteCertificateError An error encountered by the Batch service when deleting a certificate. swagger:model DeleteCertificateError

func (*DeleteCertificateError) Validate

func (m *DeleteCertificateError) Validate(formats strfmt.Registry) error

Validate validates this delete certificate error

type EnvironmentSetting

type EnvironmentSetting struct {

	// The name of the environment variable.
	// Required: true
	Name *string `json:"name"`

	// The value of the environment variable.
	Value string `json:"value,omitempty"`
}

EnvironmentSetting An environment variable to be set on a task process. swagger:model EnvironmentSetting

func (*EnvironmentSetting) Validate

func (m *EnvironmentSetting) Validate(formats strfmt.Registry) error

Validate validates this environment setting

type ErrorMessage

type ErrorMessage struct {

	// The language code of the error message
	Lang string `json:"lang,omitempty"`

	// The text of the message.
	Value string `json:"value,omitempty"`
}

ErrorMessage An error message received in an Azure Batch error response. swagger:model ErrorMessage

func (*ErrorMessage) Validate

func (m *ErrorMessage) Validate(formats strfmt.Registry) error

Validate validates this error message

type ExitCodeMapping

type ExitCodeMapping struct {

	// A process exit code.
	// Required: true
	Code *int32 `json:"code"`

	// How the Batch service should respond if the task exits with this exit code.
	// Required: true
	ExitOptions *ExitOptions `json:"exitOptions"`
}

ExitCodeMapping How the Batch service should respond if a task exits with a particular exit code. swagger:model ExitCodeMapping

func (*ExitCodeMapping) Validate

func (m *ExitCodeMapping) Validate(formats strfmt.Registry) error

Validate validates this exit code mapping

type ExitCodeRangeMapping

type ExitCodeRangeMapping struct {

	// The last exit code in the range.
	// Required: true
	End *int32 `json:"end"`

	// How the Batch service should respond if the task exits with an exit code in the range start to end (inclusive).
	// Required: true
	ExitOptions *ExitOptions `json:"exitOptions"`

	// The first exit code in the range.
	// Required: true
	Start *int32 `json:"start"`
}

ExitCodeRangeMapping A range of exit codes and how the Batch service should respond to exit codes within that range. swagger:model ExitCodeRangeMapping

func (*ExitCodeRangeMapping) Validate

func (m *ExitCodeRangeMapping) Validate(formats strfmt.Registry) error

Validate validates this exit code range mapping

type ExitConditions

type ExitConditions struct {

	// How the Batch service should respond if the task fails with an exit condition not covered by any of the other properties – that is, any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, or a scheduling error if the schedulingError property is not present.
	//
	// Note that the default condition does not include exit code 0. If you want non-default behaviour on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection.
	Default *ExitOptions `json:"default,omitempty"`

	// A list of task exit code ranges and how the Batch service should respond to them.
	ExitCodeRanges []*ExitCodeRangeMapping `json:"exitCodeRanges"`

	// A list of individual task exit codes and how the Batch service should respond to them.
	ExitCodes []*ExitCodeMapping `json:"exitCodes"`

	// How the Batch service should respond if the task fails with a scheduling error.
	SchedulingError *ExitOptions `json:"schedulingError,omitempty"`
}

ExitConditions Specifies how the Batch service should respond when the task completes. swagger:model ExitConditions

func (*ExitConditions) Validate

func (m *ExitConditions) Validate(formats strfmt.Registry) error

Validate validates this exit conditions

type ExitOptions

type ExitOptions struct {

	// An action to take on the job containing the task, if the task completes with the given exit condition and the job’s onTaskFailed property is 'performexitoptionsjobaction'.
	//
	// The default is none for exit code 0 and terminate for all other exit conditions. It is an error to specify this if the job's onTaskFailed is noaction. The add task request fails with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	JobAction string `json:"jobAction,omitempty"`
}

ExitOptions How the Batch service should respond to a particular exit condition. swagger:model ExitOptions

func (*ExitOptions) Validate

func (m *ExitOptions) Validate(formats strfmt.Registry) error

Validate validates this exit options

type FileProperties

type FileProperties struct {

	// The length of the file.
	// Required: true
	ContentLength *int64 `json:"contentLength"`

	// The content type of the file.
	ContentType string `json:"contentType,omitempty"`

	// The file creation time.
	//
	// The creation time is not returned for files on Linux compute nodes.
	CreationTime strfmt.DateTime `json:"creationTime,omitempty"`

	// The file mode attribute in octal format.
	//
	// The file mode is returned only for files on Linux compute nodes.
	FileMode string `json:"fileMode,omitempty"`

	// The time at which the file was last modified.
	// Required: true
	LastModified *strfmt.DateTime `json:"lastModified"`
}

FileProperties The properties of a file on a compute node. swagger:model FileProperties

func (*FileProperties) Validate

func (m *FileProperties) Validate(formats strfmt.Registry) error

Validate validates this file properties

type ImageReference

type ImageReference struct {

	// The offer type of the Azure Virtual Machines Marketplace image.
	//
	// For example, UbuntuServer or WindowsServer.
	// Required: true
	Offer *string `json:"offer"`

	// The publisher of the Azure Virtual Machines Marketplace image.
	//
	// For example, Canonical or MicrosoftWindowsServer.
	// Required: true
	Publisher *string `json:"publisher"`

	// The SKU of the Azure Virtual Machines Marketplace image.
	//
	// For example, 14.04.0-LTS or 2012-R2-Datacenter.
	// Required: true
	Sku *string `json:"sku"`

	// The version of the Azure Virtual Machines Marketplace image.
	//
	// A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
	Version string `json:"version,omitempty"`
}

ImageReference A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation. swagger:model ImageReference

func (*ImageReference) Validate

func (m *ImageReference) Validate(formats strfmt.Registry) error

Validate validates this image reference

type JobAddParameter

type JobAddParameter struct {

	// The list of common environment variable settings. These environment variables are set for all tasks in the job (including the Job Manager, Job Preparation and Job Release tasks).
	CommonEnvironmentSettings []*EnvironmentSetting `json:"commonEnvironmentSettings"`

	// The execution constraints for the job.
	Constraints *JobConstraints `json:"constraints,omitempty"`

	// The display name for the job.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// A string that uniquely identifies the job within the account.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. It is common to use a GUID for the id.
	// Required: true
	ID *string `json:"id"`

	// Details of a Job Manager task to be launched when the job is started.
	//
	// If the job does not specify a Job Manager task, the user must explicitly add tasks to the job. If the job does specify a Job Manager task, the Batch service creates the Job Manager task when the job is created, and will try to schedule the Job Manager task before scheduling other tasks in the job. The Job Manager task's typical purpose is to control and/or monitor job execution, for example by deciding what additional tasks to run, determining when the work is complete, etc. (However, a Job Manager task is not restricted to these activities – it is a fully-fledged task in the system and perform whatever actions are required for the job.) For example, a Job Manager task might download a file specified as a parameter, analyze the contents of that file and submit additional tasks based on those contents.
	JobManagerTask *JobManagerTask `json:"jobManagerTask,omitempty"`

	// The Job Preparation task.
	//
	// If a job has a Job Preparation task, the Batch service will run the Job Preparation task on a compute node before starting any tasks of that job on that compute node.
	JobPreparationTask *JobPreparationTask `json:"jobPreparationTask,omitempty"`

	// The Job Release task.
	//
	// A Job Release task cannot be specified without also specifying a Job Preparation task for the job. The Batch service runs the Job Release task on the compute nodes that have run the Job Preparation task. The primary purpose of the Job Release task is to undo changes to compute nodes made by the Job Preparation task. Example activities include deleting local files, or shutting down services that were started as part of job preparation.
	JobReleaseTask *JobReleaseTask `json:"jobReleaseTask,omitempty"`

	// A list of name-value pairs associated with the job as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The action the Batch service should take when all tasks in the job are in the completed state.
	//
	// Note that if a job contains no tasks, then all tasks are considered complete. This option is therefore most commonly used with a job manager task; if you want to use automatic job termination without a job manager, you should initially set onAllTasksComplete to noaction and update the job properties to set onAllTasksComplete to terminatejob once you have finished adding tasks. Permitted values are: noaction – do nothing. The job remains active unless terminated or disabled by some other means. terminatejob – terminate the job. The job’s terminateReason is set to 'AllTasksComplete'. The default is noaction.
	OnAllTasksComplete string `json:"onAllTasksComplete,omitempty"`

	// The action the Batch service should take when any task in the job fails. A task is considered to have failed if it completes with a non-zero exit code and has exhausted its retry count, or if it had a scheduling error.
	//
	// Permitted values are: noaction – do nothing. performexitoptionsjobaction – take the action associated with the task exit condition in the task's exitConditions collection. (This may still result in no action being taken, if that is what the task specifies.) The default is noaction.
	OnTaskFailure string `json:"onTaskFailure,omitempty"`

	// The pool on which the Batch service runs the job's tasks.
	// Required: true
	PoolInfo *PoolInformation `json:"poolInfo"`

	// The priority of the job.
	//
	//  Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0.
	Priority int32 `json:"priority,omitempty"`

	// The flag that determines if this job will use tasks with dependencies.
	UsesTaskDependencies bool `json:"usesTaskDependencies,omitempty"`
}

JobAddParameter An Azure Batch job to add. swagger:model JobAddParameter

func (*JobAddParameter) Validate

func (m *JobAddParameter) Validate(formats strfmt.Registry) error

Validate validates this job add parameter

type JobConstraints

type JobConstraints struct {

	// The maximum number of times each task may be retried. The Batch service retries a task if its exit code is nonzero.
	//
	// Note that this value specifically controls the number of retries. The Batch service will try each task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry tasks. If the maximum retry count is -1, the Batch service retries tasks without limit. The default value is 0 (no retries).
	MaxTaskRetryCount int32 `json:"maxTaskRetryCount,omitempty"`

	// The maximum elapsed time that the job may run, measured from the time the job is created.
	//
	// If the job does not complete within the time limit, the Batch service terminates it and any tasks that are still running. In this case, the termination reason will be MaxWallClockTimeExpiry. If this property is not specified, there is no time limit on how long the job may run.
	MaxWallClockTime strfmt.Duration `json:"maxWallClockTime,omitempty"`
}

JobConstraints The execution constraints for a job. swagger:model JobConstraints

func (*JobConstraints) Validate

func (m *JobConstraints) Validate(formats strfmt.Registry) error

Validate validates this job constraints

type JobDisableParameter

type JobDisableParameter struct {

	// What to do with active tasks associated with the job.
	//
	// Possible values are: requeue – Terminate running tasks and requeue them. The tasks will run again when the job is enabled. terminate – Terminate running tasks. The tasks will not run again. wait – Allow currently running tasks to complete.
	// Required: true
	DisableTasks *string `json:"disableTasks"`
}

JobDisableParameter Options when disabling a job. swagger:model JobDisableParameter

func (*JobDisableParameter) Validate

func (m *JobDisableParameter) Validate(formats strfmt.Registry) error

Validate validates this job disable parameter

type JobExecutionInformation

type JobExecutionInformation struct {

	// The completion time of the job.
	//
	// This property is set only if the job is in the completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The ID of the pool to which this job is assigned.
	//
	// This element contains the actual pool where the job is assigned. When you get job details from the service, they also contain a poolInfo element, which contains the pool configuration data from when the job was added or updated. That poolInfo element may also contain a poolId element. If it does, the two IDs are the same. If it does not, it means the job ran on an auto pool, and this property contains the id of that auto pool.
	PoolID string `json:"poolId,omitempty"`

	// Details of any error encountered by the service in starting the job.
	//
	// This property is not set if there was no error starting the job.
	SchedulingError *JobSchedulingError `json:"schedulingError,omitempty"`

	// The start time of the job.
	//
	// This is the time at which the job was created.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// A string describing the reason the job ended.
	//
	// This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete – the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry – the job reached its maxWallClockTime constraint. TerminateJobSchedule – the job ran as part of a schedule, and the schedule terminated. AllTasksComplete – the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed – the job's onTaskFailure attribute is set to performexitoptionsjobaction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation.
	TerminateReason string `json:"terminateReason,omitempty"`
}

JobExecutionInformation Contains information about the execution of a job in the Azure Batch service. swagger:model JobExecutionInformation

func (*JobExecutionInformation) Validate

func (m *JobExecutionInformation) Validate(formats strfmt.Registry) error

Validate validates this job execution information

type JobManagerTask

type JobManagerTask struct {

	// A list of application packages that the Batch service will deploy to the compute node before running the command line.
	//
	// Application packages are downloaded and deployed to a shared directory, not the task directory. Therefore, if a referenced package is already on the compute node, and is up to date, then it is not re-downloaded; the existing copy on the compute node is used. If a referenced application package cannot be installed, for example because the package has been deleted or because download failed, the task fails with a scheduling error. This property is currently not supported on jobs running on pools created using the virtualMachineConfiguration (IaaS) property. If a task specifying applicationPackageReferences runs on such a pool, it fails with a scheduling error with code TaskSchedulingConstraintFailed.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The command line of the Job Manager task.
	//
	// The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	// Required: true
	CommandLine *string `json:"commandLine"`

	// Constraints that apply to the Job Manager task.
	Constraints *TaskConstraints `json:"constraints,omitempty"`

	// The display name of the Job Manager task.
	//
	// It need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// A list of environment variable settings for the Job Manager task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// A string that uniquely identifies the Job Manager taskwithin the job.
	//
	// The id can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters.
	// Required: true
	ID *string `json:"id"`

	// Whether completion of the Job Manager task signifies completion of the entire job.
	//
	// If true, when the Job Manager task completes, the Batch service marks the job as complete. If any tasks are still running at this time (other than Job Release), those tasks are terminated. If false, the completion of the Job Manager task does not affect the job status. In this case, you should either use the onAllTasksComplete attribute to terminate the job, or have a client or user terminate the job explicitly. An example of this is if the Job Manager creates a set of tasks but then takes no further role in their execution. The default value is true. If you are using the onAllTasksComplete and onTaskFailure attributes to control job lifetime, and using the job manager task only to create the tasks for the job (not to monitor progress), then it is important to set killJobOnCompletion to false.
	KillJobOnCompletion bool `json:"killJobOnCompletion,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	//
	// Files listed under this element are located in the task's working directory.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// Whether to run the Job Manager task in elevated mode. The default value is false.
	RunElevated bool `json:"runElevated,omitempty"`

	// Whether the Job Manager task requires exclusive use of the compute node where it runs.
	//
	// If true, no other tasks will run on the same compute node for as long as the Job Manager is running. If false, other tasks can run simultaneously with the Job Manager on a compute node. The Job Manager task counts normally against the node's concurrent task limit, so this is only relevant if the node allows multiple concurrent tasks. The default value is true.
	RunExclusive bool `json:"runExclusive,omitempty"`
}

JobManagerTask Specifies details of a Job Manager task. swagger:model JobManagerTask

func (*JobManagerTask) Validate

func (m *JobManagerTask) Validate(formats strfmt.Registry) error

Validate validates this job manager task

type JobPatchParameter

type JobPatchParameter struct {

	// The execution constraints for the job.
	//
	// If omitted, the existing execution constraints are left unchanged.
	Constraints *JobConstraints `json:"constraints,omitempty"`

	// A list of name-value pairs associated with the job as metadata.
	//
	// If omitted, the existing job metadata is left unchanged.
	Metadata []*MetadataItem `json:"metadata"`

	// Specifies an action the Batch service should take when all tasks in the job are in the completed state.
	//
	// If omitted, the completion behavior is left unchanged. You may not change the value from terminatejob to noaction – that is, once you have engaged automatic job termination, you cannot turn it off again. If you try to do this, the request fails with an 'invalid property value' error response; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	OnAllTasksComplete string `json:"onAllTasksComplete,omitempty"`

	// The pool on which the Batch service runs the job's tasks.
	//
	// You may change the pool for a job only when the job is disabled. The Patch Job call will fail if you include the poolInfo element and the job is not disabled. If you specify an autoPoolSpecification specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job. If omitted, the job continues to run on its current pool.
	PoolInfo *PoolInformation `json:"poolInfo,omitempty"`

	// The priority of the job.
	//
	// Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, the priority of the job is left unchanged.
	Priority int32 `json:"priority,omitempty"`
}

JobPatchParameter The set of changes to be made to a job. swagger:model JobPatchParameter

func (*JobPatchParameter) Validate

func (m *JobPatchParameter) Validate(formats strfmt.Registry) error

Validate validates this job patch parameter

type JobPreparationAndReleaseTaskExecutionInformation

type JobPreparationAndReleaseTaskExecutionInformation struct {

	// Information about the execution status of the Job Preparation task on this compute node.
	JobPreparationTaskExecutionInfo *JobPreparationTaskExecutionInformation `json:"jobPreparationTaskExecutionInfo,omitempty"`

	// Information about the execution status of the Job Release task on this compute node.
	//
	// This property is set only if the Job Release task has run on the node.
	JobReleaseTaskExecutionInfo *JobReleaseTaskExecutionInformation `json:"jobReleaseTaskExecutionInfo,omitempty"`

	// The ID of the compute node to which this entry refers.
	NodeID string `json:"nodeId,omitempty"`

	// The URL of the compute node to which this entry refers.
	NodeURL string `json:"nodeUrl,omitempty"`

	// The ID of the pool containing the compute node to which this entry refers.
	PoolID string `json:"poolId,omitempty"`
}

JobPreparationAndReleaseTaskExecutionInformation The status of the Job Preparation and Job Release tasks on a compute node. swagger:model JobPreparationAndReleaseTaskExecutionInformation

func (*JobPreparationAndReleaseTaskExecutionInformation) Validate

Validate validates this job preparation and release task execution information

type JobPreparationTask

type JobPreparationTask struct {

	// The command line of the Job Preparation task.
	//
	// The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	// Required: true
	CommandLine *string `json:"commandLine"`

	// Constraints that apply to the Job Preparation task.
	Constraints *TaskConstraints `json:"constraints,omitempty"`

	// A list of environment variable settings for the Job Preparation task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// A string that uniquely identifies the job preparation task within the job.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other task in the job can have the same id as the Job Preparation task. If you try to submit a task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
	ID string `json:"id,omitempty"`

	// Whether the Batch service should rerun the Job Preparation task after a compute node reboots.
	//
	// The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true.
	RerunOnNodeRebootAfterSuccess bool `json:"rerunOnNodeRebootAfterSuccess,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	//
	// Files listed under this element are located in the task's working directory.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// Whether to run the Job Preparation task in elevated mode. The default value is false.
	RunElevated bool `json:"runElevated,omitempty"`

	// Whether the Batch service should wait for the Job Preparation task to complete successfully before scheduling any other tasks of the job on the compute node.
	//
	// If true and the Job Preparation task fails on a compute node, the Batch service retries the Job Preparation task up to its maximum retry count (as specified in the constraints element). If the task has still not completed successfully after all retries, then the Batch service will not schedule tasks of the job to the compute node. The compute node remains active and eligible to run tasks of other jobs. If false, the Batch service will not wait for the Job Preparation task to complete. In this case, other tasks of the job can start executing on the compute node while the Job Preparation task is still running; and even if the Job Preparation task fails, new tasks will continue to be scheduled on the node. The default value is true.
	WaitForSuccess bool `json:"waitForSuccess,omitempty"`
}

JobPreparationTask A Job Preparation task to run before any tasks of the job on any given compute node. swagger:model JobPreparationTask

func (*JobPreparationTask) Validate

func (m *JobPreparationTask) Validate(formats strfmt.Registry) error

Validate validates this job preparation task

type JobPreparationTaskExecutionInformation

type JobPreparationTaskExecutionInformation struct {

	// The time at which the Job Preparation task completed.
	//
	// This property is set only if the task is in the Completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The exit code of the program specified on the task command line.
	//
	// This parameter is returned only if the task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the compute node operating system, such as when a process is forcibly terminated.
	ExitCode int32 `json:"exitCode,omitempty"`

	// The most recent time at which a retry of the Job Preparation task started running.
	//
	// This property is set only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not.
	LastRetryTime strfmt.DateTime `json:"lastRetryTime,omitempty"`

	// The number of times the task has been retried by the Batch service. Every time the task exits with a non-zero exit code, it is deemed a task failure. The Batch service will retry the task up to the limit specified by the constraints.
	// Required: true
	RetryCount *int32 `json:"retryCount"`

	// The error encountered by the Batch service when starting the task.
	SchedulingError *TaskSchedulingError `json:"schedulingError,omitempty"`

	// The time at which the task started running.
	//
	// Note that every time the task is restarted, this value is updated.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The current state of the Job Preparation task on the compute node.
	//
	// Possible values are: running – the task is currently running (including retrying). completed – the task has exited with exit code 0, or the task has exhausted its retry limit, or the Batch service was unable to start the task due to scheduling errors
	// Required: true
	State *string `json:"state"`

	// The root directory of the Job Preparation task on the compute node. You can use this path to retrieve files created by the task, such as log files.
	TaskRootDirectory string `json:"taskRootDirectory,omitempty"`

	// The URL to the root directory of the Job Preparation task on the compute node.
	TaskRootDirectoryURL string `json:"taskRootDirectoryUrl,omitempty"`
}

JobPreparationTaskExecutionInformation Contains information about the execution of a Job Preparation task on a compute node. swagger:model JobPreparationTaskExecutionInformation

func (*JobPreparationTaskExecutionInformation) Validate

Validate validates this job preparation task execution information

type JobReleaseTask

type JobReleaseTask struct {

	// The command line of the Job Release task.
	//
	// The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	// Required: true
	CommandLine *string `json:"commandLine"`

	// A list of environment variable settings for the Job Release task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// A string that uniquely identifies the Job Release task within the job.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobrelease'. No other task in the job can have the same id as the Job Release task. If you try to submit a task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobReleaseTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
	ID string `json:"id,omitempty"`

	// The maximum elapsed time that the Job Release task may run on a given compute node, measured from the time the task starts. If the task does not complete within the time limit, the Batch service terminates it. The default value is 15 minutes. You may not specify a timeout longer than 15 minutes. If you do, the Batch service rejects it with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	MaxWallClockTime strfmt.Duration `json:"maxWallClockTime,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	//
	// Files listed under this element are located in the task's working directory.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// The minimum time to retain the task directory for the Job Release task on the compute node. After this time, the Batch service may delete the task directory and all its contents.
	//
	// The default is infinite, i.e. the task directory will be retained until the compute node is removed or reimaged.
	RetentionTime strfmt.Duration `json:"retentionTime,omitempty"`

	// Whether to run the Job Release task in elevated mode.
	//
	// The default value is false.
	RunElevated bool `json:"runElevated,omitempty"`
}

JobReleaseTask A Job Release task to run on job completion on any compute node where the job has run. swagger:model JobReleaseTask

func (*JobReleaseTask) Validate

func (m *JobReleaseTask) Validate(formats strfmt.Registry) error

Validate validates this job release task

type JobReleaseTaskExecutionInformation

type JobReleaseTaskExecutionInformation struct {

	// The time at which the Job Release task completed.
	//
	// This property is set only if the task is in the Completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The exit code of the program specified on the task command line.
	//
	// This parameter is returned only if the task is in the completed state. The exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. Note that the exit code may also be generated by the compute node operating system, such as when a process is forcibly terminated.
	ExitCode int32 `json:"exitCode,omitempty"`

	// The error encountered by the Batch service when starting the task.
	SchedulingError *TaskSchedulingError `json:"schedulingError,omitempty"`

	// The time at which the task started running. Note that every time the task is restarted, this value is updated.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The current state of the Job Release task on the compute node.
	//
	// Possible values are: running – the task is currently running (including retrying). completed – the task has exited, or the Batch service was unable to start the task due to scheduling errors.
	// Required: true
	State *string `json:"state"`

	// The root directory of the Job Release task on the compute node. You can use this path to retrieve files created by the task, such as log files.
	TaskRootDirectory string `json:"taskRootDirectory,omitempty"`

	// The URL to the root directory of the Job Release task on the compute node.
	TaskRootDirectoryURL string `json:"taskRootDirectoryUrl,omitempty"`
}

JobReleaseTaskExecutionInformation Contains information about the execution of a Job Release task on a compute node. swagger:model JobReleaseTaskExecutionInformation

func (*JobReleaseTaskExecutionInformation) Validate

Validate validates this job release task execution information

type JobScheduleAddParameter

type JobScheduleAddParameter struct {

	// The display name for the schedule.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// A string that uniquely identifies the schedule within the account.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The id is case-preserving and case-insensitive (that is, you may not have two ids within an account that differ only by case).
	// Required: true
	ID *string `json:"id"`

	// The details of the jobs to be created on this schedule.
	// Required: true
	JobSpecification *JobSpecification `json:"jobSpecification"`

	// A list of name-value pairs associated with the schedule as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The schedule according to which jobs will be created.
	// Required: true
	Schedule *Schedule `json:"schedule"`
}

JobScheduleAddParameter A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job. swagger:model JobScheduleAddParameter

func (*JobScheduleAddParameter) Validate

func (m *JobScheduleAddParameter) Validate(formats strfmt.Registry) error

Validate validates this job schedule add parameter

type JobScheduleExecutionInformation

type JobScheduleExecutionInformation struct {

	// The time at which the schedule ended.
	//
	// This property is set only if the job schedule is in the completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The next time at which a job will be created under this schedule.
	//
	// This property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no job will be created at nextRunTime unless the job is enabled before then.
	NextRunTime strfmt.DateTime `json:"nextRunTime,omitempty"`

	// Information about the most recent job under the job schedule.
	//
	// This property is present only if the at least one job has run under the schedule.
	RecentJob *RecentJob `json:"recentJob,omitempty"`
}

JobScheduleExecutionInformation Contains information about jobs that have been and will be run under a job schedule. swagger:model JobScheduleExecutionInformation

func (*JobScheduleExecutionInformation) Validate

Validate validates this job schedule execution information

type JobSchedulePatchParameter

type JobSchedulePatchParameter struct {

	// The details of the jobs to be created on this schedule.
	//
	// Updates affect only jobs that are started after the update has taken place. Any currently active job continues with the older specification.
	JobSpecification *JobSpecification `json:"jobSpecification,omitempty"`

	// A list of name-value pairs associated with the job schedule as metadata.
	//
	// If you do not specify this element, existing metadata is left unchanged.
	Metadata []*MetadataItem `json:"metadata"`

	// The schedule according to which jobs will be created.
	//
	// If you do not specify this element, the existing schedule is left unchanged.
	Schedule *Schedule `json:"schedule,omitempty"`
}

JobSchedulePatchParameter The set of changes to be made to a job schedule. swagger:model JobSchedulePatchParameter

func (*JobSchedulePatchParameter) Validate

func (m *JobSchedulePatchParameter) Validate(formats strfmt.Registry) error

Validate validates this job schedule patch parameter

type JobScheduleStatistics

type JobScheduleStatistics struct {

	// The total kernel mode CPU time (summed across all cores and all compute nodes) consumed by all tasks in all jobs created under the schedule.
	// Required: true
	KernelCPUTime *strfmt.Duration `json:"kernelCPUTime"`

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// The total number of tasks that failed during the given time range in jobs created under the schedule. A task fails if it exhausts its maximum retry count without returning exit code 0.
	// Required: true
	NumFailedTasks *int64 `json:"numFailedTasks"`

	// The total number of tasks successfully completed during the given time range in jobs created under the schedule. A task completes successfully if it returns exit code 0.
	// Required: true
	NumSucceededTasks *int64 `json:"numSucceededTasks"`

	// The total number of retries during the given time range on all tasks in all jobs created under the schedule.
	// Required: true
	NumTaskRetries *int64 `json:"numTaskRetries"`

	// The total gibibytes read from disk by all tasks in all jobs created under the schedule.
	// Required: true
	ReadIOGiB *float64 `json:"readIOGiB"`

	// The total number of disk read operations made by all tasks in all jobs created under the schedule.
	// Required: true
	ReadIOps *int64 `json:"readIOps"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The URL of the statistics.
	// Required: true
	URL *string `json:"url"`

	// The total user mode CPU time (summed across all cores and all compute nodes) consumed by all tasks in all jobs created under the schedule.
	// Required: true
	UserCPUTime *strfmt.Duration `json:"userCPUTime"`

	// The total wait time of all tasks in all jobs created under the schedule. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)
	//
	// This value is only reported in the account lifetime statistics; it is not included in the job statistics.
	// Required: true
	WaitTime *strfmt.Duration `json:"waitTime"`

	// The total wall clock time of all the tasks in all the jobs created under the schedule.
	//
	// The wall clock time is the elapsed time from when the task started running on a compute node to when it finished (or to the last time the statistics were updated, if the task had not finished by then). If a task was retried, this includes the wall clock time of all the task retries.
	// Required: true
	WallClockTime *strfmt.Duration `json:"wallClockTime"`

	// The total gibibytes written to disk by all tasks in all jobs created under the schedule.
	// Required: true
	WriteIOGiB *float64 `json:"writeIOGiB"`

	// The total number of disk write operations made by all tasks in all jobs created under the schedule.
	// Required: true
	WriteIOps *int64 `json:"writeIOps"`
}

JobScheduleStatistics Resource usage statistics for a job schedule. swagger:model JobScheduleStatistics

func (*JobScheduleStatistics) Validate

func (m *JobScheduleStatistics) Validate(formats strfmt.Registry) error

Validate validates this job schedule statistics

type JobScheduleUpdateParameter

type JobScheduleUpdateParameter struct {

	// Details of the jobs to be created on this schedule.
	//
	// Updates affect only jobs that are started after the update has taken place. Any currently active job continues with the older specification.
	// Required: true
	JobSpecification *JobSpecification `json:"jobSpecification"`

	// A list of name-value pairs associated with the job schedule as metadata.
	//
	// If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted.
	Metadata []*MetadataItem `json:"metadata"`

	// The schedule according to which jobs will be created.
	//
	// If you do not specify this element, it is equivalent to passing the default schedule: that is, a single job scheduled to run immediately.
	// Required: true
	Schedule *Schedule `json:"schedule"`
}

JobScheduleUpdateParameter The set of changes to be made to a job schedule. swagger:model JobScheduleUpdateParameter

func (*JobScheduleUpdateParameter) Validate

func (m *JobScheduleUpdateParameter) Validate(formats strfmt.Registry) error

Validate validates this job schedule update parameter

type JobSchedulingError

type JobSchedulingError struct {

	// The category of the job scheduling error.
	// Required: true
	Category *string `json:"category"`

	// An identifier for the job scheduling error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// A list of additional error details related to the scheduling error.
	Details []*NameValuePair `json:"details"`

	// A message describing the job scheduling error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`
}

JobSchedulingError An error encountered by the Batch service when scheduling a job. swagger:model JobSchedulingError

func (*JobSchedulingError) Validate

func (m *JobSchedulingError) Validate(formats strfmt.Registry) error

Validate validates this job scheduling error

type JobSpecification

type JobSpecification struct {

	// A list of common environment variable settings. These environment variables are set for all tasks in jobs created under this schedule (including the Job Manager, Job Preparation and Job Release tasks).
	//
	// Individual tasks can override an environment setting specified here by specifying the same setting name with a different value.
	CommonEnvironmentSettings []*EnvironmentSetting `json:"commonEnvironmentSettings"`

	// The execution constraints for jobs created under this schedule.
	Constraints *JobConstraints `json:"constraints,omitempty"`

	// The display name for jobs created under this schedule.
	//
	// The name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// The details of a Job Manager task to be launched when a job is started under this schedule.
	//
	// If the job does not specify a Job Manager task, the user must explicitly add tasks to the job using the Task API. If the job does specify a Job Manager task, the Batch service creates the Job Manager task when the job is created, and will try to schedule the Job Manager task before scheduling other tasks in the job.
	JobManagerTask *JobManagerTask `json:"jobManagerTask,omitempty"`

	// The Job Preparation task for jobs created under this schedule.
	//
	// If a job has a Job Preparation task, the Batch service will run the Job Preparation task on a compute node before starting any tasks of that job on that compute node.
	JobPreparationTask *JobPreparationTask `json:"jobPreparationTask,omitempty"`

	// The Job Release task for jobs created under this schedule.
	//
	// The primary purpose of the Job Release task is to undo changes to compute nodes made by the Job Preparation task. Example activities include deleting local files, or shutting down services that were started as part of job preparation. A Job Release task cannot be specified without also specifying a Job Preparation task for the job. The Batch service runs the Job Release task on the compute nodes that have run the Job Preparation task.
	JobReleaseTask *JobReleaseTask `json:"jobReleaseTask,omitempty"`

	// A list of name-value pairs associated with each job created under this schedule as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The action the Batch service should take when all tasks in a job created under this schedule are in the completed state.
	//
	// Note that if a job contains no tasks, then all tasks are considered complete. This option is therefore most commonly used with a job manager task; if you want to use automatic job termination without a job manager, you should initially set onAllTasksComplete to noaction and update the job properties to set onAllTasksComplete to terminatejob once you have finished adding tasks. The default is noaction.
	OnAllTasksComplete string `json:"onAllTasksComplete,omitempty"`

	// The action the Batch service should take when any task fails in a job created under this schedule. A task is considered to have failed if it completes with a non-zero exit code and has exhausted its retry count, or if it had a scheduling error.
	//
	// The default is noaction.
	OnTaskFailure string `json:"onTaskFailure,omitempty"`

	// The pool on which the Batch service runs the tasks of jobs created under this schedule.
	// Required: true
	PoolInfo *PoolInformation `json:"poolInfo"`

	// The priority of jobs created under this schedule.
	//
	// Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0. This priority is used as the default for all jobs under the job schedule. You can update a job's priority after it has been created using by using the update job API.
	Priority int32 `json:"priority,omitempty"`

	// The flag that determines if this job will use tasks with dependencies.
	UsesTaskDependencies bool `json:"usesTaskDependencies,omitempty"`
}

JobSpecification Specifies details of the jobs to be created on a schedule. swagger:model JobSpecification

func (*JobSpecification) Validate

func (m *JobSpecification) Validate(formats strfmt.Registry) error

Validate validates this job specification

type JobStatistics

type JobStatistics struct {

	// The total kernel mode CPU time (summed across all cores and all compute nodes) consumed by all tasks in the job.
	// Required: true
	KernelCPUTime *strfmt.Duration `json:"kernelCPUTime"`

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// The total number of tasks in the job that failed during the given time range.
	//
	// A task fails if it exhausts its maximum retry count without returning exit code 0.
	// Required: true
	NumFailedTasks *int64 `json:"numFailedTasks"`

	// The total number of tasks successfully completed in the job during the given time range.
	//
	// A task completes successfully if it returns exit code 0.
	// Required: true
	NumSucceededTasks *int64 `json:"numSucceededTasks"`

	// The total number of retries on all the tasks in the job during the given time range.
	// Required: true
	NumTaskRetries *int64 `json:"numTaskRetries"`

	// The total amount of data in GiB read from disk by all tasks in the job.
	// Required: true
	ReadIOGiB *float64 `json:"readIOGiB"`

	// The total number of disk read operations made by all tasks in the job.
	// Required: true
	ReadIOps *int64 `json:"readIOps"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The URL of the statistics.
	// Required: true
	URL *string `json:"url"`

	// The total user mode CPU time (summed across all cores and all compute nodes) consumed by all tasks in the job.
	// Required: true
	UserCPUTime *strfmt.Duration `json:"userCPUTime"`

	// The total wait time of all tasks in the job.
	//
	// The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics.
	// Required: true
	WaitTime *strfmt.Duration `json:"waitTime"`

	// The total wall clock time of all tasks in the job.
	// Required: true
	WallClockTime *strfmt.Duration `json:"wallClockTime"`

	// The total amount of data in GiB written to disk by all tasks in the job.
	// Required: true
	WriteIOGiB *float64 `json:"writeIOGiB"`

	// The total number of disk write operations made by all tasks in the job.
	// Required: true
	WriteIOps *int64 `json:"writeIOps"`
}

JobStatistics Resource usage statistics for a job. swagger:model JobStatistics

func (*JobStatistics) Validate

func (m *JobStatistics) Validate(formats strfmt.Registry) error

Validate validates this job statistics

type JobTerminateParameter

type JobTerminateParameter struct {

	// The text you want to appear as the job's TerminateReason. The default is 'UserTerminate'.
	TerminateReason string `json:"terminateReason,omitempty"`
}

JobTerminateParameter Options when terminating a job. swagger:model JobTerminateParameter

func (*JobTerminateParameter) Validate

func (m *JobTerminateParameter) Validate(formats strfmt.Registry) error

Validate validates this job terminate parameter

type JobUpdateParameter

type JobUpdateParameter struct {

	// The execution constraints for the job.
	//
	// If omitted, the constraints are cleared.
	Constraints *JobConstraints `json:"constraints,omitempty"`

	// A list of name-value pairs associated with the job as metadata.
	//
	// If omitted, it takes the default value of an empty list; in effect, any existing metadata is deleted.
	Metadata []*MetadataItem `json:"metadata"`

	// Specifies an action the Batch service should take when all tasks in the job are in the completed state.
	//
	// If omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a job's completion behavior may not be changed from terminatejob to noaction.
	OnAllTasksComplete string `json:"onAllTasksComplete,omitempty"`

	// The pool on which the Batch service runs the job's tasks.
	//
	// You may change the pool for a job only when the job is disabled. The Update Job call will fail if you include the poolInfo element and the job is not disabled. If you specify an autoPoolSpecification specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job.
	// Required: true
	PoolInfo *PoolInformation `json:"poolInfo"`

	// The priority of the job.
	//
	// Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, it is set to the default value 0.
	Priority int32 `json:"priority,omitempty"`
}

JobUpdateParameter The set of changes to be made to a job. swagger:model JobUpdateParameter

func (*JobUpdateParameter) Validate

func (m *JobUpdateParameter) Validate(formats strfmt.Registry) error

Validate validates this job update parameter

type MetadataItem

type MetadataItem struct {

	// The name of the metadata item.
	// Required: true
	Name *string `json:"name"`

	// The value of the metadata item.
	// Required: true
	Value *string `json:"value"`
}

MetadataItem A name-value pair associated with a Batch service resource.

The Batch service does not assign any meaning to this metadata; it is solely for the use of user code. swagger:model MetadataItem

func (*MetadataItem) Validate

func (m *MetadataItem) Validate(formats strfmt.Registry) error

Validate validates this metadata item

type MultiInstanceSettings

type MultiInstanceSettings struct {

	// A list of files that the Batch service will download before running the coordination command line.
	//
	// The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary.
	CommonResourceFiles []*ResourceFile `json:"commonResourceFiles"`

	// The command line to run on all the compute nodes to enable them to coordinate when the primary runs the main task command.
	//
	// A typical coordination command line launches a background service and verifies that the service is ready to process inter-node messages.
	CoordinationCommandLine string `json:"coordinationCommandLine,omitempty"`

	// The number of compute nodes required by the task.
	// Required: true
	NumberOfInstances *int32 `json:"numberOfInstances"`
}

MultiInstanceSettings Settings which specify how to run a multi-instance task.

Multi-instance tasks are commonly used to support MPI tasks. swagger:model MultiInstanceSettings

func (*MultiInstanceSettings) Validate

func (m *MultiInstanceSettings) Validate(formats strfmt.Registry) error

Validate validates this multi instance settings

type NameValuePair

type NameValuePair struct {

	// The name in the name-value pair.
	Name string `json:"name,omitempty"`

	// The value in the name-value pair.
	Value string `json:"value,omitempty"`
}

NameValuePair Represents a name-value pair. swagger:model NameValuePair

func (*NameValuePair) Validate

func (m *NameValuePair) Validate(formats strfmt.Registry) error

Validate validates this name value pair

type NetworkConfiguration

type NetworkConfiguration struct {

	// The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.
	//
	// The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes, and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. This property can only be specified for pools created with a cloudServiceConfiguration.
	SubnetID string `json:"subnetId,omitempty"`
}

NetworkConfiguration The network configuration for a pool. swagger:model NetworkConfiguration

func (*NetworkConfiguration) Validate

func (m *NetworkConfiguration) Validate(formats strfmt.Registry) error

Validate validates this network configuration

type NodeAgentSku

type NodeAgentSku struct {

	// The ID of the node agent SKU.
	ID string `json:"id,omitempty"`

	// The type of operating system (e.g. Windows or Linux) compatible with the node agent SKU.
	OsType string `json:"osType,omitempty"`

	// The list of images verified to be compatible with this node agent SKU.
	//
	// This collection is not exhaustive (the node agent may be compatible with other images).
	VerifiedImageReferences []*ImageReference `json:"verifiedImageReferences"`
}

NodeAgentSku A node agent SKU supported by the Batch service.

The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. swagger:model NodeAgentSku

func (*NodeAgentSku) Validate

func (m *NodeAgentSku) Validate(formats strfmt.Registry) error

Validate validates this node agent sku

type NodeDisableSchedulingParameter

type NodeDisableSchedulingParameter struct {

	// What to do with currently running tasks when disabling task scheduling on the compute node.
	//
	// The default value is requeue.
	NodeDisableSchedulingOption string `json:"nodeDisableSchedulingOption,omitempty"`
}

NodeDisableSchedulingParameter Options for disabling scheduling on a compute node. swagger:model NodeDisableSchedulingParameter

func (*NodeDisableSchedulingParameter) Validate

func (m *NodeDisableSchedulingParameter) Validate(formats strfmt.Registry) error

Validate validates this node disable scheduling parameter

type NodeFile

type NodeFile struct {

	// Whether the object represents a directory.
	IsDirectory bool `json:"isDirectory,omitempty"`

	// The file path.
	Name string `json:"name,omitempty"`

	// The file properties.
	Properties *FileProperties `json:"properties,omitempty"`

	// The URL of the file.
	URL string `json:"url,omitempty"`
}

NodeFile Information about a file or directory on a compute node. swagger:model NodeFile

func (*NodeFile) Validate

func (m *NodeFile) Validate(formats strfmt.Registry) error

Validate validates this node file

type NodeFileListResult

type NodeFileListResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The list of files.
	Value []*NodeFile `json:"value"`
}

NodeFileListResult The result of listing the files on a compute node, or the files associated with a task on a node. swagger:model NodeFileListResult

func (*NodeFileListResult) Validate

func (m *NodeFileListResult) Validate(formats strfmt.Registry) error

Validate validates this node file list result

type NodeRebootParameter

type NodeRebootParameter struct {

	// When to reboot the compute node and what to do with currently running tasks.
	//
	// The default value is requeue.
	NodeRebootOption string `json:"nodeRebootOption,omitempty"`
}

NodeRebootParameter Options for rebooting a compute node. swagger:model NodeRebootParameter

func (*NodeRebootParameter) Validate

func (m *NodeRebootParameter) Validate(formats strfmt.Registry) error

Validate validates this node reboot parameter

type NodeReimageParameter

type NodeReimageParameter struct {

	// When to reimage the compute node and what to do with currently running tasks.
	//
	// The default value is requeue.
	NodeReimageOption string `json:"nodeReimageOption,omitempty"`
}

NodeReimageParameter Options for reimaging a compute node. swagger:model NodeReimageParameter

func (*NodeReimageParameter) Validate

func (m *NodeReimageParameter) Validate(formats strfmt.Registry) error

Validate validates this node reimage parameter

type NodeRemoveParameter

type NodeRemoveParameter struct {

	// When to remove compute nodes and what to do with currently running tasks.
	//
	// The default value is requeue.
	NodeDeallocationOption string `json:"nodeDeallocationOption,omitempty"`

	// A list containing the ids of the compute nodes to be removed from the specified pool.
	// Required: true
	// Max Items: 100
	NodeList []string `json:"nodeList"`

	// The timeout for removal of compute nodes to the pool.
	//
	// The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	ResizeTimeout strfmt.Duration `json:"resizeTimeout,omitempty"`
}

NodeRemoveParameter Options for removing compute nodes from a pool. swagger:model NodeRemoveParameter

func (*NodeRemoveParameter) Validate

func (m *NodeRemoveParameter) Validate(formats strfmt.Registry) error

Validate validates this node remove parameter

type NodeUpdateUserParameter

type NodeUpdateUserParameter struct {

	// The time at which the account should expire.
	//
	// If omitted, the default is 1 day from the current time. For Linux compute nodes, the expiryTime has a precision up to a day.
	ExpiryTime strfmt.DateTime `json:"expiryTime,omitempty"`

	// The password of the account.
	//
	// The password is required for Windows nodes (those created with 'cloudServiceConfiguration', or created with 'virtualMachineConfiguration' using a Windows image reference). For Linux compute nodes, the password can optionally be specified along with the sshPublicKey property. If omitted, any existing password is removed.
	Password string `json:"password,omitempty"`

	// The SSH public key that can be used for remote login to the compute node.
	//
	// The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If omitted, any existing SSH public key is removed.
	SSHPublicKey string `json:"sshPublicKey,omitempty"`
}

NodeUpdateUserParameter The set of changes to be made to a user account on a node. swagger:model NodeUpdateUserParameter

func (*NodeUpdateUserParameter) Validate

func (m *NodeUpdateUserParameter) Validate(formats strfmt.Registry) error

Validate validates this node update user parameter

type PoolAddParameter

type PoolAddParameter struct {

	// The list of application packages to be installed on each compute node in the pool.
	//
	// This property is currently not supported on pools created using the virtualMachineConfiguration (IaaS) property.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The time interval at which to automatically adjust the pool size according to the autoscale formula.
	//
	// The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	AutoScaleEvaluationInterval strfmt.Duration `json:"autoScaleEvaluationInterval,omitempty"`

	// A formula for the desired number of compute nodes in the pool.
	//
	// This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see 'Automatically scale compute nodes in an Azure Batch pool' (https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/).
	AutoScaleFormula string `json:"autoScaleFormula,omitempty"`

	// The list of certificates to be installed on each compute node in the pool.
	//
	// For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// The cloud service configuration for the pool.
	//
	// This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified.
	CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"`

	// The display name for the pool.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// Whether the pool size should automatically adjust over time.
	//
	// If true, the autoScaleFormula property must be set. If false, the targetDedicated property must be set. The default value is false.
	EnableAutoScale bool `json:"enableAutoScale,omitempty"`

	// Whether the pool permits direct communication between nodes.
	//
	// Enabling inter-node communication limits the maximum size of the pool due to deployment restrictions on the nodes of the pool. This may result in the pool not reaching its desired size. The default value is false.
	EnableInterNodeCommunication bool `json:"enableInterNodeCommunication,omitempty"`

	// A string that uniquely identifies the pool within the account.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two pool IDs within an account that differ only by case).
	// Required: true
	ID *string `json:"id"`

	// The maximum number of tasks that can run concurrently on a single compute node in the pool.
	//
	// The default value is 1. The maximum value of this setting depends on the size of the compute nodes in the pool (the vmSize setting).
	MaxTasksPerNode int32 `json:"maxTasksPerNode,omitempty"`

	// A list of name-value pairs associated with the pool as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The network configuration for the pool.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`

	// The timeout for allocation of compute nodes to the pool.
	//
	// This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	ResizeTimeout strfmt.Duration `json:"resizeTimeout,omitempty"`

	// A task specified to run on each compute node as it joins the pool.
	//
	// The task runs when the node is added to the pool or when the node is restarted.
	StartTask *StartTask `json:"startTask,omitempty"`

	// The desired number of compute nodes in the pool.
	//
	// This property must have the default value if enableAutoScale is true. It is required if enableAutoScale is false.
	TargetDedicated int32 `json:"targetDedicated,omitempty"`

	// How the Batch service distributes tasks between compute nodes in the pool.
	TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"`

	// The virtual machine configuration for the pool.
	//
	// This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
	VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"`

	// The size of virtual machines in the pool. All virtual machines in a pool are the same size.
	//
	// For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
	// Required: true
	VMSize *string `json:"vmSize"`
}

PoolAddParameter A pool in the Azure Batch service to add. swagger:model PoolAddParameter

func (*PoolAddParameter) Validate

func (m *PoolAddParameter) Validate(formats strfmt.Registry) error

Validate validates this pool add parameter

type PoolEnableAutoScaleParameter

type PoolEnableAutoScaleParameter struct {

	// The time interval at which to automatically adjust the pool size according to the autoscale formula.
	//
	// The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If you specify a new interval, then the existing autoscale evaluation schedule will be stopped and a new autoscale evaluation schedule will be started, with its starting time being the time when this request was issued.
	AutoScaleEvaluationInterval strfmt.Duration `json:"autoScaleEvaluationInterval,omitempty"`

	// The formula for the desired number of compute nodes in the pool.
	//
	// The formula is checked for validity before it is applied to the pool. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
	AutoScaleFormula string `json:"autoScaleFormula,omitempty"`
}

PoolEnableAutoScaleParameter Options for enabling automatic scaling on a pool. swagger:model PoolEnableAutoScaleParameter

func (*PoolEnableAutoScaleParameter) Validate

func (m *PoolEnableAutoScaleParameter) Validate(formats strfmt.Registry) error

Validate validates this pool enable auto scale parameter

type PoolEvaluateAutoScaleParameter

type PoolEvaluateAutoScaleParameter struct {

	// The formula for the desired number of compute nodes in the pool.
	//
	// The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).
	// Required: true
	AutoScaleFormula *string `json:"autoScaleFormula"`
}

PoolEvaluateAutoScaleParameter Options for evaluating an automatic scaling formula on a pool. swagger:model PoolEvaluateAutoScaleParameter

func (*PoolEvaluateAutoScaleParameter) Validate

func (m *PoolEvaluateAutoScaleParameter) Validate(formats strfmt.Registry) error

Validate validates this pool evaluate auto scale parameter

type PoolInformation

type PoolInformation struct {

	// Characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted.
	//
	// If auto pool creation fails, the Batch service moves the job to a completed state, and the pool creation error is set in the job's scheduling error property. The Batch service manages the lifetime (both creation and, unless keepAlive is specified, deletion) of the auto pool. Any user actions that affect the lifetime of the auto pool while the job is active will result in unexpected behavior. You must specify either the pool ID or the auto pool specification, but not both.
	AutoPoolSpecification *AutoPoolSpecification `json:"autoPoolSpecification,omitempty"`

	// The ID of an existing pool. All the tasks of the job will run on the specified pool.
	//
	// You must ensure that the pool referenced by this property exists. If the pool does not exist at the time the Batch service tries to schedule a job, no tasks for the job will run until you create a pool with that id. Note that the Batch service will not reject the job request; it will simply not run tasks until the pool exists. You must specify either the pool ID or the auto pool specification, but not both.
	PoolID string `json:"poolId,omitempty"`
}

PoolInformation Specifies how a job should be assigned to a pool. swagger:model PoolInformation

func (*PoolInformation) Validate

func (m *PoolInformation) Validate(formats strfmt.Registry) error

Validate validates this pool information

type PoolListPoolUsageMetricsResult

type PoolListPoolUsageMetricsResult struct {

	// The URL to get the next set of results.
	OdataNextLink string `json:"odata.nextLink,omitempty"`

	// The pool usage metrics data.
	Value []*PoolUsageMetrics `json:"value"`
}

PoolListPoolUsageMetricsResult The result of a listing the usage metrics for an account. swagger:model PoolListPoolUsageMetricsResult

func (*PoolListPoolUsageMetricsResult) Validate

func (m *PoolListPoolUsageMetricsResult) Validate(formats strfmt.Registry) error

Validate validates this pool list pool usage metrics result

type PoolPatchParameter

type PoolPatchParameter struct {

	// A list of application packages to be installed on each compute node in the pool.
	//
	// Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. If this element is present, it replaces any existing application package references. If you specify an empty collection, then all application package references are removed from the pool. If omitted, any existing application package references are left unchanged.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// A list of certificates to be installed on each compute node in the pool.
	//
	// If omitted, any existing certificate references are left unchanged. For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// A list of name-value pairs associated with the pool as metadata.
	//
	// If this element is present, it replaces any existing metadata configured on the pool. If you specify an empty collection, any metadata is removed from the pool. If omitted, any existing metadata is left unchanged.
	Metadata []*MetadataItem `json:"metadata"`

	// A task to run on each compute node as it joins the pool. The task runs when the node is added to the pool or when the node is restarted.
	//
	// If omitted, any existing start task is left unchanged.
	StartTask *StartTask `json:"startTask,omitempty"`
}

PoolPatchParameter The set of changes to be made to a pool. swagger:model PoolPatchParameter

func (*PoolPatchParameter) Validate

func (m *PoolPatchParameter) Validate(formats strfmt.Registry) error

Validate validates this pool patch parameter

type PoolResizeParameter

type PoolResizeParameter struct {

	// When nodes may be removed from the pool, if the pool size is decreasing.
	//
	// The default value is requeue.
	NodeDeallocationOption string `json:"nodeDeallocationOption,omitempty"`

	// The timeout for allocation of compute nodes to the pool or removal of compute nodes from the pool.
	//
	// The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	ResizeTimeout strfmt.Duration `json:"resizeTimeout,omitempty"`

	// The desired number of compute nodes in the pool.
	// Required: true
	TargetDedicated *int32 `json:"targetDedicated"`
}

PoolResizeParameter Options for changing the size of a pool. swagger:model PoolResizeParameter

func (*PoolResizeParameter) Validate

func (m *PoolResizeParameter) Validate(formats strfmt.Registry) error

Validate validates this pool resize parameter

type PoolSpecification

type PoolSpecification struct {

	// The list of application packages to be installed on each compute node in the pool.
	//
	// This property is currently not supported on auto pools created with the virtualMachineConfiguration (IaaS) property.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The time interval at which to automatically adjust the pool size according to the autoscale formula.
	//
	// The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	AutoScaleEvaluationInterval strfmt.Duration `json:"autoScaleEvaluationInterval,omitempty"`

	// The formula for the desired number of compute nodes in the pool.
	//
	// This property must not be specified if enableAutoScale is set to false. It is required if enableAutoScale is set to true. The formula is checked for validity before the pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information.
	AutoScaleFormula string `json:"autoScaleFormula,omitempty"`

	// A list of certificates to be installed on each compute node in the pool.
	//
	// For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// The cloud service configuration for the pool.
	//
	// This property must be specified if the pool needs to be created with Azure PaaS VMs. This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"`

	// The display name for the pool.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// Whether the pool size should automatically adjust over time.
	//
	// If false, the targetDedicated element is required. If true, the autoScaleFormula element is required. The pool automatically resizes according to the formula. The default value is false.
	EnableAutoScale bool `json:"enableAutoScale,omitempty"`

	// Whether the pool permits direct communication between nodes.
	//
	// Enabling inter-node communication limits the maximum size of the pool due to deployment restrictions on the nodes of the pool. This may result in the pool not reaching its desired size. The default value is false.
	EnableInterNodeCommunication bool `json:"enableInterNodeCommunication,omitempty"`

	// The maximum number of tasks that can run concurrently on a single compute node in the pool.
	//
	// The default value is 1. The maximum value of this setting depends on the size of the compute nodes in the pool (the vmSize setting).
	MaxTasksPerNode int32 `json:"maxTasksPerNode,omitempty"`

	// A list of name-value pairs associated with the pool as metadata.
	//
	// The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
	Metadata []*MetadataItem `json:"metadata"`

	// The network configuration for the pool.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`

	// The timeout for allocation of compute nodes to the pool.
	//
	// This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	ResizeTimeout strfmt.Duration `json:"resizeTimeout,omitempty"`

	// A task to run on each compute node as it joins the pool. The task runs when the node is added to the pool or when the node is restarted.
	StartTask *StartTask `json:"startTask,omitempty"`

	// The desired number of compute nodes in the pool.
	//
	// This property must not be specified if enableAutoScale is set to true. It is required if enableAutoScale is set to false.
	TargetDedicated int32 `json:"targetDedicated,omitempty"`

	// How tasks are distributed among compute nodes in the pool.
	TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"`

	// The virtual machine configuration for the pool.
	//
	// This property must be specified if the pool needs to be created with Azure IaaS VMs. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified. If neither is specified then the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"`

	// The size of the virtual machines in the pool. All virtual machines in a pool are the same size.
	//
	// For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
	// Required: true
	VMSize *string `json:"vmSize"`
}

PoolSpecification Specification for creating a new pool. swagger:model PoolSpecification

func (*PoolSpecification) Validate

func (m *PoolSpecification) Validate(formats strfmt.Registry) error

Validate validates this pool specification

type PoolStatistics

type PoolStatistics struct {

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// Statistics related to resource consumption by compute nodes in the pool.
	ResourceStats *ResourceStatistics `json:"resourceStats,omitempty"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The URL for the statistics.
	// Required: true
	URL *string `json:"url"`

	// Statistics related to pool usage, such as the amount of core-time used.
	UsageStats *UsageStatistics `json:"usageStats,omitempty"`
}

PoolStatistics Contains utilization and resource usage statistics for the lifetime of a pool. swagger:model PoolStatistics

func (*PoolStatistics) Validate

func (m *PoolStatistics) Validate(formats strfmt.Registry) error

Validate validates this pool statistics

type PoolUpdatePropertiesParameter

type PoolUpdatePropertiesParameter struct {

	// A list of application packages to be installed on each compute node in the pool.
	//
	// Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. The list replaces any existing application package references. If omitted, or if you specify an empty collection, any existing application packages references are removed from the pool.
	// Required: true
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// A list of certificates to be installed on each compute node in the pool.
	//
	// If you specify an empty collection, any existing certificate references are removed from the pool. For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home/<user-name>/certs) where certificates are placed.
	// Required: true
	CertificateReferences []*CertificateReference `json:"certificateReferences"`

	// A list of name-value pairs associated with the pool as metadata.
	//
	// This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool.
	// Required: true
	Metadata []*MetadataItem `json:"metadata"`

	// A task to run on each compute node as it joins the pool. The task runs when the node is added to the pool or when the node is restarted.
	//
	// If this element is present, it overwrites any existing start task. If omitted, any existing start task is removed from the pool.
	StartTask *StartTask `json:"startTask,omitempty"`
}

PoolUpdatePropertiesParameter The set of changes to be made to a pool. swagger:model PoolUpdatePropertiesParameter

func (*PoolUpdatePropertiesParameter) Validate

func (m *PoolUpdatePropertiesParameter) Validate(formats strfmt.Registry) error

Validate validates this pool update properties parameter

type PoolUpgradeOSParameter

type PoolUpgradeOSParameter struct {

	// The Azure Guest OS version to be installed on the virtual machines in the pool.
	// Required: true
	TargetOSVersion *string `json:"targetOSVersion"`
}

PoolUpgradeOSParameter Options for upgrading the operating system of compute nodes in a pool. swagger:model PoolUpgradeOSParameter

func (*PoolUpgradeOSParameter) Validate

func (m *PoolUpgradeOSParameter) Validate(formats strfmt.Registry) error

Validate validates this pool upgrade o s parameter

type PoolUsageMetrics

type PoolUsageMetrics struct {

	// The cross data center network egress from the pool during this interval, in GiB.
	// Required: true
	DataEgressGiB *float64 `json:"dataEgressGiB"`

	// The cross data center network ingress to the pool during this interval, in GiB.
	// Required: true
	DataIngressGiB *float64 `json:"dataIngressGiB"`

	// The end time of the aggregation interval covered by this entry.
	// Required: true
	EndTime *strfmt.DateTime `json:"endTime"`

	// The ID of the pool whose metrics are aggregated in this entry.
	// Required: true
	PoolID *string `json:"poolId"`

	// The start time of the aggregation interval covered by this entry.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The total core hours used in the pool during this aggregation interval.
	// Required: true
	TotalCoreHours *float64 `json:"totalCoreHours"`

	// The size of virtual machines in the pool. All VMs in a pool are the same size.
	//
	// For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
	// Required: true
	VMSize *string `json:"vmSize"`
}

PoolUsageMetrics Usage metrics for a pool across an aggregation interval. swagger:model PoolUsageMetrics

func (*PoolUsageMetrics) Validate

func (m *PoolUsageMetrics) Validate(formats strfmt.Registry) error

Validate validates this pool usage metrics

type RecentJob

type RecentJob struct {

	// The ID of the job.
	ID string `json:"id,omitempty"`

	// The URL of the job.
	URL string `json:"url,omitempty"`
}

RecentJob Information about the most recent job to run under the job schedule. swagger:model RecentJob

func (*RecentJob) Validate

func (m *RecentJob) Validate(formats strfmt.Registry) error

Validate validates this recent job

type ResizeError

type ResizeError struct {

	// An identifier for the pool resize error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// A message describing the pool resize error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`

	// A list of additional error details related to the pool resize error.
	Values []*NameValuePair `json:"values"`
}

ResizeError An error that occurred when resizing a pool. swagger:model ResizeError

func (*ResizeError) Validate

func (m *ResizeError) Validate(formats strfmt.Registry) error

Validate validates this resize error

type ResourceFile

type ResourceFile struct {

	// The URL of the file within Azure Blob Storage.
	//
	// This URL must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
	// Required: true
	BlobSource *string `json:"blobSource"`

	// The file permission mode attribute in octal format.
	//
	// This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
	FileMode string `json:"fileMode,omitempty"`

	// The location on the compute node to which to download the file, relative to the task's working directory.
	// Required: true
	FilePath *string `json:"filePath"`
}

ResourceFile A file to be downloaded from Azure blob storage to a compute node. swagger:model ResourceFile

func (*ResourceFile) Validate

func (m *ResourceFile) Validate(formats strfmt.Registry) error

Validate validates this resource file

type ResourceStatistics

type ResourceStatistics struct {

	// The average CPU usage across all nodes in the pool (percentage per node).
	// Required: true
	AvgCPUPercentage *float64 `json:"avgCPUPercentage"`

	// The average used disk space in GiB across all nodes in the pool.
	// Required: true
	AvgDiskGiB *float64 `json:"avgDiskGiB"`

	// The average memory usage in GiB across all nodes in the pool.
	// Required: true
	AvgMemoryGiB *float64 `json:"avgMemoryGiB"`

	// The total amount of data in GiB of disk reads across all nodes in the pool.
	// Required: true
	DiskReadGiB *float64 `json:"diskReadGiB"`

	// The total number of disk read operations across all nodes in the pool.
	// Required: true
	DiskReadIOps *int64 `json:"diskReadIOps"`

	// The total amount of data in GiB of disk writes across all nodes in the pool.
	// Required: true
	DiskWriteGiB *float64 `json:"diskWriteGiB"`

	// The total number of disk write operations across all nodes in the pool.
	// Required: true
	DiskWriteIOps *int64 `json:"diskWriteIOps"`

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// The total amount of data in GiB of network reads across all nodes in the pool.
	// Required: true
	NetworkReadGiB *float64 `json:"networkReadGiB"`

	// The total amount of data in GiB of network writes across all nodes in the pool.
	// Required: true
	NetworkWriteGiB *float64 `json:"networkWriteGiB"`

	// The peak used disk space in GiB across all nodes in the pool.
	// Required: true
	PeakDiskGiB *float64 `json:"peakDiskGiB"`

	// The peak memory usage in GiB across all nodes in the pool.
	// Required: true
	PeakMemoryGiB *float64 `json:"peakMemoryGiB"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`
}

ResourceStatistics Statistics related to resource consumption by compute nodes in a pool. swagger:model ResourceStatistics

func (*ResourceStatistics) Validate

func (m *ResourceStatistics) Validate(formats strfmt.Registry) error

Validate validates this resource statistics

type Schedule

type Schedule struct {

	// A time after which no job will be created under this job schedule. The schedule will move to the completed state as soon as this deadline is past and there is no active job under this job schedule.
	//
	// If you do not specify a doNotRunAfter time, and you are creating a recurring job schedule, the job schedule will remain active until you explicitly terminate it.
	DoNotRunAfter strfmt.DateTime `json:"doNotRunAfter,omitempty"`

	// The earliest time at which any job may be created under this job schedule.
	//
	// If you do not specify a doNotRunUntil time, the schedule becomes ready to create jobs immediately.
	DoNotRunUntil strfmt.DateTime `json:"doNotRunUntil,omitempty"`

	// The time interval between the start times of two successive jobs under the job schedule. A job schedule can have at most one active job under it at any given time.
	//
	// Because a job schedule can have at most one active job under it at any given time, if it is time to create a new job under a job schedule, but the previous job is still running, the Batch service will not create the new job until the previous job finishes. If the previous job does not finish within the startWindow period of the new recurrenceInterval, then no new job will be scheduled for that interval. For recurring jobs, you should normally specify a jobManagerTask in the jobSpecification. If you do not use jobManagerTask, you will need an external process to monitor when jobs are created, add tasks to the jobs and terminate the jobs ready for the next recurrence. The default is that the schedule does not recur: one job is created, within the startWindow after the doNotRunUntil time, and the schedule is complete as soon as that job finishes. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	RecurrenceInterval strfmt.Duration `json:"recurrenceInterval,omitempty"`

	// The time interval, starting from the time at which the schedule indicates a job should be created, within which a job must be created.
	//
	// If a job is not created within the startWindow interval, then the 'opportunity' is lost; no job will be created until the next recurrence of the schedule. If the schedule is recurring, and the startWindow is longer than the recurrence interval, then this is equivalent to an infinite startWindow, because the job that is 'due' in one recurrenceInterval is not carried forward into the next recurrence interval. The default is infinite. The minimum value is 1 minute. If you specify a lower value, the Batch service rejects the schedule with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
	StartWindow strfmt.Duration `json:"startWindow,omitempty"`
}

Schedule The schedule according to which jobs will be created swagger:model Schedule

func (*Schedule) Validate

func (m *Schedule) Validate(formats strfmt.Registry) error

Validate validates this schedule

type StartTask

type StartTask struct {

	// The command line of the start task.
	//
	// The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	// Required: true
	CommandLine *string `json:"commandLine"`

	// A list of environment variable settings for the start task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// The maximum number of times the task may be retried.
	//
	// The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit.
	MaxTaskRetryCount int32 `json:"maxTaskRetryCount,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// Whether to run the start task in elevated mode. The default value is false.
	RunElevated bool `json:"runElevated,omitempty"`

	// Whether the Batch service should wait for the start task to complete successfully (that is, to exit with exit code 0) before scheduling any tasks on the compute node.
	//
	// If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false.
	WaitForSuccess bool `json:"waitForSuccess,omitempty"`
}

StartTask A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged. swagger:model StartTask

func (*StartTask) Validate

func (m *StartTask) Validate(formats strfmt.Registry) error

Validate validates this start task

type StartTaskInformation

type StartTaskInformation struct {

	// The time at which the start task stopped running.
	//
	// This is the end time of the most recent run of the start task, if that run has completed (even if that run failed and a retry is pending). This element is not present if the start task is currently running.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The exit code of the program specified on the start task command line.
	//
	// This property is set only if the start task is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the start task (due to timeout, or user termination via the API) you may see an operating system-defined exit code.
	ExitCode int32 `json:"exitCode,omitempty"`

	// The most recent time at which a retry of the task started running.
	//
	// This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not.
	LastRetryTime strfmt.DateTime `json:"lastRetryTime,omitempty"`

	// The number of times the task has been retried by the Batch service.
	//
	// The task is retried if it exits with a nonzero exit code, up to the specified MaxTaskRetryCount.
	// Required: true
	RetryCount *int32 `json:"retryCount"`

	// Any error encountered scheduling the start task.
	SchedulingError *TaskSchedulingError `json:"schedulingError,omitempty"`

	// The time at which the start task started running.
	//
	// This value is reset every time the task is restarted or retried (that is, this is the most recent time at which the start task started running).
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The state of the start task on the compute node.
	//
	// Possible values are: running – The start task is currently running. completed – The start task has exited with exit code 0, or the start task has failed and the retry limit has reached, or the start task process did not run due to scheduling errors.
	// Required: true
	State *string `json:"state"`
}

StartTaskInformation Information about a start task running on a compute node. swagger:model StartTaskInformation

func (*StartTaskInformation) Validate

func (m *StartTaskInformation) Validate(formats strfmt.Registry) error

Validate validates this start task information

type SubtaskInformation

type SubtaskInformation struct {

	// The time at which the subtask completed.
	//
	// This property is set only if the subtask is in the Completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The exit code of the program specified on the subtask command line.
	//
	// This property is set only if the subtask is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the subtask (due to timeout, or user termination via the API) you may see an operating system-defined exit code.
	ExitCode int32 `json:"exitCode,omitempty"`

	// The ID of the subtask.
	ID int32 `json:"id,omitempty"`

	// Information about the compute node on which the subtask ran.
	NodeInfo *ComputeNodeInformation `json:"nodeInfo,omitempty"`

	// The previous state of the subtask.
	//
	// This property is not set if the subtask is in its initial running state.
	PreviousState string `json:"previousState,omitempty"`

	// The time at which the subtask entered its previous state.
	//
	// This property is not set if the subtask is in its initial running state.
	PreviousStateTransitionTime strfmt.DateTime `json:"previousStateTransitionTime,omitempty"`

	// Details of any error encountered scheduling the subtask.
	SchedulingError *TaskSchedulingError `json:"schedulingError,omitempty"`

	// The time at which the subtask started running. If the subtask has been restarted or retried, this is the most recent time at which the subtask started running.
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// The current state of the subtask.
	State string `json:"state,omitempty"`

	// The time at which the subtask entered its current state.
	StateTransitionTime strfmt.DateTime `json:"stateTransitionTime,omitempty"`
}

SubtaskInformation Information about an Azure Batch subtask. swagger:model SubtaskInformation

func (*SubtaskInformation) Validate

func (m *SubtaskInformation) Validate(formats strfmt.Registry) error

Validate validates this subtask information

type TaskAddCollectionParameter

type TaskAddCollectionParameter struct {

	// The collection of tasks to add.
	// Required: true
	// Max Items: 100
	Value []*TaskAddParameter `json:"value"`
}

TaskAddCollectionParameter A collection of Azure Batch tasks to add. swagger:model TaskAddCollectionParameter

func (*TaskAddCollectionParameter) Validate

func (m *TaskAddCollectionParameter) Validate(formats strfmt.Registry) error

Validate validates this task add collection parameter

type TaskAddCollectionResult

type TaskAddCollectionResult struct {

	// The results of the add task collection operation.
	Value []*TaskAddResult `json:"value"`
}

TaskAddCollectionResult The result of adding a collection of tasks to a job. swagger:model TaskAddCollectionResult

func (*TaskAddCollectionResult) Validate

func (m *TaskAddCollectionResult) Validate(formats strfmt.Registry) error

Validate validates this task add collection result

type TaskAddParameter

type TaskAddParameter struct {

	// A locality hint that can be used by the Batch service to select a compute node on which to start the new task.
	AffinityInfo *AffinityInformation `json:"affinityInfo,omitempty"`

	// A list of application packages that the Batch service will deploy to the compute node before running the command line.
	ApplicationPackageReferences []*ApplicationPackageReference `json:"applicationPackageReferences"`

	// The command line of the task.
	//
	// For multi-instance tasks, the command line is executed as the primary task, after the primary task and all subtasks have finished executing the coordination command line. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux.
	// Required: true
	CommandLine *string `json:"commandLine"`

	// The execution constraints that apply to this task.
	//
	// If you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the job, and the maxWallClockTime and retentionTime are infinite.
	Constraints *TaskConstraints `json:"constraints,omitempty"`

	// The tasks that this task depends on.
	//
	// The task will not be scheduled until all depended-on tasks have completed successfully. (If any depended-on tasks fail and exhaust their retry counts, the task will never be scheduled.) If the job does not have usesTaskDependencies set to true, and this element is present, the request fails with error code TaskDependenciesNotSpecifiedOnJob.
	DependsOn *TaskDependencies `json:"dependsOn,omitempty"`

	// A display name for the task.
	//
	// The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
	DisplayName string `json:"displayName,omitempty"`

	// A list of environment variable settings for the task.
	EnvironmentSettings []*EnvironmentSetting `json:"environmentSettings"`

	// How the Batch service should respond when the task completes.
	ExitConditions *ExitConditions `json:"exitConditions,omitempty"`

	// A string that uniquely identifies the task within the job.
	//
	// The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within a job that differ only by case).
	// Required: true
	ID *string `json:"id"`

	// An object that indicates that the task is a multi-instance task, and contains information about how to run the multi-instance task.
	MultiInstanceSettings *MultiInstanceSettings `json:"multiInstanceSettings,omitempty"`

	// A list of files that the Batch service will download to the compute node before running the command line.
	//
	// For multi-instance tasks, the resource files will only be downloaded to the compute node on which the primary task is executed.
	ResourceFiles []*ResourceFile `json:"resourceFiles"`

	// Whether to run the task in elevated mode.
	//
	// The default value is false.
	RunElevated bool `json:"runElevated,omitempty"`
}

TaskAddParameter An Azure Batch task to add. swagger:model TaskAddParameter

func (*TaskAddParameter) Validate

func (m *TaskAddParameter) Validate(formats strfmt.Registry) error

Validate validates this task add parameter

type TaskAddResult

type TaskAddResult struct {

	// The ETag of the task, if the task was successfully added.
	ETag string `json:"eTag,omitempty"`

	// The error encountered while attempting to add the task.
	Error *BatchError `json:"error,omitempty"`

	// The last modified time of the task.
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// The URL of the task, if the task was successfully added.
	Location string `json:"location,omitempty"`

	// The status of the add task request.
	// Required: true
	Status *string `json:"status"`

	// The ID of the task for which this is the result.
	// Required: true
	TaskID *string `json:"taskId"`
}

TaskAddResult Result for a single task added as part of an add task collection operation. swagger:model TaskAddResult

func (*TaskAddResult) Validate

func (m *TaskAddResult) Validate(formats strfmt.Registry) error

Validate validates this task add result

type TaskConstraints

type TaskConstraints struct {

	// The maximum number of times the task may be retried. The Batch service retries a task if its exit code is nonzero.
	//
	// Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit.
	MaxTaskRetryCount int32 `json:"maxTaskRetryCount,omitempty"`

	// The maximum elapsed time that the task may run, measured from the time the task starts. If the task does not complete within the time limit, the Batch service terminates it.
	//
	// If this is not specified, there is no time limit on how long the task may run.
	MaxWallClockTime strfmt.Duration `json:"maxWallClockTime,omitempty"`

	// The minimum time to retain the task directory on the compute node where it ran, from the time it completes execution. After this time, the Batch service may delete the task directory and all its contents.
	//
	// The default is infinite, i.e. the task directory will be retained until the compute node is removed or reimaged.
	RetentionTime strfmt.Duration `json:"retentionTime,omitempty"`
}

TaskConstraints Execution constraints to apply to a task. swagger:model TaskConstraints

func (*TaskConstraints) Validate

func (m *TaskConstraints) Validate(formats strfmt.Registry) error

Validate validates this task constraints

type TaskDependencies

type TaskDependencies struct {

	// The list of task ID ranges that this task depends on. All tasks in all ranges must complete successfully before the dependent task can be scheduled.
	TaskIDRanges []*TaskIDRange `json:"taskIdRanges"`

	// The list of task IDs that this task depends on. All tasks in this list must complete successfully before the dependent task can be scheduled.
	TaskIds []string `json:"taskIds"`
}

TaskDependencies Specifies any dependencies of a task. Any task that is explicitly specified or within a dependency range must complete before the dependant task will be scheduled. swagger:model TaskDependencies

func (*TaskDependencies) Validate

func (m *TaskDependencies) Validate(formats strfmt.Registry) error

Validate validates this task dependencies

type TaskExecutionInformation

type TaskExecutionInformation struct {

	// The time at which the task completed.
	//
	// This property is set only if the task is in the Completed state.
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// The exit code of the program specified on the task command line.
	//
	// This property is set only if the task is in the completed state. In general, the exit code for a process reflects the specific convention implemented by the application developer for that process. If you use the exit code value to make decisions in your code, be sure that you know the exit code convention used by the application process. However, if the Batch service terminates the task (due to timeout, or user termination via the API) you may see an operating system-defined exit code.
	ExitCode int32 `json:"exitCode,omitempty"`

	// The most recent time at which the task has been requeued by the Batch service as the result of a user request.
	//
	// This property is set only if the requeueCount is nonzero.
	LastRequeueTime strfmt.DateTime `json:"lastRequeueTime,omitempty"`

	// The most recent time at which a retry of the task started running.
	//
	// This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not.
	LastRetryTime strfmt.DateTime `json:"lastRetryTime,omitempty"`

	// The number of times the task has been requeued by the Batch service as the result of a user request.
	//
	// When the user removes nodes from a pool (by resizing/shrinking the pool) or when the job is being disabled, the user can specify that running tasks on the nodes be requeued for execution. This count tracks how many times the task has been requeued for these reasons.
	// Required: true
	RequeueCount *int32 `json:"requeueCount"`

	// The number of times the task has been retried by the Batch service.
	//
	// The task is retried if it exits with a nonzero exit code, up to the specified maxTaskRetryCount.
	// Required: true
	RetryCount *int32 `json:"retryCount"`

	// Details of any error encountered scheduling the task.
	//
	// This property is set only if the task is in the completed state.
	SchedulingError *TaskSchedulingError `json:"schedulingError,omitempty"`

	// The time at which the task started running.
	//
	// 'Running' corresponds to the running state, so if the task specifies resource files or application packages, then the start time reflects the time at which the task started downloading or deploying these. If the task has been restarted or retried, this is the most recent time at which the task started running. This property is present only for tasks that are in the running or completed state.
	StartTime strfmt.DateTime `json:"startTime,omitempty"`
}

TaskExecutionInformation Information about the execution of a task. swagger:model TaskExecutionInformation

func (*TaskExecutionInformation) Validate

func (m *TaskExecutionInformation) Validate(formats strfmt.Registry) error

Validate validates this task execution information

type TaskIDRange

type TaskIDRange struct {

	// The last task ID in the range.
	// Required: true
	End *int32 `json:"end"`

	// The first task ID in the range.
	// Required: true
	Start *int32 `json:"start"`
}

TaskIDRange A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.

The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'. swagger:model TaskIdRange

func (*TaskIDRange) Validate

func (m *TaskIDRange) Validate(formats strfmt.Registry) error

Validate validates this task Id range

type TaskInformation

type TaskInformation struct {

	// Information about the execution of the task.
	ExecutionInfo *TaskExecutionInformation `json:"executionInfo,omitempty"`

	// The ID of the job to which the task belongs.
	JobID string `json:"jobId,omitempty"`

	// The ID of the subtask if the task is a multi-instance task.
	SubtaskID int32 `json:"subtaskId,omitempty"`

	// The ID of the task.
	TaskID string `json:"taskId,omitempty"`

	// The current state of the task.
	// Required: true
	TaskState *string `json:"taskState"`

	// The URL of the task.
	TaskURL string `json:"taskUrl,omitempty"`
}

TaskInformation Information about a task running on a compute node. swagger:model TaskInformation

func (*TaskInformation) Validate

func (m *TaskInformation) Validate(formats strfmt.Registry) error

Validate validates this task information

type TaskSchedulingError

type TaskSchedulingError struct {

	// The category of the task scheduling error.
	// Required: true
	Category *string `json:"category"`

	// An identifier for the task scheduling error. Codes are invariant and are intended to be consumed programmatically.
	Code string `json:"code,omitempty"`

	// The list of additional error details related to the scheduling error.
	Details []*NameValuePair `json:"details"`

	// A message describing the task scheduling error, intended to be suitable for display in a user interface.
	Message string `json:"message,omitempty"`
}

TaskSchedulingError Information about an error when scheduling a task. swagger:model TaskSchedulingError

func (*TaskSchedulingError) Validate

func (m *TaskSchedulingError) Validate(formats strfmt.Registry) error

Validate validates this task scheduling error

type TaskSchedulingPolicy

type TaskSchedulingPolicy struct {

	// How tasks should be distributed across compute nodes
	// Required: true
	NodeFillType *string `json:"nodeFillType"`
}

TaskSchedulingPolicy Specifies how tasks should be distributed across compute nodes. swagger:model TaskSchedulingPolicy

func (*TaskSchedulingPolicy) Validate

func (m *TaskSchedulingPolicy) Validate(formats strfmt.Registry) error

Validate validates this task scheduling policy

type TaskStatistics

type TaskStatistics struct {

	// The total kernel mode CPU time (summed across all cores and all compute nodes) consumed by the task.
	// Required: true
	KernelCPUTime *strfmt.Duration `json:"kernelCPUTime"`

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// The total gibibytes read from disk by the task.
	// Required: true
	ReadIOGiB *float64 `json:"readIOGiB"`

	// The total number of disk read operations made by the task.
	// Required: true
	ReadIOps *int64 `json:"readIOps"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`

	// The URL of the statistics.
	// Required: true
	URL *string `json:"url"`

	// The total user mode CPU time (summed across all cores and all compute nodes) consumed by the task.
	// Required: true
	UserCPUTime *strfmt.Duration `json:"userCPUTime"`

	// The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)
	// Required: true
	WaitTime *strfmt.Duration `json:"waitTime"`

	// The total wall clock time of the task.
	//
	// The wall clock time is the elapsed time from when the task started running on a compute node to when it finished (or to the last time the statistics were updated, if the task had not finished by then). If the task was retried, this includes the wall clock time of all the task retries.
	// Required: true
	WallClockTime *strfmt.Duration `json:"wallClockTime"`

	// The total gibibytes written to disk by the task.
	// Required: true
	WriteIOGiB *float64 `json:"writeIOGiB"`

	// The total number of disk write operations made by the task.
	// Required: true
	WriteIOps *int64 `json:"writeIOps"`
}

TaskStatistics Resource usage statistics for a task. swagger:model TaskStatistics

func (*TaskStatistics) Validate

func (m *TaskStatistics) Validate(formats strfmt.Registry) error

Validate validates this task statistics

type TaskUpdateParameter

type TaskUpdateParameter struct {

	// Constraints that apply to this task.
	//
	// If omitted, the task is given the default constraints.
	Constraints *TaskConstraints `json:"constraints,omitempty"`
}

TaskUpdateParameter The set of changes to be made to a task. swagger:model TaskUpdateParameter

func (*TaskUpdateParameter) Validate

func (m *TaskUpdateParameter) Validate(formats strfmt.Registry) error

Validate validates this task update parameter

type UsageStatistics

type UsageStatistics struct {

	// The aggregated wall-clock time of the dedicated compute node cores being part of the pool.
	// Required: true
	DedicatedCoreTime *strfmt.Duration `json:"dedicatedCoreTime"`

	// The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
	// Required: true
	LastUpdateTime *strfmt.DateTime `json:"lastUpdateTime"`

	// The start time of the time range covered by the statistics.
	// Required: true
	StartTime *strfmt.DateTime `json:"startTime"`
}

UsageStatistics Statistics related to pool usage information. swagger:model UsageStatistics

func (*UsageStatistics) Validate

func (m *UsageStatistics) Validate(formats strfmt.Registry) error

Validate validates this usage statistics

type VirtualMachineConfiguration

type VirtualMachineConfiguration struct {

	// A reference to the Azure Virtual Machines Marketplace image to use.
	// Required: true
	ImageReference *ImageReference `json:"imageReference"`

	// The SKU of the Batch node agent to be provisioned on compute nodes in the pool.
	//
	// The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
	// Required: true
	NodeAgentSKUID *string `json:"nodeAgentSKUId"`

	// Windows operating system settings on the virtual machine.
	//
	// This property must not be specified if the imageReference property specifies a Linux OS image.
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

VirtualMachineConfiguration The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure. swagger:model VirtualMachineConfiguration

func (*VirtualMachineConfiguration) Validate

func (m *VirtualMachineConfiguration) Validate(formats strfmt.Registry) error

Validate validates this virtual machine configuration

type WindowsConfiguration

type WindowsConfiguration struct {

	// Whether automatic updates are enabled on the virtual machine.
	//
	// If omitted, the default value is true.
	EnableAutomaticUpdates bool `json:"enableAutomaticUpdates,omitempty"`
}

WindowsConfiguration Windows operating system settings to apply to the virtual machine. swagger:model WindowsConfiguration

func (*WindowsConfiguration) Validate

func (m *WindowsConfiguration) Validate(formats strfmt.Registry) error

Validate validates this windows configuration

Source Files

Jump to

Keyboard shortcuts

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