/// <summary> /// This method gets the unencrypted secrets related to the job. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The Resource Group Name /// </param> /// <param name='jobName'> /// 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 /// </param> public static IEnumerable <UnencryptedCredentials> ListCredentials(this IJobsOperations operations, string resourceGroupName, string jobName) { return(operations.ListCredentialsAsync(resourceGroupName, jobName).GetAwaiter().GetResult()); }