public interface UsagesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listByInstancePool(String resourceGroupName,
String instancePoolName)
Gets all instance pool usage metrics.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listByInstancePool(String resourceGroupName,
String instancePoolName,
Boolean expandChildren,
com.azure.core.util.Context context)
Gets all instance pool usage metrics.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listByInstancePoolAsync(String resourceGroupName,
String instancePoolName)
Gets all instance pool usage metrics.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listByInstancePoolAsync(String resourceGroupName,
String instancePoolName,
Boolean expandChildren)
Gets all instance pool usage metrics.
|
com.azure.core.http.rest.PagedFlux<UsageInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName, Boolean expandChildren)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<UsageInner> listByInstancePoolAsync(String resourceGroupName, String instancePoolName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listByInstancePool(String resourceGroupName, String instancePoolName, Boolean expandChildren, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listByInstancePool(String resourceGroupName, String instancePoolName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.