你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PairedKey 类

定义

匹配的密钥或证书的详细信息。

public class PairedKey
type PairedKey = class
Public Class PairedKey
继承
PairedKey

属性

AdditionalProperties

其他配对键属性

若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建有效负载 { “key”: “value” }。

Id

配对密钥或证书的 ID。

PairedKeyType

指示配对对象是密钥还是证书的类型。

适用于