Documentation

Overview

    Package batch implements the Azure ARM Batch service API version 2018-03-01.6.1.

    A client for issuing REST requests to the Azure Batch service.

    Index

    Constants

    View Source
    const (
    	// DefaultBaseURI is the default URI used for the service Batch
    	DefaultBaseURI = "https://batch.core.windows.net"
    )

    Variables

    This section is empty.

    Functions

    func UserAgent

    func UserAgent() string

      UserAgent returns the UserAgent string to use when sending http.Requests.

      func Version

      func Version() string

        Version returns the semantic version (see http://semver.org) of the client.

        Types

        type AccessScope

        type AccessScope string

          AccessScope enumerates the values for access scope.

          const (
          	// Job Grants access to perform all operations on the job containing the task.
          	Job AccessScope = "job"
          )

          func PossibleAccessScopeValues

          func PossibleAccessScopeValues() []AccessScope

            PossibleAccessScopeValues returns an array of possible values for the AccessScope const type.

            type AccountClient

            type AccountClient struct {
            	BaseClient
            }

              AccountClient is the a client for issuing REST requests to the Azure Batch service.

              func NewAccountClient

              func NewAccountClient() AccountClient

                NewAccountClient creates an instance of the AccountClient client.

                func NewAccountClientWithBaseURI

                func NewAccountClientWithBaseURI(baseURI string) AccountClient

                  NewAccountClientWithBaseURI creates an instance of the AccountClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                  func (AccountClient) ListNodeAgentSkus

                  func (client AccountClient) ListNodeAgentSkus(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result AccountListNodeAgentSkusResultPage, err error)

                    ListNodeAgentSkus sends the list node agent skus request. Parameters: filter - an OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-node-agent-skus. maxResults - the maximum number of items to return in the response. A maximum of 1000 results will be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                    func (AccountClient) ListNodeAgentSkusComplete

                    func (client AccountClient) ListNodeAgentSkusComplete(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result AccountListNodeAgentSkusResultIterator, err error)

                      ListNodeAgentSkusComplete enumerates all values, automatically crossing page boundaries as required.

                      func (AccountClient) ListNodeAgentSkusPreparer

                      func (client AccountClient) ListNodeAgentSkusPreparer(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                        ListNodeAgentSkusPreparer prepares the ListNodeAgentSkus request.

                        func (AccountClient) ListNodeAgentSkusResponder

                        func (client AccountClient) ListNodeAgentSkusResponder(resp *http.Response) (result AccountListNodeAgentSkusResult, err error)

                          ListNodeAgentSkusResponder handles the response to the ListNodeAgentSkus request. The method always closes the http.Response Body.

                          func (AccountClient) ListNodeAgentSkusSender

                          func (client AccountClient) ListNodeAgentSkusSender(req *http.Request) (*http.Response, error)

                            ListNodeAgentSkusSender sends the ListNodeAgentSkus request. The method will close the http.Response Body if it receives an error.

                            func (AccountClient) ListPoolNodeCounts

                            func (client AccountClient) ListPoolNodeCounts(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result PoolNodeCountsListResultPage, err error)

                              ListPoolNodeCounts gets the number of nodes in each state, grouped by pool. Parameters: filter - an OData $filter clause. maxResults - the maximum number of items to return in the response. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                              func (AccountClient) ListPoolNodeCountsComplete

                              func (client AccountClient) ListPoolNodeCountsComplete(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result PoolNodeCountsListResultIterator, err error)

                                ListPoolNodeCountsComplete enumerates all values, automatically crossing page boundaries as required.

                                func (AccountClient) ListPoolNodeCountsPreparer

                                func (client AccountClient) ListPoolNodeCountsPreparer(ctx context.Context, filter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                  ListPoolNodeCountsPreparer prepares the ListPoolNodeCounts request.

                                  func (AccountClient) ListPoolNodeCountsResponder

                                  func (client AccountClient) ListPoolNodeCountsResponder(resp *http.Response) (result PoolNodeCountsListResult, err error)

                                    ListPoolNodeCountsResponder handles the response to the ListPoolNodeCounts request. The method always closes the http.Response Body.

                                    func (AccountClient) ListPoolNodeCountsSender

                                    func (client AccountClient) ListPoolNodeCountsSender(req *http.Request) (*http.Response, error)

                                      ListPoolNodeCountsSender sends the ListPoolNodeCounts request. The method will close the http.Response Body if it receives an error.

                                      type AccountListNodeAgentSkusResult

                                      type AccountListNodeAgentSkusResult struct {
                                      	autorest.Response `json:"-"`
                                      	Value             *[]NodeAgentSku `json:"value,omitempty"`
                                      	OdataNextLink     *string         `json:"odata.nextLink,omitempty"`
                                      }

                                        AccountListNodeAgentSkusResult ...

                                        func (AccountListNodeAgentSkusResult) IsEmpty

                                        func (alnasr AccountListNodeAgentSkusResult) IsEmpty() bool

                                          IsEmpty returns true if the ListResult contains no values.

                                          type AccountListNodeAgentSkusResultIterator

                                          type AccountListNodeAgentSkusResultIterator struct {
                                          	// contains filtered or unexported fields
                                          }

                                            AccountListNodeAgentSkusResultIterator provides access to a complete listing of NodeAgentSku values.

                                            func NewAccountListNodeAgentSkusResultIterator

                                            func NewAccountListNodeAgentSkusResultIterator(page AccountListNodeAgentSkusResultPage) AccountListNodeAgentSkusResultIterator

                                              Creates a new instance of the AccountListNodeAgentSkusResultIterator type.

                                              func (*AccountListNodeAgentSkusResultIterator) Next

                                                Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                func (*AccountListNodeAgentSkusResultIterator) NextWithContext

                                                func (iter *AccountListNodeAgentSkusResultIterator) NextWithContext(ctx context.Context) (err error)

                                                  NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                  func (AccountListNodeAgentSkusResultIterator) NotDone

                                                    NotDone returns true if the enumeration should be started or is not yet complete.

                                                    func (AccountListNodeAgentSkusResultIterator) Response

                                                      Response returns the raw server response from the last page request.

                                                      func (AccountListNodeAgentSkusResultIterator) Value

                                                        Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                        type AccountListNodeAgentSkusResultPage

                                                        type AccountListNodeAgentSkusResultPage struct {
                                                        	// contains filtered or unexported fields
                                                        }

                                                          AccountListNodeAgentSkusResultPage contains a page of NodeAgentSku values.

                                                          func NewAccountListNodeAgentSkusResultPage

                                                            Creates a new instance of the AccountListNodeAgentSkusResultPage type.

                                                            func (*AccountListNodeAgentSkusResultPage) Next

                                                              Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                              func (*AccountListNodeAgentSkusResultPage) NextWithContext

                                                              func (page *AccountListNodeAgentSkusResultPage) NextWithContext(ctx context.Context) (err error)

                                                                NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                func (AccountListNodeAgentSkusResultPage) NotDone

                                                                  NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                  func (AccountListNodeAgentSkusResultPage) Response

                                                                    Response returns the raw server response from the last page request.

                                                                    func (AccountListNodeAgentSkusResultPage) Values

                                                                      Values returns the slice of values for the current page or nil if there are no values.

                                                                      type AffinityInformation

                                                                      type AffinityInformation struct {
                                                                      	// AffinityID - You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere.
                                                                      	AffinityID *string `json:"affinityId,omitempty"`
                                                                      }

                                                                        AffinityInformation ...

                                                                        type AllocationState

                                                                        type AllocationState string

                                                                          AllocationState enumerates the values for allocation state.

                                                                          const (
                                                                          	// Resizing The pool is resizing; that is, compute nodes are being added to or removed from the pool.
                                                                          	Resizing AllocationState = "resizing"
                                                                          	// 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 nodes.
                                                                          	Steady AllocationState = "steady"
                                                                          	// Stopping The pool was resizing, but the user has requested that the resize be stopped, but the stop
                                                                          	// request has not yet been completed.
                                                                          	Stopping AllocationState = "stopping"
                                                                          )

                                                                          func PossibleAllocationStateValues

                                                                          func PossibleAllocationStateValues() []AllocationState

                                                                            PossibleAllocationStateValues returns an array of possible values for the AllocationState const type.

                                                                            type ApplicationClient

                                                                            type ApplicationClient struct {
                                                                            	BaseClient
                                                                            }

                                                                              ApplicationClient is the a client for issuing REST requests to the Azure Batch service.

                                                                              func NewApplicationClient

                                                                              func NewApplicationClient() ApplicationClient

                                                                                NewApplicationClient creates an instance of the ApplicationClient client.

                                                                                func NewApplicationClientWithBaseURI

                                                                                func NewApplicationClientWithBaseURI(baseURI string) ApplicationClient

                                                                                  NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                                                                                  func (ApplicationClient) Get

                                                                                  func (client ApplicationClient) Get(ctx context.Context, applicationID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ApplicationSummary, err error)

                                                                                    Get this operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API. Parameters: applicationID - the ID of the application. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                    func (ApplicationClient) GetPreparer

                                                                                    func (client ApplicationClient) GetPreparer(ctx context.Context, applicationID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                      GetPreparer prepares the Get request.

                                                                                      func (ApplicationClient) GetResponder

                                                                                      func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationSummary, err error)

                                                                                        GetResponder handles the response to the Get request. The method always closes the http.Response Body.

                                                                                        func (ApplicationClient) GetSender

                                                                                        func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error)

                                                                                          GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

                                                                                          func (ApplicationClient) List

                                                                                          func (client ApplicationClient) List(ctx context.Context, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ApplicationListResultPage, err error)

                                                                                            List this operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API. Parameters: maxResults - the maximum number of items to return in the response. A maximum of 1000 applications can be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                            func (ApplicationClient) ListComplete

                                                                                            func (client ApplicationClient) ListComplete(ctx context.Context, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ApplicationListResultIterator, err error)

                                                                                              ListComplete enumerates all values, automatically crossing page boundaries as required.

                                                                                              func (ApplicationClient) ListPreparer

                                                                                              func (client ApplicationClient) ListPreparer(ctx context.Context, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                ListPreparer prepares the List request.

                                                                                                func (ApplicationClient) ListResponder

                                                                                                func (client ApplicationClient) ListResponder(resp *http.Response) (result ApplicationListResult, err error)

                                                                                                  ListResponder handles the response to the List request. The method always closes the http.Response Body.

                                                                                                  func (ApplicationClient) ListSender

                                                                                                  func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error)

                                                                                                    ListSender sends the List request. The method will close the http.Response Body if it receives an error.

                                                                                                    type ApplicationListResult

                                                                                                    type ApplicationListResult struct {
                                                                                                    	autorest.Response `json:"-"`
                                                                                                    	Value             *[]ApplicationSummary `json:"value,omitempty"`
                                                                                                    	OdataNextLink     *string               `json:"odata.nextLink,omitempty"`
                                                                                                    }

                                                                                                      ApplicationListResult ...

                                                                                                      func (ApplicationListResult) IsEmpty

                                                                                                      func (alr ApplicationListResult) IsEmpty() bool

                                                                                                        IsEmpty returns true if the ListResult contains no values.

                                                                                                        type ApplicationListResultIterator

                                                                                                        type ApplicationListResultIterator struct {
                                                                                                        	// contains filtered or unexported fields
                                                                                                        }

                                                                                                          ApplicationListResultIterator provides access to a complete listing of ApplicationSummary values.

                                                                                                          func NewApplicationListResultIterator

                                                                                                          func NewApplicationListResultIterator(page ApplicationListResultPage) ApplicationListResultIterator

                                                                                                            Creates a new instance of the ApplicationListResultIterator type.

                                                                                                            func (*ApplicationListResultIterator) Next

                                                                                                            func (iter *ApplicationListResultIterator) Next() error

                                                                                                              Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                              func (*ApplicationListResultIterator) NextWithContext

                                                                                                              func (iter *ApplicationListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                func (ApplicationListResultIterator) NotDone

                                                                                                                func (iter ApplicationListResultIterator) NotDone() bool

                                                                                                                  NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                  func (ApplicationListResultIterator) Response

                                                                                                                    Response returns the raw server response from the last page request.

                                                                                                                    func (ApplicationListResultIterator) Value

                                                                                                                      Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                      type ApplicationListResultPage

                                                                                                                      type ApplicationListResultPage struct {
                                                                                                                      	// contains filtered or unexported fields
                                                                                                                      }

                                                                                                                        ApplicationListResultPage contains a page of ApplicationSummary values.

                                                                                                                        func NewApplicationListResultPage

                                                                                                                          Creates a new instance of the ApplicationListResultPage type.

                                                                                                                          func (*ApplicationListResultPage) Next

                                                                                                                          func (page *ApplicationListResultPage) Next() error

                                                                                                                            Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                            func (*ApplicationListResultPage) NextWithContext

                                                                                                                            func (page *ApplicationListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                              NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                              func (ApplicationListResultPage) NotDone

                                                                                                                              func (page ApplicationListResultPage) NotDone() bool

                                                                                                                                NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                func (ApplicationListResultPage) Response

                                                                                                                                  Response returns the raw server response from the last page request.

                                                                                                                                  func (ApplicationListResultPage) Values

                                                                                                                                    Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                    type ApplicationPackageReference

                                                                                                                                    type ApplicationPackageReference struct {
                                                                                                                                    	ApplicationID *string `json:"applicationId,omitempty"`
                                                                                                                                    	// Version - If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error.
                                                                                                                                    	Version *string `json:"version,omitempty"`
                                                                                                                                    }

                                                                                                                                      ApplicationPackageReference ...

                                                                                                                                      type ApplicationSummary

                                                                                                                                      type ApplicationSummary struct {
                                                                                                                                      	autorest.Response `json:"-"`
                                                                                                                                      	ID                *string   `json:"id,omitempty"`
                                                                                                                                      	DisplayName       *string   `json:"displayName,omitempty"`
                                                                                                                                      	Versions          *[]string `json:"versions,omitempty"`
                                                                                                                                      }

                                                                                                                                        ApplicationSummary ...

                                                                                                                                        type AuthenticationTokenSettings

                                                                                                                                        type AuthenticationTokenSettings struct {
                                                                                                                                        	// Access - The authentication token grants access to a limited set of Batch service operations. Currently the only supported value for the access property is 'job', which grants access to all operations related to the job which contains the task.
                                                                                                                                        	Access *[]AccessScope `json:"access,omitempty"`
                                                                                                                                        }

                                                                                                                                          AuthenticationTokenSettings ...

                                                                                                                                          type AutoPoolSpecification

                                                                                                                                          type AutoPoolSpecification struct {
                                                                                                                                          	// AutoPoolIDPrefix - 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"`
                                                                                                                                          	// PoolLifetimeOption - Possible values include: 'PoolLifetimeOptionJobSchedule', 'PoolLifetimeOptionJob'
                                                                                                                                          	PoolLifetimeOption PoolLifetimeOption `json:"poolLifetimeOption,omitempty"`
                                                                                                                                          	// KeepAlive - 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"`
                                                                                                                                          	Pool      *PoolSpecification `json:"pool,omitempty"`
                                                                                                                                          }

                                                                                                                                            AutoPoolSpecification ...

                                                                                                                                            type AutoScaleRun

                                                                                                                                            type AutoScaleRun struct {
                                                                                                                                            	autorest.Response `json:"-"`
                                                                                                                                            	Timestamp         *date.Time `json:"timestamp,omitempty"`
                                                                                                                                            	// Results - Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
                                                                                                                                            	Results *string            `json:"results,omitempty"`
                                                                                                                                            	Error   *AutoScaleRunError `json:"error,omitempty"`
                                                                                                                                            }

                                                                                                                                              AutoScaleRun ...

                                                                                                                                              type AutoScaleRunError

                                                                                                                                              type AutoScaleRunError struct {
                                                                                                                                              	Code    *string          `json:"code,omitempty"`
                                                                                                                                              	Message *string          `json:"message,omitempty"`
                                                                                                                                              	Values  *[]NameValuePair `json:"values,omitempty"`
                                                                                                                                              }

                                                                                                                                                AutoScaleRunError ...

                                                                                                                                                type AutoUserScope

                                                                                                                                                type AutoUserScope string

                                                                                                                                                  AutoUserScope enumerates the values for auto user scope.

                                                                                                                                                  const (
                                                                                                                                                  	// Pool Specifies that the task runs as the common auto user account which is created on every node in a
                                                                                                                                                  	// pool.
                                                                                                                                                  	Pool AutoUserScope = "pool"
                                                                                                                                                  	// Task Specifies that the service should create a new user for the task.
                                                                                                                                                  	Task AutoUserScope = "task"
                                                                                                                                                  )

                                                                                                                                                  func PossibleAutoUserScopeValues

                                                                                                                                                  func PossibleAutoUserScopeValues() []AutoUserScope

                                                                                                                                                    PossibleAutoUserScopeValues returns an array of possible values for the AutoUserScope const type.

                                                                                                                                                    type AutoUserSpecification

                                                                                                                                                    type AutoUserSpecification struct {
                                                                                                                                                    	// Scope - The default value is task. Possible values include: 'Task', 'Pool'
                                                                                                                                                    	Scope AutoUserScope `json:"scope,omitempty"`
                                                                                                                                                    	// ElevationLevel - The default value is nonAdmin. Possible values include: 'NonAdmin', 'Admin'
                                                                                                                                                    	ElevationLevel ElevationLevel `json:"elevationLevel,omitempty"`
                                                                                                                                                    }

                                                                                                                                                      AutoUserSpecification ...

                                                                                                                                                      type BaseClient

                                                                                                                                                      type BaseClient struct {
                                                                                                                                                      	autorest.Client
                                                                                                                                                      	BaseURI string
                                                                                                                                                      }

                                                                                                                                                        BaseClient is the base client for Batch.

                                                                                                                                                        func New

                                                                                                                                                        func New() BaseClient

                                                                                                                                                          New creates an instance of the BaseClient client.

                                                                                                                                                          func NewWithBaseURI

                                                                                                                                                          func NewWithBaseURI(baseURI string) BaseClient

                                                                                                                                                            NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                                                                                                                                                            type CachingType

                                                                                                                                                            type CachingType string

                                                                                                                                                              CachingType enumerates the values for caching type.

                                                                                                                                                              const (
                                                                                                                                                              	// None The caching mode for the disk is not enabled.
                                                                                                                                                              	None CachingType = "none"
                                                                                                                                                              	// ReadOnly The caching mode for the disk is read only.
                                                                                                                                                              	ReadOnly CachingType = "readonly"
                                                                                                                                                              	// ReadWrite The caching mode for the disk is read and write.
                                                                                                                                                              	ReadWrite CachingType = "readwrite"
                                                                                                                                                              )

                                                                                                                                                              func PossibleCachingTypeValues

                                                                                                                                                              func PossibleCachingTypeValues() []CachingType

                                                                                                                                                                PossibleCachingTypeValues returns an array of possible values for the CachingType const type.

                                                                                                                                                                type Certificate

                                                                                                                                                                type Certificate struct {
                                                                                                                                                                	autorest.Response   `json:"-"`
                                                                                                                                                                	Thumbprint          *string `json:"thumbprint,omitempty"`
                                                                                                                                                                	ThumbprintAlgorithm *string `json:"thumbprintAlgorithm,omitempty"`
                                                                                                                                                                	URL                 *string `json:"url,omitempty"`
                                                                                                                                                                	// State - Possible values include: 'Active', 'Deleting', 'DeleteFailed'
                                                                                                                                                                	State               CertificateState `json:"state,omitempty"`
                                                                                                                                                                	StateTransitionTime *date.Time       `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                	// PreviousState - This property is not set if the certificate is in its initial active state. Possible values include: 'Active', 'Deleting', 'DeleteFailed'
                                                                                                                                                                	PreviousState CertificateState `json:"previousState,omitempty"`
                                                                                                                                                                	// PreviousStateTransitionTime - This property is not set if the certificate is in its initial Active state.
                                                                                                                                                                	PreviousStateTransitionTime *date.Time `json:"previousStateTransitionTime,omitempty"`
                                                                                                                                                                	PublicData                  *string    `json:"publicData,omitempty"`
                                                                                                                                                                	// DeleteCertificateError - This property is set only if the certificate is in the DeleteFailed state.
                                                                                                                                                                	DeleteCertificateError *DeleteCertificateError `json:"deleteCertificateError,omitempty"`
                                                                                                                                                                }

                                                                                                                                                                  Certificate a certificate that can be installed on compute nodes and can be used to authenticate operations on the machine.

                                                                                                                                                                  type CertificateAddParameter

                                                                                                                                                                  type CertificateAddParameter struct {
                                                                                                                                                                  	Thumbprint          *string `json:"thumbprint,omitempty"`
                                                                                                                                                                  	ThumbprintAlgorithm *string `json:"thumbprintAlgorithm,omitempty"`
                                                                                                                                                                  	Data                *string `json:"data,omitempty"`
                                                                                                                                                                  	// CertificateFormat - Possible values include: 'Pfx', 'Cer'
                                                                                                                                                                  	CertificateFormat CertificateFormat `json:"certificateFormat,omitempty"`
                                                                                                                                                                  	// Password - This is required if the certificate format is pfx. It should be omitted if the certificate format is cer.
                                                                                                                                                                  	Password *string `json:"password,omitempty"`
                                                                                                                                                                  }

                                                                                                                                                                    CertificateAddParameter ...

                                                                                                                                                                    type CertificateClient

                                                                                                                                                                    type CertificateClient struct {
                                                                                                                                                                    	BaseClient
                                                                                                                                                                    }

                                                                                                                                                                      CertificateClient is the a client for issuing REST requests to the Azure Batch service.

                                                                                                                                                                      func NewCertificateClient

                                                                                                                                                                      func NewCertificateClient() CertificateClient

                                                                                                                                                                        NewCertificateClient creates an instance of the CertificateClient client.

                                                                                                                                                                        func NewCertificateClientWithBaseURI

                                                                                                                                                                        func NewCertificateClientWithBaseURI(baseURI string) CertificateClient

                                                                                                                                                                          NewCertificateClientWithBaseURI creates an instance of the CertificateClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                                                                                                                                                                          func (CertificateClient) Add

                                                                                                                                                                          func (client CertificateClient) Add(ctx context.Context, certificate CertificateAddParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                            Add sends the add request. Parameters: certificate - the certificate to be added. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                            func (CertificateClient) AddPreparer

                                                                                                                                                                            func (client CertificateClient) AddPreparer(ctx context.Context, certificate CertificateAddParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                              AddPreparer prepares the Add request.

                                                                                                                                                                              func (CertificateClient) AddResponder

                                                                                                                                                                              func (client CertificateClient) AddResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                AddResponder handles the response to the Add request. The method always closes the http.Response Body.

                                                                                                                                                                                func (CertificateClient) AddSender

                                                                                                                                                                                func (client CertificateClient) AddSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                  AddSender sends the Add request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                  func (CertificateClient) CancelDeletion

                                                                                                                                                                                  func (client CertificateClient) CancelDeletion(ctx context.Context, thumbprintAlgorithm string, thumbprint string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                    CancelDeletion if you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate. Parameters: thumbprintAlgorithm - the algorithm used to derive the thumbprint parameter. This must be sha1. thumbprint - the thumbprint of the certificate being deleted. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                    func (CertificateClient) CancelDeletionPreparer

                                                                                                                                                                                    func (client CertificateClient) CancelDeletionPreparer(ctx context.Context, thumbprintAlgorithm string, thumbprint string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                      CancelDeletionPreparer prepares the CancelDeletion request.

                                                                                                                                                                                      func (CertificateClient) CancelDeletionResponder

                                                                                                                                                                                      func (client CertificateClient) CancelDeletionResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                        CancelDeletionResponder handles the response to the CancelDeletion request. The method always closes the http.Response Body.

                                                                                                                                                                                        func (CertificateClient) CancelDeletionSender

                                                                                                                                                                                        func (client CertificateClient) CancelDeletionSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                          CancelDeletionSender sends the CancelDeletion request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                          func (CertificateClient) Delete

                                                                                                                                                                                          func (client CertificateClient) Delete(ctx context.Context, thumbprintAlgorithm string, thumbprint string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                            Delete you cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate. Parameters: thumbprintAlgorithm - the algorithm used to derive the thumbprint parameter. This must be sha1. thumbprint - the thumbprint of the certificate to be deleted. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                            func (CertificateClient) DeletePreparer

                                                                                                                                                                                            func (client CertificateClient) DeletePreparer(ctx context.Context, thumbprintAlgorithm string, thumbprint string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                              DeletePreparer prepares the Delete request.

                                                                                                                                                                                              func (CertificateClient) DeleteResponder

                                                                                                                                                                                              func (client CertificateClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

                                                                                                                                                                                                func (CertificateClient) DeleteSender

                                                                                                                                                                                                func (client CertificateClient) DeleteSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                  DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                  func (CertificateClient) Get

                                                                                                                                                                                                  func (client CertificateClient) Get(ctx context.Context, thumbprintAlgorithm string, thumbprint string, selectParameter string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result Certificate, err error)

                                                                                                                                                                                                    Get gets information about the specified certificate. Parameters: thumbprintAlgorithm - the algorithm used to derive the thumbprint parameter. This must be sha1. thumbprint - the thumbprint of the certificate to get. selectParameter - an OData $select clause. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                    func (CertificateClient) GetPreparer

                                                                                                                                                                                                    func (client CertificateClient) GetPreparer(ctx context.Context, thumbprintAlgorithm string, thumbprint string, selectParameter string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                      GetPreparer prepares the Get request.

                                                                                                                                                                                                      func (CertificateClient) GetResponder

                                                                                                                                                                                                      func (client CertificateClient) GetResponder(resp *http.Response) (result Certificate, err error)

                                                                                                                                                                                                        GetResponder handles the response to the Get request. The method always closes the http.Response Body.

                                                                                                                                                                                                        func (CertificateClient) GetSender

                                                                                                                                                                                                        func (client CertificateClient) GetSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                          GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                          func (CertificateClient) List

                                                                                                                                                                                                          func (client CertificateClient) List(ctx context.Context, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result CertificateListResultPage, err error)

                                                                                                                                                                                                            List sends the list request. Parameters: filter - an OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates. selectParameter - an OData $select clause. maxResults - the maximum number of items to return in the response. A maximum of 1000 certificates can be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                            func (CertificateClient) ListComplete

                                                                                                                                                                                                            func (client CertificateClient) ListComplete(ctx context.Context, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result CertificateListResultIterator, err error)

                                                                                                                                                                                                              ListComplete enumerates all values, automatically crossing page boundaries as required.

                                                                                                                                                                                                              func (CertificateClient) ListPreparer

                                                                                                                                                                                                              func (client CertificateClient) ListPreparer(ctx context.Context, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                ListPreparer prepares the List request.

                                                                                                                                                                                                                func (CertificateClient) ListResponder

                                                                                                                                                                                                                func (client CertificateClient) ListResponder(resp *http.Response) (result CertificateListResult, err error)

                                                                                                                                                                                                                  ListResponder handles the response to the List request. The method always closes the http.Response Body.

                                                                                                                                                                                                                  func (CertificateClient) ListSender

                                                                                                                                                                                                                  func (client CertificateClient) ListSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                    ListSender sends the List request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                    type CertificateFormat

                                                                                                                                                                                                                    type CertificateFormat string

                                                                                                                                                                                                                      CertificateFormat enumerates the values for certificate format.

                                                                                                                                                                                                                      const (
                                                                                                                                                                                                                      	// Cer The certificate is a base64-encoded X.509 certificate.
                                                                                                                                                                                                                      	Cer CertificateFormat = "cer"
                                                                                                                                                                                                                      	// Pfx The certificate is a PFX (PKCS#12) formatted certificate or certificate chain.
                                                                                                                                                                                                                      	Pfx CertificateFormat = "pfx"
                                                                                                                                                                                                                      )

                                                                                                                                                                                                                      func PossibleCertificateFormatValues

                                                                                                                                                                                                                      func PossibleCertificateFormatValues() []CertificateFormat

                                                                                                                                                                                                                        PossibleCertificateFormatValues returns an array of possible values for the CertificateFormat const type.

                                                                                                                                                                                                                        type CertificateListResult

                                                                                                                                                                                                                        type CertificateListResult struct {
                                                                                                                                                                                                                        	autorest.Response `json:"-"`
                                                                                                                                                                                                                        	Value             *[]Certificate `json:"value,omitempty"`
                                                                                                                                                                                                                        	OdataNextLink     *string        `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                        }

                                                                                                                                                                                                                          CertificateListResult ...

                                                                                                                                                                                                                          func (CertificateListResult) IsEmpty

                                                                                                                                                                                                                          func (clr CertificateListResult) IsEmpty() bool

                                                                                                                                                                                                                            IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                            type CertificateListResultIterator

                                                                                                                                                                                                                            type CertificateListResultIterator struct {
                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                            }

                                                                                                                                                                                                                              CertificateListResultIterator provides access to a complete listing of Certificate values.

                                                                                                                                                                                                                              func NewCertificateListResultIterator

                                                                                                                                                                                                                              func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator

                                                                                                                                                                                                                                Creates a new instance of the CertificateListResultIterator type.

                                                                                                                                                                                                                                func (*CertificateListResultIterator) Next

                                                                                                                                                                                                                                func (iter *CertificateListResultIterator) Next() error

                                                                                                                                                                                                                                  Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                  func (*CertificateListResultIterator) NextWithContext

                                                                                                                                                                                                                                  func (iter *CertificateListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                    NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                    func (CertificateListResultIterator) NotDone

                                                                                                                                                                                                                                    func (iter CertificateListResultIterator) NotDone() bool

                                                                                                                                                                                                                                      NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                      func (CertificateListResultIterator) Response

                                                                                                                                                                                                                                        Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                        func (CertificateListResultIterator) Value

                                                                                                                                                                                                                                          Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                          type CertificateListResultPage

                                                                                                                                                                                                                                          type CertificateListResultPage struct {
                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                            CertificateListResultPage contains a page of Certificate values.

                                                                                                                                                                                                                                            func NewCertificateListResultPage

                                                                                                                                                                                                                                              Creates a new instance of the CertificateListResultPage type.

                                                                                                                                                                                                                                              func (*CertificateListResultPage) Next

                                                                                                                                                                                                                                              func (page *CertificateListResultPage) Next() error

                                                                                                                                                                                                                                                Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                func (*CertificateListResultPage) NextWithContext

                                                                                                                                                                                                                                                func (page *CertificateListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                  NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                  func (CertificateListResultPage) NotDone

                                                                                                                                                                                                                                                  func (page CertificateListResultPage) NotDone() bool

                                                                                                                                                                                                                                                    NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                    func (CertificateListResultPage) Response

                                                                                                                                                                                                                                                      Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                      func (CertificateListResultPage) Values

                                                                                                                                                                                                                                                      func (page CertificateListResultPage) Values() []Certificate

                                                                                                                                                                                                                                                        Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                        type CertificateReference

                                                                                                                                                                                                                                                        type CertificateReference struct {
                                                                                                                                                                                                                                                        	Thumbprint          *string `json:"thumbprint,omitempty"`
                                                                                                                                                                                                                                                        	ThumbprintAlgorithm *string `json:"thumbprintAlgorithm,omitempty"`
                                                                                                                                                                                                                                                        	// StoreLocation - 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) and certificates are placed in that directory. Possible values include: 'CurrentUser', 'LocalMachine'
                                                                                                                                                                                                                                                        	StoreLocation CertificateStoreLocation `json:"storeLocation,omitempty"`
                                                                                                                                                                                                                                                        	// StoreName - This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
                                                                                                                                                                                                                                                        	StoreName *string `json:"storeName,omitempty"`
                                                                                                                                                                                                                                                        	// Visibility - You can specify more than one visibility in this collection. The default is all accounts.
                                                                                                                                                                                                                                                        	Visibility *[]CertificateVisibility `json:"visibility,omitempty"`
                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                          CertificateReference ...

                                                                                                                                                                                                                                                          type CertificateState

                                                                                                                                                                                                                                                          type CertificateState string

                                                                                                                                                                                                                                                            CertificateState enumerates the values for certificate state.

                                                                                                                                                                                                                                                            const (
                                                                                                                                                                                                                                                            	// Active The certificate is available for use in pools.
                                                                                                                                                                                                                                                            	Active CertificateState = "active"
                                                                                                                                                                                                                                                            	// DeleteFailed The user requested that the certificate be deleted, but there are pools that still have
                                                                                                                                                                                                                                                            	// references to the certificate, or it is still installed on one or more compute nodes. (The latter can
                                                                                                                                                                                                                                                            	// occur if the certificate has been removed from the pool, but the node has not yet restarted. Nodes
                                                                                                                                                                                                                                                            	// refresh their certificates only when they restart.) You may use the cancel certificate delete operation
                                                                                                                                                                                                                                                            	// to cancel the delete, or the delete certificate operation to retry the delete.
                                                                                                                                                                                                                                                            	DeleteFailed CertificateState = "deletefailed"
                                                                                                                                                                                                                                                            	// Deleting The user has requested that the certificate be deleted, but the delete operation has not yet
                                                                                                                                                                                                                                                            	// completed. You may not reference the certificate when creating or updating pools.
                                                                                                                                                                                                                                                            	Deleting CertificateState = "deleting"
                                                                                                                                                                                                                                                            )

                                                                                                                                                                                                                                                            func PossibleCertificateStateValues

                                                                                                                                                                                                                                                            func PossibleCertificateStateValues() []CertificateState

                                                                                                                                                                                                                                                              PossibleCertificateStateValues returns an array of possible values for the CertificateState const type.

                                                                                                                                                                                                                                                              type CertificateStoreLocation

                                                                                                                                                                                                                                                              type CertificateStoreLocation string

                                                                                                                                                                                                                                                                CertificateStoreLocation enumerates the values for certificate store location.

                                                                                                                                                                                                                                                                const (
                                                                                                                                                                                                                                                                	// CurrentUser Certificates should be installed to the CurrentUser certificate store.
                                                                                                                                                                                                                                                                	CurrentUser CertificateStoreLocation = "currentuser"
                                                                                                                                                                                                                                                                	// LocalMachine Certificates should be installed to the LocalMachine certificate store.
                                                                                                                                                                                                                                                                	LocalMachine CertificateStoreLocation = "localmachine"
                                                                                                                                                                                                                                                                )

                                                                                                                                                                                                                                                                func PossibleCertificateStoreLocationValues

                                                                                                                                                                                                                                                                func PossibleCertificateStoreLocationValues() []CertificateStoreLocation

                                                                                                                                                                                                                                                                  PossibleCertificateStoreLocationValues returns an array of possible values for the CertificateStoreLocation const type.

                                                                                                                                                                                                                                                                  type CertificateVisibility

                                                                                                                                                                                                                                                                  type CertificateVisibility string

                                                                                                                                                                                                                                                                    CertificateVisibility enumerates the values for certificate visibility.

                                                                                                                                                                                                                                                                    const (
                                                                                                                                                                                                                                                                    	// CertificateVisibilityRemoteUser The certificate should be visible to the user accounts under which users
                                                                                                                                                                                                                                                                    	// remotely access the node.
                                                                                                                                                                                                                                                                    	CertificateVisibilityRemoteUser CertificateVisibility = "remoteuser"
                                                                                                                                                                                                                                                                    	// CertificateVisibilityStartTask The certificate should be visible to the user account under which the
                                                                                                                                                                                                                                                                    	// start task is run.
                                                                                                                                                                                                                                                                    	CertificateVisibilityStartTask CertificateVisibility = "starttask"
                                                                                                                                                                                                                                                                    	// CertificateVisibilityTask The certificate should be visible to the user accounts under which job tasks
                                                                                                                                                                                                                                                                    	// are run.
                                                                                                                                                                                                                                                                    	CertificateVisibilityTask CertificateVisibility = "task"
                                                                                                                                                                                                                                                                    )

                                                                                                                                                                                                                                                                    func PossibleCertificateVisibilityValues

                                                                                                                                                                                                                                                                    func PossibleCertificateVisibilityValues() []CertificateVisibility

                                                                                                                                                                                                                                                                      PossibleCertificateVisibilityValues returns an array of possible values for the CertificateVisibility const type.

                                                                                                                                                                                                                                                                      type CloudJob

                                                                                                                                                                                                                                                                      type CloudJob struct {
                                                                                                                                                                                                                                                                      	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                      	// ID - The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an account that differ only by case).
                                                                                                                                                                                                                                                                      	ID                   *string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                      	DisplayName          *string `json:"displayName,omitempty"`
                                                                                                                                                                                                                                                                      	UsesTaskDependencies *bool   `json:"usesTaskDependencies,omitempty"`
                                                                                                                                                                                                                                                                      	URL                  *string `json:"url,omitempty"`
                                                                                                                                                                                                                                                                      	// ETag - 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"`
                                                                                                                                                                                                                                                                      	// LastModified - 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 *date.Time `json:"lastModified,omitempty"`
                                                                                                                                                                                                                                                                      	CreationTime *date.Time `json:"creationTime,omitempty"`
                                                                                                                                                                                                                                                                      	// State - Possible values include: 'JobStateActive', 'JobStateDisabling', 'JobStateDisabled', 'JobStateEnabling', 'JobStateTerminating', 'JobStateCompleted', 'JobStateDeleting'
                                                                                                                                                                                                                                                                      	State               JobState   `json:"state,omitempty"`
                                                                                                                                                                                                                                                                      	StateTransitionTime *date.Time `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                      	// PreviousState - This property is not set if the job is in its initial Active state. Possible values include: 'JobStateActive', 'JobStateDisabling', 'JobStateDisabled', 'JobStateEnabling', 'JobStateTerminating', 'JobStateCompleted', 'JobStateDeleting'
                                                                                                                                                                                                                                                                      	PreviousState JobState `json:"previousState,omitempty"`
                                                                                                                                                                                                                                                                      	// PreviousStateTransitionTime - This property is not set if the job is in its initial Active state.
                                                                                                                                                                                                                                                                      	PreviousStateTransitionTime *date.Time `json:"previousStateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                      	// Priority - 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"`
                                                                                                                                                                                                                                                                      	Constraints    *JobConstraints `json:"constraints,omitempty"`
                                                                                                                                                                                                                                                                      	JobManagerTask *JobManagerTask `json:"jobManagerTask,omitempty"`
                                                                                                                                                                                                                                                                      	// JobPreparationTask - The Job Preparation task is a special task run on each node before any other task of the job.
                                                                                                                                                                                                                                                                      	JobPreparationTask *JobPreparationTask `json:"jobPreparationTask,omitempty"`
                                                                                                                                                                                                                                                                      	// JobReleaseTask - 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"`
                                                                                                                                                                                                                                                                      	// CommonEnvironmentSettings - Individual tasks can override an environment setting specified here by specifying the same setting name with a different value.
                                                                                                                                                                                                                                                                      	CommonEnvironmentSettings *[]EnvironmentSetting `json:"commonEnvironmentSettings,omitempty"`
                                                                                                                                                                                                                                                                      	PoolInfo                  *PoolInformation      `json:"poolInfo,omitempty"`
                                                                                                                                                                                                                                                                      	// OnAllTasksComplete - The default is noaction. Possible values include: 'NoAction', 'TerminateJob'
                                                                                                                                                                                                                                                                      	OnAllTasksComplete OnAllTasksComplete `json:"onAllTasksComplete,omitempty"`
                                                                                                                                                                                                                                                                      	// OnTaskFailure - A task is considered to have failed if has a failureInfo. A failureInfo is set if the task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the task, for example due to a resource file download error. The default is noaction. Possible values include: 'OnTaskFailureNoAction', 'OnTaskFailurePerformExitOptionsJobAction'
                                                                                                                                                                                                                                                                      	OnTaskFailure OnTaskFailure `json:"onTaskFailure,omitempty"`
                                                                                                                                                                                                                                                                      	// Metadata - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
                                                                                                                                                                                                                                                                      	Metadata      *[]MetadataItem          `json:"metadata,omitempty"`
                                                                                                                                                                                                                                                                      	ExecutionInfo *JobExecutionInformation `json:"executionInfo,omitempty"`
                                                                                                                                                                                                                                                                      	Stats         *JobStatistics           `json:"stats,omitempty"`
                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                        CloudJob ...

                                                                                                                                                                                                                                                                        type CloudJobListPreparationAndReleaseTaskStatusResult

                                                                                                                                                                                                                                                                        type CloudJobListPreparationAndReleaseTaskStatusResult struct {
                                                                                                                                                                                                                                                                        	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                        	Value             *[]JobPreparationAndReleaseTaskExecutionInformation `json:"value,omitempty"`
                                                                                                                                                                                                                                                                        	OdataNextLink     *string                                             `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                          CloudJobListPreparationAndReleaseTaskStatusResult ...

                                                                                                                                                                                                                                                                          func (CloudJobListPreparationAndReleaseTaskStatusResult) IsEmpty

                                                                                                                                                                                                                                                                            IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                            type CloudJobListPreparationAndReleaseTaskStatusResultIterator

                                                                                                                                                                                                                                                                            type CloudJobListPreparationAndReleaseTaskStatusResultIterator struct {
                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                              CloudJobListPreparationAndReleaseTaskStatusResultIterator provides access to a complete listing of JobPreparationAndReleaseTaskExecutionInformation values.

                                                                                                                                                                                                                                                                              func NewCloudJobListPreparationAndReleaseTaskStatusResultIterator

                                                                                                                                                                                                                                                                              func NewCloudJobListPreparationAndReleaseTaskStatusResultIterator(page CloudJobListPreparationAndReleaseTaskStatusResultPage) CloudJobListPreparationAndReleaseTaskStatusResultIterator

                                                                                                                                                                                                                                                                                Creates a new instance of the CloudJobListPreparationAndReleaseTaskStatusResultIterator type.

                                                                                                                                                                                                                                                                                func (*CloudJobListPreparationAndReleaseTaskStatusResultIterator) Next

                                                                                                                                                                                                                                                                                  Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                  func (*CloudJobListPreparationAndReleaseTaskStatusResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                    NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                    func (CloudJobListPreparationAndReleaseTaskStatusResultIterator) NotDone

                                                                                                                                                                                                                                                                                      NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                      func (CloudJobListPreparationAndReleaseTaskStatusResultIterator) Response

                                                                                                                                                                                                                                                                                        Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                        func (CloudJobListPreparationAndReleaseTaskStatusResultIterator) Value

                                                                                                                                                                                                                                                                                          Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                          type CloudJobListPreparationAndReleaseTaskStatusResultPage

                                                                                                                                                                                                                                                                                          type CloudJobListPreparationAndReleaseTaskStatusResultPage struct {
                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                            CloudJobListPreparationAndReleaseTaskStatusResultPage contains a page of JobPreparationAndReleaseTaskExecutionInformation values.

                                                                                                                                                                                                                                                                                            func NewCloudJobListPreparationAndReleaseTaskStatusResultPage

                                                                                                                                                                                                                                                                                              Creates a new instance of the CloudJobListPreparationAndReleaseTaskStatusResultPage type.

                                                                                                                                                                                                                                                                                              func (*CloudJobListPreparationAndReleaseTaskStatusResultPage) Next

                                                                                                                                                                                                                                                                                                Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                func (*CloudJobListPreparationAndReleaseTaskStatusResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                  NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                  func (CloudJobListPreparationAndReleaseTaskStatusResultPage) NotDone

                                                                                                                                                                                                                                                                                                    NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                    func (CloudJobListPreparationAndReleaseTaskStatusResultPage) Response

                                                                                                                                                                                                                                                                                                      Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                      func (CloudJobListPreparationAndReleaseTaskStatusResultPage) Values

                                                                                                                                                                                                                                                                                                        Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                        type CloudJobListResult

                                                                                                                                                                                                                                                                                                        type CloudJobListResult struct {
                                                                                                                                                                                                                                                                                                        	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                        	Value             *[]CloudJob `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                        	OdataNextLink     *string     `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                          CloudJobListResult ...

                                                                                                                                                                                                                                                                                                          func (CloudJobListResult) IsEmpty

                                                                                                                                                                                                                                                                                                          func (cjlr CloudJobListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                            IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                            type CloudJobListResultIterator

                                                                                                                                                                                                                                                                                                            type CloudJobListResultIterator struct {
                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                              CloudJobListResultIterator provides access to a complete listing of CloudJob values.

                                                                                                                                                                                                                                                                                                              func NewCloudJobListResultIterator

                                                                                                                                                                                                                                                                                                              func NewCloudJobListResultIterator(page CloudJobListResultPage) CloudJobListResultIterator

                                                                                                                                                                                                                                                                                                                Creates a new instance of the CloudJobListResultIterator type.

                                                                                                                                                                                                                                                                                                                func (*CloudJobListResultIterator) Next

                                                                                                                                                                                                                                                                                                                func (iter *CloudJobListResultIterator) Next() error

                                                                                                                                                                                                                                                                                                                  Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                  func (*CloudJobListResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                                                  func (iter *CloudJobListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                    NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                    func (CloudJobListResultIterator) NotDone

                                                                                                                                                                                                                                                                                                                    func (iter CloudJobListResultIterator) NotDone() bool

                                                                                                                                                                                                                                                                                                                      NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                      func (CloudJobListResultIterator) Response

                                                                                                                                                                                                                                                                                                                        Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                        func (CloudJobListResultIterator) Value

                                                                                                                                                                                                                                                                                                                        func (iter CloudJobListResultIterator) Value() CloudJob

                                                                                                                                                                                                                                                                                                                          Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                                                          type CloudJobListResultPage

                                                                                                                                                                                                                                                                                                                          type CloudJobListResultPage struct {
                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                            CloudJobListResultPage contains a page of CloudJob values.

                                                                                                                                                                                                                                                                                                                            func NewCloudJobListResultPage

                                                                                                                                                                                                                                                                                                                            func NewCloudJobListResultPage(cur CloudJobListResult, getNextPage func(context.Context, CloudJobListResult) (CloudJobListResult, error)) CloudJobListResultPage

                                                                                                                                                                                                                                                                                                                              Creates a new instance of the CloudJobListResultPage type.

                                                                                                                                                                                                                                                                                                                              func (*CloudJobListResultPage) Next

                                                                                                                                                                                                                                                                                                                              func (page *CloudJobListResultPage) Next() error

                                                                                                                                                                                                                                                                                                                                Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                func (*CloudJobListResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                                                func (page *CloudJobListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                  NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                  func (CloudJobListResultPage) NotDone

                                                                                                                                                                                                                                                                                                                                  func (page CloudJobListResultPage) NotDone() bool

                                                                                                                                                                                                                                                                                                                                    NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                    func (CloudJobListResultPage) Response

                                                                                                                                                                                                                                                                                                                                      Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                      func (CloudJobListResultPage) Values

                                                                                                                                                                                                                                                                                                                                      func (page CloudJobListResultPage) Values() []CloudJob

                                                                                                                                                                                                                                                                                                                                        Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                                                        type CloudJobSchedule

                                                                                                                                                                                                                                                                                                                                        type CloudJobSchedule struct {
                                                                                                                                                                                                                                                                                                                                        	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                        	ID                *string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	DisplayName       *string `json:"displayName,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	URL               *string `json:"url,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// ETag - 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"`
                                                                                                                                                                                                                                                                                                                                        	// LastModified - 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 *date.Time `json:"lastModified,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	CreationTime *date.Time `json:"creationTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// State - Possible values include: 'JobScheduleStateActive', 'JobScheduleStateCompleted', 'JobScheduleStateDisabled', 'JobScheduleStateTerminating', 'JobScheduleStateDeleting'
                                                                                                                                                                                                                                                                                                                                        	State               JobScheduleState `json:"state,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	StateTransitionTime *date.Time       `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// PreviousState - This property is not present if the job schedule is in its initial active state. Possible values include: 'JobScheduleStateActive', 'JobScheduleStateCompleted', 'JobScheduleStateDisabled', 'JobScheduleStateTerminating', 'JobScheduleStateDeleting'
                                                                                                                                                                                                                                                                                                                                        	PreviousState JobScheduleState `json:"previousState,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// PreviousStateTransitionTime - This property is not present if the job schedule is in its initial active state.
                                                                                                                                                                                                                                                                                                                                        	PreviousStateTransitionTime *date.Time                       `json:"previousStateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	Schedule                    *Schedule                        `json:"schedule,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	JobSpecification            *JobSpecification                `json:"jobSpecification,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	ExecutionInfo               *JobScheduleExecutionInformation `json:"executionInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// Metadata - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
                                                                                                                                                                                                                                                                                                                                        	Metadata *[]MetadataItem        `json:"metadata,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	Stats    *JobScheduleStatistics `json:"stats,omitempty"`
                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                          CloudJobSchedule ...

                                                                                                                                                                                                                                                                                                                                          type CloudJobScheduleListResult

                                                                                                                                                                                                                                                                                                                                          type CloudJobScheduleListResult struct {
                                                                                                                                                                                                                                                                                                                                          	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                          	Value             *[]CloudJobSchedule `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                          	OdataNextLink     *string             `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                            CloudJobScheduleListResult ...

                                                                                                                                                                                                                                                                                                                                            func (CloudJobScheduleListResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                            func (cjslr CloudJobScheduleListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                              IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                              type CloudJobScheduleListResultIterator

                                                                                                                                                                                                                                                                                                                                              type CloudJobScheduleListResultIterator struct {
                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                CloudJobScheduleListResultIterator provides access to a complete listing of CloudJobSchedule values.

                                                                                                                                                                                                                                                                                                                                                func NewCloudJobScheduleListResultIterator

                                                                                                                                                                                                                                                                                                                                                func NewCloudJobScheduleListResultIterator(page CloudJobScheduleListResultPage) CloudJobScheduleListResultIterator

                                                                                                                                                                                                                                                                                                                                                  Creates a new instance of the CloudJobScheduleListResultIterator type.

                                                                                                                                                                                                                                                                                                                                                  func (*CloudJobScheduleListResultIterator) Next

                                                                                                                                                                                                                                                                                                                                                    Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                    func (*CloudJobScheduleListResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                                                                                    func (iter *CloudJobScheduleListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                      NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                      func (CloudJobScheduleListResultIterator) NotDone

                                                                                                                                                                                                                                                                                                                                                        NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                        func (CloudJobScheduleListResultIterator) Response

                                                                                                                                                                                                                                                                                                                                                          Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                          func (CloudJobScheduleListResultIterator) Value

                                                                                                                                                                                                                                                                                                                                                            Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                                                                                            type CloudJobScheduleListResultPage

                                                                                                                                                                                                                                                                                                                                                            type CloudJobScheduleListResultPage struct {
                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                              CloudJobScheduleListResultPage contains a page of CloudJobSchedule values.

                                                                                                                                                                                                                                                                                                                                                              func NewCloudJobScheduleListResultPage

                                                                                                                                                                                                                                                                                                                                                                Creates a new instance of the CloudJobScheduleListResultPage type.

                                                                                                                                                                                                                                                                                                                                                                func (*CloudJobScheduleListResultPage) Next

                                                                                                                                                                                                                                                                                                                                                                  Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                  func (*CloudJobScheduleListResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                  func (page *CloudJobScheduleListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                    NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                    func (CloudJobScheduleListResultPage) NotDone

                                                                                                                                                                                                                                                                                                                                                                    func (page CloudJobScheduleListResultPage) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                      NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                      func (CloudJobScheduleListResultPage) Response

                                                                                                                                                                                                                                                                                                                                                                        Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                        func (CloudJobScheduleListResultPage) Values

                                                                                                                                                                                                                                                                                                                                                                          Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                                                                                          type CloudPool

                                                                                                                                                                                                                                                                                                                                                                          type CloudPool struct {
                                                                                                                                                                                                                                                                                                                                                                          	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                          	// ID - 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).
                                                                                                                                                                                                                                                                                                                                                                          	ID *string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// DisplayName - 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"`
                                                                                                                                                                                                                                                                                                                                                                          	URL         *string `json:"url,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// ETag - 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"`
                                                                                                                                                                                                                                                                                                                                                                          	// LastModified - This is the last time at which the pool level data, such as the targetDedicatedNodes or enableAutoscale settings, changed. It does not factor in node-level changes such as a compute node changing state.
                                                                                                                                                                                                                                                                                                                                                                          	LastModified *date.Time `json:"lastModified,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	CreationTime *date.Time `json:"creationTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// State - Possible values include: 'PoolStateActive', 'PoolStateDeleting', 'PoolStateUpgrading'
                                                                                                                                                                                                                                                                                                                                                                          	State               PoolState  `json:"state,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	StateTransitionTime *date.Time `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// AllocationState - Possible values include: 'Steady', 'Resizing', 'Stopping'
                                                                                                                                                                                                                                                                                                                                                                          	AllocationState               AllocationState `json:"allocationState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	AllocationStateTransitionTime *date.Time      `json:"allocationStateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// VMSize - For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. 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"`
                                                                                                                                                                                                                                                                                                                                                                          	// CloudServiceConfiguration - This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'.
                                                                                                                                                                                                                                                                                                                                                                          	CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// VirtualMachineConfiguration - This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
                                                                                                                                                                                                                                                                                                                                                                          	VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// ResizeTimeout - 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 *string `json:"resizeTimeout,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// ResizeErrors - This property is set only if one or more errors occurred during the last pool resize, and only when the pool allocationState is Steady.
                                                                                                                                                                                                                                                                                                                                                                          	ResizeErrors          *[]ResizeError `json:"resizeErrors,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	CurrentDedicatedNodes *int32         `json:"currentDedicatedNodes,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// CurrentLowPriorityNodes - Low-priority compute nodes which have been preempted are included in this count.
                                                                                                                                                                                                                                                                                                                                                                          	CurrentLowPriorityNodes *int32 `json:"currentLowPriorityNodes,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	TargetDedicatedNodes    *int32 `json:"targetDedicatedNodes,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	TargetLowPriorityNodes  *int32 `json:"targetLowPriorityNodes,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// EnableAutoScale - If false, at least one of targetDedicateNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the pool automatically resizes according to the formula. The default value is false.
                                                                                                                                                                                                                                                                                                                                                                          	EnableAutoScale *bool `json:"enableAutoScale,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// AutoScaleFormula - This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
                                                                                                                                                                                                                                                                                                                                                                          	AutoScaleFormula *string `json:"autoScaleFormula,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// AutoScaleEvaluationInterval - This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
                                                                                                                                                                                                                                                                                                                                                                          	AutoScaleEvaluationInterval *string `json:"autoScaleEvaluationInterval,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// AutoScaleRun - This property is set only if the pool automatically scales, i.e. enableAutoScale is true.
                                                                                                                                                                                                                                                                                                                                                                          	AutoScaleRun *AutoScaleRun `json:"autoScaleRun,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// EnableInterNodeCommunication - 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"`
                                                                                                                                                                                                                                                                                                                                                                          	NetworkConfiguration         *NetworkConfiguration `json:"networkConfiguration,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	StartTask                    *StartTask            `json:"startTask,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// CertificateReferences - 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) and certificates are placed in that directory.
                                                                                                                                                                                                                                                                                                                                                                          	CertificateReferences        *[]CertificateReference        `json:"certificateReferences,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	ApplicationPackageReferences *[]ApplicationPackageReference `json:"applicationPackageReferences,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	// ApplicationLicenses - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
                                                                                                                                                                                                                                                                                                                                                                          	ApplicationLicenses  *[]string             `json:"applicationLicenses,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	MaxTasksPerNode      *int32                `json:"maxTasksPerNode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	UserAccounts         *[]UserAccount        `json:"userAccounts,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	Metadata             *[]MetadataItem       `json:"metadata,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          	Stats                *PoolStatistics       `json:"stats,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                            CloudPool ...

                                                                                                                                                                                                                                                                                                                                                                            type CloudPoolListResult

                                                                                                                                                                                                                                                                                                                                                                            type CloudPoolListResult struct {
                                                                                                                                                                                                                                                                                                                                                                            	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                            	Value             *[]CloudPool `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            	OdataNextLink     *string      `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                              CloudPoolListResult ...

                                                                                                                                                                                                                                                                                                                                                                              func (CloudPoolListResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                                                              func (cplr CloudPoolListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                                                                IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                                                                type CloudPoolListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                type CloudPoolListResultIterator struct {
                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                  CloudPoolListResultIterator provides access to a complete listing of CloudPool values.

                                                                                                                                                                                                                                                                                                                                                                                  func NewCloudPoolListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                  func NewCloudPoolListResultIterator(page CloudPoolListResultPage) CloudPoolListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                    Creates a new instance of the CloudPoolListResultIterator type.

                                                                                                                                                                                                                                                                                                                                                                                    func (*CloudPoolListResultIterator) Next

                                                                                                                                                                                                                                                                                                                                                                                    func (iter *CloudPoolListResultIterator) Next() error

                                                                                                                                                                                                                                                                                                                                                                                      Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                      func (*CloudPoolListResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                      func (iter *CloudPoolListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                        NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                        func (CloudPoolListResultIterator) NotDone

                                                                                                                                                                                                                                                                                                                                                                                        func (iter CloudPoolListResultIterator) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                          NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                          func (CloudPoolListResultIterator) Response

                                                                                                                                                                                                                                                                                                                                                                                            Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                            func (CloudPoolListResultIterator) Value

                                                                                                                                                                                                                                                                                                                                                                                              Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                                                                                                                              type CloudPoolListResultPage

                                                                                                                                                                                                                                                                                                                                                                                              type CloudPoolListResultPage struct {
                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                CloudPoolListResultPage contains a page of CloudPool values.

                                                                                                                                                                                                                                                                                                                                                                                                func NewCloudPoolListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                func NewCloudPoolListResultPage(cur CloudPoolListResult, getNextPage func(context.Context, CloudPoolListResult) (CloudPoolListResult, error)) CloudPoolListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                  Creates a new instance of the CloudPoolListResultPage type.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*CloudPoolListResultPage) Next

                                                                                                                                                                                                                                                                                                                                                                                                  func (page *CloudPoolListResultPage) Next() error

                                                                                                                                                                                                                                                                                                                                                                                                    Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*CloudPoolListResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                    func (page *CloudPoolListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                                      NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                                      func (CloudPoolListResultPage) NotDone

                                                                                                                                                                                                                                                                                                                                                                                                      func (page CloudPoolListResultPage) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                                        NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                                        func (CloudPoolListResultPage) Response

                                                                                                                                                                                                                                                                                                                                                                                                          Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                                          func (CloudPoolListResultPage) Values

                                                                                                                                                                                                                                                                                                                                                                                                          func (page CloudPoolListResultPage) Values() []CloudPool

                                                                                                                                                                                                                                                                                                                                                                                                            Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                                                                                                                            type CloudServiceConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                            type CloudServiceConfiguration struct {
                                                                                                                                                                                                                                                                                                                                                                                                            	// OsFamily - 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. 5 - OS Family 5, equivalent to Windows Server 2016. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases).
                                                                                                                                                                                                                                                                                                                                                                                                            	OsFamily *string `json:"osFamily,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                            	// TargetOSVersion - The default value is * which specifies the latest operating system version for the specified OS family.
                                                                                                                                                                                                                                                                                                                                                                                                            	TargetOSVersion *string `json:"targetOSVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                            	// CurrentOSVersion - READ-ONLY; 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"`
                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                              CloudServiceConfiguration ...

                                                                                                                                                                                                                                                                                                                                                                                                              func (CloudServiceConfiguration) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                              func (csc CloudServiceConfiguration) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                MarshalJSON is the custom marshaler for CloudServiceConfiguration.

                                                                                                                                                                                                                                                                                                                                                                                                                type CloudTask

                                                                                                                                                                                                                                                                                                                                                                                                                type CloudTask struct {
                                                                                                                                                                                                                                                                                                                                                                                                                	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ID - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// DisplayName - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                	URL         *string `json:"url,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ETag - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                	LastModified *date.Time `json:"lastModified,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	CreationTime *date.Time `json:"creationTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ExitConditions - How the Batch service should respond when the task completes.
                                                                                                                                                                                                                                                                                                                                                                                                                	ExitConditions *ExitConditions `json:"exitConditions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// State - Possible values include: 'TaskStateActive', 'TaskStatePreparing', 'TaskStateRunning', 'TaskStateCompleted'
                                                                                                                                                                                                                                                                                                                                                                                                                	State               TaskState  `json:"state,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	StateTransitionTime *date.Time `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// PreviousState - This property is not set if the task is in its initial Active state. Possible values include: 'TaskStateActive', 'TaskStatePreparing', 'TaskStateRunning', 'TaskStateCompleted'
                                                                                                                                                                                                                                                                                                                                                                                                                	PreviousState TaskState `json:"previousState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// PreviousStateTransitionTime - This property is not set if the task is in its initial Active state.
                                                                                                                                                                                                                                                                                                                                                                                                                	PreviousStateTransitionTime *date.Time `json:"previousStateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// CommandLine - 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. If the command line refers to file paths, it should use a relative path (relative to the task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
                                                                                                                                                                                                                                                                                                                                                                                                                	CommandLine *string `json:"commandLine,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ContainerSettings - If the pool that will run this task has containerConfiguration set, this must be set as well. If the pool that will run this task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
                                                                                                                                                                                                                                                                                                                                                                                                                	ContainerSettings *TaskContainerSettings `json:"containerSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ResourceFiles - For multi-instance tasks, the resource files will only be downloaded to the compute node on which the primary task is executed. There is a maximum size for the list of resource files.  When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.
                                                                                                                                                                                                                                                                                                                                                                                                                	ResourceFiles *[]ResourceFile `json:"resourceFiles,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// OutputFiles - For multi-instance tasks, the files will only be uploaded from the compute node on which the primary task is executed.
                                                                                                                                                                                                                                                                                                                                                                                                                	OutputFiles         *[]OutputFile         `json:"outputFiles,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	EnvironmentSettings *[]EnvironmentSetting `json:"environmentSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	AffinityInfo        *AffinityInformation  `json:"affinityInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	Constraints         *TaskConstraints      `json:"constraints,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// UserIdentity - If omitted, the task runs as a non-administrative user unique to the task.
                                                                                                                                                                                                                                                                                                                                                                                                                	UserIdentity          *UserIdentity             `json:"userIdentity,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	ExecutionInfo         *TaskExecutionInformation `json:"executionInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	NodeInfo              *ComputeNodeInformation   `json:"nodeInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	MultiInstanceSettings *MultiInstanceSettings    `json:"multiInstanceSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	Stats                 *TaskStatistics           `json:"stats,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// DependsOn - This task will not be scheduled until all tasks that it depends on have completed successfully. If any of those tasks fail and exhaust their retry counts, this task will never be scheduled.
                                                                                                                                                                                                                                                                                                                                                                                                                	DependsOn *TaskDependencies `json:"dependsOn,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// ApplicationPackageReferences - Application packages are downloaded and deployed to a shared directory, not the task working 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.
                                                                                                                                                                                                                                                                                                                                                                                                                	ApplicationPackageReferences *[]ApplicationPackageReference `json:"applicationPackageReferences,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                	// AuthenticationTokenSettings - If this property is set, the Batch service provides the task with an authentication token which can be used to authenticate Batch service operations without requiring an account access key. The token is provided via the AZ_BATCH_AUTHENTICATION_TOKEN environment variable. The operations that the task can carry out using the token depend on the settings. For example, a task can request job permissions in order to add other tasks to the job, or check the status of the job or of other tasks under the job.
                                                                                                                                                                                                                                                                                                                                                                                                                	AuthenticationTokenSettings *AuthenticationTokenSettings `json:"authenticationTokenSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                  CloudTask batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing.

                                                                                                                                                                                                                                                                                                                                                                                                                  type CloudTaskListResult

                                                                                                                                                                                                                                                                                                                                                                                                                  type CloudTaskListResult struct {
                                                                                                                                                                                                                                                                                                                                                                                                                  	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                  	Value             *[]CloudTask `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                  	OdataNextLink     *string      `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                    CloudTaskListResult ...

                                                                                                                                                                                                                                                                                                                                                                                                                    func (CloudTaskListResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                                                                                                    func (ctlr CloudTaskListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                                                                                                      IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                                                                                                      type CloudTaskListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                      type CloudTaskListResultIterator struct {
                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                        CloudTaskListResultIterator provides access to a complete listing of CloudTask values.

                                                                                                                                                                                                                                                                                                                                                                                                                        func NewCloudTaskListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                        func NewCloudTaskListResultIterator(page CloudTaskListResultPage) CloudTaskListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                          Creates a new instance of the CloudTaskListResultIterator type.

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*CloudTaskListResultIterator) Next

                                                                                                                                                                                                                                                                                                                                                                                                                          func (iter *CloudTaskListResultIterator) Next() error

                                                                                                                                                                                                                                                                                                                                                                                                                            Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*CloudTaskListResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                            func (iter *CloudTaskListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                                                              NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                                                              func (CloudTaskListResultIterator) NotDone

                                                                                                                                                                                                                                                                                                                                                                                                                              func (iter CloudTaskListResultIterator) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                                                                func (CloudTaskListResultIterator) Response

                                                                                                                                                                                                                                                                                                                                                                                                                                  Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (CloudTaskListResultIterator) Value

                                                                                                                                                                                                                                                                                                                                                                                                                                    Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                                                                                                                                                                    type CloudTaskListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                                                    type CloudTaskListResultPage struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                      CloudTaskListResultPage contains a page of CloudTask values.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewCloudTaskListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewCloudTaskListResultPage(cur CloudTaskListResult, getNextPage func(context.Context, CloudTaskListResult) (CloudTaskListResult, error)) CloudTaskListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                                                        Creates a new instance of the CloudTaskListResultPage type.

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*CloudTaskListResultPage) Next

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (page *CloudTaskListResultPage) Next() error

                                                                                                                                                                                                                                                                                                                                                                                                                                          Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*CloudTaskListResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (page *CloudTaskListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                            NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (CloudTaskListResultPage) NotDone

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (page CloudTaskListResultPage) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                              NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (CloudTaskListResultPage) Response

                                                                                                                                                                                                                                                                                                                                                                                                                                                Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (CloudTaskListResultPage) Values

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (page CloudTaskListResultPage) Values() []CloudTask

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type CloudTaskListSubtasksResult

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type CloudTaskListSubtasksResult struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Value             *[]SubtaskInformation `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    CloudTaskListSubtasksResult ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ComputeNode struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ID - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	URL *string `json:"url,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// State - The low-priority node has been preempted. Tasks which were running on the node when it was preempted will be rescheduled when another node becomes available. Possible values include: 'Idle', 'Rebooting', 'Reimaging', 'Running', 'Unusable', 'Creating', 'Starting', 'WaitingForStartTask', 'StartTaskFailed', 'Unknown', 'LeavingPool', 'Offline', 'Preempted'
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	State ComputeNodeState `json:"state,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SchedulingState - Possible values include: 'Enabled', 'Disabled'
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SchedulingState     SchedulingState `json:"schedulingState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	StateTransitionTime *date.Time      `json:"stateTransitionTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// LastBootTime - This property may not be present if the node state is unusable.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	LastBootTime   *date.Time `json:"lastBootTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AllocationTime *date.Time `json:"allocationTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// IPAddress - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AffinityID - Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AffinityID *string `json:"affinityId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// VMSize - For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	TotalTasksRun       *int32  `json:"totalTasksRun,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	RunningTasksCount   *int32  `json:"runningTasksCount,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	TotalTasksSucceeded *int32  `json:"totalTasksSucceeded,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// RecentTasks - This property is present only if at least one task has run on this node since it was assigned to the pool.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	RecentTasks   *[]TaskInformation    `json:"recentTasks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	StartTask     *StartTask            `json:"startTask,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	StartTaskInfo *StartTaskInformation `json:"startTaskInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CertificateReferences - 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) and certificates are placed in that directory.
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CertificateReferences *[]CertificateReference           `json:"certificateReferences,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Errors                *[]ComputeNodeError               `json:"errors,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	IsDedicated           *bool                             `json:"isDedicated,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    	EndpointConfiguration *ComputeNodeEndpointConfiguration `json:"endpointConfiguration,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                      ComputeNode ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeClient struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      	BaseClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                        ComputeNodeClient is the a client for issuing REST requests to the Azure Batch service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewComputeNodeClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewComputeNodeClient() ComputeNodeClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                          NewComputeNodeClient creates an instance of the ComputeNodeClient client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func NewComputeNodeClientWithBaseURI

                                                                                                                                                                                                                                                                                                                                                                                                                                                          func NewComputeNodeClientWithBaseURI(baseURI string) ComputeNodeClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                            NewComputeNodeClientWithBaseURI creates an instance of the ComputeNodeClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) AddUser

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) AddUser(ctx context.Context, poolID string, nodeID string, userParameter ComputeNodeUser, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              AddUser you can add a user account to a node only when it is in the idle or running state. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the machine on which you want to create a user account. userParameter - the user account to be created. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) AddUserPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) AddUserPreparer(ctx context.Context, poolID string, nodeID string, userParameter ComputeNodeUser, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                AddUserPreparer prepares the AddUser request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) AddUserResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) AddUserResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AddUserResponder handles the response to the AddUser request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) AddUserSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) AddUserSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AddUserSender sends the AddUser request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) DeleteUser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) DeleteUser(ctx context.Context, poolID string, nodeID string, userName string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteUser you can delete a user account to a node only when it is in the idle or running state. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the machine on which you want to delete a user account. userName - the name of the user account to delete. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) DeleteUserPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) DeleteUserPreparer(ctx context.Context, poolID string, nodeID string, userName string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteUserPreparer prepares the DeleteUser request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) DeleteUserResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) DeleteUserResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteUserResponder handles the response to the DeleteUser request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) DeleteUserSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) DeleteUserSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteUserSender sends the DeleteUser request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) DisableScheduling

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) DisableScheduling(ctx context.Context, poolID string, nodeID string, nodeDisableSchedulingParameter *NodeDisableSchedulingParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DisableScheduling you can disable task scheduling on a node only if its current scheduling state is enabled. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node on which you want to disable task scheduling. nodeDisableSchedulingParameter - the parameters for the request. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) DisableSchedulingPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) DisableSchedulingPreparer(ctx context.Context, poolID string, nodeID string, nodeDisableSchedulingParameter *NodeDisableSchedulingParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DisableSchedulingPreparer prepares the DisableScheduling request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) DisableSchedulingResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) DisableSchedulingResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DisableSchedulingResponder handles the response to the DisableScheduling request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) DisableSchedulingSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) DisableSchedulingSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DisableSchedulingSender sends the DisableScheduling request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) EnableScheduling

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) EnableScheduling(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      EnableScheduling you can enable task scheduling on a node only if its current scheduling state is disabled Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node on which you want to enable task scheduling. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) EnableSchedulingPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) EnableSchedulingPreparer(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        EnableSchedulingPreparer prepares the EnableScheduling request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) EnableSchedulingResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) EnableSchedulingResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          EnableSchedulingResponder handles the response to the EnableScheduling request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) EnableSchedulingSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) EnableSchedulingSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            EnableSchedulingSender sends the EnableScheduling request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) Get(ctx context.Context, poolID string, nodeID string, selectParameter string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ComputeNode, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Get sends the get request. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node that you want to get information about. selectParameter - an OData $select clause. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) GetPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) GetPreparer(ctx context.Context, poolID string, nodeID string, selectParameter string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetPreparer prepares the Get request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) GetRemoteDesktop

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) GetRemoteDesktop(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetRemoteDesktop before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node for which you want to get the Remote Desktop Protocol file. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) GetRemoteDesktopPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) GetRemoteDesktopPreparer(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetRemoteDesktopPreparer prepares the GetRemoteDesktop request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) GetRemoteDesktopResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) GetRemoteDesktopResponder(resp *http.Response) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetRemoteDesktopResponder handles the response to the GetRemoteDesktop request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) GetRemoteDesktopSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) GetRemoteDesktopSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetRemoteDesktopSender sends the GetRemoteDesktop request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) GetRemoteLoginSettings

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) GetRemoteLoginSettings(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ComputeNodeGetRemoteLoginSettingsResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetRemoteLoginSettings before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node for which to obtain the remote login settings. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) GetRemoteLoginSettingsPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) GetRemoteLoginSettingsPreparer(ctx context.Context, poolID string, nodeID string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetRemoteLoginSettingsPreparer prepares the GetRemoteLoginSettings request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) GetRemoteLoginSettingsResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) GetRemoteLoginSettingsResponder(resp *http.Response) (result ComputeNodeGetRemoteLoginSettingsResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetRemoteLoginSettingsResponder handles the response to the GetRemoteLoginSettings request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) GetRemoteLoginSettingsSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) GetRemoteLoginSettingsSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetRemoteLoginSettingsSender sends the GetRemoteLoginSettings request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) GetResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) GetResponder(resp *http.Response) (result ComputeNode, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetResponder handles the response to the Get request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) GetSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) GetSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) List(ctx context.Context, poolID string, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ComputeNodeListResultPage, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      List sends the list request. Parameters: poolID - the ID of the pool from which you want to list nodes. filter - an OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool. selectParameter - an OData $select clause. maxResults - the maximum number of items to return in the response. A maximum of 1000 nodes can be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) ListComplete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) ListComplete(ctx context.Context, poolID string, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result ComputeNodeListResultIterator, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ListComplete enumerates all values, automatically crossing page boundaries as required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) ListPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) ListPreparer(ctx context.Context, poolID string, filter string, selectParameter string, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ListPreparer prepares the List request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) ListResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) ListResponder(resp *http.Response) (result ComputeNodeListResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ListResponder handles the response to the List request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) ListSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) ListSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ListSender sends the List request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) Reboot

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) Reboot(ctx context.Context, poolID string, nodeID string, nodeRebootParameter *NodeRebootParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Reboot you can restart a node only if it is in an idle or running state. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node that you want to restart. nodeRebootParameter - the parameters for the request. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) RebootPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) RebootPreparer(ctx context.Context, poolID string, nodeID string, nodeRebootParameter *NodeRebootParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RebootPreparer prepares the Reboot request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) RebootResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) RebootResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RebootResponder handles the response to the Reboot request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) RebootSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) RebootSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      RebootSender sends the Reboot request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) Reimage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) Reimage(ctx context.Context, poolID string, nodeID string, nodeReimageParameter *NodeReimageParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Reimage you can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node that you want to restart. nodeReimageParameter - the parameters for the request. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) ReimagePreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) ReimagePreparer(ctx context.Context, poolID string, nodeID string, nodeReimageParameter *NodeReimageParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ReimagePreparer prepares the Reimage request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) ReimageResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) ReimageSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) ReimageSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeClient) UpdateUser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client ComputeNodeClient) UpdateUser(ctx context.Context, poolID string, nodeID string, userName string, nodeUpdateUserParameter NodeUpdateUserParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                UpdateUser this operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the machine on which you want to update a user account. userName - the name of the user account to update. nodeUpdateUserParameter - the parameters for the request. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeClient) UpdateUserPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client ComputeNodeClient) UpdateUserPreparer(ctx context.Context, poolID string, nodeID string, userName string, nodeUpdateUserParameter NodeUpdateUserParameter, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  UpdateUserPreparer prepares the UpdateUser request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ComputeNodeClient) UpdateUserResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client ComputeNodeClient) UpdateUserResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    UpdateUserResponder handles the response to the UpdateUser request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (ComputeNodeClient) UpdateUserSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client ComputeNodeClient) UpdateUserSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      UpdateUserSender sends the UpdateUser request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (ComputeNodeClient) UploadBatchServiceLogs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client ComputeNodeClient) UploadBatchServiceLogs(ctx context.Context, poolID string, nodeID string, uploadBatchServiceLogsConfiguration UploadBatchServiceLogsConfiguration, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result UploadBatchServiceLogsResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        UploadBatchServiceLogs this is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node from which you want to upload the Azure Batch service log files. uploadBatchServiceLogsConfiguration - the Azure Batch service log files upload configuration. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeClient) UploadBatchServiceLogsPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client ComputeNodeClient) UploadBatchServiceLogsPreparer(ctx context.Context, poolID string, nodeID string, uploadBatchServiceLogsConfiguration UploadBatchServiceLogsConfiguration, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          UploadBatchServiceLogsPreparer prepares the UploadBatchServiceLogs request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeClient) UploadBatchServiceLogsResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client ComputeNodeClient) UploadBatchServiceLogsResponder(resp *http.Response) (result UploadBatchServiceLogsResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            UploadBatchServiceLogsResponder handles the response to the UploadBatchServiceLogs request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeClient) UploadBatchServiceLogsSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client ComputeNodeClient) UploadBatchServiceLogsSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              UploadBatchServiceLogsSender sends the UploadBatchServiceLogs request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeDeallocationOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeDeallocationOption string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ComputeNodeDeallocationOption enumerates the values for compute node deallocation option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Requeue Terminate running task processes and requeue the tasks. The tasks will run again when a node is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// available. Remove nodes as soon as tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Requeue ComputeNodeDeallocationOption = "requeue"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// RetainedData Allow currently running tasks to complete, then wait for all task data retention periods to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	RetainedData ComputeNodeDeallocationOption = "retaineddata"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// TaskCompletion Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// nodes when all tasks have completed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	TaskCompletion ComputeNodeDeallocationOption = "taskcompletion"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Terminate Terminate running tasks. The tasks will be completed with failureInfo indicating that they
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Terminate ComputeNodeDeallocationOption = "terminate"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleComputeNodeDeallocationOptionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleComputeNodeDeallocationOptionValues() []ComputeNodeDeallocationOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PossibleComputeNodeDeallocationOptionValues returns an array of possible values for the ComputeNodeDeallocationOption const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeEndpointConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeEndpointConfiguration struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	InboundEndpoints *[]InboundEndpoint `json:"inboundEndpoints,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ComputeNodeEndpointConfiguration ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ComputeNodeError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ComputeNodeError struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Code         *string          `json:"code,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Message      *string          `json:"message,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ErrorDetails *[]NameValuePair `json:"errorDetails,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ComputeNodeError ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeFillType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeFillType string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ComputeNodeFillType enumerates the values for compute node fill type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Pack As many tasks as possible (maxTasksPerNode) should be assigned to each node in the pool before any
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// tasks are assigned to the next node in the pool.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Pack ComputeNodeFillType = "pack"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Spread Tasks should be assigned evenly across all nodes in the pool.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Spread ComputeNodeFillType = "spread"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func PossibleComputeNodeFillTypeValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func PossibleComputeNodeFillTypeValues() []ComputeNodeFillType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PossibleComputeNodeFillTypeValues returns an array of possible values for the ComputeNodeFillType const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ComputeNodeGetRemoteLoginSettingsResult

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ComputeNodeGetRemoteLoginSettingsResult struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	autorest.Response    `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	RemoteLoginIPAddress *string `json:"remoteLoginIPAddress,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	RemoteLoginPort      *int32  `json:"remoteLoginPort,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ComputeNodeGetRemoteLoginSettingsResult ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ComputeNodeInformation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ComputeNodeInformation struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	AffinityID           *string `json:"affinityId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NodeURL              *string `json:"nodeUrl,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	PoolID               *string `json:"poolId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NodeID               *string `json:"nodeId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	TaskRootDirectory    *string `json:"taskRootDirectory,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	TaskRootDirectoryURL *string `json:"taskRootDirectoryUrl,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ComputeNodeInformation ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeListResult

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeListResult struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Value             *[]ComputeNode `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	OdataNextLink     *string        `json:"odata.nextLink,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ComputeNodeListResult ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (ComputeNodeListResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (cnlr ComputeNodeListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeListResultIterator struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ComputeNodeListResultIterator provides access to a complete listing of ComputeNode values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func NewComputeNodeListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func NewComputeNodeListResultIterator(page ComputeNodeListResultPage) ComputeNodeListResultIterator

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Creates a new instance of the ComputeNodeListResultIterator type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ComputeNodeListResultIterator) Next

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (iter *ComputeNodeListResultIterator) Next() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ComputeNodeListResultIterator) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (iter *ComputeNodeListResultIterator) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeListResultIterator) NotDone

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (iter ComputeNodeListResultIterator) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NotDone returns true if the enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeListResultIterator) Response

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (ComputeNodeListResultIterator) Value

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ComputeNodeListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ComputeNodeListResultPage struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ComputeNodeListResultPage contains a page of ComputeNode values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func NewComputeNodeListResultPage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Creates a new instance of the ComputeNodeListResultPage type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ComputeNodeListResultPage) Next

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (page *ComputeNodeListResultPage) Next() error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ComputeNodeListResultPage) NextWithContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (page *ComputeNodeListResultPage) NextWithContext(ctx context.Context) (err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (ComputeNodeListResultPage) NotDone

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (page ComputeNodeListResultPage) NotDone() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          NotDone returns true if the page enumeration should be started or is not yet complete.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (ComputeNodeListResultPage) Response

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Response returns the raw server response from the last page request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (ComputeNodeListResultPage) Values

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (page ComputeNodeListResultPage) Values() []ComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Values returns the slice of values for the current page or nil if there are no values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeRebootOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ComputeNodeRebootOption string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ComputeNodeRebootOption enumerates the values for compute node reboot option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ComputeNodeRebootOptionRequeue Terminate running task processes and requeue the tasks. The tasks will
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// run again when a node is available. Restart the node as soon as tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ComputeNodeRebootOptionRequeue ComputeNodeRebootOption = "requeue"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ComputeNodeRebootOptionRetainedData Allow currently running tasks to complete, then wait for all task
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// data retention periods to expire. Schedule no new tasks while waiting. Restart the node when all task
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// retention periods have expired.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ComputeNodeRebootOptionRetainedData ComputeNodeRebootOption = "retaineddata"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ComputeNodeRebootOptionTaskCompletion Allow currently running tasks to complete. Schedule no new tasks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// while waiting. Restart the node when all tasks have completed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ComputeNodeRebootOptionTaskCompletion ComputeNodeRebootOption = "taskcompletion"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ComputeNodeRebootOptionTerminate Terminate running tasks. The tasks will be completed with failureInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// indicating that they were terminated, and will not run again. Restart the node as soon as tasks have
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ComputeNodeRebootOptionTerminate ComputeNodeRebootOption = "terminate"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleComputeNodeRebootOptionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleComputeNodeRebootOptionValues() []ComputeNodeRebootOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PossibleComputeNodeRebootOptionValues returns an array of possible values for the ComputeNodeRebootOption const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeReimageOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ComputeNodeReimageOption string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ComputeNodeReimageOption enumerates the values for compute node reimage option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ComputeNodeReimageOptionRequeue Terminate running task processes and requeue the tasks. The tasks will
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// run again when a node is available. Reimage the node as soon as tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ComputeNodeReimageOptionRequeue ComputeNodeReimageOption = "requeue"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ComputeNodeReimageOptionRetainedData Allow currently running tasks to complete, then wait for all task
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// data retention periods to expire. Schedule no new tasks while waiting. Reimage the node when all task
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// retention periods have expired.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ComputeNodeReimageOptionRetainedData ComputeNodeReimageOption = "retaineddata"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ComputeNodeReimageOptionTaskCompletion Allow currently running tasks to complete. Schedule no new tasks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// while waiting. Reimage the node when all tasks have completed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ComputeNodeReimageOptionTaskCompletion ComputeNodeReimageOption = "taskcompletion"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ComputeNodeReimageOptionTerminate Terminate running tasks. The tasks will be completed with failureInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// indicating that they were terminated, and will not run again. Reimage the node as soon as tasks have
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ComputeNodeReimageOptionTerminate ComputeNodeReimageOption = "terminate"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func PossibleComputeNodeReimageOptionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func PossibleComputeNodeReimageOptionValues() []ComputeNodeReimageOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      PossibleComputeNodeReimageOptionValues returns an array of possible values for the ComputeNodeReimageOption const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeState

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ComputeNodeState string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ComputeNodeState enumerates the values for compute node state.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Creating The Batch service has obtained the underlying virtual machine from Azure Compute, but it has
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// not yet started to join the pool.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Creating ComputeNodeState = "creating"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Idle The node is not currently running a task.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Idle ComputeNodeState = "idle"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// LeavingPool The node is leaving the pool, either because the user explicitly removed it or because the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// pool is resizing or autoscaling down.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	LeavingPool ComputeNodeState = "leavingpool"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Offline The node is not currently running a task, and scheduling of new tasks to the node is disabled.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Offline ComputeNodeState = "offline"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Preempted The low-priority node has been preempted. Tasks which were running on the node when it was
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// preempted will be rescheduled when another node becomes available.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Preempted ComputeNodeState = "preempted"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Rebooting The node is rebooting.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Rebooting ComputeNodeState = "rebooting"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Reimaging The node is reimaging.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Reimaging ComputeNodeState = "reimaging"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Running The node is running one or more tasks (other than a start task).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Running ComputeNodeState = "running"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Starting The Batch service is starting on the underlying virtual machine.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Starting ComputeNodeState = "starting"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// StartTaskFailed The start task has failed on the compute node (and exhausted all retries), and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// waitForSuccess is set. The node is not usable for running tasks.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	StartTaskFailed ComputeNodeState = "starttaskfailed"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Unknown The Batch service has lost contact with the node, and does not know its true state.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Unknown ComputeNodeState = "unknown"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Unusable The node cannot be used for task execution due to errors.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Unusable ComputeNodeState = "unusable"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// WaitingForStartTask The start task has started running on the compute node, but waitForSuccess is set
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// and the start task has not yet completed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	WaitingForStartTask ComputeNodeState = "waitingforstarttask"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func PossibleComputeNodeStateValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func PossibleComputeNodeStateValues() []ComputeNodeState

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PossibleComputeNodeStateValues returns an array of possible values for the ComputeNodeState const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ComputeNodeUser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ComputeNodeUser struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Name *string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// IsAdmin - The default value is false.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	IsAdmin *bool `json:"isAdmin,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ExpiryTime - 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 *date.Time `json:"expiryTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Password - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// SSHPublicKey - 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 ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ContainerConfiguration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ContainerConfiguration struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Type *string `json:"type,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ContainerImageNames - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ContainerImageNames *[]string `json:"containerImageNames,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ContainerRegistries - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ContainerRegistries *[]ContainerRegistry `json:"containerRegistries,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ContainerConfiguration ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ContainerRegistry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ContainerRegistry struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// RegistryServer - If omitted, the default is "docker.io".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	RegistryServer *string `json:"registryServer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	UserName       *string `json:"username,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Password       *string `json:"password,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ContainerRegistry ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type DataDisk

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type DataDisk struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Lun - The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Lun *int32 `json:"lun,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Caching - The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Caching    CachingType `json:"caching,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	DiskSizeGB *int32      `json:"diskSizeGB,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// StorageAccountType - If omitted, the default is "standard_lrs". Possible values include: 'StandardLRS', 'PremiumLRS'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DataDisk ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DeleteCertificateError

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type DeleteCertificateError struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Code    *string `json:"code,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Message *string `json:"message,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Values - 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,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteCertificateError ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DependencyAction

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type DependencyAction string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DependencyAction enumerates the values for dependency action.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Block Block the task's dependencies.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Block DependencyAction = "block"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Satisfy Satisfy the task's dependencies.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Satisfy DependencyAction = "satisfy"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func PossibleDependencyActionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func PossibleDependencyActionValues() []DependencyAction

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PossibleDependencyActionValues returns an array of possible values for the DependencyAction const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type DisableComputeNodeSchedulingOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type DisableComputeNodeSchedulingOption string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DisableComputeNodeSchedulingOption enumerates the values for disable compute node scheduling option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// DisableComputeNodeSchedulingOptionRequeue Terminate running task processes and requeue the tasks. The
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// tasks may run again on other compute nodes, or when task scheduling is re-enabled on this node. Enter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// offline state as soon as tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	DisableComputeNodeSchedulingOptionRequeue DisableComputeNodeSchedulingOption = "requeue"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// DisableComputeNodeSchedulingOptionTaskCompletion Allow currently running tasks to complete. Schedule no
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// new tasks while waiting. Enter offline state when all tasks have completed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	DisableComputeNodeSchedulingOptionTaskCompletion DisableComputeNodeSchedulingOption = "taskcompletion"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// DisableComputeNodeSchedulingOptionTerminate Terminate running tasks. The tasks will be completed with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// failureInfo indicating that they were terminated, and will not run again. Enter offline state as soon as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// tasks have been terminated.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	DisableComputeNodeSchedulingOptionTerminate DisableComputeNodeSchedulingOption = "terminate"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func PossibleDisableComputeNodeSchedulingOptionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func PossibleDisableComputeNodeSchedulingOptionValues() []DisableComputeNodeSchedulingOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            PossibleDisableComputeNodeSchedulingOptionValues returns an array of possible values for the DisableComputeNodeSchedulingOption const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type DisableJobOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type DisableJobOption string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DisableJobOption enumerates the values for disable job option.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// DisableJobOptionRequeue Terminate running tasks and requeue them. The tasks will run again when the job
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// is enabled.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	DisableJobOptionRequeue DisableJobOption = "requeue"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// DisableJobOptionTerminate Terminate running tasks. The tasks will be completed with failureInfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// indicating that they were terminated, and will not run again.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	DisableJobOptionTerminate DisableJobOption = "terminate"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// DisableJobOptionWait Allow currently running tasks to complete.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	DisableJobOptionWait DisableJobOption = "wait"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func PossibleDisableJobOptionValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func PossibleDisableJobOptionValues() []DisableJobOption

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                PossibleDisableJobOptionValues returns an array of possible values for the DisableJobOption const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ElevationLevel

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ElevationLevel string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ElevationLevel enumerates the values for elevation level.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Admin The user is a user with elevated access and operates with full Administrator permissions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Admin ElevationLevel = "admin"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NonAdmin The user is a standard user without elevated access.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NonAdmin ElevationLevel = "nonadmin"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func PossibleElevationLevelValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func PossibleElevationLevelValues() []ElevationLevel

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    PossibleElevationLevelValues returns an array of possible values for the ElevationLevel const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type EnvironmentSetting

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type EnvironmentSetting struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Name  *string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Value *string `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      EnvironmentSetting ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type Error struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Code    *string        `json:"code,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Message *ErrorMessage  `json:"message,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Values  *[]ErrorDetail `json:"values,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Error ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ErrorCategory

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ErrorCategory string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ErrorCategory enumerates the values for error category.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ServerError The error is due to an internal server issue.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ServerError ErrorCategory = "servererror"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// UserError The error is due to a user issue, such as misconfiguration.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	UserError ErrorCategory = "usererror"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func PossibleErrorCategoryValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func PossibleErrorCategoryValues() []ErrorCategory

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            PossibleErrorCategoryValues returns an array of possible values for the ErrorCategory const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ErrorDetail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ErrorDetail struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Key   *string `json:"key,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Value *string `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ErrorDetail ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ErrorMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ErrorMessage struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Lang  *string `json:"lang,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Value *string `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ErrorMessage ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ExitCodeMapping

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ExitCodeMapping struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Code        *int32       `json:"code,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ExitOptions *ExitOptions `json:"exitOptions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ExitCodeMapping ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ExitCodeRangeMapping

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ExitCodeRangeMapping struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Start       *int32       `json:"start,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	End         *int32       `json:"end,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ExitOptions *ExitOptions `json:"exitOptions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ExitCodeRangeMapping ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ExitConditions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ExitConditions struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ExitCodes          *[]ExitCodeMapping      `json:"exitCodes,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ExitCodeRanges     *[]ExitCodeRangeMapping `json:"exitCodeRanges,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	PreProcessingError *ExitOptions            `json:"preProcessingError,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FileUploadError - If the task exited with an exit code that was specified via exitCodes or exitCodeRanges, and then encountered a file upload error, then the action specified by the exit code takes precedence.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FileUploadError *ExitOptions `json:"fileUploadError,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Default - This value is used if the task exits with any nonzero exit code not listed in the exitCodes or exitCodeRanges collection, with a pre-processing error if the preProcessingError property is not present, or with a file upload error if the fileUploadError property is not present. If you want non-default behavior on exit code 0, you must list it explicitly using the exitCodes or exitCodeRanges collection.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Default *ExitOptions `json:"default,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ExitConditions ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ExitOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ExitOptions struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// JobAction - The default is none for exit code 0 and terminate for all other exit conditions. If the job's onTaskFailed property is noAction, then specifying this property returns an error and 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). Possible values include: 'JobActionNone', 'JobActionDisable', 'JobActionTerminate'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	JobAction JobAction `json:"jobAction,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// DependencyAction - The default is 'satisfy' for exit code 0, and 'block' for all other exit conditions. If the job's usesTaskDependencies property is set to false, then specifying the dependencyAction property returns an error and 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). Possible values include: 'Satisfy', 'Block'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	DependencyAction DependencyAction `json:"dependencyAction,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ExitOptions ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type FileClient struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	BaseClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          FileClient is the a client for issuing REST requests to the Azure Batch service.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func NewFileClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func NewFileClient() FileClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            NewFileClient creates an instance of the FileClient client.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewFileClientWithBaseURI

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewFileClientWithBaseURI(baseURI string) FileClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              NewFileClientWithBaseURI creates an instance of the FileClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (FileClient) DeleteFromComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client FileClient) DeleteFromComputeNode(ctx context.Context, poolID string, nodeID string, filePath string, recursive *bool, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DeleteFromComputeNode sends the delete from compute node request. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node from which you want to delete the file. filePath - the path to the file or directory that you want to delete. recursive - whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (FileClient) DeleteFromComputeNodePreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client FileClient) DeleteFromComputeNodePreparer(ctx context.Context, poolID string, nodeID string, filePath string, recursive *bool, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DeleteFromComputeNodePreparer prepares the DeleteFromComputeNode request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (FileClient) DeleteFromComputeNodeResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client FileClient) DeleteFromComputeNodeResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DeleteFromComputeNodeResponder handles the response to the DeleteFromComputeNode request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (FileClient) DeleteFromComputeNodeSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client FileClient) DeleteFromComputeNodeSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DeleteFromComputeNodeSender sends the DeleteFromComputeNode request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (FileClient) DeleteFromTask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client FileClient) DeleteFromTask(ctx context.Context, jobID string, taskID string, filePath string, recursive *bool, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DeleteFromTask sends the delete from task request. Parameters: jobID - the ID of the job that contains the task. taskID - the ID of the task whose file you want to delete. filePath - the path to the task file or directory that you want to delete. recursive - whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (FileClient) DeleteFromTaskPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client FileClient) DeleteFromTaskPreparer(ctx context.Context, jobID string, taskID string, filePath string, recursive *bool, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DeleteFromTaskPreparer prepares the DeleteFromTask request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (FileClient) DeleteFromTaskResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client FileClient) DeleteFromTaskResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DeleteFromTaskResponder handles the response to the DeleteFromTask request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (FileClient) DeleteFromTaskSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client FileClient) DeleteFromTaskSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DeleteFromTaskSender sends the DeleteFromTask request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (FileClient) GetFromComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client FileClient) GetFromComputeNode(ctx context.Context, poolID string, nodeID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ocpRange string, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetFromComputeNode returns the content of the specified compute node file. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node that contains the file. filePath - the path to the compute node file that you want to get the content of. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. ocpRange - the byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange. ifModifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time. ifUnmodifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (FileClient) GetFromComputeNodePreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client FileClient) GetFromComputeNodePreparer(ctx context.Context, poolID string, nodeID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ocpRange string, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetFromComputeNodePreparer prepares the GetFromComputeNode request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (FileClient) GetFromComputeNodeResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client FileClient) GetFromComputeNodeResponder(resp *http.Response) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetFromComputeNodeResponder handles the response to the GetFromComputeNode request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (FileClient) GetFromComputeNodeSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client FileClient) GetFromComputeNodeSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetFromComputeNodeSender sends the GetFromComputeNode request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (FileClient) GetFromTask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client FileClient) GetFromTask(ctx context.Context, jobID string, taskID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ocpRange string, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetFromTask returns the content of the specified task file. Parameters: jobID - the ID of the job that contains the task. taskID - the ID of the task whose file you want to retrieve. filePath - the path to the task file that you want to get the content of. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. ocpRange - the byte range to be retrieved. The default is to retrieve the entire file. The format is bytes=startRange-endRange. ifModifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time. ifUnmodifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (FileClient) GetFromTaskPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client FileClient) GetFromTaskPreparer(ctx context.Context, jobID string, taskID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ocpRange string, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetFromTaskPreparer prepares the GetFromTask request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (FileClient) GetFromTaskResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client FileClient) GetFromTaskResponder(resp *http.Response) (result ReadCloser, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetFromTaskResponder handles the response to the GetFromTask request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (FileClient) GetFromTaskSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client FileClient) GetFromTaskSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetFromTaskSender sends the GetFromTask request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (FileClient) GetPropertiesFromComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client FileClient) GetPropertiesFromComputeNode(ctx context.Context, poolID string, nodeID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GetPropertiesFromComputeNode gets the properties of the specified compute node file. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node that contains the file. filePath - the path to the compute node file that you want to get the properties of. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. ifModifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time. ifUnmodifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (FileClient) GetPropertiesFromComputeNodePreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client FileClient) GetPropertiesFromComputeNodePreparer(ctx context.Context, poolID string, nodeID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GetPropertiesFromComputeNodePreparer prepares the GetPropertiesFromComputeNode request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (FileClient) GetPropertiesFromComputeNodeResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client FileClient) GetPropertiesFromComputeNodeResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GetPropertiesFromComputeNodeResponder handles the response to the GetPropertiesFromComputeNode request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (FileClient) GetPropertiesFromComputeNodeSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client FileClient) GetPropertiesFromComputeNodeSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GetPropertiesFromComputeNodeSender sends the GetPropertiesFromComputeNode request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (FileClient) GetPropertiesFromTask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client FileClient) GetPropertiesFromTask(ctx context.Context, jobID string, taskID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GetPropertiesFromTask gets the properties of the specified task file. Parameters: jobID - the ID of the job that contains the task. taskID - the ID of the task whose file you want to get the properties of. filePath - the path to the task file that you want to get the properties of. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. ifModifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has been modified since the specified time. ifUnmodifiedSince - a timestamp indicating the last modified time of the resource known to the client. The operation will be performed only if the resource on the service has not been modified since the specified time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (FileClient) GetPropertiesFromTaskPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client FileClient) GetPropertiesFromTaskPreparer(ctx context.Context, jobID string, taskID string, filePath string, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123, ifModifiedSince *date.TimeRFC1123, ifUnmodifiedSince *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GetPropertiesFromTaskPreparer prepares the GetPropertiesFromTask request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (FileClient) GetPropertiesFromTaskResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client FileClient) GetPropertiesFromTaskResponder(resp *http.Response) (result autorest.Response, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GetPropertiesFromTaskResponder handles the response to the GetPropertiesFromTask request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (FileClient) GetPropertiesFromTaskSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client FileClient) GetPropertiesFromTaskSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GetPropertiesFromTaskSender sends the GetPropertiesFromTask request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (FileClient) ListFromComputeNode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client FileClient) ListFromComputeNode(ctx context.Context, poolID string, nodeID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result NodeFileListResultPage, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ListFromComputeNode sends the list from compute node request. Parameters: poolID - the ID of the pool that contains the compute node. nodeID - the ID of the compute node whose files you want to list. filter - an OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files. recursive - whether to list children of a directory. maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (FileClient) ListFromComputeNodeComplete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client FileClient) ListFromComputeNodeComplete(ctx context.Context, poolID string, nodeID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result NodeFileListResultIterator, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ListFromComputeNodeComplete enumerates all values, automatically crossing page boundaries as required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (FileClient) ListFromComputeNodePreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (client FileClient) ListFromComputeNodePreparer(ctx context.Context, poolID string, nodeID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ListFromComputeNodePreparer prepares the ListFromComputeNode request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (FileClient) ListFromComputeNodeResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (client FileClient) ListFromComputeNodeResponder(resp *http.Response) (result NodeFileListResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ListFromComputeNodeResponder handles the response to the ListFromComputeNode request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (FileClient) ListFromComputeNodeSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (client FileClient) ListFromComputeNodeSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ListFromComputeNodeSender sends the ListFromComputeNode request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (FileClient) ListFromTask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (client FileClient) ListFromTask(ctx context.Context, jobID string, taskID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result NodeFileListResultPage, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ListFromTask sends the list from task request. Parameters: jobID - the ID of the job that contains the task. taskID - the ID of the task whose files you want to list. filter - an OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files. recursive - whether to list children of the task directory. This parameter can be used in combination with the filter parameter to list specific type of files. maxResults - the maximum number of items to return in the response. A maximum of 1000 files can be returned. timeout - the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. clientRequestID - the caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. returnClientRequestID - whether the server should return the client-request-id in the response. ocpDate - the time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (FileClient) ListFromTaskComplete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (client FileClient) ListFromTaskComplete(ctx context.Context, jobID string, taskID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (result NodeFileListResultIterator, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ListFromTaskComplete enumerates all values, automatically crossing page boundaries as required.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (FileClient) ListFromTaskPreparer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (client FileClient) ListFromTaskPreparer(ctx context.Context, jobID string, taskID string, filter string, recursive *bool, maxResults *int32, timeout *int32, clientRequestID *uuid.UUID, returnClientRequestID *bool, ocpDate *date.TimeRFC1123) (*http.Request, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ListFromTaskPreparer prepares the ListFromTask request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (FileClient) ListFromTaskResponder

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (client FileClient) ListFromTaskResponder(resp *http.Response) (result NodeFileListResult, err error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ListFromTaskResponder handles the response to the ListFromTask request. The method always closes the http.Response Body.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (FileClient) ListFromTaskSender

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (client FileClient) ListFromTaskSender(req *http.Request) (*http.Response, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ListFromTaskSender sends the ListFromTask request. The method will close the http.Response Body if it receives an error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FileProperties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type FileProperties struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// CreationTime - The creation time is not returned for files on Linux compute nodes.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	CreationTime  *date.Time `json:"creationTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	LastModified  *date.Time `json:"lastModified,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ContentLength *int64     `json:"contentLength,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ContentType   *string    `json:"contentType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// FileMode - The file mode is returned only for files on Linux compute nodes.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	FileMode *string `json:"fileMode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    FileProperties ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ImageReference

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ImageReference struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Publisher - For example, Canonical or MicrosoftWindowsServer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Publisher *string `json:"publisher,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Offer - For example, UbuntuServer or WindowsServer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Offer *string `json:"offer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Sku - For example, 14.04.0-LTS or 2012-R2-Datacenter.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Sku *string `json:"sku,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Version - 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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// VirtualMachineImageID - This property is mutually exclusive with other ImageReference properties. The virtual machine image must be in the same region and subscription as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	VirtualMachineImageID *string `json:"virtualMachineImageId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ImageReference ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type InboundEndpoint

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type InboundEndpoint struct {