ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventRequestMessage Method

Definition

Initializes a new instance of ContainerRegistryWebhookEventRequestMessage.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestMessage ContainerRegistryWebhookEventRequestMessage (Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventContent content = default, System.Collections.Generic.IReadOnlyDictionary<string,string> headers = default, string method = default, Uri requestUri = default, string version = default);
static member ContainerRegistryWebhookEventRequestMessage : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventContent * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Uri * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestMessage
Public Shared Function ContainerRegistryWebhookEventRequestMessage (Optional content As ContainerRegistryWebhookEventContent = Nothing, Optional headers As IReadOnlyDictionary(Of String, String) = Nothing, Optional method As String = Nothing, Optional requestUri As Uri = Nothing, Optional version As String = Nothing) As ContainerRegistryWebhookEventRequestMessage

Parameters

content
ContainerRegistryWebhookEventContent

The content of the event request message.

headers
IReadOnlyDictionary<String,String>

The headers of the event request message.

method
String

The HTTP method used to send the event request message.

requestUri
Uri

The URI used to send the event request message.

version
String

The HTTP message version.

Returns

A new ContainerRegistryWebhookEventRequestMessage instance for mocking.

Applies to