IScheduler IScheduler IScheduler Interface

Definition

Defines the methods used to schedule and manage the jobs and tasks in a compute cluster.

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("F10017E8-B9D3-4171-A974-406C6A7E62EE")]
public interface IScheduler : IDisposable
type IScheduler = interface
    interface IDisposable
Public Interface IScheduler
Implements IDisposable
Derived
Attributes
Implements

Properties

ClusterParameters ClusterParameters ClusterParameters

Retrieves the cluster's configuration parameters.

EnvironmentVariables EnvironmentVariables EnvironmentVariables

Retrieves the cluster-wide environment variables.

Methods

AddJob(ISchedulerJob) AddJob(ISchedulerJob) AddJob(ISchedulerJob)

Adds the specified job to the scheduler.

CancelJob(Int32, String) CancelJob(Int32, String) CancelJob(Int32, String)

Cancels the specified job and provides a message to the user that explains why you canceled the job.

CancelJob(Int32, String, Boolean) CancelJob(Int32, String, Boolean) CancelJob(Int32, String, Boolean)

Cancels the specified job and provides a message to the user that explains why you canceled the job, and optionally forces the job to stop immediately. When you force the job to stop immediately, this method ignores the grace period for canceling the tasks in the job, and does not run the node release task for the job.

CancelJob(Int32, String, Boolean, Boolean) CancelJob(Int32, String, Boolean, Boolean) CancelJob(Int32, String, Boolean, Boolean)
CloneJob(Int32) CloneJob(Int32) CloneJob(Int32)

Clones the specified job.

Close() Close() Close()
ConfigureJob(Int32) ConfigureJob(Int32) ConfigureJob(Int32)

Moves the job to the Configuring state.

Connect(String) Connect(String) Connect(String)

Connects you to the specified cluster.

Connect(String, ConnectMethod) Connect(String, ConnectMethod) Connect(String, ConnectMethod)
ConnectAsync(SchedulerConnectionContext, CancellationToken) ConnectAsync(SchedulerConnectionContext, CancellationToken) ConnectAsync(SchedulerConnectionContext, CancellationToken)
ConnectAsync(SchedulerConnectionContext, CancellationToken, ConnectMethod) ConnectAsync(SchedulerConnectionContext, CancellationToken, ConnectMethod) ConnectAsync(SchedulerConnectionContext, CancellationToken, ConnectMethod)
ConnectServiceAsClient(String, ServiceAsClientIdentityProvider) ConnectServiceAsClient(String, ServiceAsClientIdentityProvider) ConnectServiceAsClient(String, ServiceAsClientIdentityProvider)
ConnectServiceAsClient(String, ServiceAsClientIdentityProvider, String, String) ConnectServiceAsClient(String, ServiceAsClientIdentityProvider, String, String) ConnectServiceAsClient(String, ServiceAsClientIdentityProvider, String, String)
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String) ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String) ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String)
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String, ConnectMethod) ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String, ConnectMethod) ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String, ConnectMethod)
CreateCommand(String, ICommandInfo, IStringCollection, Boolean) CreateCommand(String, ICommandInfo, IStringCollection, Boolean) CreateCommand(String, ICommandInfo, IStringCollection, Boolean)
CreateCommand(String, ICommandInfo, IStringCollection) CreateCommand(String, ICommandInfo, IStringCollection) CreateCommand(String, ICommandInfo, IStringCollection)

Creates a command to execute.

CreateCommandInfo(INameValueCollection, String, String) CreateCommandInfo(INameValueCollection, String, String) CreateCommandInfo(INameValueCollection, String, String)

Creates an object that you can use to provide additional property values to a command.

CreateFilterCollection() CreateFilterCollection() CreateFilterCollection()

Creates an empty collection to which you add filter properties.

CreateIntCollection() CreateIntCollection() CreateIntCollection()

Creates an empty collection to which you add integer values.

CreateJob() CreateJob() CreateJob()

Creates a job.

CreateNameValueCollection() CreateNameValueCollection() CreateNameValueCollection()

Creates an empty collection to which you can add name/value pairs.

CreateParametricTaskId(Int32, Int32) CreateParametricTaskId(Int32, Int32) CreateParametricTaskId(Int32, Int32)

Creates a task identifier that identifies an instance of parametric task.

CreatePool(String, Int32) CreatePool(String, Int32) CreatePool(String, Int32)
CreatePool(String) CreatePool(String) CreatePool(String)
CreateSortCollection() CreateSortCollection() CreateSortCollection()

Creates an empty collection to which you add sort properties.

CreateStringCollection() CreateStringCollection() CreateStringCollection()

Creates an empty collection to which you add string values.

CreateTaskId(Int32) CreateTaskId(Int32) CreateTaskId(Int32)

Creates a task identifier that identifies a task.

DeleteCachedCredentials(String) DeleteCachedCredentials(String) DeleteCachedCredentials(String)

Deletes the credentials that were cached for the specified user.

DeleteEmailCredentials() DeleteEmailCredentials() DeleteEmailCredentials()
DeletePool(String) DeletePool(String) DeletePool(String)
DeletePool(String, Boolean) DeletePool(String, Boolean) DeletePool(String, Boolean)
EnrollCertificate(String) EnrollCertificate(String) EnrollCertificate(String)
FinishJob(Int32, String, Boolean, Boolean) FinishJob(Int32, String, Boolean, Boolean) FinishJob(Int32, String, Boolean, Boolean)
GetActiveHeadNode() GetActiveHeadNode() GetActiveHeadNode()
GetCertificateFromStore(String, SecureString) GetCertificateFromStore(String, SecureString) GetCertificateFromStore(String, SecureString)
GetCounters() GetCounters() GetCounters()

Gets counter information for the cluster.

GetJobIdList(IFilterCollection, ISortCollection) GetJobIdList(IFilterCollection, ISortCollection) GetJobIdList(IFilterCollection, ISortCollection)

Retrieves a list of job identifiers based on the specified filters.

GetJobList(IFilterCollection, ISortCollection) GetJobList(IFilterCollection, ISortCollection) GetJobList(IFilterCollection, ISortCollection)

Retrieves a list of jobs based on the specified filters.

GetJobTemplateInfo(String) GetJobTemplateInfo(String) GetJobTemplateInfo(String)
GetJobTemplateList() GetJobTemplateList() GetJobTemplateList()

Retrieves a list of job template names defined in the cluster.

GetJobTemplateXml(String) GetJobTemplateXml(String) GetJobTemplateXml(String)
GetNodeGroupList() GetNodeGroupList() GetNodeGroupList()

Retrieves a list of node group names defined in the cluster.

GetNodeIdList(IFilterCollection, ISortCollection) GetNodeIdList(IFilterCollection, ISortCollection) GetNodeIdList(IFilterCollection, ISortCollection)

Retrieves a list of node identifiers based on the specified filters.

GetNodeList(IFilterCollection, ISortCollection) GetNodeList(IFilterCollection, ISortCollection) GetNodeList(IFilterCollection, ISortCollection)

Retrieves a list of nodes based on the specified filters.

GetNodesInNodeGroup(String) GetNodesInNodeGroup(String) GetNodesInNodeGroup(String)

Retrieves the list of nodes in the specified node group.

GetPoolList() GetPoolList() GetPoolList()
GetServerVersion() GetServerVersion() GetServerVersion()

Retrieves the file version of the HPC server assembly.

GetUserPrivilege() GetUserPrivilege() GetUserPrivilege()

Gets the privilege level of the user.

GetUserRoles() GetUserRoles() GetUserRoles()
OpenJob(Int32) OpenJob(Int32) OpenJob(Int32)

Retrieves the specified job from the scheduler.

OpenJobEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection)

Retrieves an enumerator that contains the jobs that match the filter criteria.

OpenJobHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection)

Retrieves an enumerator that contains the job history information for jobs that match the filter criteria.

OpenJobRowSet(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobRowSet(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenJobRowSet(IPropertyIdCollection, IFilterCollection, ISortCollection)

Retrieves a rowset that contains the jobs that match the filter criteria.

OpenNode(Int32) OpenNode(Int32) OpenNode(Int32)

Retrieves a node object using the specified node identifier.

OpenNodeByName(String) OpenNodeByName(String) OpenNodeByName(String)

Retrieves a node object using the specified node name.

OpenNodeEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenNodeEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenNodeEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection)

Retrieves a rowset enumerator that contains the nodes in the cluster that match the filter criteria.

OpenNodeHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenNodeHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection) OpenNodeHistoryEnumerator(IPropertyIdCollection, IFilterCollection, ISortCollection)

Retrieves an enumerator that contains the node history for the nodes in the cluster.

OpenPool(String) OpenPool(String) OpenPool(String)
OpenPoolRowSet(IPropertyIdCollection) OpenPoolRowSet(IPropertyIdCollection) OpenPoolRowSet(IPropertyIdCollection)
RequeueJob(Int32) RequeueJob(Int32) RequeueJob(Int32)
SetCachedCredentials(String, String) SetCachedCredentials(String, String) SetCachedCredentials(String, String)

Sets the credentials for the specified user in the credential cache, so that the job scheduler can use the credentials for submitting jobs.

SetCertificateCredentials(String, String) SetCertificateCredentials(String, String) SetCertificateCredentials(String, String)
SetCertificateCredentialsPfx(String, String, Byte[]) SetCertificateCredentialsPfx(String, String, Byte[]) SetCertificateCredentialsPfx(String, String, Byte[])
SetClusterParameter(String, String) SetClusterParameter(String, String) SetClusterParameter(String, String)

Sets a configuration parameter for the cluster.

SetEmailCredentials(String, String) SetEmailCredentials(String, String) SetEmailCredentials(String, String)
SetEnvironmentVariable(String, String) SetEnvironmentVariable(String, String) SetEnvironmentVariable(String, String)

Sets a cluster-wide environment variable.

SetInterfaceMode(Boolean, IntPtr) SetInterfaceMode(Boolean, IntPtr) SetInterfaceMode(Boolean, IntPtr)

Specifies whether the calling application is a console or Windows application.

SubmitJob(ISchedulerJob, String, String) SubmitJob(ISchedulerJob, String, String) SubmitJob(ISchedulerJob, String, String)

Adds a job to the scheduling queue using the job interface to identify the job.

SubmitJobById(Int32, String, String) SubmitJobById(Int32, String, String) SubmitJobById(Int32, String, String)

Adds the job to the scheduling queue using the job identifier to identify the job.

ValidateAzureUser(String, String) ValidateAzureUser(String, String) ValidateAzureUser(String, String)

Events

OnSchedulerReconnect OnSchedulerReconnect OnSchedulerReconnect

Applies to