Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* 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.arm.collection;
import com.microsoft.azure.PagedList;
import com.microsoft.azure.arm.resources.Region;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;
import rx.Observable;
Provides access to listing Azure resources of a specific type based on their region.
(Note: this interface is not intended to be implemented by user code)
Type parameters: - <T> – the fluent type of the resource
/**
* Provides access to listing Azure resources of a specific type based on their region.
* <p>
* (Note: this interface is not intended to be implemented by user code)
*
* @param <T> the fluent type of the resource
*/
@LangDefinition(ContainerName = "CollectionActions", MethodConversionType = MethodConversion.OnlyMethod)
public interface SupportsListingByRegion<T> {
Lists all the resources of the specified type in the specified region.
Params: - region – the selected Azure region
Returns: list of resources
/**
* Lists all the resources of the specified type in the specified region.
*
* @param region the selected Azure region
* @return list of resources
*/
PagedList<T> listByRegion(Region region);
List all the resources of the specified type in the specified region.
Params: - regionName – the name of an Azure region
Returns: list of resources
/**
* List all the resources of the specified type in the specified region.
* @param regionName the name of an Azure region
* @return list of resources
*/
PagedList<T> listByRegion(String regionName);
Lists all the resources of the specified type in the specified region.
Params: - region – the selected Azure region
Returns: a representation of the deferred computation of this call, returning the requested resources
/**
* Lists all the resources of the specified type in the specified region.
*
* @param region the selected Azure region
* @return a representation of the deferred computation of this call, returning the requested resources
*/
Observable<T> listByRegionAsync(Region region);
List all the resources of the specified type in the specified region.
Params: - regionName – the name of an Azure region
Returns: a representation of the deferred computation of this call, returning the requested resources
/**
* List all the resources of the specified type in the specified region.
* @param regionName the name of an Azure region
* @return a representation of the deferred computation of this call, returning the requested resources
*/
Observable<T> listByRegionAsync(String regionName);
}