Share via


DataBoxJobResource.GetCredentials(CancellationToken) Method

Definition

This method gets the unencrypted secrets related to the job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials
  • Operation Id: Jobs_ListCredentials
public virtual Azure.Pageable<Azure.ResourceManager.DataBox.Models.UnencryptedCredentials> GetCredentials (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentials : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBox.Models.UnencryptedCredentials>
override this.GetCredentials : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBox.Models.UnencryptedCredentials>
Public Overridable Function GetCredentials (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of UnencryptedCredentials)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of UnencryptedCredentials that may take multiple service requests to iterate over.

Applies to