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

51 lines (50 loc) 2.43 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource. * * Uses Azure REST API version 2024-11-01. * * Other available API versions: 2015-08-01, 2016-04-01, 2017-02-01, 2017-10-01, 2018-03-01, 2019-07-01, 2020-06-01, 2020-12-01, 2021-06-01, 2022-05-01, 2022-06-01, 2023-04-01, 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listRedisKeys(args: ListRedisKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListRedisKeysResult>; export interface ListRedisKeysArgs { /** * The name of the RedisResource */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Redis cache access keys. */ export interface ListRedisKeysResult { /** * The current primary key that clients can use to authenticate with Redis cache. */ readonly primaryKey: string; /** * The current secondary key that clients can use to authenticate with Redis cache. */ readonly secondaryKey: string; } /** * Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource. * * Uses Azure REST API version 2024-11-01. * * Other available API versions: 2015-08-01, 2016-04-01, 2017-02-01, 2017-10-01, 2018-03-01, 2019-07-01, 2020-06-01, 2020-12-01, 2021-06-01, 2022-05-01, 2022-06-01, 2023-04-01, 2023-05-01-preview, 2023-08-01, 2024-03-01, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native redis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listRedisKeysOutput(args: ListRedisKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListRedisKeysResult>; export interface ListRedisKeysOutputArgs { /** * The name of the RedisResource */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }