DeploymentsOperationsExtensions.ListForClusterAsync(IDeploymentsOperations, String, String, IList<String>, CancellationToken) Method

Definition

List deployments for a certain service

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppPlatform.Models.DeploymentResource>> ListForClusterAsync (this Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations operations, string resourceGroupName, string serviceName, System.Collections.Generic.IList<string> version = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForClusterAsync : Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations * 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 ListForClusterAsync (operations As IDeploymentsOperations, resourceGroupName As String, serviceName 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
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.

version
IList<String>

Version of the deployments to be listed

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IPage<DeploymentResource>>

Applies to