Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.GoldenGate.getConnectionAssignment
Explore with Pulumi AI
This data source provides details about a specific Connection Assignment resource in Oracle Cloud Infrastructure Golden Gate service.
Retrieves a Connection Assignment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testConnectionAssignment = oci.GoldenGate.getConnectionAssignment({
connectionAssignmentId: testConnectionAssignmentOciGoldenGateConnectionAssignment.id,
});
import pulumi
import pulumi_oci as oci
test_connection_assignment = oci.GoldenGate.get_connection_assignment(connection_assignment_id=test_connection_assignment_oci_golden_gate_connection_assignment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GoldenGate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GoldenGate.GetConnectionAssignment(ctx, &goldengate.GetConnectionAssignmentArgs{
ConnectionAssignmentId: testConnectionAssignmentOciGoldenGateConnectionAssignment.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testConnectionAssignment = Oci.GoldenGate.GetConnectionAssignment.Invoke(new()
{
ConnectionAssignmentId = testConnectionAssignmentOciGoldenGateConnectionAssignment.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetConnectionAssignmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testConnectionAssignment = GoldenGateFunctions.getConnectionAssignment(GetConnectionAssignmentArgs.builder()
.connectionAssignmentId(testConnectionAssignmentOciGoldenGateConnectionAssignment.id())
.build());
}
}
variables:
testConnectionAssignment:
fn::invoke:
Function: oci:GoldenGate:getConnectionAssignment
Arguments:
connectionAssignmentId: ${testConnectionAssignmentOciGoldenGateConnectionAssignment.id}
Using getConnectionAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnectionAssignment(args: GetConnectionAssignmentArgs, opts?: InvokeOptions): Promise<GetConnectionAssignmentResult>
function getConnectionAssignmentOutput(args: GetConnectionAssignmentOutputArgs, opts?: InvokeOptions): Output<GetConnectionAssignmentResult>
def get_connection_assignment(connection_assignment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionAssignmentResult
def get_connection_assignment_output(connection_assignment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionAssignmentResult]
func GetConnectionAssignment(ctx *Context, args *GetConnectionAssignmentArgs, opts ...InvokeOption) (*GetConnectionAssignmentResult, error)
func GetConnectionAssignmentOutput(ctx *Context, args *GetConnectionAssignmentOutputArgs, opts ...InvokeOption) GetConnectionAssignmentResultOutput
> Note: This function is named GetConnectionAssignment
in the Go SDK.
public static class GetConnectionAssignment
{
public static Task<GetConnectionAssignmentResult> InvokeAsync(GetConnectionAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionAssignmentResult> Invoke(GetConnectionAssignmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionAssignmentResult> getConnectionAssignment(GetConnectionAssignmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GoldenGate/getConnectionAssignment:getConnectionAssignment
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Assignment stringId - The OCID of the Connection Assignment.
- Connection
Assignment stringId - The OCID of the Connection Assignment.
- connection
Assignment StringId - The OCID of the Connection Assignment.
- connection
Assignment stringId - The OCID of the Connection Assignment.
- connection_
assignment_ strid - The OCID of the Connection Assignment.
- connection
Assignment StringId - The OCID of the Connection Assignment.
getConnectionAssignment Result
The following output properties are available:
- Alias
Name string - Credential store alias.
- Compartment
Id string - The OCID of the compartment being referenced.
- Connection
Assignment stringId - Connection
Id string - The OCID of the connection being referenced.
- Deployment
Id string - The OCID of the deployment being referenced.
- Id string
- The OCID of the connection assignment being referenced.
- Is
Lock boolOverride - State string
- Possible lifecycle states for connection assignments.
- Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- Alias
Name string - Credential store alias.
- Compartment
Id string - The OCID of the compartment being referenced.
- Connection
Assignment stringId - Connection
Id string - The OCID of the connection being referenced.
- Deployment
Id string - The OCID of the deployment being referenced.
- Id string
- The OCID of the connection assignment being referenced.
- Is
Lock boolOverride - State string
- Possible lifecycle states for connection assignments.
- Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- alias
Name String - Credential store alias.
- compartment
Id String - The OCID of the compartment being referenced.
- connection
Assignment StringId - connection
Id String - The OCID of the connection being referenced.
- deployment
Id String - The OCID of the deployment being referenced.
- id String
- The OCID of the connection assignment being referenced.
- is
Lock BooleanOverride - state String
- Possible lifecycle states for connection assignments.
- time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- alias
Name string - Credential store alias.
- compartment
Id string - The OCID of the compartment being referenced.
- connection
Assignment stringId - connection
Id string - The OCID of the connection being referenced.
- deployment
Id string - The OCID of the deployment being referenced.
- id string
- The OCID of the connection assignment being referenced.
- is
Lock booleanOverride - state string
- Possible lifecycle states for connection assignments.
- time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- alias_
name str - Credential store alias.
- compartment_
id str - The OCID of the compartment being referenced.
- connection_
assignment_ strid - connection_
id str - The OCID of the connection being referenced.
- deployment_
id str - The OCID of the deployment being referenced.
- id str
- The OCID of the connection assignment being referenced.
- is_
lock_ booloverride - state str
- Possible lifecycle states for connection assignments.
- time_
created str - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time_
updated str - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- alias
Name String - Credential store alias.
- compartment
Id String - The OCID of the compartment being referenced.
- connection
Assignment StringId - connection
Id String - The OCID of the connection being referenced.
- deployment
Id String - The OCID of the deployment being referenced.
- id String
- The OCID of the connection assignment being referenced.
- is
Lock BooleanOverride - state String
- Possible lifecycle states for connection assignments.
- time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.