Share via


ArmDataBoxModelFactory.UnencryptedCredentials(String, JobSecrets) Method

Definition

Initializes a new instance of UnencryptedCredentials.

public static Azure.ResourceManager.DataBox.Models.UnencryptedCredentials UnencryptedCredentials (string jobName = default, Azure.ResourceManager.DataBox.Models.JobSecrets jobSecrets = default);
static member UnencryptedCredentials : string * Azure.ResourceManager.DataBox.Models.JobSecrets -> Azure.ResourceManager.DataBox.Models.UnencryptedCredentials
Public Shared Function UnencryptedCredentials (Optional jobName As String = Nothing, Optional jobSecrets As JobSecrets = Nothing) As UnencryptedCredentials

Parameters

jobName
String

Name of the job.

jobSecrets
JobSecrets

Secrets related to this job. Please note JobSecrets is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataboxJobSecrets, CustomerDiskJobSecrets, DataBoxDiskJobSecrets and DataBoxHeavyJobSecrets.

Returns

A new UnencryptedCredentials instance for mocking.

Applies to