DeviceRegistryUsernamePasswordCredentials(String, String) Constructor
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 DeviceRegistryUsernamePasswordCredentials.
public DeviceRegistryUsernamePasswordCredentials(string usernameSecretName, string passwordSecretName);
new Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryUsernamePasswordCredentials : string * string -> Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryUsernamePasswordCredentials
Public Sub New (usernameSecretName As String, passwordSecretName As String)
Parameters
- usernameSecretName
- String
The name of the secret containing the username.
- passwordSecretName
- String
The name of the secret containing the password.
Exceptions
usernameSecretName
or passwordSecretName
is null.