Documentation
¶
Overview ¶
A Pulumi package for creating and managing doppler cloud resources.
Index ¶
- type BranchConfig
- type BranchConfigArgs
- type BranchConfigArray
- type BranchConfigArrayInput
- type BranchConfigArrayOutput
- func (BranchConfigArrayOutput) ElementType() reflect.Type
- func (o BranchConfigArrayOutput) Index(i pulumi.IntInput) BranchConfigOutput
- func (o BranchConfigArrayOutput) ToBranchConfigArrayOutput() BranchConfigArrayOutput
- func (o BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
- type BranchConfigInput
- type BranchConfigMap
- type BranchConfigMapInput
- type BranchConfigMapOutput
- func (BranchConfigMapOutput) ElementType() reflect.Type
- func (o BranchConfigMapOutput) MapIndex(k pulumi.StringInput) BranchConfigOutput
- func (o BranchConfigMapOutput) ToBranchConfigMapOutput() BranchConfigMapOutput
- func (o BranchConfigMapOutput) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
- type BranchConfigOutput
- func (BranchConfigOutput) ElementType() reflect.Type
- func (o BranchConfigOutput) Environment() pulumi.StringOutput
- func (o BranchConfigOutput) Name() pulumi.StringOutput
- func (o BranchConfigOutput) Project() pulumi.StringOutput
- func (o BranchConfigOutput) ToBranchConfigOutput() BranchConfigOutput
- func (o BranchConfigOutput) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
- type BranchConfigState
- type Environment
- type EnvironmentArgs
- type EnvironmentArray
- type EnvironmentArrayInput
- type EnvironmentArrayOutput
- func (EnvironmentArrayOutput) ElementType() reflect.Type
- func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
- type EnvironmentInput
- type EnvironmentMap
- type EnvironmentMapInput
- type EnvironmentMapOutput
- func (EnvironmentMapOutput) ElementType() reflect.Type
- func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
- type EnvironmentOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) Name() pulumi.StringOutput
- func (o EnvironmentOutput) PersonalConfigs() pulumi.BoolPtrOutput
- func (o EnvironmentOutput) Project() pulumi.StringOutput
- func (o EnvironmentOutput) Slug() pulumi.StringOutput
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- type EnvironmentState
- type GetSecretsArgs
- type GetSecretsOutputArgs
- type GetSecretsResult
- type GetSecretsResultOutput
- func (o GetSecretsResultOutput) Config() pulumi.StringPtrOutput
- func (GetSecretsResultOutput) ElementType() reflect.Type
- func (o GetSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretsResultOutput) Map() pulumi.StringMapOutput
- func (o GetSecretsResultOutput) Project() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
- type GetUserArgs
- type GetUserOutputArgs
- type GetUserResult
- type GetUserResultOutput
- func (GetUserResultOutput) ElementType() reflect.Type
- func (o GetUserResultOutput) Email() pulumi.StringOutput
- func (o GetUserResultOutput) Id() pulumi.StringOutput
- func (o GetUserResultOutput) Slug() pulumi.StringOutput
- func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput
- func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput
- type Group
- type GroupArgs
- type GroupArray
- type GroupArrayInput
- type GroupArrayOutput
- type GroupInput
- type GroupMap
- type GroupMapInput
- type GroupMapOutput
- type GroupMember
- type GroupMemberArgs
- type GroupMemberArray
- type GroupMemberArrayInput
- type GroupMemberArrayOutput
- func (GroupMemberArrayOutput) ElementType() reflect.Type
- func (o GroupMemberArrayOutput) Index(i pulumi.IntInput) GroupMemberOutput
- func (o GroupMemberArrayOutput) ToGroupMemberArrayOutput() GroupMemberArrayOutput
- func (o GroupMemberArrayOutput) ToGroupMemberArrayOutputWithContext(ctx context.Context) GroupMemberArrayOutput
- type GroupMemberInput
- type GroupMemberMap
- type GroupMemberMapInput
- type GroupMemberMapOutput
- func (GroupMemberMapOutput) ElementType() reflect.Type
- func (o GroupMemberMapOutput) MapIndex(k pulumi.StringInput) GroupMemberOutput
- func (o GroupMemberMapOutput) ToGroupMemberMapOutput() GroupMemberMapOutput
- func (o GroupMemberMapOutput) ToGroupMemberMapOutputWithContext(ctx context.Context) GroupMemberMapOutput
- type GroupMemberOutput
- func (GroupMemberOutput) ElementType() reflect.Type
- func (o GroupMemberOutput) GroupSlug() pulumi.StringOutput
- func (o GroupMemberOutput) ToGroupMemberOutput() GroupMemberOutput
- func (o GroupMemberOutput) ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput
- func (o GroupMemberOutput) UserSlug() pulumi.StringOutput
- type GroupMemberState
- type GroupMembers
- type GroupMembersArgs
- type GroupMembersArray
- type GroupMembersArrayInput
- type GroupMembersArrayOutput
- func (GroupMembersArrayOutput) ElementType() reflect.Type
- func (o GroupMembersArrayOutput) Index(i pulumi.IntInput) GroupMembersOutput
- func (o GroupMembersArrayOutput) ToGroupMembersArrayOutput() GroupMembersArrayOutput
- func (o GroupMembersArrayOutput) ToGroupMembersArrayOutputWithContext(ctx context.Context) GroupMembersArrayOutput
- type GroupMembersInput
- type GroupMembersMap
- type GroupMembersMapInput
- type GroupMembersMapOutput
- func (GroupMembersMapOutput) ElementType() reflect.Type
- func (o GroupMembersMapOutput) MapIndex(k pulumi.StringInput) GroupMembersOutput
- func (o GroupMembersMapOutput) ToGroupMembersMapOutput() GroupMembersMapOutput
- func (o GroupMembersMapOutput) ToGroupMembersMapOutputWithContext(ctx context.Context) GroupMembersMapOutput
- type GroupMembersOutput
- func (GroupMembersOutput) ElementType() reflect.Type
- func (o GroupMembersOutput) GroupSlug() pulumi.StringOutput
- func (o GroupMembersOutput) ToGroupMembersOutput() GroupMembersOutput
- func (o GroupMembersOutput) ToGroupMembersOutputWithContext(ctx context.Context) GroupMembersOutput
- func (o GroupMembersOutput) UserSlugs() pulumi.StringArrayOutput
- type GroupMembersState
- type GroupOutput
- func (o GroupOutput) DefaultProjectRole() pulumi.StringPtrOutput
- func (GroupOutput) ElementType() reflect.Type
- func (o GroupOutput) Name() pulumi.StringOutput
- func (o GroupOutput) Slug() pulumi.StringOutput
- func (o GroupOutput) ToGroupOutput() GroupOutput
- func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
- type GroupState
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- type ProjectRole
- type ProjectRoleArgs
- type ProjectRoleArray
- type ProjectRoleArrayInput
- type ProjectRoleArrayOutput
- func (ProjectRoleArrayOutput) ElementType() reflect.Type
- func (o ProjectRoleArrayOutput) Index(i pulumi.IntInput) ProjectRoleOutput
- func (o ProjectRoleArrayOutput) ToProjectRoleArrayOutput() ProjectRoleArrayOutput
- func (o ProjectRoleArrayOutput) ToProjectRoleArrayOutputWithContext(ctx context.Context) ProjectRoleArrayOutput
- type ProjectRoleInput
- type ProjectRoleMap
- type ProjectRoleMapInput
- type ProjectRoleMapOutput
- func (ProjectRoleMapOutput) ElementType() reflect.Type
- func (o ProjectRoleMapOutput) MapIndex(k pulumi.StringInput) ProjectRoleOutput
- func (o ProjectRoleMapOutput) ToProjectRoleMapOutput() ProjectRoleMapOutput
- func (o ProjectRoleMapOutput) ToProjectRoleMapOutputWithContext(ctx context.Context) ProjectRoleMapOutput
- type ProjectRoleOutput
- func (ProjectRoleOutput) ElementType() reflect.Type
- func (o ProjectRoleOutput) Identifier() pulumi.StringOutput
- func (o ProjectRoleOutput) IsCustomRole() pulumi.BoolOutput
- func (o ProjectRoleOutput) Name() pulumi.StringOutput
- func (o ProjectRoleOutput) Permissions() pulumi.StringArrayOutput
- func (o ProjectRoleOutput) ToProjectRoleOutput() ProjectRoleOutput
- func (o ProjectRoleOutput) ToProjectRoleOutputWithContext(ctx context.Context) ProjectRoleOutput
- type ProjectRoleState
- type ProjectState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) DopplerToken() pulumi.StringOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Host() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type Secret
- type SecretArgs
- type SecretArray
- type SecretArrayInput
- type SecretArrayOutput
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- type SecretOutput
- func (o SecretOutput) Computed() pulumi.StringOutput
- func (o SecretOutput) Config() pulumi.StringOutput
- func (SecretOutput) ElementType() reflect.Type
- func (o SecretOutput) Name() pulumi.StringOutput
- func (o SecretOutput) Project() pulumi.StringOutput
- func (o SecretOutput) ToSecretOutput() SecretOutput
- func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
- func (o SecretOutput) Value() pulumi.StringOutput
- func (o SecretOutput) Visibility() pulumi.StringPtrOutput
- type SecretState
- type ServiceAccount
- type ServiceAccountArgs
- type ServiceAccountArray
- type ServiceAccountArrayInput
- type ServiceAccountArrayOutput
- func (ServiceAccountArrayOutput) ElementType() reflect.Type
- func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput
- func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutput() ServiceAccountArrayOutput
- func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput
- type ServiceAccountInput
- type ServiceAccountMap
- type ServiceAccountMapInput
- type ServiceAccountMapOutput
- func (ServiceAccountMapOutput) ElementType() reflect.Type
- func (o ServiceAccountMapOutput) MapIndex(k pulumi.StringInput) ServiceAccountOutput
- func (o ServiceAccountMapOutput) ToServiceAccountMapOutput() ServiceAccountMapOutput
- func (o ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput
- type ServiceAccountOutput
- func (ServiceAccountOutput) ElementType() reflect.Type
- func (o ServiceAccountOutput) Name() pulumi.StringOutput
- func (o ServiceAccountOutput) Slug() pulumi.StringOutput
- func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput
- func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
- func (o ServiceAccountOutput) WorkplacePermissions() pulumi.StringArrayOutput
- func (o ServiceAccountOutput) WorkplaceRole() pulumi.StringPtrOutput
- type ServiceAccountState
- type ServiceAccountToken
- type ServiceAccountTokenArgs
- type ServiceAccountTokenArray
- type ServiceAccountTokenArrayInput
- type ServiceAccountTokenArrayOutput
- func (ServiceAccountTokenArrayOutput) ElementType() reflect.Type
- func (o ServiceAccountTokenArrayOutput) Index(i pulumi.IntInput) ServiceAccountTokenOutput
- func (o ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutput() ServiceAccountTokenArrayOutput
- func (o ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutputWithContext(ctx context.Context) ServiceAccountTokenArrayOutput
- type ServiceAccountTokenInput
- type ServiceAccountTokenMap
- type ServiceAccountTokenMapInput
- type ServiceAccountTokenMapOutput
- func (ServiceAccountTokenMapOutput) ElementType() reflect.Type
- func (o ServiceAccountTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceAccountTokenOutput
- func (o ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutput() ServiceAccountTokenMapOutput
- func (o ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutputWithContext(ctx context.Context) ServiceAccountTokenMapOutput
- type ServiceAccountTokenOutput
- func (o ServiceAccountTokenOutput) ApiKey() pulumi.StringOutput
- func (o ServiceAccountTokenOutput) CreatedAt() pulumi.StringOutput
- func (ServiceAccountTokenOutput) ElementType() reflect.Type
- func (o ServiceAccountTokenOutput) ExpiresAt() pulumi.StringPtrOutput
- func (o ServiceAccountTokenOutput) Name() pulumi.StringOutput
- func (o ServiceAccountTokenOutput) ServiceAccountSlug() pulumi.StringOutput
- func (o ServiceAccountTokenOutput) Slug() pulumi.StringOutput
- func (o ServiceAccountTokenOutput) ToServiceAccountTokenOutput() ServiceAccountTokenOutput
- func (o ServiceAccountTokenOutput) ToServiceAccountTokenOutputWithContext(ctx context.Context) ServiceAccountTokenOutput
- type ServiceAccountTokenState
- type ServiceToken
- type ServiceTokenArgs
- type ServiceTokenArray
- type ServiceTokenArrayInput
- type ServiceTokenArrayOutput
- func (ServiceTokenArrayOutput) ElementType() reflect.Type
- func (o ServiceTokenArrayOutput) Index(i pulumi.IntInput) ServiceTokenOutput
- func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
- func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
- type ServiceTokenInput
- type ServiceTokenMap
- type ServiceTokenMapInput
- type ServiceTokenMapOutput
- func (ServiceTokenMapOutput) ElementType() reflect.Type
- func (o ServiceTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceTokenOutput
- func (o ServiceTokenMapOutput) ToServiceTokenMapOutput() ServiceTokenMapOutput
- func (o ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
- type ServiceTokenOutput
- func (o ServiceTokenOutput) Access() pulumi.StringPtrOutput
- func (o ServiceTokenOutput) Config() pulumi.StringOutput
- func (ServiceTokenOutput) ElementType() reflect.Type
- func (o ServiceTokenOutput) Key() pulumi.StringOutput
- func (o ServiceTokenOutput) Name() pulumi.StringOutput
- func (o ServiceTokenOutput) Project() pulumi.StringOutput
- func (o ServiceTokenOutput) ToServiceTokenOutput() ServiceTokenOutput
- func (o ServiceTokenOutput) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
- type ServiceTokenState
- type Webhook
- type WebhookArgs
- type WebhookArray
- type WebhookArrayInput
- type WebhookArrayOutput
- type WebhookAuthentication
- type WebhookAuthenticationArgs
- func (WebhookAuthenticationArgs) ElementType() reflect.Type
- func (i WebhookAuthenticationArgs) ToWebhookAuthenticationOutput() WebhookAuthenticationOutput
- func (i WebhookAuthenticationArgs) ToWebhookAuthenticationOutputWithContext(ctx context.Context) WebhookAuthenticationOutput
- func (i WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
- func (i WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
- type WebhookAuthenticationInput
- type WebhookAuthenticationOutput
- func (WebhookAuthenticationOutput) ElementType() reflect.Type
- func (o WebhookAuthenticationOutput) Password() pulumi.StringPtrOutput
- func (o WebhookAuthenticationOutput) ToWebhookAuthenticationOutput() WebhookAuthenticationOutput
- func (o WebhookAuthenticationOutput) ToWebhookAuthenticationOutputWithContext(ctx context.Context) WebhookAuthenticationOutput
- func (o WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
- func (o WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
- func (o WebhookAuthenticationOutput) Token() pulumi.StringPtrOutput
- func (o WebhookAuthenticationOutput) Type() pulumi.StringOutput
- func (o WebhookAuthenticationOutput) Username() pulumi.StringPtrOutput
- type WebhookAuthenticationPtrInput
- type WebhookAuthenticationPtrOutput
- func (o WebhookAuthenticationPtrOutput) Elem() WebhookAuthenticationOutput
- func (WebhookAuthenticationPtrOutput) ElementType() reflect.Type
- func (o WebhookAuthenticationPtrOutput) Password() pulumi.StringPtrOutput
- func (o WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
- func (o WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
- func (o WebhookAuthenticationPtrOutput) Token() pulumi.StringPtrOutput
- func (o WebhookAuthenticationPtrOutput) Type() pulumi.StringPtrOutput
- func (o WebhookAuthenticationPtrOutput) Username() pulumi.StringPtrOutput
- type WebhookInput
- type WebhookMap
- type WebhookMapInput
- type WebhookMapOutput
- type WebhookOutput
- func (o WebhookOutput) Authentication() WebhookAuthenticationPtrOutput
- func (WebhookOutput) ElementType() reflect.Type
- func (o WebhookOutput) Enabled() pulumi.BoolPtrOutput
- func (o WebhookOutput) EnabledConfigs() pulumi.StringArrayOutput
- func (o WebhookOutput) Payload() pulumi.StringPtrOutput
- func (o WebhookOutput) Project() pulumi.StringOutput
- func (o WebhookOutput) Secret() pulumi.StringPtrOutput
- func (o WebhookOutput) Slug() pulumi.StringOutput
- func (o WebhookOutput) ToWebhookOutput() WebhookOutput
- func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
- func (o WebhookOutput) Url() pulumi.StringOutput
- type WebhookState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchConfig ¶
type BranchConfig struct { pulumi.CustomResourceState // The name of the Doppler environment where the config is located Environment pulumi.StringOutput `pulumi:"environment"` // The name of the Doppler config Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project where the config is located Project pulumi.StringOutput `pulumi:"project"` }
Manage a Doppler config.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewBranchConfig(ctx, "backend_ci_github", &doppler.BranchConfigArgs{ Project: pulumi.String("backend"), Environment: pulumi.String("ci"), Name: pulumi.String("ci_github"), }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import doppler:index/branchConfig:BranchConfig default <project-name>.<environment-slug>.<config-name> ```
func GetBranchConfig ¶
func GetBranchConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchConfigState, opts ...pulumi.ResourceOption) (*BranchConfig, error)
GetBranchConfig gets an existing BranchConfig 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 NewBranchConfig ¶
func NewBranchConfig(ctx *pulumi.Context, name string, args *BranchConfigArgs, opts ...pulumi.ResourceOption) (*BranchConfig, error)
NewBranchConfig registers a new resource with the given unique name, arguments, and options.
func (*BranchConfig) ElementType ¶
func (*BranchConfig) ElementType() reflect.Type
func (*BranchConfig) ToBranchConfigOutput ¶
func (i *BranchConfig) ToBranchConfigOutput() BranchConfigOutput
func (*BranchConfig) ToBranchConfigOutputWithContext ¶
func (i *BranchConfig) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
type BranchConfigArgs ¶
type BranchConfigArgs struct { // The name of the Doppler environment where the config is located Environment pulumi.StringInput // The name of the Doppler config Name pulumi.StringPtrInput // The name of the Doppler project where the config is located Project pulumi.StringInput }
The set of arguments for constructing a BranchConfig resource.
func (BranchConfigArgs) ElementType ¶
func (BranchConfigArgs) ElementType() reflect.Type
type BranchConfigArray ¶
type BranchConfigArray []BranchConfigInput
func (BranchConfigArray) ElementType ¶
func (BranchConfigArray) ElementType() reflect.Type
func (BranchConfigArray) ToBranchConfigArrayOutput ¶
func (i BranchConfigArray) ToBranchConfigArrayOutput() BranchConfigArrayOutput
func (BranchConfigArray) ToBranchConfigArrayOutputWithContext ¶
func (i BranchConfigArray) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
type BranchConfigArrayInput ¶
type BranchConfigArrayInput interface { pulumi.Input ToBranchConfigArrayOutput() BranchConfigArrayOutput ToBranchConfigArrayOutputWithContext(context.Context) BranchConfigArrayOutput }
BranchConfigArrayInput is an input type that accepts BranchConfigArray and BranchConfigArrayOutput values. You can construct a concrete instance of `BranchConfigArrayInput` via:
BranchConfigArray{ BranchConfigArgs{...} }
type BranchConfigArrayOutput ¶
type BranchConfigArrayOutput struct{ *pulumi.OutputState }
func (BranchConfigArrayOutput) ElementType ¶
func (BranchConfigArrayOutput) ElementType() reflect.Type
func (BranchConfigArrayOutput) Index ¶
func (o BranchConfigArrayOutput) Index(i pulumi.IntInput) BranchConfigOutput
func (BranchConfigArrayOutput) ToBranchConfigArrayOutput ¶
func (o BranchConfigArrayOutput) ToBranchConfigArrayOutput() BranchConfigArrayOutput
func (BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext ¶
func (o BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
type BranchConfigInput ¶
type BranchConfigInput interface { pulumi.Input ToBranchConfigOutput() BranchConfigOutput ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput }
type BranchConfigMap ¶
type BranchConfigMap map[string]BranchConfigInput
func (BranchConfigMap) ElementType ¶
func (BranchConfigMap) ElementType() reflect.Type
func (BranchConfigMap) ToBranchConfigMapOutput ¶
func (i BranchConfigMap) ToBranchConfigMapOutput() BranchConfigMapOutput
func (BranchConfigMap) ToBranchConfigMapOutputWithContext ¶
func (i BranchConfigMap) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
type BranchConfigMapInput ¶
type BranchConfigMapInput interface { pulumi.Input ToBranchConfigMapOutput() BranchConfigMapOutput ToBranchConfigMapOutputWithContext(context.Context) BranchConfigMapOutput }
BranchConfigMapInput is an input type that accepts BranchConfigMap and BranchConfigMapOutput values. You can construct a concrete instance of `BranchConfigMapInput` via:
BranchConfigMap{ "key": BranchConfigArgs{...} }
type BranchConfigMapOutput ¶
type BranchConfigMapOutput struct{ *pulumi.OutputState }
func (BranchConfigMapOutput) ElementType ¶
func (BranchConfigMapOutput) ElementType() reflect.Type
func (BranchConfigMapOutput) MapIndex ¶
func (o BranchConfigMapOutput) MapIndex(k pulumi.StringInput) BranchConfigOutput
func (BranchConfigMapOutput) ToBranchConfigMapOutput ¶
func (o BranchConfigMapOutput) ToBranchConfigMapOutput() BranchConfigMapOutput
func (BranchConfigMapOutput) ToBranchConfigMapOutputWithContext ¶
func (o BranchConfigMapOutput) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
type BranchConfigOutput ¶
type BranchConfigOutput struct{ *pulumi.OutputState }
func (BranchConfigOutput) ElementType ¶
func (BranchConfigOutput) ElementType() reflect.Type
func (BranchConfigOutput) Environment ¶
func (o BranchConfigOutput) Environment() pulumi.StringOutput
The name of the Doppler environment where the config is located
func (BranchConfigOutput) Name ¶
func (o BranchConfigOutput) Name() pulumi.StringOutput
The name of the Doppler config
func (BranchConfigOutput) Project ¶
func (o BranchConfigOutput) Project() pulumi.StringOutput
The name of the Doppler project where the config is located
func (BranchConfigOutput) ToBranchConfigOutput ¶
func (o BranchConfigOutput) ToBranchConfigOutput() BranchConfigOutput
func (BranchConfigOutput) ToBranchConfigOutputWithContext ¶
func (o BranchConfigOutput) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
type BranchConfigState ¶
type BranchConfigState struct { // The name of the Doppler environment where the config is located Environment pulumi.StringPtrInput // The name of the Doppler config Name pulumi.StringPtrInput // The name of the Doppler project where the config is located Project pulumi.StringPtrInput }
func (BranchConfigState) ElementType ¶
func (BranchConfigState) ElementType() reflect.Type
type Environment ¶
type Environment struct { pulumi.CustomResourceState // The name of the Doppler environment Name pulumi.StringOutput `pulumi:"name"` // Whether or not personal configs are enabled for the environment PersonalConfigs pulumi.BoolPtrOutput `pulumi:"personalConfigs"` // The name of the Doppler project where the environment is located Project pulumi.StringOutput `pulumi:"project"` // The slug of the Doppler environment Slug pulumi.StringOutput `pulumi:"slug"` }
Manage a Doppler environment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewEnvironment(ctx, "backend_ci", &doppler.EnvironmentArgs{ Project: pulumi.String("backend"), Slug: pulumi.String("ci"), Name: pulumi.String("Continuous Integration"), }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import doppler:index/environment:Environment default <project-name>.<environment-slug> ```
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment 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 NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) ElementType ¶
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentArgs ¶
type EnvironmentArgs struct { // The name of the Doppler environment Name pulumi.StringInput // Whether or not personal configs are enabled for the environment PersonalConfigs pulumi.BoolPtrInput // The name of the Doppler project where the environment is located Project pulumi.StringInput // The slug of the Doppler environment Slug pulumi.StringInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentArray ¶
type EnvironmentArray []EnvironmentInput
func (EnvironmentArray) ElementType ¶
func (EnvironmentArray) ElementType() reflect.Type
func (EnvironmentArray) ToEnvironmentArrayOutput ¶
func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArray) ToEnvironmentArrayOutputWithContext ¶
func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentArrayInput ¶
type EnvironmentArrayInput interface { pulumi.Input ToEnvironmentArrayOutput() EnvironmentArrayOutput ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput }
EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:
EnvironmentArray{ EnvironmentArgs{...} }
type EnvironmentArrayOutput ¶
type EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (EnvironmentArrayOutput) ElementType ¶
func (EnvironmentArrayOutput) ElementType() reflect.Type
func (EnvironmentArrayOutput) Index ¶
func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutput ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentInput ¶
type EnvironmentInput interface { pulumi.Input ToEnvironmentOutput() EnvironmentOutput ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput }
type EnvironmentMap ¶
type EnvironmentMap map[string]EnvironmentInput
func (EnvironmentMap) ElementType ¶
func (EnvironmentMap) ElementType() reflect.Type
func (EnvironmentMap) ToEnvironmentMapOutput ¶
func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMap) ToEnvironmentMapOutputWithContext ¶
func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentMapInput ¶
type EnvironmentMapInput interface { pulumi.Input ToEnvironmentMapOutput() EnvironmentMapOutput ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput }
EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:
EnvironmentMap{ "key": EnvironmentArgs{...} }
type EnvironmentMapOutput ¶
type EnvironmentMapOutput struct{ *pulumi.OutputState }
func (EnvironmentMapOutput) ElementType ¶
func (EnvironmentMapOutput) ElementType() reflect.Type
func (EnvironmentMapOutput) MapIndex ¶
func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutput ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentOutput ¶
type EnvironmentOutput struct{ *pulumi.OutputState }
func (EnvironmentOutput) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) Name ¶
func (o EnvironmentOutput) Name() pulumi.StringOutput
The name of the Doppler environment
func (EnvironmentOutput) PersonalConfigs ¶ added in v0.8.0
func (o EnvironmentOutput) PersonalConfigs() pulumi.BoolPtrOutput
Whether or not personal configs are enabled for the environment
func (EnvironmentOutput) Project ¶
func (o EnvironmentOutput) Project() pulumi.StringOutput
The name of the Doppler project where the environment is located
func (EnvironmentOutput) Slug ¶
func (o EnvironmentOutput) Slug() pulumi.StringOutput
The slug of the Doppler environment
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentState ¶
type EnvironmentState struct { // The name of the Doppler environment Name pulumi.StringPtrInput // Whether or not personal configs are enabled for the environment PersonalConfigs pulumi.BoolPtrInput // The name of the Doppler project where the environment is located Project pulumi.StringPtrInput // The slug of the Doppler environment Slug pulumi.StringPtrInput }
func (EnvironmentState) ElementType ¶
func (EnvironmentState) ElementType() reflect.Type
type GetSecretsArgs ¶ added in v0.2.0
type GetSecretsArgs struct { // The name of the Doppler config (required for personal tokens) Config *string `pulumi:"config"` // The name of the Doppler project (required for personal tokens) Project *string `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
type GetSecretsOutputArgs ¶ added in v0.2.0
type GetSecretsOutputArgs struct { // The name of the Doppler config (required for personal tokens) Config pulumi.StringPtrInput `pulumi:"config"` // The name of the Doppler project (required for personal tokens) Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
func (GetSecretsOutputArgs) ElementType ¶ added in v0.2.0
func (GetSecretsOutputArgs) ElementType() reflect.Type
type GetSecretsResult ¶ added in v0.2.0
type GetSecretsResult struct { // The name of the Doppler config (required for personal tokens) Config *string `pulumi:"config"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A mapping of secret names to computed secret values Map map[string]string `pulumi:"map"` // The name of the Doppler project (required for personal tokens) Project *string `pulumi:"project"` }
A collection of values returned by getSecrets.
func GetSecrets ¶ added in v0.2.0
func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)
Retrieve all secrets in the config.
type GetSecretsResultOutput ¶ added in v0.2.0
type GetSecretsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecrets.
func GetSecretsOutput ¶ added in v0.2.0
func GetSecretsOutput(ctx *pulumi.Context, args GetSecretsOutputArgs, opts ...pulumi.InvokeOption) GetSecretsResultOutput
func (GetSecretsResultOutput) Config ¶ added in v0.2.0
func (o GetSecretsResultOutput) Config() pulumi.StringPtrOutput
The name of the Doppler config (required for personal tokens)
func (GetSecretsResultOutput) ElementType ¶ added in v0.2.0
func (GetSecretsResultOutput) ElementType() reflect.Type
func (GetSecretsResultOutput) Id ¶ added in v0.2.0
func (o GetSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretsResultOutput) Map ¶ added in v0.2.0
func (o GetSecretsResultOutput) Map() pulumi.StringMapOutput
A mapping of secret names to computed secret values
func (GetSecretsResultOutput) Project ¶ added in v0.2.0
func (o GetSecretsResultOutput) Project() pulumi.StringPtrOutput
The name of the Doppler project (required for personal tokens)
func (GetSecretsResultOutput) ToGetSecretsResultOutput ¶ added in v0.2.0
func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
func (GetSecretsResultOutput) ToGetSecretsResultOutputWithContext ¶ added in v0.2.0
func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
type GetUserArgs ¶ added in v0.6.0
type GetUserArgs struct { // The email address of the Doppler user Email string `pulumi:"email"` }
A collection of arguments for invoking getUser.
type GetUserOutputArgs ¶ added in v0.6.0
type GetUserOutputArgs struct { // The email address of the Doppler user Email pulumi.StringInput `pulumi:"email"` }
A collection of arguments for invoking getUser.
func (GetUserOutputArgs) ElementType ¶ added in v0.6.0
func (GetUserOutputArgs) ElementType() reflect.Type
type GetUserResult ¶ added in v0.6.0
type GetUserResult struct { // The email address of the Doppler user Email string `pulumi:"email"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The slug of the Doppler user Slug string `pulumi:"slug"` }
A collection of values returned by getUser.
func GetUser ¶ added in v0.6.0
func GetUser(ctx *pulumi.Context, args *GetUserArgs, opts ...pulumi.InvokeOption) (*GetUserResult, error)
Retrieve an existing Doppler user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.GetUser(ctx, &doppler.GetUserArgs{ Email: "nic@doppler.com", }, nil) if err != nil { return err } return nil }) }
```
type GetUserResultOutput ¶ added in v0.6.0
type GetUserResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUser.
func GetUserOutput ¶ added in v0.6.0
func GetUserOutput(ctx *pulumi.Context, args GetUserOutputArgs, opts ...pulumi.InvokeOption) GetUserResultOutput
func (GetUserResultOutput) ElementType ¶ added in v0.6.0
func (GetUserResultOutput) ElementType() reflect.Type
func (GetUserResultOutput) Email ¶ added in v0.6.0
func (o GetUserResultOutput) Email() pulumi.StringOutput
The email address of the Doppler user
func (GetUserResultOutput) Id ¶ added in v0.6.0
func (o GetUserResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUserResultOutput) Slug ¶ added in v0.6.0
func (o GetUserResultOutput) Slug() pulumi.StringOutput
The slug of the Doppler user
func (GetUserResultOutput) ToGetUserResultOutput ¶ added in v0.6.0
func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput
func (GetUserResultOutput) ToGetUserResultOutputWithContext ¶ added in v0.6.0
func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput
type Group ¶ added in v0.3.0
type Group struct { pulumi.CustomResourceState // The default project role assigned to the group when added to a Doppler project DefaultProjectRole pulumi.StringPtrOutput `pulumi:"defaultProjectRole"` // The name of the group Name pulumi.StringOutput `pulumi:"name"` // The slug of the group Slug pulumi.StringOutput `pulumi:"slug"` }
Manage a Doppler group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewGroup(ctx, "engineering", &doppler.GroupArgs{ Name: pulumi.String("engineering"), }) if err != nil { return err } return nil }) }
```
## Import
import using the group slug from the URL:
https://dashboard.doppler.com/workplace/[workplace-slug]/team/groups/[group-slug]
```sh $ pulumi import doppler:index/group:Group default <group-slug> ```
func GetGroup ¶ added in v0.3.0
func GetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)
GetGroup gets an existing Group 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 NewGroup ¶ added in v0.3.0
func NewGroup(ctx *pulumi.Context, name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)
NewGroup registers a new resource with the given unique name, arguments, and options.
func (*Group) ElementType ¶ added in v0.3.0
func (*Group) ToGroupOutput ¶ added in v0.3.0
func (i *Group) ToGroupOutput() GroupOutput
func (*Group) ToGroupOutputWithContext ¶ added in v0.3.0
func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupArgs ¶ added in v0.3.0
type GroupArgs struct { // The default project role assigned to the group when added to a Doppler project DefaultProjectRole pulumi.StringPtrInput // The name of the group Name pulumi.StringInput }
The set of arguments for constructing a Group resource.
func (GroupArgs) ElementType ¶ added in v0.3.0
type GroupArray ¶ added in v0.3.0
type GroupArray []GroupInput
func (GroupArray) ElementType ¶ added in v0.3.0
func (GroupArray) ElementType() reflect.Type
func (GroupArray) ToGroupArrayOutput ¶ added in v0.3.0
func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput
func (GroupArray) ToGroupArrayOutputWithContext ¶ added in v0.3.0
func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupArrayInput ¶ added in v0.3.0
type GroupArrayInput interface { pulumi.Input ToGroupArrayOutput() GroupArrayOutput ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput }
GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:
GroupArray{ GroupArgs{...} }
type GroupArrayOutput ¶ added in v0.3.0
type GroupArrayOutput struct{ *pulumi.OutputState }
func (GroupArrayOutput) ElementType ¶ added in v0.3.0
func (GroupArrayOutput) ElementType() reflect.Type
func (GroupArrayOutput) Index ¶ added in v0.3.0
func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput
func (GroupArrayOutput) ToGroupArrayOutput ¶ added in v0.3.0
func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput
func (GroupArrayOutput) ToGroupArrayOutputWithContext ¶ added in v0.3.0
func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput
type GroupInput ¶ added in v0.3.0
type GroupInput interface { pulumi.Input ToGroupOutput() GroupOutput ToGroupOutputWithContext(ctx context.Context) GroupOutput }
type GroupMap ¶ added in v0.3.0
type GroupMap map[string]GroupInput
func (GroupMap) ElementType ¶ added in v0.3.0
func (GroupMap) ToGroupMapOutput ¶ added in v0.3.0
func (i GroupMap) ToGroupMapOutput() GroupMapOutput
func (GroupMap) ToGroupMapOutputWithContext ¶ added in v0.3.0
func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMapInput ¶ added in v0.3.0
type GroupMapInput interface { pulumi.Input ToGroupMapOutput() GroupMapOutput ToGroupMapOutputWithContext(context.Context) GroupMapOutput }
GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:
GroupMap{ "key": GroupArgs{...} }
type GroupMapOutput ¶ added in v0.3.0
type GroupMapOutput struct{ *pulumi.OutputState }
func (GroupMapOutput) ElementType ¶ added in v0.3.0
func (GroupMapOutput) ElementType() reflect.Type
func (GroupMapOutput) MapIndex ¶ added in v0.3.0
func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput
func (GroupMapOutput) ToGroupMapOutput ¶ added in v0.3.0
func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput
func (GroupMapOutput) ToGroupMapOutputWithContext ¶ added in v0.3.0
func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput
type GroupMember ¶ added in v0.6.0
type GroupMember struct { pulumi.CustomResourceState // The slug of the Doppler group GroupSlug pulumi.StringOutput `pulumi:"groupSlug"` // The slug of the Doppler workplace user UserSlug pulumi.StringOutput `pulumi:"userSlug"` }
Manage a Doppler user/group membership.
**Note:** You can also exclusively manage all memberships in a group with a single resource. See the `GroupMembers` resource for more information.
## Import
import using the group slug from the URL:
https://dashboard.doppler.com/workplace/[workplace-slug]/team/groups/[group-slug]
and the user slug from the URL:
https://dashboard.doppler.com/workplace/[workplace-slug]/team/users/[user-slug]
```sh $ pulumi import doppler:index/groupMember:GroupMember default <group-slug>.workplace_user.<user-slug> ```
func GetGroupMember ¶ added in v0.6.0
func GetGroupMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupMemberState, opts ...pulumi.ResourceOption) (*GroupMember, error)
GetGroupMember gets an existing GroupMember 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 NewGroupMember ¶ added in v0.6.0
func NewGroupMember(ctx *pulumi.Context, name string, args *GroupMemberArgs, opts ...pulumi.ResourceOption) (*GroupMember, error)
NewGroupMember registers a new resource with the given unique name, arguments, and options.
func (*GroupMember) ElementType ¶ added in v0.6.0
func (*GroupMember) ElementType() reflect.Type
func (*GroupMember) ToGroupMemberOutput ¶ added in v0.6.0
func (i *GroupMember) ToGroupMemberOutput() GroupMemberOutput
func (*GroupMember) ToGroupMemberOutputWithContext ¶ added in v0.6.0
func (i *GroupMember) ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput
type GroupMemberArgs ¶ added in v0.6.0
type GroupMemberArgs struct { // The slug of the Doppler group GroupSlug pulumi.StringInput // The slug of the Doppler workplace user UserSlug pulumi.StringInput }
The set of arguments for constructing a GroupMember resource.
func (GroupMemberArgs) ElementType ¶ added in v0.6.0
func (GroupMemberArgs) ElementType() reflect.Type
type GroupMemberArray ¶ added in v0.6.0
type GroupMemberArray []GroupMemberInput
func (GroupMemberArray) ElementType ¶ added in v0.6.0
func (GroupMemberArray) ElementType() reflect.Type
func (GroupMemberArray) ToGroupMemberArrayOutput ¶ added in v0.6.0
func (i GroupMemberArray) ToGroupMemberArrayOutput() GroupMemberArrayOutput
func (GroupMemberArray) ToGroupMemberArrayOutputWithContext ¶ added in v0.6.0
func (i GroupMemberArray) ToGroupMemberArrayOutputWithContext(ctx context.Context) GroupMemberArrayOutput
type GroupMemberArrayInput ¶ added in v0.6.0
type GroupMemberArrayInput interface { pulumi.Input ToGroupMemberArrayOutput() GroupMemberArrayOutput ToGroupMemberArrayOutputWithContext(context.Context) GroupMemberArrayOutput }
GroupMemberArrayInput is an input type that accepts GroupMemberArray and GroupMemberArrayOutput values. You can construct a concrete instance of `GroupMemberArrayInput` via:
GroupMemberArray{ GroupMemberArgs{...} }
type GroupMemberArrayOutput ¶ added in v0.6.0
type GroupMemberArrayOutput struct{ *pulumi.OutputState }
func (GroupMemberArrayOutput) ElementType ¶ added in v0.6.0
func (GroupMemberArrayOutput) ElementType() reflect.Type
func (GroupMemberArrayOutput) Index ¶ added in v0.6.0
func (o GroupMemberArrayOutput) Index(i pulumi.IntInput) GroupMemberOutput
func (GroupMemberArrayOutput) ToGroupMemberArrayOutput ¶ added in v0.6.0
func (o GroupMemberArrayOutput) ToGroupMemberArrayOutput() GroupMemberArrayOutput
func (GroupMemberArrayOutput) ToGroupMemberArrayOutputWithContext ¶ added in v0.6.0
func (o GroupMemberArrayOutput) ToGroupMemberArrayOutputWithContext(ctx context.Context) GroupMemberArrayOutput
type GroupMemberInput ¶ added in v0.6.0
type GroupMemberInput interface { pulumi.Input ToGroupMemberOutput() GroupMemberOutput ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput }
type GroupMemberMap ¶ added in v0.6.0
type GroupMemberMap map[string]GroupMemberInput
func (GroupMemberMap) ElementType ¶ added in v0.6.0
func (GroupMemberMap) ElementType() reflect.Type
func (GroupMemberMap) ToGroupMemberMapOutput ¶ added in v0.6.0
func (i GroupMemberMap) ToGroupMemberMapOutput() GroupMemberMapOutput
func (GroupMemberMap) ToGroupMemberMapOutputWithContext ¶ added in v0.6.0
func (i GroupMemberMap) ToGroupMemberMapOutputWithContext(ctx context.Context) GroupMemberMapOutput
type GroupMemberMapInput ¶ added in v0.6.0
type GroupMemberMapInput interface { pulumi.Input ToGroupMemberMapOutput() GroupMemberMapOutput ToGroupMemberMapOutputWithContext(context.Context) GroupMemberMapOutput }
GroupMemberMapInput is an input type that accepts GroupMemberMap and GroupMemberMapOutput values. You can construct a concrete instance of `GroupMemberMapInput` via:
GroupMemberMap{ "key": GroupMemberArgs{...} }
type GroupMemberMapOutput ¶ added in v0.6.0
type GroupMemberMapOutput struct{ *pulumi.OutputState }
func (GroupMemberMapOutput) ElementType ¶ added in v0.6.0
func (GroupMemberMapOutput) ElementType() reflect.Type
func (GroupMemberMapOutput) MapIndex ¶ added in v0.6.0
func (o GroupMemberMapOutput) MapIndex(k pulumi.StringInput) GroupMemberOutput
func (GroupMemberMapOutput) ToGroupMemberMapOutput ¶ added in v0.6.0
func (o GroupMemberMapOutput) ToGroupMemberMapOutput() GroupMemberMapOutput
func (GroupMemberMapOutput) ToGroupMemberMapOutputWithContext ¶ added in v0.6.0
func (o GroupMemberMapOutput) ToGroupMemberMapOutputWithContext(ctx context.Context) GroupMemberMapOutput
type GroupMemberOutput ¶ added in v0.6.0
type GroupMemberOutput struct{ *pulumi.OutputState }
func (GroupMemberOutput) ElementType ¶ added in v0.6.0
func (GroupMemberOutput) ElementType() reflect.Type
func (GroupMemberOutput) GroupSlug ¶ added in v0.6.0
func (o GroupMemberOutput) GroupSlug() pulumi.StringOutput
The slug of the Doppler group
func (GroupMemberOutput) ToGroupMemberOutput ¶ added in v0.6.0
func (o GroupMemberOutput) ToGroupMemberOutput() GroupMemberOutput
func (GroupMemberOutput) ToGroupMemberOutputWithContext ¶ added in v0.6.0
func (o GroupMemberOutput) ToGroupMemberOutputWithContext(ctx context.Context) GroupMemberOutput
func (GroupMemberOutput) UserSlug ¶ added in v0.6.0
func (o GroupMemberOutput) UserSlug() pulumi.StringOutput
The slug of the Doppler workplace user
type GroupMemberState ¶ added in v0.6.0
type GroupMemberState struct { // The slug of the Doppler group GroupSlug pulumi.StringPtrInput // The slug of the Doppler workplace user UserSlug pulumi.StringPtrInput }
func (GroupMemberState) ElementType ¶ added in v0.6.0
func (GroupMemberState) ElementType() reflect.Type
type GroupMembers ¶ added in v0.9.0
type GroupMembers struct { pulumi.CustomResourceState // The slug of the group GroupSlug pulumi.StringOutput `pulumi:"groupSlug"` // A list of user slugs in the group UserSlugs pulumi.StringArrayOutput `pulumi:"userSlugs"` }
Manage a Doppler group's memberships.
**Note:** The `GroupMembers` resource will clear/replace all existing memberships. Multiple `GroupMembers` resources or combinations of `GroupMembers` and `GroupMember` will produce inconsistent behavior. To non-exclusively manage group memberships, use `GroupMember` only.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { engineering, err := doppler.NewGroup(ctx, "engineering", &doppler.GroupArgs{ Name: pulumi.String("engineering"), }) if err != nil { return err } nic, err := doppler.GetUser(ctx, &doppler.GetUserArgs{ Email: "nic@doppler.com", }, nil) if err != nil { return err } andre, err := doppler.GetUser(ctx, &doppler.GetUserArgs{ Email: "andre@doppler.com", }, nil) if err != nil { return err } _, err = doppler.NewGroupMembers(ctx, "engineering", &doppler.GroupMembersArgs{ GroupSlug: engineering.Slug, UserSlugs: pulumi.StringArray{ pulumi.String(nic.Slug), pulumi.String(andre.Slug), }, }) if err != nil { return err } return nil }) }
```
## Import
import using the group slug from the URL:
https://dashboard.doppler.com/workplace/[workplace-slug]/team/groups/[group-slug]
and the user slugs from the URL:
https://dashboard.doppler.com/workplace/[workplace-slug]/team/users/[user-slug]
```sh $ pulumi import doppler:index/groupMembers:GroupMembers default <group-slug> ```
func GetGroupMembers ¶ added in v0.9.0
func GetGroupMembers(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GroupMembersState, opts ...pulumi.ResourceOption) (*GroupMembers, error)
GetGroupMembers gets an existing GroupMembers 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 NewGroupMembers ¶ added in v0.9.0
func NewGroupMembers(ctx *pulumi.Context, name string, args *GroupMembersArgs, opts ...pulumi.ResourceOption) (*GroupMembers, error)
NewGroupMembers registers a new resource with the given unique name, arguments, and options.
func (*GroupMembers) ElementType ¶ added in v0.9.0
func (*GroupMembers) ElementType() reflect.Type
func (*GroupMembers) ToGroupMembersOutput ¶ added in v0.9.0
func (i *GroupMembers) ToGroupMembersOutput() GroupMembersOutput
func (*GroupMembers) ToGroupMembersOutputWithContext ¶ added in v0.9.0
func (i *GroupMembers) ToGroupMembersOutputWithContext(ctx context.Context) GroupMembersOutput
type GroupMembersArgs ¶ added in v0.9.0
type GroupMembersArgs struct { // The slug of the group GroupSlug pulumi.StringInput // A list of user slugs in the group UserSlugs pulumi.StringArrayInput }
The set of arguments for constructing a GroupMembers resource.
func (GroupMembersArgs) ElementType ¶ added in v0.9.0
func (GroupMembersArgs) ElementType() reflect.Type
type GroupMembersArray ¶ added in v0.9.0
type GroupMembersArray []GroupMembersInput
func (GroupMembersArray) ElementType ¶ added in v0.9.0
func (GroupMembersArray) ElementType() reflect.Type
func (GroupMembersArray) ToGroupMembersArrayOutput ¶ added in v0.9.0
func (i GroupMembersArray) ToGroupMembersArrayOutput() GroupMembersArrayOutput
func (GroupMembersArray) ToGroupMembersArrayOutputWithContext ¶ added in v0.9.0
func (i GroupMembersArray) ToGroupMembersArrayOutputWithContext(ctx context.Context) GroupMembersArrayOutput
type GroupMembersArrayInput ¶ added in v0.9.0
type GroupMembersArrayInput interface { pulumi.Input ToGroupMembersArrayOutput() GroupMembersArrayOutput ToGroupMembersArrayOutputWithContext(context.Context) GroupMembersArrayOutput }
GroupMembersArrayInput is an input type that accepts GroupMembersArray and GroupMembersArrayOutput values. You can construct a concrete instance of `GroupMembersArrayInput` via:
GroupMembersArray{ GroupMembersArgs{...} }
type GroupMembersArrayOutput ¶ added in v0.9.0
type GroupMembersArrayOutput struct{ *pulumi.OutputState }
func (GroupMembersArrayOutput) ElementType ¶ added in v0.9.0
func (GroupMembersArrayOutput) ElementType() reflect.Type
func (GroupMembersArrayOutput) Index ¶ added in v0.9.0
func (o GroupMembersArrayOutput) Index(i pulumi.IntInput) GroupMembersOutput
func (GroupMembersArrayOutput) ToGroupMembersArrayOutput ¶ added in v0.9.0
func (o GroupMembersArrayOutput) ToGroupMembersArrayOutput() GroupMembersArrayOutput
func (GroupMembersArrayOutput) ToGroupMembersArrayOutputWithContext ¶ added in v0.9.0
func (o GroupMembersArrayOutput) ToGroupMembersArrayOutputWithContext(ctx context.Context) GroupMembersArrayOutput
type GroupMembersInput ¶ added in v0.9.0
type GroupMembersInput interface { pulumi.Input ToGroupMembersOutput() GroupMembersOutput ToGroupMembersOutputWithContext(ctx context.Context) GroupMembersOutput }
type GroupMembersMap ¶ added in v0.9.0
type GroupMembersMap map[string]GroupMembersInput
func (GroupMembersMap) ElementType ¶ added in v0.9.0
func (GroupMembersMap) ElementType() reflect.Type
func (GroupMembersMap) ToGroupMembersMapOutput ¶ added in v0.9.0
func (i GroupMembersMap) ToGroupMembersMapOutput() GroupMembersMapOutput
func (GroupMembersMap) ToGroupMembersMapOutputWithContext ¶ added in v0.9.0
func (i GroupMembersMap) ToGroupMembersMapOutputWithContext(ctx context.Context) GroupMembersMapOutput
type GroupMembersMapInput ¶ added in v0.9.0
type GroupMembersMapInput interface { pulumi.Input ToGroupMembersMapOutput() GroupMembersMapOutput ToGroupMembersMapOutputWithContext(context.Context) GroupMembersMapOutput }
GroupMembersMapInput is an input type that accepts GroupMembersMap and GroupMembersMapOutput values. You can construct a concrete instance of `GroupMembersMapInput` via:
GroupMembersMap{ "key": GroupMembersArgs{...} }
type GroupMembersMapOutput ¶ added in v0.9.0
type GroupMembersMapOutput struct{ *pulumi.OutputState }
func (GroupMembersMapOutput) ElementType ¶ added in v0.9.0
func (GroupMembersMapOutput) ElementType() reflect.Type
func (GroupMembersMapOutput) MapIndex ¶ added in v0.9.0
func (o GroupMembersMapOutput) MapIndex(k pulumi.StringInput) GroupMembersOutput
func (GroupMembersMapOutput) ToGroupMembersMapOutput ¶ added in v0.9.0
func (o GroupMembersMapOutput) ToGroupMembersMapOutput() GroupMembersMapOutput
func (GroupMembersMapOutput) ToGroupMembersMapOutputWithContext ¶ added in v0.9.0
func (o GroupMembersMapOutput) ToGroupMembersMapOutputWithContext(ctx context.Context) GroupMembersMapOutput
type GroupMembersOutput ¶ added in v0.9.0
type GroupMembersOutput struct{ *pulumi.OutputState }
func (GroupMembersOutput) ElementType ¶ added in v0.9.0
func (GroupMembersOutput) ElementType() reflect.Type
func (GroupMembersOutput) GroupSlug ¶ added in v0.9.0
func (o GroupMembersOutput) GroupSlug() pulumi.StringOutput
The slug of the group
func (GroupMembersOutput) ToGroupMembersOutput ¶ added in v0.9.0
func (o GroupMembersOutput) ToGroupMembersOutput() GroupMembersOutput
func (GroupMembersOutput) ToGroupMembersOutputWithContext ¶ added in v0.9.0
func (o GroupMembersOutput) ToGroupMembersOutputWithContext(ctx context.Context) GroupMembersOutput
func (GroupMembersOutput) UserSlugs ¶ added in v0.9.0
func (o GroupMembersOutput) UserSlugs() pulumi.StringArrayOutput
A list of user slugs in the group
type GroupMembersState ¶ added in v0.9.0
type GroupMembersState struct { // The slug of the group GroupSlug pulumi.StringPtrInput // A list of user slugs in the group UserSlugs pulumi.StringArrayInput }
func (GroupMembersState) ElementType ¶ added in v0.9.0
func (GroupMembersState) ElementType() reflect.Type
type GroupOutput ¶ added in v0.3.0
type GroupOutput struct{ *pulumi.OutputState }
func (GroupOutput) DefaultProjectRole ¶ added in v0.3.0
func (o GroupOutput) DefaultProjectRole() pulumi.StringPtrOutput
The default project role assigned to the group when added to a Doppler project
func (GroupOutput) ElementType ¶ added in v0.3.0
func (GroupOutput) ElementType() reflect.Type
func (GroupOutput) Name ¶ added in v0.3.0
func (o GroupOutput) Name() pulumi.StringOutput
The name of the group
func (GroupOutput) Slug ¶ added in v0.3.0
func (o GroupOutput) Slug() pulumi.StringOutput
The slug of the group
func (GroupOutput) ToGroupOutput ¶ added in v0.3.0
func (o GroupOutput) ToGroupOutput() GroupOutput
func (GroupOutput) ToGroupOutputWithContext ¶ added in v0.3.0
func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput
type GroupState ¶ added in v0.3.0
type GroupState struct { // The default project role assigned to the group when added to a Doppler project DefaultProjectRole pulumi.StringPtrInput // The name of the group Name pulumi.StringPtrInput // The slug of the group Slug pulumi.StringPtrInput }
func (GroupState) ElementType ¶ added in v0.3.0
func (GroupState) ElementType() reflect.Type
type Project ¶
type Project struct { pulumi.CustomResourceState // The description of the Doppler project Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the Doppler project Name pulumi.StringOutput `pulumi:"name"` }
Manage a Doppler project.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewProject(ctx, "backend", &doppler.ProjectArgs{ Name: pulumi.String("backend"), Description: pulumi.String("The main backend project"), }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import doppler:index/project:Project default <project-name> ```
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project 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 NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectArgs ¶
type ProjectArgs struct { // The description of the Doppler project Description pulumi.StringPtrInput // The name of the Doppler project Name pulumi.StringInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectInput ¶
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) Description ¶
func (o ProjectOutput) Description() pulumi.StringPtrOutput
The description of the Doppler project
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
The name of the Doppler project
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectRole ¶ added in v0.8.0
type ProjectRole struct { pulumi.CustomResourceState // The role's unique identifier Identifier pulumi.StringOutput `pulumi:"identifier"` // Whether or not the role is custom (as opposed to Doppler built-in) IsCustomRole pulumi.BoolOutput `pulumi:"isCustomRole"` // The name of the Doppler project role Name pulumi.StringOutput `pulumi:"name"` // A list of [Doppler project permissions](https://docs.doppler.com/reference/project_roles-create) Permissions pulumi.StringArrayOutput `pulumi:"permissions"` }
Manage a Doppler project_role.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewProjectRole(ctx, "log_viewer", &doppler.ProjectRoleArgs{ Name: pulumi.String("Log Viewer"), Permissions: pulumi.StringArray{ pulumi.String("enclave_config_logs"), }, }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import doppler:index/projectRole:ProjectRole default <project-role-identifier> ```
func GetProjectRole ¶ added in v0.8.0
func GetProjectRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectRoleState, opts ...pulumi.ResourceOption) (*ProjectRole, error)
GetProjectRole gets an existing ProjectRole 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 NewProjectRole ¶ added in v0.8.0
func NewProjectRole(ctx *pulumi.Context, name string, args *ProjectRoleArgs, opts ...pulumi.ResourceOption) (*ProjectRole, error)
NewProjectRole registers a new resource with the given unique name, arguments, and options.
func (*ProjectRole) ElementType ¶ added in v0.8.0
func (*ProjectRole) ElementType() reflect.Type
func (*ProjectRole) ToProjectRoleOutput ¶ added in v0.8.0
func (i *ProjectRole) ToProjectRoleOutput() ProjectRoleOutput
func (*ProjectRole) ToProjectRoleOutputWithContext ¶ added in v0.8.0
func (i *ProjectRole) ToProjectRoleOutputWithContext(ctx context.Context) ProjectRoleOutput
type ProjectRoleArgs ¶ added in v0.8.0
type ProjectRoleArgs struct { // The name of the Doppler project role Name pulumi.StringInput // A list of [Doppler project permissions](https://docs.doppler.com/reference/project_roles-create) Permissions pulumi.StringArrayInput }
The set of arguments for constructing a ProjectRole resource.
func (ProjectRoleArgs) ElementType ¶ added in v0.8.0
func (ProjectRoleArgs) ElementType() reflect.Type
type ProjectRoleArray ¶ added in v0.8.0
type ProjectRoleArray []ProjectRoleInput
func (ProjectRoleArray) ElementType ¶ added in v0.8.0
func (ProjectRoleArray) ElementType() reflect.Type
func (ProjectRoleArray) ToProjectRoleArrayOutput ¶ added in v0.8.0
func (i ProjectRoleArray) ToProjectRoleArrayOutput() ProjectRoleArrayOutput
func (ProjectRoleArray) ToProjectRoleArrayOutputWithContext ¶ added in v0.8.0
func (i ProjectRoleArray) ToProjectRoleArrayOutputWithContext(ctx context.Context) ProjectRoleArrayOutput
type ProjectRoleArrayInput ¶ added in v0.8.0
type ProjectRoleArrayInput interface { pulumi.Input ToProjectRoleArrayOutput() ProjectRoleArrayOutput ToProjectRoleArrayOutputWithContext(context.Context) ProjectRoleArrayOutput }
ProjectRoleArrayInput is an input type that accepts ProjectRoleArray and ProjectRoleArrayOutput values. You can construct a concrete instance of `ProjectRoleArrayInput` via:
ProjectRoleArray{ ProjectRoleArgs{...} }
type ProjectRoleArrayOutput ¶ added in v0.8.0
type ProjectRoleArrayOutput struct{ *pulumi.OutputState }
func (ProjectRoleArrayOutput) ElementType ¶ added in v0.8.0
func (ProjectRoleArrayOutput) ElementType() reflect.Type
func (ProjectRoleArrayOutput) Index ¶ added in v0.8.0
func (o ProjectRoleArrayOutput) Index(i pulumi.IntInput) ProjectRoleOutput
func (ProjectRoleArrayOutput) ToProjectRoleArrayOutput ¶ added in v0.8.0
func (o ProjectRoleArrayOutput) ToProjectRoleArrayOutput() ProjectRoleArrayOutput
func (ProjectRoleArrayOutput) ToProjectRoleArrayOutputWithContext ¶ added in v0.8.0
func (o ProjectRoleArrayOutput) ToProjectRoleArrayOutputWithContext(ctx context.Context) ProjectRoleArrayOutput
type ProjectRoleInput ¶ added in v0.8.0
type ProjectRoleInput interface { pulumi.Input ToProjectRoleOutput() ProjectRoleOutput ToProjectRoleOutputWithContext(ctx context.Context) ProjectRoleOutput }
type ProjectRoleMap ¶ added in v0.8.0
type ProjectRoleMap map[string]ProjectRoleInput
func (ProjectRoleMap) ElementType ¶ added in v0.8.0
func (ProjectRoleMap) ElementType() reflect.Type
func (ProjectRoleMap) ToProjectRoleMapOutput ¶ added in v0.8.0
func (i ProjectRoleMap) ToProjectRoleMapOutput() ProjectRoleMapOutput
func (ProjectRoleMap) ToProjectRoleMapOutputWithContext ¶ added in v0.8.0
func (i ProjectRoleMap) ToProjectRoleMapOutputWithContext(ctx context.Context) ProjectRoleMapOutput
type ProjectRoleMapInput ¶ added in v0.8.0
type ProjectRoleMapInput interface { pulumi.Input ToProjectRoleMapOutput() ProjectRoleMapOutput ToProjectRoleMapOutputWithContext(context.Context) ProjectRoleMapOutput }
ProjectRoleMapInput is an input type that accepts ProjectRoleMap and ProjectRoleMapOutput values. You can construct a concrete instance of `ProjectRoleMapInput` via:
ProjectRoleMap{ "key": ProjectRoleArgs{...} }
type ProjectRoleMapOutput ¶ added in v0.8.0
type ProjectRoleMapOutput struct{ *pulumi.OutputState }
func (ProjectRoleMapOutput) ElementType ¶ added in v0.8.0
func (ProjectRoleMapOutput) ElementType() reflect.Type
func (ProjectRoleMapOutput) MapIndex ¶ added in v0.8.0
func (o ProjectRoleMapOutput) MapIndex(k pulumi.StringInput) ProjectRoleOutput
func (ProjectRoleMapOutput) ToProjectRoleMapOutput ¶ added in v0.8.0
func (o ProjectRoleMapOutput) ToProjectRoleMapOutput() ProjectRoleMapOutput
func (ProjectRoleMapOutput) ToProjectRoleMapOutputWithContext ¶ added in v0.8.0
func (o ProjectRoleMapOutput) ToProjectRoleMapOutputWithContext(ctx context.Context) ProjectRoleMapOutput
type ProjectRoleOutput ¶ added in v0.8.0
type ProjectRoleOutput struct{ *pulumi.OutputState }
func (ProjectRoleOutput) ElementType ¶ added in v0.8.0
func (ProjectRoleOutput) ElementType() reflect.Type
func (ProjectRoleOutput) Identifier ¶ added in v0.8.0
func (o ProjectRoleOutput) Identifier() pulumi.StringOutput
The role's unique identifier
func (ProjectRoleOutput) IsCustomRole ¶ added in v0.8.0
func (o ProjectRoleOutput) IsCustomRole() pulumi.BoolOutput
Whether or not the role is custom (as opposed to Doppler built-in)
func (ProjectRoleOutput) Name ¶ added in v0.8.0
func (o ProjectRoleOutput) Name() pulumi.StringOutput
The name of the Doppler project role
func (ProjectRoleOutput) Permissions ¶ added in v0.8.0
func (o ProjectRoleOutput) Permissions() pulumi.StringArrayOutput
A list of [Doppler project permissions](https://docs.doppler.com/reference/project_roles-create)
func (ProjectRoleOutput) ToProjectRoleOutput ¶ added in v0.8.0
func (o ProjectRoleOutput) ToProjectRoleOutput() ProjectRoleOutput
func (ProjectRoleOutput) ToProjectRoleOutputWithContext ¶ added in v0.8.0
func (o ProjectRoleOutput) ToProjectRoleOutputWithContext(ctx context.Context) ProjectRoleOutput
type ProjectRoleState ¶ added in v0.8.0
type ProjectRoleState struct { // The role's unique identifier Identifier pulumi.StringPtrInput // Whether or not the role is custom (as opposed to Doppler built-in) IsCustomRole pulumi.BoolPtrInput // The name of the Doppler project role Name pulumi.StringPtrInput // A list of [Doppler project permissions](https://docs.doppler.com/reference/project_roles-create) Permissions pulumi.StringArrayInput }
func (ProjectRoleState) ElementType ¶ added in v0.8.0
func (ProjectRoleState) ElementType() reflect.Type
type ProjectState ¶
type ProjectState struct { // The description of the Doppler project Description pulumi.StringPtrInput // The name of the Doppler project Name pulumi.StringPtrInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable. DopplerToken pulumi.StringOutput `pulumi:"dopplerToken"` // The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable. Host pulumi.StringPtrOutput `pulumi:"host"` }
The provider type for the doppler package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable. DopplerToken pulumi.StringInput // The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable. Host pulumi.StringPtrInput // Whether or not to verify TLS. This can also be set via the DOPPLER_VERIFY_TLS environment variable. VerifyTls pulumi.BoolPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) DopplerToken ¶
func (o ProviderOutput) DopplerToken() pulumi.StringOutput
A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Host ¶
func (o ProviderOutput) Host() pulumi.StringPtrOutput
The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Secret ¶
type Secret struct { pulumi.CustomResourceState // The computed secret value, after resolving secret references Computed pulumi.StringOutput `pulumi:"computed"` // The name of the Doppler config Config pulumi.StringOutput `pulumi:"config"` // The name of the Doppler secret Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project Project pulumi.StringOutput `pulumi:"project"` // The raw secret value Value pulumi.StringOutput `pulumi:"value"` // The visibility of the secret Visibility pulumi.StringPtrOutput `pulumi:"visibility"` }
Manage a single Doppler secret in a config.
## Import
```sh $ pulumi import doppler:index/secret:Secret default <project-name>.<config-name>.<secret-name> ```
func GetSecret ¶
func GetSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)
GetSecret gets an existing Secret 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 NewSecret ¶
func NewSecret(ctx *pulumi.Context, name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)
NewSecret registers a new resource with the given unique name, arguments, and options.
func (*Secret) ElementType ¶
func (*Secret) ToSecretOutput ¶
func (i *Secret) ToSecretOutput() SecretOutput
func (*Secret) ToSecretOutputWithContext ¶
func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput
type SecretArgs ¶
type SecretArgs struct { // The name of the Doppler config Config pulumi.StringInput // The name of the Doppler secret Name pulumi.StringInput // The name of the Doppler project Project pulumi.StringInput // The raw secret value Value pulumi.StringInput // The visibility of the secret Visibility pulumi.StringPtrInput }
The set of arguments for constructing a Secret resource.
func (SecretArgs) ElementType ¶
func (SecretArgs) ElementType() reflect.Type
type SecretArray ¶
type SecretArray []SecretInput
func (SecretArray) ElementType ¶
func (SecretArray) ElementType() reflect.Type
func (SecretArray) ToSecretArrayOutput ¶
func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput
func (SecretArray) ToSecretArrayOutputWithContext ¶
func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretArrayInput ¶
type SecretArrayInput interface { pulumi.Input ToSecretArrayOutput() SecretArrayOutput ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput }
SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:
SecretArray{ SecretArgs{...} }
type SecretArrayOutput ¶
type SecretArrayOutput struct{ *pulumi.OutputState }
func (SecretArrayOutput) ElementType ¶
func (SecretArrayOutput) ElementType() reflect.Type
func (SecretArrayOutput) Index ¶
func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
func (SecretArrayOutput) ToSecretArrayOutput ¶
func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput
func (SecretArrayOutput) ToSecretArrayOutputWithContext ¶
func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretInput ¶
type SecretInput interface { pulumi.Input ToSecretOutput() SecretOutput ToSecretOutputWithContext(ctx context.Context) SecretOutput }
type SecretMap ¶
type SecretMap map[string]SecretInput
func (SecretMap) ElementType ¶
func (SecretMap) ToSecretMapOutput ¶
func (i SecretMap) ToSecretMapOutput() SecretMapOutput
func (SecretMap) ToSecretMapOutputWithContext ¶
func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretMapInput ¶
type SecretMapInput interface { pulumi.Input ToSecretMapOutput() SecretMapOutput ToSecretMapOutputWithContext(context.Context) SecretMapOutput }
SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:
SecretMap{ "key": SecretArgs{...} }
type SecretMapOutput ¶
type SecretMapOutput struct{ *pulumi.OutputState }
func (SecretMapOutput) ElementType ¶
func (SecretMapOutput) ElementType() reflect.Type
func (SecretMapOutput) MapIndex ¶
func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
func (SecretMapOutput) ToSecretMapOutput ¶
func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput
func (SecretMapOutput) ToSecretMapOutputWithContext ¶
func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretOutput ¶
type SecretOutput struct{ *pulumi.OutputState }
func (SecretOutput) Computed ¶
func (o SecretOutput) Computed() pulumi.StringOutput
The computed secret value, after resolving secret references
func (SecretOutput) Config ¶
func (o SecretOutput) Config() pulumi.StringOutput
The name of the Doppler config
func (SecretOutput) ElementType ¶
func (SecretOutput) ElementType() reflect.Type
func (SecretOutput) Name ¶
func (o SecretOutput) Name() pulumi.StringOutput
The name of the Doppler secret
func (SecretOutput) Project ¶
func (o SecretOutput) Project() pulumi.StringOutput
The name of the Doppler project
func (SecretOutput) ToSecretOutput ¶
func (o SecretOutput) ToSecretOutput() SecretOutput
func (SecretOutput) ToSecretOutputWithContext ¶
func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
func (SecretOutput) Visibility ¶ added in v0.2.0
func (o SecretOutput) Visibility() pulumi.StringPtrOutput
The visibility of the secret
type SecretState ¶
type SecretState struct { // The computed secret value, after resolving secret references Computed pulumi.StringPtrInput // The name of the Doppler config Config pulumi.StringPtrInput // The name of the Doppler secret Name pulumi.StringPtrInput // The name of the Doppler project Project pulumi.StringPtrInput // The raw secret value Value pulumi.StringPtrInput // The visibility of the secret Visibility pulumi.StringPtrInput }
func (SecretState) ElementType ¶
func (SecretState) ElementType() reflect.Type
type ServiceAccount ¶ added in v0.3.0
type ServiceAccount struct { pulumi.CustomResourceState // The name of the service account Name pulumi.StringOutput `pulumi:"name"` // The slug of the service account Slug pulumi.StringOutput `pulumi:"slug"` // A list of the workplace permissions for the service account (or use `workplaceRole`) WorkplacePermissions pulumi.StringArrayOutput `pulumi:"workplacePermissions"` // The identifier of the workplace role for the service account (or use `workplacePermissions`) WorkplaceRole pulumi.StringPtrOutput `pulumi:"workplaceRole"` }
Manage a Doppler service account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewServiceAccount(ctx, "ci", &doppler.ServiceAccountArgs{ Name: pulumi.String("ci"), }) if err != nil { return err } return nil }) }
```
## Import
import using the service account slug from the URL:
```sh $ pulumi import doppler:index/serviceAccount:ServiceAccount default <service-account-slug> ```
func GetServiceAccount ¶ added in v0.3.0
func GetServiceAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceAccountState, opts ...pulumi.ResourceOption) (*ServiceAccount, error)
GetServiceAccount gets an existing ServiceAccount 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 NewServiceAccount ¶ added in v0.3.0
func NewServiceAccount(ctx *pulumi.Context, name string, args *ServiceAccountArgs, opts ...pulumi.ResourceOption) (*ServiceAccount, error)
NewServiceAccount registers a new resource with the given unique name, arguments, and options.
func (*ServiceAccount) ElementType ¶ added in v0.3.0
func (*ServiceAccount) ElementType() reflect.Type
func (*ServiceAccount) ToServiceAccountOutput ¶ added in v0.3.0
func (i *ServiceAccount) ToServiceAccountOutput() ServiceAccountOutput
func (*ServiceAccount) ToServiceAccountOutputWithContext ¶ added in v0.3.0
func (i *ServiceAccount) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
type ServiceAccountArgs ¶ added in v0.3.0
type ServiceAccountArgs struct { // The name of the service account Name pulumi.StringInput // A list of the workplace permissions for the service account (or use `workplaceRole`) WorkplacePermissions pulumi.StringArrayInput // The identifier of the workplace role for the service account (or use `workplacePermissions`) WorkplaceRole pulumi.StringPtrInput }
The set of arguments for constructing a ServiceAccount resource.
func (ServiceAccountArgs) ElementType ¶ added in v0.3.0
func (ServiceAccountArgs) ElementType() reflect.Type
type ServiceAccountArray ¶ added in v0.3.0
type ServiceAccountArray []ServiceAccountInput
func (ServiceAccountArray) ElementType ¶ added in v0.3.0
func (ServiceAccountArray) ElementType() reflect.Type
func (ServiceAccountArray) ToServiceAccountArrayOutput ¶ added in v0.3.0
func (i ServiceAccountArray) ToServiceAccountArrayOutput() ServiceAccountArrayOutput
func (ServiceAccountArray) ToServiceAccountArrayOutputWithContext ¶ added in v0.3.0
func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput
type ServiceAccountArrayInput ¶ added in v0.3.0
type ServiceAccountArrayInput interface { pulumi.Input ToServiceAccountArrayOutput() ServiceAccountArrayOutput ToServiceAccountArrayOutputWithContext(context.Context) ServiceAccountArrayOutput }
ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. You can construct a concrete instance of `ServiceAccountArrayInput` via:
ServiceAccountArray{ ServiceAccountArgs{...} }
type ServiceAccountArrayOutput ¶ added in v0.3.0
type ServiceAccountArrayOutput struct{ *pulumi.OutputState }
func (ServiceAccountArrayOutput) ElementType ¶ added in v0.3.0
func (ServiceAccountArrayOutput) ElementType() reflect.Type
func (ServiceAccountArrayOutput) Index ¶ added in v0.3.0
func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput
func (ServiceAccountArrayOutput) ToServiceAccountArrayOutput ¶ added in v0.3.0
func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutput() ServiceAccountArrayOutput
func (ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext ¶ added in v0.3.0
func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx context.Context) ServiceAccountArrayOutput
type ServiceAccountInput ¶ added in v0.3.0
type ServiceAccountInput interface { pulumi.Input ToServiceAccountOutput() ServiceAccountOutput ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput }
type ServiceAccountMap ¶ added in v0.3.0
type ServiceAccountMap map[string]ServiceAccountInput
func (ServiceAccountMap) ElementType ¶ added in v0.3.0
func (ServiceAccountMap) ElementType() reflect.Type
func (ServiceAccountMap) ToServiceAccountMapOutput ¶ added in v0.3.0
func (i ServiceAccountMap) ToServiceAccountMapOutput() ServiceAccountMapOutput
func (ServiceAccountMap) ToServiceAccountMapOutputWithContext ¶ added in v0.3.0
func (i ServiceAccountMap) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput
type ServiceAccountMapInput ¶ added in v0.3.0
type ServiceAccountMapInput interface { pulumi.Input ToServiceAccountMapOutput() ServiceAccountMapOutput ToServiceAccountMapOutputWithContext(context.Context) ServiceAccountMapOutput }
ServiceAccountMapInput is an input type that accepts ServiceAccountMap and ServiceAccountMapOutput values. You can construct a concrete instance of `ServiceAccountMapInput` via:
ServiceAccountMap{ "key": ServiceAccountArgs{...} }
type ServiceAccountMapOutput ¶ added in v0.3.0
type ServiceAccountMapOutput struct{ *pulumi.OutputState }
func (ServiceAccountMapOutput) ElementType ¶ added in v0.3.0
func (ServiceAccountMapOutput) ElementType() reflect.Type
func (ServiceAccountMapOutput) MapIndex ¶ added in v0.3.0
func (o ServiceAccountMapOutput) MapIndex(k pulumi.StringInput) ServiceAccountOutput
func (ServiceAccountMapOutput) ToServiceAccountMapOutput ¶ added in v0.3.0
func (o ServiceAccountMapOutput) ToServiceAccountMapOutput() ServiceAccountMapOutput
func (ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext ¶ added in v0.3.0
func (o ServiceAccountMapOutput) ToServiceAccountMapOutputWithContext(ctx context.Context) ServiceAccountMapOutput
type ServiceAccountOutput ¶ added in v0.3.0
type ServiceAccountOutput struct{ *pulumi.OutputState }
func (ServiceAccountOutput) ElementType ¶ added in v0.3.0
func (ServiceAccountOutput) ElementType() reflect.Type
func (ServiceAccountOutput) Name ¶ added in v0.3.0
func (o ServiceAccountOutput) Name() pulumi.StringOutput
The name of the service account
func (ServiceAccountOutput) Slug ¶ added in v0.3.0
func (o ServiceAccountOutput) Slug() pulumi.StringOutput
The slug of the service account
func (ServiceAccountOutput) ToServiceAccountOutput ¶ added in v0.3.0
func (o ServiceAccountOutput) ToServiceAccountOutput() ServiceAccountOutput
func (ServiceAccountOutput) ToServiceAccountOutputWithContext ¶ added in v0.3.0
func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Context) ServiceAccountOutput
func (ServiceAccountOutput) WorkplacePermissions ¶ added in v0.3.0
func (o ServiceAccountOutput) WorkplacePermissions() pulumi.StringArrayOutput
A list of the workplace permissions for the service account (or use `workplaceRole`)
func (ServiceAccountOutput) WorkplaceRole ¶ added in v0.3.0
func (o ServiceAccountOutput) WorkplaceRole() pulumi.StringPtrOutput
The identifier of the workplace role for the service account (or use `workplacePermissions`)
type ServiceAccountState ¶ added in v0.3.0
type ServiceAccountState struct { // The name of the service account Name pulumi.StringPtrInput // The slug of the service account Slug pulumi.StringPtrInput // A list of the workplace permissions for the service account (or use `workplaceRole`) WorkplacePermissions pulumi.StringArrayInput // The identifier of the workplace role for the service account (or use `workplacePermissions`) WorkplaceRole pulumi.StringPtrInput }
func (ServiceAccountState) ElementType ¶ added in v0.3.0
func (ServiceAccountState) ElementType() reflect.Type
type ServiceAccountToken ¶ added in v0.8.0
type ServiceAccountToken struct { pulumi.CustomResourceState // The api key used to authenticate the service account ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The datetime that the token was created. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The datetime at which the API token should expire. If not provided, the API token will remain valid indefinitely unless manually revoked ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"` // The display name of the API token Name pulumi.StringOutput `pulumi:"name"` // Slug of the service account ServiceAccountSlug pulumi.StringOutput `pulumi:"serviceAccountSlug"` // Slug of the service account token Slug pulumi.StringOutput `pulumi:"slug"` }
Manage a Doppler service account token.
func GetServiceAccountToken ¶ added in v0.8.0
func GetServiceAccountToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceAccountTokenState, opts ...pulumi.ResourceOption) (*ServiceAccountToken, error)
GetServiceAccountToken gets an existing ServiceAccountToken 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 NewServiceAccountToken ¶ added in v0.8.0
func NewServiceAccountToken(ctx *pulumi.Context, name string, args *ServiceAccountTokenArgs, opts ...pulumi.ResourceOption) (*ServiceAccountToken, error)
NewServiceAccountToken registers a new resource with the given unique name, arguments, and options.
func (*ServiceAccountToken) ElementType ¶ added in v0.8.0
func (*ServiceAccountToken) ElementType() reflect.Type
func (*ServiceAccountToken) ToServiceAccountTokenOutput ¶ added in v0.8.0
func (i *ServiceAccountToken) ToServiceAccountTokenOutput() ServiceAccountTokenOutput
func (*ServiceAccountToken) ToServiceAccountTokenOutputWithContext ¶ added in v0.8.0
func (i *ServiceAccountToken) ToServiceAccountTokenOutputWithContext(ctx context.Context) ServiceAccountTokenOutput
type ServiceAccountTokenArgs ¶ added in v0.8.0
type ServiceAccountTokenArgs struct { // The datetime at which the API token should expire. If not provided, the API token will remain valid indefinitely unless manually revoked ExpiresAt pulumi.StringPtrInput // The display name of the API token Name pulumi.StringInput // Slug of the service account ServiceAccountSlug pulumi.StringInput }
The set of arguments for constructing a ServiceAccountToken resource.
func (ServiceAccountTokenArgs) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenArgs) ElementType() reflect.Type
type ServiceAccountTokenArray ¶ added in v0.8.0
type ServiceAccountTokenArray []ServiceAccountTokenInput
func (ServiceAccountTokenArray) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenArray) ElementType() reflect.Type
func (ServiceAccountTokenArray) ToServiceAccountTokenArrayOutput ¶ added in v0.8.0
func (i ServiceAccountTokenArray) ToServiceAccountTokenArrayOutput() ServiceAccountTokenArrayOutput
func (ServiceAccountTokenArray) ToServiceAccountTokenArrayOutputWithContext ¶ added in v0.8.0
func (i ServiceAccountTokenArray) ToServiceAccountTokenArrayOutputWithContext(ctx context.Context) ServiceAccountTokenArrayOutput
type ServiceAccountTokenArrayInput ¶ added in v0.8.0
type ServiceAccountTokenArrayInput interface { pulumi.Input ToServiceAccountTokenArrayOutput() ServiceAccountTokenArrayOutput ToServiceAccountTokenArrayOutputWithContext(context.Context) ServiceAccountTokenArrayOutput }
ServiceAccountTokenArrayInput is an input type that accepts ServiceAccountTokenArray and ServiceAccountTokenArrayOutput values. You can construct a concrete instance of `ServiceAccountTokenArrayInput` via:
ServiceAccountTokenArray{ ServiceAccountTokenArgs{...} }
type ServiceAccountTokenArrayOutput ¶ added in v0.8.0
type ServiceAccountTokenArrayOutput struct{ *pulumi.OutputState }
func (ServiceAccountTokenArrayOutput) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenArrayOutput) ElementType() reflect.Type
func (ServiceAccountTokenArrayOutput) Index ¶ added in v0.8.0
func (o ServiceAccountTokenArrayOutput) Index(i pulumi.IntInput) ServiceAccountTokenOutput
func (ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutput ¶ added in v0.8.0
func (o ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutput() ServiceAccountTokenArrayOutput
func (ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutputWithContext ¶ added in v0.8.0
func (o ServiceAccountTokenArrayOutput) ToServiceAccountTokenArrayOutputWithContext(ctx context.Context) ServiceAccountTokenArrayOutput
type ServiceAccountTokenInput ¶ added in v0.8.0
type ServiceAccountTokenInput interface { pulumi.Input ToServiceAccountTokenOutput() ServiceAccountTokenOutput ToServiceAccountTokenOutputWithContext(ctx context.Context) ServiceAccountTokenOutput }
type ServiceAccountTokenMap ¶ added in v0.8.0
type ServiceAccountTokenMap map[string]ServiceAccountTokenInput
func (ServiceAccountTokenMap) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenMap) ElementType() reflect.Type
func (ServiceAccountTokenMap) ToServiceAccountTokenMapOutput ¶ added in v0.8.0
func (i ServiceAccountTokenMap) ToServiceAccountTokenMapOutput() ServiceAccountTokenMapOutput
func (ServiceAccountTokenMap) ToServiceAccountTokenMapOutputWithContext ¶ added in v0.8.0
func (i ServiceAccountTokenMap) ToServiceAccountTokenMapOutputWithContext(ctx context.Context) ServiceAccountTokenMapOutput
type ServiceAccountTokenMapInput ¶ added in v0.8.0
type ServiceAccountTokenMapInput interface { pulumi.Input ToServiceAccountTokenMapOutput() ServiceAccountTokenMapOutput ToServiceAccountTokenMapOutputWithContext(context.Context) ServiceAccountTokenMapOutput }
ServiceAccountTokenMapInput is an input type that accepts ServiceAccountTokenMap and ServiceAccountTokenMapOutput values. You can construct a concrete instance of `ServiceAccountTokenMapInput` via:
ServiceAccountTokenMap{ "key": ServiceAccountTokenArgs{...} }
type ServiceAccountTokenMapOutput ¶ added in v0.8.0
type ServiceAccountTokenMapOutput struct{ *pulumi.OutputState }
func (ServiceAccountTokenMapOutput) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenMapOutput) ElementType() reflect.Type
func (ServiceAccountTokenMapOutput) MapIndex ¶ added in v0.8.0
func (o ServiceAccountTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceAccountTokenOutput
func (ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutput ¶ added in v0.8.0
func (o ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutput() ServiceAccountTokenMapOutput
func (ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutputWithContext ¶ added in v0.8.0
func (o ServiceAccountTokenMapOutput) ToServiceAccountTokenMapOutputWithContext(ctx context.Context) ServiceAccountTokenMapOutput
type ServiceAccountTokenOutput ¶ added in v0.8.0
type ServiceAccountTokenOutput struct{ *pulumi.OutputState }
func (ServiceAccountTokenOutput) ApiKey ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) ApiKey() pulumi.StringOutput
The api key used to authenticate the service account
func (ServiceAccountTokenOutput) CreatedAt ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) CreatedAt() pulumi.StringOutput
The datetime that the token was created.
func (ServiceAccountTokenOutput) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenOutput) ElementType() reflect.Type
func (ServiceAccountTokenOutput) ExpiresAt ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) ExpiresAt() pulumi.StringPtrOutput
The datetime at which the API token should expire. If not provided, the API token will remain valid indefinitely unless manually revoked
func (ServiceAccountTokenOutput) Name ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) Name() pulumi.StringOutput
The display name of the API token
func (ServiceAccountTokenOutput) ServiceAccountSlug ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) ServiceAccountSlug() pulumi.StringOutput
Slug of the service account
func (ServiceAccountTokenOutput) Slug ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) Slug() pulumi.StringOutput
Slug of the service account token
func (ServiceAccountTokenOutput) ToServiceAccountTokenOutput ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) ToServiceAccountTokenOutput() ServiceAccountTokenOutput
func (ServiceAccountTokenOutput) ToServiceAccountTokenOutputWithContext ¶ added in v0.8.0
func (o ServiceAccountTokenOutput) ToServiceAccountTokenOutputWithContext(ctx context.Context) ServiceAccountTokenOutput
type ServiceAccountTokenState ¶ added in v0.8.0
type ServiceAccountTokenState struct { // The api key used to authenticate the service account ApiKey pulumi.StringPtrInput // The datetime that the token was created. CreatedAt pulumi.StringPtrInput // The datetime at which the API token should expire. If not provided, the API token will remain valid indefinitely unless manually revoked ExpiresAt pulumi.StringPtrInput // The display name of the API token Name pulumi.StringPtrInput // Slug of the service account ServiceAccountSlug pulumi.StringPtrInput // Slug of the service account token Slug pulumi.StringPtrInput }
func (ServiceAccountTokenState) ElementType ¶ added in v0.8.0
func (ServiceAccountTokenState) ElementType() reflect.Type
type ServiceToken ¶
type ServiceToken struct { pulumi.CustomResourceState // The access level (read or read/write) Access pulumi.StringPtrOutput `pulumi:"access"` // The name of the Doppler config where the service token is located Config pulumi.StringOutput `pulumi:"config"` // The key for the Doppler service token Key pulumi.StringOutput `pulumi:"key"` // The name of the Doppler service token Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project where the service token is located Project pulumi.StringOutput `pulumi:"project"` }
Manage a Doppler service token.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewServiceToken(ctx, "backend_ci_token", &doppler.ServiceTokenArgs{ Project: pulumi.String("backend"), Config: pulumi.String("ci"), Name: pulumi.String("Builder Token"), Access: pulumi.String("read"), }) if err != nil { return err } return nil }) }
```
func GetServiceToken ¶
func GetServiceToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceTokenState, opts ...pulumi.ResourceOption) (*ServiceToken, error)
GetServiceToken gets an existing ServiceToken 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 NewServiceToken ¶
func NewServiceToken(ctx *pulumi.Context, name string, args *ServiceTokenArgs, opts ...pulumi.ResourceOption) (*ServiceToken, error)
NewServiceToken registers a new resource with the given unique name, arguments, and options.
func (*ServiceToken) ElementType ¶
func (*ServiceToken) ElementType() reflect.Type
func (*ServiceToken) ToServiceTokenOutput ¶
func (i *ServiceToken) ToServiceTokenOutput() ServiceTokenOutput
func (*ServiceToken) ToServiceTokenOutputWithContext ¶
func (i *ServiceToken) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
type ServiceTokenArgs ¶
type ServiceTokenArgs struct { // The access level (read or read/write) Access pulumi.StringPtrInput // The name of the Doppler config where the service token is located Config pulumi.StringInput // The name of the Doppler service token Name pulumi.StringInput // The name of the Doppler project where the service token is located Project pulumi.StringInput }
The set of arguments for constructing a ServiceToken resource.
func (ServiceTokenArgs) ElementType ¶
func (ServiceTokenArgs) ElementType() reflect.Type
type ServiceTokenArray ¶
type ServiceTokenArray []ServiceTokenInput
func (ServiceTokenArray) ElementType ¶
func (ServiceTokenArray) ElementType() reflect.Type
func (ServiceTokenArray) ToServiceTokenArrayOutput ¶
func (i ServiceTokenArray) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
func (ServiceTokenArray) ToServiceTokenArrayOutputWithContext ¶
func (i ServiceTokenArray) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
type ServiceTokenArrayInput ¶
type ServiceTokenArrayInput interface { pulumi.Input ToServiceTokenArrayOutput() ServiceTokenArrayOutput ToServiceTokenArrayOutputWithContext(context.Context) ServiceTokenArrayOutput }
ServiceTokenArrayInput is an input type that accepts ServiceTokenArray and ServiceTokenArrayOutput values. You can construct a concrete instance of `ServiceTokenArrayInput` via:
ServiceTokenArray{ ServiceTokenArgs{...} }
type ServiceTokenArrayOutput ¶
type ServiceTokenArrayOutput struct{ *pulumi.OutputState }
func (ServiceTokenArrayOutput) ElementType ¶
func (ServiceTokenArrayOutput) ElementType() reflect.Type
func (ServiceTokenArrayOutput) Index ¶
func (o ServiceTokenArrayOutput) Index(i pulumi.IntInput) ServiceTokenOutput
func (ServiceTokenArrayOutput) ToServiceTokenArrayOutput ¶
func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
func (ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext ¶
func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
type ServiceTokenInput ¶
type ServiceTokenInput interface { pulumi.Input ToServiceTokenOutput() ServiceTokenOutput ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput }
type ServiceTokenMap ¶
type ServiceTokenMap map[string]ServiceTokenInput
func (ServiceTokenMap) ElementType ¶
func (ServiceTokenMap) ElementType() reflect.Type
func (ServiceTokenMap) ToServiceTokenMapOutput ¶
func (i ServiceTokenMap) ToServiceTokenMapOutput() ServiceTokenMapOutput
func (ServiceTokenMap) ToServiceTokenMapOutputWithContext ¶
func (i ServiceTokenMap) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
type ServiceTokenMapInput ¶
type ServiceTokenMapInput interface { pulumi.Input ToServiceTokenMapOutput() ServiceTokenMapOutput ToServiceTokenMapOutputWithContext(context.Context) ServiceTokenMapOutput }
ServiceTokenMapInput is an input type that accepts ServiceTokenMap and ServiceTokenMapOutput values. You can construct a concrete instance of `ServiceTokenMapInput` via:
ServiceTokenMap{ "key": ServiceTokenArgs{...} }
type ServiceTokenMapOutput ¶
type ServiceTokenMapOutput struct{ *pulumi.OutputState }
func (ServiceTokenMapOutput) ElementType ¶
func (ServiceTokenMapOutput) ElementType() reflect.Type
func (ServiceTokenMapOutput) MapIndex ¶
func (o ServiceTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceTokenOutput
func (ServiceTokenMapOutput) ToServiceTokenMapOutput ¶
func (o ServiceTokenMapOutput) ToServiceTokenMapOutput() ServiceTokenMapOutput
func (ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext ¶
func (o ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
type ServiceTokenOutput ¶
type ServiceTokenOutput struct{ *pulumi.OutputState }
func (ServiceTokenOutput) Access ¶
func (o ServiceTokenOutput) Access() pulumi.StringPtrOutput
The access level (read or read/write)
func (ServiceTokenOutput) Config ¶
func (o ServiceTokenOutput) Config() pulumi.StringOutput
The name of the Doppler config where the service token is located
func (ServiceTokenOutput) ElementType ¶
func (ServiceTokenOutput) ElementType() reflect.Type
func (ServiceTokenOutput) Key ¶
func (o ServiceTokenOutput) Key() pulumi.StringOutput
The key for the Doppler service token
func (ServiceTokenOutput) Name ¶
func (o ServiceTokenOutput) Name() pulumi.StringOutput
The name of the Doppler service token
func (ServiceTokenOutput) Project ¶
func (o ServiceTokenOutput) Project() pulumi.StringOutput
The name of the Doppler project where the service token is located
func (ServiceTokenOutput) ToServiceTokenOutput ¶
func (o ServiceTokenOutput) ToServiceTokenOutput() ServiceTokenOutput
func (ServiceTokenOutput) ToServiceTokenOutputWithContext ¶
func (o ServiceTokenOutput) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
type ServiceTokenState ¶
type ServiceTokenState struct { // The access level (read or read/write) Access pulumi.StringPtrInput // The name of the Doppler config where the service token is located Config pulumi.StringPtrInput // The key for the Doppler service token Key pulumi.StringPtrInput // The name of the Doppler service token Name pulumi.StringPtrInput // The name of the Doppler project where the service token is located Project pulumi.StringPtrInput }
func (ServiceTokenState) ElementType ¶
func (ServiceTokenState) ElementType() reflect.Type
type Webhook ¶ added in v0.8.0
type Webhook struct { pulumi.CustomResourceState // Authentication method used by the webhook Authentication WebhookAuthenticationPtrOutput `pulumi:"authentication"` // Whether the webhook is enabled or disabled. Default to true. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Configs this webhook will trigger for EnabledConfigs pulumi.StringArrayOutput `pulumi:"enabledConfigs"` // The webhook's payload as a JSON string. Leave empty to use the default webhook payload Payload pulumi.StringPtrOutput `pulumi:"payload"` // The name of the Doppler project where the webhook is located Project pulumi.StringOutput `pulumi:"project"` // Secret used for request signing Secret pulumi.StringPtrOutput `pulumi:"secret"` // The slug of the Webhook Slug pulumi.StringOutput `pulumi:"slug"` // The URL of the webhook endpoint Url pulumi.StringOutput `pulumi:"url"` }
func GetWebhook ¶ added in v0.8.0
func GetWebhook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebhookState, opts ...pulumi.ResourceOption) (*Webhook, error)
GetWebhook gets an existing Webhook 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 NewWebhook ¶ added in v0.8.0
func NewWebhook(ctx *pulumi.Context, name string, args *WebhookArgs, opts ...pulumi.ResourceOption) (*Webhook, error)
NewWebhook registers a new resource with the given unique name, arguments, and options.
func (*Webhook) ElementType ¶ added in v0.8.0
func (*Webhook) ToWebhookOutput ¶ added in v0.8.0
func (i *Webhook) ToWebhookOutput() WebhookOutput
func (*Webhook) ToWebhookOutputWithContext ¶ added in v0.8.0
func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
type WebhookArgs ¶ added in v0.8.0
type WebhookArgs struct { // Authentication method used by the webhook Authentication WebhookAuthenticationPtrInput // Whether the webhook is enabled or disabled. Default to true. Enabled pulumi.BoolPtrInput // Configs this webhook will trigger for EnabledConfigs pulumi.StringArrayInput // The webhook's payload as a JSON string. Leave empty to use the default webhook payload Payload pulumi.StringPtrInput // The name of the Doppler project where the webhook is located Project pulumi.StringInput // Secret used for request signing Secret pulumi.StringPtrInput // The URL of the webhook endpoint Url pulumi.StringInput }
The set of arguments for constructing a Webhook resource.
func (WebhookArgs) ElementType ¶ added in v0.8.0
func (WebhookArgs) ElementType() reflect.Type
type WebhookArray ¶ added in v0.8.0
type WebhookArray []WebhookInput
func (WebhookArray) ElementType ¶ added in v0.8.0
func (WebhookArray) ElementType() reflect.Type
func (WebhookArray) ToWebhookArrayOutput ¶ added in v0.8.0
func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArray) ToWebhookArrayOutputWithContext ¶ added in v0.8.0
func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookArrayInput ¶ added in v0.8.0
type WebhookArrayInput interface { pulumi.Input ToWebhookArrayOutput() WebhookArrayOutput ToWebhookArrayOutputWithContext(context.Context) WebhookArrayOutput }
WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. You can construct a concrete instance of `WebhookArrayInput` via:
WebhookArray{ WebhookArgs{...} }
type WebhookArrayOutput ¶ added in v0.8.0
type WebhookArrayOutput struct{ *pulumi.OutputState }
func (WebhookArrayOutput) ElementType ¶ added in v0.8.0
func (WebhookArrayOutput) ElementType() reflect.Type
func (WebhookArrayOutput) Index ¶ added in v0.8.0
func (o WebhookArrayOutput) Index(i pulumi.IntInput) WebhookOutput
func (WebhookArrayOutput) ToWebhookArrayOutput ¶ added in v0.8.0
func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArrayOutput) ToWebhookArrayOutputWithContext ¶ added in v0.8.0
func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookAuthentication ¶ added in v0.8.0
type WebhookAuthenticationArgs ¶ added in v0.8.0
type WebhookAuthenticationArgs struct { Password pulumi.StringPtrInput `pulumi:"password"` Token pulumi.StringPtrInput `pulumi:"token"` Type pulumi.StringInput `pulumi:"type"` Username pulumi.StringPtrInput `pulumi:"username"` }
func (WebhookAuthenticationArgs) ElementType ¶ added in v0.8.0
func (WebhookAuthenticationArgs) ElementType() reflect.Type
func (WebhookAuthenticationArgs) ToWebhookAuthenticationOutput ¶ added in v0.8.0
func (i WebhookAuthenticationArgs) ToWebhookAuthenticationOutput() WebhookAuthenticationOutput
func (WebhookAuthenticationArgs) ToWebhookAuthenticationOutputWithContext ¶ added in v0.8.0
func (i WebhookAuthenticationArgs) ToWebhookAuthenticationOutputWithContext(ctx context.Context) WebhookAuthenticationOutput
func (WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutput ¶ added in v0.8.0
func (i WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
func (WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutputWithContext ¶ added in v0.8.0
func (i WebhookAuthenticationArgs) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
type WebhookAuthenticationInput ¶ added in v0.8.0
type WebhookAuthenticationInput interface { pulumi.Input ToWebhookAuthenticationOutput() WebhookAuthenticationOutput ToWebhookAuthenticationOutputWithContext(context.Context) WebhookAuthenticationOutput }
WebhookAuthenticationInput is an input type that accepts WebhookAuthenticationArgs and WebhookAuthenticationOutput values. You can construct a concrete instance of `WebhookAuthenticationInput` via:
WebhookAuthenticationArgs{...}
type WebhookAuthenticationOutput ¶ added in v0.8.0
type WebhookAuthenticationOutput struct{ *pulumi.OutputState }
func (WebhookAuthenticationOutput) ElementType ¶ added in v0.8.0
func (WebhookAuthenticationOutput) ElementType() reflect.Type
func (WebhookAuthenticationOutput) Password ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) Password() pulumi.StringPtrOutput
func (WebhookAuthenticationOutput) ToWebhookAuthenticationOutput ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) ToWebhookAuthenticationOutput() WebhookAuthenticationOutput
func (WebhookAuthenticationOutput) ToWebhookAuthenticationOutputWithContext ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) ToWebhookAuthenticationOutputWithContext(ctx context.Context) WebhookAuthenticationOutput
func (WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutput ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
func (WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutputWithContext ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
func (WebhookAuthenticationOutput) Token ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) Token() pulumi.StringPtrOutput
func (WebhookAuthenticationOutput) Type ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) Type() pulumi.StringOutput
func (WebhookAuthenticationOutput) Username ¶ added in v0.8.0
func (o WebhookAuthenticationOutput) Username() pulumi.StringPtrOutput
type WebhookAuthenticationPtrInput ¶ added in v0.8.0
type WebhookAuthenticationPtrInput interface { pulumi.Input ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput ToWebhookAuthenticationPtrOutputWithContext(context.Context) WebhookAuthenticationPtrOutput }
WebhookAuthenticationPtrInput is an input type that accepts WebhookAuthenticationArgs, WebhookAuthenticationPtr and WebhookAuthenticationPtrOutput values. You can construct a concrete instance of `WebhookAuthenticationPtrInput` via:
WebhookAuthenticationArgs{...} or: nil
func WebhookAuthenticationPtr ¶ added in v0.8.0
func WebhookAuthenticationPtr(v *WebhookAuthenticationArgs) WebhookAuthenticationPtrInput
type WebhookAuthenticationPtrOutput ¶ added in v0.8.0
type WebhookAuthenticationPtrOutput struct{ *pulumi.OutputState }
func (WebhookAuthenticationPtrOutput) Elem ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) Elem() WebhookAuthenticationOutput
func (WebhookAuthenticationPtrOutput) ElementType ¶ added in v0.8.0
func (WebhookAuthenticationPtrOutput) ElementType() reflect.Type
func (WebhookAuthenticationPtrOutput) Password ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) Password() pulumi.StringPtrOutput
func (WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutput ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutput() WebhookAuthenticationPtrOutput
func (WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutputWithContext ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) ToWebhookAuthenticationPtrOutputWithContext(ctx context.Context) WebhookAuthenticationPtrOutput
func (WebhookAuthenticationPtrOutput) Token ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) Token() pulumi.StringPtrOutput
func (WebhookAuthenticationPtrOutput) Type ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) Type() pulumi.StringPtrOutput
func (WebhookAuthenticationPtrOutput) Username ¶ added in v0.8.0
func (o WebhookAuthenticationPtrOutput) Username() pulumi.StringPtrOutput
type WebhookInput ¶ added in v0.8.0
type WebhookInput interface { pulumi.Input ToWebhookOutput() WebhookOutput ToWebhookOutputWithContext(ctx context.Context) WebhookOutput }
type WebhookMap ¶ added in v0.8.0
type WebhookMap map[string]WebhookInput
func (WebhookMap) ElementType ¶ added in v0.8.0
func (WebhookMap) ElementType() reflect.Type
func (WebhookMap) ToWebhookMapOutput ¶ added in v0.8.0
func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMap) ToWebhookMapOutputWithContext ¶ added in v0.8.0
func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookMapInput ¶ added in v0.8.0
type WebhookMapInput interface { pulumi.Input ToWebhookMapOutput() WebhookMapOutput ToWebhookMapOutputWithContext(context.Context) WebhookMapOutput }
WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. You can construct a concrete instance of `WebhookMapInput` via:
WebhookMap{ "key": WebhookArgs{...} }
type WebhookMapOutput ¶ added in v0.8.0
type WebhookMapOutput struct{ *pulumi.OutputState }
func (WebhookMapOutput) ElementType ¶ added in v0.8.0
func (WebhookMapOutput) ElementType() reflect.Type
func (WebhookMapOutput) MapIndex ¶ added in v0.8.0
func (o WebhookMapOutput) MapIndex(k pulumi.StringInput) WebhookOutput
func (WebhookMapOutput) ToWebhookMapOutput ¶ added in v0.8.0
func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMapOutput) ToWebhookMapOutputWithContext ¶ added in v0.8.0
func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookOutput ¶ added in v0.8.0
type WebhookOutput struct{ *pulumi.OutputState }
func (WebhookOutput) Authentication ¶ added in v0.8.0
func (o WebhookOutput) Authentication() WebhookAuthenticationPtrOutput
Authentication method used by the webhook
func (WebhookOutput) ElementType ¶ added in v0.8.0
func (WebhookOutput) ElementType() reflect.Type
func (WebhookOutput) Enabled ¶ added in v0.8.0
func (o WebhookOutput) Enabled() pulumi.BoolPtrOutput
Whether the webhook is enabled or disabled. Default to true.
func (WebhookOutput) EnabledConfigs ¶ added in v0.8.0
func (o WebhookOutput) EnabledConfigs() pulumi.StringArrayOutput
Configs this webhook will trigger for
func (WebhookOutput) Payload ¶ added in v0.8.0
func (o WebhookOutput) Payload() pulumi.StringPtrOutput
The webhook's payload as a JSON string. Leave empty to use the default webhook payload
func (WebhookOutput) Project ¶ added in v0.8.0
func (o WebhookOutput) Project() pulumi.StringOutput
The name of the Doppler project where the webhook is located
func (WebhookOutput) Secret ¶ added in v0.8.0
func (o WebhookOutput) Secret() pulumi.StringPtrOutput
Secret used for request signing
func (WebhookOutput) Slug ¶ added in v0.8.0
func (o WebhookOutput) Slug() pulumi.StringOutput
The slug of the Webhook
func (WebhookOutput) ToWebhookOutput ¶ added in v0.8.0
func (o WebhookOutput) ToWebhookOutput() WebhookOutput
func (WebhookOutput) ToWebhookOutputWithContext ¶ added in v0.8.0
func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
func (WebhookOutput) Url ¶ added in v0.8.0
func (o WebhookOutput) Url() pulumi.StringOutput
The URL of the webhook endpoint
type WebhookState ¶ added in v0.8.0
type WebhookState struct { // Authentication method used by the webhook Authentication WebhookAuthenticationPtrInput // Whether the webhook is enabled or disabled. Default to true. Enabled pulumi.BoolPtrInput // Configs this webhook will trigger for EnabledConfigs pulumi.StringArrayInput // The webhook's payload as a JSON string. Leave empty to use the default webhook payload Payload pulumi.StringPtrInput // The name of the Doppler project where the webhook is located Project pulumi.StringPtrInput // Secret used for request signing Secret pulumi.StringPtrInput // The slug of the Webhook Slug pulumi.StringPtrInput // The URL of the webhook endpoint Url pulumi.StringPtrInput }
func (WebhookState) ElementType ¶ added in v0.8.0
func (WebhookState) ElementType() reflect.Type