CloudMonitoringProviderGetLimitsAsync Method |
This API is preliminary and subject to change.
Gets the resource and rate limits enforced by the monitoring service.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public Task<MonitoringLimits> GetLimitsAsync(
CancellationToken cancellationToken
)
Public Function GetLimitsAsync (
cancellationToken As CancellationToken
) As Task(Of MonitoringLimits)
public:
virtual Task<MonitoringLimits^>^ GetLimitsAsync(
CancellationToken cancellationToken
) sealed
abstract GetLimitsAsync :
cancellationToken : CancellationToken -> Task<MonitoringLimits>
override GetLimitsAsync :
cancellationToken : CancellationToken -> Task<MonitoringLimits>
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken that the task will observe.
Return Value
Type:
TaskMonitoringLimits
A
Task object representing the asynchronous operation. When
the task completes successfully, the
Result
property will contain a
MonitoringLimits object describing
the resource and rate limits of the monitoring service.
Implements
IMonitoringServiceGetLimitsAsync(CancellationToken)Exceptions Exception | Condition |
---|
WebException | If the REST request does not return successfully. |
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also