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

SynapseEncryptionProtectorCollection.CreateOrUpdate 方法

定义

汇报工作区托管 sql server 的加密保护程序。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}
  • 操作IdWorkspaceManagedSqlServerEncryptionProtector_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseEncryptionProtectorResource> CreateOrUpdate (Azure.WaitUntil waitUntil, Azure.ResourceManager.Synapse.Models.SynapseEncryptionProtectorName encryptionProtectorName, Azure.ResourceManager.Synapse.SynapseEncryptionProtectorData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseEncryptionProtectorName * Azure.ResourceManager.Synapse.SynapseEncryptionProtectorData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseEncryptionProtectorResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.Synapse.Models.SynapseEncryptionProtectorName * Azure.ResourceManager.Synapse.SynapseEncryptionProtectorData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Synapse.SynapseEncryptionProtectorResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, encryptionProtectorName As SynapseEncryptionProtectorName, data As SynapseEncryptionProtectorData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SynapseEncryptionProtectorResource)

参数

waitUntil
WaitUntil

Completed 如果方法应等待返回,直到服务上长时间运行的操作完成; Started 如果它应在启动操作后返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

encryptionProtectorName
SynapseEncryptionProtectorName

加密保护程序的名称。

data
SynapseEncryptionProtectorData

请求的加密保护程序资源状态。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于