ArmHybridNetworkModelFactory.RequestMetadata Method

Definition

Initializes a new instance of RequestMetadata.

public static Azure.ResourceManager.HybridNetwork.Models.RequestMetadata RequestMetadata(string relativePath = default, Azure.ResourceManager.HybridNetwork.Models.HttpMethod httpMethod = default, string serializedBody = default, string apiVersion = default);
static member RequestMetadata : string * Azure.ResourceManager.HybridNetwork.Models.HttpMethod * string * string -> Azure.ResourceManager.HybridNetwork.Models.RequestMetadata
Public Shared Function RequestMetadata (Optional relativePath As String = Nothing, Optional httpMethod As HttpMethod = Nothing, Optional serializedBody As String = Nothing, Optional apiVersion As String = Nothing) As RequestMetadata

Parameters

relativePath
String

The relative path of the request.

httpMethod
HttpMethod

The http method of the request.

serializedBody
String

The serialized body of the request.

apiVersion
String

The api version of the request.

Returns

A new RequestMetadata instance for mocking.

Applies to