TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT> Interface
Type Parameters
- ParentT
the return type of WithAttach#attach()
public static interface TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader
The stage of the traffic manager endpoint definition allowing to specify custom headers.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withCustomHeader(String name, String value)
Add a custom header. |
abstract
With |
withCustomHeaders(Map<String,String> headerValues)
Add custom headers. |
Method Details
withCustomHeader
public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach
Add a custom header.
Parameters:
name
- the header name
value
- the header value
Returns:
the next stage of the definition
withCustomHeaders
public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach
Add custom headers. This method replaces the current headers with the provided headers.
Parameters:
headerValues
- the map containing header name and value pair
Returns:
the next stage of the definition
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java