TrafficManagerProfiles Interface

Implements

public interface TrafficManagerProfiles
extends SupportsCreating<Blank>, SupportsListing<TrafficManagerProfile>, SupportsListingByResourceGroup<TrafficManagerProfile>, SupportsGettingByResourceGroup<TrafficManagerProfile>, SupportsGettingById<TrafficManagerProfile>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<TrafficManagerProfile>, SupportsBatchDeletion, HasManager<com.microsoft.azure.management.trafficmanager.implementation.TrafficManager>, HasInner<com.microsoft.azure.management.trafficmanager.implementation.ProfilesInner>

Entry point to traffic manager profile management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract CheckProfileDnsNameAvailabilityResult checkDnsNameAvailability(String dnsNameLabel)

Checks that the DNS name is valid for traffic manager profile and is not in use.

abstract rx.Observable<CheckProfileDnsNameAvailabilityResult> checkDnsNameAvailabilityAsync(String dnsNameLabel)

Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.

abstract com.microsoft.rest.ServiceFuture<CheckProfileDnsNameAvailabilityResult> checkDnsNameAvailabilityAsync(String dnsNameLabel, ServiceCallback<CheckProfileDnsNameAvailabilityResult> callback)

Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.

abstract GeographicLocation getGeographicHierarchyRoot()

Method Details

checkDnsNameAvailability

public abstract CheckProfileDnsNameAvailabilityResult checkDnsNameAvailability(String dnsNameLabel)

Checks that the DNS name is valid for traffic manager profile and is not in use.

Parameters:

dnsNameLabel - the DNS name to check

Returns:

whether the DNS is available to be used for a traffic manager profile and other info if not

checkDnsNameAvailabilityAsync

public abstract Observable checkDnsNameAvailabilityAsync(String dnsNameLabel)

Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.

Parameters:

dnsNameLabel - the DNS name to check

Returns:

a representation of the deferred computation of this call, returning whether the DNS is available to be used for a traffic manager profile and other info if not

checkDnsNameAvailabilityAsync

public abstract ServiceFuture checkDnsNameAvailabilityAsync(String dnsNameLabel, ServiceCallback callback)

Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.

Parameters:

dnsNameLabel - the DNS name to check
callback - the callback to call on success or failure, on success with the result whether the DNS is available to be used for a traffic manager profile and other info if not

Returns:

a handle to cancel the request

getGeographicHierarchyRoot

public abstract GeographicLocation getGeographicHierarchyRoot()

Returns:

the default geographic hierarchy used by the Geographic traffic routing method.

Applies to