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.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET