All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.mssql.inputs.ManagedInstanceTransparentDataEncryptionState Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.mssql.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ManagedInstanceTransparentDataEncryptionState extends com.pulumi.resources.ResourceArgs {

    public static final ManagedInstanceTransparentDataEncryptionState Empty = new ManagedInstanceTransparentDataEncryptionState();

    /**
     * When enabled, the SQL Managed Instance will continuously check the key vault for any new versions of the key being used as the TDE protector. If a new version of the key is detected, the TDE protector on the SQL Managed Instance will be automatically rotated to the latest key version within 60 minutes.
     * 
     */
    @Import(name="autoRotationEnabled")
    private @Nullable Output autoRotationEnabled;

    /**
     * @return When enabled, the SQL Managed Instance will continuously check the key vault for any new versions of the key being used as the TDE protector. If a new version of the key is detected, the TDE protector on the SQL Managed Instance will be automatically rotated to the latest key version within 60 minutes.
     * 
     */
    public Optional> autoRotationEnabled() {
        return Optional.ofNullable(this.autoRotationEnabled);
    }

    /**
     * To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field.
     * 
     */
    @Import(name="keyVaultKeyId")
    private @Nullable Output keyVaultKeyId;

    /**
     * @return To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field.
     * 
     */
    public Optional> keyVaultKeyId() {
        return Optional.ofNullable(this.keyVaultKeyId);
    }

    /**
     * Specifies the name of the MS SQL Managed Instance. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="managedInstanceId")
    private @Nullable Output managedInstanceId;

    /**
     * @return Specifies the name of the MS SQL Managed Instance. Changing this forces a new resource to be created.
     * 
     */
    public Optional> managedInstanceId() {
        return Optional.ofNullable(this.managedInstanceId);
    }

    private ManagedInstanceTransparentDataEncryptionState() {}

    private ManagedInstanceTransparentDataEncryptionState(ManagedInstanceTransparentDataEncryptionState $) {
        this.autoRotationEnabled = $.autoRotationEnabled;
        this.keyVaultKeyId = $.keyVaultKeyId;
        this.managedInstanceId = $.managedInstanceId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ManagedInstanceTransparentDataEncryptionState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ManagedInstanceTransparentDataEncryptionState $;

        public Builder() {
            $ = new ManagedInstanceTransparentDataEncryptionState();
        }

        public Builder(ManagedInstanceTransparentDataEncryptionState defaults) {
            $ = new ManagedInstanceTransparentDataEncryptionState(Objects.requireNonNull(defaults));
        }

        /**
         * @param autoRotationEnabled When enabled, the SQL Managed Instance will continuously check the key vault for any new versions of the key being used as the TDE protector. If a new version of the key is detected, the TDE protector on the SQL Managed Instance will be automatically rotated to the latest key version within 60 minutes.
         * 
         * @return builder
         * 
         */
        public Builder autoRotationEnabled(@Nullable Output autoRotationEnabled) {
            $.autoRotationEnabled = autoRotationEnabled;
            return this;
        }

        /**
         * @param autoRotationEnabled When enabled, the SQL Managed Instance will continuously check the key vault for any new versions of the key being used as the TDE protector. If a new version of the key is detected, the TDE protector on the SQL Managed Instance will be automatically rotated to the latest key version within 60 minutes.
         * 
         * @return builder
         * 
         */
        public Builder autoRotationEnabled(Boolean autoRotationEnabled) {
            return autoRotationEnabled(Output.of(autoRotationEnabled));
        }

        /**
         * @param keyVaultKeyId To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultKeyId(@Nullable Output keyVaultKeyId) {
            $.keyVaultKeyId = keyVaultKeyId;
            return this;
        }

        /**
         * @param keyVaultKeyId To use customer managed keys from Azure Key Vault, provide the AKV Key ID. To use service managed keys, omit this field.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultKeyId(String keyVaultKeyId) {
            return keyVaultKeyId(Output.of(keyVaultKeyId));
        }

        /**
         * @param managedInstanceId Specifies the name of the MS SQL Managed Instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder managedInstanceId(@Nullable Output managedInstanceId) {
            $.managedInstanceId = managedInstanceId;
            return this;
        }

        /**
         * @param managedInstanceId Specifies the name of the MS SQL Managed Instance. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder managedInstanceId(String managedInstanceId) {
            return managedInstanceId(Output.of(managedInstanceId));
        }

        public ManagedInstanceTransparentDataEncryptionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy