PoolListUsageMetricsOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PoolListUsageMetricsOptions() |
Initializes a new instance of the PoolListUsageMetricsOptions class. |
PoolListUsageMetricsOptions(Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>) |
Initializes a new instance of the PoolListUsageMetricsOptions class. |
PoolListUsageMetricsOptions()
Initializes a new instance of the PoolListUsageMetricsOptions class.
public PoolListUsageMetricsOptions ();
Public Sub New ()
Applies to
PoolListUsageMetricsOptions(Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Guid>, Nullable<Boolean>, Nullable<DateTime>)
Initializes a new instance of the PoolListUsageMetricsOptions class.
public PoolListUsageMetricsOptions (DateTime? startTime = default, DateTime? endTime = default, string filter = default, int? maxResults = default, int? timeout = default, Guid? clientRequestId = default, bool? returnClientRequestId = default, DateTime? ocpDate = default);
new Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsOptions : Nullable<DateTime> * Nullable<DateTime> * string * Nullable<int> * Nullable<int> * Nullable<Guid> * Nullable<bool> * Nullable<DateTime> -> Microsoft.Azure.Batch.Protocol.Models.PoolListUsageMetricsOptions
Public Sub New (Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional filter 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)
Parameters
The earliest time from which to include metrics. This must be at least two and a half hours before the current time. If not specified this defaults to the start time of the last aggregation interval currently available.
The latest time from which to include metrics. This must be at least two hours before the current time. If not specified this defaults to the end time of the last aggregation interval currently available.
- filter
- String
An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
The maximum number of items to return in the response. A maximum of 1000 results will be returned.
The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.
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.
Whether the server should return the client-request-id in the response.
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.
Applies to
Azure SDK for .NET