All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.dns.DnsRecordSets Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.PagedList;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
import rx.Observable;

/**
 * Base interface for all record sets.
 *
 * @param  the record set type
 */
@Fluent
public interface DnsRecordSets extends
        SupportsListing,
        SupportsGettingByName,
        HasParent {
    /**
     * Lists all the record sets with the given suffix.
     *
     * @param recordSetNameSuffix the record set name suffix
     * @return list of record sets
     */
    PagedList list(String recordSetNameSuffix);
    /**
     * Lists all the record sets, with number of entries in each page limited to given size.
     *
     * @param pageSize the maximum number of record sets in a page
     * @return list of record sets
     */
    PagedList list(int pageSize);
    /**
     * Lists all the record sets with the given suffix, also limits the number of entries
     * per page to the given page size.
     *
     * @param recordSetNameSuffix the record set name suffix
     * @param pageSize the maximum number of record sets in a page
     * @return the record sets
     */
    PagedList list(String recordSetNameSuffix, int pageSize);
    /**
     * Lists all the record sets with the given suffix.
     *
     * @param recordSetNameSuffix the record set name suffix
     * @return an observable that emits record sets
     */
    Observable listAsync(String recordSetNameSuffix);
    /**
     * Lists all the record sets, with number of entries in each page limited to given size.
     *
     * @param pageSize the maximum number of record sets in a page
     * @return an observable that emits record sets
     */
    Observable listAsync(int pageSize);
    /**
     * Lists all the record sets with the given suffix, also limits the number of entries
     * per page to the given page size.
     *
     * @param recordSetNameSuffix the record set name suffix
     * @param pageSize the maximum number of record sets in a page
     * @return an observable that emits record sets
     */
    Observable listAsync(String recordSetNameSuffix, int pageSize);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy