语言

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

ArmMachineLearningModelFactory.MachineLearningEncryptionProperty Method

Definition

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEncryptionProperty MachineLearningEncryptionProperty(Azure.Core.ResourceIdentifier cosmosDBResourceId = default, string userAssignedIdentity = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningKeyVaultProperties keyVaultProperties = default, Azure.Core.ResourceIdentifier searchAccountResourceId = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEncryptionStatus status = default, Azure.Core.ResourceIdentifier storageAccountResourceId = default);
static member MachineLearningEncryptionProperty : Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningKeyVaultProperties * Azure.Core.ResourceIdentifier * Azure.ResourceManager.MachineLearning.Models.MachineLearningEncryptionStatus * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEncryptionProperty
Public Shared Function MachineLearningEncryptionProperty (Optional cosmosDBResourceId As ResourceIdentifier = Nothing, Optional userAssignedIdentity As String = Nothing, Optional keyVaultProperties As MachineLearningKeyVaultProperties = Nothing, Optional searchAccountResourceId As ResourceIdentifier = Nothing, Optional status As MachineLearningEncryptionStatus = Nothing, Optional storageAccountResourceId As ResourceIdentifier = Nothing) As MachineLearningEncryptionProperty

Parameters

cosmosDBResourceId
ResourceIdentifier

The byok cosmosdb account that customer brings to store customer's data with encryption

userAssignedIdentity
String

UserAssignedIdentity to be used to fetch the encryption key from keyVault.

keyVaultProperties
MachineLearningKeyVaultProperties

KeyVault details to do the encryption.

searchAccountResourceId
ResourceIdentifier

The byok search account that customer brings to store customer's data with encryption

status
MachineLearningEncryptionStatus

Indicates whether or not the encryption is enabled for the workspace.

storageAccountResourceId
ResourceIdentifier

The byok storage account that customer brings to store customer's data with encryption

Returns

A new MachineLearningEncryptionProperty instance for mocking.

Applies to