Documentation
¶
Index ¶
- type VariableGroupdeprecated
- type VariableGroupArgs
- type VariableGroupArray
- type VariableGroupArrayInput
- type VariableGroupArrayOutput
- func (VariableGroupArrayOutput) ElementType() reflect.Type
- func (o VariableGroupArrayOutput) Index(i pulumi.IntInput) VariableGroupOutput
- func (o VariableGroupArrayOutput) ToVariableGroupArrayOutput() VariableGroupArrayOutput
- func (o VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput
- type VariableGroupInput
- type VariableGroupKeyVault
- type VariableGroupKeyVaultArgs
- func (VariableGroupKeyVaultArgs) ElementType() reflect.Type
- func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput
- func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput
- func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
- func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
- type VariableGroupKeyVaultInput
- type VariableGroupKeyVaultOutput
- func (VariableGroupKeyVaultOutput) ElementType() reflect.Type
- func (o VariableGroupKeyVaultOutput) Name() pulumi.StringOutput
- func (o VariableGroupKeyVaultOutput) SearchDepth() pulumi.IntPtrOutput
- func (o VariableGroupKeyVaultOutput) ServiceEndpointId() pulumi.StringOutput
- func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput
- func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput
- func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
- func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
- type VariableGroupKeyVaultPtrInput
- type VariableGroupKeyVaultPtrOutput
- func (o VariableGroupKeyVaultPtrOutput) Elem() VariableGroupKeyVaultOutput
- func (VariableGroupKeyVaultPtrOutput) ElementType() reflect.Type
- func (o VariableGroupKeyVaultPtrOutput) Name() pulumi.StringPtrOutput
- func (o VariableGroupKeyVaultPtrOutput) SearchDepth() pulumi.IntPtrOutput
- func (o VariableGroupKeyVaultPtrOutput) ServiceEndpointId() pulumi.StringPtrOutput
- func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
- func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
- type VariableGroupMap
- type VariableGroupMapInput
- type VariableGroupMapOutput
- func (VariableGroupMapOutput) ElementType() reflect.Type
- func (o VariableGroupMapOutput) MapIndex(k pulumi.StringInput) VariableGroupOutput
- func (o VariableGroupMapOutput) ToVariableGroupMapOutput() VariableGroupMapOutput
- func (o VariableGroupMapOutput) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput
- type VariableGroupOutput
- func (o VariableGroupOutput) AllowAccess() pulumi.BoolPtrOutput
- func (o VariableGroupOutput) Description() pulumi.StringPtrOutput
- func (VariableGroupOutput) ElementType() reflect.Type
- func (o VariableGroupOutput) KeyVault() VariableGroupKeyVaultPtrOutput
- func (o VariableGroupOutput) Name() pulumi.StringOutput
- func (o VariableGroupOutput) ProjectId() pulumi.StringOutput
- func (o VariableGroupOutput) ToVariableGroupOutput() VariableGroupOutput
- func (o VariableGroupOutput) ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput
- func (o VariableGroupOutput) Variables() VariableGroupVariableArrayOutput
- type VariableGroupState
- type VariableGroupVariable
- type VariableGroupVariableArgs
- type VariableGroupVariableArray
- func (VariableGroupVariableArray) ElementType() reflect.Type
- func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput
- func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutputWithContext(ctx context.Context) VariableGroupVariableArrayOutput
- type VariableGroupVariableArrayInput
- type VariableGroupVariableArrayOutput
- func (VariableGroupVariableArrayOutput) ElementType() reflect.Type
- func (o VariableGroupVariableArrayOutput) Index(i pulumi.IntInput) VariableGroupVariableOutput
- func (o VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput
- func (o VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutputWithContext(ctx context.Context) VariableGroupVariableArrayOutput
- type VariableGroupVariableInput
- type VariableGroupVariableOutput
- func (o VariableGroupVariableOutput) ContentType() pulumi.StringPtrOutput
- func (VariableGroupVariableOutput) ElementType() reflect.Type
- func (o VariableGroupVariableOutput) Enabled() pulumi.BoolPtrOutput
- func (o VariableGroupVariableOutput) Expires() pulumi.StringPtrOutput
- func (o VariableGroupVariableOutput) GetIsSecret() pulumi.BoolPtrOutput
- func (o VariableGroupVariableOutput) Name() pulumi.StringOutput
- func (o VariableGroupVariableOutput) SecretValue() pulumi.StringPtrOutput
- func (o VariableGroupVariableOutput) ToVariableGroupVariableOutput() VariableGroupVariableOutput
- func (o VariableGroupVariableOutput) ToVariableGroupVariableOutputWithContext(ctx context.Context) VariableGroupVariableOutput
- func (o VariableGroupVariableOutput) Value() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VariableGroup
deprecated
type VariableGroup struct { pulumi.CustomResourceState // Boolean that indicate if this variable group is shared by all pipelines of this project. AllowAccess pulumi.BoolPtrOutput `pulumi:"allowAccess"` // The description of the Variable Group. Description pulumi.StringPtrOutput `pulumi:"description"` // A list of `keyVault` blocks as documented below. KeyVault VariableGroupKeyVaultPtrOutput `pulumi:"keyVault"` // The name of the Variable Group. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project. ProjectId pulumi.StringOutput `pulumi:"projectId"` // One or more `variable` blocks as documented below. Variables VariableGroupVariableArrayOutput `pulumi:"variables"` }
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{ WorkItemTemplate: pulumi.String("Agile"), VersionControl: pulumi.String("Git"), Visibility: pulumi.String("private"), Description: pulumi.String("Managed by Terraform"), }) if err != nil { return err } _, err = azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{ ProjectId: exampleProject.ID(), Description: pulumi.String("Example Variable Group Description"), AllowAccess: pulumi.Bool(true), Variables: azuredevops.VariableGroupVariableArray{ &azuredevops.VariableGroupVariableArgs{ Name: pulumi.String("key1"), Value: pulumi.String("val1"), }, &azuredevops.VariableGroupVariableArgs{ Name: pulumi.String("key2"), SecretValue: pulumi.String("val2"), IsSecret: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
### With AzureRM Key Vault
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{ WorkItemTemplate: pulumi.String("Agile"), VersionControl: pulumi.String("Git"), Visibility: pulumi.String("private"), Description: pulumi.String("Managed by Terraform"), }) if err != nil { return err } exampleServiceEndpointAzureRM, err := azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{ ProjectId: exampleProject.ID(), ServiceEndpointName: pulumi.String("Example AzureRM"), Description: pulumi.String("Managed by Terraform"), Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{ Serviceprincipalid: pulumi.String("00000000-0000-0000-0000-000000000000"), Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"), }, AzurermSpnTenantid: pulumi.String("00000000-0000-0000-0000-000000000000"), AzurermSubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"), AzurermSubscriptionName: pulumi.String("Example Subscription Name"), }) if err != nil { return err } _, err = azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{ ProjectId: exampleProject.ID(), Description: pulumi.String("Example Variable Group Description"), AllowAccess: pulumi.Bool(true), KeyVault: &azuredevops.VariableGroupKeyVaultArgs{ Name: pulumi.String("example-kv"), ServiceEndpointId: exampleServiceEndpointAzureRM.ID(), }, Variables: azuredevops.VariableGroupVariableArray{ &azuredevops.VariableGroupVariableArgs{ Name: pulumi.String("key1"), }, &azuredevops.VariableGroupVariableArgs{ Name: pulumi.String("key2"), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Relevant Links
- [Azure DevOps Service REST API 7.0 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-7.0) - [Azure DevOps Service REST API 7.0 - Authorized Resources](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/authorizedresources?view=azure-devops-rest-7.0)
## PAT Permissions Required
- **Variable Groups**: Read, Create, & Manage - **Build**: Read & execute - **Project and Team**: Read - **Token Administration**: Read & manage - **Tokens**: Read & manage - **Work Items**: Read
## Import
**Variable groups containing secret values cannot be imported.**
Azure DevOps Variable groups can be imported using the project name/variable group ID or by the project Guid/variable group ID, e.g.
```sh $ pulumi import azuredevops:Pipeline/variableGroup:VariableGroup example "Example Project/10" ```
or
```sh $ pulumi import azuredevops:Pipeline/variableGroup:VariableGroup example 00000000-0000-0000-0000-000000000000/0 ```
_Note that for secret variables, the import command retrieve blank value in the tfstate._
Deprecated: azuredevops.pipeline.VariableGroup has been deprecated in favor of azuredevops.VariableGroup
func GetVariableGroup ¶
func GetVariableGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VariableGroupState, opts ...pulumi.ResourceOption) (*VariableGroup, error)
GetVariableGroup gets an existing VariableGroup 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 NewVariableGroup ¶
func NewVariableGroup(ctx *pulumi.Context, name string, args *VariableGroupArgs, opts ...pulumi.ResourceOption) (*VariableGroup, error)
NewVariableGroup registers a new resource with the given unique name, arguments, and options.
func (*VariableGroup) ElementType ¶
func (*VariableGroup) ElementType() reflect.Type
func (*VariableGroup) ToVariableGroupOutput ¶
func (i *VariableGroup) ToVariableGroupOutput() VariableGroupOutput
func (*VariableGroup) ToVariableGroupOutputWithContext ¶
func (i *VariableGroup) ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput
type VariableGroupArgs ¶
type VariableGroupArgs struct { // Boolean that indicate if this variable group is shared by all pipelines of this project. AllowAccess pulumi.BoolPtrInput // The description of the Variable Group. Description pulumi.StringPtrInput // A list of `keyVault` blocks as documented below. KeyVault VariableGroupKeyVaultPtrInput // The name of the Variable Group. Name pulumi.StringPtrInput // The ID of the project. ProjectId pulumi.StringInput // One or more `variable` blocks as documented below. Variables VariableGroupVariableArrayInput }
The set of arguments for constructing a VariableGroup resource.
func (VariableGroupArgs) ElementType ¶
func (VariableGroupArgs) ElementType() reflect.Type
type VariableGroupArray ¶
type VariableGroupArray []VariableGroupInput
func (VariableGroupArray) ElementType ¶
func (VariableGroupArray) ElementType() reflect.Type
func (VariableGroupArray) ToVariableGroupArrayOutput ¶
func (i VariableGroupArray) ToVariableGroupArrayOutput() VariableGroupArrayOutput
func (VariableGroupArray) ToVariableGroupArrayOutputWithContext ¶
func (i VariableGroupArray) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput
type VariableGroupArrayInput ¶
type VariableGroupArrayInput interface { pulumi.Input ToVariableGroupArrayOutput() VariableGroupArrayOutput ToVariableGroupArrayOutputWithContext(context.Context) VariableGroupArrayOutput }
VariableGroupArrayInput is an input type that accepts VariableGroupArray and VariableGroupArrayOutput values. You can construct a concrete instance of `VariableGroupArrayInput` via:
VariableGroupArray{ VariableGroupArgs{...} }
type VariableGroupArrayOutput ¶
type VariableGroupArrayOutput struct{ *pulumi.OutputState }
func (VariableGroupArrayOutput) ElementType ¶
func (VariableGroupArrayOutput) ElementType() reflect.Type
func (VariableGroupArrayOutput) Index ¶
func (o VariableGroupArrayOutput) Index(i pulumi.IntInput) VariableGroupOutput
func (VariableGroupArrayOutput) ToVariableGroupArrayOutput ¶
func (o VariableGroupArrayOutput) ToVariableGroupArrayOutput() VariableGroupArrayOutput
func (VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext ¶
func (o VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput
type VariableGroupInput ¶
type VariableGroupInput interface { pulumi.Input ToVariableGroupOutput() VariableGroupOutput ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput }
type VariableGroupKeyVault ¶
type VariableGroupKeyVault struct { // The name of the Azure key vault to link secrets from as variables. Name string `pulumi:"name"` // Set the Azure Key Vault Secret search depth. Defaults to `20`. SearchDepth *int `pulumi:"searchDepth"` // The id of the Azure subscription endpoint to access the key vault. ServiceEndpointId string `pulumi:"serviceEndpointId"` }
type VariableGroupKeyVaultArgs ¶
type VariableGroupKeyVaultArgs struct { // The name of the Azure key vault to link secrets from as variables. Name pulumi.StringInput `pulumi:"name"` // Set the Azure Key Vault Secret search depth. Defaults to `20`. SearchDepth pulumi.IntPtrInput `pulumi:"searchDepth"` // The id of the Azure subscription endpoint to access the key vault. ServiceEndpointId pulumi.StringInput `pulumi:"serviceEndpointId"` }
func (VariableGroupKeyVaultArgs) ElementType ¶
func (VariableGroupKeyVaultArgs) ElementType() reflect.Type
func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutput ¶
func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput
func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutputWithContext ¶
func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput
func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutput ¶
func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutputWithContext ¶
func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
type VariableGroupKeyVaultInput ¶
type VariableGroupKeyVaultInput interface { pulumi.Input ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput ToVariableGroupKeyVaultOutputWithContext(context.Context) VariableGroupKeyVaultOutput }
VariableGroupKeyVaultInput is an input type that accepts VariableGroupKeyVaultArgs and VariableGroupKeyVaultOutput values. You can construct a concrete instance of `VariableGroupKeyVaultInput` via:
VariableGroupKeyVaultArgs{...}
type VariableGroupKeyVaultOutput ¶
type VariableGroupKeyVaultOutput struct{ *pulumi.OutputState }
func (VariableGroupKeyVaultOutput) ElementType ¶
func (VariableGroupKeyVaultOutput) ElementType() reflect.Type
func (VariableGroupKeyVaultOutput) Name ¶
func (o VariableGroupKeyVaultOutput) Name() pulumi.StringOutput
The name of the Azure key vault to link secrets from as variables.
func (VariableGroupKeyVaultOutput) SearchDepth ¶ added in v2.6.0
func (o VariableGroupKeyVaultOutput) SearchDepth() pulumi.IntPtrOutput
Set the Azure Key Vault Secret search depth. Defaults to `20`.
func (VariableGroupKeyVaultOutput) ServiceEndpointId ¶
func (o VariableGroupKeyVaultOutput) ServiceEndpointId() pulumi.StringOutput
The id of the Azure subscription endpoint to access the key vault.
func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutput ¶
func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput
func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutputWithContext ¶
func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput
func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutput ¶
func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutputWithContext ¶
func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
type VariableGroupKeyVaultPtrInput ¶
type VariableGroupKeyVaultPtrInput interface { pulumi.Input ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput ToVariableGroupKeyVaultPtrOutputWithContext(context.Context) VariableGroupKeyVaultPtrOutput }
VariableGroupKeyVaultPtrInput is an input type that accepts VariableGroupKeyVaultArgs, VariableGroupKeyVaultPtr and VariableGroupKeyVaultPtrOutput values. You can construct a concrete instance of `VariableGroupKeyVaultPtrInput` via:
VariableGroupKeyVaultArgs{...} or: nil
func VariableGroupKeyVaultPtr ¶
func VariableGroupKeyVaultPtr(v *VariableGroupKeyVaultArgs) VariableGroupKeyVaultPtrInput
type VariableGroupKeyVaultPtrOutput ¶
type VariableGroupKeyVaultPtrOutput struct{ *pulumi.OutputState }
func (VariableGroupKeyVaultPtrOutput) Elem ¶
func (o VariableGroupKeyVaultPtrOutput) Elem() VariableGroupKeyVaultOutput
func (VariableGroupKeyVaultPtrOutput) ElementType ¶
func (VariableGroupKeyVaultPtrOutput) ElementType() reflect.Type
func (VariableGroupKeyVaultPtrOutput) Name ¶
func (o VariableGroupKeyVaultPtrOutput) Name() pulumi.StringPtrOutput
The name of the Azure key vault to link secrets from as variables.
func (VariableGroupKeyVaultPtrOutput) SearchDepth ¶ added in v2.6.0
func (o VariableGroupKeyVaultPtrOutput) SearchDepth() pulumi.IntPtrOutput
Set the Azure Key Vault Secret search depth. Defaults to `20`.
func (VariableGroupKeyVaultPtrOutput) ServiceEndpointId ¶
func (o VariableGroupKeyVaultPtrOutput) ServiceEndpointId() pulumi.StringPtrOutput
The id of the Azure subscription endpoint to access the key vault.
func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput ¶
func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext ¶
func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput
type VariableGroupMap ¶
type VariableGroupMap map[string]VariableGroupInput
func (VariableGroupMap) ElementType ¶
func (VariableGroupMap) ElementType() reflect.Type
func (VariableGroupMap) ToVariableGroupMapOutput ¶
func (i VariableGroupMap) ToVariableGroupMapOutput() VariableGroupMapOutput
func (VariableGroupMap) ToVariableGroupMapOutputWithContext ¶
func (i VariableGroupMap) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput
type VariableGroupMapInput ¶
type VariableGroupMapInput interface { pulumi.Input ToVariableGroupMapOutput() VariableGroupMapOutput ToVariableGroupMapOutputWithContext(context.Context) VariableGroupMapOutput }
VariableGroupMapInput is an input type that accepts VariableGroupMap and VariableGroupMapOutput values. You can construct a concrete instance of `VariableGroupMapInput` via:
VariableGroupMap{ "key": VariableGroupArgs{...} }
type VariableGroupMapOutput ¶
type VariableGroupMapOutput struct{ *pulumi.OutputState }
func (VariableGroupMapOutput) ElementType ¶
func (VariableGroupMapOutput) ElementType() reflect.Type
func (VariableGroupMapOutput) MapIndex ¶
func (o VariableGroupMapOutput) MapIndex(k pulumi.StringInput) VariableGroupOutput
func (VariableGroupMapOutput) ToVariableGroupMapOutput ¶
func (o VariableGroupMapOutput) ToVariableGroupMapOutput() VariableGroupMapOutput
func (VariableGroupMapOutput) ToVariableGroupMapOutputWithContext ¶
func (o VariableGroupMapOutput) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput
type VariableGroupOutput ¶
type VariableGroupOutput struct{ *pulumi.OutputState }
func (VariableGroupOutput) AllowAccess ¶ added in v2.5.0
func (o VariableGroupOutput) AllowAccess() pulumi.BoolPtrOutput
Boolean that indicate if this variable group is shared by all pipelines of this project.
func (VariableGroupOutput) Description ¶ added in v2.5.0
func (o VariableGroupOutput) Description() pulumi.StringPtrOutput
The description of the Variable Group.
func (VariableGroupOutput) ElementType ¶
func (VariableGroupOutput) ElementType() reflect.Type
func (VariableGroupOutput) KeyVault ¶ added in v2.5.0
func (o VariableGroupOutput) KeyVault() VariableGroupKeyVaultPtrOutput
A list of `keyVault` blocks as documented below.
func (VariableGroupOutput) Name ¶ added in v2.5.0
func (o VariableGroupOutput) Name() pulumi.StringOutput
The name of the Variable Group.
func (VariableGroupOutput) ProjectId ¶ added in v2.5.0
func (o VariableGroupOutput) ProjectId() pulumi.StringOutput
The ID of the project.
func (VariableGroupOutput) ToVariableGroupOutput ¶
func (o VariableGroupOutput) ToVariableGroupOutput() VariableGroupOutput
func (VariableGroupOutput) ToVariableGroupOutputWithContext ¶
func (o VariableGroupOutput) ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput
func (VariableGroupOutput) Variables ¶ added in v2.5.0
func (o VariableGroupOutput) Variables() VariableGroupVariableArrayOutput
One or more `variable` blocks as documented below.
type VariableGroupState ¶
type VariableGroupState struct { // Boolean that indicate if this variable group is shared by all pipelines of this project. AllowAccess pulumi.BoolPtrInput // The description of the Variable Group. Description pulumi.StringPtrInput // A list of `keyVault` blocks as documented below. KeyVault VariableGroupKeyVaultPtrInput // The name of the Variable Group. Name pulumi.StringPtrInput // The ID of the project. ProjectId pulumi.StringPtrInput // One or more `variable` blocks as documented below. Variables VariableGroupVariableArrayInput }
func (VariableGroupState) ElementType ¶
func (VariableGroupState) ElementType() reflect.Type
type VariableGroupVariable ¶
type VariableGroupVariable struct { ContentType *string `pulumi:"contentType"` Enabled *bool `pulumi:"enabled"` Expires *string `pulumi:"expires"` // A boolean flag describing if the variable value is sensitive. Defaults to `false`. IsSecret *bool `pulumi:"isSecret"` // The key value used for the variable. Must be unique within the Variable Group. Name string `pulumi:"name"` // The secret value of the variable. If omitted, it will default to empty string. Used when `isSecret` set to `true`. SecretValue *string `pulumi:"secretValue"` // The value of the variable. If omitted, it will default to empty string. Value *string `pulumi:"value"` }
type VariableGroupVariableArgs ¶
type VariableGroupVariableArgs struct { ContentType pulumi.StringPtrInput `pulumi:"contentType"` Enabled pulumi.BoolPtrInput `pulumi:"enabled"` Expires pulumi.StringPtrInput `pulumi:"expires"` // A boolean flag describing if the variable value is sensitive. Defaults to `false`. IsSecret pulumi.BoolPtrInput `pulumi:"isSecret"` // The key value used for the variable. Must be unique within the Variable Group. Name pulumi.StringInput `pulumi:"name"` // The secret value of the variable. If omitted, it will default to empty string. Used when `isSecret` set to `true`. SecretValue pulumi.StringPtrInput `pulumi:"secretValue"` // The value of the variable. If omitted, it will default to empty string. Value pulumi.StringPtrInput `pulumi:"value"` }
func (VariableGroupVariableArgs) ElementType ¶
func (VariableGroupVariableArgs) ElementType() reflect.Type
func (VariableGroupVariableArgs) ToVariableGroupVariableOutput ¶
func (i VariableGroupVariableArgs) ToVariableGroupVariableOutput() VariableGroupVariableOutput
func (VariableGroupVariableArgs) ToVariableGroupVariableOutputWithContext ¶
func (i VariableGroupVariableArgs) ToVariableGroupVariableOutputWithContext(ctx context.Context) VariableGroupVariableOutput
type VariableGroupVariableArray ¶
type VariableGroupVariableArray []VariableGroupVariableInput
func (VariableGroupVariableArray) ElementType ¶
func (VariableGroupVariableArray) ElementType() reflect.Type
func (VariableGroupVariableArray) ToVariableGroupVariableArrayOutput ¶
func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput
func (VariableGroupVariableArray) ToVariableGroupVariableArrayOutputWithContext ¶
func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutputWithContext(ctx context.Context) VariableGroupVariableArrayOutput
type VariableGroupVariableArrayInput ¶
type VariableGroupVariableArrayInput interface { pulumi.Input ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput ToVariableGroupVariableArrayOutputWithContext(context.Context) VariableGroupVariableArrayOutput }
VariableGroupVariableArrayInput is an input type that accepts VariableGroupVariableArray and VariableGroupVariableArrayOutput values. You can construct a concrete instance of `VariableGroupVariableArrayInput` via:
VariableGroupVariableArray{ VariableGroupVariableArgs{...} }
type VariableGroupVariableArrayOutput ¶
type VariableGroupVariableArrayOutput struct{ *pulumi.OutputState }
func (VariableGroupVariableArrayOutput) ElementType ¶
func (VariableGroupVariableArrayOutput) ElementType() reflect.Type
func (VariableGroupVariableArrayOutput) Index ¶
func (o VariableGroupVariableArrayOutput) Index(i pulumi.IntInput) VariableGroupVariableOutput
func (VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutput ¶
func (o VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput
func (VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutputWithContext ¶
func (o VariableGroupVariableArrayOutput) ToVariableGroupVariableArrayOutputWithContext(ctx context.Context) VariableGroupVariableArrayOutput
type VariableGroupVariableInput ¶
type VariableGroupVariableInput interface { pulumi.Input ToVariableGroupVariableOutput() VariableGroupVariableOutput ToVariableGroupVariableOutputWithContext(context.Context) VariableGroupVariableOutput }
VariableGroupVariableInput is an input type that accepts VariableGroupVariableArgs and VariableGroupVariableOutput values. You can construct a concrete instance of `VariableGroupVariableInput` via:
VariableGroupVariableArgs{...}
type VariableGroupVariableOutput ¶
type VariableGroupVariableOutput struct{ *pulumi.OutputState }
func (VariableGroupVariableOutput) ContentType ¶
func (o VariableGroupVariableOutput) ContentType() pulumi.StringPtrOutput
func (VariableGroupVariableOutput) ElementType ¶
func (VariableGroupVariableOutput) ElementType() reflect.Type
func (VariableGroupVariableOutput) Enabled ¶
func (o VariableGroupVariableOutput) Enabled() pulumi.BoolPtrOutput
func (VariableGroupVariableOutput) Expires ¶
func (o VariableGroupVariableOutput) Expires() pulumi.StringPtrOutput
func (VariableGroupVariableOutput) GetIsSecret ¶
func (o VariableGroupVariableOutput) GetIsSecret() pulumi.BoolPtrOutput
A boolean flag describing if the variable value is sensitive. Defaults to `false`.
func (VariableGroupVariableOutput) Name ¶
func (o VariableGroupVariableOutput) Name() pulumi.StringOutput
The key value used for the variable. Must be unique within the Variable Group.
func (VariableGroupVariableOutput) SecretValue ¶
func (o VariableGroupVariableOutput) SecretValue() pulumi.StringPtrOutput
The secret value of the variable. If omitted, it will default to empty string. Used when `isSecret` set to `true`.
func (VariableGroupVariableOutput) ToVariableGroupVariableOutput ¶
func (o VariableGroupVariableOutput) ToVariableGroupVariableOutput() VariableGroupVariableOutput
func (VariableGroupVariableOutput) ToVariableGroupVariableOutputWithContext ¶
func (o VariableGroupVariableOutput) ToVariableGroupVariableOutputWithContext(ctx context.Context) VariableGroupVariableOutput
func (VariableGroupVariableOutput) Value ¶
func (o VariableGroupVariableOutput) Value() pulumi.StringPtrOutput
The value of the variable. If omitted, it will default to empty string.