-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
GitOperationResultContractData.cs
74 lines (68 loc) · 3.92 KB
/
GitOperationResultContractData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> Long Running Git Operation Results. </summary>
public partial class GitOperationResultContractData : ResourceData
{
/// <summary> Initializes a new instance of GitOperationResultContractData. </summary>
public GitOperationResultContractData()
{
ActionLog = new ChangeTrackingList<OperationResultLogItemContract>();
}
/// <summary> Initializes a new instance of GitOperationResultContractData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="operationResultIdentifier"> Operation result identifier. </param>
/// <param name="status"> Status of an async operation. </param>
/// <param name="startedOn">
/// Start time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </param>
/// <param name="updatedOn">
/// Last update time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </param>
/// <param name="resultInfo"> Optional result info. </param>
/// <param name="error"> Error Body Contract. </param>
/// <param name="actionLog"> This property if only provided as part of the TenantConfiguration_Validate operation. It contains the log the entities which will be updated/created/deleted as part of the TenantConfiguration_Deploy operation. </param>
internal GitOperationResultContractData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string operationResultIdentifier, AsyncOperationStatus? status, DateTimeOffset? startedOn, DateTimeOffset? updatedOn, string resultInfo, ErrorResponseBody error, IReadOnlyList<OperationResultLogItemContract> actionLog) : base(id, name, resourceType, systemData)
{
OperationResultIdentifier = operationResultIdentifier;
Status = status;
StartedOn = startedOn;
UpdatedOn = updatedOn;
ResultInfo = resultInfo;
Error = error;
ActionLog = actionLog;
}
/// <summary> Operation result identifier. </summary>
public string OperationResultIdentifier { get; set; }
/// <summary> Status of an async operation. </summary>
public AsyncOperationStatus? Status { get; set; }
/// <summary>
/// Start time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </summary>
public DateTimeOffset? StartedOn { get; set; }
/// <summary>
/// Last update time of an async operation. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
///
/// </summary>
public DateTimeOffset? UpdatedOn { get; set; }
/// <summary> Optional result info. </summary>
public string ResultInfo { get; set; }
/// <summary> Error Body Contract. </summary>
public ErrorResponseBody Error { get; set; }
/// <summary> This property if only provided as part of the TenantConfiguration_Validate operation. It contains the log the entities which will be updated/created/deleted as part of the TenantConfiguration_Deploy operation. </summary>
public IReadOnlyList<OperationResultLogItemContract> ActionLog { get; }
}
}