gcp.beyondcorp.AppConnector
Explore with Pulumi AI
A BeyondCorp AppConnector resource represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.
To get more information about AppConnector, see:
- API documentation
- How-to Guides
Example Usage
Beyondcorp App Connector Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("service_account", {
accountId: "my-account",
displayName: "Test Service Account",
});
const appConnector = new gcp.beyondcorp.AppConnector("app_connector", {
name: "my-app-connector",
principalInfo: {
serviceAccount: {
email: serviceAccount.email,
},
},
});
import pulumi
import pulumi_gcp as gcp
service_account = gcp.serviceaccount.Account("service_account",
account_id="my-account",
display_name="Test Service Account")
app_connector = gcp.beyondcorp.AppConnector("app_connector",
name="my-app-connector",
principal_info={
"service_account": {
"email": service_account.email,
},
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/beyondcorp"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceaccount.NewAccount(ctx, "service_account", &serviceaccount.AccountArgs{
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Test Service Account"),
})
if err != nil {
return err
}
_, err = beyondcorp.NewAppConnector(ctx, "app_connector", &beyondcorp.AppConnectorArgs{
Name: pulumi.String("my-app-connector"),
PrincipalInfo: &beyondcorp.AppConnectorPrincipalInfoArgs{
ServiceAccount: &beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs{
Email: serviceAccount.Email,
},
},
})
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 serviceAccount = new Gcp.ServiceAccount.Account("service_account", new()
{
AccountId = "my-account",
DisplayName = "Test Service Account",
});
var appConnector = new Gcp.Beyondcorp.AppConnector("app_connector", new()
{
Name = "my-app-connector",
PrincipalInfo = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoArgs
{
ServiceAccount = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoServiceAccountArgs
{
Email = serviceAccount.Email,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.beyondcorp.AppConnector;
import com.pulumi.gcp.beyondcorp.AppConnectorArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoServiceAccountArgs;
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 serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.accountId("my-account")
.displayName("Test Service Account")
.build());
var appConnector = new AppConnector("appConnector", AppConnectorArgs.builder()
.name("my-app-connector")
.principalInfo(AppConnectorPrincipalInfoArgs.builder()
.serviceAccount(AppConnectorPrincipalInfoServiceAccountArgs.builder()
.email(serviceAccount.email())
.build())
.build())
.build());
}
}
resources:
serviceAccount:
type: gcp:serviceaccount:Account
name: service_account
properties:
accountId: my-account
displayName: Test Service Account
appConnector:
type: gcp:beyondcorp:AppConnector
name: app_connector
properties:
name: my-app-connector
principalInfo:
serviceAccount:
email: ${serviceAccount.email}
Beyondcorp App Connector Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const serviceAccount = new gcp.serviceaccount.Account("service_account", {
accountId: "my-account",
displayName: "Test Service Account",
});
const appConnector = new gcp.beyondcorp.AppConnector("app_connector", {
name: "my-app-connector",
region: "us-central1",
displayName: "some display name",
principalInfo: {
serviceAccount: {
email: serviceAccount.email,
},
},
labels: {
foo: "bar",
bar: "baz",
},
});
import pulumi
import pulumi_gcp as gcp
service_account = gcp.serviceaccount.Account("service_account",
account_id="my-account",
display_name="Test Service Account")
app_connector = gcp.beyondcorp.AppConnector("app_connector",
name="my-app-connector",
region="us-central1",
display_name="some display name",
principal_info={
"service_account": {
"email": service_account.email,
},
},
labels={
"foo": "bar",
"bar": "baz",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/beyondcorp"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
serviceAccount, err := serviceaccount.NewAccount(ctx, "service_account", &serviceaccount.AccountArgs{
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Test Service Account"),
})
if err != nil {
return err
}
_, err = beyondcorp.NewAppConnector(ctx, "app_connector", &beyondcorp.AppConnectorArgs{
Name: pulumi.String("my-app-connector"),
Region: pulumi.String("us-central1"),
DisplayName: pulumi.String("some display name"),
PrincipalInfo: &beyondcorp.AppConnectorPrincipalInfoArgs{
ServiceAccount: &beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs{
Email: serviceAccount.Email,
},
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
"bar": pulumi.String("baz"),
},
})
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 serviceAccount = new Gcp.ServiceAccount.Account("service_account", new()
{
AccountId = "my-account",
DisplayName = "Test Service Account",
});
var appConnector = new Gcp.Beyondcorp.AppConnector("app_connector", new()
{
Name = "my-app-connector",
Region = "us-central1",
DisplayName = "some display name",
PrincipalInfo = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoArgs
{
ServiceAccount = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoServiceAccountArgs
{
Email = serviceAccount.Email,
},
},
Labels =
{
{ "foo", "bar" },
{ "bar", "baz" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.beyondcorp.AppConnector;
import com.pulumi.gcp.beyondcorp.AppConnectorArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoArgs;
import com.pulumi.gcp.beyondcorp.inputs.AppConnectorPrincipalInfoServiceAccountArgs;
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 serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.accountId("my-account")
.displayName("Test Service Account")
.build());
var appConnector = new AppConnector("appConnector", AppConnectorArgs.builder()
.name("my-app-connector")
.region("us-central1")
.displayName("some display name")
.principalInfo(AppConnectorPrincipalInfoArgs.builder()
.serviceAccount(AppConnectorPrincipalInfoServiceAccountArgs.builder()
.email(serviceAccount.email())
.build())
.build())
.labels(Map.ofEntries(
Map.entry("foo", "bar"),
Map.entry("bar", "baz")
))
.build());
}
}
resources:
serviceAccount:
type: gcp:serviceaccount:Account
name: service_account
properties:
accountId: my-account
displayName: Test Service Account
appConnector:
type: gcp:beyondcorp:AppConnector
name: app_connector
properties:
name: my-app-connector
region: us-central1
displayName: some display name
principalInfo:
serviceAccount:
email: ${serviceAccount.email}
labels:
foo: bar
bar: baz
Create AppConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppConnector(name: string, args: AppConnectorArgs, opts?: CustomResourceOptions);
@overload
def AppConnector(resource_name: str,
args: AppConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
principal_info: Optional[AppConnectorPrincipalInfoArgs] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None)
func NewAppConnector(ctx *Context, name string, args AppConnectorArgs, opts ...ResourceOption) (*AppConnector, error)
public AppConnector(string name, AppConnectorArgs args, CustomResourceOptions? opts = null)
public AppConnector(String name, AppConnectorArgs args)
public AppConnector(String name, AppConnectorArgs args, CustomResourceOptions options)
type: gcp:beyondcorp:AppConnector
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 AppConnectorArgs
- 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 AppConnectorArgs
- 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 AppConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppConnectorArgs
- 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 appConnectorResource = new Gcp.Beyondcorp.AppConnector("appConnectorResource", new()
{
PrincipalInfo = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoArgs
{
ServiceAccount = new Gcp.Beyondcorp.Inputs.AppConnectorPrincipalInfoServiceAccountArgs
{
Email = "string",
},
},
DisplayName = "string",
Labels =
{
{ "string", "string" },
},
Name = "string",
Project = "string",
Region = "string",
});
example, err := beyondcorp.NewAppConnector(ctx, "appConnectorResource", &beyondcorp.AppConnectorArgs{
PrincipalInfo: &beyondcorp.AppConnectorPrincipalInfoArgs{
ServiceAccount: &beyondcorp.AppConnectorPrincipalInfoServiceAccountArgs{
Email: pulumi.String("string"),
},
},
DisplayName: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
Region: pulumi.String("string"),
})
var appConnectorResource = new AppConnector("appConnectorResource", AppConnectorArgs.builder()
.principalInfo(AppConnectorPrincipalInfoArgs.builder()
.serviceAccount(AppConnectorPrincipalInfoServiceAccountArgs.builder()
.email("string")
.build())
.build())
.displayName("string")
.labels(Map.of("string", "string"))
.name("string")
.project("string")
.region("string")
.build());
app_connector_resource = gcp.beyondcorp.AppConnector("appConnectorResource",
principal_info={
"service_account": {
"email": "string",
},
},
display_name="string",
labels={
"string": "string",
},
name="string",
project="string",
region="string")
const appConnectorResource = new gcp.beyondcorp.AppConnector("appConnectorResource", {
principalInfo: {
serviceAccount: {
email: "string",
},
},
displayName: "string",
labels: {
string: "string",
},
name: "string",
project: "string",
region: "string",
});
type: gcp:beyondcorp:AppConnector
properties:
displayName: string
labels:
string: string
name: string
principalInfo:
serviceAccount:
email: string
project: string
region: string
AppConnector 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 AppConnector resource accepts the following input properties:
- Principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- Display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- Name string
- ID of the AppConnector.
- Project string
- Region string
- The region of the AppConnector.
- Principal
Info AppConnector Principal Info Args - Principal information about the Identity of the AppConnector. Structure is documented below.
- Display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- Name string
- ID of the AppConnector.
- Project string
- Region string
- The region of the AppConnector.
- principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- display
Name String - An arbitrary user-provided name for the AppConnector.
- 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.
- name String
- ID of the AppConnector.
- project String
- region String
- The region of the AppConnector.
- principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- name string
- ID of the AppConnector.
- project string
- region string
- The region of the AppConnector.
- principal_
info AppConnector Principal Info Args - Principal information about the Identity of the AppConnector. Structure is documented below.
- display_
name str - An arbitrary user-provided name for the AppConnector.
- 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.
- name str
- ID of the AppConnector.
- project str
- region str
- The region of the AppConnector.
- principal
Info Property Map - Principal information about the Identity of the AppConnector. Structure is documented below.
- display
Name String - An arbitrary user-provided name for the AppConnector.
- 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.
- name String
- ID of the AppConnector.
- project String
- region String
- The region of the AppConnector.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConnector resource produces the following output properties:
- 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.
- 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.
- State string
- Represents the different states of a AppConnector.
- 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.
- 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.
- State string
- Represents the different states of a AppConnector.
- 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.
- 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.
- state String
- Represents the different states of a AppConnector.
- 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.
- 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.
- state string
- Represents the different states of a AppConnector.
- 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.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- state str
- Represents the different states of a AppConnector.
- 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.
- 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.
- state String
- Represents the different states of a AppConnector.
Look up Existing AppConnector Resource
Get an existing AppConnector 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?: AppConnectorState, opts?: CustomResourceOptions): AppConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
principal_info: Optional[AppConnectorPrincipalInfoArgs] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
region: Optional[str] = None,
state: Optional[str] = None) -> AppConnector
func GetAppConnector(ctx *Context, name string, id IDInput, state *AppConnectorState, opts ...ResourceOption) (*AppConnector, error)
public static AppConnector Get(string name, Input<string> id, AppConnectorState? state, CustomResourceOptions? opts = null)
public static AppConnector get(String name, Output<String> id, AppConnectorState 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.
- Display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- 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.
- Name string
- ID of the AppConnector.
- Principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- Project string
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Region string
- The region of the AppConnector.
- State string
- Represents the different states of a AppConnector.
- Display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- 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.
- Name string
- ID of the AppConnector.
- Principal
Info AppConnector Principal Info Args - Principal information about the Identity of the AppConnector. Structure is documented below.
- Project string
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Region string
- The region of the AppConnector.
- State string
- Represents the different states of a AppConnector.
- display
Name String - An arbitrary user-provided name for the AppConnector.
- 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.
- 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.
- name String
- ID of the AppConnector.
- principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- project String
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- region String
- The region of the AppConnector.
- state String
- Represents the different states of a AppConnector.
- display
Name string - An arbitrary user-provided name for the AppConnector.
- 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.
- 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.
- name string
- ID of the AppConnector.
- principal
Info AppConnector Principal Info - Principal information about the Identity of the AppConnector. Structure is documented below.
- project string
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- region string
- The region of the AppConnector.
- state string
- Represents the different states of a AppConnector.
- display_
name str - An arbitrary user-provided name for the AppConnector.
- 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]
- 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.
- name str
- ID of the AppConnector.
- principal_
info AppConnector Principal Info Args - Principal information about the Identity of the AppConnector. Structure is documented below.
- project str
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- region str
- The region of the AppConnector.
- state str
- Represents the different states of a AppConnector.
- display
Name String - An arbitrary user-provided name for the AppConnector.
- 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.
- 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.
- name String
- ID of the AppConnector.
- principal
Info Property Map - Principal information about the Identity of the AppConnector. Structure is documented below.
- project String
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- region String
- The region of the AppConnector.
- state String
- Represents the different states of a AppConnector.
Supporting Types
AppConnectorPrincipalInfo, AppConnectorPrincipalInfoArgs
- Service
Account AppConnector Principal Info Service Account - ServiceAccount represents a GCP service account. Structure is documented below.
- Service
Account AppConnector Principal Info Service Account - ServiceAccount represents a GCP service account. Structure is documented below.
- service
Account AppConnector Principal Info Service Account - ServiceAccount represents a GCP service account. Structure is documented below.
- service
Account AppConnector Principal Info Service Account - ServiceAccount represents a GCP service account. Structure is documented below.
- service_
account AppConnector Principal Info Service Account - ServiceAccount represents a GCP service account. Structure is documented below.
- service
Account Property Map - ServiceAccount represents a GCP service account. Structure is documented below.
AppConnectorPrincipalInfoServiceAccount, AppConnectorPrincipalInfoServiceAccountArgs
- Email string
- Email address of the service account.
- Email string
- Email address of the service account.
- email String
- Email address of the service account.
- email string
- Email address of the service account.
- email str
- Email address of the service account.
- email String
- Email address of the service account.
Import
AppConnector can be imported using any of these accepted formats:
projects/{{project}}/locations/{{region}}/appConnectors/{{name}}
{{project}}/{{region}}/{{name}}
{{region}}/{{name}}
{{name}}
When using the pulumi import
command, AppConnector can be imported using one of the formats above. For example:
$ pulumi import gcp:beyondcorp/appConnector:AppConnector default projects/{{project}}/locations/{{region}}/appConnectors/{{name}}
$ pulumi import gcp:beyondcorp/appConnector:AppConnector default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:beyondcorp/appConnector:AppConnector default {{region}}/{{name}}
$ pulumi import gcp:beyondcorp/appConnector:AppConnector default {{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.