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 Deployments in Oracle Cloud Infrastructure Golden Gate service. * * Lists the Deployments in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployments = oci.goldengate.getDeployments({ * compartmentId: compartmentId, * assignableConnectionId: testConnection.id, * assignedConnectionId: testConnection.id, * deploymentType: deploymentDeploymentType, * displayName: deploymentDisplayName, * fqdn: deploymentFqdn, * lifecycleSubState: deploymentLifecycleSubState, * state: deploymentState, * supportedConnectionType: deploymentSupportedConnectionType, * }); * ``` */ export declare function getDeployments(args: GetDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDeployments. */ export interface GetDeploymentsArgs { /** * Return the deployments to which the specified connectionId may be assigned. */ assignableConnectionId?: string; /** * The OCID of the connection which for the deployment must be assigned. */ assignedConnectionId?: string; /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: string; /** * A filter that returns only the resources matching the specified 'deploymentType'. */ deploymentType?: string; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: string; filters?: inputs.GoldenGate.GetDeploymentsFilter[]; /** * A filter to return only the resources that match the 'fqdn' given. */ fqdn?: string; /** * A filter to return only the resources that match the 'lifecycleSubState' given. */ lifecycleSubState?: string; /** * A filter to return only the deployments having the 'lifecycleState' given. */ state?: string; /** * The connection type which the deployment must support. */ supportedConnectionType?: string; } /** * A collection of values returned by getDeployments. */ export interface GetDeploymentsResult { readonly assignableConnectionId?: string; readonly assignedConnectionId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: string; /** * The list of deployment_collection. */ readonly deploymentCollections: outputs.GoldenGate.GetDeploymentsDeploymentCollection[]; /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'. */ readonly deploymentType?: string; /** * An object's Display Name. */ readonly displayName?: string; readonly filters?: outputs.GoldenGate.GetDeploymentsFilter[]; /** * A three-label Fully Qualified Domain Name (FQDN) for a resource. */ readonly fqdn?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Possible GGS lifecycle sub-states. */ readonly lifecycleSubState?: string; /** * Possible lifecycle states for a Deployment. */ readonly state?: string; readonly supportedConnectionType?: string; } /** * This data source provides the list of Deployments in Oracle Cloud Infrastructure Golden Gate service. * * Lists the Deployments in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeployments = oci.goldengate.getDeployments({ * compartmentId: compartmentId, * assignableConnectionId: testConnection.id, * assignedConnectionId: testConnection.id, * deploymentType: deploymentDeploymentType, * displayName: deploymentDisplayName, * fqdn: deploymentFqdn, * lifecycleSubState: deploymentLifecycleSubState, * state: deploymentState, * supportedConnectionType: deploymentSupportedConnectionType, * }); * ``` */ export declare function getDeploymentsOutput(args: GetDeploymentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDeployments. */ export interface GetDeploymentsOutputArgs { /** * Return the deployments to which the specified connectionId may be assigned. */ assignableConnectionId?: pulumi.Input; /** * The OCID of the connection which for the deployment must be assigned. */ assignedConnectionId?: pulumi.Input; /** * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. */ compartmentId: pulumi.Input; /** * A filter that returns only the resources matching the specified 'deploymentType'. */ deploymentType?: pulumi.Input; /** * A filter to return only the resources that match the entire 'displayName' given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the 'fqdn' given. */ fqdn?: pulumi.Input; /** * A filter to return only the resources that match the 'lifecycleSubState' given. */ lifecycleSubState?: pulumi.Input; /** * A filter to return only the deployments having the 'lifecycleState' given. */ state?: pulumi.Input; /** * The connection type which the deployment must support. */ supportedConnectionType?: pulumi.Input; } //# sourceMappingURL=getDeployments.d.ts.map