TrafficManagerProfiles Interface

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

Entry point to traffic manager profile management API in Azure.

Method Summary

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

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

Observable<CheckProfileDnsNameAvailabilityResult> checkDnsNameAvailabilityAsync(String dnsNameLabel)

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

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.

GeographicLocation getGeographicHierarchyRoot()

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

checkDnsNameAvailability

public 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 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 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 GeographicLocation getGeographicHierarchyRoot()

Returns:

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

Applies to