Partager via


IRegistryTasks.GetByRegistryAsync Méthode

Définition

Obtient une tâche dans un registre de manière asynchrone.

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)

Paramètres

resourceGroupName
String

Groupe de ressources du Registre parent.

registryName
String

Nom du registre parent.

taskName
String

Nom de la tâche.

includeSecrets
Boolean

Indique s’il faut inclure ou non des secrets.

cancellationToken
CancellationToken

Retours

S’applique à