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.resources.collection; import com.microsoft.azure.PagedList; 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 in a specific resource group.

(Note this interface is not intended to be implemented by user code.)

Type parameters:
  • <T> – the type of the resources listed.
/** * Provides access to listing Azure resources of a specific type in a specific resource group. * <p> * (Note this interface is not intended to be implemented by user code.) * * @param <T> the type of the resources listed. */
@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsListingByResourceGroup<T> {
Lists resources of the specified type in the specified resource group.
Params:
  • resourceGroupName – the name of the resource group to list the resources from
Returns:the list of resources
/** * Lists resources of the specified type in the specified resource group. * * @param resourceGroupName the name of the resource group to list the resources from * @return the list of resources */
PagedList<T> listByResourceGroup(String resourceGroupName);
Lists resources of the specified type in the specified resource group.
Params:
  • resourceGroupName – the name of the resource group to list the resources from
Returns:the list of resources
/** * Lists resources of the specified type in the specified resource group. * * @param resourceGroupName the name of the resource group to list the resources from * @return the list of resources */
Observable<T> listByResourceGroupAsync(String resourceGroupName); }