SecretProperties Constructors
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.
Overloads
SecretProperties(String) |
Initializes a new instance of the SecretProperties class. |
SecretProperties(Uri) |
Initializes a new instance of the SecretProperties class. |
SecretProperties(String)
- Source:
- SecretProperties.cs
- Source:
- SecretProperties.cs
Initializes a new instance of the SecretProperties class.
public SecretProperties (string name);
new Azure.Security.KeyVault.Secrets.SecretProperties : string -> Azure.Security.KeyVault.Secrets.SecretProperties
Public Sub New (name As String)
Parameters
- name
- String
The name of the secret.
Exceptions
name
is an empty string.
name
is null.
Applies to
SecretProperties(Uri)
- Source:
- SecretProperties.cs
- Source:
- SecretProperties.cs
Initializes a new instance of the SecretProperties class.
public SecretProperties (Uri id);
new Azure.Security.KeyVault.Secrets.SecretProperties : Uri -> Azure.Security.KeyVault.Secrets.SecretProperties
Public Sub New (id As Uri)
Parameters
- id
- Uri
The identifier of the secret.
Exceptions
id
is null.