你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobsOperationsExtensions.ListCredentialsAsync 方法

定义

此方法获取与作业相关的未加密机密。

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))

参数

operations
IJobsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称

jobName
String

指定资源组中作业资源的名称。 作业名称的长度必须介于 3 到 24 个字符之间,并且仅使用任何字母数字和下划线

cancellationToken
CancellationToken

取消标记。

返回

适用于