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 Service Gateways in Oracle Cloud Infrastructure Core service. * * Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID * to filter the results by VCN. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testServiceGateways = oci.core.getServiceGateways({ * compartmentId: compartmentId, * state: serviceGatewayState, * vcnId: testVcn.id, * }); * ``` */ export declare function getServiceGateways(args: GetServiceGatewaysArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceGateways. */ export interface GetServiceGatewaysArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Core.GetServiceGatewaysFilter[]; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: string; } /** * A collection of values returned by getServiceGateways. */ export interface GetServiceGatewaysResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the service gateway. */ readonly compartmentId: string; readonly filters?: outputs.Core.GetServiceGatewaysFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of service_gateways. */ readonly serviceGateways: outputs.Core.GetServiceGatewaysServiceGateway[]; /** * The service gateway's current state. */ readonly state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the service gateway belongs to. */ readonly vcnId?: string; } /** * This data source provides the list of Service Gateways in Oracle Cloud Infrastructure Core service. * * Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID * to filter the results by VCN. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testServiceGateways = oci.core.getServiceGateways({ * compartmentId: compartmentId, * state: serviceGatewayState, * vcnId: testVcn.id, * }); * ``` */ export declare function getServiceGatewaysOutput(args: GetServiceGatewaysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceGateways. */ export interface GetServiceGatewaysOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getServiceGateways.d.ts.map