1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. oracledatabase
  6. GoldengateConnectionAssignment
Viewing docs for Google Cloud v9.28.0
published on Monday, Jun 22, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.28.0
published on Monday, Jun 22, 2026 by Pulumi

    This resource helps to assign a GoldengateConnection to a GoldengateDeployment used for actual data replication and transformations.

    Example Usage

    Oracledatabase Goldengate Connection Assignment Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const assignment = new gcp.oracledatabase.GoldengateConnectionAssignment("assignment", {
        goldengateConnectionAssignmentId: "my-assignment",
        displayName: "my-assignment",
        location: "us-east4",
        project: "my-project",
        labels: {
            "label-one": "value-one",
        },
        properties: {
            goldengateConnection: "projects/my-project/locations/us-east4/goldengateConnections/my-connection",
            goldengateDeployment: "projects/my-project/locations/us-east4/goldengateDeployments/my-deployment",
        },
        deletionProtection: true,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    assignment = gcp.oracledatabase.GoldengateConnectionAssignment("assignment",
        goldengate_connection_assignment_id="my-assignment",
        display_name="my-assignment",
        location="us-east4",
        project="my-project",
        labels={
            "label-one": "value-one",
        },
        properties={
            "goldengate_connection": "projects/my-project/locations/us-east4/goldengateConnections/my-connection",
            "goldengate_deployment": "projects/my-project/locations/us-east4/goldengateDeployments/my-deployment",
        },
        deletion_protection=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/oracledatabase"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oracledatabase.NewGoldengateConnectionAssignment(ctx, "assignment", &oracledatabase.GoldengateConnectionAssignmentArgs{
    			GoldengateConnectionAssignmentId: pulumi.String("my-assignment"),
    			DisplayName:                      pulumi.String("my-assignment"),
    			Location:                         pulumi.String("us-east4"),
    			Project:                          pulumi.String("my-project"),
    			Labels: pulumi.StringMap{
    				"label-one": pulumi.String("value-one"),
    			},
    			Properties: &oracledatabase.GoldengateConnectionAssignmentPropertiesArgs{
    				GoldengateConnection: pulumi.String("projects/my-project/locations/us-east4/goldengateConnections/my-connection"),
    				GoldengateDeployment: pulumi.String("projects/my-project/locations/us-east4/goldengateDeployments/my-deployment"),
    			},
    			DeletionProtection: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var assignment = new Gcp.OracleDatabase.GoldengateConnectionAssignment("assignment", new()
        {
            GoldengateConnectionAssignmentId = "my-assignment",
            DisplayName = "my-assignment",
            Location = "us-east4",
            Project = "my-project",
            Labels = 
            {
                { "label-one", "value-one" },
            },
            Properties = new Gcp.OracleDatabase.Inputs.GoldengateConnectionAssignmentPropertiesArgs
            {
                GoldengateConnection = "projects/my-project/locations/us-east4/goldengateConnections/my-connection",
                GoldengateDeployment = "projects/my-project/locations/us-east4/goldengateDeployments/my-deployment",
            },
            DeletionProtection = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.oracledatabase.GoldengateConnectionAssignment;
    import com.pulumi.gcp.oracledatabase.GoldengateConnectionAssignmentArgs;
    import com.pulumi.gcp.oracledatabase.inputs.GoldengateConnectionAssignmentPropertiesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            var assignment = new GoldengateConnectionAssignment("assignment", GoldengateConnectionAssignmentArgs.builder()
                .goldengateConnectionAssignmentId("my-assignment")
                .displayName("my-assignment")
                .location("us-east4")
                .project("my-project")
                .labels(Map.of("label-one", "value-one"))
                .properties(GoldengateConnectionAssignmentPropertiesArgs.builder()
                    .goldengateConnection("projects/my-project/locations/us-east4/goldengateConnections/my-connection")
                    .goldengateDeployment("projects/my-project/locations/us-east4/goldengateDeployments/my-deployment")
                    .build())
                .deletionProtection(true)
                .build());
    
        }
    }
    
    resources:
      assignment:
        type: gcp:oracledatabase:GoldengateConnectionAssignment
        properties:
          goldengateConnectionAssignmentId: my-assignment
          displayName: my-assignment
          location: us-east4
          project: my-project
          labels:
            label-one: value-one
          properties:
            goldengateConnection: projects/my-project/locations/us-east4/goldengateConnections/my-connection
            goldengateDeployment: projects/my-project/locations/us-east4/goldengateDeployments/my-deployment
          deletionProtection: 'true'
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_oracledatabase_goldengateconnectionassignment" "assignment" {
      goldengate_connection_assignment_id = "my-assignment"
      display_name                        = "my-assignment"
      location                            = "us-east4"
      project                             = "my-project"
      labels = {
        "label-one" = "value-one"
      }
      properties = {
        goldengate_connection = "projects/my-project/locations/us-east4/goldengateConnections/my-connection"
        goldengate_deployment = "projects/my-project/locations/us-east4/goldengateDeployments/my-deployment"
      }
      deletion_protection = "true"
    }
    

    Create GoldengateConnectionAssignment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GoldengateConnectionAssignment(name: string, args: GoldengateConnectionAssignmentArgs, opts?: CustomResourceOptions);
    @overload
    def GoldengateConnectionAssignment(resource_name: str,
                                       args: GoldengateConnectionAssignmentArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def GoldengateConnectionAssignment(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       goldengate_connection_assignment_id: Optional[str] = None,
                                       location: Optional[str] = None,
                                       properties: Optional[GoldengateConnectionAssignmentPropertiesArgs] = None,
                                       deletion_policy: Optional[str] = None,
                                       deletion_protection: Optional[bool] = None,
                                       display_name: Optional[str] = None,
                                       labels: Optional[Mapping[str, str]] = None,
                                       project: Optional[str] = None)
    func NewGoldengateConnectionAssignment(ctx *Context, name string, args GoldengateConnectionAssignmentArgs, opts ...ResourceOption) (*GoldengateConnectionAssignment, error)
    public GoldengateConnectionAssignment(string name, GoldengateConnectionAssignmentArgs args, CustomResourceOptions? opts = null)
    public GoldengateConnectionAssignment(String name, GoldengateConnectionAssignmentArgs args)
    public GoldengateConnectionAssignment(String name, GoldengateConnectionAssignmentArgs args, CustomResourceOptions options)
    
    type: gcp:oracledatabase:GoldengateConnectionAssignment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_oracledatabase_goldengateconnectionassignment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GoldengateConnectionAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GoldengateConnectionAssignmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GoldengateConnectionAssignmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GoldengateConnectionAssignmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GoldengateConnectionAssignmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var goldengateConnectionAssignmentResource = new Gcp.OracleDatabase.GoldengateConnectionAssignment("goldengateConnectionAssignmentResource", new()
    {
        GoldengateConnectionAssignmentId = "string",
        Location = "string",
        Properties = new Gcp.OracleDatabase.Inputs.GoldengateConnectionAssignmentPropertiesArgs
        {
            GoldengateConnection = "string",
            GoldengateDeployment = "string",
            Alias = "string",
            Ocid = "string",
            State = "string",
        },
        DeletionPolicy = "string",
        DeletionProtection = false,
        DisplayName = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
    });
    
    example, err := oracledatabase.NewGoldengateConnectionAssignment(ctx, "goldengateConnectionAssignmentResource", &oracledatabase.GoldengateConnectionAssignmentArgs{
    	GoldengateConnectionAssignmentId: pulumi.String("string"),
    	Location:                         pulumi.String("string"),
    	Properties: &oracledatabase.GoldengateConnectionAssignmentPropertiesArgs{
    		GoldengateConnection: pulumi.String("string"),
    		GoldengateDeployment: pulumi.String("string"),
    		Alias:                pulumi.String("string"),
    		Ocid:                 pulumi.String("string"),
    		State:                pulumi.String("string"),
    	},
    	DeletionPolicy:     pulumi.String("string"),
    	DeletionProtection: pulumi.Bool(false),
    	DisplayName:        pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    })
    
    resource "gcp_oracledatabase_goldengateconnectionassignment" "goldengateConnectionAssignmentResource" {
      goldengate_connection_assignment_id = "string"
      location                            = "string"
      properties = {
        goldengate_connection = "string"
        goldengate_deployment = "string"
        alias                 = "string"
        ocid                  = "string"
        state                 = "string"
      }
      deletion_policy     = "string"
      deletion_protection = false
      display_name        = "string"
      labels = {
        "string" = "string"
      }
      project = "string"
    }
    
    var goldengateConnectionAssignmentResource = new GoldengateConnectionAssignment("goldengateConnectionAssignmentResource", GoldengateConnectionAssignmentArgs.builder()
        .goldengateConnectionAssignmentId("string")
        .location("string")
        .properties(GoldengateConnectionAssignmentPropertiesArgs.builder()
            .goldengateConnection("string")
            .goldengateDeployment("string")
            .alias("string")
            .ocid("string")
            .state("string")
            .build())
        .deletionPolicy("string")
        .deletionProtection(false)
        .displayName("string")
        .labels(Map.of("string", "string"))
        .project("string")
        .build());
    
    goldengate_connection_assignment_resource = gcp.oracledatabase.GoldengateConnectionAssignment("goldengateConnectionAssignmentResource",
        goldengate_connection_assignment_id="string",
        location="string",
        properties={
            "goldengate_connection": "string",
            "goldengate_deployment": "string",
            "alias": "string",
            "ocid": "string",
            "state": "string",
        },
        deletion_policy="string",
        deletion_protection=False,
        display_name="string",
        labels={
            "string": "string",
        },
        project="string")
    
    const goldengateConnectionAssignmentResource = new gcp.oracledatabase.GoldengateConnectionAssignment("goldengateConnectionAssignmentResource", {
        goldengateConnectionAssignmentId: "string",
        location: "string",
        properties: {
            goldengateConnection: "string",
            goldengateDeployment: "string",
            alias: "string",
            ocid: "string",
            state: "string",
        },
        deletionPolicy: "string",
        deletionProtection: false,
        displayName: "string",
        labels: {
            string: "string",
        },
        project: "string",
    });
    
    type: gcp:oracledatabase:GoldengateConnectionAssignment
    properties:
        deletionPolicy: string
        deletionProtection: false
        displayName: string
        goldengateConnectionAssignmentId: string
        labels:
            string: string
        location: string
        project: string
        properties:
            alias: string
            goldengateConnection: string
            goldengateDeployment: string
            ocid: string
            state: string
    

    GoldengateConnectionAssignment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GoldengateConnectionAssignment resource accepts the following input properties:

    GoldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    DisplayName string
    The display name for the GoldengateConnectionAssignment.
    Labels Dictionary<string, string>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    GoldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Properties GoldengateConnectionAssignmentPropertiesArgs
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    DisplayName string
    The display name for the GoldengateConnectionAssignment.
    Labels map[string]string
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    goldengate_connection_assignment_id string
    The ID of the GoldengateConnectionAssignment to create.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    properties object
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletion_protection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    display_name string
    The display name for the GoldengateConnectionAssignment.
    labels map(string)
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    goldengateConnectionAssignmentId String
    The ID of the GoldengateConnectionAssignment to create.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName String
    The display name for the GoldengateConnectionAssignment.
    labels Map<String,String>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    goldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName string
    The display name for the GoldengateConnectionAssignment.
    labels {[key: string]: string}
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    goldengate_connection_assignment_id str
    The ID of the GoldengateConnectionAssignment to create.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    properties GoldengateConnectionAssignmentPropertiesArgs
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletion_protection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    display_name str
    The display name for the GoldengateConnectionAssignment.
    labels Mapping[str, str]
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    goldengateConnectionAssignmentId String
    The ID of the GoldengateConnectionAssignment to create.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    properties Property Map
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName String
    The display name for the GoldengateConnectionAssignment.
    labels Map<String>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GoldengateConnectionAssignment resource produces the following output properties:

    CreateTime string
    The time when the connection assignment was created.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntitlementId string
    The OCID of the entitlement linked to this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    CreateTime string
    The time when the connection assignment was created.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntitlementId string
    The OCID of the entitlement linked to this resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    create_time string
    The time when the connection assignment was created.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlement_id string
    The OCID of the entitlement linked to this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime String
    The time when the connection assignment was created.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId String
    The OCID of the entitlement linked to this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime string
    The time when the connection assignment was created.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId string
    The OCID of the entitlement linked to this resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    create_time str
    The time when the connection assignment was created.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlement_id str
    The OCID of the entitlement linked to this resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime String
    The time when the connection assignment was created.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId String
    The OCID of the entitlement linked to this resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.

    Look up Existing GoldengateConnectionAssignment Resource

    Get an existing GoldengateConnectionAssignment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GoldengateConnectionAssignmentState, opts?: CustomResourceOptions): GoldengateConnectionAssignment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            deletion_policy: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            display_name: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            entitlement_id: Optional[str] = None,
            goldengate_connection_assignment_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            properties: Optional[GoldengateConnectionAssignmentPropertiesArgs] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None) -> GoldengateConnectionAssignment
    func GetGoldengateConnectionAssignment(ctx *Context, name string, id IDInput, state *GoldengateConnectionAssignmentState, opts ...ResourceOption) (*GoldengateConnectionAssignment, error)
    public static GoldengateConnectionAssignment Get(string name, Input<string> id, GoldengateConnectionAssignmentState? state, CustomResourceOptions? opts = null)
    public static GoldengateConnectionAssignment get(String name, Output<String> id, GoldengateConnectionAssignmentState state, CustomResourceOptions options)
    resources:  _:    type: gcp:oracledatabase:GoldengateConnectionAssignment    get:      id: ${id}
    import {
      to = gcp_oracledatabase_goldengateconnectionassignment.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The time when the connection assignment was created.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    DisplayName string
    The display name for the GoldengateConnectionAssignment.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntitlementId string
    The OCID of the entitlement linked to this resource.
    GoldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    Labels Dictionary<string, string>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    CreateTime string
    The time when the connection assignment was created.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    DisplayName string
    The display name for the GoldengateConnectionAssignment.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    EntitlementId string
    The OCID of the entitlement linked to this resource.
    GoldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    Labels map[string]string
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Properties GoldengateConnectionAssignmentPropertiesArgs
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    create_time string
    The time when the connection assignment was created.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletion_protection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    display_name string
    The display name for the GoldengateConnectionAssignment.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlement_id string
    The OCID of the entitlement linked to this resource.
    goldengate_connection_assignment_id string
    The ID of the GoldengateConnectionAssignment to create.
    labels map(string)
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    properties object
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime String
    The time when the connection assignment was created.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName String
    The display name for the GoldengateConnectionAssignment.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId String
    The OCID of the entitlement linked to this resource.
    goldengateConnectionAssignmentId String
    The ID of the GoldengateConnectionAssignment to create.
    labels Map<String,String>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime string
    The time when the connection assignment was created.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName string
    The display name for the GoldengateConnectionAssignment.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId string
    The OCID of the entitlement linked to this resource.
    goldengateConnectionAssignmentId string
    The ID of the GoldengateConnectionAssignment to create.
    labels {[key: string]: string}
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    properties GoldengateConnectionAssignmentProperties
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    create_time str
    The time when the connection assignment was created.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletion_protection bool
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    display_name str
    The display name for the GoldengateConnectionAssignment.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlement_id str
    The OCID of the entitlement linked to this resource.
    goldengate_connection_assignment_id str
    The ID of the GoldengateConnectionAssignment to create.
    labels Mapping[str, str]
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name str
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    properties GoldengateConnectionAssignmentPropertiesArgs
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    createTime String
    The time when the connection assignment was created.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a terraform destroy or pulumi up that would delete the instance will fail.
    displayName String
    The display name for the GoldengateConnectionAssignment.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    entitlementId String
    The OCID of the entitlement linked to this resource.
    goldengateConnectionAssignmentId String
    The ID of the GoldengateConnectionAssignment to create.
    labels Map<String>
    The labels or tags associated with the GoldengateConnectionAssignment. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    properties Property Map
    The properties of a GoldengateConnectionAssignment. Structure is documented below.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.

    Supporting Types

    GoldengateConnectionAssignmentProperties, GoldengateConnectionAssignmentPropertiesArgs

    GoldengateConnection string
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    GoldengateDeployment string
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    Alias string
    (Output) Credential store alias.
    Ocid string
    (Output) The OCID of the connection assignment being referenced.
    State string
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    GoldengateConnection string
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    GoldengateDeployment string
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    Alias string
    (Output) Credential store alias.
    Ocid string
    (Output) The OCID of the connection assignment being referenced.
    State string
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    goldengate_connection string
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    goldengate_deployment string
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    alias string
    (Output) Credential store alias.
    ocid string
    (Output) The OCID of the connection assignment being referenced.
    state string
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    goldengateConnection String
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    goldengateDeployment String
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    alias String
    (Output) Credential store alias.
    ocid String
    (Output) The OCID of the connection assignment being referenced.
    state String
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    goldengateConnection string
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    goldengateDeployment string
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    alias string
    (Output) Credential store alias.
    ocid string
    (Output) The OCID of the connection assignment being referenced.
    state string
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    goldengate_connection str
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    goldengate_deployment str
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    alias str
    (Output) Credential store alias.
    ocid str
    (Output) The OCID of the connection assignment being referenced.
    state str
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING
    goldengateConnection String
    The GoldengateConnection resource to be assigned. Format: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
    goldengateDeployment String
    The GoldenGateDeployment to assign the connection to. Format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
    alias String
    (Output) Credential store alias.
    ocid String
    (Output) The OCID of the connection assignment being referenced.
    state String
    (Output) The lifecycle state of the connection assignment. Possible values: CREATING ACTIVE FAILED UPDATING DELETING

    Import

    GoldengateConnectionAssignment can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/goldengateConnectionAssignments/{{goldengate_connection_assignment_id}}
    • {{project}}/{{location}}/{{goldengate_connection_assignment_id}}
    • {{location}}/{{goldengate_connection_assignment_id}}

    When using the pulumi import command, GoldengateConnectionAssignment can be imported using one of the formats above. For example:

    $ pulumi import gcp:oracledatabase/goldengateConnectionAssignment:GoldengateConnectionAssignment default projects/{{project}}/locations/{{location}}/goldengateConnectionAssignments/{{goldengate_connection_assignment_id}}
    $ pulumi import gcp:oracledatabase/goldengateConnectionAssignment:GoldengateConnectionAssignment default {{project}}/{{location}}/{{goldengate_connection_assignment_id}}
    $ pulumi import gcp:oracledatabase/goldengateConnectionAssignment:GoldengateConnectionAssignment default {{location}}/{{goldengate_connection_assignment_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.28.0
    published on Monday, Jun 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial