你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TrafficManager Class

public final class TrafficManager
extends Manager<TrafficManagerManagementClient>

Entry point to Azure traffic manager management.

Method Summary

Modifier and Type Method and Description
static TrafficManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of TrafficManager that exposes traffic manager management API entry points.

static TrafficManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of TrafficManager that exposes traffic manager management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create TrafficManager with optional configuration.

TrafficManagerProfiles profiles()

Gets entry point to traffic manager profile management.

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static TrafficManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of TrafficManager that exposes traffic manager management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the TrafficManager

authenticate

public static TrafficManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of TrafficManager that exposes traffic manager management API entry points.

Parameters:

credential - the credentials to use
profile - the profile to use

Returns:

the TrafficManager

configure

public static TrafficManager.Configurable configure()

Get a Configurable instance that can be used to create TrafficManager with optional configuration.

Returns:

the instance allowing configurations

profiles

public TrafficManagerProfiles profiles()

Gets entry point to traffic manager profile management.

Returns:

entry point to traffic manager profile management

Applies to