com.microsoft.azure.management.trafficmanager.TrafficManagerProfiles Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-trafficmanager Show documentation
Show all versions of azure-mgmt-trafficmanager Show documentation
This package contains Microsoft Azure Traffic Manager Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.trafficmanager;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import com.microsoft.azure.management.trafficmanager.implementation.ProfilesInner;
import com.microsoft.azure.management.trafficmanager.implementation.TrafficManager;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import rx.Observable;
/**
* Entry point to traffic manager profile management API in Azure.
*/
@Fluent
public interface TrafficManagerProfiles extends
SupportsCreating,
SupportsListing,
SupportsListingByResourceGroup,
SupportsGettingByResourceGroup,
SupportsGettingById,
SupportsDeletingById,
SupportsDeletingByResourceGroup,
SupportsBatchCreation,
SupportsBatchDeletion,
HasManager,
HasInner {
/**
* Checks that the DNS name is valid for traffic manager profile and is not in use.
*
* @param dnsNameLabel the DNS name to check
* @return whether the DNS is available to be used for a traffic manager profile and other info if not
*/
CheckProfileDnsNameAvailabilityResult checkDnsNameAvailability(String dnsNameLabel);
/**
* Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.
*
* @param dnsNameLabel the DNS name to check
* @return 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
*/
Observable checkDnsNameAvailabilityAsync(String dnsNameLabel);
/**
* Asynchronously checks that the DNS name is valid for traffic manager profile and is not in use.
*
* @param dnsNameLabel the DNS name to check
* @param 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
*
* @return a handle to cancel the request
*/
ServiceFuture checkDnsNameAvailabilityAsync(String dnsNameLabel, ServiceCallback callback);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy