| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> The request that generated the event. </summary> |
| | 11 | | public partial class ContainerRegistryEventRequest |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of ContainerRegistryEventRequest. </summary> |
| 0 | 14 | | internal ContainerRegistryEventRequest() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of ContainerRegistryEventRequest. </summary> |
| | 19 | | /// <param name="id"> The ID of the request that initiated the event. </param> |
| | 20 | | /// <param name="addr"> The IP or hostname and possibly port of the client connection that initiated the event. |
| | 21 | | /// <param name="host"> The externally accessible hostname of the registry instance, as specified by the http ho |
| | 22 | | /// <param name="method"> The request method that generated the event. </param> |
| | 23 | | /// <param name="useragent"> The user agent header of the request. </param> |
| 4 | 24 | | internal ContainerRegistryEventRequest(string id, string addr, string host, string method, string useragent) |
| | 25 | | { |
| 4 | 26 | | Id = id; |
| 4 | 27 | | Addr = addr; |
| 4 | 28 | | Host = host; |
| 4 | 29 | | Method = method; |
| 4 | 30 | | Useragent = useragent; |
| 4 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> The ID of the request that initiated the event. </summary> |
| 0 | 34 | | public string Id { get; } |
| | 35 | | /// <summary> The IP or hostname and possibly port of the client connection that initiated the event. This is th |
| 2 | 36 | | public string Addr { get; } |
| | 37 | | /// <summary> The externally accessible hostname of the registry instance, as specified by the http host header |
| 0 | 38 | | public string Host { get; } |
| | 39 | | /// <summary> The request method that generated the event. </summary> |
| 0 | 40 | | public string Method { get; } |
| | 41 | | /// <summary> The user agent header of the request. </summary> |
| 0 | 42 | | public string Useragent { get; } |
| | 43 | | } |
| | 44 | | } |