WorkspaceEncryption Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The validated requested key and vault reference, onboarding information, and service observations.
public class WorkspaceEncryption : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.WorkspaceEncryption>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.WorkspaceEncryption>
type WorkspaceEncryption = class
interface IJsonModel<WorkspaceEncryption>
interface IPersistableModel<WorkspaceEncryption>
Public Class WorkspaceEncryption
Implements IJsonModel(Of WorkspaceEncryption), IPersistableModel(Of WorkspaceEncryption)
- Inheritance
-
WorkspaceEncryption
- Implements
Constructors
| Name | Description |
|---|---|
| WorkspaceEncryption() |
Initializes a new instance of WorkspaceEncryption. |
Properties
| Name | Description |
|---|---|
| CustomerManagedKeyEncryption |
The requested customer-managed key. Its presence is fixed by accepted Workspace creation: adding CMK to a Microsoft-managed Workspace or removing CMK from a CMK-created Workspace is rejected with InvalidEncryptionConfiguration. The key pair remains updateable on CMK-created Workspaces, including after a failed creation. A present object requires a coherent keyEncryptionKeyUrl and keyVaultResourceId pair. After synchronous caller and vault validation, the accepted pair can be returned while configuration is Pending. It does not prove that active data already uses the requested key. |
| CustomerManagedKeyOnboardingApplicationId |
The Microsoft Entra application ID used for customer consent, returned for existing Workspaces, including Microsoft-managed Workspaces. This does not permit adding CMK to an existing Microsoft-managed Workspace. Before creating a Workspace with a customer key, obtain the application name and ID for the target cloud from the service onboarding documentation or Portal, then consent and grant key access. The configuring caller separately needs Microsoft.KeyVault/vaults/read on the referenced vault. GET returns the same application ID. This is not a service principal object ID or an identity selector. The Workspace's top-level identity does not select this application. |
| Status |
The observed result, separate from the requested setting. |