-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ResourceDeleteSuccessData.cs
140 lines (124 loc) · 5.37 KB
/
ResourceDeleteSuccessData.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// <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.EventGrid.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Schema of the Data property of an EventGridEvent for a
/// Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a
/// resource delete operation succeeds.
/// </summary>
public partial class ResourceDeleteSuccessData
{
/// <summary>
/// Initializes a new instance of the ResourceDeleteSuccessData class.
/// </summary>
public ResourceDeleteSuccessData()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the ResourceDeleteSuccessData class.
/// </summary>
/// <param name="tenantId">The tenant ID of the resource.</param>
/// <param name="subscriptionId">The subscription ID of the
/// resource.</param>
/// <param name="resourceGroup">The resource group of the
/// resource.</param>
/// <param name="resourceProvider">The resource provider performing the
/// operation.</param>
/// <param name="resourceUri">The URI of the resource in the
/// operation.</param>
/// <param name="operationName">The operation that was
/// performed.</param>
/// <param name="status">The status of the operation.</param>
/// <param name="authorization">The requested authorization for the
/// operation.</param>
/// <param name="claims">The properties of the claims.</param>
/// <param name="correlationId">An operation ID used for
/// troubleshooting.</param>
/// <param name="httpRequest">The details of the operation.</param>
public ResourceDeleteSuccessData(string tenantId = default(string), string subscriptionId = default(string), string resourceGroup = default(string), string resourceProvider = default(string), string resourceUri = default(string), string operationName = default(string), string status = default(string), string authorization = default(string), string claims = default(string), string correlationId = default(string), string httpRequest = default(string))
{
TenantId = tenantId;
SubscriptionId = subscriptionId;
ResourceGroup = resourceGroup;
ResourceProvider = resourceProvider;
ResourceUri = resourceUri;
OperationName = operationName;
Status = status;
Authorization = authorization;
Claims = claims;
CorrelationId = correlationId;
HttpRequest = httpRequest;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the tenant ID of the resource.
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
/// <summary>
/// Gets or sets the subscription ID of the resource.
/// </summary>
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
/// <summary>
/// Gets or sets the resource group of the resource.
/// </summary>
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }
/// <summary>
/// Gets or sets the resource provider performing the operation.
/// </summary>
[JsonProperty(PropertyName = "resourceProvider")]
public string ResourceProvider { get; set; }
/// <summary>
/// Gets or sets the URI of the resource in the operation.
/// </summary>
[JsonProperty(PropertyName = "resourceUri")]
public string ResourceUri { get; set; }
/// <summary>
/// Gets or sets the operation that was performed.
/// </summary>
[JsonProperty(PropertyName = "operationName")]
public string OperationName { get; set; }
/// <summary>
/// Gets or sets the status of the operation.
/// </summary>
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
/// <summary>
/// Gets or sets the requested authorization for the operation.
/// </summary>
[JsonProperty(PropertyName = "authorization")]
public string Authorization { get; set; }
/// <summary>
/// Gets or sets the properties of the claims.
/// </summary>
[JsonProperty(PropertyName = "claims")]
public string Claims { get; set; }
/// <summary>
/// Gets or sets an operation ID used for troubleshooting.
/// </summary>
[JsonProperty(PropertyName = "correlationId")]
public string CorrelationId { get; set; }
/// <summary>
/// Gets or sets the details of the operation.
/// </summary>
[JsonProperty(PropertyName = "httpRequest")]
public string HttpRequest { get; set; }
}
}