共用方式為


ArmCognitiveServicesModelFactory.CognitiveServicesEncryptionScopeProperties Method

Definition

Initializes a new instance of CognitiveServicesEncryptionScopeProperties.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesEncryptionScopeProperties CognitiveServicesEncryptionScopeProperties (Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesKeyVaultProperties keyVaultProperties = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountEncryptionKeySource? keySource = default, Azure.ResourceManager.CognitiveServices.Models.EncryptionScopeProvisioningState? provisioningState = default, Azure.ResourceManager.CognitiveServices.Models.EncryptionScopeState? state = default);
static member CognitiveServicesEncryptionScopeProperties : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesKeyVaultProperties * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountEncryptionKeySource> * Nullable<Azure.ResourceManager.CognitiveServices.Models.EncryptionScopeProvisioningState> * Nullable<Azure.ResourceManager.CognitiveServices.Models.EncryptionScopeState> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesEncryptionScopeProperties
Public Shared Function CognitiveServicesEncryptionScopeProperties (Optional keyVaultProperties As CognitiveServicesKeyVaultProperties = Nothing, Optional keySource As Nullable(Of ServiceAccountEncryptionKeySource) = Nothing, Optional provisioningState As Nullable(Of EncryptionScopeProvisioningState) = Nothing, Optional state As Nullable(Of EncryptionScopeState) = Nothing) As CognitiveServicesEncryptionScopeProperties

Parameters

keyVaultProperties
CognitiveServicesKeyVaultProperties

Properties of KeyVault.

keySource
Nullable<ServiceAccountEncryptionKeySource>

Enumerates the possible value of keySource for Encryption.

provisioningState
Nullable<EncryptionScopeProvisioningState>

Gets the status of the resource at the time the operation was called.

state
Nullable<EncryptionScopeState>

The encryptionScope state.

Returns

A new CognitiveServicesEncryptionScopeProperties instance for mocking.

Applies to