Delen via


JobsOperationsExtensions.ListCredentialsAsync Method

Definition

This method gets the unencrypted secrets related to the job.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.DataBox.Models.UnencryptedCredentials>> ListCredentialsAsync (this Microsoft.Azure.Management.DataBox.IJobsOperations operations, string resourceGroupName, string jobName, System.Threading.CancellationToken cancellationToken = default);
static member ListCredentialsAsync : Microsoft.Azure.Management.DataBox.IJobsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.DataBox.Models.UnencryptedCredentials>>
<Extension()>
Public Function ListCredentialsAsync (operations As IJobsOperations, resourceGroupName As String, jobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of UnencryptedCredentials))

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name

jobName
String

The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to