你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
KeyCredential 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
KeyCredential() |
初始化 KeyCredential 类的新实例。 |
KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String) |
初始化 KeyCredential 类的新实例。 |
KeyCredential()
初始化 KeyCredential 类的新实例。
public KeyCredential ();
Public Sub New ()
适用于
KeyCredential(IDictionary<String,Object>, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)
初始化 KeyCredential 类的新实例。
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.Management.Graph.RBAC.Fluent.Models.KeyCredential : System.Collections.Generic.IDictionary<string, obj> * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.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)
参数
- additionalProperties
- IDictionary<String,Object>
此集合反序列化消息中的不匹配属性
- value
- String
键值。
- keyId
- String
密钥 ID。
- usage
- String
使用情况。 可接受的值为“Verify”和“Sign”。
- type
- String
键入 。 可接受的值为“AsymmetricX509Cert”和“Symmetric”。
- customKeyIdentifier
- String
自定义密钥标识符