1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. developerconnect
  5. AccountConnector
Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi

gcp.developerconnect.AccountConnector

Explore with Pulumi AI

gcp logo
Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi

    Description

    Example Usage

    Developer Connect Account Connector Github

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "GITHUB",
            scopes: ["repo"],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "GITHUB",
            "scopes": ["repo"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("GITHUB"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("repo"),
    				},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "GITHUB",
                Scopes = new[]
                {
                    "repo",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("GITHUB")
                    .scopes("repo")
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: GITHUB
            scopes:
              - repo
    

    Developer Connect Account Connector Gitlab

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "GITLAB",
            scopes: ["api"],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "GITLAB",
            "scopes": ["api"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("GITLAB"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("api"),
    				},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "GITLAB",
                Scopes = new[]
                {
                    "api",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("GITLAB")
                    .scopes("api")
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: GITLAB
            scopes:
              - api
    

    Developer Connect Account Connector Google

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "GOOGLE",
            scopes: ["https://www.googleapis.com/auth/drive.readonly"],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "GOOGLE",
            "scopes": ["https://www.googleapis.com/auth/drive.readonly"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("GOOGLE"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("https://www.googleapis.com/auth/drive.readonly"),
    				},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "GOOGLE",
                Scopes = new[]
                {
                    "https://www.googleapis.com/auth/drive.readonly",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("GOOGLE")
                    .scopes("https://www.googleapis.com/auth/drive.readonly")
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: GOOGLE
            scopes:
              - https://www.googleapis.com/auth/drive.readonly
    

    Developer Connect Account Connector Sentry

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "SENTRY",
            scopes: ["org:read"],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "SENTRY",
            "scopes": ["org:read"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("SENTRY"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("org:read"),
    				},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "SENTRY",
                Scopes = new[]
                {
                    "org:read",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("SENTRY")
                    .scopes("org:read")
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: SENTRY
            scopes:
              - org:read
    

    Developer Connect Account Connector Rovo

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "ROVO",
            scopes: ["rovo"],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "ROVO",
            "scopes": ["rovo"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("ROVO"),
    				Scopes: pulumi.StringArray{
    					pulumi.String("rovo"),
    				},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "ROVO",
                Scopes = new[]
                {
                    "rovo",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("ROVO")
                    .scopes("rovo")
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: ROVO
            scopes:
              - rovo
    

    Developer Connect Account Connector New Relic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "NEW_RELIC",
            scopes: [],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "NEW_RELIC",
            "scopes": [],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("NEW_RELIC"),
    				Scopes:           pulumi.StringArray{},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "NEW_RELIC",
                Scopes = new() { },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("NEW_RELIC")
                    .scopes()
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: NEW_RELIC
            scopes: []
    

    Developer Connect Account Connector Datastax

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const my_account_connector = new gcp.developerconnect.AccountConnector("my-account-connector", {
        location: "us-central1",
        accountConnectorId: "tf-test-ac",
        providerOauthConfig: {
            systemProviderId: "DATASTAX",
            scopes: [],
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
        location="us-central1",
        account_connector_id="tf-test-ac",
        provider_oauth_config={
            "system_provider_id": "DATASTAX",
            "scopes": [],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := developerconnect.NewAccountConnector(ctx, "my-account-connector", &developerconnect.AccountConnectorArgs{
    			Location:           pulumi.String("us-central1"),
    			AccountConnectorId: pulumi.String("tf-test-ac"),
    			ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    				SystemProviderId: pulumi.String("DATASTAX"),
    				Scopes:           pulumi.StringArray{},
    			},
    		})
    		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 my_account_connector = new Gcp.DeveloperConnect.AccountConnector("my-account-connector", new()
        {
            Location = "us-central1",
            AccountConnectorId = "tf-test-ac",
            ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
            {
                SystemProviderId = "DATASTAX",
                Scopes = new() { },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.developerconnect.AccountConnector;
    import com.pulumi.gcp.developerconnect.AccountConnectorArgs;
    import com.pulumi.gcp.developerconnect.inputs.AccountConnectorProviderOauthConfigArgs;
    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) {
            var my_account_connector = new AccountConnector("my-account-connector", AccountConnectorArgs.builder()
                .location("us-central1")
                .accountConnectorId("tf-test-ac")
                .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
                    .systemProviderId("DATASTAX")
                    .scopes()
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-account-connector:
        type: gcp:developerconnect:AccountConnector
        properties:
          location: us-central1
          accountConnectorId: tf-test-ac
          providerOauthConfig:
            systemProviderId: DATASTAX
            scopes: []
    

    Create AccountConnector Resource

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

    Constructor syntax

    new AccountConnector(name: string, args: AccountConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def AccountConnector(resource_name: str,
                         args: AccountConnectorArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountConnector(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         account_connector_id: Optional[str] = None,
                         location: Optional[str] = None,
                         annotations: Optional[Mapping[str, str]] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         project: Optional[str] = None,
                         provider_oauth_config: Optional[AccountConnectorProviderOauthConfigArgs] = None)
    func NewAccountConnector(ctx *Context, name string, args AccountConnectorArgs, opts ...ResourceOption) (*AccountConnector, error)
    public AccountConnector(string name, AccountConnectorArgs args, CustomResourceOptions? opts = null)
    public AccountConnector(String name, AccountConnectorArgs args)
    public AccountConnector(String name, AccountConnectorArgs args, CustomResourceOptions options)
    
    type: gcp:developerconnect:AccountConnector
    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 AccountConnectorArgs
    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 AccountConnectorArgs
    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 AccountConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountConnectorArgs
    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 accountConnectorResource = new Gcp.DeveloperConnect.AccountConnector("accountConnectorResource", new()
    {
        AccountConnectorId = "string",
        Location = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
        ProviderOauthConfig = new Gcp.DeveloperConnect.Inputs.AccountConnectorProviderOauthConfigArgs
        {
            Scopes = new[]
            {
                "string",
            },
            SystemProviderId = "string",
        },
    });
    
    example, err := developerconnect.NewAccountConnector(ctx, "accountConnectorResource", &developerconnect.AccountConnectorArgs{
    	AccountConnectorId: pulumi.String("string"),
    	Location:           pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    	ProviderOauthConfig: &developerconnect.AccountConnectorProviderOauthConfigArgs{
    		Scopes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SystemProviderId: pulumi.String("string"),
    	},
    })
    
    var accountConnectorResource = new AccountConnector("accountConnectorResource", AccountConnectorArgs.builder()
        .accountConnectorId("string")
        .location("string")
        .annotations(Map.of("string", "string"))
        .labels(Map.of("string", "string"))
        .project("string")
        .providerOauthConfig(AccountConnectorProviderOauthConfigArgs.builder()
            .scopes("string")
            .systemProviderId("string")
            .build())
        .build());
    
    account_connector_resource = gcp.developerconnect.AccountConnector("accountConnectorResource",
        account_connector_id="string",
        location="string",
        annotations={
            "string": "string",
        },
        labels={
            "string": "string",
        },
        project="string",
        provider_oauth_config={
            "scopes": ["string"],
            "system_provider_id": "string",
        })
    
    const accountConnectorResource = new gcp.developerconnect.AccountConnector("accountConnectorResource", {
        accountConnectorId: "string",
        location: "string",
        annotations: {
            string: "string",
        },
        labels: {
            string: "string",
        },
        project: "string",
        providerOauthConfig: {
            scopes: ["string"],
            systemProviderId: "string",
        },
    });
    
    type: gcp:developerconnect:AccountConnector
    properties:
        accountConnectorId: string
        annotations:
            string: string
        labels:
            string: string
        location: string
        project: string
        providerOauthConfig:
            scopes:
                - string
            systemProviderId: string
    

    AccountConnector 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 AccountConnector resource accepts the following input properties:

    AccountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    Location string
    The location of the resource.
    Annotations Dictionary<string, string>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    Labels Dictionary<string, string>
    Optional. Labels as key value pairs 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.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ProviderOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    AccountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    Location string
    The location of the resource.
    Annotations map[string]string
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    Labels map[string]string
    Optional. Labels as key value pairs 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.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ProviderOauthConfig AccountConnectorProviderOauthConfigArgs
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    accountConnectorId String
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    location String
    The location of the resource.
    annotations Map<String,String>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    labels Map<String,String>
    Optional. Labels as key value pairs 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.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    accountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    location string
    The location of the resource.
    annotations {[key: string]: string}
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    labels {[key: string]: string}
    Optional. Labels as key value pairs 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.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    account_connector_id str
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    location str
    The location of the resource.
    annotations Mapping[str, str]
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    labels Mapping[str, str]
    Optional. Labels as key value pairs 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.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    provider_oauth_config AccountConnectorProviderOauthConfigArgs
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    accountConnectorId String
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    location String
    The location of the resource.
    annotations Map<String>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    labels Map<String>
    Optional. Labels as key value pairs 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.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig Property Map
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.

    Outputs

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

    CreateTime string
    Output only. The timestamp when the userConnection was created.
    EffectiveAnnotations Dictionary<string, string>
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    OauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Output only. The timestamp when the userConnection was updated.
    CreateTime string
    Output only. The timestamp when the userConnection was created.
    EffectiveAnnotations map[string]string
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    OauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Output only. The timestamp when the userConnection was updated.
    createTime String
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations Map<String,String>
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri String
    Output only. Start OAuth flow by clicking on this URL.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Output only. The timestamp when the userConnection was updated.
    createTime string
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations {[key: string]: string}
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime string
    Output only. The timestamp when the userConnection was updated.
    create_time str
    Output only. The timestamp when the userConnection was created.
    effective_annotations Mapping[str, str]
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauth_start_uri str
    Output only. Start OAuth flow by clicking on this URL.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    update_time str
    Output only. The timestamp when the userConnection was updated.
    createTime String
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations Map<String>
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri String
    Output only. Start OAuth flow by clicking on this URL.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Output only. The timestamp when the userConnection was updated.

    Look up Existing AccountConnector Resource

    Get an existing AccountConnector 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?: AccountConnectorState, opts?: CustomResourceOptions): AccountConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_connector_id: Optional[str] = None,
            annotations: Optional[Mapping[str, str]] = None,
            create_time: Optional[str] = None,
            effective_annotations: Optional[Mapping[str, str]] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            oauth_start_uri: Optional[str] = None,
            project: Optional[str] = None,
            provider_oauth_config: Optional[AccountConnectorProviderOauthConfigArgs] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            update_time: Optional[str] = None) -> AccountConnector
    func GetAccountConnector(ctx *Context, name string, id IDInput, state *AccountConnectorState, opts ...ResourceOption) (*AccountConnector, error)
    public static AccountConnector Get(string name, Input<string> id, AccountConnectorState? state, CustomResourceOptions? opts = null)
    public static AccountConnector get(String name, Output<String> id, AccountConnectorState state, CustomResourceOptions options)
    resources:  _:    type: gcp:developerconnect:AccountConnector    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    Annotations Dictionary<string, string>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    CreateTime string
    Output only. The timestamp when the userConnection was created.
    EffectiveAnnotations Dictionary<string, string>
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels Dictionary<string, string>
    Optional. Labels as key value pairs 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
    The location of the resource.
    Name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    OauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ProviderOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Output only. The timestamp when the userConnection was updated.
    AccountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    Annotations map[string]string
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    CreateTime string
    Output only. The timestamp when the userConnection was created.
    EffectiveAnnotations map[string]string
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels map[string]string
    Optional. Labels as key value pairs 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
    The location of the resource.
    Name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    OauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ProviderOauthConfig AccountConnectorProviderOauthConfigArgs
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    UpdateTime string
    Output only. The timestamp when the userConnection was updated.
    accountConnectorId String
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    annotations Map<String,String>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    createTime String
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations Map<String,String>
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String,String>
    Optional. Labels as key value pairs 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
    The location of the resource.
    name String
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri String
    Output only. Start OAuth flow by clicking on this URL.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Output only. The timestamp when the userConnection was updated.
    accountConnectorId string
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    annotations {[key: string]: string}
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    createTime string
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations {[key: string]: string}
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels {[key: string]: string}
    Optional. Labels as key value pairs 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
    The location of the resource.
    name string
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri string
    Output only. Start OAuth flow by clicking on this URL.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig AccountConnectorProviderOauthConfig
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime string
    Output only. The timestamp when the userConnection was updated.
    account_connector_id str
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    annotations Mapping[str, str]
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    create_time str
    Output only. The timestamp when the userConnection was created.
    effective_annotations Mapping[str, str]
    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.
    labels Mapping[str, str]
    Optional. Labels as key value pairs 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
    The location of the resource.
    name str
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauth_start_uri str
    Output only. Start OAuth flow by clicking on this URL.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    provider_oauth_config AccountConnectorProviderOauthConfigArgs
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    update_time str
    Output only. The timestamp when the userConnection was updated.
    accountConnectorId String
    Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.


    annotations Map<String>
    Optional. Allows users to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effective_annotations for all of the annotations present on the resource.
    createTime String
    Output only. The timestamp when the userConnection was created.
    effectiveAnnotations Map<String>
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String>
    Optional. Labels as key value pairs 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
    The location of the resource.
    name String
    Identifier. The resource name of the userConnection, in the format projects/{project}/locations/{location}/accountConnectors/{account_connector_id}.
    oauthStartUri String
    Output only. Start OAuth flow by clicking on this URL.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    providerOauthConfig Property Map
    ProviderOAuthConfig is the OAuth config for a provider. Structure is documented below.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    updateTime String
    Output only. The timestamp when the userConnection was updated.

    Supporting Types

    AccountConnectorProviderOauthConfig, AccountConnectorProviderOauthConfigArgs

    Scopes List<string>
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    SystemProviderId string
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX
    Scopes []string
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    SystemProviderId string
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX
    scopes List<String>
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    systemProviderId String
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX
    scopes string[]
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    systemProviderId string
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX
    scopes Sequence[str]
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    system_provider_id str
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX
    scopes List<String>
    Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again.
    systemProviderId String
    List of providers that are owned by Developer Connect. Possible values: GITHUB GITLAB GOOGLE SENTRY ROVO NEW_RELIC DATASTAX

    Import

    AccountConnector can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}

    • {{project}}/{{location}}/{{account_connector_id}}

    • {{location}}/{{account_connector_id}}

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

    $ pulumi import gcp:developerconnect/accountConnector:AccountConnector default projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}
    
    $ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{project}}/{{location}}/{{account_connector_id}}
    
    $ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{location}}/{{account_connector_id}}
    

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

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi