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

Definition

Specifies a custom header that will be added to notifications. Consecutive calls to this method will add additional headers.

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

Parameters

name
System.String

Of the optional header.

value
System.String

Of the optional header.

Returns

IWithAttach<ParentT>

Applies to