Delen via


IWithCustomHeaders<ParentT>.WithCustomHeader(String, String) Method

Definition

Specifies the custom header for the endpoint that will be used with health checks

public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithCustomHeader (string name, string value);
abstract member WithCustomHeader : string * string -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithCustomHeader (name As String, value As String) As IWithAttach(Of ParentT)

Parameters

name
String

custome header name.

value
String

custom header value.

Returns

Applies to