-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PoolDisableAutoScaleOptions.cs
95 lines (86 loc) · 3.76 KB
/
PoolDisableAutoScaleOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Batch.Protocol.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Additional parameters for DisableAutoScale operation.
/// </summary>
public partial class PoolDisableAutoScaleOptions
{
/// <summary>
/// Initializes a new instance of the PoolDisableAutoScaleOptions
/// class.
/// </summary>
public PoolDisableAutoScaleOptions()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the PoolDisableAutoScaleOptions
/// class.
/// </summary>
/// <param name="timeout">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.</param>
/// <param name="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.</param>
/// <param name="returnClientRequestId">Whether the server should
/// return the client-request-id in the response.</param>
/// <param name="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.</param>
public PoolDisableAutoScaleOptions(int? timeout = default(int?), System.Guid? clientRequestId = default(System.Guid?), bool? returnClientRequestId = default(bool?), System.DateTime? ocpDate = default(System.DateTime?))
{
Timeout = timeout;
ClientRequestId = clientRequestId;
ReturnClientRequestId = returnClientRequestId;
OcpDate = ocpDate;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets 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.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public int? Timeout { get; set; }
/// <summary>
/// Gets or sets 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.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public System.Guid? ClientRequestId { get; set; }
/// <summary>
/// Gets or sets whether the server should return the client-request-id
/// in the response.
/// </summary>
[Newtonsoft.Json.JsonIgnore]
public bool? ReturnClientRequestId { get; set; }
/// <summary>
/// Gets or sets 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.
/// </summary>
[JsonConverter(typeof(DateTimeRfc1123JsonConverter))]
[Newtonsoft.Json.JsonIgnore]
public System.DateTime? OcpDate { get; set; }
}
}