azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

52 строки
4.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader"
fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>"
name: "TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>"
nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>"
summary: "The stage of the traffic manager endpoint definition allowing to specify custom headers."
syntax: "public static interface **TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>**"
methods:
- uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader.withCustomHeader(java.lang.String,java.lang.String)"
fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>.withCustomHeader(String name, String value)"
name: "withCustomHeader(String name, String value)"
nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>.withCustomHeader(String name, String value)"
summary: "Add a custom header."
modifiers:
- "abstract"
parameters:
- description: "the header name"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the header value"
name: "value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeader(String name, String value)"
desc: "Add a custom header."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach?alt=com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach&text=WithAttach\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"ParentT?alt=ParentT&text=ParentT\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader.withCustomHeaders(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>.withCustomHeaders(Map<String,String> headerValues)"
name: "withCustomHeaders(Map<String,String> headerValues)"
nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithCustomHeader<ParentT>.withCustomHeaders(Map<String,String> headerValues)"
summary: "Add custom headers."
modifiers:
- "abstract"
parameters:
- description: "the map containing header name and value pair"
name: "headerValues"
type: "<xref href=\"java.util.Map?alt=java.util.Map&text=Map\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />,<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withCustomHeaders(Map<String,String> headerValues)"
desc: "Add custom headers. This method replaces the current headers with the provided headers."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach?alt=com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach&text=WithAttach\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"ParentT?alt=ParentT&text=ParentT\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
typeParameters:
- description: "the return type of <xref uid=\"WithAttach#attach()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"WithAttach#attach()\"></xref>"
name: "ParentT"
desc: "The stage of the traffic manager endpoint definition allowing to specify custom headers."
metadata: {}
package: "com.microsoft.azure.management.trafficmanager"
artifact: com.microsoft.azure:azure-mgmt-trafficmanager:1.41.4