published on Monday, Jun 22, 2026 by Pulumi
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:
- Goldengate
Connection stringAssignment Id - 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
Goldengate
Connection Assignment Properties - 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 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
effectiveLabelsfor 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 stringAssignment Id - 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
Goldengate
Connection Assignment Properties Args - 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]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
effectiveLabelsfor 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_ stringassignment_ id - 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
effectiveLabelsfor 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 StringAssignment Id - 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
Goldengate
Connection Assignment Properties - 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 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.
- display
Name 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
effectiveLabelsfor 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 stringAssignment Id - 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
Goldengate
Connection Assignment Properties - 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 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.
- display
Name 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
effectiveLabelsfor 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_ strassignment_ id - 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
Goldengate
Connection Assignment Properties Args - 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
effectiveLabelsfor 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.
- goldengate
Connection StringAssignment Id - 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.
- 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 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.
- 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
effectiveLabelsfor 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:
- Create
Time string - The time when the connection assignment was created.
- Effective
Labels 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.
- 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 Dictionary<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]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]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.
- create
Time String - The time when the connection assignment was created.
- effective
Labels 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.
- 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,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 {[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.
- 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 {[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.
- 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.
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) -> GoldengateConnectionAssignmentfunc 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.
- 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 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.
- Entitlement
Id string - The OCID of the entitlement linked to this resource.
- Goldengate
Connection stringAssignment Id - 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
effectiveLabelsfor 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
Goldengate
Connection Assignment Properties - The properties of a GoldengateConnectionAssignment. Structure is documented below.
- Pulumi
Labels Dictionary<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]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 stringAssignment Id - 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
effectiveLabelsfor 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
Goldengate
Connection Assignment Properties Args - The properties of a GoldengateConnectionAssignment. Structure is documented below.
- Pulumi
Labels 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_ stringassignment_ id - 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
effectiveLabelsfor 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.
- 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 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.
- display
Name String - The display name for the GoldengateConnectionAssignment.
- effective
Labels 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.
- entitlement
Id String - The OCID of the entitlement linked to this resource.
- goldengate
Connection StringAssignment Id - 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
effectiveLabelsfor 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
Goldengate
Connection Assignment Properties - The properties of a GoldengateConnectionAssignment. Structure is documented below.
- pulumi
Labels 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 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.
- display
Name string - The display name for the GoldengateConnectionAssignment.
- effective
Labels {[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.
- entitlement
Id string - The OCID of the entitlement linked to this resource.
- goldengate
Connection stringAssignment Id - 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
effectiveLabelsfor 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
Goldengate
Connection Assignment Properties - The properties of a GoldengateConnectionAssignment. Structure is documented below.
- pulumi
Labels {[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_ strassignment_ id - 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
effectiveLabelsfor 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
Goldengate
Connection Assignment Properties Args - 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.
- 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 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.
- 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 StringAssignment Id - 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
effectiveLabelsfor 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.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
Supporting Types
GoldengateConnectionAssignmentProperties, GoldengateConnectionAssignmentPropertiesArgs
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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-betaTerraform Provider.
published on Monday, Jun 22, 2026 by Pulumi