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 Gateways in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of gateways. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testGateways = oci.apigateway.getGateways({ * compartmentId: compartmentId, * certificateId: ociApigatewayCertificate.testCertificate.id, * displayName: gatewayDisplayName, * state: gatewayState, * }); * ``` */ export declare function getGateways(args: GetGatewaysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getGateways. */ export interface GetGatewaysArgs { /** * Filter gateways by the certificate ocid. */ certificateId?: string; /** * 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.GetGatewaysFilter[]; /** * A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` */ state?: string; } /** * A collection of values returned by getGateways. */ export interface GetGatewaysResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly certificateId?: string; /** * 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.GetGatewaysFilter[]; /** * The list of gateway_collection. */ readonly gatewayCollections: outputs.ApiGateway.GetGatewaysGatewayCollection[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the gateway. */ readonly state?: string; } /** * This data source provides the list of Gateways in Oracle Cloud Infrastructure API Gateway service. * * Returns a list of gateways. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testGateways = oci.apigateway.getGateways({ * compartmentId: compartmentId, * certificateId: ociApigatewayCertificate.testCertificate.id, * displayName: gatewayDisplayName, * state: gatewayState, * }); * ``` */ export declare function getGatewaysOutput(args: GetGatewaysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getGateways. */ export interface GetGatewaysOutputArgs { /** * Filter gateways by the certificate ocid. */ certificateId?: pulumi.Input; /** * 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: `SUCCEEDED` */ state?: pulumi.Input; } //# sourceMappingURL=getGateways.d.ts.map