ContentDeliveryNetworkServiceExtensionsListServices Method |
Lists all Content Delivery Network services associated with the account
Namespace: OpenStack.SynchronousAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public static IPage<Service> ListServices(
this IContentDeliveryNetworkService cdnService,
string startServiceId = null,
Nullable<int> pageSize = null
)
<ExtensionAttribute>
Public Shared Function ListServices (
cdnService As IContentDeliveryNetworkService,
Optional startServiceId As String = Nothing,
Optional pageSize As Nullable(Of Integer) = Nothing
) As IPage(Of Service)
public:
[ExtensionAttribute]
static IPage<Service^>^ ListServices(
IContentDeliveryNetworkService^ cdnService,
String^ startServiceId = nullptr,
Nullable<int> pageSize = nullptr
)
[<ExtensionAttribute>]
static member ListServices :
cdnService : IContentDeliveryNetworkService *
?startServiceId : string *
?pageSize : Nullable<int>
(* Defaults:
let _startServiceId = defaultArg startServiceId null
let _pageSize = defaultArg pageSize null
*)
-> IPage<Service>
Parameters
- cdnService
- Type: OpenStack.ContentDeliveryNetworks.v1IContentDeliveryNetworkService
The IContentDeliveryNetworkService service instance. - 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.
Return Value
Type:
IPageService
A collection of
Service associated wit the acccount./>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IContentDeliveryNetworkService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
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