ArmDataBoxModelFactory.DataBoxSecret Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DataBoxSecret.
public static Azure.ResourceManager.DataBox.Models.DataBoxSecret DataBoxSecret (string deviceSerialNumber = default, string devicePassword = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.ApplianceNetworkConfiguration> networkConfigurations = default, string encodedValidationCertPubKey = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxAccountCredentialDetails> accountCredentialDetails = default);
static member DataBoxSecret : string * string * seq<Azure.ResourceManager.DataBox.Models.ApplianceNetworkConfiguration> * string * seq<Azure.ResourceManager.DataBox.Models.DataBoxAccountCredentialDetails> -> Azure.ResourceManager.DataBox.Models.DataBoxSecret
Public Shared Function DataBoxSecret (Optional deviceSerialNumber As String = Nothing, Optional devicePassword As String = Nothing, Optional networkConfigurations As IEnumerable(Of ApplianceNetworkConfiguration) = Nothing, Optional encodedValidationCertPubKey As String = Nothing, Optional accountCredentialDetails As IEnumerable(Of DataBoxAccountCredentialDetails) = Nothing) As DataBoxSecret
Parameters
- deviceSerialNumber
- String
Serial number of the assigned device.
- devicePassword
- String
Password for out of the box experience on device.
- networkConfigurations
- IEnumerable<ApplianceNetworkConfiguration>
Network configuration of the appliance.
- encodedValidationCertPubKey
- String
The base 64 encoded public key to authenticate with the device.
- accountCredentialDetails
- IEnumerable<DataBoxAccountCredentialDetails>
Per account level access credentials.
Returns
A new DataBoxSecret instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET