oci.GoldenGate.getDeploymentVersions
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
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDeploymentVersions = Oci.GoldenGate.GetDeploymentVersions.Invoke(new()
{
CompartmentId = @var.Compartment_id,
DeploymentId = oci_golden_gate_deployment.Test_deployment.Id,
DeploymentType = @var.Deployment_version_deployment_type,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
DeploymentId: pulumi.StringRef(oci_golden_gate_deployment.Test_deployment.Id),
DeploymentType: pulumi.StringRef(_var.Deployment_version_deployment_type),
}, nil)
if err != nil {
return err
}
return nil
})
}
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(var_.compartment_id())
.deploymentId(oci_golden_gate_deployment.test_deployment().id())
.deploymentType(var_.deployment_version_deployment_type())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_deployment_versions = oci.GoldenGate.get_deployment_versions(compartment_id=var["compartment_id"],
deployment_id=oci_golden_gate_deployment["test_deployment"]["id"],
deployment_type=var["deployment_version_deployment_type"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeploymentVersions = oci.GoldenGate.getDeploymentVersions({
compartmentId: _var.compartment_id,
deploymentId: oci_golden_gate_deployment.test_deployment.id,
deploymentType: _var.deployment_version_deployment_type,
});
variables:
testDeploymentVersions:
fn::invoke:
Function: oci:GoldenGate:getDeploymentVersions
Arguments:
compartmentId: ${var.compartment_id}
deploymentId: ${oci_golden_gate_deployment.test_deployment.id}
deploymentType: ${var.deployment_version_deployment_type}
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[_goldengate.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[_goldengate.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GoldenGate/getDeploymentVersions:getDeploymentVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string The OCID of the compartment in which to list resources.
- Deployment
Id string The OCID of the deployment in which to list resources.
- Deployment
Type 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<Get
Deployment Versions Filter>
- Compartment
Id string The OCID of the compartment in which to list resources.
- Deployment
Id string The OCID of the deployment in which to list resources.
- Deployment
Type string The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- Filters
[]Get
Deployment Versions Filter
- compartment
Id String The OCID of the compartment in which to list resources.
- deployment
Id String The OCID of the deployment in which to list resources.
- deployment
Type 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<Get
Deployment Versions Filter>
- compartment
Id string The OCID of the compartment in which to list resources.
- deployment
Id string The OCID of the deployment in which to list resources.
- deployment
Type string The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- filters
Get
Deployment 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
Get
Deployment Versions Filter]
- compartment
Id String The OCID of the compartment in which to list resources.
- deployment
Id String The OCID of the deployment in which to list resources.
- deployment
Type 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:
- Compartment
Id string - Deployment
Version List<GetCollections Deployment Versions Deployment Version Collection> The list of deployment_version_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Deployment
Id string - Deployment
Type 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<Get
Deployment Versions Filter>
- Compartment
Id string - Deployment
Version []GetCollections Deployment Versions Deployment Version Collection The list of deployment_version_collection.
- Id string
The provider-assigned unique ID for this managed resource.
- Deployment
Id string - Deployment
Type 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
[]Get
Deployment Versions Filter
- compartment
Id String - deployment
Version List<GetCollections Deployment Versions Deployment Version Collection> The list of deployment_version_collection.
- id String
The provider-assigned unique ID for this managed resource.
- deployment
Id String - deployment
Type 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<Get
Deployment Versions Filter>
- compartment
Id string - deployment
Version GetCollections Deployment Versions Deployment Version Collection[] The list of deployment_version_collection.
- id string
The provider-assigned unique ID for this managed resource.
- deployment
Id string - deployment
Type 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
Get
Deployment Versions Filter[]
- compartment_
id str - deployment_
version_ 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
Get
Deployment Versions Filter]
- compartment
Id String - deployment
Version List<Property Map>Collections The list of deployment_version_collection.
- id String
The provider-assigned unique ID for this managed resource.
- deployment
Id String - deployment
Type 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<Get
Deployment Versions Deployment Version Collection Item> Array of DeploymentVersionSummary.
- Items
[]Get
Deployment Versions Deployment Version Collection Item Array of DeploymentVersionSummary.
- items
List<Get
Deployment Versions Deployment Version Collection Item> Array of DeploymentVersionSummary.
- items
Get
Deployment Versions Deployment Version Collection Item[] Array of DeploymentVersionSummary.
- items
Get
Deployment Versions Deployment Version Collection Item] Array of DeploymentVersionSummary.
- items List<Property Map>
Array of DeploymentVersionSummary.
GetDeploymentVersionsDeploymentVersionCollectionItem
- Deployment
Type string 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 string Version of OGG
- Release
Type string The type of release.
- Time
Released string The time the resource was released. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- Deployment
Type string 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 string Version of OGG
- Release
Type string The type of release.
- Time
Released string The time the resource was released. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- deployment
Type String The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- is
Security BooleanFix Indicates if OGG release contains security fix.
- ogg
Version String Version of OGG
- release
Type String The type of release.
- time
Released String The time the resource was released. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- deployment
Type string The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- is
Security booleanFix Indicates if OGG release contains security fix.
- ogg
Version string Version of OGG
- release
Type string The type of release.
- time
Released string The time the resource was released. 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
.
- deployment
Type String The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
- is
Security BooleanFix Indicates if OGG release contains security fix.
- ogg
Version String Version of OGG
- release
Type String The type of release.
- time
Released String The time the resource was released. 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
oci
Terraform Provider.