import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * The Regions data source allows access to a list of supported cloud provider regions. These regions can be used with the subscription resource. * * ## Example Usage * * The following example returns all of the supported regions available within your Redis Enterprise Cloud account. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const example = rediscloud.getRegions({}); * export const allRegions = example.then(example => example.regions); * ``` * * The following example show how the list of regions can be filtered by cloud provider, (`AWS` or `GCP`). * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const exampleAws = rediscloud.getRegions({ * providerName: "AWS", * }); * const exampleGcp = rediscloud.getRegions({ * providerName: "GCP", * }); * ``` */ export declare function getRegions(args?: GetRegionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRegions. */ export interface GetRegionsArgs { /** * The name of the cloud provider to filter returned regions, (accepted values are `AWS` or `GCP`). */ providerName?: string; } /** * A collection of values returned by getRegions. */ export interface GetRegionsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The identifier of the owning cloud provider, (either `AWS` or `GCP`) */ readonly providerName?: string; /** * A list of regions from either a single or multiple cloud providers. */ readonly regions: outputs.GetRegionsRegion[]; } /** * The Regions data source allows access to a list of supported cloud provider regions. These regions can be used with the subscription resource. * * ## Example Usage * * The following example returns all of the supported regions available within your Redis Enterprise Cloud account. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const example = rediscloud.getRegions({}); * export const allRegions = example.then(example => example.regions); * ``` * * The following example show how the list of regions can be filtered by cloud provider, (`AWS` or `GCP`). * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@pulumi/rediscloud"; * * const exampleAws = rediscloud.getRegions({ * providerName: "AWS", * }); * const exampleGcp = rediscloud.getRegions({ * providerName: "GCP", * }); * ``` */ export declare function getRegionsOutput(args?: GetRegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getRegions. */ export interface GetRegionsOutputArgs { /** * The name of the cloud provider to filter returned regions, (accepted values are `AWS` or `GCP`). */ providerName?: pulumi.Input; }