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

BatchAccountCertificateCreateOrUpdateContent 类

定义

包含有关证书的信息。

public class BatchAccountCertificateCreateOrUpdateContent : Azure.ResourceManager.Models.ResourceData
type BatchAccountCertificateCreateOrUpdateContent = class
    inherit ResourceData
Public Class BatchAccountCertificateCreateOrUpdateContent
Inherits ResourceData
继承
BatchAccountCertificateCreateOrUpdateContent

构造函数

BatchAccountCertificateCreateOrUpdateContent()

初始化 BatchAccountCertificateCreateOrUpdateContent 的新实例。

属性

Data

最大大小为 10KB。

若要将对象分配给此属性,请使用 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” }。

ETag

资源的 ETag,用于并发语句。

Format

证书的格式 - Pfx 或 Cer。 如果省略,则默认值为 Pfx。

Id

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

(继承自 ResourceData)
Name

资源的名称。

(继承自 ResourceData)
Password

如果证书格式为 Cer,则不得指定此项。

ResourceType

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”。

(继承自 ResourceData)
SystemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

(继承自 ResourceData)
ThumbprintAlgorithm

这必须与证书名称的第一部分匹配。 当前必须为“SHA1”。

ThumbprintString

这必须与名称中的指纹匹配。

适用于