DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
# danubedata.getCacheProviders
Lists available cache providers (Redis, Valkey, Dragonfly).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as danubedata from "@pulumi/danubedata";
const all = danubedata.getCacheProviders({});
export const cacheProviders = all.then(all => .map(p => ({
id: p.id,
name: p.name,
})));
import pulumi
import pulumi_danubedata as danubedata
all = danubedata.get_cache_providers()
pulumi.export("cacheProviders", [{
"id": p.id,
"name": p.name,
} for p in all.providers])
package main
import (
"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
all, err := danubedata.GetCacheProviders(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("cacheProviders", pulumi.MapArray("TODO: For expression"))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DanubeData = Pulumi.DanubeData;
return await Deployment.RunAsync(() =>
{
var all = DanubeData.GetCacheProviders.Invoke();
return new Dictionary<string, object?>
{
["cacheProviders"] = .Select(p =>
{
return
{
{ "id", p.Id },
{ "name", p.Name },
};
}).ToList(),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.danubedata.DanubedataFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all = DanubedataFunctions.getCacheProviders();
ctx.export("cacheProviders", "TODO: ForExpression");
}
}
Example coming soon!
Using getCacheProviders
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCacheProviders(opts?: InvokeOptions): Promise<GetCacheProvidersResult>
function getCacheProvidersOutput(opts?: InvokeOptions): Output<GetCacheProvidersResult>def get_cache_providers(opts: Optional[InvokeOptions] = None) -> GetCacheProvidersResult
def get_cache_providers_output(opts: Optional[InvokeOptions] = None) -> Output[GetCacheProvidersResult]func GetCacheProviders(ctx *Context, opts ...InvokeOption) (*GetCacheProvidersResult, error)
func GetCacheProvidersOutput(ctx *Context, opts ...InvokeOption) GetCacheProvidersResultOutput> Note: This function is named GetCacheProviders in the Go SDK.
public static class GetCacheProviders
{
public static Task<GetCacheProvidersResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCacheProvidersResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetCacheProvidersResult> getCacheProviders(InvokeOptions options)
public static Output<GetCacheProvidersResult> getCacheProviders(InvokeOptions options)
fn::invoke:
function: danubedata:index/getCacheProviders:getCacheProviders
arguments:
# arguments dictionarygetCacheProviders Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Providers
List<Danube
Data. Danube Data. Outputs. Get Cache Providers Provider> - List of cache providers. Each provider contains:
- Id string
- The provider-assigned unique ID for this managed resource.
- Providers
[]Get
Cache Providers Provider - List of cache providers. Each provider contains:
- id String
- The provider-assigned unique ID for this managed resource.
- providers
List<Get
Cache Providers Provider> - List of cache providers. Each provider contains:
- id string
- The provider-assigned unique ID for this managed resource.
- providers
Get
Cache Providers Provider[] - List of cache providers. Each provider contains:
- id str
- The provider-assigned unique ID for this managed resource.
- providers
Sequence[Get
Cache Providers Provider] - List of cache providers. Each provider contains:
- id String
- The provider-assigned unique ID for this managed resource.
- providers List<Property Map>
- List of cache providers. Each provider contains:
Supporting Types
GetCacheProvidersProvider
- Default
Port int - Default port number.
- Description string
- Provider description.
- Id int
- The provider ID.
- Name string
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- Type string
- Provider type identifier.
- Version string
- Default version.
- Default
Port int - Default port number.
- Description string
- Provider description.
- Id int
- The provider ID.
- Name string
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- Type string
- Provider type identifier.
- Version string
- Default version.
- default
Port Integer - Default port number.
- description String
- Provider description.
- id Integer
- The provider ID.
- name String
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- type String
- Provider type identifier.
- version String
- Default version.
- default
Port number - Default port number.
- description string
- Provider description.
- id number
- The provider ID.
- name string
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- type string
- Provider type identifier.
- version string
- Default version.
- default_
port int - Default port number.
- description str
- Provider description.
- id int
- The provider ID.
- name str
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- type str
- Provider type identifier.
- version str
- Default version.
- default
Port Number - Default port number.
- description String
- Provider description.
- id Number
- The provider ID.
- name String
- Provider name (e.g., "Redis", "Valkey", "Dragonfly").
- type String
- Provider type identifier.
- version String
- Default version.
Package Details
- Repository
- danubedata AdrianSilaghi/pulumi-danubedata
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
danubedataTerraform Provider.
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
