Interface TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>
- Type Parameters:
ParentT
- the return type ofAttachable.InUpdate.attach()
- All Known Subinterfaces:
TrafficManagerEndpoint.UpdateDefinition<ParentT>
,TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT>
,TrafficManagerEndpoint.UpdateDefinitionStages.WithEndpointThreshold<ParentT>
- Enclosing interface:
- TrafficManagerEndpoint.UpdateDefinitionStages
@Beta
public static interface TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>
The stage of the traffic manager endpoint definition allowing to specify custom headers.
-
Method Summary
Modifier and TypeMethodDescriptionwithCustomHeader
(String name, String value) Add a custom header.withCustomHeaders
(Map<String, String> headerValues) Add custom headers.
-
Method Details
-
withCustomHeader
@Beta TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeader(String name, String value) Add a custom header.- Parameters:
name
- the header namevalue
- the header value- Returns:
- the next stage of the definition
-
withCustomHeaders
@Beta TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeaders(Map<String, String> headerValues) 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
-