共用方式為


ArmDataBoxModelFactory.DataBoxDiskJobSecrets Method

Definition

Initializes a new instance of DataBoxDiskJobSecrets.

public static Azure.ResourceManager.DataBox.Models.DataBoxDiskJobSecrets DataBoxDiskJobSecrets (Azure.ResourceManager.DataBox.Models.DataCenterAccessSecurityCode dataCenterAccessSecurityCode = default, Azure.ResponseError error = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxDiskSecret> diskSecrets = default, string passkey = default, bool? isPasskeyUserDefined = default);
static member DataBoxDiskJobSecrets : Azure.ResourceManager.DataBox.Models.DataCenterAccessSecurityCode * Azure.ResponseError * seq<Azure.ResourceManager.DataBox.Models.DataBoxDiskSecret> * string * Nullable<bool> -> Azure.ResourceManager.DataBox.Models.DataBoxDiskJobSecrets
Public Shared Function DataBoxDiskJobSecrets (Optional dataCenterAccessSecurityCode As DataCenterAccessSecurityCode = Nothing, Optional error As ResponseError = Nothing, Optional diskSecrets As IEnumerable(Of DataBoxDiskSecret) = Nothing, Optional passkey As String = Nothing, Optional isPasskeyUserDefined As Nullable(Of Boolean) = Nothing) As DataBoxDiskJobSecrets

Parameters

dataCenterAccessSecurityCode
DataCenterAccessSecurityCode

Dc Access Security Code for Customer Managed Shipping.

error
ResponseError

Error while fetching the secrets.

diskSecrets
IEnumerable<DataBoxDiskSecret>

Contains the list of secrets object for that device.

passkey
String

PassKey for the disk Job.

isPasskeyUserDefined
Nullable<Boolean>

Whether passkey was provided by user.

Returns

A new DataBoxDiskJobSecrets instance for mocking.

Applies to