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 Recovery Service Subnets in Oracle Cloud Infrastructure Recovery service. * * Returns a list of Recovery Service Subnets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecoveryServiceSubnets = oci.recoverymod.getRecoveryServiceSubnets({ * compartmentId: compartmentId, * displayName: recoveryServiceSubnetDisplayName, * id: recoveryServiceSubnetId, * state: recoveryServiceSubnetState, * vcnId: testVcn.id, * }); * ``` */ export declare function getRecoveryServiceSubnets(args: GetRecoveryServiceSubnetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRecoveryServiceSubnets. */ export interface GetRecoveryServiceSubnetsArgs { /** * The compartment OCID. */ compartmentId: string; /** * A filter to return only resources that match the entire 'displayname' given. */ displayName?: string; filters?: inputs.RecoveryMod.GetRecoveryServiceSubnetsFilter[]; /** * The recovery service subnet OCID. */ id?: string; /** * A filter to return only the resources that match the specified lifecycle state. */ state?: string; /** * The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. */ vcnId?: string; } /** * A collection of values returned by getRecoveryServiceSubnets. */ export interface GetRecoveryServiceSubnetsResult { /** * The compartment OCID. */ readonly compartmentId: string; /** * A user-provided name for the recovery service subnet. */ readonly displayName?: string; readonly filters?: outputs.RecoveryMod.GetRecoveryServiceSubnetsFilter[]; /** * The recovery service subnet OCID. */ readonly id?: string; /** * The list of recovery_service_subnet_collection. */ readonly recoveryServiceSubnetCollections: outputs.RecoveryMod.GetRecoveryServiceSubnetsRecoveryServiceSubnetCollection[]; /** * The current state of the recovery service subnet. */ readonly state?: string; /** * VCN Identifier. */ readonly vcnId?: string; } /** * This data source provides the list of Recovery Service Subnets in Oracle Cloud Infrastructure Recovery service. * * Returns a list of Recovery Service Subnets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRecoveryServiceSubnets = oci.recoverymod.getRecoveryServiceSubnets({ * compartmentId: compartmentId, * displayName: recoveryServiceSubnetDisplayName, * id: recoveryServiceSubnetId, * state: recoveryServiceSubnetState, * vcnId: testVcn.id, * }); * ``` */ export declare function getRecoveryServiceSubnetsOutput(args: GetRecoveryServiceSubnetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRecoveryServiceSubnets. */ export interface GetRecoveryServiceSubnetsOutputArgs { /** * The compartment OCID. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire 'displayname' given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The recovery service subnet OCID. */ id?: pulumi.Input; /** * A filter to return only the resources that match the specified lifecycle state. */ state?: pulumi.Input; /** * The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getRecoveryServiceSubnets.d.ts.map