Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PoolOperations 类

定义

对Azure Batch帐户执行与池相关的操作。

public class PoolOperations : Microsoft.Azure.Batch.IInheritedBehaviors
type PoolOperations = class
    interface IInheritedBehaviors
Public Class PoolOperations
Implements IInheritedBehaviors
继承
PoolOperations
实现

属性

CustomBehaviors

获取或设置一个行为列表,这些行为可修改或自定义通过此 PoolOperations发出的对 Batch 服务的请求。

方法

CopyNodeFileContentToStream(String, String, String, Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>)

将文件的内容从指定节点复制到给定 Stream的 。

CopyNodeFileContentToStreamAsync(String, String, String, Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

将文件的内容从指定节点复制到给定 Stream的 。

CopyNodeFileContentToString(String, String, String, Encoding, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>)

将指定节点中的文件内容读入字符串中。

CopyNodeFileContentToStringAsync(String, String, String, Encoding, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

将指定节点中的文件内容读入字符串中。

CreateComputeNodeUser(String, String)

创建一个 ComputeNodeUser ,它表示 Batch 服务中尚不存在的新计算节点用户帐户。

CreatePool()

创建一个未绑定且与 Batch 服务中的任何池不具有一致性关系的 CloudPool 实例。

CreatePool(String, String, CloudServiceConfiguration, Nullable<Int32>, Nullable<Int32>)

创建一个未绑定且与 Batch 服务中的任何池不具有一致性关系的 CloudPool 实例。

CreatePool(String, String, VirtualMachineConfiguration, Nullable<Int32>, Nullable<Int32>)

创建一个未绑定且与 Batch 服务中的任何池不具有一致性关系的 CloudPool 实例。

DeleteComputeNodeUser(String, String, String, IEnumerable<BatchClientBehavior>)

从指定的计算节点中删除指定的用户帐户。

DeleteComputeNodeUserAsync(String, String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的计算节点中删除指定的用户帐户。

DeleteNodeFile(String, String, String, Nullable<Boolean>, IEnumerable<BatchClientBehavior>)

从指定的计算节点中删除指定的文件。

DeleteNodeFileAsync(String, String, String, Nullable<Boolean>, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的计算节点中删除指定的文件。

DeletePool(String, IEnumerable<BatchClientBehavior>)

删除指定的池。

DeletePoolAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken)

删除指定的池。

DisableAutoScale(String, IEnumerable<BatchClientBehavior>)

禁用指定池上的自动缩放。

DisableAutoScaleAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken)

禁用指定池上的自动缩放。

DisableComputeNodeScheduling(String, String, Nullable<DisableComputeNodeSchedulingOption>, IEnumerable<BatchClientBehavior>)

禁用指定计算节点上的任务计划。

DisableComputeNodeSchedulingAsync(String, String, Nullable<DisableComputeNodeSchedulingOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

禁用指定计算节点上的任务计划。

EnableAutoScale(String, String, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

在指定的池上启用自动缩放。

EnableAutoScaleAsync(String, String, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>, CancellationToken)

在指定的池上启用自动缩放。

EnableComputeNodeScheduling(String, String, IEnumerable<BatchClientBehavior>)

在指定的计算节点上启用任务计划。

EnableComputeNodeSchedulingAsync(String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

在指定的计算节点上启用任务计划。

EvaluateAutoScale(String, String, IEnumerable<BatchClientBehavior>)

获取在指定池上计算自动缩放公式的结果。 这主要用于验证自动缩放公式,因为它只返回结果,而不将公式应用于池。

EvaluateAutoScaleAsync(String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

获取在指定池上计算自动缩放公式的结果。 这主要用于验证自动缩放公式,因为它只返回结果,而不将公式应用于池。

GetComputeNode(String, String, DetailLevel, IEnumerable<BatchClientBehavior>)

获取指定的计算节点。

GetComputeNodeAsync(String, String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken)

获取指定的计算节点。

GetComputeNodeExtension(String, String, String, DetailLevel, IEnumerable<BatchClientBehavior>)

获取指定的计算节点。

GetComputeNodeExtensionAsync(String, String, String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken)

获取指定的计算节点扩展。

GetNodeFile(String, String, String, IEnumerable<BatchClientBehavior>)

获取有关计算节点上的文件的信息。

GetNodeFileAsync(String, String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

获取有关计算节点上的文件的信息。

GetPool(String, DetailLevel, IEnumerable<BatchClientBehavior>)

获取指定的 CloudPool

GetPoolAsync(String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken)

获取指定的 CloudPool

GetRDPFile(String, String, Stream, IEnumerable<BatchClientBehavior>)

获取指定节点的远程桌面协议 (RDP) 文件。

GetRDPFile(String, String, String, IEnumerable<BatchClientBehavior>)

获取指定节点的远程桌面协议文件。

GetRDPFileAsync(String, String, Stream, IEnumerable<BatchClientBehavior>, CancellationToken)

获取指定节点的远程桌面协议 (RDP) 文件。

GetRDPFileAsync(String, String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

获取指定节点的远程桌面协议文件。

GetRemoteLoginSettings(String, String, IEnumerable<BatchClientBehavior>)

获取远程登录到计算节点所需的设置。

GetRemoteLoginSettingsAsync(String, String, IEnumerable<BatchClientBehavior>, CancellationToken)

获取远程登录到计算节点所需的设置。

ListComputeNodeExtensions(String, String, IEnumerable<BatchClientBehavior>)

枚举指定 ComputeNode扩展

ListComputeNodes(String, DetailLevel, IEnumerable<BatchClientBehavior>)

枚举指定池的 计算节点

ListNodeFiles(String, String, Nullable<Boolean>, DetailLevel, IEnumerable<BatchClientBehavior>)

枚举指定计算节点上的文件。

ListPoolNodeCounts(DetailLevel, IEnumerable<BatchClientBehavior>)

列出每个状态的节点数,按池分组。

ListPools(DetailLevel, IEnumerable<BatchClientBehavior>)

枚举 Batch 帐户中的

ListPoolUsageMetrics(Nullable<DateTime>, Nullable<DateTime>, DetailLevel, IEnumerable<BatchClientBehavior>)

枚举池使用情况指标。

ListSupportedImages(DetailLevel, IEnumerable<BatchClientBehavior>)

枚举 Batch 服务支持的节点代理 SKU 值。

Reboot(String, String, Nullable<ComputeNodeRebootOption>, IEnumerable<BatchClientBehavior>)

重新启动指定的计算节点。

RebootAsync(String, String, Nullable<ComputeNodeRebootOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

重新启动指定的计算节点。

Reimage(String, String, Nullable<ComputeNodeReimageOption>, IEnumerable<BatchClientBehavior>)

在指定的计算节点上重新安装操作系统。

ReimageAsync(String, String, Nullable<ComputeNodeReimageOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

在指定的计算节点上重新安装操作系统。

RemoveFromPool(String, ComputeNode, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

RemoveFromPool(String, IEnumerable<ComputeNode>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

RemoveFromPool(String, IEnumerable<String>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

RemoveFromPool(String, String, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

RemoveFromPoolAsync(String, ComputeNode, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

RemoveFromPoolAsync(String, IEnumerable<ComputeNode>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的池中删除指定的计算节点。

RemoveFromPoolAsync(String, IEnumerable<String>, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的池中删除指定的计算节点。

RemoveFromPoolAsync(String, String, Nullable<ComputeNodeDeallocationOption>, Nullable<TimeSpan>, IEnumerable<BatchClientBehavior>)

从指定的池中删除指定的计算节点。

ResizePool(String, Nullable<Int32>, Nullable<Int32>, Nullable<TimeSpan>, Nullable<ComputeNodeDeallocationOption>, IEnumerable<BatchClientBehavior>)

调整指定池的大小。

ResizePoolAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<TimeSpan>, Nullable<ComputeNodeDeallocationOption>, IEnumerable<BatchClientBehavior>, CancellationToken)

调整指定池的大小。

StopResizePool(String, IEnumerable<BatchClientBehavior>)

停止池大小调整操作。

StopResizePoolAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken)

停止池大小调整操作。

UploadComputeNodeBatchServiceLogs(String, String, String, ComputeNodeIdentityReference, DateTime, Nullable<DateTime>, IEnumerable<BatchClientBehavior>)

从指定的计算节点上传Azure Batch服务日志文件。

UploadComputeNodeBatchServiceLogs(String, String, String, DateTime, Nullable<DateTime>, IEnumerable<BatchClientBehavior>)

从指定的计算节点上传Azure Batch服务日志文件。

UploadComputeNodeBatchServiceLogsAsync(String, String, String, ComputeNodeIdentityReference, DateTime, Nullable<DateTime>, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的计算节点上传Azure Batch服务日志文件。

UploadComputeNodeBatchServiceLogsAsync(String, String, String, DateTime, Nullable<DateTime>, IEnumerable<BatchClientBehavior>, CancellationToken)

从指定的计算节点上传Azure Batch服务日志文件。

适用于