ContentDeliveryNetworkServiceListServicesAsync Method |
This API is preliminary and subject to change.
Lists all Content Delivery Network services associated with the account.
Namespace: OpenStack.ContentDeliveryNetworks.v1Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public Task<IPage<Service>> ListServicesAsync(
string startServiceId = null,
Nullable<int> pageSize = null,
CancellationToken cancellationToken = null
)
Public Function ListServicesAsync (
Optional startServiceId As String = Nothing,
Optional pageSize As Nullable(Of Integer) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IPage(Of Service))
public:
virtual Task<IPage<Service^>^>^ ListServicesAsync(
String^ startServiceId = nullptr,
Nullable<int> pageSize = nullptr,
CancellationToken cancellationToken = nullptr
) sealed
abstract ListServicesAsync :
?startServiceId : string *
?pageSize : Nullable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _startServiceId = defaultArg startServiceId null
let _pageSize = defaultArg pageSize null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<IPage<Service>>
override ListServicesAsync :
?startServiceId : string *
?pageSize : Nullable<int> *
?cancellationToken : CancellationToken
(* Defaults:
let _startServiceId = defaultArg startServiceId null
let _pageSize = defaultArg pageSize null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<IPage<Service>>
Parameters
- startServiceId (Optional)
- Type: SystemString
The id of the first service from which to start paging the results. - pageSize (Optional)
- Type: SystemNullableInt32
The numer of services to return per page. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Return Value
Type:
TaskIPageService
A collection of
Service resources associated with the acccount./>
Implements
IContentDeliveryNetworkServiceListServicesAsync(String, NullableInt32, CancellationToken)Exceptions Exception | Condition |
---|
FlurlHttpException | If the service call returns a bad HttpStatusCode. |
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4
See Also