UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

157 lines (156 loc) 6.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Describes the Redis Enterprise cluster * * Uses Azure REST API version 2025-05-01-preview. * * Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-03-01-preview, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redisenterprise [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class RedisEnterprise extends pulumi.CustomResource { /** * Get an existing RedisEnterprise resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RedisEnterprise; /** * Returns true if the given object is an instance of RedisEnterprise. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RedisEnterprise; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Encryption-at-rest configuration for the cluster. */ readonly encryption: pulumi.Output<outputs.redisenterprise.ClusterPropertiesResponseEncryption | undefined>; /** * Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss. */ readonly highAvailability: pulumi.Output<string | undefined>; /** * DNS name of the cluster endpoint */ readonly hostName: pulumi.Output<string>; /** * The identity of the resource. */ readonly identity: pulumi.Output<outputs.redisenterprise.ManagedServiceIdentityResponse | undefined>; /** * Distinguishes the kind of cluster. Read-only. */ readonly kind: pulumi.Output<string>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions. */ readonly minimumTlsVersion: pulumi.Output<string | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * List of private endpoint connections associated with the specified Redis Enterprise cluster */ readonly privateEndpointConnections: pulumi.Output<outputs.redisenterprise.PrivateEndpointConnectionResponse[]>; /** * Current provisioning status of the cluster */ readonly provisioningState: pulumi.Output<string>; /** * Version of redis the cluster supports, e.g. '6' */ readonly redisVersion: pulumi.Output<string>; /** * Explains the current redundancy strategy of the cluster, which affects the expected SLA. */ readonly redundancyMode: pulumi.Output<string>; /** * Current resource status of the cluster */ readonly resourceState: pulumi.Output<string>; /** * The SKU to create, which affects price, performance, and features. */ readonly sku: pulumi.Output<outputs.redisenterprise.SkuResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * The Availability Zones where this cluster will be deployed. */ readonly zones: pulumi.Output<string[] | undefined>; /** * Create a RedisEnterprise resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RedisEnterpriseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RedisEnterprise resource. */ export interface RedisEnterpriseArgs { /** * The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens */ clusterName?: pulumi.Input<string>; /** * Encryption-at-rest configuration for the cluster. */ encryption?: pulumi.Input<inputs.redisenterprise.ClusterPropertiesEncryptionArgs>; /** * Enabled by default. If highAvailability is disabled, the data set is not replicated. This affects the availability SLA, and increases the risk of data loss. */ highAvailability?: pulumi.Input<string | enums.redisenterprise.HighAvailability>; /** * The identity of the resource. */ identity?: pulumi.Input<inputs.redisenterprise.ManagedServiceIdentityArgs>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * The minimum TLS version for the cluster to support, e.g. '1.2'. Newer versions can be added in the future. Note that TLS 1.0 and TLS 1.1 are now completely obsolete -- you cannot use them. They are mentioned only for the sake of consistency with old API versions. */ minimumTlsVersion?: pulumi.Input<string | enums.redisenterprise.TlsVersion>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The SKU to create, which affects price, performance, and features. */ sku: pulumi.Input<inputs.redisenterprise.SkuArgs>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The Availability Zones where this cluster will be deployed. */ zones?: pulumi.Input<pulumi.Input<string>[]>; }