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

TrafficManagerProfiles Interface

Implements

public interface TrafficManagerProfiles
extends SupportsCreating<Blank>, SupportsListing<TrafficManagerProfile>, SupportsListingByResourceGroup<TrafficManagerProfile>, SupportsGettingByResourceGroup<TrafficManagerProfile>, SupportsGettingById<TrafficManagerProfile>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<TrafficManagerProfile>, SupportsBatchDeletion, HasManager<TrafficManager>

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 Mono<CheckProfileDnsNameAvailabilityResult> checkDnsNameAvailabilityAsync(String dnsNameLabel)

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 Mono 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

getGeographicHierarchyRoot

public abstract GeographicLocation getGeographicHierarchyRoot()

Returns:

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

Applies to