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

33 строки
2.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight"
fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>"
name: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>"
nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>"
summary: "The stage of the traffic manager endpoint definition allowing to specify the endpoint weight."
syntax: "public static interface **TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>**"
methods:
- uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight.withRoutingWeight(int)"
fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>.withRoutingWeight(int weight)"
name: "withRoutingWeight(int weight)"
nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight<ParentT>.withRoutingWeight(int weight)"
summary: "Specifies the weight for the endpoint that will be used when the weight-based routing method <xref uid=\"com.microsoft.azure.management.trafficmanager.TrafficRoutingMethod.WEIGHTED\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TrafficRoutingMethod#WEIGHTED\"></xref> is enabled on the profile."
modifiers:
- "abstract"
parameters:
- description: "the endpoint weight"
name: "weight"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach<ParentT> withRoutingWeight(int weight)"
desc: "Specifies the weight for the endpoint that will be used when the weight-based routing method <xref uid=\"com.microsoft.azure.management.trafficmanager.TrafficRoutingMethod.WEIGHTED\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TrafficRoutingMethod#WEIGHTED\"></xref> is enabled on the profile."
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 the endpoint weight."
metadata: {}
package: "com.microsoft.azure.management.trafficmanager"
artifact: com.microsoft.azure:azure-mgmt-trafficmanager:1.41.4