com.microsoft.azure.management.dns.DnsZones Maven / Gradle / Ivy
/**
* 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.dns;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.dns.implementation.DnsZoneManager;
import com.microsoft.azure.management.dns.implementation.ZonesInner;
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 rx.Completable;
/**
* Entry point to DNS zone management API in Azure.
*/
@Fluent
public interface DnsZones extends
SupportsCreating,
SupportsListing,
SupportsListingByResourceGroup,
SupportsGettingByResourceGroup,
SupportsGettingById,
SupportsDeletingById,
SupportsDeletingByResourceGroup,
SupportsBatchCreation,
SupportsBatchDeletion,
HasManager,
HasInner {
/**
* Asynchronously deletes the zone from Azure, identifying it by its name and its resource group.
*
* @param resourceGroupName the resource group the resource is part of
* @param zoneName the name of the zone
* @param eTagValue the ETag value to set on IfMatch header for concurrency protection
* @return a representation of the deferred computation this delete call
*/
Completable deleteByResourceGroupNameAsync(String resourceGroupName, String zoneName, String eTagValue);
/**
* Asynchronously delete the zone from Azure, identifying it by its resource ID.
*
* @param id the resource ID of the resource to delete
* @param eTagValue the ETag value to set on IfMatch header for concurrency protection
* @return a representation of the deferred computation this delete call
*/
Completable deleteByIdAsync(String id, String eTagValue);
/**
* Deletes the zone from Azure, identifying it by its name and its resource group.
*
* @param resourceGroupName the resource group the resource is part of
* @param zoneName the name of the zone
* @param eTagValue the ETag value to set on IfMatch header for concurrency protection
*/
void deleteByResourceGroupName(String resourceGroupName, String zoneName, String eTagValue);
/**
* Deletes a resource from Azure, identifying it by its resource ID.
*
* @param id the resource ID of the resource to delete
* @param eTagValue the ETag value to set on IfMatch header for concurrency protection
*/
void deleteById(String id, String eTagValue);
}