### YamlMime:JavaType uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight" fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight" name: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight" nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight" summary: "The stage of the traffic manager endpoint definition allowing to specify the endpoint weight." syntax: "public static interface **TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight**" methods: - uid: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight.withRoutingWeight(int)" fullName: "com.microsoft.azure.management.trafficmanager.TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight.withRoutingWeight(int weight)" name: "withRoutingWeight(int weight)" nameWithType: "TrafficManagerEndpoint.UpdateDefinitionStages.WithRoutingWeight.withRoutingWeight(int weight)" summary: "Specifies the weight for the endpoint that will be used when the weight-based routing method is enabled on the profile." modifiers: - "abstract" parameters: - description: "the endpoint weight" name: "weight" type: "" syntax: "public abstract TrafficManagerEndpoint.UpdateDefinitionStages.WithAttach withRoutingWeight(int weight)" desc: "Specifies the weight for the endpoint that will be used when the weight-based routing method is enabled on the profile." returns: description: "the next stage of the definition" type: "<>" type: "interface" typeParameters: - description: "the return type of " 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