LoadTestingModelFactory.TestSecret(String, Nullable<SecretType>) 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.
Secret.
public static Azure.Developer.LoadTesting.TestSecret TestSecret(string value = default, Azure.Developer.LoadTesting.SecretType? secretKind = default);
static member TestSecret : string * Nullable<Azure.Developer.LoadTesting.SecretType> -> Azure.Developer.LoadTesting.TestSecret
Public Shared Function TestSecret (Optional value As String = Nothing, Optional secretKind As Nullable(Of SecretType) = Nothing) As TestSecret
Parameters
- value
- String
The value of the secret for the respective type.
- secretKind
- Nullable<SecretType>
Type of secret.
Returns
A new TestSecret instance for mocking.