forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
482 lines (455 loc) · 26.1 KB
/
models.go
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
package eventgrid
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest/date"
)
// ContainerRegistryEventActor the agent that initiated the event. For most situations, this could be from the
// authorization context of the request.
type ContainerRegistryEventActor struct {
// Name - The subject or username associated with the request context that generated the event.
Name *string `json:"name,omitempty"`
}
// ContainerRegistryEventData the content of the event request message.
type ContainerRegistryEventData struct {
// ID - The event ID.
ID *string `json:"id,omitempty"`
// Timestamp - The time at which the event occurred.
Timestamp *date.Time `json:"timestamp,omitempty"`
// Action - The action that encompasses the provided event.
Action *string `json:"action,omitempty"`
// Target - The target of the event.
Target *ContainerRegistryEventTarget `json:"target,omitempty"`
// Request - The request that generated the event.
Request *ContainerRegistryEventRequest `json:"request,omitempty"`
// Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
// Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
Source *ContainerRegistryEventSource `json:"source,omitempty"`
}
// ContainerRegistryEventRequest the request that generated the event.
type ContainerRegistryEventRequest struct {
// ID - The ID of the request that initiated the event.
ID *string `json:"id,omitempty"`
// Addr - The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
Addr *string `json:"addr,omitempty"`
// Host - The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
Host *string `json:"host,omitempty"`
// Method - The request method that generated the event.
Method *string `json:"method,omitempty"`
// Useragent - The user agent header of the request.
Useragent *string `json:"useragent,omitempty"`
}
// ContainerRegistryEventSource the registry node that generated the event. Put differently, while the actor
// initiates the event, the source generates it.
type ContainerRegistryEventSource struct {
// Addr - The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.
Addr *string `json:"addr,omitempty"`
// InstanceID - The running instance of an application. Changes after each restart.
InstanceID *string `json:"instanceID,omitempty"`
}
// ContainerRegistryEventTarget the target of the event.
type ContainerRegistryEventTarget struct {
// MediaType - The MIME type of the referenced object.
MediaType *string `json:"mediaType,omitempty"`
// Size - The number of bytes of the content. Same as Length field.
Size *int64 `json:"size,omitempty"`
// Digest - The digest of the content, as defined by the Registry V2 HTTP API Specification.
Digest *string `json:"digest,omitempty"`
// Length - The number of bytes of the content. Same as Size field.
Length *int64 `json:"length,omitempty"`
// Repository - The repository name.
Repository *string `json:"repository,omitempty"`
// URL - The direct URL to the content.
URL *string `json:"url,omitempty"`
// Tag - The tag name.
Tag *string `json:"tag,omitempty"`
}
// ContainerRegistryImageDeletedEventData schema of the Data property of an EventGridEvent for a
// Microsoft.ContainerRegistry.ImageDeleted event.
type ContainerRegistryImageDeletedEventData struct {
// ID - The event ID.
ID *string `json:"id,omitempty"`
// Timestamp - The time at which the event occurred.
Timestamp *date.Time `json:"timestamp,omitempty"`
// Action - The action that encompasses the provided event.
Action *string `json:"action,omitempty"`
// Target - The target of the event.
Target *ContainerRegistryEventTarget `json:"target,omitempty"`
// Request - The request that generated the event.
Request *ContainerRegistryEventRequest `json:"request,omitempty"`
// Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
// Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
Source *ContainerRegistryEventSource `json:"source,omitempty"`
}
// ContainerRegistryImagePushedEventData schema of the Data property of an EventGridEvent for a
// Microsoft.ContainerRegistry.ImagePushed event.
type ContainerRegistryImagePushedEventData struct {
// ID - The event ID.
ID *string `json:"id,omitempty"`
// Timestamp - The time at which the event occurred.
Timestamp *date.Time `json:"timestamp,omitempty"`
// Action - The action that encompasses the provided event.
Action *string `json:"action,omitempty"`
// Target - The target of the event.
Target *ContainerRegistryEventTarget `json:"target,omitempty"`
// Request - The request that generated the event.
Request *ContainerRegistryEventRequest `json:"request,omitempty"`
// Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
Actor *ContainerRegistryEventActor `json:"actor,omitempty"`
// Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
Source *ContainerRegistryEventSource `json:"source,omitempty"`
}
// DeviceLifeCycleEventProperties schema of the Data property of an EventGridEvent for a device life cycle event
// (DeviceCreated, DeviceDeleted).
type DeviceLifeCycleEventProperties struct {
// DeviceID - The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
DeviceID *string `json:"deviceId,omitempty"`
// HubName - Name of the IoT Hub where the device was created or deleted.
HubName *string `json:"hubName,omitempty"`
// OpType - The event type specified for this operation by the IoT Hub.
OpType *string `json:"opType,omitempty"`
// OperationTimestamp - The ISO8601 timestamp of the operation.
OperationTimestamp *string `json:"operationTimestamp,omitempty"`
// Twin - Information about the device twin, which is the cloud represenation of application device metadata.
Twin *DeviceTwinInfo `json:"twin,omitempty"`
}
// DeviceTwinInfo information about the device twin, which is the cloud represenation of application device
// metadata.
type DeviceTwinInfo struct {
// AuthenticationType - Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority.
AuthenticationType *string `json:"authenticationType,omitempty"`
// CloudToDeviceMessageCount - Count of cloud to device messages sent to this device.
CloudToDeviceMessageCount *float64 `json:"cloudToDeviceMessageCount,omitempty"`
// ConnectionState - Whether the device is connected or disconnected.
ConnectionState *string `json:"connectionState,omitempty"`
// DeviceID - The unique identifier of the device twin.
DeviceID *string `json:"deviceId,omitempty"`
// Etag - A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin.
Etag *string `json:"etag,omitempty"`
// LastActivityTime - The ISO8601 timestamp of the last activity.
LastActivityTime *string `json:"lastActivityTime,omitempty"`
// Properties - Properties JSON element.
Properties *DeviceTwinInfoProperties `json:"properties,omitempty"`
// Status - Whether the device twin is enabled or disabled.
Status *string `json:"status,omitempty"`
// StatusUpdateTime - The ISO8601 timestamp of the last device twin status update.
StatusUpdateTime *string `json:"statusUpdateTime,omitempty"`
// Version - An integer that is incremented by one each time the device twin is updated.
Version *float64 `json:"version,omitempty"`
// X509Thumbprint - The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate.
X509Thumbprint *DeviceTwinInfoX509Thumbprint `json:"x509Thumbprint,omitempty"`
}
// DeviceTwinInfoProperties properties JSON element.
type DeviceTwinInfoProperties struct {
// Desired - A portion of the properties that can be written only by the application back-end, and read by the device.
Desired *DeviceTwinProperties `json:"desired,omitempty"`
// Reported - A portion of the properties that can be written only by the device, and read by the application back-end.
Reported *DeviceTwinProperties `json:"reported,omitempty"`
}
// DeviceTwinInfoX509Thumbprint the thumbprint is a unique value for the x509 certificate, commonly used to find a
// particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm,
// and does not physically exist in the certificate.
type DeviceTwinInfoX509Thumbprint struct {
// PrimaryThumbprint - Primary thumbprint for the x509 certificate.
PrimaryThumbprint *string `json:"primaryThumbprint,omitempty"`
// SecondaryThumbprint - Secondary thumbprint for the x509 certificate.
SecondaryThumbprint *string `json:"secondaryThumbprint,omitempty"`
}
// DeviceTwinMetadata metadata information for the properties JSON document.
type DeviceTwinMetadata struct {
// LastUpdated - The ISO8601 timestamp of the last time the properties were updated.
LastUpdated *string `json:"lastUpdated,omitempty"`
}
// DeviceTwinProperties a portion of the properties that can be written only by the application back-end, and read
// by the device.
type DeviceTwinProperties struct {
// Metadata - Metadata information for the properties JSON document.
Metadata *DeviceTwinMetadata `json:"metadata,omitempty"`
// Version - Version of device twin properties.
Version *float64 `json:"version,omitempty"`
}
// Event properties of an event published to an Event Grid topic.
type Event struct {
// ID - An unique identifier for the event.
ID *string `json:"id,omitempty"`
// Topic - The resource path of the event source.
Topic *string `json:"topic,omitempty"`
// Subject - A resource path relative to the topic path.
Subject *string `json:"subject,omitempty"`
// Data - Event data specific to the event type.
Data interface{} `json:"data,omitempty"`
// EventType - The type of the event that occurred.
EventType *string `json:"eventType,omitempty"`
// EventTime - The time (in UTC) the event was generated.
EventTime *date.Time `json:"eventTime,omitempty"`
// MetadataVersion - The schema version of the event metadata.
MetadataVersion *string `json:"metadataVersion,omitempty"`
// DataVersion - The schema version of the data object.
DataVersion *string `json:"dataVersion,omitempty"`
}
// EventHubCaptureFileCreatedEventData schema of the Data property of an EventGridEvent for an
// Microsoft.EventHub.CaptureFileCreated event.
type EventHubCaptureFileCreatedEventData struct {
// Fileurl - The path to the capture file.
Fileurl *string `json:"fileurl,omitempty"`
// FileType - The file type of the capture file.
FileType *string `json:"fileType,omitempty"`
// PartitionID - The shard ID.
PartitionID *string `json:"partitionId,omitempty"`
// SizeInBytes - The file size.
SizeInBytes *int32 `json:"sizeInBytes,omitempty"`
// EventCount - The number of events in the file.
EventCount *int32 `json:"eventCount,omitempty"`
// FirstSequenceNumber - The smallest sequence number from the queue.
FirstSequenceNumber *int32 `json:"firstSequenceNumber,omitempty"`
// LastSequenceNumber - The last sequence number from the queue.
LastSequenceNumber *int32 `json:"lastSequenceNumber,omitempty"`
// FirstEnqueueTime - The first time from the queue.
FirstEnqueueTime *date.Time `json:"firstEnqueueTime,omitempty"`
// LastEnqueueTime - The last time from the queue.
LastEnqueueTime *date.Time `json:"lastEnqueueTime,omitempty"`
}
// IotHubDeviceCreatedEventData event data for Microsoft.Devices.DeviceCreated event.
type IotHubDeviceCreatedEventData struct {
// DeviceID - The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
DeviceID *string `json:"deviceId,omitempty"`
// HubName - Name of the IoT Hub where the device was created or deleted.
HubName *string `json:"hubName,omitempty"`
// OpType - The event type specified for this operation by the IoT Hub.
OpType *string `json:"opType,omitempty"`
// OperationTimestamp - The ISO8601 timestamp of the operation.
OperationTimestamp *string `json:"operationTimestamp,omitempty"`
// Twin - Information about the device twin, which is the cloud represenation of application device metadata.
Twin *DeviceTwinInfo `json:"twin,omitempty"`
}
// IotHubDeviceDeletedEventData event data for Microsoft.Devices.DeviceDeleted event.
type IotHubDeviceDeletedEventData struct {
// DeviceID - The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = @ ; $ '.
DeviceID *string `json:"deviceId,omitempty"`
// HubName - Name of the IoT Hub where the device was created or deleted.
HubName *string `json:"hubName,omitempty"`
// OpType - The event type specified for this operation by the IoT Hub.
OpType *string `json:"opType,omitempty"`
// OperationTimestamp - The ISO8601 timestamp of the operation.
OperationTimestamp *string `json:"operationTimestamp,omitempty"`
// Twin - Information about the device twin, which is the cloud represenation of application device metadata.
Twin *DeviceTwinInfo `json:"twin,omitempty"`
}
// ResourceDeleteCancelData schema of the Data property of an EventGridEvent for an
// Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.
type ResourceDeleteCancelData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// ResourceDeleteFailureData schema of the Data property of an EventGridEvent for a
// Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.
type ResourceDeleteFailureData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// ResourceDeleteSuccessData schema of the Data property of an EventGridEvent for a
// Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.
type ResourceDeleteSuccessData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// ResourceWriteCancelData schema of the Data property of an EventGridEvent for a
// Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is
// canceled.
type ResourceWriteCancelData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// ResourceWriteFailureData schema of the Data property of an EventGridEvent for a
// Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.
type ResourceWriteFailureData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// ResourceWriteSuccessData schema of the Data property of an EventGridEvent for a
// Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation
// succeeds.
type ResourceWriteSuccessData struct {
// TenantID - The tenant ID of the resource.
TenantID *string `json:"tenantId,omitempty"`
// SubscriptionID - The subscription ID of the resource.
SubscriptionID *string `json:"subscriptionId,omitempty"`
// ResourceGroup - The resource group of the resource.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// ResourceProvider - The resource provider performing the operation.
ResourceProvider *string `json:"resourceProvider,omitempty"`
// ResourceURI - The URI of the resource in the operation.
ResourceURI *string `json:"resourceUri,omitempty"`
// OperationName - The operation that was performed.
OperationName *string `json:"operationName,omitempty"`
// Status - The status of the operation.
Status *string `json:"status,omitempty"`
// Authorization - The requested authorization for the operation.
Authorization *string `json:"authorization,omitempty"`
// Claims - The properties of the claims.
Claims *string `json:"claims,omitempty"`
// CorrelationID - An operation ID used for troubleshooting.
CorrelationID *string `json:"correlationId,omitempty"`
// HTTPRequest - The details of the operation.
HTTPRequest *string `json:"httpRequest,omitempty"`
}
// StorageBlobCreatedEventData schema of the Data property of an EventGridEvent for an
// Microsoft.Storage.BlobCreated event.
type StorageBlobCreatedEventData struct {
// API - The name of the API/operation that triggered this event.
API *string `json:"api,omitempty"`
// ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
ClientRequestID *string `json:"clientRequestId,omitempty"`
// RequestID - The request id generated by the Storage service for the storage API operation that triggered this event.
RequestID *string `json:"requestId,omitempty"`
// ETag - The etag of the object at the time this event was triggered.
ETag *string `json:"eTag,omitempty"`
// ContentType - The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
ContentType *string `json:"contentType,omitempty"`
// ContentLength - The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
ContentLength *int32 `json:"contentLength,omitempty"`
// BlobType - The type of blob.
BlobType *string `json:"blobType,omitempty"`
// URL - The path to the blob.
URL *string `json:"url,omitempty"`
// Sequencer - An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
Sequencer *string `json:"sequencer,omitempty"`
// StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}
// StorageBlobDeletedEventData schema of the Data property of an EventGridEvent for an
// Microsoft.Storage.BlobDeleted event.
type StorageBlobDeletedEventData struct {
// API - The name of the API/operation that triggered this event.
API *string `json:"api,omitempty"`
// ClientRequestID - A request id provided by the client of the storage API operation that triggered this event.
ClientRequestID *string `json:"clientRequestId,omitempty"`
// RequestID - The request id generated by the Storage service for the storage API operation that triggered this event.
RequestID *string `json:"requestId,omitempty"`
// ContentType - The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
ContentType *string `json:"contentType,omitempty"`
// BlobType - The type of blob.
BlobType *string `json:"blobType,omitempty"`
// URL - The path to the blob.
URL *string `json:"url,omitempty"`
// Sequencer - An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.
Sequencer *string `json:"sequencer,omitempty"`
// StorageDiagnostics - For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
StorageDiagnostics interface{} `json:"storageDiagnostics,omitempty"`
}