Partager via


UsagesClient Interface

public interface UsagesClient

An instance of this class provides access to all the operations defined in UsagesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<UsageInner> listByInstancePool(String resourceGroupName, String instancePoolName)

Gets all instance pool usage metrics.

abstract PagedIterable<UsageInner> listByInstancePool(String resourceGroupName, String instancePoolName, Boolean expandChildren, Context context)

Gets all instance pool usage metrics.

abstract PagedFlux<UsageInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName)

Gets all instance pool usage metrics.

abstract PagedFlux<UsageInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName, Boolean expandChildren)

Gets all instance pool usage metrics.

Method Details

listByInstancePool

public abstract PagedIterable listByInstancePool(String resourceGroupName, String instancePoolName)

Gets all instance pool usage metrics.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
instancePoolName - The name of the instance pool to be retrieved.

Returns:

all instance pool usage metrics as paginated response with PagedIterable<T>.

listByInstancePool

public abstract PagedIterable listByInstancePool(String resourceGroupName, String instancePoolName, Boolean expandChildren, Context context)

Gets all instance pool usage metrics.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
instancePoolName - The name of the instance pool to be retrieved.
expandChildren - Optional request parameter to include managed instance usages within the instance pool.
context - The context to associate with this operation.

Returns:

all instance pool usage metrics as paginated response with PagedIterable<T>.

listByInstancePoolAsync

public abstract PagedFlux listByInstancePoolAsync(String resourceGroupName, String instancePoolName)

Gets all instance pool usage metrics.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
instancePoolName - The name of the instance pool to be retrieved.

Returns:

all instance pool usage metrics as paginated response with PagedFlux<T>.

listByInstancePoolAsync

public abstract PagedFlux listByInstancePoolAsync(String resourceGroupName, String instancePoolName, Boolean expandChildren)

Gets all instance pool usage metrics.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
instancePoolName - The name of the instance pool to be retrieved.
expandChildren - Optional request parameter to include managed instance usages within the instance pool.

Returns:

all instance pool usage metrics as paginated response with PagedFlux<T>.

Applies to