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

com.pulumi.azure.redis.inputs.CacheRedisConfigurationArgs 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.15.0
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.redis.inputs;

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


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

    public static final CacheRedisConfigurationArgs Empty = new CacheRedisConfigurationArgs();

    /**
     * Enable Microsoft Entra (AAD) authentication. Defaults to `false`.
     * 
     */
    @Import(name="activeDirectoryAuthenticationEnabled")
    private @Nullable Output activeDirectoryAuthenticationEnabled;

    /**
     * @return Enable Microsoft Entra (AAD) authentication. Defaults to `false`.
     * 
     */
    public Optional> activeDirectoryAuthenticationEnabled() {
        return Optional.ofNullable(this.activeDirectoryAuthenticationEnabled);
    }

    /**
     * Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
     * 
     * > **NOTE:** `aof_backup_enabled` can only be set when SKU is `Premium`.
     * 
     */
    @Import(name="aofBackupEnabled")
    private @Nullable Output aofBackupEnabled;

    /**
     * @return Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
     * 
     * > **NOTE:** `aof_backup_enabled` can only be set when SKU is `Premium`.
     * 
     */
    public Optional> aofBackupEnabled() {
        return Optional.ofNullable(this.aofBackupEnabled);
    }

    /**
     * First Storage Account connection string for AOF persistence.
     * 
     */
    @Import(name="aofStorageConnectionString0")
    private @Nullable Output aofStorageConnectionString0;

    /**
     * @return First Storage Account connection string for AOF persistence.
     * 
     */
    public Optional> aofStorageConnectionString0() {
        return Optional.ofNullable(this.aofStorageConnectionString0);
    }

    /**
     * Second Storage Account connection string for AOF persistence.
     * 
     * Example usage:
     * 
     */
    @Import(name="aofStorageConnectionString1")
    private @Nullable Output aofStorageConnectionString1;

    /**
     * @return Second Storage Account connection string for AOF persistence.
     * 
     * Example usage:
     * 
     */
    public Optional> aofStorageConnectionString1() {
        return Optional.ofNullable(this.aofStorageConnectionString1);
    }

    /**
     * If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
     * 
     * > **NOTE:** `authentication_enabled` can only be set to `false` if a `subnet_id` is specified; and only works if there aren't existing instances within the subnet with `authentication_enabled` set to `true`.
     * 
     */
    @Import(name="authenticationEnabled")
    private @Nullable Output authenticationEnabled;

    /**
     * @return If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
     * 
     * > **NOTE:** `authentication_enabled` can only be set to `false` if a `subnet_id` is specified; and only works if there aren't existing instances within the subnet with `authentication_enabled` set to `true`.
     * 
     */
    public Optional> authenticationEnabled() {
        return Optional.ofNullable(this.authenticationEnabled);
    }

    /**
     * Preferred auth method to communicate to storage account used for data persistence. Possible values are `SAS` and `ManagedIdentity`.
     * 
     */
    @Import(name="dataPersistenceAuthenticationMethod")
    private @Nullable Output dataPersistenceAuthenticationMethod;

    /**
     * @return Preferred auth method to communicate to storage account used for data persistence. Possible values are `SAS` and `ManagedIdentity`.
     * 
     */
    public Optional> dataPersistenceAuthenticationMethod() {
        return Optional.ofNullable(this.dataPersistenceAuthenticationMethod);
    }

    /**
     * Returns the max number of connected clients at the same time.
     * 
     */
    @Import(name="maxclients")
    private @Nullable Output maxclients;

    /**
     * @return Returns the max number of connected clients at the same time.
     * 
     */
    public Optional> maxclients() {
        return Optional.ofNullable(this.maxclients);
    }

    /**
     * Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
     * 
     */
    @Import(name="maxfragmentationmemoryReserved")
    private @Nullable Output maxfragmentationmemoryReserved;

    /**
     * @return Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
     * 
     */
    public Optional> maxfragmentationmemoryReserved() {
        return Optional.ofNullable(this.maxfragmentationmemoryReserved);
    }

    /**
     * The max-memory delta for this Redis instance. Defaults are shown below.
     * 
     */
    @Import(name="maxmemoryDelta")
    private @Nullable Output maxmemoryDelta;

    /**
     * @return The max-memory delta for this Redis instance. Defaults are shown below.
     * 
     */
    public Optional> maxmemoryDelta() {
        return Optional.ofNullable(this.maxmemoryDelta);
    }

    /**
     * How Redis will select what to remove when `maxmemory` is reached. Defaults to `volatile-lru`.
     * 
     */
    @Import(name="maxmemoryPolicy")
    private @Nullable Output maxmemoryPolicy;

    /**
     * @return How Redis will select what to remove when `maxmemory` is reached. Defaults to `volatile-lru`.
     * 
     */
    public Optional> maxmemoryPolicy() {
        return Optional.ofNullable(this.maxmemoryPolicy);
    }

    /**
     * Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
     * 
     */
    @Import(name="maxmemoryReserved")
    private @Nullable Output maxmemoryReserved;

    /**
     * @return Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
     * 
     */
    public Optional> maxmemoryReserved() {
        return Optional.ofNullable(this.maxmemoryReserved);
    }

    /**
     * Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
     * 
     */
    @Import(name="notifyKeyspaceEvents")
    private @Nullable Output notifyKeyspaceEvents;

    /**
     * @return Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
     * 
     */
    public Optional> notifyKeyspaceEvents() {
        return Optional.ofNullable(this.notifyKeyspaceEvents);
    }

    /**
     * Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
     * 
     * > **NOTE:** If `rdb_backup_enabled` set to `true`, `rdb_storage_connection_string` must also be set.
     * 
     */
    @Import(name="rdbBackupEnabled")
    private @Nullable Output rdbBackupEnabled;

    /**
     * @return Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
     * 
     * > **NOTE:** If `rdb_backup_enabled` set to `true`, `rdb_storage_connection_string` must also be set.
     * 
     */
    public Optional> rdbBackupEnabled() {
        return Optional.ofNullable(this.rdbBackupEnabled);
    }

    /**
     * The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
     * 
     */
    @Import(name="rdbBackupFrequency")
    private @Nullable Output rdbBackupFrequency;

    /**
     * @return The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
     * 
     */
    public Optional> rdbBackupFrequency() {
        return Optional.ofNullable(this.rdbBackupFrequency);
    }

    /**
     * The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
     * 
     */
    @Import(name="rdbBackupMaxSnapshotCount")
    private @Nullable Output rdbBackupMaxSnapshotCount;

    /**
     * @return The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
     * 
     */
    public Optional> rdbBackupMaxSnapshotCount() {
        return Optional.ofNullable(this.rdbBackupMaxSnapshotCount);
    }

    /**
     * The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
     * 
     * > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
     * 
     */
    @Import(name="rdbStorageConnectionString")
    private @Nullable Output rdbStorageConnectionString;

    /**
     * @return The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
     * 
     * > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
     * 
     */
    public Optional> rdbStorageConnectionString() {
        return Optional.ofNullable(this.rdbStorageConnectionString);
    }

    /**
     * The ID of the Subscription containing the Storage Account.
     * 
     * <!--Start PulumiCodeChooser -->
     * <!--End PulumiCodeChooser -->
     * 
     */
    @Import(name="storageAccountSubscriptionId")
    private @Nullable Output storageAccountSubscriptionId;

    /**
     * @return The ID of the Subscription containing the Storage Account.
     * 
     * <!--Start PulumiCodeChooser -->
     * <!--End PulumiCodeChooser -->
     * 
     */
    public Optional> storageAccountSubscriptionId() {
        return Optional.ofNullable(this.storageAccountSubscriptionId);
    }

    private CacheRedisConfigurationArgs() {}

    private CacheRedisConfigurationArgs(CacheRedisConfigurationArgs $) {
        this.activeDirectoryAuthenticationEnabled = $.activeDirectoryAuthenticationEnabled;
        this.aofBackupEnabled = $.aofBackupEnabled;
        this.aofStorageConnectionString0 = $.aofStorageConnectionString0;
        this.aofStorageConnectionString1 = $.aofStorageConnectionString1;
        this.authenticationEnabled = $.authenticationEnabled;
        this.dataPersistenceAuthenticationMethod = $.dataPersistenceAuthenticationMethod;
        this.maxclients = $.maxclients;
        this.maxfragmentationmemoryReserved = $.maxfragmentationmemoryReserved;
        this.maxmemoryDelta = $.maxmemoryDelta;
        this.maxmemoryPolicy = $.maxmemoryPolicy;
        this.maxmemoryReserved = $.maxmemoryReserved;
        this.notifyKeyspaceEvents = $.notifyKeyspaceEvents;
        this.rdbBackupEnabled = $.rdbBackupEnabled;
        this.rdbBackupFrequency = $.rdbBackupFrequency;
        this.rdbBackupMaxSnapshotCount = $.rdbBackupMaxSnapshotCount;
        this.rdbStorageConnectionString = $.rdbStorageConnectionString;
        this.storageAccountSubscriptionId = $.storageAccountSubscriptionId;
    }

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

    public static final class Builder {
        private CacheRedisConfigurationArgs $;

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

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

        /**
         * @param activeDirectoryAuthenticationEnabled Enable Microsoft Entra (AAD) authentication. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryAuthenticationEnabled(@Nullable Output activeDirectoryAuthenticationEnabled) {
            $.activeDirectoryAuthenticationEnabled = activeDirectoryAuthenticationEnabled;
            return this;
        }

        /**
         * @param activeDirectoryAuthenticationEnabled Enable Microsoft Entra (AAD) authentication. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryAuthenticationEnabled(Boolean activeDirectoryAuthenticationEnabled) {
            return activeDirectoryAuthenticationEnabled(Output.of(activeDirectoryAuthenticationEnabled));
        }

        /**
         * @param aofBackupEnabled Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
         * 
         * > **NOTE:** `aof_backup_enabled` can only be set when SKU is `Premium`.
         * 
         * @return builder
         * 
         */
        public Builder aofBackupEnabled(@Nullable Output aofBackupEnabled) {
            $.aofBackupEnabled = aofBackupEnabled;
            return this;
        }

        /**
         * @param aofBackupEnabled Enable or disable AOF persistence for this Redis Cache. Defaults to `false`.
         * 
         * > **NOTE:** `aof_backup_enabled` can only be set when SKU is `Premium`.
         * 
         * @return builder
         * 
         */
        public Builder aofBackupEnabled(Boolean aofBackupEnabled) {
            return aofBackupEnabled(Output.of(aofBackupEnabled));
        }

        /**
         * @param aofStorageConnectionString0 First Storage Account connection string for AOF persistence.
         * 
         * @return builder
         * 
         */
        public Builder aofStorageConnectionString0(@Nullable Output aofStorageConnectionString0) {
            $.aofStorageConnectionString0 = aofStorageConnectionString0;
            return this;
        }

        /**
         * @param aofStorageConnectionString0 First Storage Account connection string for AOF persistence.
         * 
         * @return builder
         * 
         */
        public Builder aofStorageConnectionString0(String aofStorageConnectionString0) {
            return aofStorageConnectionString0(Output.of(aofStorageConnectionString0));
        }

        /**
         * @param aofStorageConnectionString1 Second Storage Account connection string for AOF persistence.
         * 
         * Example usage:
         * 
         * @return builder
         * 
         */
        public Builder aofStorageConnectionString1(@Nullable Output aofStorageConnectionString1) {
            $.aofStorageConnectionString1 = aofStorageConnectionString1;
            return this;
        }

        /**
         * @param aofStorageConnectionString1 Second Storage Account connection string for AOF persistence.
         * 
         * Example usage:
         * 
         * @return builder
         * 
         */
        public Builder aofStorageConnectionString1(String aofStorageConnectionString1) {
            return aofStorageConnectionString1(Output.of(aofStorageConnectionString1));
        }

        /**
         * @param authenticationEnabled If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
         * 
         * > **NOTE:** `authentication_enabled` can only be set to `false` if a `subnet_id` is specified; and only works if there aren't existing instances within the subnet with `authentication_enabled` set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationEnabled(@Nullable Output authenticationEnabled) {
            $.authenticationEnabled = authenticationEnabled;
            return this;
        }

        /**
         * @param authenticationEnabled If set to `false`, the Redis instance will be accessible without authentication. Defaults to `true`.
         * 
         * > **NOTE:** `authentication_enabled` can only be set to `false` if a `subnet_id` is specified; and only works if there aren't existing instances within the subnet with `authentication_enabled` set to `true`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationEnabled(Boolean authenticationEnabled) {
            return authenticationEnabled(Output.of(authenticationEnabled));
        }

        /**
         * @param dataPersistenceAuthenticationMethod Preferred auth method to communicate to storage account used for data persistence. Possible values are `SAS` and `ManagedIdentity`.
         * 
         * @return builder
         * 
         */
        public Builder dataPersistenceAuthenticationMethod(@Nullable Output dataPersistenceAuthenticationMethod) {
            $.dataPersistenceAuthenticationMethod = dataPersistenceAuthenticationMethod;
            return this;
        }

        /**
         * @param dataPersistenceAuthenticationMethod Preferred auth method to communicate to storage account used for data persistence. Possible values are `SAS` and `ManagedIdentity`.
         * 
         * @return builder
         * 
         */
        public Builder dataPersistenceAuthenticationMethod(String dataPersistenceAuthenticationMethod) {
            return dataPersistenceAuthenticationMethod(Output.of(dataPersistenceAuthenticationMethod));
        }

        /**
         * @param maxclients Returns the max number of connected clients at the same time.
         * 
         * @return builder
         * 
         */
        public Builder maxclients(@Nullable Output maxclients) {
            $.maxclients = maxclients;
            return this;
        }

        /**
         * @param maxclients Returns the max number of connected clients at the same time.
         * 
         * @return builder
         * 
         */
        public Builder maxclients(Integer maxclients) {
            return maxclients(Output.of(maxclients));
        }

        /**
         * @param maxfragmentationmemoryReserved Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxfragmentationmemoryReserved(@Nullable Output maxfragmentationmemoryReserved) {
            $.maxfragmentationmemoryReserved = maxfragmentationmemoryReserved;
            return this;
        }

        /**
         * @param maxfragmentationmemoryReserved Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxfragmentationmemoryReserved(Integer maxfragmentationmemoryReserved) {
            return maxfragmentationmemoryReserved(Output.of(maxfragmentationmemoryReserved));
        }

        /**
         * @param maxmemoryDelta The max-memory delta for this Redis instance. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryDelta(@Nullable Output maxmemoryDelta) {
            $.maxmemoryDelta = maxmemoryDelta;
            return this;
        }

        /**
         * @param maxmemoryDelta The max-memory delta for this Redis instance. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryDelta(Integer maxmemoryDelta) {
            return maxmemoryDelta(Output.of(maxmemoryDelta));
        }

        /**
         * @param maxmemoryPolicy How Redis will select what to remove when `maxmemory` is reached. Defaults to `volatile-lru`.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryPolicy(@Nullable Output maxmemoryPolicy) {
            $.maxmemoryPolicy = maxmemoryPolicy;
            return this;
        }

        /**
         * @param maxmemoryPolicy How Redis will select what to remove when `maxmemory` is reached. Defaults to `volatile-lru`.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryPolicy(String maxmemoryPolicy) {
            return maxmemoryPolicy(Output.of(maxmemoryPolicy));
        }

        /**
         * @param maxmemoryReserved Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryReserved(@Nullable Output maxmemoryReserved) {
            $.maxmemoryReserved = maxmemoryReserved;
            return this;
        }

        /**
         * @param maxmemoryReserved Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
         * 
         * @return builder
         * 
         */
        public Builder maxmemoryReserved(Integer maxmemoryReserved) {
            return maxmemoryReserved(Output.of(maxmemoryReserved));
        }

        /**
         * @param notifyKeyspaceEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
         * 
         * @return builder
         * 
         */
        public Builder notifyKeyspaceEvents(@Nullable Output notifyKeyspaceEvents) {
            $.notifyKeyspaceEvents = notifyKeyspaceEvents;
            return this;
        }

        /**
         * @param notifyKeyspaceEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. [Reference](https://redis.io/topics/notifications#configuration)
         * 
         * @return builder
         * 
         */
        public Builder notifyKeyspaceEvents(String notifyKeyspaceEvents) {
            return notifyKeyspaceEvents(Output.of(notifyKeyspaceEvents));
        }

        /**
         * @param rdbBackupEnabled Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
         * 
         * > **NOTE:** If `rdb_backup_enabled` set to `true`, `rdb_storage_connection_string` must also be set.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupEnabled(@Nullable Output rdbBackupEnabled) {
            $.rdbBackupEnabled = rdbBackupEnabled;
            return this;
        }

        /**
         * @param rdbBackupEnabled Is Backup Enabled? Only supported on Premium SKUs. Defaults to `false`.
         * 
         * > **NOTE:** If `rdb_backup_enabled` set to `true`, `rdb_storage_connection_string` must also be set.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupEnabled(Boolean rdbBackupEnabled) {
            return rdbBackupEnabled(Output.of(rdbBackupEnabled));
        }

        /**
         * @param rdbBackupFrequency The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupFrequency(@Nullable Output rdbBackupFrequency) {
            $.rdbBackupFrequency = rdbBackupFrequency;
            return this;
        }

        /**
         * @param rdbBackupFrequency The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: `15`, `30`, `60`, `360`, `720` and `1440`.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupFrequency(Integer rdbBackupFrequency) {
            return rdbBackupFrequency(Output.of(rdbBackupFrequency));
        }

        /**
         * @param rdbBackupMaxSnapshotCount The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupMaxSnapshotCount(@Nullable Output rdbBackupMaxSnapshotCount) {
            $.rdbBackupMaxSnapshotCount = rdbBackupMaxSnapshotCount;
            return this;
        }

        /**
         * @param rdbBackupMaxSnapshotCount The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
         * 
         * @return builder
         * 
         */
        public Builder rdbBackupMaxSnapshotCount(Integer rdbBackupMaxSnapshotCount) {
            return rdbBackupMaxSnapshotCount(Output.of(rdbBackupMaxSnapshotCount));
        }

        /**
         * @param rdbStorageConnectionString The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
         * 
         * > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
         * 
         * @return builder
         * 
         */
        public Builder rdbStorageConnectionString(@Nullable Output rdbStorageConnectionString) {
            $.rdbStorageConnectionString = rdbStorageConnectionString;
            return this;
        }

        /**
         * @param rdbStorageConnectionString The Connection String to the Storage Account. Only supported for Premium SKUs. In the format: `DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}`.
         * 
         * > **NOTE:** There's a bug in the Redis API where the original storage connection string isn't being returned, which [is being tracked in this issue](https://github.com/Azure/azure-rest-api-specs/issues/3037). In the interim you can use [the `ignoreChanges` attribute to ignore changes to this field](https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) e.g.:
         * 
         * @return builder
         * 
         */
        public Builder rdbStorageConnectionString(String rdbStorageConnectionString) {
            return rdbStorageConnectionString(Output.of(rdbStorageConnectionString));
        }

        /**
         * @param storageAccountSubscriptionId The ID of the Subscription containing the Storage Account.
         * 
         * <!--Start PulumiCodeChooser -->
         * <!--End PulumiCodeChooser -->
         * 
         * @return builder
         * 
         */
        public Builder storageAccountSubscriptionId(@Nullable Output storageAccountSubscriptionId) {
            $.storageAccountSubscriptionId = storageAccountSubscriptionId;
            return this;
        }

        /**
         * @param storageAccountSubscriptionId The ID of the Subscription containing the Storage Account.
         * 
         * <!--Start PulumiCodeChooser -->
         * <!--End PulumiCodeChooser -->
         * 
         * @return builder
         * 
         */
        public Builder storageAccountSubscriptionId(String storageAccountSubscriptionId) {
            return storageAccountSubscriptionId(Output.of(storageAccountSubscriptionId));
        }

        public CacheRedisConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy