harness.platform.GcpConnector
Explore with Pulumi AI
Resource for creating a Gcp connector.
Create GcpConnector Resource
new GcpConnector(name: string, args: GcpConnectorArgs, opts?: CustomResourceOptions);
@overload
def GcpConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
inherit_from_delegates: Optional[Sequence[GcpConnectorInheritFromDelegateArgs]] = None,
manual: Optional[GcpConnectorManualArgs] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
@overload
def GcpConnector(resource_name: str,
args: GcpConnectorArgs,
opts: Optional[ResourceOptions] = None)
func NewGcpConnector(ctx *Context, name string, args GcpConnectorArgs, opts ...ResourceOption) (*GcpConnector, error)
public GcpConnector(string name, GcpConnectorArgs args, CustomResourceOptions? opts = null)
public GcpConnector(String name, GcpConnectorArgs args)
public GcpConnector(String name, GcpConnectorArgs args, CustomResourceOptions options)
type: harness:platform:GcpConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GcpConnectorArgs
- 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 GcpConnectorArgs
- 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 GcpConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GcpConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GcpConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GcpConnector Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The GcpConnector resource accepts the following input properties:
- Identifier string
Unique identifier of the resource.
- Description string
Description of the resource.
- Inherit
From List<Lbrlabs.Delegates Pulumi Package. Harness. Platform. Inputs. Gcp Connector Inherit From Delegate Args> Inherit configuration from delegate.
- Manual
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Gcp Connector Manual Args Manual credential configuration.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Identifier string
Unique identifier of the resource.
- Description string
Description of the resource.
- Inherit
From []GcpDelegates Connector Inherit From Delegate Args Inherit configuration from delegate.
- Manual
Gcp
Connector Manual Args Manual credential configuration.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier String
Unique identifier of the resource.
- description String
Description of the resource.
- inherit
From List<GcpDelegates Connector Inherit From Delegate Args> Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier string
Unique identifier of the resource.
- description string
Description of the resource.
- inherit
From GcpDelegates Connector Inherit From Delegate Args[] Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier str
Unique identifier of the resource.
- description str
Description of the resource.
- inherit_
from_ Sequence[Gcpdelegates Connector Inherit From Delegate Args] Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- identifier String
Unique identifier of the resource.
- description String
Description of the resource.
- inherit
From List<Property Map>Delegates Inherit configuration from delegate.
- manual Property Map
Manual credential configuration.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
Outputs
All input properties are implicitly available as output properties. Additionally, the GcpConnector resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing GcpConnector Resource
Get an existing GcpConnector 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?: GcpConnectorState, opts?: CustomResourceOptions): GcpConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
inherit_from_delegates: Optional[Sequence[GcpConnectorInheritFromDelegateArgs]] = None,
manual: Optional[GcpConnectorManualArgs] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> GcpConnector
func GetGcpConnector(ctx *Context, name string, id IDInput, state *GcpConnectorState, opts ...ResourceOption) (*GcpConnector, error)
public static GcpConnector Get(string name, Input<string> id, GcpConnectorState? state, CustomResourceOptions? opts = null)
public static GcpConnector get(String name, Output<String> id, GcpConnectorState 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.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Inherit
From List<Lbrlabs.Delegates Pulumi Package. Harness. Platform. Inputs. Gcp Connector Inherit From Delegate Args> Inherit configuration from delegate.
- Manual
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Gcp Connector Manual Args Manual credential configuration.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Inherit
From []GcpDelegates Connector Inherit From Delegate Args Inherit configuration from delegate.
- Manual
Gcp
Connector Manual Args Manual credential configuration.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- inherit
From List<GcpDelegates Connector Inherit From Delegate Args> Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- description string
Description of the resource.
- identifier string
Unique identifier of the resource.
- inherit
From GcpDelegates Connector Inherit From Delegate Args[] Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- description str
Description of the resource.
- identifier str
Unique identifier of the resource.
- inherit_
from_ Sequence[Gcpdelegates Connector Inherit From Delegate Args] Inherit configuration from delegate.
- manual
Gcp
Connector Manual Args Manual credential configuration.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- inherit
From List<Property Map>Delegates Inherit configuration from delegate.
- manual Property Map
Manual credential configuration.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
Supporting Types
GcpConnectorInheritFromDelegate
- Delegate
Selectors List<string> The delegates to inherit the credentials from.
- Delegate
Selectors []string The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
- delegate
Selectors string[] The delegates to inherit the credentials from.
- delegate_
selectors Sequence[str] The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
GcpConnectorManual
- Delegate
Selectors List<string> The delegates to connect with.
- Secret
Key stringRef Reference to the Harness secret containing the secret key.
- Delegate
Selectors []string The delegates to connect with.
- Secret
Key stringRef Reference to the Harness secret containing the secret key.
- delegate
Selectors List<String> The delegates to connect with.
- secret
Key StringRef Reference to the Harness secret containing the secret key.
- delegate
Selectors string[] The delegates to connect with.
- secret
Key stringRef Reference to the Harness secret containing the secret key.
- delegate_
selectors Sequence[str] The delegates to connect with.
- secret_
key_ strref Reference to the Harness secret containing the secret key.
- delegate
Selectors List<String> The delegates to connect with.
- secret
Key StringRef Reference to the Harness secret containing the secret key.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.