IRegistryTasks.GetByRegistryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET