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

ComputeNodeListOptions 构造函数

定义

重载

ComputeNodeListOptions()

初始化 ComputeNodeListOptions 类的新实例。

ComputeNodeListOptions(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)

初始化 ComputeNodeListOptions 类的新实例。

ComputeNodeListOptions()

初始化 ComputeNodeListOptions 类的新实例。

public ComputeNodeListOptions ();
Public Sub New ()

适用于

ComputeNodeListOptions(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)

初始化 ComputeNodeListOptions 类的新实例。

public ComputeNodeListOptions (string filter = default, string select = default, int? maxResults = default, int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default);
new Microsoft.Azure.Batch.Protocol.Models.ComputeNodeListOptions : string * string * Nullable<int> * Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.ComputeNodeListOptions
Public Sub New (Optional filter As String = Nothing, Optional select As String = Nothing, Optional maxResults As Nullable(Of Integer) = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional clientRequestId As Nullable(Of Guid) = Nothing, Optional returnClientRequestId As Nullable(Of Boolean) = Nothing, Optional ocpDate As Nullable(Of DateTime) = Nothing)

参数

filter
String

OData $filter 子句。 有关构造此筛选器的详细信息,请参阅 https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool

select
String

OData $select 子句。

maxResults
Nullable<Int32>

响应中要返回的最大项数。 最多可以返回 1000 个计算节点。

timeout
Nullable<Int32>

服务器处理请求的最长时间(以秒为单位)。 默认为 30 秒。

clientRequestId
Nullable<Guid>

调用方生成的请求标识,采用不带修饰的 GUID 形式,如大括号,例如 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0。

returnClientRequestId
Nullable<Boolean>

服务器是否应在响应中返回 client-request-id。

ocpDate
Nullable<DateTime>

发出请求的时间。 客户端库通常将此设置为当前系统时钟时间;如果直接调用 REST API,请显式设置它。

适用于