import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Stream Pools in Oracle Cloud Infrastructure Streaming service. * * List the stream pools for a given compartment ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamPools = oci.streaming.getStreamPools({ * compartmentId: compartmentId, * id: streamPoolId, * name: streamPoolName, * state: streamPoolState, * }); * ``` */ export declare function getStreamPools(args: GetStreamPoolsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStreamPools. */ export interface GetStreamPoolsArgs { /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.Streaming.GetStreamPoolsFilter[]; /** * A filter to return only resources that match the given ID exactly. */ id?: string; /** * A filter to return only resources that match the given name exactly. */ name?: string; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getStreamPools. */ export interface GetStreamPoolsResult { /** * Compartment OCID that the pool belongs to. */ readonly compartmentId: string; readonly filters?: outputs.Streaming.GetStreamPoolsFilter[]; /** * The OCID of the stream pool. */ readonly id?: string; /** * The name of the stream pool. */ readonly name?: string; /** * The current state of the stream pool. */ readonly state?: string; /** * The list of stream_pools. */ readonly streamPools: outputs.Streaming.GetStreamPoolsStreamPool[]; } /** * This data source provides the list of Stream Pools in Oracle Cloud Infrastructure Streaming service. * * List the stream pools for a given compartment ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testStreamPools = oci.streaming.getStreamPools({ * compartmentId: compartmentId, * id: streamPoolId, * name: streamPoolName, * state: streamPoolState, * }); * ``` */ export declare function getStreamPoolsOutput(args: GetStreamPoolsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStreamPools. */ export interface GetStreamPoolsOutputArgs { /** * The OCID of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given ID exactly. */ id?: pulumi.Input; /** * A filter to return only resources that match the given name exactly. */ name?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getStreamPools.d.ts.map