Condividi tramite


EventGridModelFactory.ResourceHttpRequest Method

Definition

Initializes a new instance of ResourceHttpRequest.

public static Azure.Messaging.EventGrid.SystemEvents.ResourceHttpRequest ResourceHttpRequest (string clientRequestId = default, string clientIpAddress = default, Azure.Core.RequestMethod? method = default, string url = default);
static member ResourceHttpRequest : string * string * Nullable<Azure.Core.RequestMethod> * string -> Azure.Messaging.EventGrid.SystemEvents.ResourceHttpRequest
Public Shared Function ResourceHttpRequest (Optional clientRequestId As String = Nothing, Optional clientIpAddress As String = Nothing, Optional method As Nullable(Of RequestMethod) = Nothing, Optional url As String = Nothing) As ResourceHttpRequest

Parameters

clientRequestId
String

The client request ID.

clientIpAddress
String

The client IP address.

method
Nullable<RequestMethod>

The request method.

url
String

The url used in the request.

Returns

A new ResourceHttpRequest instance for mocking.

Applies to