oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.GoldenGate.getDeploymentUpgrade

This data source provides details about a specific Deployment Upgrade resource in Oracle Cloud Infrastructure Golden Gate service.

Retrieves a deployment upgrade.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDeploymentUpgrade = Oci.GoldenGate.GetDeploymentUpgrade.Invoke(new()
    {
        DeploymentUpgradeId = oci_golden_gate_deployment_upgrade.Test_deployment_upgrade.Id,
    });

});
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.GetDeploymentUpgrade(ctx, &goldengate.GetDeploymentUpgradeArgs{
			DeploymentUpgradeId: oci_golden_gate_deployment_upgrade.Test_deployment_upgrade.Id,
		}, 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.GetDeploymentUpgradeArgs;
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 testDeploymentUpgrade = GoldenGateFunctions.getDeploymentUpgrade(GetDeploymentUpgradeArgs.builder()
            .deploymentUpgradeId(oci_golden_gate_deployment_upgrade.test_deployment_upgrade().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_deployment_upgrade = oci.GoldenGate.get_deployment_upgrade(deployment_upgrade_id=oci_golden_gate_deployment_upgrade["test_deployment_upgrade"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDeploymentUpgrade = oci.GoldenGate.getDeploymentUpgrade({
    deploymentUpgradeId: oci_golden_gate_deployment_upgrade.test_deployment_upgrade.id,
});
variables:
  testDeploymentUpgrade:
    fn::invoke:
      Function: oci:GoldenGate:getDeploymentUpgrade
      Arguments:
        deploymentUpgradeId: ${oci_golden_gate_deployment_upgrade.test_deployment_upgrade.id}

Using getDeploymentUpgrade

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 getDeploymentUpgrade(args: GetDeploymentUpgradeArgs, opts?: InvokeOptions): Promise<GetDeploymentUpgradeResult>
function getDeploymentUpgradeOutput(args: GetDeploymentUpgradeOutputArgs, opts?: InvokeOptions): Output<GetDeploymentUpgradeResult>
def get_deployment_upgrade(deployment_upgrade_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDeploymentUpgradeResult
def get_deployment_upgrade_output(deployment_upgrade_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentUpgradeResult]
func GetDeploymentUpgrade(ctx *Context, args *GetDeploymentUpgradeArgs, opts ...InvokeOption) (*GetDeploymentUpgradeResult, error)
func GetDeploymentUpgradeOutput(ctx *Context, args *GetDeploymentUpgradeOutputArgs, opts ...InvokeOption) GetDeploymentUpgradeResultOutput

> Note: This function is named GetDeploymentUpgrade in the Go SDK.

public static class GetDeploymentUpgrade 
{
    public static Task<GetDeploymentUpgradeResult> InvokeAsync(GetDeploymentUpgradeArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentUpgradeResult> Invoke(GetDeploymentUpgradeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentUpgradeResult> getDeploymentUpgrade(GetDeploymentUpgradeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:GoldenGate/getDeploymentUpgrade:getDeploymentUpgrade
  arguments:
    # arguments dictionary

The following arguments are supported:

DeploymentUpgradeId string

A unique Deployment Upgrade identifier.

DeploymentUpgradeId string

A unique Deployment Upgrade identifier.

deploymentUpgradeId String

A unique Deployment Upgrade identifier.

deploymentUpgradeId string

A unique Deployment Upgrade identifier.

deployment_upgrade_id str

A unique Deployment Upgrade identifier.

deploymentUpgradeId String

A unique Deployment Upgrade identifier.

getDeploymentUpgrade Result

The following output properties are available:

CompartmentId string

The OCID of the compartment being referenced.

DefinedTags Dictionary<string, object>

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DeploymentId string

The OCID of the deployment being referenced.

DeploymentUpgradeId string
DeploymentUpgradeType string

The type of the deployment upgrade: MANUAL or AUTOMATIC

Description string

Metadata about this specific object.

DisplayName string

An object's Display Name.

FreeformTags Dictionary<string, object>

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The provider-assigned unique ID for this managed resource.

IsRollbackAllowed bool

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
IsSecurityFix bool

Indicates if OGG release contains security fix.

IsSnoozed bool

Indicates if upgrade notifications are snoozed or not.

LifecycleDetails string

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

LifecycleSubState string

Possible GGS lifecycle sub-states.

OggVersion string

Version of OGG

PreviousOggVersion string

Version of OGG

ReleaseType string

The type of release.

State string

Possible lifecycle states.

SystemTags Dictionary<string, object>

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeFinished string

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeReleased string

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeSchedule string

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeSnoozedUntil string

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeStarted string

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeUpdated string

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

CompartmentId string

The OCID of the compartment being referenced.

DefinedTags map[string]interface{}

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DeploymentId string

The OCID of the deployment being referenced.

DeploymentUpgradeId string
DeploymentUpgradeType string

The type of the deployment upgrade: MANUAL or AUTOMATIC

Description string

Metadata about this specific object.

DisplayName string

An object's Display Name.

FreeformTags map[string]interface{}

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The provider-assigned unique ID for this managed resource.

IsRollbackAllowed bool

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
IsSecurityFix bool

Indicates if OGG release contains security fix.

IsSnoozed bool

Indicates if upgrade notifications are snoozed or not.

LifecycleDetails string

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

LifecycleSubState string

Possible GGS lifecycle sub-states.

OggVersion string

Version of OGG

PreviousOggVersion string

Version of OGG

ReleaseType string

The type of release.

State string

Possible lifecycle states.

SystemTags map[string]interface{}

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated string

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeFinished string

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeReleased string

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeSchedule string

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeSnoozedUntil string

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeStarted string

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

TimeUpdated string

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

compartmentId String

The OCID of the compartment being referenced.

definedTags Map<String,Object>

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

deploymentId String

The OCID of the deployment being referenced.

deploymentUpgradeId String
deploymentUpgradeType String

The type of the deployment upgrade: MANUAL or AUTOMATIC

description String

Metadata about this specific object.

displayName String

An object's Display Name.

freeformTags Map<String,Object>

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The provider-assigned unique ID for this managed resource.

isRollbackAllowed Boolean

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
isSecurityFix Boolean

Indicates if OGG release contains security fix.

isSnoozed Boolean

Indicates if upgrade notifications are snoozed or not.

lifecycleDetails String

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

lifecycleSubState String

Possible GGS lifecycle sub-states.

oggVersion String

Version of OGG

previousOggVersion String

Version of OGG

releaseType String

The type of release.

state String

Possible lifecycle states.

systemTags Map<String,Object>

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeFinished String

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeReleased String

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSchedule String

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSnoozedUntil String

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeStarted String

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeUpdated String

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

compartmentId string

The OCID of the compartment being referenced.

definedTags {[key: string]: any}

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

deploymentId string

The OCID of the deployment being referenced.

deploymentUpgradeId string
deploymentUpgradeType string

The type of the deployment upgrade: MANUAL or AUTOMATIC

description string

Metadata about this specific object.

displayName string

An object's Display Name.

freeformTags {[key: string]: any}

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

The provider-assigned unique ID for this managed resource.

isRollbackAllowed boolean

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
isSecurityFix boolean

Indicates if OGG release contains security fix.

isSnoozed boolean

Indicates if upgrade notifications are snoozed or not.

lifecycleDetails string

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

lifecycleSubState string

Possible GGS lifecycle sub-states.

oggVersion string

Version of OGG

previousOggVersion string

Version of OGG

releaseType string

The type of release.

state string

Possible lifecycle states.

systemTags {[key: string]: any}

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated string

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeFinished string

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeReleased string

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSchedule string

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSnoozedUntil string

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeStarted string

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeUpdated string

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

compartment_id str

The OCID of the compartment being referenced.

defined_tags Mapping[str, Any]

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

deployment_id str

The OCID of the deployment being referenced.

deployment_upgrade_id str
deployment_upgrade_type str

The type of the deployment upgrade: MANUAL or AUTOMATIC

description str

Metadata about this specific object.

display_name str

An object's Display Name.

freeform_tags Mapping[str, Any]

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

The provider-assigned unique ID for this managed resource.

is_rollback_allowed bool

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
is_security_fix bool

Indicates if OGG release contains security fix.

is_snoozed bool

Indicates if upgrade notifications are snoozed or not.

lifecycle_details str

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

lifecycle_sub_state str

Possible GGS lifecycle sub-states.

ogg_version str

Version of OGG

previous_ogg_version str

Version of OGG

release_type str

The type of release.

state str

Possible lifecycle states.

system_tags Mapping[str, Any]

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

time_created str

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_finished str

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_released str

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_schedule str

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_snoozed_until str

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_started str

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

time_updated str

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

compartmentId String

The OCID of the compartment being referenced.

definedTags Map<Any>

Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

deploymentId String

The OCID of the deployment being referenced.

deploymentUpgradeId String
deploymentUpgradeType String

The type of the deployment upgrade: MANUAL or AUTOMATIC

description String

Metadata about this specific object.

displayName String

An object's Display Name.

freeformTags Map<Any>

A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The provider-assigned unique ID for this managed resource.

isRollbackAllowed Boolean

Indicates if rollback is allowed. In practice only the last upgrade can be rolled back.

  • Manual upgrade is allowed to rollback only until the old version isn't deprecated yet.
  • Automatic upgrade by default is not allowed, unless a serious issue does not justify.
isSecurityFix Boolean

Indicates if OGG release contains security fix.

isSnoozed Boolean

Indicates if upgrade notifications are snoozed or not.

lifecycleDetails String

Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

lifecycleSubState String

Possible GGS lifecycle sub-states.

oggVersion String

Version of OGG

previousOggVersion String

Version of OGG

releaseType String

The type of release.

state String

Possible lifecycle states.

systemTags Map<Any>

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

timeCreated String

The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeFinished String

The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeReleased String

The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSchedule String

The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeSnoozedUntil String

The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeStarted String

The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

timeUpdated String

The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.