Sdílet prostřednictvím


ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventRequestContent Method

Definition

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

id
Nullable<Guid>

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 ContainerRegistryWebhookEventRequestContent instance for mocking.

Applies to