Partager via


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