com.pulumi.azure.recoveryservices.inputs.VaultEncryptionArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.recoveryservices.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class VaultEncryptionArgs extends com.pulumi.resources.ResourceArgs {
public static final VaultEncryptionArgs Empty = new VaultEncryptionArgs();
/**
* Enabling/Disabling the Double Encryption state.
*
*/
@Import(name="infrastructureEncryptionEnabled", required=true)
private Output infrastructureEncryptionEnabled;
/**
* @return Enabling/Disabling the Double Encryption state.
*
*/
public Output infrastructureEncryptionEnabled() {
return this.infrastructureEncryptionEnabled;
}
/**
* The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
*
*/
@Import(name="keyId", required=true)
private Output keyId;
/**
* @return The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
*
*/
public Output keyId() {
return this.keyId;
}
/**
* Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `user_assigned_identity_id` is set.
*
* !> **Note:** `use_system_assigned_identity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)
*
* !> **Note:** Once `infrastructure_encryption_enabled` has been set it's not possible to change it.
*
*/
@Import(name="useSystemAssignedIdentity")
private @Nullable Output useSystemAssignedIdentity;
/**
* @return Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `user_assigned_identity_id` is set.
*
* !> **Note:** `use_system_assigned_identity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)
*
* !> **Note:** Once `infrastructure_encryption_enabled` has been set it's not possible to change it.
*
*/
public Optional