Click or drag to resize
ILoadBalancerServiceListBillableLoadBalancersAsync Method
This API is preliminary and subject to change.
List billable load balancers for a given date range.

Namespace: net.openstack.Providers.Rackspace
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
Task<ReadOnlyCollectionPage<LoadBalancer>> ListBillableLoadBalancersAsync(
	Nullable<DateTimeOffset> startTime,
	Nullable<DateTimeOffset> endTime,
	Nullable<int> offset,
	Nullable<int> limit,
	CancellationToken cancellationToken
)

Parameters

startTime
Type: SystemNullableDateTimeOffset
The start date to consider. The time component, if any, is ignored. If the value is , the result includes all usage prior to the specified endTime.
endTime
Type: SystemNullableDateTimeOffset
The end date to consider. The time component, if any, is ignored. If the value is , the result includes all usage following the specified startTime.
offset
Type: SystemNullableInt32
The index of the last item in the previous page of results. If the value is , the list starts at the beginning.
limit
Type: SystemNullableInt32
Gets the maximum number of load balancers to return in a single page of results. If the value is , a provider-specific default value is used.
cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken that the task will observe.

Return Value

Type: TaskReadOnlyCollectionPageLoadBalancer
A Task object representing the asynchronous operation. When the operation completes, the Result property will contain a collection of LoadBalancer objects describing the load balancers active in the specified date range.
Exceptions
ExceptionCondition
ArgumentExceptionIf endTime occurs before startTime.
ArgumentOutOfRangeException If offset is less than 0.

-or-

If limit is less than or equal to 0.

WebExceptionIf 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