KeyCredential 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
KeyCredential() |
Initializes a new instance of the KeyCredential class. |
KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String) |
Initializes a new instance of the KeyCredential class. |
KeyCredential()
Initializes a new instance of the KeyCredential class.
public KeyCredential ();
Public Sub New ()
Applies to
KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)
Initializes a new instance of the KeyCredential class.
public KeyCredential (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, DateTime? startDate = default, DateTime? endDate = default, string value = default, string keyId = default, string usage = default, string type = default, string customKeyIdentifier = default);
new Microsoft.Azure.Graph.RBAC.Models.KeyCredential : System.Collections.Generic.IDictionary<string, obj> * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string -> Microsoft.Azure.Graph.RBAC.Models.KeyCredential
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional startDate As Nullable(Of DateTime) = Nothing, Optional endDate As Nullable(Of DateTime) = Nothing, Optional value As String = Nothing, Optional keyId As String = Nothing, Optional usage As String = Nothing, Optional type As String = Nothing, Optional customKeyIdentifier As String = Nothing)
Parameters
- additionalProperties
- IDictionary<String,Object>
Unmatched properties from the message are deserialized this collection
- value
- String
Key value.
- keyId
- String
Key ID.
- usage
- String
Usage. Acceptable values are 'Verify' and 'Sign'.
- type
- String
Type. Acceptable values are 'AsymmetricX509Cert' and 'Symmetric'.
- customKeyIdentifier
- String
Custom Key Identifier
Applies to
Azure SDK for .NET