CloudLoadBalancerProviderListBillableLoadBalancersAsync Method |
This API is preliminary and subject to change.
List billable load balancers for a given date range.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public Task<ReadOnlyCollectionPage<LoadBalancer>> ListBillableLoadBalancersAsync(
Nullable<DateTimeOffset> startTime,
Nullable<DateTimeOffset> endTime,
Nullable<int> offset,
Nullable<int> limit,
CancellationToken cancellationToken
)
Public Function ListBillableLoadBalancersAsync (
startTime As Nullable(Of DateTimeOffset),
endTime As Nullable(Of DateTimeOffset),
offset As Nullable(Of Integer),
limit As Nullable(Of Integer),
cancellationToken As CancellationToken
) As Task(Of ReadOnlyCollectionPage(Of LoadBalancer))
public:
virtual Task<ReadOnlyCollectionPage<LoadBalancer^>^>^ ListBillableLoadBalancersAsync(
Nullable<DateTimeOffset> startTime,
Nullable<DateTimeOffset> endTime,
Nullable<int> offset,
Nullable<int> limit,
CancellationToken cancellationToken
) sealed
abstract ListBillableLoadBalancersAsync :
startTime : Nullable<DateTimeOffset> *
endTime : Nullable<DateTimeOffset> *
offset : Nullable<int> *
limit : Nullable<int> *
cancellationToken : CancellationToken -> Task<ReadOnlyCollectionPage<LoadBalancer>>
override ListBillableLoadBalancersAsync :
startTime : Nullable<DateTimeOffset> *
endTime : Nullable<DateTimeOffset> *
offset : Nullable<int> *
limit : Nullable<int> *
cancellationToken : CancellationToken -> Task<ReadOnlyCollectionPage<LoadBalancer>>
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.
Implements
ILoadBalancerServiceListBillableLoadBalancersAsync(NullableDateTimeOffset, NullableDateTimeOffset, NullableInt32, NullableInt32, CancellationToken)Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also