DeploymentsOperationsExtensions.ListAsync Method

Definition

Handles requests to list all resources in an App.

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

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
System.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
System.String

The name of the Service resource.

appName
System.String

The name of the App resource.

version
System.Collections.Generic.IList<System.String>

Version of the deployments to be listed

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<DeploymentResource>>

Applies to