ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventRequestContent 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 ContainerRegistryWebhookEventRequestContent.
public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent ContainerRegistryWebhookEventRequestContent (Guid? id = default, string addr = default, string host = default, string method = default, string userAgent = default);
static member ContainerRegistryWebhookEventRequestContent : Nullable<Guid> * string * string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent
Public Shared Function ContainerRegistryWebhookEventRequestContent (Optional id As Nullable(Of Guid) = Nothing, Optional addr As String = Nothing, Optional host As String = Nothing, Optional method As String = Nothing, Optional userAgent As String = Nothing) As ContainerRegistryWebhookEventRequestContent
Parameters
- 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 ContainerRegistryWebhookEventRequestContent instance for mocking.
Applies to
Azure SDK for .NET