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

AutomationEncryptionProperties 类

定义

自动化帐户的加密设置。

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

构造函数

AutomationEncryptionProperties()

初始化 AutomationEncryptionProperties 的新实例。

属性

KeySource

加密密钥源。

KeyVaultProperties

密钥保管库属性。

UserAssignedIdentity

用于 CMK 的用户标识。 它将是采用以下格式的 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

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

适用于