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 Subscribers in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of subscribers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscribers = oci.apigateway.getSubscribers({ * compartmentId: compartmentId, * displayName: subscriberDisplayName, * state: subscriberState, * }); * ``` */ export declare function getSubscribers(args: GetSubscribersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscribers. */ export interface GetSubscribersArgs { /** * The ocid of the compartment in which to list resources. */ compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: string; filters?: inputs.ApiGateway.GetSubscribersFilter[]; /** * A filter to return only resources that match the given lifecycle state. Example: `ACTIVE` */ state?: string; } /** * A collection of values returned by getSubscribers. */ export interface GetSubscribersResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the resource is created. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName?: string; readonly filters?: outputs.ApiGateway.GetSubscribersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the subscriber. */ readonly state?: string; /** * The list of subscriber_collection. */ readonly subscriberCollections: outputs.ApiGateway.GetSubscribersSubscriberCollection[]; } /** * This data source provides the list of Subscribers in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of subscribers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscribers = oci.apigateway.getSubscribers({ * compartmentId: compartmentId, * displayName: subscriberDisplayName, * state: subscriberState, * }); * ``` */ export declare function getSubscribersOutput(args: GetSubscribersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscribers. */ export interface GetSubscribersOutputArgs { /** * The ocid of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state. Example: `ACTIVE` */ state?: pulumi.Input; } //# sourceMappingURL=getSubscribers.d.ts.map