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(TokenCredential credential, AzureProfile profile)

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

static TrafficManager authenticate(HttpPipeline httpPipeline, 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()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

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

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

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()

Returns:

entry point to traffic manager profile management

Applies to