Delen via


IRegistryTasks.GetByRegistryAsync Method

Definition

Gets a task in a registry asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTask> GetByRegistryAsync (string resourceGroupName, string registryName, string taskName, bool includeSecrets, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByRegistryAsync : string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryTask>
Public Function GetByRegistryAsync (resourceGroupName As String, registryName As String, taskName As String, includeSecrets As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRegistryTask)

Parameters

resourceGroupName
String

The resource group of the parent registry.

registryName
String

The name of the parent registry.

taskName
String

The name of the task.

includeSecrets
Boolean

Whether to include secrets or not.

cancellationToken
CancellationToken

Returns

Applies to