gcp.integrationconnectors.Connection
Explore with Pulumi AI
An Integration connectors Connection.
To get more information about Connection, see:
- API documentation
- How-to Guides
Example Usage
Integration Connectors Connection Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const testProject = gcp.organizations.getProject({});
const pubsubconnection = new gcp.integrationconnectors.Connection("pubsubconnection", {
name: "test-pubsub",
location: "us-central1",
connectorVersion: testProject.then(testProject => `projects/${testProject.projectId}/locations/global/providers/gcp/connectors/pubsub/versions/1`),
description: "tf created description",
configVariables: [
{
key: "project_id",
stringValue: "connectors-example",
},
{
key: "topic_id",
stringValue: "test",
},
],
});
import pulumi
import pulumi_gcp as gcp
test_project = gcp.organizations.get_project()
pubsubconnection = gcp.integrationconnectors.Connection("pubsubconnection",
name="test-pubsub",
location="us-central1",
connector_version=f"projects/{test_project.project_id}/locations/global/providers/gcp/connectors/pubsub/versions/1",
description="tf created description",
config_variables=[
{
"key": "project_id",
"string_value": "connectors-example",
},
{
"key": "topic_id",
"string_value": "test",
},
])
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/integrationconnectors"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testProject, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
if err != nil {
return err
}
_, err = integrationconnectors.NewConnection(ctx, "pubsubconnection", &integrationconnectors.ConnectionArgs{
Name: pulumi.String("test-pubsub"),
Location: pulumi.String("us-central1"),
ConnectorVersion: pulumi.Sprintf("projects/%v/locations/global/providers/gcp/connectors/pubsub/versions/1", testProject.ProjectId),
Description: pulumi.String("tf created description"),
ConfigVariables: integrationconnectors.ConnectionConfigVariableArray{
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("project_id"),
StringValue: pulumi.String("connectors-example"),
},
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("topic_id"),
StringValue: pulumi.String("test"),
},
},
})
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 testProject = Gcp.Organizations.GetProject.Invoke();
var pubsubconnection = new Gcp.IntegrationConnectors.Connection("pubsubconnection", new()
{
Name = "test-pubsub",
Location = "us-central1",
ConnectorVersion = $"projects/{testProject.Apply(getProjectResult => getProjectResult.ProjectId)}/locations/global/providers/gcp/connectors/pubsub/versions/1",
Description = "tf created description",
ConfigVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "project_id",
StringValue = "connectors-example",
},
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "topic_id",
StringValue = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.integrationconnectors.Connection;
import com.pulumi.gcp.integrationconnectors.ConnectionArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionConfigVariableArgs;
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 testProject = OrganizationsFunctions.getProject();
var pubsubconnection = new Connection("pubsubconnection", ConnectionArgs.builder()
.name("test-pubsub")
.location("us-central1")
.connectorVersion(String.format("projects/%s/locations/global/providers/gcp/connectors/pubsub/versions/1", testProject.applyValue(getProjectResult -> getProjectResult.projectId())))
.description("tf created description")
.configVariables(
ConnectionConfigVariableArgs.builder()
.key("project_id")
.stringValue("connectors-example")
.build(),
ConnectionConfigVariableArgs.builder()
.key("topic_id")
.stringValue("test")
.build())
.build());
}
}
resources:
pubsubconnection:
type: gcp:integrationconnectors:Connection
properties:
name: test-pubsub
location: us-central1
connectorVersion: projects/${testProject.projectId}/locations/global/providers/gcp/connectors/pubsub/versions/1
description: tf created description
configVariables:
- key: project_id
stringValue: connectors-example
- key: topic_id
stringValue: test
variables:
testProject:
fn::invoke:
Function: gcp:organizations:getProject
Arguments: {}
Integration Connectors Connection Advanced
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const testProject = gcp.organizations.getProject({});
const secret_basic = new gcp.secretmanager.Secret("secret-basic", {
secretId: "test-secret",
replication: {
userManaged: {
replicas: [{
location: "us-central1",
}],
},
},
});
const secret_version_basic = new gcp.secretmanager.SecretVersion("secret-version-basic", {
secret: secret_basic.id,
secretData: "dummypassword",
});
const secretIam = new gcp.secretmanager.SecretIamMember("secret_iam", {
secretId: secret_basic.id,
role: "roles/secretmanager.admin",
member: testProject.then(testProject => `serviceAccount:${testProject.number}-compute@developer.gserviceaccount.com`),
}, {
dependsOn: [secret_version_basic],
});
const zendeskconnection = new gcp.integrationconnectors.Connection("zendeskconnection", {
name: "test-zendesk",
description: "tf updated description",
location: "us-central1",
serviceAccount: testProject.then(testProject => `${testProject.number}-compute@developer.gserviceaccount.com`),
connectorVersion: testProject.then(testProject => `projects/${testProject.projectId}/locations/global/providers/zendesk/connectors/zendesk/versions/1`),
configVariables: [
{
key: "proxy_enabled",
booleanValue: false,
},
{
key: "sample_integer_value",
integerValue: 1,
},
{
key: "sample_encryption_key_value",
encryptionKeyValue: {
type: "GOOGLE_MANAGED",
kmsKeyName: "sampleKMSKkey",
},
},
{
key: "sample_secret_value",
secretValue: {
secretVersion: secret_version_basic.name,
},
},
],
suspended: false,
authConfig: {
additionalVariables: [
{
key: "sample_string",
stringValue: "sampleString",
},
{
key: "sample_boolean",
booleanValue: false,
},
{
key: "sample_integer",
integerValue: 1,
},
{
key: "sample_secret_value",
secretValue: {
secretVersion: secret_version_basic.name,
},
},
{
key: "sample_encryption_key_value",
encryptionKeyValue: {
type: "GOOGLE_MANAGED",
kmsKeyName: "sampleKMSKkey",
},
},
],
authType: "USER_PASSWORD",
authKey: "sampleAuthKey",
userPassword: {
username: "user@xyz.com",
password: {
secretVersion: secret_version_basic.name,
},
},
},
destinationConfigs: [{
key: "url",
destinations: [{
host: "https://test.zendesk.com",
port: 80,
}],
}],
lockConfig: {
locked: false,
reason: "Its not locked",
},
logConfig: {
enabled: true,
},
nodeConfig: {
minNodeCount: 2,
maxNodeCount: 50,
},
labels: {
foo: "bar",
},
sslConfig: {
additionalVariables: [
{
key: "sample_string",
stringValue: "sampleString",
},
{
key: "sample_boolean",
booleanValue: false,
},
{
key: "sample_integer",
integerValue: 1,
},
{
key: "sample_secret_value",
secretValue: {
secretVersion: secret_version_basic.name,
},
},
{
key: "sample_encryption_key_value",
encryptionKeyValue: {
type: "GOOGLE_MANAGED",
kmsKeyName: "sampleKMSKkey",
},
},
],
clientCertType: "PEM",
clientCertificate: {
secretVersion: secret_version_basic.name,
},
clientPrivateKey: {
secretVersion: secret_version_basic.name,
},
clientPrivateKeyPass: {
secretVersion: secret_version_basic.name,
},
privateServerCertificate: {
secretVersion: secret_version_basic.name,
},
serverCertType: "PEM",
trustModel: "PRIVATE",
type: "TLS",
useSsl: true,
},
eventingEnablementType: "EVENTING_AND_CONNECTION",
eventingConfig: {
additionalVariables: [
{
key: "sample_string",
stringValue: "sampleString",
},
{
key: "sample_boolean",
booleanValue: false,
},
{
key: "sample_integer",
integerValue: 1,
},
{
key: "sample_secret_value",
secretValue: {
secretVersion: secret_version_basic.name,
},
},
{
key: "sample_encryption_key_value",
encryptionKeyValue: {
type: "GOOGLE_MANAGED",
kmsKeyName: "sampleKMSKkey",
},
},
],
registrationDestinationConfig: {
key: "registration_destination_config",
destinations: [{
host: "https://test.zendesk.com",
port: 80,
}],
},
authConfig: {
authType: "USER_PASSWORD",
authKey: "sampleAuthKey",
userPassword: {
username: "user@xyz.com",
password: {
secretVersion: secret_version_basic.name,
},
},
additionalVariables: [
{
key: "sample_string",
stringValue: "sampleString",
},
{
key: "sample_boolean",
booleanValue: false,
},
{
key: "sample_integer",
integerValue: 1,
},
{
key: "sample_secret_value",
secretValue: {
secretVersion: secret_version_basic.name,
},
},
{
key: "sample_encryption_key_value",
encryptionKeyValue: {
type: "GOOGLE_MANAGED",
kmsKeyName: "sampleKMSKkey",
},
},
],
},
enrichmentEnabled: true,
},
});
import pulumi
import pulumi_gcp as gcp
test_project = gcp.organizations.get_project()
secret_basic = gcp.secretmanager.Secret("secret-basic",
secret_id="test-secret",
replication={
"user_managed": {
"replicas": [{
"location": "us-central1",
}],
},
})
secret_version_basic = gcp.secretmanager.SecretVersion("secret-version-basic",
secret=secret_basic.id,
secret_data="dummypassword")
secret_iam = gcp.secretmanager.SecretIamMember("secret_iam",
secret_id=secret_basic.id,
role="roles/secretmanager.admin",
member=f"serviceAccount:{test_project.number}-compute@developer.gserviceaccount.com",
opts = pulumi.ResourceOptions(depends_on=[secret_version_basic]))
zendeskconnection = gcp.integrationconnectors.Connection("zendeskconnection",
name="test-zendesk",
description="tf updated description",
location="us-central1",
service_account=f"{test_project.number}-compute@developer.gserviceaccount.com",
connector_version=f"projects/{test_project.project_id}/locations/global/providers/zendesk/connectors/zendesk/versions/1",
config_variables=[
{
"key": "proxy_enabled",
"boolean_value": False,
},
{
"key": "sample_integer_value",
"integer_value": 1,
},
{
"key": "sample_encryption_key_value",
"encryption_key_value": {
"type": "GOOGLE_MANAGED",
"kms_key_name": "sampleKMSKkey",
},
},
{
"key": "sample_secret_value",
"secret_value": {
"secret_version": secret_version_basic.name,
},
},
],
suspended=False,
auth_config={
"additional_variables": [
{
"key": "sample_string",
"string_value": "sampleString",
},
{
"key": "sample_boolean",
"boolean_value": False,
},
{
"key": "sample_integer",
"integer_value": 1,
},
{
"key": "sample_secret_value",
"secret_value": {
"secret_version": secret_version_basic.name,
},
},
{
"key": "sample_encryption_key_value",
"encryption_key_value": {
"type": "GOOGLE_MANAGED",
"kms_key_name": "sampleKMSKkey",
},
},
],
"auth_type": "USER_PASSWORD",
"auth_key": "sampleAuthKey",
"user_password": {
"username": "user@xyz.com",
"password": {
"secret_version": secret_version_basic.name,
},
},
},
destination_configs=[{
"key": "url",
"destinations": [{
"host": "https://test.zendesk.com",
"port": 80,
}],
}],
lock_config={
"locked": False,
"reason": "Its not locked",
},
log_config={
"enabled": True,
},
node_config={
"min_node_count": 2,
"max_node_count": 50,
},
labels={
"foo": "bar",
},
ssl_config={
"additional_variables": [
{
"key": "sample_string",
"string_value": "sampleString",
},
{
"key": "sample_boolean",
"boolean_value": False,
},
{
"key": "sample_integer",
"integer_value": 1,
},
{
"key": "sample_secret_value",
"secret_value": {
"secret_version": secret_version_basic.name,
},
},
{
"key": "sample_encryption_key_value",
"encryption_key_value": {
"type": "GOOGLE_MANAGED",
"kms_key_name": "sampleKMSKkey",
},
},
],
"client_cert_type": "PEM",
"client_certificate": {
"secret_version": secret_version_basic.name,
},
"client_private_key": {
"secret_version": secret_version_basic.name,
},
"client_private_key_pass": {
"secret_version": secret_version_basic.name,
},
"private_server_certificate": {
"secret_version": secret_version_basic.name,
},
"server_cert_type": "PEM",
"trust_model": "PRIVATE",
"type": "TLS",
"use_ssl": True,
},
eventing_enablement_type="EVENTING_AND_CONNECTION",
eventing_config={
"additional_variables": [
{
"key": "sample_string",
"string_value": "sampleString",
},
{
"key": "sample_boolean",
"boolean_value": False,
},
{
"key": "sample_integer",
"integer_value": 1,
},
{
"key": "sample_secret_value",
"secret_value": {
"secret_version": secret_version_basic.name,
},
},
{
"key": "sample_encryption_key_value",
"encryption_key_value": {
"type": "GOOGLE_MANAGED",
"kms_key_name": "sampleKMSKkey",
},
},
],
"registration_destination_config": {
"key": "registration_destination_config",
"destinations": [{
"host": "https://test.zendesk.com",
"port": 80,
}],
},
"auth_config": {
"auth_type": "USER_PASSWORD",
"auth_key": "sampleAuthKey",
"user_password": {
"username": "user@xyz.com",
"password": {
"secret_version": secret_version_basic.name,
},
},
"additional_variables": [
{
"key": "sample_string",
"string_value": "sampleString",
},
{
"key": "sample_boolean",
"boolean_value": False,
},
{
"key": "sample_integer",
"integer_value": 1,
},
{
"key": "sample_secret_value",
"secret_value": {
"secret_version": secret_version_basic.name,
},
},
{
"key": "sample_encryption_key_value",
"encryption_key_value": {
"type": "GOOGLE_MANAGED",
"kms_key_name": "sampleKMSKkey",
},
},
],
},
"enrichment_enabled": True,
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/integrationconnectors"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testProject, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil)
if err != nil {
return err
}
_, err = secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{
SecretId: pulumi.String("test-secret"),
Replication: &secretmanager.SecretReplicationArgs{
UserManaged: &secretmanager.SecretReplicationUserManagedArgs{
Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{
&secretmanager.SecretReplicationUserManagedReplicaArgs{
Location: pulumi.String("us-central1"),
},
},
},
},
})
if err != nil {
return err
}
_, err = secretmanager.NewSecretVersion(ctx, "secret-version-basic", &secretmanager.SecretVersionArgs{
Secret: secret_basic.ID(),
SecretData: pulumi.String("dummypassword"),
})
if err != nil {
return err
}
_, err = secretmanager.NewSecretIamMember(ctx, "secret_iam", &secretmanager.SecretIamMemberArgs{
SecretId: secret_basic.ID(),
Role: pulumi.String("roles/secretmanager.admin"),
Member: pulumi.Sprintf("serviceAccount:%v-compute@developer.gserviceaccount.com", testProject.Number),
}, pulumi.DependsOn([]pulumi.Resource{
secret_version_basic,
}))
if err != nil {
return err
}
_, err = integrationconnectors.NewConnection(ctx, "zendeskconnection", &integrationconnectors.ConnectionArgs{
Name: pulumi.String("test-zendesk"),
Description: pulumi.String("tf updated description"),
Location: pulumi.String("us-central1"),
ServiceAccount: pulumi.Sprintf("%v-compute@developer.gserviceaccount.com", testProject.Number),
ConnectorVersion: pulumi.Sprintf("projects/%v/locations/global/providers/zendesk/connectors/zendesk/versions/1", testProject.ProjectId),
ConfigVariables: integrationconnectors.ConnectionConfigVariableArray{
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("proxy_enabled"),
BooleanValue: pulumi.Bool(false),
},
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("sample_integer_value"),
IntegerValue: pulumi.Int(1),
},
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("sample_encryption_key_value"),
EncryptionKeyValue: &integrationconnectors.ConnectionConfigVariableEncryptionKeyValueArgs{
Type: pulumi.String("GOOGLE_MANAGED"),
KmsKeyName: pulumi.String("sampleKMSKkey"),
},
},
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("sample_secret_value"),
SecretValue: &integrationconnectors.ConnectionConfigVariableSecretValueArgs{
SecretVersion: secret_version_basic.Name,
},
},
},
Suspended: pulumi.Bool(false),
AuthConfig: &integrationconnectors.ConnectionAuthConfigArgs{
AdditionalVariables: integrationconnectors.ConnectionAuthConfigAdditionalVariableArray{
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_string"),
StringValue: pulumi.String("sampleString"),
},
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_boolean"),
BooleanValue: pulumi.Bool(false),
},
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_integer"),
IntegerValue: pulumi.Int(1),
},
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_secret_value"),
SecretValue: &integrationconnectors.ConnectionAuthConfigAdditionalVariableSecretValueArgs{
SecretVersion: secret_version_basic.Name,
},
},
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_encryption_key_value"),
EncryptionKeyValue: &integrationconnectors.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs{
Type: pulumi.String("GOOGLE_MANAGED"),
KmsKeyName: pulumi.String("sampleKMSKkey"),
},
},
},
AuthType: pulumi.String("USER_PASSWORD"),
AuthKey: pulumi.String("sampleAuthKey"),
UserPassword: &integrationconnectors.ConnectionAuthConfigUserPasswordArgs{
Username: pulumi.String("user@xyz.com"),
Password: &integrationconnectors.ConnectionAuthConfigUserPasswordPasswordArgs{
SecretVersion: secret_version_basic.Name,
},
},
},
DestinationConfigs: integrationconnectors.ConnectionDestinationConfigArray{
&integrationconnectors.ConnectionDestinationConfigArgs{
Key: pulumi.String("url"),
Destinations: integrationconnectors.ConnectionDestinationConfigDestinationArray{
&integrationconnectors.ConnectionDestinationConfigDestinationArgs{
Host: pulumi.String("https://test.zendesk.com"),
Port: pulumi.Int(80),
},
},
},
},
LockConfig: &integrationconnectors.ConnectionLockConfigArgs{
Locked: pulumi.Bool(false),
Reason: pulumi.String("Its not locked"),
},
LogConfig: &integrationconnectors.ConnectionLogConfigArgs{
Enabled: pulumi.Bool(true),
},
NodeConfig: &integrationconnectors.ConnectionNodeConfigArgs{
MinNodeCount: pulumi.Int(2),
MaxNodeCount: pulumi.Int(50),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
SslConfig: &integrationconnectors.ConnectionSslConfigArgs{
AdditionalVariables: integrationconnectors.ConnectionSslConfigAdditionalVariableArray{
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("sample_string"),
StringValue: pulumi.String("sampleString"),
},
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("sample_boolean"),
BooleanValue: pulumi.Bool(false),
},
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("sample_integer"),
IntegerValue: pulumi.Int(1),
},
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("sample_secret_value"),
SecretValue: &integrationconnectors.ConnectionSslConfigAdditionalVariableSecretValueArgs{
SecretVersion: secret_version_basic.Name,
},
},
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("sample_encryption_key_value"),
EncryptionKeyValue: &integrationconnectors.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs{
Type: pulumi.String("GOOGLE_MANAGED"),
KmsKeyName: pulumi.String("sampleKMSKkey"),
},
},
},
ClientCertType: pulumi.String("PEM"),
ClientCertificate: &integrationconnectors.ConnectionSslConfigClientCertificateArgs{
SecretVersion: secret_version_basic.Name,
},
ClientPrivateKey: &integrationconnectors.ConnectionSslConfigClientPrivateKeyArgs{
SecretVersion: secret_version_basic.Name,
},
ClientPrivateKeyPass: &integrationconnectors.ConnectionSslConfigClientPrivateKeyPassArgs{
SecretVersion: secret_version_basic.Name,
},
PrivateServerCertificate: &integrationconnectors.ConnectionSslConfigPrivateServerCertificateArgs{
SecretVersion: secret_version_basic.Name,
},
ServerCertType: pulumi.String("PEM"),
TrustModel: pulumi.String("PRIVATE"),
Type: pulumi.String("TLS"),
UseSsl: pulumi.Bool(true),
},
EventingEnablementType: pulumi.String("EVENTING_AND_CONNECTION"),
EventingConfig: &integrationconnectors.ConnectionEventingConfigArgs{
AdditionalVariables: integrationconnectors.ConnectionEventingConfigAdditionalVariableArray{
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("sample_string"),
StringValue: pulumi.String("sampleString"),
},
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("sample_boolean"),
BooleanValue: pulumi.Bool(false),
},
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("sample_integer"),
IntegerValue: pulumi.Int(1),
},
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("sample_secret_value"),
SecretValue: &integrationconnectors.ConnectionEventingConfigAdditionalVariableSecretValueArgs{
SecretVersion: secret_version_basic.Name,
},
},
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("sample_encryption_key_value"),
EncryptionKeyValue: &integrationconnectors.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs{
Type: pulumi.String("GOOGLE_MANAGED"),
KmsKeyName: pulumi.String("sampleKMSKkey"),
},
},
},
RegistrationDestinationConfig: &integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigArgs{
Key: pulumi.String("registration_destination_config"),
Destinations: integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArray{
&integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs{
Host: pulumi.String("https://test.zendesk.com"),
Port: pulumi.Int(80),
},
},
},
AuthConfig: &integrationconnectors.ConnectionEventingConfigAuthConfigArgs{
AuthType: pulumi.String("USER_PASSWORD"),
AuthKey: pulumi.String("sampleAuthKey"),
UserPassword: &integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordArgs{
Username: pulumi.String("user@xyz.com"),
Password: &integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs{
SecretVersion: secret_version_basic.Name,
},
},
AdditionalVariables: integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArray{
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_string"),
StringValue: pulumi.String("sampleString"),
},
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_boolean"),
BooleanValue: pulumi.Bool(false),
},
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_integer"),
IntegerValue: pulumi.Int(1),
},
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_secret_value"),
SecretValue: &integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs{
SecretVersion: secret_version_basic.Name,
},
},
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("sample_encryption_key_value"),
EncryptionKeyValue: &integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs{
Type: pulumi.String("GOOGLE_MANAGED"),
KmsKeyName: pulumi.String("sampleKMSKkey"),
},
},
},
},
EnrichmentEnabled: 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 testProject = Gcp.Organizations.GetProject.Invoke();
var secret_basic = new Gcp.SecretManager.Secret("secret-basic", new()
{
SecretId = "test-secret",
Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
{
UserManaged = new Gcp.SecretManager.Inputs.SecretReplicationUserManagedArgs
{
Replicas = new[]
{
new Gcp.SecretManager.Inputs.SecretReplicationUserManagedReplicaArgs
{
Location = "us-central1",
},
},
},
},
});
var secret_version_basic = new Gcp.SecretManager.SecretVersion("secret-version-basic", new()
{
Secret = secret_basic.Id,
SecretData = "dummypassword",
});
var secretIam = new Gcp.SecretManager.SecretIamMember("secret_iam", new()
{
SecretId = secret_basic.Id,
Role = "roles/secretmanager.admin",
Member = $"serviceAccount:{testProject.Apply(getProjectResult => getProjectResult.Number)}-compute@developer.gserviceaccount.com",
}, new CustomResourceOptions
{
DependsOn =
{
secret_version_basic,
},
});
var zendeskconnection = new Gcp.IntegrationConnectors.Connection("zendeskconnection", new()
{
Name = "test-zendesk",
Description = "tf updated description",
Location = "us-central1",
ServiceAccount = $"{testProject.Apply(getProjectResult => getProjectResult.Number)}-compute@developer.gserviceaccount.com",
ConnectorVersion = $"projects/{testProject.Apply(getProjectResult => getProjectResult.ProjectId)}/locations/global/providers/zendesk/connectors/zendesk/versions/1",
ConfigVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "proxy_enabled",
BooleanValue = false,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "sample_integer_value",
IntegerValue = 1,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "sample_encryption_key_value",
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableEncryptionKeyValueArgs
{
Type = "GOOGLE_MANAGED",
KmsKeyName = "sampleKMSKkey",
},
},
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "sample_secret_value",
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableSecretValueArgs
{
SecretVersion = secret_version_basic.Name,
},
},
},
Suspended = false,
AuthConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigArgs
{
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "sample_string",
StringValue = "sampleString",
},
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "sample_boolean",
BooleanValue = false,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "sample_integer",
IntegerValue = 1,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "sample_secret_value",
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableSecretValueArgs
{
SecretVersion = secret_version_basic.Name,
},
},
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "sample_encryption_key_value",
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs
{
Type = "GOOGLE_MANAGED",
KmsKeyName = "sampleKMSKkey",
},
},
},
AuthType = "USER_PASSWORD",
AuthKey = "sampleAuthKey",
UserPassword = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigUserPasswordArgs
{
Username = "user@xyz.com",
Password = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigUserPasswordPasswordArgs
{
SecretVersion = secret_version_basic.Name,
},
},
},
DestinationConfigs = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionDestinationConfigArgs
{
Key = "url",
Destinations = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionDestinationConfigDestinationArgs
{
Host = "https://test.zendesk.com",
Port = 80,
},
},
},
},
LockConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionLockConfigArgs
{
Locked = false,
Reason = "Its not locked",
},
LogConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionLogConfigArgs
{
Enabled = true,
},
NodeConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionNodeConfigArgs
{
MinNodeCount = 2,
MaxNodeCount = 50,
},
Labels =
{
{ "foo", "bar" },
},
SslConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigArgs
{
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "sample_string",
StringValue = "sampleString",
},
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "sample_boolean",
BooleanValue = false,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "sample_integer",
IntegerValue = 1,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "sample_secret_value",
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableSecretValueArgs
{
SecretVersion = secret_version_basic.Name,
},
},
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "sample_encryption_key_value",
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs
{
Type = "GOOGLE_MANAGED",
KmsKeyName = "sampleKMSKkey",
},
},
},
ClientCertType = "PEM",
ClientCertificate = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientCertificateArgs
{
SecretVersion = secret_version_basic.Name,
},
ClientPrivateKey = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientPrivateKeyArgs
{
SecretVersion = secret_version_basic.Name,
},
ClientPrivateKeyPass = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientPrivateKeyPassArgs
{
SecretVersion = secret_version_basic.Name,
},
PrivateServerCertificate = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigPrivateServerCertificateArgs
{
SecretVersion = secret_version_basic.Name,
},
ServerCertType = "PEM",
TrustModel = "PRIVATE",
Type = "TLS",
UseSsl = true,
},
EventingEnablementType = "EVENTING_AND_CONNECTION",
EventingConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigArgs
{
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "sample_string",
StringValue = "sampleString",
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "sample_boolean",
BooleanValue = false,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "sample_integer",
IntegerValue = 1,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "sample_secret_value",
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableSecretValueArgs
{
SecretVersion = secret_version_basic.Name,
},
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "sample_encryption_key_value",
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs
{
Type = "GOOGLE_MANAGED",
KmsKeyName = "sampleKMSKkey",
},
},
},
RegistrationDestinationConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigRegistrationDestinationConfigArgs
{
Key = "registration_destination_config",
Destinations = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs
{
Host = "https://test.zendesk.com",
Port = 80,
},
},
},
AuthConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigArgs
{
AuthType = "USER_PASSWORD",
AuthKey = "sampleAuthKey",
UserPassword = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigUserPasswordArgs
{
Username = "user@xyz.com",
Password = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs
{
SecretVersion = secret_version_basic.Name,
},
},
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "sample_string",
StringValue = "sampleString",
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "sample_boolean",
BooleanValue = false,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "sample_integer",
IntegerValue = 1,
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "sample_secret_value",
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs
{
SecretVersion = secret_version_basic.Name,
},
},
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "sample_encryption_key_value",
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs
{
Type = "GOOGLE_MANAGED",
KmsKeyName = "sampleKMSKkey",
},
},
},
},
EnrichmentEnabled = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetProjectArgs;
import com.pulumi.gcp.secretmanager.Secret;
import com.pulumi.gcp.secretmanager.SecretArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationUserManagedArgs;
import com.pulumi.gcp.secretmanager.SecretVersion;
import com.pulumi.gcp.secretmanager.SecretVersionArgs;
import com.pulumi.gcp.secretmanager.SecretIamMember;
import com.pulumi.gcp.secretmanager.SecretIamMemberArgs;
import com.pulumi.gcp.integrationconnectors.Connection;
import com.pulumi.gcp.integrationconnectors.ConnectionArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionConfigVariableArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionConfigVariableEncryptionKeyValueArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionConfigVariableSecretValueArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigUserPasswordArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionAuthConfigUserPasswordPasswordArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionDestinationConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionLockConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionLogConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionNodeConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigClientCertificateArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigClientPrivateKeyArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigClientPrivateKeyPassArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionSslConfigPrivateServerCertificateArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigRegistrationDestinationConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAuthConfigArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAuthConfigUserPasswordArgs;
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs;
import com.pulumi.resources.CustomResourceOptions;
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 testProject = OrganizationsFunctions.getProject();
var secret_basic = new Secret("secret-basic", SecretArgs.builder()
.secretId("test-secret")
.replication(SecretReplicationArgs.builder()
.userManaged(SecretReplicationUserManagedArgs.builder()
.replicas(SecretReplicationUserManagedReplicaArgs.builder()
.location("us-central1")
.build())
.build())
.build())
.build());
var secret_version_basic = new SecretVersion("secret-version-basic", SecretVersionArgs.builder()
.secret(secret_basic.id())
.secretData("dummypassword")
.build());
var secretIam = new SecretIamMember("secretIam", SecretIamMemberArgs.builder()
.secretId(secret_basic.id())
.role("roles/secretmanager.admin")
.member(String.format("serviceAccount:%s-compute@developer.gserviceaccount.com", testProject.applyValue(getProjectResult -> getProjectResult.number())))
.build(), CustomResourceOptions.builder()
.dependsOn(secret_version_basic)
.build());
var zendeskconnection = new Connection("zendeskconnection", ConnectionArgs.builder()
.name("test-zendesk")
.description("tf updated description")
.location("us-central1")
.serviceAccount(String.format("%s-compute@developer.gserviceaccount.com", testProject.applyValue(getProjectResult -> getProjectResult.number())))
.connectorVersion(String.format("projects/%s/locations/global/providers/zendesk/connectors/zendesk/versions/1", testProject.applyValue(getProjectResult -> getProjectResult.projectId())))
.configVariables(
ConnectionConfigVariableArgs.builder()
.key("proxy_enabled")
.booleanValue(false)
.build(),
ConnectionConfigVariableArgs.builder()
.key("sample_integer_value")
.integerValue(1)
.build(),
ConnectionConfigVariableArgs.builder()
.key("sample_encryption_key_value")
.encryptionKeyValue(ConnectionConfigVariableEncryptionKeyValueArgs.builder()
.type("GOOGLE_MANAGED")
.kmsKeyName("sampleKMSKkey")
.build())
.build(),
ConnectionConfigVariableArgs.builder()
.key("sample_secret_value")
.secretValue(ConnectionConfigVariableSecretValueArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build())
.suspended(false)
.authConfig(ConnectionAuthConfigArgs.builder()
.additionalVariables(
ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("sample_string")
.stringValue("sampleString")
.build(),
ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("sample_boolean")
.booleanValue(false)
.build(),
ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("sample_integer")
.integerValue(1)
.build(),
ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("sample_secret_value")
.secretValue(ConnectionAuthConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build(),
ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("sample_encryption_key_value")
.encryptionKeyValue(ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.type("GOOGLE_MANAGED")
.kmsKeyName("sampleKMSKkey")
.build())
.build())
.authType("USER_PASSWORD")
.authKey("sampleAuthKey")
.userPassword(ConnectionAuthConfigUserPasswordArgs.builder()
.username("user@xyz.com")
.password(ConnectionAuthConfigUserPasswordPasswordArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build())
.build())
.destinationConfigs(ConnectionDestinationConfigArgs.builder()
.key("url")
.destinations(ConnectionDestinationConfigDestinationArgs.builder()
.host("https://test.zendesk.com")
.port(80)
.build())
.build())
.lockConfig(ConnectionLockConfigArgs.builder()
.locked(false)
.reason("Its not locked")
.build())
.logConfig(ConnectionLogConfigArgs.builder()
.enabled(true)
.build())
.nodeConfig(ConnectionNodeConfigArgs.builder()
.minNodeCount(2)
.maxNodeCount(50)
.build())
.labels(Map.of("foo", "bar"))
.sslConfig(ConnectionSslConfigArgs.builder()
.additionalVariables(
ConnectionSslConfigAdditionalVariableArgs.builder()
.key("sample_string")
.stringValue("sampleString")
.build(),
ConnectionSslConfigAdditionalVariableArgs.builder()
.key("sample_boolean")
.booleanValue(false)
.build(),
ConnectionSslConfigAdditionalVariableArgs.builder()
.key("sample_integer")
.integerValue(1)
.build(),
ConnectionSslConfigAdditionalVariableArgs.builder()
.key("sample_secret_value")
.secretValue(ConnectionSslConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build(),
ConnectionSslConfigAdditionalVariableArgs.builder()
.key("sample_encryption_key_value")
.encryptionKeyValue(ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.type("GOOGLE_MANAGED")
.kmsKeyName("sampleKMSKkey")
.build())
.build())
.clientCertType("PEM")
.clientCertificate(ConnectionSslConfigClientCertificateArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.clientPrivateKey(ConnectionSslConfigClientPrivateKeyArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.clientPrivateKeyPass(ConnectionSslConfigClientPrivateKeyPassArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.privateServerCertificate(ConnectionSslConfigPrivateServerCertificateArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.serverCertType("PEM")
.trustModel("PRIVATE")
.type("TLS")
.useSsl(true)
.build())
.eventingEnablementType("EVENTING_AND_CONNECTION")
.eventingConfig(ConnectionEventingConfigArgs.builder()
.additionalVariables(
ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("sample_string")
.stringValue("sampleString")
.build(),
ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("sample_boolean")
.booleanValue(false)
.build(),
ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("sample_integer")
.integerValue(1)
.build(),
ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("sample_secret_value")
.secretValue(ConnectionEventingConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build(),
ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("sample_encryption_key_value")
.encryptionKeyValue(ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.type("GOOGLE_MANAGED")
.kmsKeyName("sampleKMSKkey")
.build())
.build())
.registrationDestinationConfig(ConnectionEventingConfigRegistrationDestinationConfigArgs.builder()
.key("registration_destination_config")
.destinations(ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs.builder()
.host("https://test.zendesk.com")
.port(80)
.build())
.build())
.authConfig(ConnectionEventingConfigAuthConfigArgs.builder()
.authType("USER_PASSWORD")
.authKey("sampleAuthKey")
.userPassword(ConnectionEventingConfigAuthConfigUserPasswordArgs.builder()
.username("user@xyz.com")
.password(ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build())
.additionalVariables(
ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("sample_string")
.stringValue("sampleString")
.build(),
ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("sample_boolean")
.booleanValue(false)
.build(),
ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("sample_integer")
.integerValue(1)
.build(),
ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("sample_secret_value")
.secretValue(ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion(secret_version_basic.name())
.build())
.build(),
ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("sample_encryption_key_value")
.encryptionKeyValue(ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.type("GOOGLE_MANAGED")
.kmsKeyName("sampleKMSKkey")
.build())
.build())
.build())
.enrichmentEnabled(true)
.build())
.build());
}
}
resources:
secret-basic:
type: gcp:secretmanager:Secret
properties:
secretId: test-secret
replication:
userManaged:
replicas:
- location: us-central1
secret-version-basic:
type: gcp:secretmanager:SecretVersion
properties:
secret: ${["secret-basic"].id}
secretData: dummypassword
secretIam:
type: gcp:secretmanager:SecretIamMember
name: secret_iam
properties:
secretId: ${["secret-basic"].id}
role: roles/secretmanager.admin
member: serviceAccount:${testProject.number}-compute@developer.gserviceaccount.com
options:
dependson:
- ${["secret-version-basic"]}
zendeskconnection:
type: gcp:integrationconnectors:Connection
properties:
name: test-zendesk
description: tf updated description
location: us-central1
serviceAccount: ${testProject.number}-compute@developer.gserviceaccount.com
connectorVersion: projects/${testProject.projectId}/locations/global/providers/zendesk/connectors/zendesk/versions/1
configVariables:
- key: proxy_enabled
booleanValue: false
- key: sample_integer_value
integerValue: 1
- key: sample_encryption_key_value
encryptionKeyValue:
type: GOOGLE_MANAGED
kmsKeyName: sampleKMSKkey
- key: sample_secret_value
secretValue:
secretVersion: ${["secret-version-basic"].name}
suspended: false
authConfig:
additionalVariables:
- key: sample_string
stringValue: sampleString
- key: sample_boolean
booleanValue: false
- key: sample_integer
integerValue: 1
- key: sample_secret_value
secretValue:
secretVersion: ${["secret-version-basic"].name}
- key: sample_encryption_key_value
encryptionKeyValue:
type: GOOGLE_MANAGED
kmsKeyName: sampleKMSKkey
authType: USER_PASSWORD
authKey: sampleAuthKey
userPassword:
username: user@xyz.com
password:
secretVersion: ${["secret-version-basic"].name}
destinationConfigs:
- key: url
destinations:
- host: https://test.zendesk.com
port: 80
lockConfig:
locked: false
reason: Its not locked
logConfig:
enabled: true
nodeConfig:
minNodeCount: 2
maxNodeCount: 50
labels:
foo: bar
sslConfig:
additionalVariables:
- key: sample_string
stringValue: sampleString
- key: sample_boolean
booleanValue: false
- key: sample_integer
integerValue: 1
- key: sample_secret_value
secretValue:
secretVersion: ${["secret-version-basic"].name}
- key: sample_encryption_key_value
encryptionKeyValue:
type: GOOGLE_MANAGED
kmsKeyName: sampleKMSKkey
clientCertType: PEM
clientCertificate:
secretVersion: ${["secret-version-basic"].name}
clientPrivateKey:
secretVersion: ${["secret-version-basic"].name}
clientPrivateKeyPass:
secretVersion: ${["secret-version-basic"].name}
privateServerCertificate:
secretVersion: ${["secret-version-basic"].name}
serverCertType: PEM
trustModel: PRIVATE
type: TLS
useSsl: true
eventingEnablementType: EVENTING_AND_CONNECTION
eventingConfig:
additionalVariables:
- key: sample_string
stringValue: sampleString
- key: sample_boolean
booleanValue: false
- key: sample_integer
integerValue: 1
- key: sample_secret_value
secretValue:
secretVersion: ${["secret-version-basic"].name}
- key: sample_encryption_key_value
encryptionKeyValue:
type: GOOGLE_MANAGED
kmsKeyName: sampleKMSKkey
registrationDestinationConfig:
key: registration_destination_config
destinations:
- host: https://test.zendesk.com
port: 80
authConfig:
authType: USER_PASSWORD
authKey: sampleAuthKey
userPassword:
username: user@xyz.com
password:
secretVersion: ${["secret-version-basic"].name}
additionalVariables:
- key: sample_string
stringValue: sampleString
- key: sample_boolean
booleanValue: false
- key: sample_integer
integerValue: 1
- key: sample_secret_value
secretValue:
secretVersion: ${["secret-version-basic"].name}
- key: sample_encryption_key_value
encryptionKeyValue:
type: GOOGLE_MANAGED
kmsKeyName: sampleKMSKkey
enrichmentEnabled: true
variables:
testProject:
fn::invoke:
Function: gcp:organizations:getProject
Arguments: {}
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);
@overload
def Connection(resource_name: str,
args: ConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
connector_version: Optional[str] = None,
location: Optional[str] = None,
destination_configs: Optional[Sequence[ConnectionDestinationConfigArgs]] = None,
lock_config: Optional[ConnectionLockConfigArgs] = None,
auth_config: Optional[ConnectionAuthConfigArgs] = None,
eventing_config: Optional[ConnectionEventingConfigArgs] = None,
eventing_enablement_type: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
config_variables: Optional[Sequence[ConnectionConfigVariableArgs]] = None,
description: Optional[str] = None,
log_config: Optional[ConnectionLogConfigArgs] = None,
name: Optional[str] = None,
node_config: Optional[ConnectionNodeConfigArgs] = None,
project: Optional[str] = None,
service_account: Optional[str] = None,
ssl_config: Optional[ConnectionSslConfigArgs] = None,
suspended: Optional[bool] = None)
func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)
public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: gcp:integrationconnectors:Connection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- 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 exampleconnectionResourceResourceFromIntegrationconnectorsconnection = new Gcp.IntegrationConnectors.Connection("exampleconnectionResourceResourceFromIntegrationconnectorsconnection", new()
{
ConnectorVersion = "string",
Location = "string",
DestinationConfigs = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionDestinationConfigArgs
{
Key = "string",
Destinations = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionDestinationConfigDestinationArgs
{
Host = "string",
Port = 0,
ServiceAttachment = "string",
},
},
},
},
LockConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionLockConfigArgs
{
Locked = false,
Reason = "string",
},
AuthConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigArgs
{
AuthType = "string",
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableArgs
{
Key = "string",
BooleanValue = false,
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs
{
Type = "string",
KmsKeyName = "string",
},
IntegerValue = 0,
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigAdditionalVariableSecretValueArgs
{
SecretVersion = "string",
},
StringValue = "string",
},
},
AuthKey = "string",
Oauth2AuthCodeFlow = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2AuthCodeFlowArgs
{
AuthUri = "string",
ClientId = "string",
ClientSecret = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs
{
SecretVersion = "string",
},
EnablePkce = false,
Scopes = new[]
{
"string",
},
},
Oauth2ClientCredentials = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2ClientCredentialsArgs
{
ClientId = "string",
ClientSecret = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2ClientCredentialsClientSecretArgs
{
SecretVersion = "string",
},
},
Oauth2JwtBearer = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2JwtBearerArgs
{
ClientKey = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2JwtBearerClientKeyArgs
{
SecretVersion = "string",
},
JwtClaims = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs
{
Audience = "string",
Issuer = "string",
Subject = "string",
},
},
SshPublicKey = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigSshPublicKeyArgs
{
Username = "string",
CertType = "string",
SshClientCert = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigSshPublicKeySshClientCertArgs
{
SecretVersion = "string",
},
SshClientCertPass = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigSshPublicKeySshClientCertPassArgs
{
SecretVersion = "string",
},
},
UserPassword = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigUserPasswordArgs
{
Username = "string",
Password = new Gcp.IntegrationConnectors.Inputs.ConnectionAuthConfigUserPasswordPasswordArgs
{
SecretVersion = "string",
},
},
},
EventingConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigArgs
{
RegistrationDestinationConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigRegistrationDestinationConfigArgs
{
Destinations = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs
{
Host = "string",
Port = 0,
ServiceAttachment = "string",
},
},
Key = "string",
},
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableArgs
{
Key = "string",
BooleanValue = false,
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs
{
KmsKeyName = "string",
Type = "string",
},
IntegerValue = 0,
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAdditionalVariableSecretValueArgs
{
SecretVersion = "string",
},
StringValue = "string",
},
},
AuthConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigArgs
{
AuthType = "string",
UserPassword = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigUserPasswordArgs
{
Password = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs
{
SecretVersion = "string",
},
Username = "string",
},
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableArgs
{
Key = "string",
BooleanValue = false,
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs
{
KmsKeyName = "string",
Type = "string",
},
IntegerValue = 0,
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs
{
SecretVersion = "string",
},
StringValue = "string",
},
},
AuthKey = "string",
},
EnrichmentEnabled = false,
},
EventingEnablementType = "string",
Labels =
{
{ "string", "string" },
},
ConfigVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableArgs
{
Key = "string",
BooleanValue = false,
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableEncryptionKeyValueArgs
{
Type = "string",
KmsKeyName = "string",
},
IntegerValue = 0,
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionConfigVariableSecretValueArgs
{
SecretVersion = "string",
},
StringValue = "string",
},
},
Description = "string",
LogConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionLogConfigArgs
{
Enabled = false,
},
Name = "string",
NodeConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionNodeConfigArgs
{
MaxNodeCount = 0,
MinNodeCount = 0,
},
Project = "string",
ServiceAccount = "string",
SslConfig = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigArgs
{
Type = "string",
AdditionalVariables = new[]
{
new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableArgs
{
Key = "string",
BooleanValue = false,
EncryptionKeyValue = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs
{
KmsKeyName = "string",
Type = "string",
},
IntegerValue = 0,
SecretValue = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigAdditionalVariableSecretValueArgs
{
SecretVersion = "string",
},
StringValue = "string",
},
},
ClientCertType = "string",
ClientCertificate = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientCertificateArgs
{
SecretVersion = "string",
},
ClientPrivateKey = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientPrivateKeyArgs
{
SecretVersion = "string",
},
ClientPrivateKeyPass = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigClientPrivateKeyPassArgs
{
SecretVersion = "string",
},
PrivateServerCertificate = new Gcp.IntegrationConnectors.Inputs.ConnectionSslConfigPrivateServerCertificateArgs
{
SecretVersion = "string",
},
ServerCertType = "string",
TrustModel = "string",
UseSsl = false,
},
Suspended = false,
});
example, err := integrationconnectors.NewConnection(ctx, "exampleconnectionResourceResourceFromIntegrationconnectorsconnection", &integrationconnectors.ConnectionArgs{
ConnectorVersion: pulumi.String("string"),
Location: pulumi.String("string"),
DestinationConfigs: integrationconnectors.ConnectionDestinationConfigArray{
&integrationconnectors.ConnectionDestinationConfigArgs{
Key: pulumi.String("string"),
Destinations: integrationconnectors.ConnectionDestinationConfigDestinationArray{
&integrationconnectors.ConnectionDestinationConfigDestinationArgs{
Host: pulumi.String("string"),
Port: pulumi.Int(0),
ServiceAttachment: pulumi.String("string"),
},
},
},
},
LockConfig: &integrationconnectors.ConnectionLockConfigArgs{
Locked: pulumi.Bool(false),
Reason: pulumi.String("string"),
},
AuthConfig: &integrationconnectors.ConnectionAuthConfigArgs{
AuthType: pulumi.String("string"),
AdditionalVariables: integrationconnectors.ConnectionAuthConfigAdditionalVariableArray{
&integrationconnectors.ConnectionAuthConfigAdditionalVariableArgs{
Key: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
EncryptionKeyValue: &integrationconnectors.ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs{
Type: pulumi.String("string"),
KmsKeyName: pulumi.String("string"),
},
IntegerValue: pulumi.Int(0),
SecretValue: &integrationconnectors.ConnectionAuthConfigAdditionalVariableSecretValueArgs{
SecretVersion: pulumi.String("string"),
},
StringValue: pulumi.String("string"),
},
},
AuthKey: pulumi.String("string"),
Oauth2AuthCodeFlow: &integrationconnectors.ConnectionAuthConfigOauth2AuthCodeFlowArgs{
AuthUri: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: &integrationconnectors.ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs{
SecretVersion: pulumi.String("string"),
},
EnablePkce: pulumi.Bool(false),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
},
Oauth2ClientCredentials: &integrationconnectors.ConnectionAuthConfigOauth2ClientCredentialsArgs{
ClientId: pulumi.String("string"),
ClientSecret: &integrationconnectors.ConnectionAuthConfigOauth2ClientCredentialsClientSecretArgs{
SecretVersion: pulumi.String("string"),
},
},
Oauth2JwtBearer: &integrationconnectors.ConnectionAuthConfigOauth2JwtBearerArgs{
ClientKey: &integrationconnectors.ConnectionAuthConfigOauth2JwtBearerClientKeyArgs{
SecretVersion: pulumi.String("string"),
},
JwtClaims: &integrationconnectors.ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs{
Audience: pulumi.String("string"),
Issuer: pulumi.String("string"),
Subject: pulumi.String("string"),
},
},
SshPublicKey: &integrationconnectors.ConnectionAuthConfigSshPublicKeyArgs{
Username: pulumi.String("string"),
CertType: pulumi.String("string"),
SshClientCert: &integrationconnectors.ConnectionAuthConfigSshPublicKeySshClientCertArgs{
SecretVersion: pulumi.String("string"),
},
SshClientCertPass: &integrationconnectors.ConnectionAuthConfigSshPublicKeySshClientCertPassArgs{
SecretVersion: pulumi.String("string"),
},
},
UserPassword: &integrationconnectors.ConnectionAuthConfigUserPasswordArgs{
Username: pulumi.String("string"),
Password: &integrationconnectors.ConnectionAuthConfigUserPasswordPasswordArgs{
SecretVersion: pulumi.String("string"),
},
},
},
EventingConfig: &integrationconnectors.ConnectionEventingConfigArgs{
RegistrationDestinationConfig: &integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigArgs{
Destinations: integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArray{
&integrationconnectors.ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs{
Host: pulumi.String("string"),
Port: pulumi.Int(0),
ServiceAttachment: pulumi.String("string"),
},
},
Key: pulumi.String("string"),
},
AdditionalVariables: integrationconnectors.ConnectionEventingConfigAdditionalVariableArray{
&integrationconnectors.ConnectionEventingConfigAdditionalVariableArgs{
Key: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
EncryptionKeyValue: &integrationconnectors.ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs{
KmsKeyName: pulumi.String("string"),
Type: pulumi.String("string"),
},
IntegerValue: pulumi.Int(0),
SecretValue: &integrationconnectors.ConnectionEventingConfigAdditionalVariableSecretValueArgs{
SecretVersion: pulumi.String("string"),
},
StringValue: pulumi.String("string"),
},
},
AuthConfig: &integrationconnectors.ConnectionEventingConfigAuthConfigArgs{
AuthType: pulumi.String("string"),
UserPassword: &integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordArgs{
Password: &integrationconnectors.ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs{
SecretVersion: pulumi.String("string"),
},
Username: pulumi.String("string"),
},
AdditionalVariables: integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArray{
&integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableArgs{
Key: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
EncryptionKeyValue: &integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs{
KmsKeyName: pulumi.String("string"),
Type: pulumi.String("string"),
},
IntegerValue: pulumi.Int(0),
SecretValue: &integrationconnectors.ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs{
SecretVersion: pulumi.String("string"),
},
StringValue: pulumi.String("string"),
},
},
AuthKey: pulumi.String("string"),
},
EnrichmentEnabled: pulumi.Bool(false),
},
EventingEnablementType: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ConfigVariables: integrationconnectors.ConnectionConfigVariableArray{
&integrationconnectors.ConnectionConfigVariableArgs{
Key: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
EncryptionKeyValue: &integrationconnectors.ConnectionConfigVariableEncryptionKeyValueArgs{
Type: pulumi.String("string"),
KmsKeyName: pulumi.String("string"),
},
IntegerValue: pulumi.Int(0),
SecretValue: &integrationconnectors.ConnectionConfigVariableSecretValueArgs{
SecretVersion: pulumi.String("string"),
},
StringValue: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
LogConfig: &integrationconnectors.ConnectionLogConfigArgs{
Enabled: pulumi.Bool(false),
},
Name: pulumi.String("string"),
NodeConfig: &integrationconnectors.ConnectionNodeConfigArgs{
MaxNodeCount: pulumi.Int(0),
MinNodeCount: pulumi.Int(0),
},
Project: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
SslConfig: &integrationconnectors.ConnectionSslConfigArgs{
Type: pulumi.String("string"),
AdditionalVariables: integrationconnectors.ConnectionSslConfigAdditionalVariableArray{
&integrationconnectors.ConnectionSslConfigAdditionalVariableArgs{
Key: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
EncryptionKeyValue: &integrationconnectors.ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs{
KmsKeyName: pulumi.String("string"),
Type: pulumi.String("string"),
},
IntegerValue: pulumi.Int(0),
SecretValue: &integrationconnectors.ConnectionSslConfigAdditionalVariableSecretValueArgs{
SecretVersion: pulumi.String("string"),
},
StringValue: pulumi.String("string"),
},
},
ClientCertType: pulumi.String("string"),
ClientCertificate: &integrationconnectors.ConnectionSslConfigClientCertificateArgs{
SecretVersion: pulumi.String("string"),
},
ClientPrivateKey: &integrationconnectors.ConnectionSslConfigClientPrivateKeyArgs{
SecretVersion: pulumi.String("string"),
},
ClientPrivateKeyPass: &integrationconnectors.ConnectionSslConfigClientPrivateKeyPassArgs{
SecretVersion: pulumi.String("string"),
},
PrivateServerCertificate: &integrationconnectors.ConnectionSslConfigPrivateServerCertificateArgs{
SecretVersion: pulumi.String("string"),
},
ServerCertType: pulumi.String("string"),
TrustModel: pulumi.String("string"),
UseSsl: pulumi.Bool(false),
},
Suspended: pulumi.Bool(false),
})
var exampleconnectionResourceResourceFromIntegrationconnectorsconnection = new Connection("exampleconnectionResourceResourceFromIntegrationconnectorsconnection", ConnectionArgs.builder()
.connectorVersion("string")
.location("string")
.destinationConfigs(ConnectionDestinationConfigArgs.builder()
.key("string")
.destinations(ConnectionDestinationConfigDestinationArgs.builder()
.host("string")
.port(0)
.serviceAttachment("string")
.build())
.build())
.lockConfig(ConnectionLockConfigArgs.builder()
.locked(false)
.reason("string")
.build())
.authConfig(ConnectionAuthConfigArgs.builder()
.authType("string")
.additionalVariables(ConnectionAuthConfigAdditionalVariableArgs.builder()
.key("string")
.booleanValue(false)
.encryptionKeyValue(ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.type("string")
.kmsKeyName("string")
.build())
.integerValue(0)
.secretValue(ConnectionAuthConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion("string")
.build())
.stringValue("string")
.build())
.authKey("string")
.oauth2AuthCodeFlow(ConnectionAuthConfigOauth2AuthCodeFlowArgs.builder()
.authUri("string")
.clientId("string")
.clientSecret(ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs.builder()
.secretVersion("string")
.build())
.enablePkce(false)
.scopes("string")
.build())
.oauth2ClientCredentials(ConnectionAuthConfigOauth2ClientCredentialsArgs.builder()
.clientId("string")
.clientSecret(ConnectionAuthConfigOauth2ClientCredentialsClientSecretArgs.builder()
.secretVersion("string")
.build())
.build())
.oauth2JwtBearer(ConnectionAuthConfigOauth2JwtBearerArgs.builder()
.clientKey(ConnectionAuthConfigOauth2JwtBearerClientKeyArgs.builder()
.secretVersion("string")
.build())
.jwtClaims(ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs.builder()
.audience("string")
.issuer("string")
.subject("string")
.build())
.build())
.sshPublicKey(ConnectionAuthConfigSshPublicKeyArgs.builder()
.username("string")
.certType("string")
.sshClientCert(ConnectionAuthConfigSshPublicKeySshClientCertArgs.builder()
.secretVersion("string")
.build())
.sshClientCertPass(ConnectionAuthConfigSshPublicKeySshClientCertPassArgs.builder()
.secretVersion("string")
.build())
.build())
.userPassword(ConnectionAuthConfigUserPasswordArgs.builder()
.username("string")
.password(ConnectionAuthConfigUserPasswordPasswordArgs.builder()
.secretVersion("string")
.build())
.build())
.build())
.eventingConfig(ConnectionEventingConfigArgs.builder()
.registrationDestinationConfig(ConnectionEventingConfigRegistrationDestinationConfigArgs.builder()
.destinations(ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs.builder()
.host("string")
.port(0)
.serviceAttachment("string")
.build())
.key("string")
.build())
.additionalVariables(ConnectionEventingConfigAdditionalVariableArgs.builder()
.key("string")
.booleanValue(false)
.encryptionKeyValue(ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.kmsKeyName("string")
.type("string")
.build())
.integerValue(0)
.secretValue(ConnectionEventingConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion("string")
.build())
.stringValue("string")
.build())
.authConfig(ConnectionEventingConfigAuthConfigArgs.builder()
.authType("string")
.userPassword(ConnectionEventingConfigAuthConfigUserPasswordArgs.builder()
.password(ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs.builder()
.secretVersion("string")
.build())
.username("string")
.build())
.additionalVariables(ConnectionEventingConfigAuthConfigAdditionalVariableArgs.builder()
.key("string")
.booleanValue(false)
.encryptionKeyValue(ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.kmsKeyName("string")
.type("string")
.build())
.integerValue(0)
.secretValue(ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion("string")
.build())
.stringValue("string")
.build())
.authKey("string")
.build())
.enrichmentEnabled(false)
.build())
.eventingEnablementType("string")
.labels(Map.of("string", "string"))
.configVariables(ConnectionConfigVariableArgs.builder()
.key("string")
.booleanValue(false)
.encryptionKeyValue(ConnectionConfigVariableEncryptionKeyValueArgs.builder()
.type("string")
.kmsKeyName("string")
.build())
.integerValue(0)
.secretValue(ConnectionConfigVariableSecretValueArgs.builder()
.secretVersion("string")
.build())
.stringValue("string")
.build())
.description("string")
.logConfig(ConnectionLogConfigArgs.builder()
.enabled(false)
.build())
.name("string")
.nodeConfig(ConnectionNodeConfigArgs.builder()
.maxNodeCount(0)
.minNodeCount(0)
.build())
.project("string")
.serviceAccount("string")
.sslConfig(ConnectionSslConfigArgs.builder()
.type("string")
.additionalVariables(ConnectionSslConfigAdditionalVariableArgs.builder()
.key("string")
.booleanValue(false)
.encryptionKeyValue(ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs.builder()
.kmsKeyName("string")
.type("string")
.build())
.integerValue(0)
.secretValue(ConnectionSslConfigAdditionalVariableSecretValueArgs.builder()
.secretVersion("string")
.build())
.stringValue("string")
.build())
.clientCertType("string")
.clientCertificate(ConnectionSslConfigClientCertificateArgs.builder()
.secretVersion("string")
.build())
.clientPrivateKey(ConnectionSslConfigClientPrivateKeyArgs.builder()
.secretVersion("string")
.build())
.clientPrivateKeyPass(ConnectionSslConfigClientPrivateKeyPassArgs.builder()
.secretVersion("string")
.build())
.privateServerCertificate(ConnectionSslConfigPrivateServerCertificateArgs.builder()
.secretVersion("string")
.build())
.serverCertType("string")
.trustModel("string")
.useSsl(false)
.build())
.suspended(false)
.build());
exampleconnection_resource_resource_from_integrationconnectorsconnection = gcp.integrationconnectors.Connection("exampleconnectionResourceResourceFromIntegrationconnectorsconnection",
connector_version="string",
location="string",
destination_configs=[{
"key": "string",
"destinations": [{
"host": "string",
"port": 0,
"service_attachment": "string",
}],
}],
lock_config={
"locked": False,
"reason": "string",
},
auth_config={
"auth_type": "string",
"additional_variables": [{
"key": "string",
"boolean_value": False,
"encryption_key_value": {
"type": "string",
"kms_key_name": "string",
},
"integer_value": 0,
"secret_value": {
"secret_version": "string",
},
"string_value": "string",
}],
"auth_key": "string",
"oauth2_auth_code_flow": {
"auth_uri": "string",
"client_id": "string",
"client_secret": {
"secret_version": "string",
},
"enable_pkce": False,
"scopes": ["string"],
},
"oauth2_client_credentials": {
"client_id": "string",
"client_secret": {
"secret_version": "string",
},
},
"oauth2_jwt_bearer": {
"client_key": {
"secret_version": "string",
},
"jwt_claims": {
"audience": "string",
"issuer": "string",
"subject": "string",
},
},
"ssh_public_key": {
"username": "string",
"cert_type": "string",
"ssh_client_cert": {
"secret_version": "string",
},
"ssh_client_cert_pass": {
"secret_version": "string",
},
},
"user_password": {
"username": "string",
"password": {
"secret_version": "string",
},
},
},
eventing_config={
"registration_destination_config": {
"destinations": [{
"host": "string",
"port": 0,
"service_attachment": "string",
}],
"key": "string",
},
"additional_variables": [{
"key": "string",
"boolean_value": False,
"encryption_key_value": {
"kms_key_name": "string",
"type": "string",
},
"integer_value": 0,
"secret_value": {
"secret_version": "string",
},
"string_value": "string",
}],
"auth_config": {
"auth_type": "string",
"user_password": {
"password": {
"secret_version": "string",
},
"username": "string",
},
"additional_variables": [{
"key": "string",
"boolean_value": False,
"encryption_key_value": {
"kms_key_name": "string",
"type": "string",
},
"integer_value": 0,
"secret_value": {
"secret_version": "string",
},
"string_value": "string",
}],
"auth_key": "string",
},
"enrichment_enabled": False,
},
eventing_enablement_type="string",
labels={
"string": "string",
},
config_variables=[{
"key": "string",
"boolean_value": False,
"encryption_key_value": {
"type": "string",
"kms_key_name": "string",
},
"integer_value": 0,
"secret_value": {
"secret_version": "string",
},
"string_value": "string",
}],
description="string",
log_config={
"enabled": False,
},
name="string",
node_config={
"max_node_count": 0,
"min_node_count": 0,
},
project="string",
service_account="string",
ssl_config={
"type": "string",
"additional_variables": [{
"key": "string",
"boolean_value": False,
"encryption_key_value": {
"kms_key_name": "string",
"type": "string",
},
"integer_value": 0,
"secret_value": {
"secret_version": "string",
},
"string_value": "string",
}],
"client_cert_type": "string",
"client_certificate": {
"secret_version": "string",
},
"client_private_key": {
"secret_version": "string",
},
"client_private_key_pass": {
"secret_version": "string",
},
"private_server_certificate": {
"secret_version": "string",
},
"server_cert_type": "string",
"trust_model": "string",
"use_ssl": False,
},
suspended=False)
const exampleconnectionResourceResourceFromIntegrationconnectorsconnection = new gcp.integrationconnectors.Connection("exampleconnectionResourceResourceFromIntegrationconnectorsconnection", {
connectorVersion: "string",
location: "string",
destinationConfigs: [{
key: "string",
destinations: [{
host: "string",
port: 0,
serviceAttachment: "string",
}],
}],
lockConfig: {
locked: false,
reason: "string",
},
authConfig: {
authType: "string",
additionalVariables: [{
key: "string",
booleanValue: false,
encryptionKeyValue: {
type: "string",
kmsKeyName: "string",
},
integerValue: 0,
secretValue: {
secretVersion: "string",
},
stringValue: "string",
}],
authKey: "string",
oauth2AuthCodeFlow: {
authUri: "string",
clientId: "string",
clientSecret: {
secretVersion: "string",
},
enablePkce: false,
scopes: ["string"],
},
oauth2ClientCredentials: {
clientId: "string",
clientSecret: {
secretVersion: "string",
},
},
oauth2JwtBearer: {
clientKey: {
secretVersion: "string",
},
jwtClaims: {
audience: "string",
issuer: "string",
subject: "string",
},
},
sshPublicKey: {
username: "string",
certType: "string",
sshClientCert: {
secretVersion: "string",
},
sshClientCertPass: {
secretVersion: "string",
},
},
userPassword: {
username: "string",
password: {
secretVersion: "string",
},
},
},
eventingConfig: {
registrationDestinationConfig: {
destinations: [{
host: "string",
port: 0,
serviceAttachment: "string",
}],
key: "string",
},
additionalVariables: [{
key: "string",
booleanValue: false,
encryptionKeyValue: {
kmsKeyName: "string",
type: "string",
},
integerValue: 0,
secretValue: {
secretVersion: "string",
},
stringValue: "string",
}],
authConfig: {
authType: "string",
userPassword: {
password: {
secretVersion: "string",
},
username: "string",
},
additionalVariables: [{
key: "string",
booleanValue: false,
encryptionKeyValue: {
kmsKeyName: "string",
type: "string",
},
integerValue: 0,
secretValue: {
secretVersion: "string",
},
stringValue: "string",
}],
authKey: "string",
},
enrichmentEnabled: false,
},
eventingEnablementType: "string",
labels: {
string: "string",
},
configVariables: [{
key: "string",
booleanValue: false,
encryptionKeyValue: {
type: "string",
kmsKeyName: "string",
},
integerValue: 0,
secretValue: {
secretVersion: "string",
},
stringValue: "string",
}],
description: "string",
logConfig: {
enabled: false,
},
name: "string",
nodeConfig: {
maxNodeCount: 0,
minNodeCount: 0,
},
project: "string",
serviceAccount: "string",
sslConfig: {
type: "string",
additionalVariables: [{
key: "string",
booleanValue: false,
encryptionKeyValue: {
kmsKeyName: "string",
type: "string",
},
integerValue: 0,
secretValue: {
secretVersion: "string",
},
stringValue: "string",
}],
clientCertType: "string",
clientCertificate: {
secretVersion: "string",
},
clientPrivateKey: {
secretVersion: "string",
},
clientPrivateKeyPass: {
secretVersion: "string",
},
privateServerCertificate: {
secretVersion: "string",
},
serverCertType: "string",
trustModel: "string",
useSsl: false,
},
suspended: false,
});
type: gcp:integrationconnectors:Connection
properties:
authConfig:
additionalVariables:
- booleanValue: false
encryptionKeyValue:
kmsKeyName: string
type: string
integerValue: 0
key: string
secretValue:
secretVersion: string
stringValue: string
authKey: string
authType: string
oauth2AuthCodeFlow:
authUri: string
clientId: string
clientSecret:
secretVersion: string
enablePkce: false
scopes:
- string
oauth2ClientCredentials:
clientId: string
clientSecret:
secretVersion: string
oauth2JwtBearer:
clientKey:
secretVersion: string
jwtClaims:
audience: string
issuer: string
subject: string
sshPublicKey:
certType: string
sshClientCert:
secretVersion: string
sshClientCertPass:
secretVersion: string
username: string
userPassword:
password:
secretVersion: string
username: string
configVariables:
- booleanValue: false
encryptionKeyValue:
kmsKeyName: string
type: string
integerValue: 0
key: string
secretValue:
secretVersion: string
stringValue: string
connectorVersion: string
description: string
destinationConfigs:
- destinations:
- host: string
port: 0
serviceAttachment: string
key: string
eventingConfig:
additionalVariables:
- booleanValue: false
encryptionKeyValue:
kmsKeyName: string
type: string
integerValue: 0
key: string
secretValue:
secretVersion: string
stringValue: string
authConfig:
additionalVariables:
- booleanValue: false
encryptionKeyValue:
kmsKeyName: string
type: string
integerValue: 0
key: string
secretValue:
secretVersion: string
stringValue: string
authKey: string
authType: string
userPassword:
password:
secretVersion: string
username: string
enrichmentEnabled: false
registrationDestinationConfig:
destinations:
- host: string
port: 0
serviceAttachment: string
key: string
eventingEnablementType: string
labels:
string: string
location: string
lockConfig:
locked: false
reason: string
logConfig:
enabled: false
name: string
nodeConfig:
maxNodeCount: 0
minNodeCount: 0
project: string
serviceAccount: string
sslConfig:
additionalVariables:
- booleanValue: false
encryptionKeyValue:
kmsKeyName: string
type: string
integerValue: 0
key: string
secretValue:
secretVersion: string
stringValue: string
clientCertType: string
clientCertificate:
secretVersion: string
clientPrivateKey:
secretVersion: string
clientPrivateKeyPass:
secretVersion: string
privateServerCertificate:
secretVersion: string
serverCertType: string
trustModel: string
type: string
useSsl: false
suspended: false
Connection 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 Connection resource accepts the following input properties:
- Connector
Version string - connectorVersion of the Connector.
- Location string
- Location in which Connection needs to be created.
- Auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- Config
Variables List<ConnectionConfig Variable> - Config Variables for the connection. Structure is documented below.
- Description string
- An arbitrary description for the Conection.
- Destination
Configs List<ConnectionDestination Config> - Define the Connectors target endpoint. Structure is documented below.
- Eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- Eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- Log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- Name string
- Name of Connection needs to be created.
- Node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- Ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- Suspended bool
- Suspended indicates if a user has suspended a connection or not.
- Connector
Version string - connectorVersion of the Connector.
- Location string
- Location in which Connection needs to be created.
- Auth
Config ConnectionAuth Config Args - authConfig for the connection. Structure is documented below.
- Config
Variables []ConnectionConfig Variable Args - Config Variables for the connection. Structure is documented below.
- Description string
- An arbitrary description for the Conection.
- Destination
Configs []ConnectionDestination Config Args - Define the Connectors target endpoint. Structure is documented below.
- Eventing
Config ConnectionEventing Config Args - Eventing Configuration of a connection Structure is documented below.
- Eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - Labels map[string]string
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Lock
Config ConnectionLock Config Args - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- Log
Config ConnectionLog Config Args - Log configuration for the connection. Structure is documented below.
- Name string
- Name of Connection needs to be created.
- Node
Config ConnectionNode Config Args - Node configuration for the connection. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- Ssl
Config ConnectionSsl Config Args - SSL Configuration of a connection Structure is documented below.
- Suspended bool
- Suspended indicates if a user has suspended a connection or not.
- connector
Version String - connectorVersion of the Connector.
- location String
- Location in which Connection needs to be created.
- auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- config
Variables List<ConnectionConfig Variable> - Config Variables for the connection. Structure is documented below.
- description String
- An arbitrary description for the Conection.
- destination
Configs List<ConnectionDestination Config> - Define the Connectors target endpoint. Structure is documented below.
- eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement StringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - labels Map<String,String>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- name String
- Name of Connection needs to be created.
- node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account String - Service account needed for runtime plane to access Google Cloud resources.
- ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- suspended Boolean
- Suspended indicates if a user has suspended a connection or not.
- connector
Version string - connectorVersion of the Connector.
- location string
- Location in which Connection needs to be created.
- auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- config
Variables ConnectionConfig Variable[] - Config Variables for the connection. Structure is documented below.
- description string
- An arbitrary description for the Conection.
- destination
Configs ConnectionDestination Config[] - Define the Connectors target endpoint. Structure is documented below.
- eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - labels {[key: string]: string}
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- name string
- Name of Connection needs to be created.
- node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- suspended boolean
- Suspended indicates if a user has suspended a connection or not.
- connector_
version str - connectorVersion of the Connector.
- location str
- Location in which Connection needs to be created.
- auth_
config ConnectionAuth Config Args - authConfig for the connection. Structure is documented below.
- config_
variables Sequence[ConnectionConfig Variable Args] - Config Variables for the connection. Structure is documented below.
- description str
- An arbitrary description for the Conection.
- destination_
configs Sequence[ConnectionDestination Config Args] - Define the Connectors target endpoint. Structure is documented below.
- eventing_
config ConnectionEventing Config Args - Eventing Configuration of a connection Structure is documented below.
- eventing_
enablement_ strtype - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - labels Mapping[str, str]
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- lock_
config ConnectionLock Config Args - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log_
config ConnectionLog Config Args - Log configuration for the connection. Structure is documented below.
- name str
- Name of Connection needs to be created.
- node_
config ConnectionNode Config Args - Node configuration for the connection. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service_
account str - Service account needed for runtime plane to access Google Cloud resources.
- ssl_
config ConnectionSsl Config Args - SSL Configuration of a connection Structure is documented below.
- suspended bool
- Suspended indicates if a user has suspended a connection or not.
- connector
Version String - connectorVersion of the Connector.
- location String
- Location in which Connection needs to be created.
- auth
Config Property Map - authConfig for the connection. Structure is documented below.
- config
Variables List<Property Map> - Config Variables for the connection. Structure is documented below.
- description String
- An arbitrary description for the Conection.
- destination
Configs List<Property Map> - Define the Connectors target endpoint. Structure is documented below.
- eventing
Config Property Map - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement StringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - labels Map<String>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- lock
Config Property Map - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config Property Map - Log configuration for the connection. Structure is documented below.
- name String
- Name of Connection needs to be created.
- node
Config Property Map - Node configuration for the connection. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- service
Account String - Service account needed for runtime plane to access Google Cloud resources.
- ssl
Config Property Map - SSL Configuration of a connection Structure is documented below.
- suspended Boolean
- Suspended indicates if a user has suspended a connection or not.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- Connector
Version List<ConnectionInfra Configs Connector Version Infra Config> - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- Connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- Create
Time string - Time the Namespace was created in UTC.
- 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.
- Eventing
Runtime List<ConnectionDatas Eventing Runtime Data> - Eventing Runtime Data. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- Statuses
List<Connection
Status> - (Output) Current status of eventing. Structure is documented below.
- Subscription
Type string - This subscription type enum states the subscription type of the project.
- Update
Time string - Time the Namespace was updated in UTC.
- Connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- Connector
Version []ConnectionInfra Configs Connector Version Infra Config - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- Connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- Create
Time string - Time the Namespace was created in UTC.
- 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.
- Eventing
Runtime []ConnectionDatas Eventing Runtime Data - Eventing Runtime Data. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- Statuses
[]Connection
Status - (Output) Current status of eventing. Structure is documented below.
- Subscription
Type string - This subscription type enum states the subscription type of the project.
- Update
Time string - Time the Namespace was updated in UTC.
- connection
Revision String - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version List<ConnectionInfra Configs Connector Version Infra Config> - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version StringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time String - Time the Namespace was created in UTC.
- 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.
- eventing
Runtime List<ConnectionDatas Eventing Runtime Data> - Eventing Runtime Data. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Directory String - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- statuses
List<Connection
Status> - (Output) Current status of eventing. Structure is documented below.
- subscription
Type String - This subscription type enum states the subscription type of the project.
- update
Time String - Time the Namespace was updated in UTC.
- connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version ConnectionInfra Configs Connector Version Infra Config[] - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time string - Time the Namespace was created in UTC.
- 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.
- eventing
Runtime ConnectionDatas Eventing Runtime Data[] - Eventing Runtime Data. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- statuses
Connection
Status[] - (Output) Current status of eventing. Structure is documented below.
- subscription
Type string - This subscription type enum states the subscription type of the project.
- update
Time string - Time the Namespace was updated in UTC.
- connection_
revision str - Connection revision. This field is only updated when the connection is created or updated by User.
- connector_
version_ Sequence[Connectioninfra_ configs Connector Version Infra Config] - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector_
version_ strlaunch_ stage - Flag to mark the version indicating the launch stage.
- create_
time str - Time the Namespace was created in UTC.
- 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.
- eventing_
runtime_ Sequence[Connectiondatas Eventing Runtime Data] - Eventing Runtime Data. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- service_
directory str - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- statuses
Sequence[Connection
Status] - (Output) Current status of eventing. Structure is documented below.
- subscription_
type str - This subscription type enum states the subscription type of the project.
- update_
time str - Time the Namespace was updated in UTC.
- connection
Revision String - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version List<Property Map>Infra Configs - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version StringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time String - Time the Namespace was created in UTC.
- 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.
- eventing
Runtime List<Property Map>Datas - Eventing Runtime Data. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Directory String - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- statuses List<Property Map>
- (Output) Current status of eventing. Structure is documented below.
- subscription
Type String - This subscription type enum states the subscription type of the project.
- update
Time String - Time the Namespace was updated in UTC.
Look up Existing Connection Resource
Get an existing Connection 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?: ConnectionState, opts?: CustomResourceOptions): Connection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_config: Optional[ConnectionAuthConfigArgs] = None,
config_variables: Optional[Sequence[ConnectionConfigVariableArgs]] = None,
connection_revision: Optional[str] = None,
connector_version: Optional[str] = None,
connector_version_infra_configs: Optional[Sequence[ConnectionConnectorVersionInfraConfigArgs]] = None,
connector_version_launch_stage: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
destination_configs: Optional[Sequence[ConnectionDestinationConfigArgs]] = None,
effective_labels: Optional[Mapping[str, str]] = None,
eventing_config: Optional[ConnectionEventingConfigArgs] = None,
eventing_enablement_type: Optional[str] = None,
eventing_runtime_datas: Optional[Sequence[ConnectionEventingRuntimeDataArgs]] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
lock_config: Optional[ConnectionLockConfigArgs] = None,
log_config: Optional[ConnectionLogConfigArgs] = None,
name: Optional[str] = None,
node_config: Optional[ConnectionNodeConfigArgs] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
service_account: Optional[str] = None,
service_directory: Optional[str] = None,
ssl_config: Optional[ConnectionSslConfigArgs] = None,
statuses: Optional[Sequence[ConnectionStatusArgs]] = None,
subscription_type: Optional[str] = None,
suspended: Optional[bool] = None,
update_time: Optional[str] = None) -> Connection
func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)
public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)
public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- Config
Variables List<ConnectionConfig Variable> - Config Variables for the connection. Structure is documented below.
- Connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- Connector
Version string - connectorVersion of the Connector.
- Connector
Version List<ConnectionInfra Configs Connector Version Infra Config> - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- Connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- Create
Time string - Time the Namespace was created in UTC.
- Description string
- An arbitrary description for the Conection.
- Destination
Configs List<ConnectionDestination Config> - Define the Connectors target endpoint. Structure is documented below.
- 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.
- Eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- Eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - Eventing
Runtime List<ConnectionDatas Eventing Runtime Data> - Eventing Runtime Data. Structure is documented below.
- Labels Dictionary<string, string>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Location string
- Location in which Connection needs to be created.
- Lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- Log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- Name string
- Name of Connection needs to be created.
- Node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- Service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- Ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- Statuses
List<Connection
Status> - (Output) Current status of eventing. Structure is documented below.
- Subscription
Type string - This subscription type enum states the subscription type of the project.
- Suspended bool
- Suspended indicates if a user has suspended a connection or not.
- Update
Time string - Time the Namespace was updated in UTC.
- Auth
Config ConnectionAuth Config Args - authConfig for the connection. Structure is documented below.
- Config
Variables []ConnectionConfig Variable Args - Config Variables for the connection. Structure is documented below.
- Connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- Connector
Version string - connectorVersion of the Connector.
- Connector
Version []ConnectionInfra Configs Connector Version Infra Config Args - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- Connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- Create
Time string - Time the Namespace was created in UTC.
- Description string
- An arbitrary description for the Conection.
- Destination
Configs []ConnectionDestination Config Args - Define the Connectors target endpoint. Structure is documented below.
- 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.
- Eventing
Config ConnectionEventing Config Args - Eventing Configuration of a connection Structure is documented below.
- Eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - Eventing
Runtime []ConnectionDatas Eventing Runtime Data Args - Eventing Runtime Data. Structure is documented below.
- Labels map[string]string
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Location string
- Location in which Connection needs to be created.
- Lock
Config ConnectionLock Config Args - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- Log
Config ConnectionLog Config Args - Log configuration for the connection. Structure is documented below.
- Name string
- Name of Connection needs to be created.
- Node
Config ConnectionNode Config Args - Node configuration for the connection. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- Service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- Ssl
Config ConnectionSsl Config Args - SSL Configuration of a connection Structure is documented below.
- Statuses
[]Connection
Status Args - (Output) Current status of eventing. Structure is documented below.
- Subscription
Type string - This subscription type enum states the subscription type of the project.
- Suspended bool
- Suspended indicates if a user has suspended a connection or not.
- Update
Time string - Time the Namespace was updated in UTC.
- auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- config
Variables List<ConnectionConfig Variable> - Config Variables for the connection. Structure is documented below.
- connection
Revision String - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version String - connectorVersion of the Connector.
- connector
Version List<ConnectionInfra Configs Connector Version Infra Config> - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version StringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time String - Time the Namespace was created in UTC.
- description String
- An arbitrary description for the Conection.
- destination
Configs List<ConnectionDestination Config> - Define the Connectors target endpoint. Structure is documented below.
- 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.
- eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement StringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - eventing
Runtime List<ConnectionDatas Eventing Runtime Data> - Eventing Runtime Data. Structure is documented below.
- labels Map<String,String>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location String
- Location in which Connection needs to be created.
- lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- name String
- Name of Connection needs to be created.
- node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account String - Service account needed for runtime plane to access Google Cloud resources.
- service
Directory String - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- statuses
List<Connection
Status> - (Output) Current status of eventing. Structure is documented below.
- subscription
Type String - This subscription type enum states the subscription type of the project.
- suspended Boolean
- Suspended indicates if a user has suspended a connection or not.
- update
Time String - Time the Namespace was updated in UTC.
- auth
Config ConnectionAuth Config - authConfig for the connection. Structure is documented below.
- config
Variables ConnectionConfig Variable[] - Config Variables for the connection. Structure is documented below.
- connection
Revision string - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version string - connectorVersion of the Connector.
- connector
Version ConnectionInfra Configs Connector Version Infra Config[] - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version stringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time string - Time the Namespace was created in UTC.
- description string
- An arbitrary description for the Conection.
- destination
Configs ConnectionDestination Config[] - Define the Connectors target endpoint. Structure is documented below.
- 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.
- eventing
Config ConnectionEventing Config - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement stringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - eventing
Runtime ConnectionDatas Eventing Runtime Data[] - Eventing Runtime Data. Structure is documented below.
- labels {[key: string]: string}
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location string
- Location in which Connection needs to be created.
- lock
Config ConnectionLock Config - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config ConnectionLog Config - Log configuration for the connection. Structure is documented below.
- name string
- Name of Connection needs to be created.
- node
Config ConnectionNode Config - Node configuration for the connection. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account string - Service account needed for runtime plane to access Google Cloud resources.
- service
Directory string - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- ssl
Config ConnectionSsl Config - SSL Configuration of a connection Structure is documented below.
- statuses
Connection
Status[] - (Output) Current status of eventing. Structure is documented below.
- subscription
Type string - This subscription type enum states the subscription type of the project.
- suspended boolean
- Suspended indicates if a user has suspended a connection or not.
- update
Time string - Time the Namespace was updated in UTC.
- auth_
config ConnectionAuth Config Args - authConfig for the connection. Structure is documented below.
- config_
variables Sequence[ConnectionConfig Variable Args] - Config Variables for the connection. Structure is documented below.
- connection_
revision str - Connection revision. This field is only updated when the connection is created or updated by User.
- connector_
version str - connectorVersion of the Connector.
- connector_
version_ Sequence[Connectioninfra_ configs Connector Version Infra Config Args] - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector_
version_ strlaunch_ stage - Flag to mark the version indicating the launch stage.
- create_
time str - Time the Namespace was created in UTC.
- description str
- An arbitrary description for the Conection.
- destination_
configs Sequence[ConnectionDestination Config Args] - Define the Connectors target endpoint. Structure is documented below.
- 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.
- eventing_
config ConnectionEventing Config Args - Eventing Configuration of a connection Structure is documented below.
- eventing_
enablement_ strtype - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - eventing_
runtime_ Sequence[Connectiondatas Eventing Runtime Data Args] - Eventing Runtime Data. Structure is documented below.
- labels Mapping[str, str]
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location str
- Location in which Connection needs to be created.
- lock_
config ConnectionLock Config Args - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log_
config ConnectionLog Config Args - Log configuration for the connection. Structure is documented below.
- name str
- Name of Connection needs to be created.
- node_
config ConnectionNode Config Args - Node configuration for the connection. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- service_
account str - Service account needed for runtime plane to access Google Cloud resources.
- service_
directory str - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- ssl_
config ConnectionSsl Config Args - SSL Configuration of a connection Structure is documented below.
- statuses
Sequence[Connection
Status Args] - (Output) Current status of eventing. Structure is documented below.
- subscription_
type str - This subscription type enum states the subscription type of the project.
- suspended bool
- Suspended indicates if a user has suspended a connection or not.
- update_
time str - Time the Namespace was updated in UTC.
- auth
Config Property Map - authConfig for the connection. Structure is documented below.
- config
Variables List<Property Map> - Config Variables for the connection. Structure is documented below.
- connection
Revision String - Connection revision. This field is only updated when the connection is created or updated by User.
- connector
Version String - connectorVersion of the Connector.
- connector
Version List<Property Map>Infra Configs - This configuration provides infra configs like rate limit threshold which need to be configurable for every connector version. Structure is documented below.
- connector
Version StringLaunch Stage - Flag to mark the version indicating the launch stage.
- create
Time String - Time the Namespace was created in UTC.
- description String
- An arbitrary description for the Conection.
- destination
Configs List<Property Map> - Define the Connectors target endpoint. Structure is documented below.
- 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.
- eventing
Config Property Map - Eventing Configuration of a connection Structure is documented below.
- eventing
Enablement StringType - Eventing enablement type. Will be nil if eventing is not enabled.
Possible values are:
EVENTING_AND_CONNECTION
,ONLY_EVENTING
. - eventing
Runtime List<Property Map>Datas - Eventing Runtime Data. Structure is documented below.
- labels Map<String>
Resource labels to represent user provided metadata.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location String
- Location in which Connection needs to be created.
- lock
Config Property Map - Determines whether or no a connection is locked. If locked, a reason must be specified. Structure is documented below.
- log
Config Property Map - Log configuration for the connection. Structure is documented below.
- name String
- Name of Connection needs to be created.
- node
Config Property Map - Node configuration for the connection. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account String - Service account needed for runtime plane to access Google Cloud resources.
- service
Directory String - The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
- ssl
Config Property Map - SSL Configuration of a connection Structure is documented below.
- statuses List<Property Map>
- (Output) Current status of eventing. Structure is documented below.
- subscription
Type String - This subscription type enum states the subscription type of the project.
- suspended Boolean
- Suspended indicates if a user has suspended a connection or not.
- update
Time String - Time the Namespace was updated in UTC.
Supporting Types
ConnectionAuthConfig, ConnectionAuthConfigArgs
- Auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - Additional
Variables List<ConnectionAuth Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- Auth
Key string - The type of authentication configured.
- Oauth2Auth
Code ConnectionFlow Auth Config Oauth2Auth Code Flow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- Oauth2Client
Credentials ConnectionAuth Config Oauth2Client Credentials - OAuth3 Client Credentials for Authentication. Structure is documented below.
- Oauth2Jwt
Bearer ConnectionAuth Config Oauth2Jwt Bearer - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- Ssh
Public ConnectionKey Auth Config Ssh Public Key - SSH Public Key for Authentication. Structure is documented below.
- User
Password ConnectionAuth Config User Password - User password for Authentication. Structure is documented below.
- Auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - Additional
Variables []ConnectionAuth Config Additional Variable - List containing additional auth configs. Structure is documented below.
- Auth
Key string - The type of authentication configured.
- Oauth2Auth
Code ConnectionFlow Auth Config Oauth2Auth Code Flow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- Oauth2Client
Credentials ConnectionAuth Config Oauth2Client Credentials - OAuth3 Client Credentials for Authentication. Structure is documented below.
- Oauth2Jwt
Bearer ConnectionAuth Config Oauth2Jwt Bearer - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- Ssh
Public ConnectionKey Auth Config Ssh Public Key - SSH Public Key for Authentication. Structure is documented below.
- User
Password ConnectionAuth Config User Password - User password for Authentication. Structure is documented below.
- auth
Type String - authType of the Connection
Possible values are:
USER_PASSWORD
. - additional
Variables List<ConnectionAuth Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- auth
Key String - The type of authentication configured.
- oauth2Auth
Code ConnectionFlow Auth Config Oauth2Auth Code Flow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- oauth2Client
Credentials ConnectionAuth Config Oauth2Client Credentials - OAuth3 Client Credentials for Authentication. Structure is documented below.
- oauth2Jwt
Bearer ConnectionAuth Config Oauth2Jwt Bearer - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- ssh
Public ConnectionKey Auth Config Ssh Public Key - SSH Public Key for Authentication. Structure is documented below.
- user
Password ConnectionAuth Config User Password - User password for Authentication. Structure is documented below.
- auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - additional
Variables ConnectionAuth Config Additional Variable[] - List containing additional auth configs. Structure is documented below.
- auth
Key string - The type of authentication configured.
- oauth2Auth
Code ConnectionFlow Auth Config Oauth2Auth Code Flow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- oauth2Client
Credentials ConnectionAuth Config Oauth2Client Credentials - OAuth3 Client Credentials for Authentication. Structure is documented below.
- oauth2Jwt
Bearer ConnectionAuth Config Oauth2Jwt Bearer - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- ssh
Public ConnectionKey Auth Config Ssh Public Key - SSH Public Key for Authentication. Structure is documented below.
- user
Password ConnectionAuth Config User Password - User password for Authentication. Structure is documented below.
- auth_
type str - authType of the Connection
Possible values are:
USER_PASSWORD
. - additional_
variables Sequence[ConnectionAuth Config Additional Variable] - List containing additional auth configs. Structure is documented below.
- auth_
key str - The type of authentication configured.
- oauth2_
auth_ Connectioncode_ flow Auth Config Oauth2Auth Code Flow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- oauth2_
client_ Connectioncredentials Auth Config Oauth2Client Credentials - OAuth3 Client Credentials for Authentication. Structure is documented below.
- oauth2_
jwt_ Connectionbearer Auth Config Oauth2Jwt Bearer - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- ssh_
public_ Connectionkey Auth Config Ssh Public Key - SSH Public Key for Authentication. Structure is documented below.
- user_
password ConnectionAuth Config User Password - User password for Authentication. Structure is documented below.
- auth
Type String - authType of the Connection
Possible values are:
USER_PASSWORD
. - additional
Variables List<Property Map> - List containing additional auth configs. Structure is documented below.
- auth
Key String - The type of authentication configured.
- oauth2Auth
Code Property MapFlow - Parameters to support Oauth 2.0 Auth Code Grant Authentication. Structure is documented below.
- oauth2Client
Credentials Property Map - OAuth3 Client Credentials for Authentication. Structure is documented below.
- oauth2Jwt
Bearer Property Map - OAuth2 JWT Bearer for Authentication. Structure is documented below.
- ssh
Public Property MapKey - SSH Public Key for Authentication. Structure is documented below.
- user
Password Property Map - User password for Authentication. Structure is documented below.
ConnectionAuthConfigAdditionalVariable, ConnectionAuthConfigAdditionalVariableArgs
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionAuth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionAuth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value Integer - Integer Value of configVariable.
- secret
Value ConnectionAuth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
- key string
- Key for the configVariable
- boolean
Value boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value number - Integer Value of configVariable.
- secret
Value ConnectionAuth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value string - String Value of configVariabley.
- key str
- Key for the configVariable
- boolean_
value bool - Boolean Value of configVariable.
- encryption_
key_ Connectionvalue Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer_
value int - Integer Value of configVariable.
- secret_
value ConnectionAuth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string_
value str - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key Property MapValue - Encription key value of configVariable. Structure is documented below.
- integer
Value Number - Integer Value of configVariable.
- secret
Value Property Map - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
ConnectionAuthConfigAdditionalVariableEncryptionKeyValue, ConnectionAuthConfigAdditionalVariableEncryptionKeyValueArgs
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type str
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms_
key_ strname - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
ConnectionAuthConfigAdditionalVariableSecretValue, ConnectionAuthConfigAdditionalVariableSecretValueArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionAuthConfigOauth2AuthCodeFlow, ConnectionAuthConfigOauth2AuthCodeFlowArgs
- Auth
Uri string - Auth URL for Authorization Code Flow.
- Client
Id string - Client ID for user-provided OAuth app.
- Client
Secret ConnectionAuth Config Oauth2Auth Code Flow Client Secret - Client secret for user-provided OAuth app.
- Enable
Pkce bool - Whether to enable PKCE when the user performs the auth code flow.
- Scopes List<string>
- Scopes the connection will request when the user performs the auth code flow.
- Auth
Uri string - Auth URL for Authorization Code Flow.
- Client
Id string - Client ID for user-provided OAuth app.
- Client
Secret ConnectionAuth Config Oauth2Auth Code Flow Client Secret - Client secret for user-provided OAuth app.
- Enable
Pkce bool - Whether to enable PKCE when the user performs the auth code flow.
- Scopes []string
- Scopes the connection will request when the user performs the auth code flow.
- auth
Uri String - Auth URL for Authorization Code Flow.
- client
Id String - Client ID for user-provided OAuth app.
- client
Secret ConnectionAuth Config Oauth2Auth Code Flow Client Secret - Client secret for user-provided OAuth app.
- enable
Pkce Boolean - Whether to enable PKCE when the user performs the auth code flow.
- scopes List<String>
- Scopes the connection will request when the user performs the auth code flow.
- auth
Uri string - Auth URL for Authorization Code Flow.
- client
Id string - Client ID for user-provided OAuth app.
- client
Secret ConnectionAuth Config Oauth2Auth Code Flow Client Secret - Client secret for user-provided OAuth app.
- enable
Pkce boolean - Whether to enable PKCE when the user performs the auth code flow.
- scopes string[]
- Scopes the connection will request when the user performs the auth code flow.
- auth_
uri str - Auth URL for Authorization Code Flow.
- client_
id str - Client ID for user-provided OAuth app.
- client_
secret ConnectionAuth Config Oauth2Auth Code Flow Client Secret - Client secret for user-provided OAuth app.
- enable_
pkce bool - Whether to enable PKCE when the user performs the auth code flow.
- scopes Sequence[str]
- Scopes the connection will request when the user performs the auth code flow.
- auth
Uri String - Auth URL for Authorization Code Flow.
- client
Id String - Client ID for user-provided OAuth app.
- client
Secret Property Map - Client secret for user-provided OAuth app.
- enable
Pkce Boolean - Whether to enable PKCE when the user performs the auth code flow.
- scopes List<String>
- Scopes the connection will request when the user performs the auth code flow.
ConnectionAuthConfigOauth2AuthCodeFlowClientSecret, ConnectionAuthConfigOauth2AuthCodeFlowClientSecretArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionAuthConfigOauth2ClientCredentials, ConnectionAuthConfigOauth2ClientCredentialsArgs
- Client
Id string - Secret version of Password for Authentication.
- Client
Secret ConnectionAuth Config Oauth2Client Credentials Client Secret - Secret version reference containing the client secret.
- Client
Id string - Secret version of Password for Authentication.
- Client
Secret ConnectionAuth Config Oauth2Client Credentials Client Secret - Secret version reference containing the client secret.
- client
Id String - Secret version of Password for Authentication.
- client
Secret ConnectionAuth Config Oauth2Client Credentials Client Secret - Secret version reference containing the client secret.
- client
Id string - Secret version of Password for Authentication.
- client
Secret ConnectionAuth Config Oauth2Client Credentials Client Secret - Secret version reference containing the client secret.
- client_
id str - Secret version of Password for Authentication.
- client_
secret ConnectionAuth Config Oauth2Client Credentials Client Secret - Secret version reference containing the client secret.
- client
Id String - Secret version of Password for Authentication.
- client
Secret Property Map - Secret version reference containing the client secret.
ConnectionAuthConfigOauth2ClientCredentialsClientSecret, ConnectionAuthConfigOauth2ClientCredentialsClientSecretArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionAuthConfigOauth2JwtBearer, ConnectionAuthConfigOauth2JwtBearerArgs
- Client
Key ConnectionAuth Config Oauth2Jwt Bearer Client Key - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- Jwt
Claims ConnectionAuth Config Oauth2Jwt Bearer Jwt Claims - JwtClaims providers fields to generate the token.
- Client
Key ConnectionAuth Config Oauth2Jwt Bearer Client Key - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- Jwt
Claims ConnectionAuth Config Oauth2Jwt Bearer Jwt Claims - JwtClaims providers fields to generate the token.
- client
Key ConnectionAuth Config Oauth2Jwt Bearer Client Key - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- jwt
Claims ConnectionAuth Config Oauth2Jwt Bearer Jwt Claims - JwtClaims providers fields to generate the token.
- client
Key ConnectionAuth Config Oauth2Jwt Bearer Client Key - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- jwt
Claims ConnectionAuth Config Oauth2Jwt Bearer Jwt Claims - JwtClaims providers fields to generate the token.
- client_
key ConnectionAuth Config Oauth2Jwt Bearer Client Key - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- jwt_
claims ConnectionAuth Config Oauth2Jwt Bearer Jwt Claims - JwtClaims providers fields to generate the token.
- client
Key Property Map - Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: projects//secrets//versions/*.
- jwt
Claims Property Map - JwtClaims providers fields to generate the token.
ConnectionAuthConfigOauth2JwtBearerClientKey, ConnectionAuthConfigOauth2JwtBearerClientKeyArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionAuthConfigOauth2JwtBearerJwtClaims, ConnectionAuthConfigOauth2JwtBearerJwtClaimsArgs
ConnectionAuthConfigSshPublicKey, ConnectionAuthConfigSshPublicKeyArgs
- Username string
- The user account used to authenticate.
- Cert
Type string - Format of SSH Client cert.
- Ssh
Client ConnectionCert Auth Config Ssh Public Key Ssh Client Cert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- Ssh
Client ConnectionCert Pass Auth Config Ssh Public Key Ssh Client Cert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
- Username string
- The user account used to authenticate.
- Cert
Type string - Format of SSH Client cert.
- Ssh
Client ConnectionCert Auth Config Ssh Public Key Ssh Client Cert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- Ssh
Client ConnectionCert Pass Auth Config Ssh Public Key Ssh Client Cert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
- username String
- The user account used to authenticate.
- cert
Type String - Format of SSH Client cert.
- ssh
Client ConnectionCert Auth Config Ssh Public Key Ssh Client Cert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- ssh
Client ConnectionCert Pass Auth Config Ssh Public Key Ssh Client Cert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
- username string
- The user account used to authenticate.
- cert
Type string - Format of SSH Client cert.
- ssh
Client ConnectionCert Auth Config Ssh Public Key Ssh Client Cert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- ssh
Client ConnectionCert Pass Auth Config Ssh Public Key Ssh Client Cert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
- username str
- The user account used to authenticate.
- cert_
type str - Format of SSH Client cert.
- ssh_
client_ Connectioncert Auth Config Ssh Public Key Ssh Client Cert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- ssh_
client_ Connectioncert_ pass Auth Config Ssh Public Key Ssh Client Cert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
- username String
- The user account used to authenticate.
- cert
Type String - Format of SSH Client cert.
- ssh
Client Property MapCert - SSH Client Cert. It should contain both public and private key. Structure is documented below.
- ssh
Client Property MapCert Pass - Password (passphrase) for ssh client certificate if it has one. Structure is documented below.
ConnectionAuthConfigSshPublicKeySshClientCert, ConnectionAuthConfigSshPublicKeySshClientCertArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionAuthConfigSshPublicKeySshClientCertPass, ConnectionAuthConfigSshPublicKeySshClientCertPassArgs
- Secret
Version string The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
- Secret
Version string The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
- secret
Version String The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
- secret
Version string The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
- secret_
version str The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
- secret
Version String The resource name of the secret version in the format, format as: projects//secrets//versions/*.
The
oauth2_auth_code_flow
block supports:
ConnectionAuthConfigUserPassword, ConnectionAuthConfigUserPasswordArgs
- Username string
- Username for Authentication.
- Password
Connection
Auth Config User Password Password - Password for Authentication. Structure is documented below.
- Username string
- Username for Authentication.
- Password
Connection
Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username String
- Username for Authentication.
- password
Connection
Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username string
- Username for Authentication.
- password
Connection
Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username str
- Username for Authentication.
- password
Connection
Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username String
- Username for Authentication.
- password Property Map
- Password for Authentication. Structure is documented below.
ConnectionAuthConfigUserPasswordPassword, ConnectionAuthConfigUserPasswordPasswordArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionConfigVariable, ConnectionConfigVariableArgs
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable
- Encryption
Key ConnectionValue Config Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable
- Secret
Value ConnectionConfig Variable Secret Value - Secret value of configVariable. Structure is documented below.
- String
Value string - String Value of configVariabley
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable
- Encryption
Key ConnectionValue Config Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable
- Secret
Value ConnectionConfig Variable Secret Value - Secret value of configVariable. Structure is documented below.
- String
Value string - String Value of configVariabley
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable
- encryption
Key ConnectionValue Config Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value Integer - Integer Value of configVariable
- secret
Value ConnectionConfig Variable Secret Value - Secret value of configVariable. Structure is documented below.
- string
Value String - String Value of configVariabley
- key string
- Key for the configVariable
- boolean
Value boolean - Boolean Value of configVariable
- encryption
Key ConnectionValue Config Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value number - Integer Value of configVariable
- secret
Value ConnectionConfig Variable Secret Value - Secret value of configVariable. Structure is documented below.
- string
Value string - String Value of configVariabley
- key str
- Key for the configVariable
- boolean_
value bool - Boolean Value of configVariable
- encryption_
key_ Connectionvalue Config Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer_
value int - Integer Value of configVariable
- secret_
value ConnectionConfig Variable Secret Value - Secret value of configVariable. Structure is documented below.
- string_
value str - String Value of configVariabley
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable
- encryption
Key Property MapValue - Encription key value of configVariable. Structure is documented below.
- integer
Value Number - Integer Value of configVariable
- secret
Value Property Map - Secret value of configVariable. Structure is documented below.
- string
Value String - String Value of configVariabley
ConnectionConfigVariableEncryptionKeyValue, ConnectionConfigVariableEncryptionKeyValueArgs
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type str
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms_
key_ strname - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
. - kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
ConnectionConfigVariableSecretValue, ConnectionConfigVariableSecretValueArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionConnectorVersionInfraConfig, ConnectionConnectorVersionInfraConfigArgs
- Ratelimit
Threshold string - (Output) Max QPS supported by the connector version before throttling of requests.
- Ratelimit
Threshold string - (Output) Max QPS supported by the connector version before throttling of requests.
- ratelimit
Threshold String - (Output) Max QPS supported by the connector version before throttling of requests.
- ratelimit
Threshold string - (Output) Max QPS supported by the connector version before throttling of requests.
- ratelimit_
threshold str - (Output) Max QPS supported by the connector version before throttling of requests.
- ratelimit
Threshold String - (Output) Max QPS supported by the connector version before throttling of requests.
ConnectionDestinationConfig, ConnectionDestinationConfigArgs
- Key string
- The key is the destination identifier that is supported by the Connector.
- Destinations
List<Connection
Destination Config Destination> - The destinations for the key. Structure is documented below.
- Key string
- The key is the destination identifier that is supported by the Connector.
- Destinations
[]Connection
Destination Config Destination - The destinations for the key. Structure is documented below.
- key String
- The key is the destination identifier that is supported by the Connector.
- destinations
List<Connection
Destination Config Destination> - The destinations for the key. Structure is documented below.
- key string
- The key is the destination identifier that is supported by the Connector.
- destinations
Connection
Destination Config Destination[] - The destinations for the key. Structure is documented below.
- key str
- The key is the destination identifier that is supported by the Connector.
- destinations
Sequence[Connection
Destination Config Destination] - The destinations for the key. Structure is documented below.
- key String
- The key is the destination identifier that is supported by the Connector.
- destinations List<Property Map>
- The destinations for the key. Structure is documented below.
ConnectionDestinationConfigDestination, ConnectionDestinationConfigDestinationArgs
- Host string
- Host
- Port int
- port number
- Service
Attachment string - Service Attachment
- Host string
- Host
- Port int
- port number
- Service
Attachment string - Service Attachment
- host String
- Host
- port Integer
- port number
- service
Attachment String - Service Attachment
- host string
- Host
- port number
- port number
- service
Attachment string - Service Attachment
- host str
- Host
- port int
- port number
- service_
attachment str - Service Attachment
- host String
- Host
- port Number
- port number
- service
Attachment String - Service Attachment
ConnectionEventingConfig, ConnectionEventingConfigArgs
- Registration
Destination ConnectionConfig Eventing Config Registration Destination Config - registrationDestinationConfig Structure is documented below.
- Additional
Variables List<ConnectionEventing Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- Auth
Config ConnectionEventing Config Auth Config - authConfig for Eventing Configuration. Structure is documented below.
- Enrichment
Enabled bool - Enrichment Enabled.
- Registration
Destination ConnectionConfig Eventing Config Registration Destination Config - registrationDestinationConfig Structure is documented below.
- Additional
Variables []ConnectionEventing Config Additional Variable - List containing additional auth configs. Structure is documented below.
- Auth
Config ConnectionEventing Config Auth Config - authConfig for Eventing Configuration. Structure is documented below.
- Enrichment
Enabled bool - Enrichment Enabled.
- registration
Destination ConnectionConfig Eventing Config Registration Destination Config - registrationDestinationConfig Structure is documented below.
- additional
Variables List<ConnectionEventing Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- auth
Config ConnectionEventing Config Auth Config - authConfig for Eventing Configuration. Structure is documented below.
- enrichment
Enabled Boolean - Enrichment Enabled.
- registration
Destination ConnectionConfig Eventing Config Registration Destination Config - registrationDestinationConfig Structure is documented below.
- additional
Variables ConnectionEventing Config Additional Variable[] - List containing additional auth configs. Structure is documented below.
- auth
Config ConnectionEventing Config Auth Config - authConfig for Eventing Configuration. Structure is documented below.
- enrichment
Enabled boolean - Enrichment Enabled.
- registration_
destination_ Connectionconfig Eventing Config Registration Destination Config - registrationDestinationConfig Structure is documented below.
- additional_
variables Sequence[ConnectionEventing Config Additional Variable] - List containing additional auth configs. Structure is documented below.
- auth_
config ConnectionEventing Config Auth Config - authConfig for Eventing Configuration. Structure is documented below.
- enrichment_
enabled bool - Enrichment Enabled.
- registration
Destination Property MapConfig - registrationDestinationConfig Structure is documented below.
- additional
Variables List<Property Map> - List containing additional auth configs. Structure is documented below.
- auth
Config Property Map - authConfig for Eventing Configuration. Structure is documented below.
- enrichment
Enabled Boolean - Enrichment Enabled.
ConnectionEventingConfigAdditionalVariable, ConnectionEventingConfigAdditionalVariableArgs
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Eventing Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionEventing Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Eventing Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionEventing Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Eventing Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value Integer - Integer Value of configVariable.
- secret
Value ConnectionEventing Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
- key string
- Key for the configVariable
- boolean
Value boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Eventing Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value number - Integer Value of configVariable.
- secret
Value ConnectionEventing Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value string - String Value of configVariabley.
- key str
- Key for the configVariable
- boolean_
value bool - Boolean Value of configVariable.
- encryption_
key_ Connectionvalue Eventing Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer_
value int - Integer Value of configVariable.
- secret_
value ConnectionEventing Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string_
value str - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key Property MapValue - Encription key value of configVariable. Structure is documented below.
- integer
Value Number - Integer Value of configVariable.
- secret
Value Property Map - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
ConnectionEventingConfigAdditionalVariableEncryptionKeyValue, ConnectionEventingConfigAdditionalVariableEncryptionKeyValueArgs
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms_
key_ strname - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type str
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
ConnectionEventingConfigAdditionalVariableSecretValue, ConnectionEventingConfigAdditionalVariableSecretValueArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionEventingConfigAuthConfig, ConnectionEventingConfigAuthConfigArgs
- Auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - User
Password ConnectionEventing Config Auth Config User Password - User password for Authentication. Structure is documented below.
- Additional
Variables List<ConnectionEventing Config Auth Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- Auth
Key string - The type of authentication configured.
- Auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - User
Password ConnectionEventing Config Auth Config User Password - User password for Authentication. Structure is documented below.
- Additional
Variables []ConnectionEventing Config Auth Config Additional Variable - List containing additional auth configs. Structure is documented below.
- Auth
Key string - The type of authentication configured.
- auth
Type String - authType of the Connection
Possible values are:
USER_PASSWORD
. - user
Password ConnectionEventing Config Auth Config User Password - User password for Authentication. Structure is documented below.
- additional
Variables List<ConnectionEventing Config Auth Config Additional Variable> - List containing additional auth configs. Structure is documented below.
- auth
Key String - The type of authentication configured.
- auth
Type string - authType of the Connection
Possible values are:
USER_PASSWORD
. - user
Password ConnectionEventing Config Auth Config User Password - User password for Authentication. Structure is documented below.
- additional
Variables ConnectionEventing Config Auth Config Additional Variable[] - List containing additional auth configs. Structure is documented below.
- auth
Key string - The type of authentication configured.
- auth_
type str - authType of the Connection
Possible values are:
USER_PASSWORD
. - user_
password ConnectionEventing Config Auth Config User Password - User password for Authentication. Structure is documented below.
- additional_
variables Sequence[ConnectionEventing Config Auth Config Additional Variable] - List containing additional auth configs. Structure is documented below.
- auth_
key str - The type of authentication configured.
- auth
Type String - authType of the Connection
Possible values are:
USER_PASSWORD
. - user
Password Property Map - User password for Authentication. Structure is documented below.
- additional
Variables List<Property Map> - List containing additional auth configs. Structure is documented below.
- auth
Key String - The type of authentication configured.
ConnectionEventingConfigAuthConfigAdditionalVariable, ConnectionEventingConfigAuthConfigAdditionalVariableArgs
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Eventing Config Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionEventing Config Auth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Eventing Config Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionEventing Config Auth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Eventing Config Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value Integer - Integer Value of configVariable.
- secret
Value ConnectionEventing Config Auth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
- key string
- Key for the configVariable
- boolean
Value boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Eventing Config Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value number - Integer Value of configVariable.
- secret
Value ConnectionEventing Config Auth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value string - String Value of configVariabley.
- key str
- Key for the configVariable
- boolean_
value bool - Boolean Value of configVariable.
- encryption_
key_ Connectionvalue Eventing Config Auth Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer_
value int - Integer Value of configVariable.
- secret_
value ConnectionEventing Config Auth Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string_
value str - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key Property MapValue - Encription key value of configVariable. Structure is documented below.
- integer
Value Number - Integer Value of configVariable.
- secret
Value Property Map - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValue, ConnectionEventingConfigAuthConfigAdditionalVariableEncryptionKeyValueArgs
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms_
key_ strname - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type str
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
ConnectionEventingConfigAuthConfigAdditionalVariableSecretValue, ConnectionEventingConfigAuthConfigAdditionalVariableSecretValueArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionEventingConfigAuthConfigUserPassword, ConnectionEventingConfigAuthConfigUserPasswordArgs
- Password
Connection
Eventing Config Auth Config User Password Password - Password for Authentication. Structure is documented below.
- Username string
- Username for Authentication.
- Password
Connection
Eventing Config Auth Config User Password Password - Password for Authentication. Structure is documented below.
- Username string
- Username for Authentication.
- password
Connection
Eventing Config Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username String
- Username for Authentication.
- password
Connection
Eventing Config Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username string
- Username for Authentication.
- password
Connection
Eventing Config Auth Config User Password Password - Password for Authentication. Structure is documented below.
- username str
- Username for Authentication.
- password Property Map
- Password for Authentication. Structure is documented below.
- username String
- Username for Authentication.
ConnectionEventingConfigAuthConfigUserPasswordPassword, ConnectionEventingConfigAuthConfigUserPasswordPasswordArgs
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- Secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version string - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret_
version str - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
- secret
Version String - The resource name of the secret version in the format, format as: projects//secrets//versions/*.
ConnectionEventingConfigRegistrationDestinationConfig, ConnectionEventingConfigRegistrationDestinationConfigArgs
- Destinations
List<Connection
Eventing Config Registration Destination Config Destination> - destinations for the connection Structure is documented below.
- Key string
- Key for the connection
- Destinations
[]Connection
Eventing Config Registration Destination Config Destination - destinations for the connection Structure is documented below.
- Key string
- Key for the connection
- destinations
List<Connection
Eventing Config Registration Destination Config Destination> - destinations for the connection Structure is documented below.
- key String
- Key for the connection
- destinations
Connection
Eventing Config Registration Destination Config Destination[] - destinations for the connection Structure is documented below.
- key string
- Key for the connection
- destinations
Sequence[Connection
Eventing Config Registration Destination Config Destination] - destinations for the connection Structure is documented below.
- key str
- Key for the connection
- destinations List<Property Map>
- destinations for the connection Structure is documented below.
- key String
- Key for the connection
ConnectionEventingConfigRegistrationDestinationConfigDestination, ConnectionEventingConfigRegistrationDestinationConfigDestinationArgs
- Host string
- Host
- Port int
- port number
- Service
Attachment string - Service Attachment
- Host string
- Host
- Port int
- port number
- Service
Attachment string - Service Attachment
- host String
- Host
- port Integer
- port number
- service
Attachment String - Service Attachment
- host string
- Host
- port number
- port number
- service
Attachment string - Service Attachment
- host str
- Host
- port int
- port number
- service_
attachment str - Service Attachment
- host String
- Host
- port Number
- port number
- service
Attachment String - Service Attachment
ConnectionEventingRuntimeData, ConnectionEventingRuntimeDataArgs
- Events
Listener stringEndpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- Statuses
List<Connection
Eventing Runtime Data Status> - (Output) Current status of eventing. Structure is documented below.
- Events
Listener stringEndpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- Statuses
[]Connection
Eventing Runtime Data Status - (Output) Current status of eventing. Structure is documented below.
- events
Listener StringEndpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- statuses
List<Connection
Eventing Runtime Data Status> - (Output) Current status of eventing. Structure is documented below.
- events
Listener stringEndpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- statuses
Connection
Eventing Runtime Data Status[] - (Output) Current status of eventing. Structure is documented below.
- events_
listener_ strendpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- statuses
Sequence[Connection
Eventing Runtime Data Status] - (Output) Current status of eventing. Structure is documented below.
- events
Listener StringEndpoint - Events listener endpoint. The value will populated after provisioning the events listener.
- statuses List<Property Map>
- (Output) Current status of eventing. Structure is documented below.
ConnectionEventingRuntimeDataStatus, ConnectionEventingRuntimeDataStatusArgs
- Description string
- An arbitrary description for the Conection.
- State string
- (Output) State of the Eventing
- Description string
- An arbitrary description for the Conection.
- State string
- (Output) State of the Eventing
- description String
- An arbitrary description for the Conection.
- state String
- (Output) State of the Eventing
- description string
- An arbitrary description for the Conection.
- state string
- (Output) State of the Eventing
- description str
- An arbitrary description for the Conection.
- state str
- (Output) State of the Eventing
- description String
- An arbitrary description for the Conection.
- state String
- (Output) State of the Eventing
ConnectionLockConfig, ConnectionLockConfigArgs
ConnectionLogConfig, ConnectionLogConfigArgs
- Enabled bool
- Enabled represents whether logging is enabled or not for a connection.
- Enabled bool
- Enabled represents whether logging is enabled or not for a connection.
- enabled Boolean
- Enabled represents whether logging is enabled or not for a connection.
- enabled boolean
- Enabled represents whether logging is enabled or not for a connection.
- enabled bool
- Enabled represents whether logging is enabled or not for a connection.
- enabled Boolean
- Enabled represents whether logging is enabled or not for a connection.
ConnectionNodeConfig, ConnectionNodeConfigArgs
- Max
Node intCount - Minimum number of nodes in the runtime nodes.
- Min
Node intCount - Minimum number of nodes in the runtime nodes.
- Max
Node intCount - Minimum number of nodes in the runtime nodes.
- Min
Node intCount - Minimum number of nodes in the runtime nodes.
- max
Node IntegerCount - Minimum number of nodes in the runtime nodes.
- min
Node IntegerCount - Minimum number of nodes in the runtime nodes.
- max
Node numberCount - Minimum number of nodes in the runtime nodes.
- min
Node numberCount - Minimum number of nodes in the runtime nodes.
- max_
node_ intcount - Minimum number of nodes in the runtime nodes.
- min_
node_ intcount - Minimum number of nodes in the runtime nodes.
- max
Node NumberCount - Minimum number of nodes in the runtime nodes.
- min
Node NumberCount - Minimum number of nodes in the runtime nodes.
ConnectionSslConfig, ConnectionSslConfigArgs
- Type string
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - Additional
Variables List<ConnectionSsl Config Additional Variable> - Additional SSL related field values. Structure is documented below.
- Client
Cert stringType - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - Client
Certificate ConnectionSsl Config Client Certificate - Client Certificate Structure is documented below.
- Client
Private ConnectionKey Ssl Config Client Private Key - Client Private Key Structure is documented below.
- Client
Private ConnectionKey Pass Ssl Config Client Private Key Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- Private
Server ConnectionCertificate Ssl Config Private Server Certificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- Server
Cert stringType - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - Trust
Model string - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - Use
Ssl bool - Bool for enabling SSL
- Type string
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - Additional
Variables []ConnectionSsl Config Additional Variable - Additional SSL related field values. Structure is documented below.
- Client
Cert stringType - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - Client
Certificate ConnectionSsl Config Client Certificate - Client Certificate Structure is documented below.
- Client
Private ConnectionKey Ssl Config Client Private Key - Client Private Key Structure is documented below.
- Client
Private ConnectionKey Pass Ssl Config Client Private Key Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- Private
Server ConnectionCertificate Ssl Config Private Server Certificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- Server
Cert stringType - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - Trust
Model string - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - Use
Ssl bool - Bool for enabling SSL
- type String
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - additional
Variables List<ConnectionSsl Config Additional Variable> - Additional SSL related field values. Structure is documented below.
- client
Cert StringType - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - client
Certificate ConnectionSsl Config Client Certificate - Client Certificate Structure is documented below.
- client
Private ConnectionKey Ssl Config Client Private Key - Client Private Key Structure is documented below.
- client
Private ConnectionKey Pass Ssl Config Client Private Key Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- private
Server ConnectionCertificate Ssl Config Private Server Certificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- server
Cert StringType - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - trust
Model String - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - use
Ssl Boolean - Bool for enabling SSL
- type string
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - additional
Variables ConnectionSsl Config Additional Variable[] - Additional SSL related field values. Structure is documented below.
- client
Cert stringType - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - client
Certificate ConnectionSsl Config Client Certificate - Client Certificate Structure is documented below.
- client
Private ConnectionKey Ssl Config Client Private Key - Client Private Key Structure is documented below.
- client
Private ConnectionKey Pass Ssl Config Client Private Key Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- private
Server ConnectionCertificate Ssl Config Private Server Certificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- server
Cert stringType - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - trust
Model string - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - use
Ssl boolean - Bool for enabling SSL
- type str
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - additional_
variables Sequence[ConnectionSsl Config Additional Variable] - Additional SSL related field values. Structure is documented below.
- client_
cert_ strtype - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - client_
certificate ConnectionSsl Config Client Certificate - Client Certificate Structure is documented below.
- client_
private_ Connectionkey Ssl Config Client Private Key - Client Private Key Structure is documented below.
- client_
private_ Connectionkey_ pass Ssl Config Client Private Key Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- private_
server_ Connectioncertificate Ssl Config Private Server Certificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- server_
cert_ strtype - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - trust_
model str - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - use_
ssl bool - Bool for enabling SSL
- type String
- Enum for controlling the SSL Type (TLS/MTLS)
Possible values are:
TLS
,MTLS
. - additional
Variables List<Property Map> - Additional SSL related field values. Structure is documented below.
- client
Cert StringType - Type of Client Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - client
Certificate Property Map - Client Certificate Structure is documented below.
- client
Private Property MapKey - Client Private Key Structure is documented below.
- client
Private Property MapKey Pass - Secret containing the passphrase protecting the Client Private Key Structure is documented below.
- private
Server Property MapCertificate - Private Server Certificate. Needs to be specified if trust model is PRIVATE. Structure is documented below.
- server
Cert StringType - Type of Server Cert (PEM/JKS/.. etc.)
Possible values are:
PEM
. - trust
Model String - Enum for Trust Model
Possible values are:
PUBLIC
,PRIVATE
,INSECURE
. - use
Ssl Boolean - Bool for enabling SSL
ConnectionSslConfigAdditionalVariable, ConnectionSslConfigAdditionalVariableArgs
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Ssl Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionSsl Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- Key string
- Key for the configVariable
- Boolean
Value bool - Boolean Value of configVariable.
- Encryption
Key ConnectionValue Ssl Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- Integer
Value int - Integer Value of configVariable.
- Secret
Value ConnectionSsl Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- String
Value string - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Ssl Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value Integer - Integer Value of configVariable.
- secret
Value ConnectionSsl Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
- key string
- Key for the configVariable
- boolean
Value boolean - Boolean Value of configVariable.
- encryption
Key ConnectionValue Ssl Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer
Value number - Integer Value of configVariable.
- secret
Value ConnectionSsl Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string
Value string - String Value of configVariabley.
- key str
- Key for the configVariable
- boolean_
value bool - Boolean Value of configVariable.
- encryption_
key_ Connectionvalue Ssl Config Additional Variable Encryption Key Value - Encription key value of configVariable. Structure is documented below.
- integer_
value int - Integer Value of configVariable.
- secret_
value ConnectionSsl Config Additional Variable Secret Value - Secret value of configVariable Structure is documented below.
- string_
value str - String Value of configVariabley.
- key String
- Key for the configVariable
- boolean
Value Boolean - Boolean Value of configVariable.
- encryption
Key Property MapValue - Encription key value of configVariable. Structure is documented below.
- integer
Value Number - Integer Value of configVariable.
- secret
Value Property Map - Secret value of configVariable Structure is documented below.
- string
Value String - String Value of configVariabley.
ConnectionSslConfigAdditionalVariableEncryptionKeyValue, ConnectionSslConfigAdditionalVariableEncryptionKeyValueArgs
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- Kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- Type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key stringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type string
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms_
key_ strname - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type str
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
- kms
Key StringName - The [KMS key name] with which the content of the Operation is encrypted. The expected format: projects//locations//keyRings//cryptoKeys/. Will be empty string if google managed.
- type String
- Type of Encryption Key
Possible values are:
GOOGLE_MANAGED
,CUSTOMER_MANAGED
.
ConnectionSslConfigAdditionalVariableSecretValue, ConnectionSslConfigAdditionalVariableSecretValueArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionSslConfigClientCertificate, ConnectionSslConfigClientCertificateArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionSslConfigClientPrivateKey, ConnectionSslConfigClientPrivateKeyArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionSslConfigClientPrivateKeyPass, ConnectionSslConfigClientPrivateKeyPassArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionSslConfigPrivateServerCertificate, ConnectionSslConfigPrivateServerCertificateArgs
- Secret
Version string - Secret version of Secret Value for Config variable.
- Secret
Version string - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
- secret
Version string - Secret version of Secret Value for Config variable.
- secret_
version str - Secret version of Secret Value for Config variable.
- secret
Version String - Secret version of Secret Value for Config variable.
ConnectionStatus, ConnectionStatusArgs
- Description string
- An arbitrary description for the Conection.
- State string
- (Output) State of the Eventing
- Status string
- (Output) Current status of eventing. Structure is documented below.
- Description string
- An arbitrary description for the Conection.
- State string
- (Output) State of the Eventing
- Status string
- (Output) Current status of eventing. Structure is documented below.
- description String
- An arbitrary description for the Conection.
- state String
- (Output) State of the Eventing
- status String
- (Output) Current status of eventing. Structure is documented below.
- description string
- An arbitrary description for the Conection.
- state string
- (Output) State of the Eventing
- status string
- (Output) Current status of eventing. Structure is documented below.
- description str
- An arbitrary description for the Conection.
- state str
- (Output) State of the Eventing
- status str
- (Output) Current status of eventing. Structure is documented below.
- description String
- An arbitrary description for the Conection.
- state String
- (Output) State of the Eventing
- status String
- (Output) Current status of eventing. Structure is documented below.
Import
Connection can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/connections/{{name}}
{{project}}/{{location}}/{{name}}
{{location}}/{{name}}
When using the pulumi import
command, Connection can be imported using one of the formats above. For example:
$ pulumi import gcp:integrationconnectors/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{name}}
$ pulumi import gcp:integrationconnectors/connection:Connection default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:integrationconnectors/connection:Connection default {{location}}/{{name}}
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.