TrafficManagerEndpoint.UpdateStages.WithCustomHeader Interface
public static interface TrafficManagerEndpoint.UpdateStages.WithCustomHeader
The stage of the traffic manager endpoint update allowing to specify custom headers.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withCustomHeader(String name, String value)
Add a custom header. |
abstract Update |
withCustomHeaders(Map<String,String> headers)
Add custom headers. |
abstract Update |
withoutCustomHeader(String name)
Removes a custom header. |
Method Details
withCustomHeader
public abstract TrafficManagerEndpoint.Update withCustomHeader(String name, String value)
Add a custom header.
Parameters:
Returns:
withCustomHeaders
public abstract TrafficManagerEndpoint.Update withCustomHeaders(Map
Add custom headers. This method replaces the current headers with the provided headers.
Parameters:
Returns:
withoutCustomHeader
public abstract TrafficManagerEndpoint.Update withoutCustomHeader(String name)
Removes a custom header.
Parameters:
Returns:
Applies to
Azure SDK for Java