Documentation ¶
Index ¶
- type Connection
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionGithubConfig
- type ConnectionGithubConfigArgs
- func (ConnectionGithubConfigArgs) ElementType() reflect.Type
- func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigOutput() ConnectionGithubConfigOutput
- func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigOutputWithContext(ctx context.Context) ConnectionGithubConfigOutput
- func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput
- func (i ConnectionGithubConfigArgs) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput
- type ConnectionGithubConfigAuthorizerCredential
- type ConnectionGithubConfigAuthorizerCredentialArgs
- func (ConnectionGithubConfigAuthorizerCredentialArgs) ElementType() reflect.Type
- func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutput() ConnectionGithubConfigAuthorizerCredentialOutput
- func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialOutput
- func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (i ConnectionGithubConfigAuthorizerCredentialArgs) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput
- type ConnectionGithubConfigAuthorizerCredentialInput
- type ConnectionGithubConfigAuthorizerCredentialOutput
- func (ConnectionGithubConfigAuthorizerCredentialOutput) ElementType() reflect.Type
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) OauthTokenSecretVersion() pulumi.StringPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutput() ConnectionGithubConfigAuthorizerCredentialOutput
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialOutput
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialOutput) Username() pulumi.StringPtrOutput
- type ConnectionGithubConfigAuthorizerCredentialPtrInput
- type ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) Elem() ConnectionGithubConfigAuthorizerCredentialOutput
- func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ElementType() reflect.Type
- func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) OauthTokenSecretVersion() pulumi.StringPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutput() ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) ToConnectionGithubConfigAuthorizerCredentialPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) Username() pulumi.StringPtrOutput
- type ConnectionGithubConfigInput
- type ConnectionGithubConfigOutput
- func (o ConnectionGithubConfigOutput) AppInstallationId() pulumi.IntPtrOutput
- func (o ConnectionGithubConfigOutput) AuthorizerCredential() ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (ConnectionGithubConfigOutput) ElementType() reflect.Type
- func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigOutput() ConnectionGithubConfigOutput
- func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigOutputWithContext(ctx context.Context) ConnectionGithubConfigOutput
- func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput
- func (o ConnectionGithubConfigOutput) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput
- type ConnectionGithubConfigPtrInput
- type ConnectionGithubConfigPtrOutput
- func (o ConnectionGithubConfigPtrOutput) AppInstallationId() pulumi.IntPtrOutput
- func (o ConnectionGithubConfigPtrOutput) AuthorizerCredential() ConnectionGithubConfigAuthorizerCredentialPtrOutput
- func (o ConnectionGithubConfigPtrOutput) Elem() ConnectionGithubConfigOutput
- func (ConnectionGithubConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput
- func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput
- type ConnectionGithubEnterpriseConfig
- type ConnectionGithubEnterpriseConfigArgs
- func (ConnectionGithubEnterpriseConfigArgs) ElementType() reflect.Type
- func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutput() ConnectionGithubEnterpriseConfigOutput
- func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigOutput
- func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
- func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
- type ConnectionGithubEnterpriseConfigInput
- type ConnectionGithubEnterpriseConfigOutput
- func (o ConnectionGithubEnterpriseConfigOutput) AppId() pulumi.IntPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) AppInstallationId() pulumi.IntPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) AppSlug() pulumi.StringPtrOutput
- func (ConnectionGithubEnterpriseConfigOutput) ElementType() reflect.Type
- func (o ConnectionGithubEnterpriseConfigOutput) HostUri() pulumi.StringOutput
- func (o ConnectionGithubEnterpriseConfigOutput) PrivateKeySecretVersion() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) ServiceDirectoryConfig() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) SslCa() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutput() ConnectionGithubEnterpriseConfigOutput
- func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigOutput
- func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigOutput) WebhookSecretSecretVersion() pulumi.StringPtrOutput
- type ConnectionGithubEnterpriseConfigPtrInput
- type ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) AppId() pulumi.IntPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) AppInstallationId() pulumi.IntPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) AppSlug() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) Elem() ConnectionGithubEnterpriseConfigOutput
- func (ConnectionGithubEnterpriseConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionGithubEnterpriseConfigPtrOutput) HostUri() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) PrivateKeySecretVersion() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) ServiceDirectoryConfig() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) SslCa() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigPtrOutput) WebhookSecretSecretVersion() pulumi.StringPtrOutput
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfig
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs
- func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ElementType() reflect.Type
- func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfigInput
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ElementType() reflect.Type
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) Service() pulumi.StringOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput
- type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) Elem() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
- func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ElementType() reflect.Type
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) Service() pulumi.StringPtrOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
- type ConnectionIAMBinding
- type ConnectionIAMBindingArgs
- type ConnectionIAMBindingArray
- type ConnectionIAMBindingArrayInput
- type ConnectionIAMBindingArrayOutput
- func (ConnectionIAMBindingArrayOutput) ElementType() reflect.Type
- func (o ConnectionIAMBindingArrayOutput) Index(i pulumi.IntInput) ConnectionIAMBindingOutput
- func (o ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutput() ConnectionIAMBindingArrayOutput
- func (o ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutputWithContext(ctx context.Context) ConnectionIAMBindingArrayOutput
- type ConnectionIAMBindingCondition
- type ConnectionIAMBindingConditionArgs
- func (ConnectionIAMBindingConditionArgs) ElementType() reflect.Type
- func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutput() ConnectionIAMBindingConditionOutput
- func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionOutput
- func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
- func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
- type ConnectionIAMBindingConditionInput
- type ConnectionIAMBindingConditionOutput
- func (o ConnectionIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (ConnectionIAMBindingConditionOutput) ElementType() reflect.Type
- func (o ConnectionIAMBindingConditionOutput) Expression() pulumi.StringOutput
- func (o ConnectionIAMBindingConditionOutput) Title() pulumi.StringOutput
- func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutput() ConnectionIAMBindingConditionOutput
- func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionOutput
- func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
- func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
- type ConnectionIAMBindingConditionPtrInput
- type ConnectionIAMBindingConditionPtrOutput
- func (o ConnectionIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ConnectionIAMBindingConditionPtrOutput) Elem() ConnectionIAMBindingConditionOutput
- func (ConnectionIAMBindingConditionPtrOutput) ElementType() reflect.Type
- func (o ConnectionIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ConnectionIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
- func (o ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
- type ConnectionIAMBindingInput
- type ConnectionIAMBindingMap
- type ConnectionIAMBindingMapInput
- type ConnectionIAMBindingMapOutput
- func (ConnectionIAMBindingMapOutput) ElementType() reflect.Type
- func (o ConnectionIAMBindingMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMBindingOutput
- func (o ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutput() ConnectionIAMBindingMapOutput
- func (o ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutputWithContext(ctx context.Context) ConnectionIAMBindingMapOutput
- type ConnectionIAMBindingOutput
- func (o ConnectionIAMBindingOutput) Condition() ConnectionIAMBindingConditionPtrOutput
- func (ConnectionIAMBindingOutput) ElementType() reflect.Type
- func (o ConnectionIAMBindingOutput) Etag() pulumi.StringOutput
- func (o ConnectionIAMBindingOutput) Location() pulumi.StringOutput
- func (o ConnectionIAMBindingOutput) Members() pulumi.StringArrayOutput
- func (o ConnectionIAMBindingOutput) Name() pulumi.StringOutput
- func (o ConnectionIAMBindingOutput) Project() pulumi.StringOutput
- func (o ConnectionIAMBindingOutput) Role() pulumi.StringOutput
- func (o ConnectionIAMBindingOutput) ToConnectionIAMBindingOutput() ConnectionIAMBindingOutput
- func (o ConnectionIAMBindingOutput) ToConnectionIAMBindingOutputWithContext(ctx context.Context) ConnectionIAMBindingOutput
- type ConnectionIAMBindingState
- type ConnectionIAMMember
- type ConnectionIAMMemberArgs
- type ConnectionIAMMemberArray
- type ConnectionIAMMemberArrayInput
- type ConnectionIAMMemberArrayOutput
- func (ConnectionIAMMemberArrayOutput) ElementType() reflect.Type
- func (o ConnectionIAMMemberArrayOutput) Index(i pulumi.IntInput) ConnectionIAMMemberOutput
- func (o ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutput() ConnectionIAMMemberArrayOutput
- func (o ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutputWithContext(ctx context.Context) ConnectionIAMMemberArrayOutput
- type ConnectionIAMMemberCondition
- type ConnectionIAMMemberConditionArgs
- func (ConnectionIAMMemberConditionArgs) ElementType() reflect.Type
- func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutput() ConnectionIAMMemberConditionOutput
- func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionOutput
- func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
- func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
- type ConnectionIAMMemberConditionInput
- type ConnectionIAMMemberConditionOutput
- func (o ConnectionIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (ConnectionIAMMemberConditionOutput) ElementType() reflect.Type
- func (o ConnectionIAMMemberConditionOutput) Expression() pulumi.StringOutput
- func (o ConnectionIAMMemberConditionOutput) Title() pulumi.StringOutput
- func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutput() ConnectionIAMMemberConditionOutput
- func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionOutput
- func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
- func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
- type ConnectionIAMMemberConditionPtrInput
- type ConnectionIAMMemberConditionPtrOutput
- func (o ConnectionIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o ConnectionIAMMemberConditionPtrOutput) Elem() ConnectionIAMMemberConditionOutput
- func (ConnectionIAMMemberConditionPtrOutput) ElementType() reflect.Type
- func (o ConnectionIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ConnectionIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
- func (o ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
- type ConnectionIAMMemberInput
- type ConnectionIAMMemberMap
- type ConnectionIAMMemberMapInput
- type ConnectionIAMMemberMapOutput
- func (ConnectionIAMMemberMapOutput) ElementType() reflect.Type
- func (o ConnectionIAMMemberMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMMemberOutput
- func (o ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutput() ConnectionIAMMemberMapOutput
- func (o ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutputWithContext(ctx context.Context) ConnectionIAMMemberMapOutput
- type ConnectionIAMMemberOutput
- func (o ConnectionIAMMemberOutput) Condition() ConnectionIAMMemberConditionPtrOutput
- func (ConnectionIAMMemberOutput) ElementType() reflect.Type
- func (o ConnectionIAMMemberOutput) Etag() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) Location() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) Member() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) Name() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) Project() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) Role() pulumi.StringOutput
- func (o ConnectionIAMMemberOutput) ToConnectionIAMMemberOutput() ConnectionIAMMemberOutput
- func (o ConnectionIAMMemberOutput) ToConnectionIAMMemberOutputWithContext(ctx context.Context) ConnectionIAMMemberOutput
- type ConnectionIAMMemberState
- type ConnectionIAMPolicy
- type ConnectionIAMPolicyArgs
- type ConnectionIAMPolicyArray
- type ConnectionIAMPolicyArrayInput
- type ConnectionIAMPolicyArrayOutput
- func (ConnectionIAMPolicyArrayOutput) ElementType() reflect.Type
- func (o ConnectionIAMPolicyArrayOutput) Index(i pulumi.IntInput) ConnectionIAMPolicyOutput
- func (o ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutput() ConnectionIAMPolicyArrayOutput
- func (o ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutputWithContext(ctx context.Context) ConnectionIAMPolicyArrayOutput
- type ConnectionIAMPolicyInput
- type ConnectionIAMPolicyMap
- type ConnectionIAMPolicyMapInput
- type ConnectionIAMPolicyMapOutput
- func (ConnectionIAMPolicyMapOutput) ElementType() reflect.Type
- func (o ConnectionIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMPolicyOutput
- func (o ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutput() ConnectionIAMPolicyMapOutput
- func (o ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutputWithContext(ctx context.Context) ConnectionIAMPolicyMapOutput
- type ConnectionIAMPolicyOutput
- func (ConnectionIAMPolicyOutput) ElementType() reflect.Type
- func (o ConnectionIAMPolicyOutput) Etag() pulumi.StringOutput
- func (o ConnectionIAMPolicyOutput) Location() pulumi.StringOutput
- func (o ConnectionIAMPolicyOutput) Name() pulumi.StringOutput
- func (o ConnectionIAMPolicyOutput) PolicyData() pulumi.StringOutput
- func (o ConnectionIAMPolicyOutput) Project() pulumi.StringOutput
- func (o ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutput() ConnectionIAMPolicyOutput
- func (o ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutputWithContext(ctx context.Context) ConnectionIAMPolicyOutput
- type ConnectionIAMPolicyState
- type ConnectionInput
- type ConnectionInstallationState
- type ConnectionInstallationStateArgs
- func (ConnectionInstallationStateArgs) ElementType() reflect.Type
- func (i ConnectionInstallationStateArgs) ToConnectionInstallationStateOutput() ConnectionInstallationStateOutput
- func (i ConnectionInstallationStateArgs) ToConnectionInstallationStateOutputWithContext(ctx context.Context) ConnectionInstallationStateOutput
- type ConnectionInstallationStateArray
- func (ConnectionInstallationStateArray) ElementType() reflect.Type
- func (i ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutput() ConnectionInstallationStateArrayOutput
- func (i ConnectionInstallationStateArray) ToConnectionInstallationStateArrayOutputWithContext(ctx context.Context) ConnectionInstallationStateArrayOutput
- type ConnectionInstallationStateArrayInput
- type ConnectionInstallationStateArrayOutput
- func (ConnectionInstallationStateArrayOutput) ElementType() reflect.Type
- func (o ConnectionInstallationStateArrayOutput) Index(i pulumi.IntInput) ConnectionInstallationStateOutput
- func (o ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutput() ConnectionInstallationStateArrayOutput
- func (o ConnectionInstallationStateArrayOutput) ToConnectionInstallationStateArrayOutputWithContext(ctx context.Context) ConnectionInstallationStateArrayOutput
- type ConnectionInstallationStateInput
- type ConnectionInstallationStateOutput
- func (o ConnectionInstallationStateOutput) ActionUri() pulumi.StringPtrOutput
- func (ConnectionInstallationStateOutput) ElementType() reflect.Type
- func (o ConnectionInstallationStateOutput) Message() pulumi.StringPtrOutput
- func (o ConnectionInstallationStateOutput) Stage() pulumi.StringPtrOutput
- func (o ConnectionInstallationStateOutput) ToConnectionInstallationStateOutput() ConnectionInstallationStateOutput
- func (o ConnectionInstallationStateOutput) ToConnectionInstallationStateOutputWithContext(ctx context.Context) ConnectionInstallationStateOutput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (o ConnectionOutput) Annotations() pulumi.StringMapOutput
- func (o ConnectionOutput) CreateTime() pulumi.StringOutput
- func (o ConnectionOutput) Disabled() pulumi.BoolPtrOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) Etag() pulumi.StringOutput
- func (o ConnectionOutput) GithubConfig() ConnectionGithubConfigPtrOutput
- func (o ConnectionOutput) GithubEnterpriseConfig() ConnectionGithubEnterpriseConfigPtrOutput
- func (o ConnectionOutput) InstallationStates() ConnectionInstallationStateArrayOutput
- func (o ConnectionOutput) Location() pulumi.StringOutput
- func (o ConnectionOutput) Name() pulumi.StringOutput
- func (o ConnectionOutput) Project() pulumi.StringOutput
- func (o ConnectionOutput) Reconciling() pulumi.BoolOutput
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) UpdateTime() pulumi.StringOutput
- type ConnectionState
- type Repository
- type RepositoryArgs
- type RepositoryArray
- type RepositoryArrayInput
- type RepositoryArrayOutput
- func (RepositoryArrayOutput) ElementType() reflect.Type
- func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
- type RepositoryInput
- type RepositoryMap
- type RepositoryMapInput
- type RepositoryMapOutput
- func (RepositoryMapOutput) ElementType() reflect.Type
- func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
- type RepositoryOutput
- func (o RepositoryOutput) Annotations() pulumi.StringMapOutput
- func (o RepositoryOutput) CreateTime() pulumi.StringOutput
- func (RepositoryOutput) ElementType() reflect.Type
- func (o RepositoryOutput) Etag() pulumi.StringOutput
- func (o RepositoryOutput) Location() pulumi.StringOutput
- func (o RepositoryOutput) Name() pulumi.StringOutput
- func (o RepositoryOutput) ParentConnection() pulumi.StringOutput
- func (o RepositoryOutput) Project() pulumi.StringOutput
- func (o RepositoryOutput) RemoteUri() pulumi.StringOutput
- func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
- func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
- func (o RepositoryOutput) UpdateTime() pulumi.StringOutput
- type RepositoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { pulumi.CustomResourceState // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Output only. Server assigned timestamp for when the connection was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // 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"` // 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.StringOutput `pulumi:"etag"` // Configuration for connections to github.com. GithubConfig ConnectionGithubConfigPtrOutput `pulumi:"githubConfig"` // Configuration for connections to an instance of GitHub Enterprise. GithubEnterpriseConfig ConnectionGithubEnterpriseConfigPtrOutput `pulumi:"githubEnterpriseConfig"` // Output only. Installation state of the Connection. InstallationStates ConnectionInstallationStateArrayOutput `pulumi:"installationStates"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // Output only. Set to true when the connection is being set up or updated in the background. Reconciling pulumi.BoolOutput `pulumi:"reconciling"` // Output only. Server assigned timestamp for when the connection was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Beta only: The Cloudbuildv2 Connection resource
## Example Usage ### GitHub Connection Creates a Connection to github.com ```go package main
import (
"os" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudbuildv2" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } 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{ Automatic: pulumi.Bool(true), }, }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "github-token-secret-version", &secretmanager.SecretVersionArgs{ Secret: github_token_secret.ID(), SecretData: readFileOrPanic("my-github-token.txt"), }, pulumi.Provider(google_beta)) 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-cloudbuild.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), }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = cloudbuildv2.NewConnection(ctx, "my-connection", &cloudbuildv2.ConnectionArgs{ Location: pulumi.String("us-west1"), GithubConfig: &cloudbuildv2.ConnectionGithubConfigArgs{ AppInstallationId: pulumi.Int(123123), AuthorizerCredential: &cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs{ OauthTokenSecretVersion: github_token_secret_version.ID(), }, }, }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
```
## Import
Connection can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:cloudbuildv2/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{name}}
```
```sh
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:cloudbuildv2/connection:Connection default {{location}}/{{name}}
```
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 { // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapInput // 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 // Configuration for connections to github.com. GithubConfig ConnectionGithubConfigPtrInput // Configuration for connections to an instance of GitHub Enterprise. GithubEnterpriseConfig ConnectionGithubEnterpriseConfigPtrInput // The location for the resource Location pulumi.StringInput // Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. Name pulumi.StringPtrInput // The project for the resource 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 (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
func (ConnectionArrayOutput) ToConnectionArrayOutput ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionGithubConfig ¶
type ConnectionGithubConfig struct { // GitHub App installation id. AppInstallationId *int `pulumi:"appInstallationId"` // OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App. AuthorizerCredential *ConnectionGithubConfigAuthorizerCredential `pulumi:"authorizerCredential"` }
type ConnectionGithubConfigArgs ¶
type ConnectionGithubConfigArgs struct { // GitHub App installation id. AppInstallationId pulumi.IntPtrInput `pulumi:"appInstallationId"` // OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App. AuthorizerCredential ConnectionGithubConfigAuthorizerCredentialPtrInput `pulumi:"authorizerCredential"` }
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 { // A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. OauthTokenSecretVersion *string `pulumi:"oauthTokenSecretVersion"` // The username associated to this token. Username *string `pulumi:"username"` }
type ConnectionGithubConfigAuthorizerCredentialArgs ¶
type ConnectionGithubConfigAuthorizerCredentialArgs struct { // A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. OauthTokenSecretVersion pulumi.StringPtrInput `pulumi:"oauthTokenSecretVersion"` // The username associated to this token. Username pulumi.StringPtrInput `pulumi:"username"` }
func (ConnectionGithubConfigAuthorizerCredentialArgs) ElementType ¶
func (ConnectionGithubConfigAuthorizerCredentialArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ConnectionGithubConfigAuthorizerCredentialOutput) OauthTokenSecretVersion ¶
func (o ConnectionGithubConfigAuthorizerCredentialOutput) OauthTokenSecretVersion() pulumi.StringPtrOutput
A SecretManager resource containing the OAuth token that authorizes the Cloud Build 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 ¶
func (o ConnectionGithubConfigAuthorizerCredentialOutput) Username() pulumi.StringPtrOutput
The username associated to 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
func ConnectionGithubConfigAuthorizerCredentialPtr ¶
func ConnectionGithubConfigAuthorizerCredentialPtr(v *ConnectionGithubConfigAuthorizerCredentialArgs) ConnectionGithubConfigAuthorizerCredentialPtrInput
type ConnectionGithubConfigAuthorizerCredentialPtrOutput ¶
type ConnectionGithubConfigAuthorizerCredentialPtrOutput struct{ *pulumi.OutputState }
func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ElementType ¶
func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) ElementType() reflect.Type
func (ConnectionGithubConfigAuthorizerCredentialPtrOutput) OauthTokenSecretVersion ¶
func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) OauthTokenSecretVersion() pulumi.StringPtrOutput
A SecretManager resource containing the OAuth token that authorizes the Cloud Build 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 ¶
func (o ConnectionGithubConfigAuthorizerCredentialPtrOutput) Username() pulumi.StringPtrOutput
The username associated to 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.IntPtrOutput
GitHub App installation id.
func (ConnectionGithubConfigOutput) AuthorizerCredential ¶
func (o ConnectionGithubConfigOutput) AuthorizerCredential() ConnectionGithubConfigAuthorizerCredentialPtrOutput
OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.
func (ConnectionGithubConfigOutput) ElementType ¶
func (ConnectionGithubConfigOutput) ElementType() reflect.Type
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
func ConnectionGithubConfigPtr ¶
func ConnectionGithubConfigPtr(v *ConnectionGithubConfigArgs) ConnectionGithubConfigPtrInput
type ConnectionGithubConfigPtrOutput ¶
type ConnectionGithubConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionGithubConfigPtrOutput) AppInstallationId ¶
func (o ConnectionGithubConfigPtrOutput) AppInstallationId() pulumi.IntPtrOutput
GitHub App installation id.
func (ConnectionGithubConfigPtrOutput) AuthorizerCredential ¶
func (o ConnectionGithubConfigPtrOutput) AuthorizerCredential() ConnectionGithubConfigAuthorizerCredentialPtrOutput
OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.
func (ConnectionGithubConfigPtrOutput) Elem ¶
func (o ConnectionGithubConfigPtrOutput) Elem() ConnectionGithubConfigOutput
func (ConnectionGithubConfigPtrOutput) ElementType ¶
func (ConnectionGithubConfigPtrOutput) ElementType() reflect.Type
func (ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutput ¶
func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutput() ConnectionGithubConfigPtrOutput
func (ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutputWithContext ¶
func (o ConnectionGithubConfigPtrOutput) ToConnectionGithubConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubConfigPtrOutput
type ConnectionGithubEnterpriseConfig ¶
type ConnectionGithubEnterpriseConfig struct { // Id of the GitHub App created from the manifest. AppId *int `pulumi:"appId"` // ID of the installation of the GitHub App. AppInstallationId *int `pulumi:"appInstallationId"` // The URL-friendly name of the GitHub App. AppSlug *string `pulumi:"appSlug"` // Required. The URI of the GitHub Enterprise host this connection is for. HostUri string `pulumi:"hostUri"` // SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. PrivateKeySecretVersion *string `pulumi:"privateKeySecretVersion"` // Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet. ServiceDirectoryConfig *ConnectionGithubEnterpriseConfigServiceDirectoryConfig `pulumi:"serviceDirectoryConfig"` // SSL certificate to use for requests to GitHub Enterprise. SslCa *string `pulumi:"sslCa"` // SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. WebhookSecretSecretVersion *string `pulumi:"webhookSecretSecretVersion"` }
type ConnectionGithubEnterpriseConfigArgs ¶
type ConnectionGithubEnterpriseConfigArgs struct { // Id of the GitHub App created from the manifest. AppId pulumi.IntPtrInput `pulumi:"appId"` // ID of the installation of the GitHub App. AppInstallationId pulumi.IntPtrInput `pulumi:"appInstallationId"` // The URL-friendly name of the GitHub App. AppSlug pulumi.StringPtrInput `pulumi:"appSlug"` // Required. The URI of the GitHub Enterprise host this connection is for. HostUri pulumi.StringInput `pulumi:"hostUri"` // SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. PrivateKeySecretVersion pulumi.StringPtrInput `pulumi:"privateKeySecretVersion"` // Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet. ServiceDirectoryConfig ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput `pulumi:"serviceDirectoryConfig"` // SSL certificate to use for requests to GitHub Enterprise. SslCa pulumi.StringPtrInput `pulumi:"sslCa"` // SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. WebhookSecretSecretVersion pulumi.StringPtrInput `pulumi:"webhookSecretSecretVersion"` }
func (ConnectionGithubEnterpriseConfigArgs) ElementType ¶
func (ConnectionGithubEnterpriseConfigArgs) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutput ¶
func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutput() ConnectionGithubEnterpriseConfigOutput
func (ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutputWithContext ¶
func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigOutput
func (ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutput ¶
func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
func (ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutputWithContext ¶
func (i ConnectionGithubEnterpriseConfigArgs) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
type ConnectionGithubEnterpriseConfigInput ¶
type ConnectionGithubEnterpriseConfigInput interface { pulumi.Input ToConnectionGithubEnterpriseConfigOutput() ConnectionGithubEnterpriseConfigOutput ToConnectionGithubEnterpriseConfigOutputWithContext(context.Context) ConnectionGithubEnterpriseConfigOutput }
ConnectionGithubEnterpriseConfigInput is an input type that accepts ConnectionGithubEnterpriseConfigArgs and ConnectionGithubEnterpriseConfigOutput values. You can construct a concrete instance of `ConnectionGithubEnterpriseConfigInput` via:
ConnectionGithubEnterpriseConfigArgs{...}
type ConnectionGithubEnterpriseConfigOutput ¶
type ConnectionGithubEnterpriseConfigOutput struct{ *pulumi.OutputState }
func (ConnectionGithubEnterpriseConfigOutput) AppId ¶
func (o ConnectionGithubEnterpriseConfigOutput) AppId() pulumi.IntPtrOutput
Id of the GitHub App created from the manifest.
func (ConnectionGithubEnterpriseConfigOutput) AppInstallationId ¶
func (o ConnectionGithubEnterpriseConfigOutput) AppInstallationId() pulumi.IntPtrOutput
ID of the installation of the GitHub App.
func (ConnectionGithubEnterpriseConfigOutput) AppSlug ¶
func (o ConnectionGithubEnterpriseConfigOutput) AppSlug() pulumi.StringPtrOutput
The URL-friendly name of the GitHub App.
func (ConnectionGithubEnterpriseConfigOutput) ElementType ¶
func (ConnectionGithubEnterpriseConfigOutput) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigOutput) HostUri ¶
func (o ConnectionGithubEnterpriseConfigOutput) HostUri() pulumi.StringOutput
Required. The URI of the GitHub Enterprise host this connection is for.
func (ConnectionGithubEnterpriseConfigOutput) PrivateKeySecretVersion ¶
func (o ConnectionGithubEnterpriseConfigOutput) PrivateKeySecretVersion() pulumi.StringPtrOutput
SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
func (ConnectionGithubEnterpriseConfigOutput) ServiceDirectoryConfig ¶
func (o ConnectionGithubEnterpriseConfigOutput) ServiceDirectoryConfig() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
func (ConnectionGithubEnterpriseConfigOutput) SslCa ¶
func (o ConnectionGithubEnterpriseConfigOutput) SslCa() pulumi.StringPtrOutput
SSL certificate to use for requests to GitHub Enterprise.
func (ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutput ¶
func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutput() ConnectionGithubEnterpriseConfigOutput
func (ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigOutput
func (ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutput ¶
func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
func (ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
func (ConnectionGithubEnterpriseConfigOutput) WebhookSecretSecretVersion ¶
func (o ConnectionGithubEnterpriseConfigOutput) WebhookSecretSecretVersion() pulumi.StringPtrOutput
SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
type ConnectionGithubEnterpriseConfigPtrInput ¶
type ConnectionGithubEnterpriseConfigPtrInput interface { pulumi.Input ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput ToConnectionGithubEnterpriseConfigPtrOutputWithContext(context.Context) ConnectionGithubEnterpriseConfigPtrOutput }
ConnectionGithubEnterpriseConfigPtrInput is an input type that accepts ConnectionGithubEnterpriseConfigArgs, ConnectionGithubEnterpriseConfigPtr and ConnectionGithubEnterpriseConfigPtrOutput values. You can construct a concrete instance of `ConnectionGithubEnterpriseConfigPtrInput` via:
ConnectionGithubEnterpriseConfigArgs{...} or: nil
func ConnectionGithubEnterpriseConfigPtr ¶
func ConnectionGithubEnterpriseConfigPtr(v *ConnectionGithubEnterpriseConfigArgs) ConnectionGithubEnterpriseConfigPtrInput
type ConnectionGithubEnterpriseConfigPtrOutput ¶
type ConnectionGithubEnterpriseConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionGithubEnterpriseConfigPtrOutput) AppId ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) AppId() pulumi.IntPtrOutput
Id of the GitHub App created from the manifest.
func (ConnectionGithubEnterpriseConfigPtrOutput) AppInstallationId ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) AppInstallationId() pulumi.IntPtrOutput
ID of the installation of the GitHub App.
func (ConnectionGithubEnterpriseConfigPtrOutput) AppSlug ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) AppSlug() pulumi.StringPtrOutput
The URL-friendly name of the GitHub App.
func (ConnectionGithubEnterpriseConfigPtrOutput) ElementType ¶
func (ConnectionGithubEnterpriseConfigPtrOutput) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigPtrOutput) HostUri ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) HostUri() pulumi.StringPtrOutput
Required. The URI of the GitHub Enterprise host this connection is for.
func (ConnectionGithubEnterpriseConfigPtrOutput) PrivateKeySecretVersion ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) PrivateKeySecretVersion() pulumi.StringPtrOutput
SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
func (ConnectionGithubEnterpriseConfigPtrOutput) ServiceDirectoryConfig ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) ServiceDirectoryConfig() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
func (ConnectionGithubEnterpriseConfigPtrOutput) SslCa ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) SslCa() pulumi.StringPtrOutput
SSL certificate to use for requests to GitHub Enterprise.
func (ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutput ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutput() ConnectionGithubEnterpriseConfigPtrOutput
func (ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) ToConnectionGithubEnterpriseConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigPtrOutput
func (ConnectionGithubEnterpriseConfigPtrOutput) WebhookSecretSecretVersion ¶
func (o ConnectionGithubEnterpriseConfigPtrOutput) WebhookSecretSecretVersion() pulumi.StringPtrOutput
SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.
type ConnectionGithubEnterpriseConfigServiceDirectoryConfig ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfig struct { // Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. Service string `pulumi:"service"` }
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs struct { // Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. Service pulumi.StringInput `pulumi:"service"` }
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ElementType ¶
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput ¶
func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext ¶
func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput ¶
func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext ¶
func (i ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigInput ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigInput interface { pulumi.Input ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext(context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput }
ConnectionGithubEnterpriseConfigServiceDirectoryConfigInput is an input type that accepts ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs and ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput values. You can construct a concrete instance of `ConnectionGithubEnterpriseConfigServiceDirectoryConfigInput` via:
ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs{...}
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput struct{ *pulumi.OutputState }
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ElementType ¶
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) Service ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) Service() pulumi.StringOutput
Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput interface { pulumi.Input ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput }
ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput is an input type that accepts ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs, ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtr and ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput values. You can construct a concrete instance of `ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput` via:
ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs{...} or: nil
func ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtr ¶
func ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtr(v *ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrInput
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput ¶
type ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput struct{ *pulumi.OutputState }
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ElementType ¶
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ElementType() reflect.Type
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) Service ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) Service() pulumi.StringPtrOutput
Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput() ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
func (ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext ¶
func (o ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput) ToConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutputWithContext(ctx context.Context) ConnectionGithubEnterpriseConfigServiceDirectoryConfigPtrOutput
type ConnectionIAMBinding ¶ added in v6.50.0
type ConnectionIAMBinding struct { pulumi.CustomResourceState Condition ConnectionIAMBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Location pulumi.StringOutput `pulumi:"location"` Members pulumi.StringArrayOutput `pulumi:"members"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMBinding:ConnectionIAMBinding editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConnectionIAMBinding ¶ added in v6.50.0
func GetConnectionIAMBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIAMBindingState, opts ...pulumi.ResourceOption) (*ConnectionIAMBinding, error)
GetConnectionIAMBinding gets an existing ConnectionIAMBinding 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 NewConnectionIAMBinding ¶ added in v6.50.0
func NewConnectionIAMBinding(ctx *pulumi.Context, name string, args *ConnectionIAMBindingArgs, opts ...pulumi.ResourceOption) (*ConnectionIAMBinding, error)
NewConnectionIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIAMBinding) ElementType ¶ added in v6.50.0
func (*ConnectionIAMBinding) ElementType() reflect.Type
func (*ConnectionIAMBinding) ToConnectionIAMBindingOutput ¶ added in v6.50.0
func (i *ConnectionIAMBinding) ToConnectionIAMBindingOutput() ConnectionIAMBindingOutput
func (*ConnectionIAMBinding) ToConnectionIAMBindingOutputWithContext ¶ added in v6.50.0
func (i *ConnectionIAMBinding) ToConnectionIAMBindingOutputWithContext(ctx context.Context) ConnectionIAMBindingOutput
type ConnectionIAMBindingArgs ¶ added in v6.50.0
type ConnectionIAMBindingArgs struct { Condition ConnectionIAMBindingConditionPtrInput Location pulumi.StringPtrInput Members pulumi.StringArrayInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ConnectionIAMBinding resource.
func (ConnectionIAMBindingArgs) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingArgs) ElementType() reflect.Type
type ConnectionIAMBindingArray ¶ added in v6.50.0
type ConnectionIAMBindingArray []ConnectionIAMBindingInput
func (ConnectionIAMBindingArray) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingArray) ElementType() reflect.Type
func (ConnectionIAMBindingArray) ToConnectionIAMBindingArrayOutput ¶ added in v6.50.0
func (i ConnectionIAMBindingArray) ToConnectionIAMBindingArrayOutput() ConnectionIAMBindingArrayOutput
func (ConnectionIAMBindingArray) ToConnectionIAMBindingArrayOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMBindingArray) ToConnectionIAMBindingArrayOutputWithContext(ctx context.Context) ConnectionIAMBindingArrayOutput
type ConnectionIAMBindingArrayInput ¶ added in v6.50.0
type ConnectionIAMBindingArrayInput interface { pulumi.Input ToConnectionIAMBindingArrayOutput() ConnectionIAMBindingArrayOutput ToConnectionIAMBindingArrayOutputWithContext(context.Context) ConnectionIAMBindingArrayOutput }
ConnectionIAMBindingArrayInput is an input type that accepts ConnectionIAMBindingArray and ConnectionIAMBindingArrayOutput values. You can construct a concrete instance of `ConnectionIAMBindingArrayInput` via:
ConnectionIAMBindingArray{ ConnectionIAMBindingArgs{...} }
type ConnectionIAMBindingArrayOutput ¶ added in v6.50.0
type ConnectionIAMBindingArrayOutput struct{ *pulumi.OutputState }
func (ConnectionIAMBindingArrayOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingArrayOutput) ElementType() reflect.Type
func (ConnectionIAMBindingArrayOutput) Index ¶ added in v6.50.0
func (o ConnectionIAMBindingArrayOutput) Index(i pulumi.IntInput) ConnectionIAMBindingOutput
func (ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutput() ConnectionIAMBindingArrayOutput
func (ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingArrayOutput) ToConnectionIAMBindingArrayOutputWithContext(ctx context.Context) ConnectionIAMBindingArrayOutput
type ConnectionIAMBindingCondition ¶ added in v6.50.0
type ConnectionIAMBindingConditionArgs ¶ added in v6.50.0
type ConnectionIAMBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ConnectionIAMBindingConditionArgs) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingConditionArgs) ElementType() reflect.Type
func (ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutput ¶ added in v6.50.0
func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutput() ConnectionIAMBindingConditionOutput
func (ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionOutput
func (ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutput ¶ added in v6.50.0
func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
func (ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMBindingConditionArgs) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
type ConnectionIAMBindingConditionInput ¶ added in v6.50.0
type ConnectionIAMBindingConditionInput interface { pulumi.Input ToConnectionIAMBindingConditionOutput() ConnectionIAMBindingConditionOutput ToConnectionIAMBindingConditionOutputWithContext(context.Context) ConnectionIAMBindingConditionOutput }
ConnectionIAMBindingConditionInput is an input type that accepts ConnectionIAMBindingConditionArgs and ConnectionIAMBindingConditionOutput values. You can construct a concrete instance of `ConnectionIAMBindingConditionInput` via:
ConnectionIAMBindingConditionArgs{...}
type ConnectionIAMBindingConditionOutput ¶ added in v6.50.0
type ConnectionIAMBindingConditionOutput struct{ *pulumi.OutputState }
func (ConnectionIAMBindingConditionOutput) Description ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
func (ConnectionIAMBindingConditionOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingConditionOutput) ElementType() reflect.Type
func (ConnectionIAMBindingConditionOutput) Expression ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) Expression() pulumi.StringOutput
func (ConnectionIAMBindingConditionOutput) Title ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) Title() pulumi.StringOutput
func (ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutput() ConnectionIAMBindingConditionOutput
func (ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionOutput
func (ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
func (ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionOutput) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
type ConnectionIAMBindingConditionPtrInput ¶ added in v6.50.0
type ConnectionIAMBindingConditionPtrInput interface { pulumi.Input ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput ToConnectionIAMBindingConditionPtrOutputWithContext(context.Context) ConnectionIAMBindingConditionPtrOutput }
ConnectionIAMBindingConditionPtrInput is an input type that accepts ConnectionIAMBindingConditionArgs, ConnectionIAMBindingConditionPtr and ConnectionIAMBindingConditionPtrOutput values. You can construct a concrete instance of `ConnectionIAMBindingConditionPtrInput` via:
ConnectionIAMBindingConditionArgs{...} or: nil
func ConnectionIAMBindingConditionPtr ¶ added in v6.50.0
func ConnectionIAMBindingConditionPtr(v *ConnectionIAMBindingConditionArgs) ConnectionIAMBindingConditionPtrInput
type ConnectionIAMBindingConditionPtrOutput ¶ added in v6.50.0
type ConnectionIAMBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (ConnectionIAMBindingConditionPtrOutput) Description ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ConnectionIAMBindingConditionPtrOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingConditionPtrOutput) ElementType() reflect.Type
func (ConnectionIAMBindingConditionPtrOutput) Expression ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ConnectionIAMBindingConditionPtrOutput) Title ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutput() ConnectionIAMBindingConditionPtrOutput
func (ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingConditionPtrOutput) ToConnectionIAMBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMBindingConditionPtrOutput
type ConnectionIAMBindingInput ¶ added in v6.50.0
type ConnectionIAMBindingInput interface { pulumi.Input ToConnectionIAMBindingOutput() ConnectionIAMBindingOutput ToConnectionIAMBindingOutputWithContext(ctx context.Context) ConnectionIAMBindingOutput }
type ConnectionIAMBindingMap ¶ added in v6.50.0
type ConnectionIAMBindingMap map[string]ConnectionIAMBindingInput
func (ConnectionIAMBindingMap) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingMap) ElementType() reflect.Type
func (ConnectionIAMBindingMap) ToConnectionIAMBindingMapOutput ¶ added in v6.50.0
func (i ConnectionIAMBindingMap) ToConnectionIAMBindingMapOutput() ConnectionIAMBindingMapOutput
func (ConnectionIAMBindingMap) ToConnectionIAMBindingMapOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMBindingMap) ToConnectionIAMBindingMapOutputWithContext(ctx context.Context) ConnectionIAMBindingMapOutput
type ConnectionIAMBindingMapInput ¶ added in v6.50.0
type ConnectionIAMBindingMapInput interface { pulumi.Input ToConnectionIAMBindingMapOutput() ConnectionIAMBindingMapOutput ToConnectionIAMBindingMapOutputWithContext(context.Context) ConnectionIAMBindingMapOutput }
ConnectionIAMBindingMapInput is an input type that accepts ConnectionIAMBindingMap and ConnectionIAMBindingMapOutput values. You can construct a concrete instance of `ConnectionIAMBindingMapInput` via:
ConnectionIAMBindingMap{ "key": ConnectionIAMBindingArgs{...} }
type ConnectionIAMBindingMapOutput ¶ added in v6.50.0
type ConnectionIAMBindingMapOutput struct{ *pulumi.OutputState }
func (ConnectionIAMBindingMapOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingMapOutput) ElementType() reflect.Type
func (ConnectionIAMBindingMapOutput) MapIndex ¶ added in v6.50.0
func (o ConnectionIAMBindingMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMBindingOutput
func (ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutput() ConnectionIAMBindingMapOutput
func (ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingMapOutput) ToConnectionIAMBindingMapOutputWithContext(ctx context.Context) ConnectionIAMBindingMapOutput
type ConnectionIAMBindingOutput ¶ added in v6.50.0
type ConnectionIAMBindingOutput struct{ *pulumi.OutputState }
func (ConnectionIAMBindingOutput) Condition ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Condition() ConnectionIAMBindingConditionPtrOutput
func (ConnectionIAMBindingOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingOutput) ElementType() reflect.Type
func (ConnectionIAMBindingOutput) Etag ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConnectionIAMBindingOutput) Location ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Location() pulumi.StringOutput
func (ConnectionIAMBindingOutput) Members ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Members() pulumi.StringArrayOutput
func (ConnectionIAMBindingOutput) Name ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConnectionIAMBindingOutput) Project ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConnectionIAMBindingOutput) Role ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (ConnectionIAMBindingOutput) ToConnectionIAMBindingOutput ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) ToConnectionIAMBindingOutput() ConnectionIAMBindingOutput
func (ConnectionIAMBindingOutput) ToConnectionIAMBindingOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMBindingOutput) ToConnectionIAMBindingOutputWithContext(ctx context.Context) ConnectionIAMBindingOutput
type ConnectionIAMBindingState ¶ added in v6.50.0
type ConnectionIAMBindingState struct { Condition ConnectionIAMBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Members pulumi.StringArrayInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ConnectionIAMBindingState) ElementType ¶ added in v6.50.0
func (ConnectionIAMBindingState) ElementType() reflect.Type
type ConnectionIAMMember ¶ added in v6.50.0
type ConnectionIAMMember struct { pulumi.CustomResourceState Condition ConnectionIAMMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Location pulumi.StringOutput `pulumi:"location"` Member pulumi.StringOutput `pulumi:"member"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMMember:ConnectionIAMMember editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConnectionIAMMember ¶ added in v6.50.0
func GetConnectionIAMMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIAMMemberState, opts ...pulumi.ResourceOption) (*ConnectionIAMMember, error)
GetConnectionIAMMember gets an existing ConnectionIAMMember 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 NewConnectionIAMMember ¶ added in v6.50.0
func NewConnectionIAMMember(ctx *pulumi.Context, name string, args *ConnectionIAMMemberArgs, opts ...pulumi.ResourceOption) (*ConnectionIAMMember, error)
NewConnectionIAMMember registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIAMMember) ElementType ¶ added in v6.50.0
func (*ConnectionIAMMember) ElementType() reflect.Type
func (*ConnectionIAMMember) ToConnectionIAMMemberOutput ¶ added in v6.50.0
func (i *ConnectionIAMMember) ToConnectionIAMMemberOutput() ConnectionIAMMemberOutput
func (*ConnectionIAMMember) ToConnectionIAMMemberOutputWithContext ¶ added in v6.50.0
func (i *ConnectionIAMMember) ToConnectionIAMMemberOutputWithContext(ctx context.Context) ConnectionIAMMemberOutput
type ConnectionIAMMemberArgs ¶ added in v6.50.0
type ConnectionIAMMemberArgs struct { Condition ConnectionIAMMemberConditionPtrInput Location pulumi.StringPtrInput Member pulumi.StringInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a ConnectionIAMMember resource.
func (ConnectionIAMMemberArgs) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberArgs) ElementType() reflect.Type
type ConnectionIAMMemberArray ¶ added in v6.50.0
type ConnectionIAMMemberArray []ConnectionIAMMemberInput
func (ConnectionIAMMemberArray) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberArray) ElementType() reflect.Type
func (ConnectionIAMMemberArray) ToConnectionIAMMemberArrayOutput ¶ added in v6.50.0
func (i ConnectionIAMMemberArray) ToConnectionIAMMemberArrayOutput() ConnectionIAMMemberArrayOutput
func (ConnectionIAMMemberArray) ToConnectionIAMMemberArrayOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMMemberArray) ToConnectionIAMMemberArrayOutputWithContext(ctx context.Context) ConnectionIAMMemberArrayOutput
type ConnectionIAMMemberArrayInput ¶ added in v6.50.0
type ConnectionIAMMemberArrayInput interface { pulumi.Input ToConnectionIAMMemberArrayOutput() ConnectionIAMMemberArrayOutput ToConnectionIAMMemberArrayOutputWithContext(context.Context) ConnectionIAMMemberArrayOutput }
ConnectionIAMMemberArrayInput is an input type that accepts ConnectionIAMMemberArray and ConnectionIAMMemberArrayOutput values. You can construct a concrete instance of `ConnectionIAMMemberArrayInput` via:
ConnectionIAMMemberArray{ ConnectionIAMMemberArgs{...} }
type ConnectionIAMMemberArrayOutput ¶ added in v6.50.0
type ConnectionIAMMemberArrayOutput struct{ *pulumi.OutputState }
func (ConnectionIAMMemberArrayOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberArrayOutput) ElementType() reflect.Type
func (ConnectionIAMMemberArrayOutput) Index ¶ added in v6.50.0
func (o ConnectionIAMMemberArrayOutput) Index(i pulumi.IntInput) ConnectionIAMMemberOutput
func (ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutput() ConnectionIAMMemberArrayOutput
func (ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberArrayOutput) ToConnectionIAMMemberArrayOutputWithContext(ctx context.Context) ConnectionIAMMemberArrayOutput
type ConnectionIAMMemberCondition ¶ added in v6.50.0
type ConnectionIAMMemberConditionArgs ¶ added in v6.50.0
type ConnectionIAMMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (ConnectionIAMMemberConditionArgs) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberConditionArgs) ElementType() reflect.Type
func (ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutput ¶ added in v6.50.0
func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutput() ConnectionIAMMemberConditionOutput
func (ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionOutput
func (ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutput ¶ added in v6.50.0
func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
func (ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMMemberConditionArgs) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
type ConnectionIAMMemberConditionInput ¶ added in v6.50.0
type ConnectionIAMMemberConditionInput interface { pulumi.Input ToConnectionIAMMemberConditionOutput() ConnectionIAMMemberConditionOutput ToConnectionIAMMemberConditionOutputWithContext(context.Context) ConnectionIAMMemberConditionOutput }
ConnectionIAMMemberConditionInput is an input type that accepts ConnectionIAMMemberConditionArgs and ConnectionIAMMemberConditionOutput values. You can construct a concrete instance of `ConnectionIAMMemberConditionInput` via:
ConnectionIAMMemberConditionArgs{...}
type ConnectionIAMMemberConditionOutput ¶ added in v6.50.0
type ConnectionIAMMemberConditionOutput struct{ *pulumi.OutputState }
func (ConnectionIAMMemberConditionOutput) Description ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
func (ConnectionIAMMemberConditionOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberConditionOutput) ElementType() reflect.Type
func (ConnectionIAMMemberConditionOutput) Expression ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) Expression() pulumi.StringOutput
func (ConnectionIAMMemberConditionOutput) Title ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) Title() pulumi.StringOutput
func (ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutput() ConnectionIAMMemberConditionOutput
func (ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionOutput
func (ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
func (ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionOutput) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
type ConnectionIAMMemberConditionPtrInput ¶ added in v6.50.0
type ConnectionIAMMemberConditionPtrInput interface { pulumi.Input ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput ToConnectionIAMMemberConditionPtrOutputWithContext(context.Context) ConnectionIAMMemberConditionPtrOutput }
ConnectionIAMMemberConditionPtrInput is an input type that accepts ConnectionIAMMemberConditionArgs, ConnectionIAMMemberConditionPtr and ConnectionIAMMemberConditionPtrOutput values. You can construct a concrete instance of `ConnectionIAMMemberConditionPtrInput` via:
ConnectionIAMMemberConditionArgs{...} or: nil
func ConnectionIAMMemberConditionPtr ¶ added in v6.50.0
func ConnectionIAMMemberConditionPtr(v *ConnectionIAMMemberConditionArgs) ConnectionIAMMemberConditionPtrInput
type ConnectionIAMMemberConditionPtrOutput ¶ added in v6.50.0
type ConnectionIAMMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (ConnectionIAMMemberConditionPtrOutput) Description ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (ConnectionIAMMemberConditionPtrOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberConditionPtrOutput) ElementType() reflect.Type
func (ConnectionIAMMemberConditionPtrOutput) Expression ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (ConnectionIAMMemberConditionPtrOutput) Title ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutput() ConnectionIAMMemberConditionPtrOutput
func (ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberConditionPtrOutput) ToConnectionIAMMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIAMMemberConditionPtrOutput
type ConnectionIAMMemberInput ¶ added in v6.50.0
type ConnectionIAMMemberInput interface { pulumi.Input ToConnectionIAMMemberOutput() ConnectionIAMMemberOutput ToConnectionIAMMemberOutputWithContext(ctx context.Context) ConnectionIAMMemberOutput }
type ConnectionIAMMemberMap ¶ added in v6.50.0
type ConnectionIAMMemberMap map[string]ConnectionIAMMemberInput
func (ConnectionIAMMemberMap) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberMap) ElementType() reflect.Type
func (ConnectionIAMMemberMap) ToConnectionIAMMemberMapOutput ¶ added in v6.50.0
func (i ConnectionIAMMemberMap) ToConnectionIAMMemberMapOutput() ConnectionIAMMemberMapOutput
func (ConnectionIAMMemberMap) ToConnectionIAMMemberMapOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMMemberMap) ToConnectionIAMMemberMapOutputWithContext(ctx context.Context) ConnectionIAMMemberMapOutput
type ConnectionIAMMemberMapInput ¶ added in v6.50.0
type ConnectionIAMMemberMapInput interface { pulumi.Input ToConnectionIAMMemberMapOutput() ConnectionIAMMemberMapOutput ToConnectionIAMMemberMapOutputWithContext(context.Context) ConnectionIAMMemberMapOutput }
ConnectionIAMMemberMapInput is an input type that accepts ConnectionIAMMemberMap and ConnectionIAMMemberMapOutput values. You can construct a concrete instance of `ConnectionIAMMemberMapInput` via:
ConnectionIAMMemberMap{ "key": ConnectionIAMMemberArgs{...} }
type ConnectionIAMMemberMapOutput ¶ added in v6.50.0
type ConnectionIAMMemberMapOutput struct{ *pulumi.OutputState }
func (ConnectionIAMMemberMapOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberMapOutput) ElementType() reflect.Type
func (ConnectionIAMMemberMapOutput) MapIndex ¶ added in v6.50.0
func (o ConnectionIAMMemberMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMMemberOutput
func (ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutput() ConnectionIAMMemberMapOutput
func (ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberMapOutput) ToConnectionIAMMemberMapOutputWithContext(ctx context.Context) ConnectionIAMMemberMapOutput
type ConnectionIAMMemberOutput ¶ added in v6.50.0
type ConnectionIAMMemberOutput struct{ *pulumi.OutputState }
func (ConnectionIAMMemberOutput) Condition ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Condition() ConnectionIAMMemberConditionPtrOutput
func (ConnectionIAMMemberOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberOutput) ElementType() reflect.Type
func (ConnectionIAMMemberOutput) Etag ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConnectionIAMMemberOutput) Location ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Location() pulumi.StringOutput
func (ConnectionIAMMemberOutput) Member ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Member() pulumi.StringOutput
func (ConnectionIAMMemberOutput) Name ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConnectionIAMMemberOutput) Project ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConnectionIAMMemberOutput) Role ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (ConnectionIAMMemberOutput) ToConnectionIAMMemberOutput ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) ToConnectionIAMMemberOutput() ConnectionIAMMemberOutput
func (ConnectionIAMMemberOutput) ToConnectionIAMMemberOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMMemberOutput) ToConnectionIAMMemberOutputWithContext(ctx context.Context) ConnectionIAMMemberOutput
type ConnectionIAMMemberState ¶ added in v6.50.0
type ConnectionIAMMemberState struct { Condition ConnectionIAMMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput Member pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `cloudbuildv2.ConnectionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (ConnectionIAMMemberState) ElementType ¶ added in v6.50.0
func (ConnectionIAMMemberState) ElementType() reflect.Type
type ConnectionIAMPolicy ¶ added in v6.50.0
type ConnectionIAMPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Location pulumi.StringOutput `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/connections/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Build V2 connection IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection}} roles/cloudbuild.connectionViewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:cloudbuildv2/connectionIAMPolicy:ConnectionIAMPolicy editor projects/{{project}}/locations/{{location}}/connections/{{connection}}
```
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetConnectionIAMPolicy ¶ added in v6.50.0
func GetConnectionIAMPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionIAMPolicyState, opts ...pulumi.ResourceOption) (*ConnectionIAMPolicy, error)
GetConnectionIAMPolicy gets an existing ConnectionIAMPolicy 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 NewConnectionIAMPolicy ¶ added in v6.50.0
func NewConnectionIAMPolicy(ctx *pulumi.Context, name string, args *ConnectionIAMPolicyArgs, opts ...pulumi.ResourceOption) (*ConnectionIAMPolicy, error)
NewConnectionIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*ConnectionIAMPolicy) ElementType ¶ added in v6.50.0
func (*ConnectionIAMPolicy) ElementType() reflect.Type
func (*ConnectionIAMPolicy) ToConnectionIAMPolicyOutput ¶ added in v6.50.0
func (i *ConnectionIAMPolicy) ToConnectionIAMPolicyOutput() ConnectionIAMPolicyOutput
func (*ConnectionIAMPolicy) ToConnectionIAMPolicyOutputWithContext ¶ added in v6.50.0
func (i *ConnectionIAMPolicy) ToConnectionIAMPolicyOutputWithContext(ctx context.Context) ConnectionIAMPolicyOutput
type ConnectionIAMPolicyArgs ¶ added in v6.50.0
type ConnectionIAMPolicyArgs struct { Location pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a ConnectionIAMPolicy resource.
func (ConnectionIAMPolicyArgs) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyArgs) ElementType() reflect.Type
type ConnectionIAMPolicyArray ¶ added in v6.50.0
type ConnectionIAMPolicyArray []ConnectionIAMPolicyInput
func (ConnectionIAMPolicyArray) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyArray) ElementType() reflect.Type
func (ConnectionIAMPolicyArray) ToConnectionIAMPolicyArrayOutput ¶ added in v6.50.0
func (i ConnectionIAMPolicyArray) ToConnectionIAMPolicyArrayOutput() ConnectionIAMPolicyArrayOutput
func (ConnectionIAMPolicyArray) ToConnectionIAMPolicyArrayOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMPolicyArray) ToConnectionIAMPolicyArrayOutputWithContext(ctx context.Context) ConnectionIAMPolicyArrayOutput
type ConnectionIAMPolicyArrayInput ¶ added in v6.50.0
type ConnectionIAMPolicyArrayInput interface { pulumi.Input ToConnectionIAMPolicyArrayOutput() ConnectionIAMPolicyArrayOutput ToConnectionIAMPolicyArrayOutputWithContext(context.Context) ConnectionIAMPolicyArrayOutput }
ConnectionIAMPolicyArrayInput is an input type that accepts ConnectionIAMPolicyArray and ConnectionIAMPolicyArrayOutput values. You can construct a concrete instance of `ConnectionIAMPolicyArrayInput` via:
ConnectionIAMPolicyArray{ ConnectionIAMPolicyArgs{...} }
type ConnectionIAMPolicyArrayOutput ¶ added in v6.50.0
type ConnectionIAMPolicyArrayOutput struct{ *pulumi.OutputState }
func (ConnectionIAMPolicyArrayOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyArrayOutput) ElementType() reflect.Type
func (ConnectionIAMPolicyArrayOutput) Index ¶ added in v6.50.0
func (o ConnectionIAMPolicyArrayOutput) Index(i pulumi.IntInput) ConnectionIAMPolicyOutput
func (ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutput ¶ added in v6.50.0
func (o ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutput() ConnectionIAMPolicyArrayOutput
func (ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMPolicyArrayOutput) ToConnectionIAMPolicyArrayOutputWithContext(ctx context.Context) ConnectionIAMPolicyArrayOutput
type ConnectionIAMPolicyInput ¶ added in v6.50.0
type ConnectionIAMPolicyInput interface { pulumi.Input ToConnectionIAMPolicyOutput() ConnectionIAMPolicyOutput ToConnectionIAMPolicyOutputWithContext(ctx context.Context) ConnectionIAMPolicyOutput }
type ConnectionIAMPolicyMap ¶ added in v6.50.0
type ConnectionIAMPolicyMap map[string]ConnectionIAMPolicyInput
func (ConnectionIAMPolicyMap) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyMap) ElementType() reflect.Type
func (ConnectionIAMPolicyMap) ToConnectionIAMPolicyMapOutput ¶ added in v6.50.0
func (i ConnectionIAMPolicyMap) ToConnectionIAMPolicyMapOutput() ConnectionIAMPolicyMapOutput
func (ConnectionIAMPolicyMap) ToConnectionIAMPolicyMapOutputWithContext ¶ added in v6.50.0
func (i ConnectionIAMPolicyMap) ToConnectionIAMPolicyMapOutputWithContext(ctx context.Context) ConnectionIAMPolicyMapOutput
type ConnectionIAMPolicyMapInput ¶ added in v6.50.0
type ConnectionIAMPolicyMapInput interface { pulumi.Input ToConnectionIAMPolicyMapOutput() ConnectionIAMPolicyMapOutput ToConnectionIAMPolicyMapOutputWithContext(context.Context) ConnectionIAMPolicyMapOutput }
ConnectionIAMPolicyMapInput is an input type that accepts ConnectionIAMPolicyMap and ConnectionIAMPolicyMapOutput values. You can construct a concrete instance of `ConnectionIAMPolicyMapInput` via:
ConnectionIAMPolicyMap{ "key": ConnectionIAMPolicyArgs{...} }
type ConnectionIAMPolicyMapOutput ¶ added in v6.50.0
type ConnectionIAMPolicyMapOutput struct{ *pulumi.OutputState }
func (ConnectionIAMPolicyMapOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyMapOutput) ElementType() reflect.Type
func (ConnectionIAMPolicyMapOutput) MapIndex ¶ added in v6.50.0
func (o ConnectionIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) ConnectionIAMPolicyOutput
func (ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutput ¶ added in v6.50.0
func (o ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutput() ConnectionIAMPolicyMapOutput
func (ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMPolicyMapOutput) ToConnectionIAMPolicyMapOutputWithContext(ctx context.Context) ConnectionIAMPolicyMapOutput
type ConnectionIAMPolicyOutput ¶ added in v6.50.0
type ConnectionIAMPolicyOutput struct{ *pulumi.OutputState }
func (ConnectionIAMPolicyOutput) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyOutput) ElementType() reflect.Type
func (ConnectionIAMPolicyOutput) Etag ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (ConnectionIAMPolicyOutput) Location ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) Location() pulumi.StringOutput
func (ConnectionIAMPolicyOutput) Name ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (ConnectionIAMPolicyOutput) PolicyData ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (ConnectionIAMPolicyOutput) Project ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutput ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutput() ConnectionIAMPolicyOutput
func (ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutputWithContext ¶ added in v6.50.0
func (o ConnectionIAMPolicyOutput) ToConnectionIAMPolicyOutputWithContext(ctx context.Context) ConnectionIAMPolicyOutput
type ConnectionIAMPolicyState ¶ added in v6.50.0
type ConnectionIAMPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput Location pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput }
func (ConnectionIAMPolicyState) ElementType ¶ added in v6.50.0
func (ConnectionIAMPolicyState) ElementType() reflect.Type
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionInstallationStateArgs ¶
type ConnectionInstallationStateArgs struct { ActionUri pulumi.StringPtrInput `pulumi:"actionUri"` Message pulumi.StringPtrInput `pulumi:"message"` Stage pulumi.StringPtrInput `pulumi:"stage"` }
func (ConnectionInstallationStateArgs) ElementType ¶
func (ConnectionInstallationStateArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ConnectionInstallationStateOutput) ActionUri() pulumi.StringPtrOutput
func (ConnectionInstallationStateOutput) ElementType ¶
func (ConnectionInstallationStateOutput) ElementType() reflect.Type
func (ConnectionInstallationStateOutput) Message ¶
func (o ConnectionInstallationStateOutput) Message() pulumi.StringPtrOutput
func (ConnectionInstallationStateOutput) Stage ¶
func (o ConnectionInstallationStateOutput) Stage() pulumi.StringPtrOutput
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 (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
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
Allows clients to store small amounts of arbitrary data.
func (ConnectionOutput) CreateTime ¶
func (o ConnectionOutput) CreateTime() pulumi.StringOutput
Output only. Server assigned timestamp for when the connection was created.
func (ConnectionOutput) Disabled ¶
func (o ConnectionOutput) Disabled() pulumi.BoolPtrOutput
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) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) Etag ¶
func (o ConnectionOutput) Etag() pulumi.StringOutput
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 ¶
func (o ConnectionOutput) GithubConfig() ConnectionGithubConfigPtrOutput
Configuration for connections to github.com.
func (ConnectionOutput) GithubEnterpriseConfig ¶
func (o ConnectionOutput) GithubEnterpriseConfig() ConnectionGithubEnterpriseConfigPtrOutput
Configuration for connections to an instance of GitHub Enterprise.
func (ConnectionOutput) InstallationStates ¶
func (o ConnectionOutput) InstallationStates() ConnectionInstallationStateArrayOutput
Output only. Installation state of the Connection.
func (ConnectionOutput) Location ¶
func (o ConnectionOutput) Location() pulumi.StringOutput
The location for the resource
func (ConnectionOutput) Name ¶
func (o ConnectionOutput) Name() pulumi.StringOutput
Immutable. 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 project for the resource
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) UpdateTime ¶
func (o ConnectionOutput) UpdateTime() pulumi.StringOutput
Output only. Server assigned timestamp for when the connection was updated.
type ConnectionState ¶
type ConnectionState struct { // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapInput // Output only. Server assigned timestamp for when the connection was created. CreateTime pulumi.StringPtrInput // 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 // 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. GithubConfig ConnectionGithubConfigPtrInput // Configuration for connections to an instance of GitHub Enterprise. GithubEnterpriseConfig ConnectionGithubEnterpriseConfigPtrInput // Output only. Installation state of the Connection. InstallationStates ConnectionInstallationStateArrayInput // The location for the resource Location pulumi.StringPtrInput // Immutable. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Output only. Set to true when the connection is being set up or updated in the background. Reconciling pulumi.BoolPtrInput // Output only. Server assigned timestamp for when the connection was updated. UpdateTime pulumi.StringPtrInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type Repository ¶
type Repository struct { pulumi.CustomResourceState // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Output only. Server assigned timestamp for when the connection was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // 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.StringOutput `pulumi:"etag"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Name of the repository. Name pulumi.StringOutput `pulumi:"name"` // The connection for the resource ParentConnection pulumi.StringOutput `pulumi:"parentConnection"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // Required. Git Clone HTTPS URI. RemoteUri pulumi.StringOutput `pulumi:"remoteUri"` // Output only. Server assigned timestamp for when the connection was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
Beta only: The Cloudbuildv2 Repository resource
## Example Usage ### Repository In GitHub Connection Creates a Repository resource inside a Connection to github.com ```go package main
import (
"os" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudbuildv2" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } 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{ Automatic: pulumi.Bool(true), }, }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "github-token-secret-version", &secretmanager.SecretVersionArgs{ Secret: github_token_secret.ID(), SecretData: readFileOrPanic("my-github-token.txt"), }, pulumi.Provider(google_beta)) 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-cloudbuild.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), }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = cloudbuildv2.NewConnection(ctx, "my-connection", &cloudbuildv2.ConnectionArgs{ Location: pulumi.String("us-west1"), GithubConfig: &cloudbuildv2.ConnectionGithubConfigArgs{ AppInstallationId: pulumi.Int(123123), AuthorizerCredential: &cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs{ OauthTokenSecretVersion: github_token_secret_version.ID(), }, }, }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = cloudbuildv2.NewRepository(ctx, "my-repository", &cloudbuildv2.RepositoryArgs{ Location: pulumi.String("us-west1"), ParentConnection: my_connection.Name, RemoteUri: pulumi.String("https://github.com/myuser/myrepo.git"), }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
```
## Import
Repository can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:cloudbuildv2/repository:Repository default projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/repositories/{{name}}
```
```sh
$ pulumi import gcp:cloudbuildv2/repository:Repository default {{project}}/{{location}}/{{parent_connection}}/{{name}}
```
```sh
$ pulumi import gcp:cloudbuildv2/repository:Repository default {{location}}/{{parent_connection}}/{{name}}
```
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)
GetRepository gets an existing Repository 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 NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
func (*Repository) ElementType ¶
func (*Repository) ElementType() reflect.Type
func (*Repository) ToRepositoryOutput ¶
func (i *Repository) ToRepositoryOutput() RepositoryOutput
func (*Repository) ToRepositoryOutputWithContext ¶
func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
type RepositoryArgs ¶
type RepositoryArgs struct { // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapInput // The location for the resource Location pulumi.StringPtrInput // Name of the repository. Name pulumi.StringPtrInput // The connection for the resource ParentConnection pulumi.StringInput // The project for the resource Project pulumi.StringPtrInput // Required. Git Clone HTTPS URI. RemoteUri pulumi.StringInput }
The set of arguments for constructing a Repository resource.
func (RepositoryArgs) ElementType ¶
func (RepositoryArgs) ElementType() reflect.Type
type RepositoryArray ¶
type RepositoryArray []RepositoryInput
func (RepositoryArray) ElementType ¶
func (RepositoryArray) ElementType() reflect.Type
func (RepositoryArray) ToRepositoryArrayOutput ¶
func (i RepositoryArray) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArray) ToRepositoryArrayOutputWithContext ¶
func (i RepositoryArray) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryArrayInput ¶
type RepositoryArrayInput interface { pulumi.Input ToRepositoryArrayOutput() RepositoryArrayOutput ToRepositoryArrayOutputWithContext(context.Context) RepositoryArrayOutput }
RepositoryArrayInput is an input type that accepts RepositoryArray and RepositoryArrayOutput values. You can construct a concrete instance of `RepositoryArrayInput` via:
RepositoryArray{ RepositoryArgs{...} }
type RepositoryArrayOutput ¶
type RepositoryArrayOutput struct{ *pulumi.OutputState }
func (RepositoryArrayOutput) ElementType ¶
func (RepositoryArrayOutput) ElementType() reflect.Type
func (RepositoryArrayOutput) Index ¶
func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutput ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryInput ¶
type RepositoryInput interface { pulumi.Input ToRepositoryOutput() RepositoryOutput ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput }
type RepositoryMap ¶
type RepositoryMap map[string]RepositoryInput
func (RepositoryMap) ElementType ¶
func (RepositoryMap) ElementType() reflect.Type
func (RepositoryMap) ToRepositoryMapOutput ¶
func (i RepositoryMap) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMap) ToRepositoryMapOutputWithContext ¶
func (i RepositoryMap) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryMapInput ¶
type RepositoryMapInput interface { pulumi.Input ToRepositoryMapOutput() RepositoryMapOutput ToRepositoryMapOutputWithContext(context.Context) RepositoryMapOutput }
RepositoryMapInput is an input type that accepts RepositoryMap and RepositoryMapOutput values. You can construct a concrete instance of `RepositoryMapInput` via:
RepositoryMap{ "key": RepositoryArgs{...} }
type RepositoryMapOutput ¶
type RepositoryMapOutput struct{ *pulumi.OutputState }
func (RepositoryMapOutput) ElementType ¶
func (RepositoryMapOutput) ElementType() reflect.Type
func (RepositoryMapOutput) MapIndex ¶
func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
func (RepositoryMapOutput) ToRepositoryMapOutput ¶
func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMapOutput) ToRepositoryMapOutputWithContext ¶
func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryOutput ¶
type RepositoryOutput struct{ *pulumi.OutputState }
func (RepositoryOutput) Annotations ¶
func (o RepositoryOutput) Annotations() pulumi.StringMapOutput
Allows clients to store small amounts of arbitrary data.
func (RepositoryOutput) CreateTime ¶
func (o RepositoryOutput) CreateTime() pulumi.StringOutput
Output only. Server assigned timestamp for when the connection was created.
func (RepositoryOutput) ElementType ¶
func (RepositoryOutput) ElementType() reflect.Type
func (RepositoryOutput) Etag ¶
func (o RepositoryOutput) Etag() pulumi.StringOutput
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 (RepositoryOutput) Location ¶
func (o RepositoryOutput) Location() pulumi.StringOutput
The location for the resource
func (RepositoryOutput) Name ¶
func (o RepositoryOutput) Name() pulumi.StringOutput
Name of the repository.
func (RepositoryOutput) ParentConnection ¶
func (o RepositoryOutput) ParentConnection() pulumi.StringOutput
The connection for the resource
func (RepositoryOutput) Project ¶
func (o RepositoryOutput) Project() pulumi.StringOutput
The project for the resource
func (RepositoryOutput) RemoteUri ¶
func (o RepositoryOutput) RemoteUri() pulumi.StringOutput
Required. Git Clone HTTPS URI.
func (RepositoryOutput) ToRepositoryOutput ¶
func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
func (RepositoryOutput) ToRepositoryOutputWithContext ¶
func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
func (RepositoryOutput) UpdateTime ¶
func (o RepositoryOutput) UpdateTime() pulumi.StringOutput
Output only. Server assigned timestamp for when the connection was updated.
type RepositoryState ¶
type RepositoryState struct { // Allows clients to store small amounts of arbitrary data. Annotations pulumi.StringMapInput // Output only. Server assigned timestamp for when the connection was created. CreateTime pulumi.StringPtrInput // 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 // The location for the resource Location pulumi.StringPtrInput // Name of the repository. Name pulumi.StringPtrInput // The connection for the resource ParentConnection pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Required. Git Clone HTTPS URI. RemoteUri pulumi.StringPtrInput // Output only. Server assigned timestamp for when the connection was updated. UpdateTime pulumi.StringPtrInput }
func (RepositoryState) ElementType ¶
func (RepositoryState) ElementType() reflect.Type