public class ResourceManagerThrottlingInfo extends Object
| Constructor and Description |
|---|
ResourceManagerThrottlingInfo(com.azure.core.http.HttpHeaders headers)
Creates the throttling info class from response headers
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceManagerThrottlingInfo |
fromHeaders(com.azure.core.http.HttpHeaders headers)
Creates the throttling info class from response headers
|
Optional<Integer> |
getRateLimit() |
Map<String,String> |
getRateLimits()
refer https://docs.microsoft.com/azure/azure-resource-manager/management/request-limits-and-throttling
|
String |
getResourceRateLimit()
refer https://docs.microsoft.com/azure/virtual-machines/troubleshooting/troubleshooting-throttling-errors
|
public ResourceManagerThrottlingInfo(com.azure.core.http.HttpHeaders headers)
headers - the response headerspublic static ResourceManagerThrottlingInfo fromHeaders(com.azure.core.http.HttpHeaders headers)
headers - the response headerspublic Optional<Integer> getRateLimit()
public Map<String,String> getRateLimits()
public String getResourceRateLimit()
Copyright © 2021 Microsoft Corporation. All rights reserved.