developerconnect

package
v8.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Required. Id of the requesting object. If auto-generating Id server-side,
	// remove this field and connectionId from the methodSignature of Create RPC.
	//
	// ***
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// Output only. [Output only] Create timestamp
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. [Output only] Delete timestamp
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
	Disabled             pulumi.BoolPtrOutput   `pulumi:"disabled"`
	EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Optional. This checksum is computed by the server based on the value
	// of other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrOutput `pulumi:"etag"`
	// Configuration for connections to github.com.
	// Structure is documented below.
	GithubConfig ConnectionGithubConfigPtrOutput `pulumi:"githubConfig"`
	// Describes stage and necessary actions to be taken by the user to complete the installation.
	// Used for GitHub and GitHub Enterprise based connections.
	// Structure is documented below.
	InstallationStates ConnectionInstallationStateArrayOutput `pulumi:"installationStates"`
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Resource ID segment making up resource `name`. It identifies the resource
	// within its parent collection as described in https://google.aip.dev/122. See documentation
	// for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringOutput `pulumi:"location"`
	// Identifier. The resource name of the connection, in the format
	// `projects/{project}/locations/{location}/connections/{connection_id}`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. Set to true when the connection is being set up or updated
	// in the background.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// Output only. A system-assigned unique identifier for a the GitRepositoryLink.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Output only. [Output only] Update timestamp
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage

### Developer Connect Connection Basic

```go 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.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp: pulumi.String("DEVELOPER_CONNECT"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Developer Connect Connection Github Doc

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := secretmanager.NewSecret(ctx, "github-token-secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("github-token-secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: nil,
			},
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "my-github-token.txt",
		}, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretVersion(ctx, "github-token-secret-version", &secretmanager.SecretVersionArgs{
			Secret:     github_token_secret.ID(),
			SecretData: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		p4sa_secretAccessor, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/secretmanager.secretAccessor",
					Members: []string{
						"serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{
			SecretId:   github_token_secret.SecretId,
			PolicyData: pulumi.String(p4sa_secretAccessor.PolicyData),
		})
		if err != nil {
			return err
		}
		_, err = developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("my-connection"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp:         pulumi.String("DEVELOPER_CONNECT"),
				AppInstallationId: pulumi.String("123123"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: github_token_secret_version.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Connection can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`

* `{{project}}/{{location}}/{{connection_id}}`

* `{{location}}/{{connection_id}}`

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

```sh $ pulumi import gcp:developerconnect/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{connection_id}} ```

```sh $ pulumi import gcp:developerconnect/connection:Connection default {{project}}/{{location}}/{{connection_id}} ```

```sh $ pulumi import gcp:developerconnect/connection:Connection default {{location}}/{{connection_id}} ```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

NewConnection registers a new resource with the given unique name, arguments, and options.

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionArgs

type ConnectionArgs struct {
	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// Required. Id of the requesting object. If auto-generating Id server-side,
	// remove this field and connectionId from the methodSignature of Create RPC.
	//
	// ***
	ConnectionId pulumi.StringInput
	// Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
	Disabled pulumi.BoolPtrInput
	// Optional. This checksum is computed by the server based on the value
	// of other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// Configuration for connections to github.com.
	// Structure is documented below.
	GithubConfig ConnectionGithubConfigPtrInput
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource
	// within its parent collection as described in https://google.aip.dev/122. See documentation
	// for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionGithubConfig

type ConnectionGithubConfig struct {
	// Optional. GitHub App installation id.
	AppInstallationId *string `pulumi:"appInstallationId"`
	// Represents an OAuth token of the account that authorized the Connection,and
	// associated metadata.
	// Structure is documented below.
	AuthorizerCredential *ConnectionGithubConfigAuthorizerCredential `pulumi:"authorizerCredential"`
	// Required. Immutable. The GitHub Application that was installed to
	// the GitHub user or organization.
	// Possible values:
	// GIT_HUB_APP_UNSPECIFIED
	// DEVELOPER_CONNECT
	// FIREBASE"
	GithubApp string `pulumi:"githubApp"`
	// (Output)
	// Output only. The URI to navigate to in order to manage the installation
	// associated with this GitHubConfig.
	InstallationUri *string `pulumi:"installationUri"`
}

type ConnectionGithubConfigArgs

type ConnectionGithubConfigArgs struct {
	// Optional. GitHub App installation id.
	AppInstallationId pulumi.StringPtrInput `pulumi:"appInstallationId"`
	// Represents an OAuth token of the account that authorized the Connection,and
	// associated metadata.
	// Structure is documented below.
	AuthorizerCredential ConnectionGithubConfigAuthorizerCredentialPtrInput `pulumi:"authorizerCredential"`
	// Required. Immutable. The GitHub Application that was installed to
	// the GitHub user or organization.
	// Possible values:
	// GIT_HUB_APP_UNSPECIFIED
	// DEVELOPER_CONNECT
	// FIREBASE"
	GithubApp pulumi.StringInput `pulumi:"githubApp"`
	// (Output)
	// Output only. The URI to navigate to in order to manage the installation
	// associated with this GitHubConfig.
	InstallationUri pulumi.StringPtrInput `pulumi:"installationUri"`
}

func (ConnectionGithubConfigArgs) ElementType

func (ConnectionGithubConfigArgs) ElementType() reflect.Type

func (ConnectionGithubConfigArgs) ToConnectionGithubConfigOutput

func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigOutput() ConnectionGithubConfigOutput

func (ConnectionGithubConfigArgs) ToConnectionGithubConfigOutputWithContext

func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigOutputWithContext(ctx context.Context) ConnectionGithubConfigOutput

func (ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutput

func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput

func (ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutputWithContext

func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput

type ConnectionGithubConfigAuthorizerCredential

type ConnectionGithubConfigAuthorizerCredential struct {
	// Required. A SecretManager resource containing the OAuth token
	// that authorizes the connection.
	// Format: `projects/*/secrets/*/versions/*`.
	OauthTokenSecretVersion string `pulumi:"oauthTokenSecretVersion"`
	// (Output)
	// Output only. The username associated with this token.
	Username *string `pulumi:"username"`
}

type ConnectionGithubConfigAuthorizerCredentialArgs

type ConnectionGithubConfigAuthorizerCredentialArgs struct {
	// Required. A SecretManager resource containing the OAuth token
	// that authorizes the connection.
	// Format: `projects/*/secrets/*/versions/*`.
	OauthTokenSecretVersion pulumi.StringInput `pulumi:"oauthTokenSecretVersion"`
	// (Output)
	// Output only. The username associated with this token.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ConnectionGithubConfigAuthorizerCredentialArgs) ElementType

func (ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutput

func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutput() ConnectionGithubConfigAuthorizerCredentialOutput

func (ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext

func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialOutput

func (ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutput

func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput

func (ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext

func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput

type ConnectionGithubConfigAuthorizerCredentialInput

type ConnectionGithubConfigAuthorizerCredentialInput interface {
	pulumi.Input

	ToConnectionGithubConfigAuthorizerCredentialOutput() ConnectionGithubConfigAuthorizerCredentialOutput
	ToConnectionGithubConfigAuthorizerCredentialOutputWithContext(context.Context) ConnectionGithubConfigAuthorizerCredentialOutput
}

ConnectionGithubConfigAuthorizerCredentialInput is an input type that accepts ConnectionGithubConfigAuthorizerCredentialArgs and ConnectionGithubConfigAuthorizerCredentialOutput values. You can construct a concrete instance of `ConnectionGithubConfigAuthorizerCredentialInput` via:

ConnectionGithubConfigAuthorizerCredentialArgs{...}

type ConnectionGithubConfigAuthorizerCredentialOutput

type ConnectionGithubConfigAuthorizerCredentialOutput struct{ *pulumi.OutputState }

func (ConnectionGithubConfigAuthorizerCredentialOutput) ElementType

func (ConnectionGithubConfigAuthorizerCredentialOutput) OauthTokenSecretVersion

Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*`.

func (ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutput

func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutput() ConnectionGithubConfigAuthorizerCredentialOutput

func (ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext

func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialOutput

func (ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput

func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput

func (ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext

func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput

func (ConnectionGithubConfigAuthorizerCredentialOutput) Username

(Output) Output only. The username associated with this token.

type ConnectionGithubConfigAuthorizerCredentialPtrInput

type ConnectionGithubConfigAuthorizerCredentialPtrInput interface {
	pulumi.Input

	ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput
	ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput
}

ConnectionGithubConfigAuthorizerCredentialPtrInput is an input type that accepts ConnectionGithubConfigAuthorizerCredentialArgs, ConnectionGithubConfigAuthorizerCredentialPtr and ConnectionGithubConfigAuthorizerCredentialPtrOutput values. You can construct a concrete instance of `ConnectionGithubConfigAuthorizerCredentialPtrInput` via:

        ConnectionGithubConfigAuthorizerCredentialArgs{...}

or:

        nil

type ConnectionGithubConfigAuthorizerCredentialPtrOutput

type ConnectionGithubConfigAuthorizerCredentialPtrOutput struct{ *pulumi.OutputState }

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) Elem

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ElementType

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) OauthTokenSecretVersion

Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*`.

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput

func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext

func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput

func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) Username

(Output) Output only. The username associated with this token.

type ConnectionGithubConfigInput

type ConnectionGithubConfigInput interface {
	pulumi.Input

	ToConnectionGithubConfigOutput() ConnectionGithubConfigOutput
	ToConnectionGithubConfigOutputWithContext(context.Context) ConnectionGithubConfigOutput
}

ConnectionGithubConfigInput is an input type that accepts ConnectionGithubConfigArgs and ConnectionGithubConfigOutput values. You can construct a concrete instance of `ConnectionGithubConfigInput` via:

ConnectionGithubConfigArgs{...}

type ConnectionGithubConfigOutput

type ConnectionGithubConfigOutput struct{ *pulumi.OutputState }

func (ConnectionGithubConfigOutput) AppInstallationId

func (o ConnectionGithubConfigOutput) AppInstallationId() pulumi.StringPtrOutput

Optional. GitHub App installation id.

func (ConnectionGithubConfigOutput) AuthorizerCredential

Represents an OAuth token of the account that authorized the Connection,and associated metadata. Structure is documented below.

func (ConnectionGithubConfigOutput) ElementType

func (ConnectionGithubConfigOutput) GithubApp

Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE"

func (ConnectionGithubConfigOutput) InstallationUri

(Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.

func (ConnectionGithubConfigOutput) ToConnectionGithubConfigOutput

func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigOutput() ConnectionGithubConfigOutput

func (ConnectionGithubConfigOutput) ToConnectionGithubConfigOutputWithContext

func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigOutputWithContext(ctx context.Context) ConnectionGithubConfigOutput

func (ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutput

func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput

func (ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutputWithContext

func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput

type ConnectionGithubConfigPtrInput

type ConnectionGithubConfigPtrInput interface {
	pulumi.Input

	ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput
	ToConnectionGithubConfigPtrOutputWithContext(context.Context) ConnectionGithubConfigPtrOutput
}

ConnectionGithubConfigPtrInput is an input type that accepts ConnectionGithubConfigArgs, ConnectionGithubConfigPtr and ConnectionGithubConfigPtrOutput values. You can construct a concrete instance of `ConnectionGithubConfigPtrInput` via:

        ConnectionGithubConfigArgs{...}

or:

        nil

type ConnectionGithubConfigPtrOutput

type ConnectionGithubConfigPtrOutput struct{ *pulumi.OutputState }

func (ConnectionGithubConfigPtrOutput) AppInstallationId

Optional. GitHub App installation id.

func (ConnectionGithubConfigPtrOutput) AuthorizerCredential

Represents an OAuth token of the account that authorized the Connection,and associated metadata. Structure is documented below.

func (ConnectionGithubConfigPtrOutput) Elem

func (ConnectionGithubConfigPtrOutput) ElementType

func (ConnectionGithubConfigPtrOutput) GithubApp

Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE"

func (ConnectionGithubConfigPtrOutput) InstallationUri

(Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.

func (ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutput

func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput

func (ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutputWithContext

func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionInstallationState

type ConnectionInstallationState struct {
	// Output only. Link to follow for next action. Empty string if the
	// installation is already complete.
	ActionUri *string `pulumi:"actionUri"`
	// Output only. Message of what the user should do next to continue
	// the installation.Empty string if the installation is already complete.
	Message *string `pulumi:"message"`
	// (Output)
	// Output only. Current step of the installation process.
	// Possible values:
	// STAGE_UNSPECIFIED
	// PENDING_CREATE_APP
	// PENDING_USER_OAUTH
	// PENDING_INSTALL_APP
	// COMPLETE
	Stage *string `pulumi:"stage"`
}

type ConnectionInstallationStateArgs

type ConnectionInstallationStateArgs struct {
	// Output only. Link to follow for next action. Empty string if the
	// installation is already complete.
	ActionUri pulumi.StringPtrInput `pulumi:"actionUri"`
	// Output only. Message of what the user should do next to continue
	// the installation.Empty string if the installation is already complete.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// (Output)
	// Output only. Current step of the installation process.
	// Possible values:
	// STAGE_UNSPECIFIED
	// PENDING_CREATE_APP
	// PENDING_USER_OAUTH
	// PENDING_INSTALL_APP
	// COMPLETE
	Stage pulumi.StringPtrInput `pulumi:"stage"`
}

func (ConnectionInstallationStateArgs) ElementType

func (ConnectionInstallationStateArgs) ToConnectionInstallationStateOutput

func (i ConnectionInstallationStateArgs) ToConnectionInstallationStateOutput() ConnectionInstallationStateOutput

func (ConnectionInstallationStateArgs) ToConnectionInstallationStateOutputWithContext

func (i ConnectionInstallationStateArgs) ToConnectionInstallationStateOutputWithContext(ctx context.Context) ConnectionInstallationStateOutput

type ConnectionInstallationStateArray

type ConnectionInstallationStateArray []ConnectionInstallationStateInput

func (ConnectionInstallationStateArray) ElementType

func (ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutput

func (i ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutput() ConnectionInstallationStateArrayOutput

func (ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutputWithContext

func (i ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutputWithContext(ctx context.Context) ConnectionInstallationStateArrayOutput

type ConnectionInstallationStateArrayInput

type ConnectionInstallationStateArrayInput interface {
	pulumi.Input

	ToConnectionInstallationStateArrayOutput() ConnectionInstallationStateArrayOutput
	ToConnectionInstallationStateArrayOutputWithContext(context.Context) ConnectionInstallationStateArrayOutput
}

ConnectionInstallationStateArrayInput is an input type that accepts ConnectionInstallationStateArray and ConnectionInstallationStateArrayOutput values. You can construct a concrete instance of `ConnectionInstallationStateArrayInput` via:

ConnectionInstallationStateArray{ ConnectionInstallationStateArgs{...} }

type ConnectionInstallationStateArrayOutput

type ConnectionInstallationStateArrayOutput struct{ *pulumi.OutputState }

func (ConnectionInstallationStateArrayOutput) ElementType

func (ConnectionInstallationStateArrayOutput) Index

func (ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutput

func (o ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutput() ConnectionInstallationStateArrayOutput

func (ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutputWithContext

func (o ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutputWithContext(ctx context.Context) ConnectionInstallationStateArrayOutput

type ConnectionInstallationStateInput

type ConnectionInstallationStateInput interface {
	pulumi.Input

	ToConnectionInstallationStateOutput() ConnectionInstallationStateOutput
	ToConnectionInstallationStateOutputWithContext(context.Context) ConnectionInstallationStateOutput
}

ConnectionInstallationStateInput is an input type that accepts ConnectionInstallationStateArgs and ConnectionInstallationStateOutput values. You can construct a concrete instance of `ConnectionInstallationStateInput` via:

ConnectionInstallationStateArgs{...}

type ConnectionInstallationStateOutput

type ConnectionInstallationStateOutput struct{ *pulumi.OutputState }

func (ConnectionInstallationStateOutput) ActionUri

Output only. Link to follow for next action. Empty string if the installation is already complete.

func (ConnectionInstallationStateOutput) ElementType

func (ConnectionInstallationStateOutput) Message

Output only. Message of what the user should do next to continue the installation.Empty string if the installation is already complete.

func (ConnectionInstallationStateOutput) Stage

(Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE

func (ConnectionInstallationStateOutput) ToConnectionInstallationStateOutput

func (o ConnectionInstallationStateOutput) ToConnectionInstallationStateOutput() ConnectionInstallationStateOutput

func (ConnectionInstallationStateOutput) ToConnectionInstallationStateOutputWithContext

func (o ConnectionInstallationStateOutput) ToConnectionInstallationStateOutputWithContext(ctx context.Context) ConnectionInstallationStateOutput

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) Annotations

func (o ConnectionOutput) Annotations() pulumi.StringMapOutput

Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.

func (ConnectionOutput) ConnectionId

func (o ConnectionOutput) ConnectionId() pulumi.StringOutput

Required. Id of the requesting object. If auto-generating Id server-side, remove this field and connectionId from the methodSignature of Create RPC.

***

func (ConnectionOutput) CreateTime

func (o ConnectionOutput) CreateTime() pulumi.StringOutput

Output only. [Output only] Create timestamp

func (ConnectionOutput) DeleteTime

func (o ConnectionOutput) DeleteTime() pulumi.StringOutput

Output only. [Output only] Delete timestamp

func (ConnectionOutput) Disabled

func (o ConnectionOutput) Disabled() pulumi.BoolPtrOutput

Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.

func (ConnectionOutput) EffectiveAnnotations

func (o ConnectionOutput) EffectiveAnnotations() pulumi.StringMapOutput

func (ConnectionOutput) EffectiveLabels

func (o ConnectionOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) Etag

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

func (ConnectionOutput) GithubConfig

Configuration for connections to github.com. Structure is documented below.

func (ConnectionOutput) InstallationStates

Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.

func (ConnectionOutput) Labels

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 `effectiveLabels` for all of the labels present on the resource.

func (ConnectionOutput) Location

func (o ConnectionOutput) Location() pulumi.StringOutput

Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.

func (ConnectionOutput) Name

Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.

func (ConnectionOutput) Project

func (o ConnectionOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (ConnectionOutput) PulumiLabels

func (o ConnectionOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (ConnectionOutput) Reconciling

func (o ConnectionOutput) Reconciling() pulumi.BoolOutput

Output only. Set to true when the connection is being set up or updated in the background.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

func (ConnectionOutput) Uid

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

func (ConnectionOutput) UpdateTime

func (o ConnectionOutput) UpdateTime() pulumi.StringOutput

Output only. [Output only] Update timestamp

type ConnectionState

type ConnectionState struct {
	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// Required. Id of the requesting object. If auto-generating Id server-side,
	// remove this field and connectionId from the methodSignature of Create RPC.
	//
	// ***
	ConnectionId pulumi.StringPtrInput
	// Output only. [Output only] Create timestamp
	CreateTime pulumi.StringPtrInput
	// Output only. [Output only] Delete timestamp
	DeleteTime pulumi.StringPtrInput
	// Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
	Disabled             pulumi.BoolPtrInput
	EffectiveAnnotations pulumi.StringMapInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Optional. This checksum is computed by the server based on the value
	// of other fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// Configuration for connections to github.com.
	// Structure is documented below.
	GithubConfig ConnectionGithubConfigPtrInput
	// Describes stage and necessary actions to be taken by the user to complete the installation.
	// Used for GitHub and GitHub Enterprise based connections.
	// Structure is documented below.
	InstallationStates ConnectionInstallationStateArrayInput
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource
	// within its parent collection as described in https://google.aip.dev/122. See documentation
	// for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringPtrInput
	// Identifier. The resource name of the connection, in the format
	// `projects/{project}/locations/{location}/connections/{connection_id}`.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. Set to true when the connection is being set up or updated
	// in the background.
	Reconciling pulumi.BoolPtrInput
	// Output only. A system-assigned unique identifier for a the GitRepositoryLink.
	Uid pulumi.StringPtrInput
	// Output only. [Output only] Update timestamp
	UpdateTime pulumi.StringPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) ElementType() reflect.Type
type GitRepositoryLink struct {
	pulumi.CustomResourceState

	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Required. Git Clone URI.
	CloneUri pulumi.StringOutput `pulumi:"cloneUri"`
	// Output only. [Output only] Create timestamp
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. [Output only] Delete timestamp
	DeleteTime           pulumi.StringOutput    `pulumi:"deleteTime"`
	EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Optional. This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrOutput `pulumi:"etag"`
	// Required. The ID to use for the repository, which will become the final component of
	// the repository's resource name. This ID should be unique in the connection.
	// Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
	//
	// ***
	GitRepositoryLinkId pulumi.StringOutput `pulumi:"gitRepositoryLinkId"`
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringOutput `pulumi:"location"`
	// Identifier. Resource name of the repository, in the format
	// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	ParentConnection pulumi.StringOutput `pulumi:"parentConnection"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. Set to true when the connection is being set up or updated in the
	// background.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// Output only. A system-assigned unique identifier for a the GitRepositoryLink.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Output only. [Output only] Update timestamp
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage

## Import

GitRepositoryLink can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks/{{git_repository_link_id}}`

* `{{project}}/{{location}}/{{parent_connection}}/{{git_repository_link_id}}`

* `{{location}}/{{parent_connection}}/{{git_repository_link_id}}`

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

```sh $ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks/{{git_repository_link_id}} ```

```sh $ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default {{project}}/{{location}}/{{parent_connection}}/{{git_repository_link_id}} ```

```sh $ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default {{location}}/{{parent_connection}}/{{git_repository_link_id}} ```

func GetGitRepositoryLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GitRepositoryLinkState, opts ...pulumi.ResourceOption) (*GitRepositoryLink, error)

GetGitRepositoryLink gets an existing GitRepositoryLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGitRepositoryLink(ctx *pulumi.Context,
	name string, args *GitRepositoryLinkArgs, opts ...pulumi.ResourceOption) (*GitRepositoryLink, error)

NewGitRepositoryLink registers a new resource with the given unique name, arguments, and options.

func (*GitRepositoryLink) ElementType

func (*GitRepositoryLink) ElementType() reflect.Type

func (*GitRepositoryLink) ToGitRepositoryLinkOutput

func (i *GitRepositoryLink) ToGitRepositoryLinkOutput() GitRepositoryLinkOutput

func (*GitRepositoryLink) ToGitRepositoryLinkOutputWithContext

func (i *GitRepositoryLink) ToGitRepositoryLinkOutputWithContext(ctx context.Context) GitRepositoryLinkOutput

type GitRepositoryLinkArgs

type GitRepositoryLinkArgs struct {
	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// Required. Git Clone URI.
	CloneUri pulumi.StringInput
	// Optional. This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// Required. The ID to use for the repository, which will become the final component of
	// the repository's resource name. This ID should be unique in the connection.
	// Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
	//
	// ***
	GitRepositoryLinkId pulumi.StringInput
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	ParentConnection pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a GitRepositoryLink resource.

func (GitRepositoryLinkArgs) ElementType

func (GitRepositoryLinkArgs) ElementType() reflect.Type

type GitRepositoryLinkArray

type GitRepositoryLinkArray []GitRepositoryLinkInput

func (GitRepositoryLinkArray) ElementType

func (GitRepositoryLinkArray) ElementType() reflect.Type

func (GitRepositoryLinkArray) ToGitRepositoryLinkArrayOutput

func (i GitRepositoryLinkArray) ToGitRepositoryLinkArrayOutput() GitRepositoryLinkArrayOutput

func (GitRepositoryLinkArray) ToGitRepositoryLinkArrayOutputWithContext

func (i GitRepositoryLinkArray) ToGitRepositoryLinkArrayOutputWithContext(ctx context.Context) GitRepositoryLinkArrayOutput

type GitRepositoryLinkArrayInput

type GitRepositoryLinkArrayInput interface {
	pulumi.Input

	ToGitRepositoryLinkArrayOutput() GitRepositoryLinkArrayOutput
	ToGitRepositoryLinkArrayOutputWithContext(context.Context) GitRepositoryLinkArrayOutput
}

GitRepositoryLinkArrayInput is an input type that accepts GitRepositoryLinkArray and GitRepositoryLinkArrayOutput values. You can construct a concrete instance of `GitRepositoryLinkArrayInput` via:

GitRepositoryLinkArray{ GitRepositoryLinkArgs{...} }

type GitRepositoryLinkArrayOutput

type GitRepositoryLinkArrayOutput struct{ *pulumi.OutputState }

func (GitRepositoryLinkArrayOutput) ElementType

func (GitRepositoryLinkArrayOutput) Index

func (GitRepositoryLinkArrayOutput) ToGitRepositoryLinkArrayOutput

func (o GitRepositoryLinkArrayOutput) ToGitRepositoryLinkArrayOutput() GitRepositoryLinkArrayOutput

func (GitRepositoryLinkArrayOutput) ToGitRepositoryLinkArrayOutputWithContext

func (o GitRepositoryLinkArrayOutput) ToGitRepositoryLinkArrayOutputWithContext(ctx context.Context) GitRepositoryLinkArrayOutput

type GitRepositoryLinkInput

type GitRepositoryLinkInput interface {
	pulumi.Input

	ToGitRepositoryLinkOutput() GitRepositoryLinkOutput
	ToGitRepositoryLinkOutputWithContext(ctx context.Context) GitRepositoryLinkOutput
}

type GitRepositoryLinkMap

type GitRepositoryLinkMap map[string]GitRepositoryLinkInput

func (GitRepositoryLinkMap) ElementType

func (GitRepositoryLinkMap) ElementType() reflect.Type

func (GitRepositoryLinkMap) ToGitRepositoryLinkMapOutput

func (i GitRepositoryLinkMap) ToGitRepositoryLinkMapOutput() GitRepositoryLinkMapOutput

func (GitRepositoryLinkMap) ToGitRepositoryLinkMapOutputWithContext

func (i GitRepositoryLinkMap) ToGitRepositoryLinkMapOutputWithContext(ctx context.Context) GitRepositoryLinkMapOutput

type GitRepositoryLinkMapInput

type GitRepositoryLinkMapInput interface {
	pulumi.Input

	ToGitRepositoryLinkMapOutput() GitRepositoryLinkMapOutput
	ToGitRepositoryLinkMapOutputWithContext(context.Context) GitRepositoryLinkMapOutput
}

GitRepositoryLinkMapInput is an input type that accepts GitRepositoryLinkMap and GitRepositoryLinkMapOutput values. You can construct a concrete instance of `GitRepositoryLinkMapInput` via:

GitRepositoryLinkMap{ "key": GitRepositoryLinkArgs{...} }

type GitRepositoryLinkMapOutput

type GitRepositoryLinkMapOutput struct{ *pulumi.OutputState }

func (GitRepositoryLinkMapOutput) ElementType

func (GitRepositoryLinkMapOutput) ElementType() reflect.Type

func (GitRepositoryLinkMapOutput) MapIndex

func (GitRepositoryLinkMapOutput) ToGitRepositoryLinkMapOutput

func (o GitRepositoryLinkMapOutput) ToGitRepositoryLinkMapOutput() GitRepositoryLinkMapOutput

func (GitRepositoryLinkMapOutput) ToGitRepositoryLinkMapOutputWithContext

func (o GitRepositoryLinkMapOutput) ToGitRepositoryLinkMapOutputWithContext(ctx context.Context) GitRepositoryLinkMapOutput

type GitRepositoryLinkOutput

type GitRepositoryLinkOutput struct{ *pulumi.OutputState }

func (GitRepositoryLinkOutput) Annotations

Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.

func (GitRepositoryLinkOutput) CloneUri

Required. Git Clone URI.

func (GitRepositoryLinkOutput) CreateTime

Output only. [Output only] Create timestamp

func (GitRepositoryLinkOutput) DeleteTime

Output only. [Output only] Delete timestamp

func (GitRepositoryLinkOutput) EffectiveAnnotations

func (o GitRepositoryLinkOutput) EffectiveAnnotations() pulumi.StringMapOutput

func (GitRepositoryLinkOutput) EffectiveLabels

func (o GitRepositoryLinkOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (GitRepositoryLinkOutput) ElementType

func (GitRepositoryLinkOutput) ElementType() reflect.Type

func (GitRepositoryLinkOutput) Etag

Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

func (GitRepositoryLinkOutput) GitRepositoryLinkId

func (o GitRepositoryLinkOutput) GitRepositoryLinkId() pulumi.StringOutput

Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.

***

func (GitRepositoryLinkOutput) Labels

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 `effectiveLabels` for all of the labels present on the resource.

func (GitRepositoryLinkOutput) Location

Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.

func (GitRepositoryLinkOutput) Name

Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

func (GitRepositoryLinkOutput) ParentConnection

func (o GitRepositoryLinkOutput) ParentConnection() pulumi.StringOutput

Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.

func (GitRepositoryLinkOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (GitRepositoryLinkOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (GitRepositoryLinkOutput) Reconciling

func (o GitRepositoryLinkOutput) Reconciling() pulumi.BoolOutput

Output only. Set to true when the connection is being set up or updated in the background.

func (GitRepositoryLinkOutput) ToGitRepositoryLinkOutput

func (o GitRepositoryLinkOutput) ToGitRepositoryLinkOutput() GitRepositoryLinkOutput

func (GitRepositoryLinkOutput) ToGitRepositoryLinkOutputWithContext

func (o GitRepositoryLinkOutput) ToGitRepositoryLinkOutputWithContext(ctx context.Context) GitRepositoryLinkOutput

func (GitRepositoryLinkOutput) Uid

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

func (GitRepositoryLinkOutput) UpdateTime

Output only. [Output only] Update timestamp

type GitRepositoryLinkState

type GitRepositoryLinkState struct {
	// Optional. Allows clients 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 `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// Required. Git Clone URI.
	CloneUri pulumi.StringPtrInput
	// Output only. [Output only] Create timestamp
	CreateTime pulumi.StringPtrInput
	// Output only. [Output only] Delete timestamp
	DeleteTime           pulumi.StringPtrInput
	EffectiveAnnotations pulumi.StringMapInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Optional. This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag pulumi.StringPtrInput
	// Required. The ID to use for the repository, which will become the final component of
	// the repository's resource name. This ID should be unique in the connection.
	// Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
	//
	// ***
	GitRepositoryLinkId pulumi.StringPtrInput
	// 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 `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	Location pulumi.StringPtrInput
	// Identifier. Resource name of the repository, in the format
	// `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
	Name pulumi.StringPtrInput
	// Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
	ParentConnection pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. Set to true when the connection is being set up or updated in the
	// background.
	Reconciling pulumi.BoolPtrInput
	// Output only. A system-assigned unique identifier for a the GitRepositoryLink.
	Uid pulumi.StringPtrInput
	// Output only. [Output only] Update timestamp
	UpdateTime pulumi.StringPtrInput
}

func (GitRepositoryLinkState) ElementType

func (GitRepositoryLinkState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL