Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.GoldenGate.getDeploymentVersions
Explore with Pulumi AI
This data source provides the list of Deployment Versions in Oracle Cloud Infrastructure Golden Gate service.
Returns the list of available deployment versions.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeploymentVersions = oci.GoldenGate.getDeploymentVersions({
    compartmentId: compartmentId,
    deploymentId: testDeployment.id,
    deploymentType: deploymentVersionDeploymentType,
});
import pulumi
import pulumi_oci as oci
test_deployment_versions = oci.GoldenGate.get_deployment_versions(compartment_id=compartment_id,
    deployment_id=test_deployment["id"],
    deployment_type=deployment_version_deployment_type)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/goldengate"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := goldengate.GetDeploymentVersions(ctx, &goldengate.GetDeploymentVersionsArgs{
			CompartmentId:  compartmentId,
			DeploymentId:   pulumi.StringRef(testDeployment.Id),
			DeploymentType: pulumi.StringRef(deploymentVersionDeploymentType),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testDeploymentVersions = Oci.GoldenGate.GetDeploymentVersions.Invoke(new()
    {
        CompartmentId = compartmentId,
        DeploymentId = testDeployment.Id,
        DeploymentType = deploymentVersionDeploymentType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetDeploymentVersionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testDeploymentVersions = GoldenGateFunctions.getDeploymentVersions(GetDeploymentVersionsArgs.builder()
            .compartmentId(compartmentId)
            .deploymentId(testDeployment.id())
            .deploymentType(deploymentVersionDeploymentType)
            .build());
    }
}
variables:
  testDeploymentVersions:
    fn::invoke:
      function: oci:GoldenGate:getDeploymentVersions
      arguments:
        compartmentId: ${compartmentId}
        deploymentId: ${testDeployment.id}
        deploymentType: ${deploymentVersionDeploymentType}
Using getDeploymentVersions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDeploymentVersions(args: GetDeploymentVersionsArgs, opts?: InvokeOptions): Promise<GetDeploymentVersionsResult>
function getDeploymentVersionsOutput(args: GetDeploymentVersionsOutputArgs, opts?: InvokeOptions): Output<GetDeploymentVersionsResult>def get_deployment_versions(compartment_id: Optional[str] = None,
                            deployment_id: Optional[str] = None,
                            deployment_type: Optional[str] = None,
                            filters: Optional[Sequence[GetDeploymentVersionsFilter]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDeploymentVersionsResult
def get_deployment_versions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                            deployment_id: Optional[pulumi.Input[str]] = None,
                            deployment_type: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDeploymentVersionsFilterArgs]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentVersionsResult]func GetDeploymentVersions(ctx *Context, args *GetDeploymentVersionsArgs, opts ...InvokeOption) (*GetDeploymentVersionsResult, error)
func GetDeploymentVersionsOutput(ctx *Context, args *GetDeploymentVersionsOutputArgs, opts ...InvokeOption) GetDeploymentVersionsResultOutput> Note: This function is named GetDeploymentVersions in the Go SDK.
public static class GetDeploymentVersions 
{
    public static Task<GetDeploymentVersionsResult> InvokeAsync(GetDeploymentVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentVersionsResult> Invoke(GetDeploymentVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeploymentVersionsResult> getDeploymentVersions(GetDeploymentVersionsArgs args, InvokeOptions options)
public static Output<GetDeploymentVersionsResult> getDeploymentVersions(GetDeploymentVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:GoldenGate/getDeploymentVersions:getDeploymentVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DeploymentId string
- The OCID of the deployment in which to list resources.
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- Filters
List<GetDeployment Versions Filter> 
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DeploymentId string
- The OCID of the deployment in which to list resources.
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- Filters
[]GetDeployment Versions Filter 
- compartmentId String
- The OCID of the compartment in which to list resources.
- deploymentId String
- The OCID of the deployment in which to list resources.
- deploymentType String
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- filters
List<GetDeployment Versions Filter> 
- compartmentId string
- The OCID of the compartment in which to list resources.
- deploymentId string
- The OCID of the deployment in which to list resources.
- deploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- filters
GetDeployment Versions Filter[] 
- compartment_id str
- The OCID of the compartment in which to list resources.
- deployment_id str
- The OCID of the deployment in which to list resources.
- deployment_type str
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- filters
Sequence[GetDeployment Versions Filter] 
- compartmentId String
- The OCID of the compartment in which to list resources.
- deploymentId String
- The OCID of the deployment in which to list resources.
- deploymentType String
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- filters List<Property Map>
getDeploymentVersions Result
The following output properties are available:
- CompartmentId string
- DeploymentVersion List<GetCollections Deployment Versions Deployment Version Collection> 
- The list of deployment_version_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- DeploymentId string
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- Filters
List<GetDeployment Versions Filter> 
- CompartmentId string
- DeploymentVersion []GetCollections Deployment Versions Deployment Version Collection 
- The list of deployment_version_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- DeploymentId string
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- Filters
[]GetDeployment Versions Filter 
- compartmentId String
- deploymentVersion List<GetCollections Deployment Versions Deployment Version Collection> 
- The list of deployment_version_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- deploymentId String
- deploymentType String
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- filters
List<GetDeployment Versions Filter> 
- compartmentId string
- deploymentVersion GetCollections Deployment Versions Deployment Version Collection[] 
- The list of deployment_version_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- deploymentId string
- deploymentType string
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- filters
GetDeployment Versions Filter[] 
- compartment_id str
- deployment_version_ Sequence[Getcollections Deployment Versions Deployment Version Collection] 
- The list of deployment_version_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- deployment_id str
- deployment_type str
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- filters
Sequence[GetDeployment Versions Filter] 
- compartmentId String
- deploymentVersion List<Property Map>Collections 
- The list of deployment_version_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- deploymentId String
- deploymentType String
- The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent 'DATABASE_ORACLE' value.
- filters List<Property Map>
Supporting Types
GetDeploymentVersionsDeploymentVersionCollection     
- Items
List<GetDeployment Versions Deployment Version Collection Item> 
- Array of DeploymentVersionSummary.
- Items
[]GetDeployment Versions Deployment Version Collection Item 
- Array of DeploymentVersionSummary.
- items
List<GetDeployment Versions Deployment Version Collection Item> 
- Array of DeploymentVersionSummary.
- items
GetDeployment Versions Deployment Version Collection Item[] 
- Array of DeploymentVersionSummary.
- items
Sequence[GetDeployment Versions Deployment Version Collection Item] 
- Array of DeploymentVersionSummary.
- items List<Property Map>
- Array of DeploymentVersionSummary.
GetDeploymentVersionsDeploymentVersionCollectionItem      
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- IsSecurity boolFix 
- Indicates if OGG release contains security fix.
- OggVersion string
- Version of OGG
- ReleaseType string
- The type of release.
- TimeReleased string
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeSupported stringUntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- DeploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- IsSecurity boolFix 
- Indicates if OGG release contains security fix.
- OggVersion string
- Version of OGG
- ReleaseType string
- The type of release.
- TimeReleased string
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeSupported stringUntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- deploymentType String
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- isSecurity BooleanFix 
- Indicates if OGG release contains security fix.
- oggVersion String
- Version of OGG
- releaseType String
- The type of release.
- timeReleased String
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeSupported StringUntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- deploymentType string
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- isSecurity booleanFix 
- Indicates if OGG release contains security fix.
- oggVersion string
- Version of OGG
- releaseType string
- The type of release.
- timeReleased string
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeSupported stringUntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- deployment_type str
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- is_security_ boolfix 
- Indicates if OGG release contains security fix.
- ogg_version str
- Version of OGG
- release_type str
- The type of release.
- time_released str
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- time_supported_ struntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- deploymentType String
- The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- isSecurity BooleanFix 
- Indicates if OGG release contains security fix.
- oggVersion String
- Version of OGG
- releaseType String
- The type of release.
- timeReleased String
- The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeSupported StringUntil 
- The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
GetDeploymentVersionsFilter   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.