IRegistryTasks.GetByRegistryAsync(String, String, String, Boolean, CancellationToken) 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
System.String

The resource group of the parent registry.

registryName
System.String

The name of the parent registry.

taskName
System.String

The name of the task.

includeSecrets
System.Boolean

Whether to include secrets or not.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IRegistryTask>

Applies to