EventGridModelFactory.ContainerRegistryEventRequest Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerRegistryEventRequest.
public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventRequest ContainerRegistryEventRequest (string id = default, string addr = default, string host = default, string method = default, string useragent = default);
static member ContainerRegistryEventRequest : string * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventRequest
Public Shared Function ContainerRegistryEventRequest (Optional id As String = Nothing, Optional addr As String = Nothing, Optional host As String = Nothing, Optional method As String = Nothing, Optional useragent As String = Nothing) As ContainerRegistryEventRequest
Parameters
- id
- String
The ID of the request that initiated the event.
- addr
- String
The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
- host
- String
The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
- method
- String
The request method that generated the event.
- useragent
- String
The user agent header of the request.
Returns
A new ContainerRegistryEventRequest instance for mocking.
Applies to
Azure SDK for .NET