AppsOperationsExtensions.ListAsync(IAppsOperations, String, String, CancellationToken) Method

Definition

Handles requests to list all resources in a Service.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppPlatform.Models.AppResource>> ListAsync (this Microsoft.Azure.Management.AppPlatform.IAppsOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.AppPlatform.IAppsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppPlatform.Models.AppResource>>
<Extension()>
Public Function ListAsync (operations As IAppsOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AppResource))

Parameters

operations
IAppsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IPage<AppResource>>

Applies to