azuredevops

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Azure DevOps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v1.2.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type AreaPermissions

type AreaPermissions struct {
	pulumi.CustomResourceState

	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for an Area (Component)

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Permission levels

Permission for Areas within Azure DevOps can be applied on two different levels. Those levels are reflected by specifying (or omitting) values for the arguments `projectId` and `path`.

## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetAreaPermissions

func GetAreaPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AreaPermissionsState, opts ...pulumi.ResourceOption) (*AreaPermissions, error)

GetAreaPermissions gets an existing AreaPermissions 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 NewAreaPermissions

func NewAreaPermissions(ctx *pulumi.Context,
	name string, args *AreaPermissionsArgs, opts ...pulumi.ResourceOption) (*AreaPermissions, error)

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

func (*AreaPermissions) ElementType

func (*AreaPermissions) ElementType() reflect.Type

func (*AreaPermissions) ToAreaPermissionsOutput

func (i *AreaPermissions) ToAreaPermissionsOutput() AreaPermissionsOutput

func (*AreaPermissions) ToAreaPermissionsOutputWithContext

func (i *AreaPermissions) ToAreaPermissionsOutputWithContext(ctx context.Context) AreaPermissionsOutput

func (*AreaPermissions) ToAreaPermissionsPtrOutput added in v1.2.2

func (i *AreaPermissions) ToAreaPermissionsPtrOutput() AreaPermissionsPtrOutput

func (*AreaPermissions) ToAreaPermissionsPtrOutputWithContext added in v1.2.2

func (i *AreaPermissions) ToAreaPermissionsPtrOutputWithContext(ctx context.Context) AreaPermissionsPtrOutput

type AreaPermissionsArgs

type AreaPermissionsArgs struct {
	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a AreaPermissions resource.

func (AreaPermissionsArgs) ElementType

func (AreaPermissionsArgs) ElementType() reflect.Type

type AreaPermissionsArray added in v1.2.2

type AreaPermissionsArray []AreaPermissionsInput

func (AreaPermissionsArray) ElementType added in v1.2.2

func (AreaPermissionsArray) ElementType() reflect.Type

func (AreaPermissionsArray) ToAreaPermissionsArrayOutput added in v1.2.2

func (i AreaPermissionsArray) ToAreaPermissionsArrayOutput() AreaPermissionsArrayOutput

func (AreaPermissionsArray) ToAreaPermissionsArrayOutputWithContext added in v1.2.2

func (i AreaPermissionsArray) ToAreaPermissionsArrayOutputWithContext(ctx context.Context) AreaPermissionsArrayOutput

type AreaPermissionsArrayInput added in v1.2.2

type AreaPermissionsArrayInput interface {
	pulumi.Input

	ToAreaPermissionsArrayOutput() AreaPermissionsArrayOutput
	ToAreaPermissionsArrayOutputWithContext(context.Context) AreaPermissionsArrayOutput
}

AreaPermissionsArrayInput is an input type that accepts AreaPermissionsArray and AreaPermissionsArrayOutput values. You can construct a concrete instance of `AreaPermissionsArrayInput` via:

AreaPermissionsArray{ AreaPermissionsArgs{...} }

type AreaPermissionsArrayOutput added in v1.2.2

type AreaPermissionsArrayOutput struct{ *pulumi.OutputState }

func (AreaPermissionsArrayOutput) ElementType added in v1.2.2

func (AreaPermissionsArrayOutput) ElementType() reflect.Type

func (AreaPermissionsArrayOutput) Index added in v1.2.2

func (AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutput added in v1.2.2

func (o AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutput() AreaPermissionsArrayOutput

func (AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutputWithContext added in v1.2.2

func (o AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutputWithContext(ctx context.Context) AreaPermissionsArrayOutput

type AreaPermissionsInput

type AreaPermissionsInput interface {
	pulumi.Input

	ToAreaPermissionsOutput() AreaPermissionsOutput
	ToAreaPermissionsOutputWithContext(ctx context.Context) AreaPermissionsOutput
}

type AreaPermissionsMap added in v1.2.2

type AreaPermissionsMap map[string]AreaPermissionsInput

func (AreaPermissionsMap) ElementType added in v1.2.2

func (AreaPermissionsMap) ElementType() reflect.Type

func (AreaPermissionsMap) ToAreaPermissionsMapOutput added in v1.2.2

func (i AreaPermissionsMap) ToAreaPermissionsMapOutput() AreaPermissionsMapOutput

func (AreaPermissionsMap) ToAreaPermissionsMapOutputWithContext added in v1.2.2

func (i AreaPermissionsMap) ToAreaPermissionsMapOutputWithContext(ctx context.Context) AreaPermissionsMapOutput

type AreaPermissionsMapInput added in v1.2.2

type AreaPermissionsMapInput interface {
	pulumi.Input

	ToAreaPermissionsMapOutput() AreaPermissionsMapOutput
	ToAreaPermissionsMapOutputWithContext(context.Context) AreaPermissionsMapOutput
}

AreaPermissionsMapInput is an input type that accepts AreaPermissionsMap and AreaPermissionsMapOutput values. You can construct a concrete instance of `AreaPermissionsMapInput` via:

AreaPermissionsMap{ "key": AreaPermissionsArgs{...} }

type AreaPermissionsMapOutput added in v1.2.2

type AreaPermissionsMapOutput struct{ *pulumi.OutputState }

func (AreaPermissionsMapOutput) ElementType added in v1.2.2

func (AreaPermissionsMapOutput) ElementType() reflect.Type

func (AreaPermissionsMapOutput) MapIndex added in v1.2.2

func (AreaPermissionsMapOutput) ToAreaPermissionsMapOutput added in v1.2.2

func (o AreaPermissionsMapOutput) ToAreaPermissionsMapOutput() AreaPermissionsMapOutput

func (AreaPermissionsMapOutput) ToAreaPermissionsMapOutputWithContext added in v1.2.2

func (o AreaPermissionsMapOutput) ToAreaPermissionsMapOutputWithContext(ctx context.Context) AreaPermissionsMapOutput

type AreaPermissionsOutput

type AreaPermissionsOutput struct {
	*pulumi.OutputState
}

func (AreaPermissionsOutput) ElementType

func (AreaPermissionsOutput) ElementType() reflect.Type

func (AreaPermissionsOutput) ToAreaPermissionsOutput

func (o AreaPermissionsOutput) ToAreaPermissionsOutput() AreaPermissionsOutput

func (AreaPermissionsOutput) ToAreaPermissionsOutputWithContext

func (o AreaPermissionsOutput) ToAreaPermissionsOutputWithContext(ctx context.Context) AreaPermissionsOutput

func (AreaPermissionsOutput) ToAreaPermissionsPtrOutput added in v1.2.2

func (o AreaPermissionsOutput) ToAreaPermissionsPtrOutput() AreaPermissionsPtrOutput

func (AreaPermissionsOutput) ToAreaPermissionsPtrOutputWithContext added in v1.2.2

func (o AreaPermissionsOutput) ToAreaPermissionsPtrOutputWithContext(ctx context.Context) AreaPermissionsPtrOutput

type AreaPermissionsPtrInput added in v1.2.2

type AreaPermissionsPtrInput interface {
	pulumi.Input

	ToAreaPermissionsPtrOutput() AreaPermissionsPtrOutput
	ToAreaPermissionsPtrOutputWithContext(ctx context.Context) AreaPermissionsPtrOutput
}

type AreaPermissionsPtrOutput added in v1.2.2

type AreaPermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (AreaPermissionsPtrOutput) ElementType added in v1.2.2

func (AreaPermissionsPtrOutput) ElementType() reflect.Type

func (AreaPermissionsPtrOutput) ToAreaPermissionsPtrOutput added in v1.2.2

func (o AreaPermissionsPtrOutput) ToAreaPermissionsPtrOutput() AreaPermissionsPtrOutput

func (AreaPermissionsPtrOutput) ToAreaPermissionsPtrOutputWithContext added in v1.2.2

func (o AreaPermissionsPtrOutput) ToAreaPermissionsPtrOutputWithContext(ctx context.Context) AreaPermissionsPtrOutput

type AreaPermissionsState

type AreaPermissionsState struct {
	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrInput
}

func (AreaPermissionsState) ElementType

func (AreaPermissionsState) ElementType() reflect.Type

type BranchPolicyAutoReviewers

type BranchPolicyAutoReviewers struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyAutoReviewersSettingsOutput `pulumi:"settings"`
}

Manages required reviewer policy branch policy within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		user, err := azuredevops.NewUser(ctx, "user", &azuredevops.UserArgs{
			PrincipalName:      pulumi.String("mail@email.com"),
			AccountLicenseType: pulumi.String("basic"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyAutoReviewers(ctx, "branchPolicyAutoReviewers", &azuredevops.BranchPolicyAutoReviewersArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyAutoReviewersSettingsArgs{
				AutoReviewerIds: pulumi.StringArray{
					user.ID(),
				},
				SubmitterCanVote: pulumi.Bool(false),
				Message:          pulumi.String("Auto reviewer"),
				PathFilters: pulumi.StringArray{
					pulumi.String("*/src/*.ts"),
				},
				Scopes: azuredevops.BranchPolicyAutoReviewersSettingsScopeArray{
					&azuredevops.BranchPolicyAutoReviewersSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyAutoReviewers:BranchPolicyAutoReviewers p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyAutoReviewers

func GetBranchPolicyAutoReviewers(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyAutoReviewersState, opts ...pulumi.ResourceOption) (*BranchPolicyAutoReviewers, error)

GetBranchPolicyAutoReviewers gets an existing BranchPolicyAutoReviewers 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 NewBranchPolicyAutoReviewers

func NewBranchPolicyAutoReviewers(ctx *pulumi.Context,
	name string, args *BranchPolicyAutoReviewersArgs, opts ...pulumi.ResourceOption) (*BranchPolicyAutoReviewers, error)

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

func (*BranchPolicyAutoReviewers) ElementType

func (*BranchPolicyAutoReviewers) ElementType() reflect.Type

func (*BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersOutput

func (i *BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersOutput() BranchPolicyAutoReviewersOutput

func (*BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersOutputWithContext

func (i *BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersOutput

func (*BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersPtrOutput added in v1.2.2

func (i *BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersPtrOutput() BranchPolicyAutoReviewersPtrOutput

func (*BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersPtrOutputWithContext added in v1.2.2

func (i *BranchPolicyAutoReviewers) ToBranchPolicyAutoReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersPtrOutput

type BranchPolicyAutoReviewersArgs

type BranchPolicyAutoReviewersArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyAutoReviewersSettingsInput
}

The set of arguments for constructing a BranchPolicyAutoReviewers resource.

func (BranchPolicyAutoReviewersArgs) ElementType

type BranchPolicyAutoReviewersArray added in v1.2.2

type BranchPolicyAutoReviewersArray []BranchPolicyAutoReviewersInput

func (BranchPolicyAutoReviewersArray) ElementType added in v1.2.2

func (BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutput added in v1.2.2

func (i BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutput() BranchPolicyAutoReviewersArrayOutput

func (BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutputWithContext added in v1.2.2

func (i BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersArrayOutput

type BranchPolicyAutoReviewersArrayInput added in v1.2.2

type BranchPolicyAutoReviewersArrayInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersArrayOutput() BranchPolicyAutoReviewersArrayOutput
	ToBranchPolicyAutoReviewersArrayOutputWithContext(context.Context) BranchPolicyAutoReviewersArrayOutput
}

BranchPolicyAutoReviewersArrayInput is an input type that accepts BranchPolicyAutoReviewersArray and BranchPolicyAutoReviewersArrayOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersArrayInput` via:

BranchPolicyAutoReviewersArray{ BranchPolicyAutoReviewersArgs{...} }

type BranchPolicyAutoReviewersArrayOutput added in v1.2.2

type BranchPolicyAutoReviewersArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersArrayOutput) ElementType added in v1.2.2

func (BranchPolicyAutoReviewersArrayOutput) Index added in v1.2.2

func (BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutput added in v1.2.2

func (o BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutput() BranchPolicyAutoReviewersArrayOutput

func (BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutputWithContext added in v1.2.2

func (o BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersArrayOutput

type BranchPolicyAutoReviewersInput

type BranchPolicyAutoReviewersInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersOutput() BranchPolicyAutoReviewersOutput
	ToBranchPolicyAutoReviewersOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersOutput
}

type BranchPolicyAutoReviewersMap added in v1.2.2

type BranchPolicyAutoReviewersMap map[string]BranchPolicyAutoReviewersInput

func (BranchPolicyAutoReviewersMap) ElementType added in v1.2.2

func (BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutput added in v1.2.2

func (i BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutput() BranchPolicyAutoReviewersMapOutput

func (BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutputWithContext added in v1.2.2

func (i BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersMapOutput

type BranchPolicyAutoReviewersMapInput added in v1.2.2

type BranchPolicyAutoReviewersMapInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersMapOutput() BranchPolicyAutoReviewersMapOutput
	ToBranchPolicyAutoReviewersMapOutputWithContext(context.Context) BranchPolicyAutoReviewersMapOutput
}

BranchPolicyAutoReviewersMapInput is an input type that accepts BranchPolicyAutoReviewersMap and BranchPolicyAutoReviewersMapOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersMapInput` via:

BranchPolicyAutoReviewersMap{ "key": BranchPolicyAutoReviewersArgs{...} }

type BranchPolicyAutoReviewersMapOutput added in v1.2.2

type BranchPolicyAutoReviewersMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersMapOutput) ElementType added in v1.2.2

func (BranchPolicyAutoReviewersMapOutput) MapIndex added in v1.2.2

func (BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutput added in v1.2.2

func (o BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutput() BranchPolicyAutoReviewersMapOutput

func (BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutputWithContext added in v1.2.2

func (o BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersMapOutput

type BranchPolicyAutoReviewersOutput

type BranchPolicyAutoReviewersOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyAutoReviewersOutput) ElementType

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutput

func (o BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutput() BranchPolicyAutoReviewersOutput

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutputWithContext

func (o BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersOutput

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersPtrOutput added in v1.2.2

func (o BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersPtrOutput() BranchPolicyAutoReviewersPtrOutput

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersPtrOutputWithContext added in v1.2.2

func (o BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersPtrOutput

type BranchPolicyAutoReviewersPtrInput added in v1.2.2

type BranchPolicyAutoReviewersPtrInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersPtrOutput() BranchPolicyAutoReviewersPtrOutput
	ToBranchPolicyAutoReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersPtrOutput
}

type BranchPolicyAutoReviewersPtrOutput added in v1.2.2

type BranchPolicyAutoReviewersPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyAutoReviewersPtrOutput) ElementType added in v1.2.2

func (BranchPolicyAutoReviewersPtrOutput) ToBranchPolicyAutoReviewersPtrOutput added in v1.2.2

func (o BranchPolicyAutoReviewersPtrOutput) ToBranchPolicyAutoReviewersPtrOutput() BranchPolicyAutoReviewersPtrOutput

func (BranchPolicyAutoReviewersPtrOutput) ToBranchPolicyAutoReviewersPtrOutputWithContext added in v1.2.2

func (o BranchPolicyAutoReviewersPtrOutput) ToBranchPolicyAutoReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersPtrOutput

type BranchPolicyAutoReviewersSettings

type BranchPolicyAutoReviewersSettings struct {
	// Required reviewers ids. Supports multiples user Ids.
	AutoReviewerIds []string `pulumi:"autoReviewerIds"`
	// Activity feed message, Message will appear in the activity feed of pull requests with automatically added reviewers.
	Message *string `pulumi:"message"`
	// Filter path(s) on which the policy is applied. Supports absolute paths, wildcards and multiple paths. Example: /WebApp/Models/Data.cs, /WebApp/* or *.cs,/WebApp/Models/Data.cs;ClientApp/Models/Data.cs.
	PathFilters []string `pulumi:"pathFilters"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyAutoReviewersSettingsScope `pulumi:"scopes"`
	// Controls whether or not the submitter's vote counts. Defaults to `false`.
	SubmitterCanVote *bool `pulumi:"submitterCanVote"`
}

type BranchPolicyAutoReviewersSettingsArgs

type BranchPolicyAutoReviewersSettingsArgs struct {
	// Required reviewers ids. Supports multiples user Ids.
	AutoReviewerIds pulumi.StringArrayInput `pulumi:"autoReviewerIds"`
	// Activity feed message, Message will appear in the activity feed of pull requests with automatically added reviewers.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// Filter path(s) on which the policy is applied. Supports absolute paths, wildcards and multiple paths. Example: /WebApp/Models/Data.cs, /WebApp/* or *.cs,/WebApp/Models/Data.cs;ClientApp/Models/Data.cs.
	PathFilters pulumi.StringArrayInput `pulumi:"pathFilters"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyAutoReviewersSettingsScopeArrayInput `pulumi:"scopes"`
	// Controls whether or not the submitter's vote counts. Defaults to `false`.
	SubmitterCanVote pulumi.BoolPtrInput `pulumi:"submitterCanVote"`
}

func (BranchPolicyAutoReviewersSettingsArgs) ElementType

func (BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsOutput

func (i BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsOutput() BranchPolicyAutoReviewersSettingsOutput

func (BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsOutputWithContext

func (i BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsOutput

func (BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsPtrOutput

func (i BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsPtrOutput() BranchPolicyAutoReviewersSettingsPtrOutput

func (BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext

func (i BranchPolicyAutoReviewersSettingsArgs) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsPtrOutput

type BranchPolicyAutoReviewersSettingsInput

type BranchPolicyAutoReviewersSettingsInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersSettingsOutput() BranchPolicyAutoReviewersSettingsOutput
	ToBranchPolicyAutoReviewersSettingsOutputWithContext(context.Context) BranchPolicyAutoReviewersSettingsOutput
}

BranchPolicyAutoReviewersSettingsInput is an input type that accepts BranchPolicyAutoReviewersSettingsArgs and BranchPolicyAutoReviewersSettingsOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersSettingsInput` via:

BranchPolicyAutoReviewersSettingsArgs{...}

type BranchPolicyAutoReviewersSettingsOutput

type BranchPolicyAutoReviewersSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersSettingsOutput) AutoReviewerIds

Required reviewers ids. Supports multiples user Ids.

func (BranchPolicyAutoReviewersSettingsOutput) ElementType

func (BranchPolicyAutoReviewersSettingsOutput) Message

Activity feed message, Message will appear in the activity feed of pull requests with automatically added reviewers.

func (BranchPolicyAutoReviewersSettingsOutput) PathFilters

Filter path(s) on which the policy is applied. Supports absolute paths, wildcards and multiple paths. Example: /WebApp/Models/Data.cs, /WebApp/* or *.cs,/WebApp/Models/Data.cs;ClientApp/Models/Data.cs.

func (BranchPolicyAutoReviewersSettingsOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyAutoReviewersSettingsOutput) SubmitterCanVote

Controls whether or not the submitter's vote counts. Defaults to `false`.

func (BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsOutput

func (o BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsOutput() BranchPolicyAutoReviewersSettingsOutput

func (BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsOutputWithContext

func (o BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsOutput

func (BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsPtrOutput

func (o BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsPtrOutput() BranchPolicyAutoReviewersSettingsPtrOutput

func (BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext

func (o BranchPolicyAutoReviewersSettingsOutput) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsPtrOutput

type BranchPolicyAutoReviewersSettingsPtrInput

type BranchPolicyAutoReviewersSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersSettingsPtrOutput() BranchPolicyAutoReviewersSettingsPtrOutput
	ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext(context.Context) BranchPolicyAutoReviewersSettingsPtrOutput
}

BranchPolicyAutoReviewersSettingsPtrInput is an input type that accepts BranchPolicyAutoReviewersSettingsArgs, BranchPolicyAutoReviewersSettingsPtr and BranchPolicyAutoReviewersSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersSettingsPtrInput` via:

        BranchPolicyAutoReviewersSettingsArgs{...}

or:

        nil

type BranchPolicyAutoReviewersSettingsPtrOutput

type BranchPolicyAutoReviewersSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersSettingsPtrOutput) AutoReviewerIds

Required reviewers ids. Supports multiples user Ids.

func (BranchPolicyAutoReviewersSettingsPtrOutput) Elem

func (BranchPolicyAutoReviewersSettingsPtrOutput) ElementType

func (BranchPolicyAutoReviewersSettingsPtrOutput) Message

Activity feed message, Message will appear in the activity feed of pull requests with automatically added reviewers.

func (BranchPolicyAutoReviewersSettingsPtrOutput) PathFilters

Filter path(s) on which the policy is applied. Supports absolute paths, wildcards and multiple paths. Example: /WebApp/Models/Data.cs, /WebApp/* or *.cs,/WebApp/Models/Data.cs;ClientApp/Models/Data.cs.

func (BranchPolicyAutoReviewersSettingsPtrOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyAutoReviewersSettingsPtrOutput) SubmitterCanVote

Controls whether or not the submitter's vote counts. Defaults to `false`.

func (BranchPolicyAutoReviewersSettingsPtrOutput) ToBranchPolicyAutoReviewersSettingsPtrOutput

func (o BranchPolicyAutoReviewersSettingsPtrOutput) ToBranchPolicyAutoReviewersSettingsPtrOutput() BranchPolicyAutoReviewersSettingsPtrOutput

func (BranchPolicyAutoReviewersSettingsPtrOutput) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext

func (o BranchPolicyAutoReviewersSettingsPtrOutput) ToBranchPolicyAutoReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsPtrOutput

type BranchPolicyAutoReviewersSettingsScope

type BranchPolicyAutoReviewersSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyAutoReviewersSettingsScopeArgs

type BranchPolicyAutoReviewersSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyAutoReviewersSettingsScopeArgs) ElementType

func (BranchPolicyAutoReviewersSettingsScopeArgs) ToBranchPolicyAutoReviewersSettingsScopeOutput

func (i BranchPolicyAutoReviewersSettingsScopeArgs) ToBranchPolicyAutoReviewersSettingsScopeOutput() BranchPolicyAutoReviewersSettingsScopeOutput

func (BranchPolicyAutoReviewersSettingsScopeArgs) ToBranchPolicyAutoReviewersSettingsScopeOutputWithContext

func (i BranchPolicyAutoReviewersSettingsScopeArgs) ToBranchPolicyAutoReviewersSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsScopeOutput

type BranchPolicyAutoReviewersSettingsScopeArray

type BranchPolicyAutoReviewersSettingsScopeArray []BranchPolicyAutoReviewersSettingsScopeInput

func (BranchPolicyAutoReviewersSettingsScopeArray) ElementType

func (BranchPolicyAutoReviewersSettingsScopeArray) ToBranchPolicyAutoReviewersSettingsScopeArrayOutput

func (i BranchPolicyAutoReviewersSettingsScopeArray) ToBranchPolicyAutoReviewersSettingsScopeArrayOutput() BranchPolicyAutoReviewersSettingsScopeArrayOutput

func (BranchPolicyAutoReviewersSettingsScopeArray) ToBranchPolicyAutoReviewersSettingsScopeArrayOutputWithContext

func (i BranchPolicyAutoReviewersSettingsScopeArray) ToBranchPolicyAutoReviewersSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsScopeArrayOutput

type BranchPolicyAutoReviewersSettingsScopeArrayInput

type BranchPolicyAutoReviewersSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersSettingsScopeArrayOutput() BranchPolicyAutoReviewersSettingsScopeArrayOutput
	ToBranchPolicyAutoReviewersSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyAutoReviewersSettingsScopeArrayOutput
}

BranchPolicyAutoReviewersSettingsScopeArrayInput is an input type that accepts BranchPolicyAutoReviewersSettingsScopeArray and BranchPolicyAutoReviewersSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersSettingsScopeArrayInput` via:

BranchPolicyAutoReviewersSettingsScopeArray{ BranchPolicyAutoReviewersSettingsScopeArgs{...} }

type BranchPolicyAutoReviewersSettingsScopeArrayOutput

type BranchPolicyAutoReviewersSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersSettingsScopeArrayOutput) ElementType

func (BranchPolicyAutoReviewersSettingsScopeArrayOutput) Index

func (BranchPolicyAutoReviewersSettingsScopeArrayOutput) ToBranchPolicyAutoReviewersSettingsScopeArrayOutput

func (o BranchPolicyAutoReviewersSettingsScopeArrayOutput) ToBranchPolicyAutoReviewersSettingsScopeArrayOutput() BranchPolicyAutoReviewersSettingsScopeArrayOutput

func (BranchPolicyAutoReviewersSettingsScopeArrayOutput) ToBranchPolicyAutoReviewersSettingsScopeArrayOutputWithContext

func (o BranchPolicyAutoReviewersSettingsScopeArrayOutput) ToBranchPolicyAutoReviewersSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsScopeArrayOutput

type BranchPolicyAutoReviewersSettingsScopeInput

type BranchPolicyAutoReviewersSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyAutoReviewersSettingsScopeOutput() BranchPolicyAutoReviewersSettingsScopeOutput
	ToBranchPolicyAutoReviewersSettingsScopeOutputWithContext(context.Context) BranchPolicyAutoReviewersSettingsScopeOutput
}

BranchPolicyAutoReviewersSettingsScopeInput is an input type that accepts BranchPolicyAutoReviewersSettingsScopeArgs and BranchPolicyAutoReviewersSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyAutoReviewersSettingsScopeInput` via:

BranchPolicyAutoReviewersSettingsScopeArgs{...}

type BranchPolicyAutoReviewersSettingsScopeOutput

type BranchPolicyAutoReviewersSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersSettingsScopeOutput) ElementType

func (BranchPolicyAutoReviewersSettingsScopeOutput) MatchType

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyAutoReviewersSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyAutoReviewersSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyAutoReviewersSettingsScopeOutput) ToBranchPolicyAutoReviewersSettingsScopeOutput

func (o BranchPolicyAutoReviewersSettingsScopeOutput) ToBranchPolicyAutoReviewersSettingsScopeOutput() BranchPolicyAutoReviewersSettingsScopeOutput

func (BranchPolicyAutoReviewersSettingsScopeOutput) ToBranchPolicyAutoReviewersSettingsScopeOutputWithContext

func (o BranchPolicyAutoReviewersSettingsScopeOutput) ToBranchPolicyAutoReviewersSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyAutoReviewersSettingsScopeOutput

type BranchPolicyAutoReviewersState

type BranchPolicyAutoReviewersState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyAutoReviewersSettingsPtrInput
}

func (BranchPolicyAutoReviewersState) ElementType

type BranchPolicyBuildValidation

type BranchPolicyBuildValidation struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyBuildValidationSettingsOutput `pulumi:"settings"`
}

Manages a build validation branch policy within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		buildDefinition, err := azuredevops.NewBuildDefinition(ctx, "buildDefinition", &azuredevops.BuildDefinitionArgs{
			ProjectId: project.ID(),
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType: pulumi.String("TfsGit"),
				RepoId:   git.ID(),
				YmlPath:  pulumi.String("azure-pipelines.yml"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyBuildValidation(ctx, "branchPolicyBuildValidation", &azuredevops.BranchPolicyBuildValidationArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyBuildValidationSettingsArgs{
				DisplayName:       pulumi.String("Don't break the build!"),
				BuildDefinitionId: buildDefinition.ID(),
				ValidDuration:     pulumi.Int(720),
				FilenamePatterns: pulumi.StringArray{
					pulumi.String("/WebApp/*"),
					pulumi.String("!/WebApp/Tests/*"),
					pulumi.String("*.cs"),
				},
				Scopes: azuredevops.BranchPolicyBuildValidationSettingsScopeArray{
					&azuredevops.BranchPolicyBuildValidationSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyBuildValidationSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyBuildValidation:BranchPolicyBuildValidation p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyBuildValidation

func GetBranchPolicyBuildValidation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyBuildValidationState, opts ...pulumi.ResourceOption) (*BranchPolicyBuildValidation, error)

GetBranchPolicyBuildValidation gets an existing BranchPolicyBuildValidation 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 NewBranchPolicyBuildValidation

func NewBranchPolicyBuildValidation(ctx *pulumi.Context,
	name string, args *BranchPolicyBuildValidationArgs, opts ...pulumi.ResourceOption) (*BranchPolicyBuildValidation, error)

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

func (*BranchPolicyBuildValidation) ElementType

func (*BranchPolicyBuildValidation) ElementType() reflect.Type

func (*BranchPolicyBuildValidation) ToBranchPolicyBuildValidationOutput

func (i *BranchPolicyBuildValidation) ToBranchPolicyBuildValidationOutput() BranchPolicyBuildValidationOutput

func (*BranchPolicyBuildValidation) ToBranchPolicyBuildValidationOutputWithContext

func (i *BranchPolicyBuildValidation) ToBranchPolicyBuildValidationOutputWithContext(ctx context.Context) BranchPolicyBuildValidationOutput

func (*BranchPolicyBuildValidation) ToBranchPolicyBuildValidationPtrOutput added in v1.2.2

func (i *BranchPolicyBuildValidation) ToBranchPolicyBuildValidationPtrOutput() BranchPolicyBuildValidationPtrOutput

func (*BranchPolicyBuildValidation) ToBranchPolicyBuildValidationPtrOutputWithContext added in v1.2.2

func (i *BranchPolicyBuildValidation) ToBranchPolicyBuildValidationPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationPtrOutput

type BranchPolicyBuildValidationArgs

type BranchPolicyBuildValidationArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyBuildValidationSettingsInput
}

The set of arguments for constructing a BranchPolicyBuildValidation resource.

func (BranchPolicyBuildValidationArgs) ElementType

type BranchPolicyBuildValidationArray added in v1.2.2

type BranchPolicyBuildValidationArray []BranchPolicyBuildValidationInput

func (BranchPolicyBuildValidationArray) ElementType added in v1.2.2

func (BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutput added in v1.2.2

func (i BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutput() BranchPolicyBuildValidationArrayOutput

func (BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutputWithContext added in v1.2.2

func (i BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutputWithContext(ctx context.Context) BranchPolicyBuildValidationArrayOutput

type BranchPolicyBuildValidationArrayInput added in v1.2.2

type BranchPolicyBuildValidationArrayInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationArrayOutput() BranchPolicyBuildValidationArrayOutput
	ToBranchPolicyBuildValidationArrayOutputWithContext(context.Context) BranchPolicyBuildValidationArrayOutput
}

BranchPolicyBuildValidationArrayInput is an input type that accepts BranchPolicyBuildValidationArray and BranchPolicyBuildValidationArrayOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationArrayInput` via:

BranchPolicyBuildValidationArray{ BranchPolicyBuildValidationArgs{...} }

type BranchPolicyBuildValidationArrayOutput added in v1.2.2

type BranchPolicyBuildValidationArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationArrayOutput) ElementType added in v1.2.2

func (BranchPolicyBuildValidationArrayOutput) Index added in v1.2.2

func (BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutput added in v1.2.2

func (o BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutput() BranchPolicyBuildValidationArrayOutput

func (BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutputWithContext added in v1.2.2

func (o BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutputWithContext(ctx context.Context) BranchPolicyBuildValidationArrayOutput

type BranchPolicyBuildValidationInput

type BranchPolicyBuildValidationInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationOutput() BranchPolicyBuildValidationOutput
	ToBranchPolicyBuildValidationOutputWithContext(ctx context.Context) BranchPolicyBuildValidationOutput
}

type BranchPolicyBuildValidationMap added in v1.2.2

type BranchPolicyBuildValidationMap map[string]BranchPolicyBuildValidationInput

func (BranchPolicyBuildValidationMap) ElementType added in v1.2.2

func (BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutput added in v1.2.2

func (i BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutput() BranchPolicyBuildValidationMapOutput

func (BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutputWithContext added in v1.2.2

func (i BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutputWithContext(ctx context.Context) BranchPolicyBuildValidationMapOutput

type BranchPolicyBuildValidationMapInput added in v1.2.2

type BranchPolicyBuildValidationMapInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationMapOutput() BranchPolicyBuildValidationMapOutput
	ToBranchPolicyBuildValidationMapOutputWithContext(context.Context) BranchPolicyBuildValidationMapOutput
}

BranchPolicyBuildValidationMapInput is an input type that accepts BranchPolicyBuildValidationMap and BranchPolicyBuildValidationMapOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationMapInput` via:

BranchPolicyBuildValidationMap{ "key": BranchPolicyBuildValidationArgs{...} }

type BranchPolicyBuildValidationMapOutput added in v1.2.2

type BranchPolicyBuildValidationMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationMapOutput) ElementType added in v1.2.2

func (BranchPolicyBuildValidationMapOutput) MapIndex added in v1.2.2

func (BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutput added in v1.2.2

func (o BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutput() BranchPolicyBuildValidationMapOutput

func (BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutputWithContext added in v1.2.2

func (o BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutputWithContext(ctx context.Context) BranchPolicyBuildValidationMapOutput

type BranchPolicyBuildValidationOutput

type BranchPolicyBuildValidationOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyBuildValidationOutput) ElementType

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutput

func (o BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutput() BranchPolicyBuildValidationOutput

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutputWithContext

func (o BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutputWithContext(ctx context.Context) BranchPolicyBuildValidationOutput

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationPtrOutput added in v1.2.2

func (o BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationPtrOutput() BranchPolicyBuildValidationPtrOutput

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationPtrOutputWithContext added in v1.2.2

func (o BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationPtrOutput

type BranchPolicyBuildValidationPtrInput added in v1.2.2

type BranchPolicyBuildValidationPtrInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationPtrOutput() BranchPolicyBuildValidationPtrOutput
	ToBranchPolicyBuildValidationPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationPtrOutput
}

type BranchPolicyBuildValidationPtrOutput added in v1.2.2

type BranchPolicyBuildValidationPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyBuildValidationPtrOutput) ElementType added in v1.2.2

func (BranchPolicyBuildValidationPtrOutput) ToBranchPolicyBuildValidationPtrOutput added in v1.2.2

func (o BranchPolicyBuildValidationPtrOutput) ToBranchPolicyBuildValidationPtrOutput() BranchPolicyBuildValidationPtrOutput

func (BranchPolicyBuildValidationPtrOutput) ToBranchPolicyBuildValidationPtrOutputWithContext added in v1.2.2

func (o BranchPolicyBuildValidationPtrOutput) ToBranchPolicyBuildValidationPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationPtrOutput

type BranchPolicyBuildValidationSettings

type BranchPolicyBuildValidationSettings struct {
	// The ID of the build to monitor for the policy.
	BuildDefinitionId int `pulumi:"buildDefinitionId"`
	// The display name for the policy.
	DisplayName string `pulumi:"displayName"`
	// If a path filter is set, the policy wil only apply when files which match the filter are changes. Not setting this field means that the policy will always apply. You can specify absolute paths and wildcards. Example: `["/WebApp/Models/Data.cs", "/WebApp/*", "*.cs"]`. Paths prefixed with "!" are excluded. Example: `["/WebApp/*", "!/WebApp/Tests/*"]`. Order is significant.
	FilenamePatterns []string `pulumi:"filenamePatterns"`
	// If set to true, the build will need to be manually queued. Defaults to `false`
	ManualQueueOnly *bool `pulumi:"manualQueueOnly"`
	// True if the build should queue on source updates only. Defaults to `true`.
	QueueOnSourceUpdateOnly *bool `pulumi:"queueOnSourceUpdateOnly"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyBuildValidationSettingsScope `pulumi:"scopes"`
	// The number of minutes for which the build is valid. If `0`, the build will not expire. Defaults to `720` (12 hours).
	ValidDuration *int `pulumi:"validDuration"`
}

type BranchPolicyBuildValidationSettingsArgs

type BranchPolicyBuildValidationSettingsArgs struct {
	// The ID of the build to monitor for the policy.
	BuildDefinitionId pulumi.IntInput `pulumi:"buildDefinitionId"`
	// The display name for the policy.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// If a path filter is set, the policy wil only apply when files which match the filter are changes. Not setting this field means that the policy will always apply. You can specify absolute paths and wildcards. Example: `["/WebApp/Models/Data.cs", "/WebApp/*", "*.cs"]`. Paths prefixed with "!" are excluded. Example: `["/WebApp/*", "!/WebApp/Tests/*"]`. Order is significant.
	FilenamePatterns pulumi.StringArrayInput `pulumi:"filenamePatterns"`
	// If set to true, the build will need to be manually queued. Defaults to `false`
	ManualQueueOnly pulumi.BoolPtrInput `pulumi:"manualQueueOnly"`
	// True if the build should queue on source updates only. Defaults to `true`.
	QueueOnSourceUpdateOnly pulumi.BoolPtrInput `pulumi:"queueOnSourceUpdateOnly"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyBuildValidationSettingsScopeArrayInput `pulumi:"scopes"`
	// The number of minutes for which the build is valid. If `0`, the build will not expire. Defaults to `720` (12 hours).
	ValidDuration pulumi.IntPtrInput `pulumi:"validDuration"`
}

func (BranchPolicyBuildValidationSettingsArgs) ElementType

func (BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsOutput

func (i BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsOutput() BranchPolicyBuildValidationSettingsOutput

func (BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsOutputWithContext

func (i BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsOutput

func (BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsPtrOutput

func (i BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsPtrOutput() BranchPolicyBuildValidationSettingsPtrOutput

func (BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext

func (i BranchPolicyBuildValidationSettingsArgs) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsPtrOutput

type BranchPolicyBuildValidationSettingsInput

type BranchPolicyBuildValidationSettingsInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationSettingsOutput() BranchPolicyBuildValidationSettingsOutput
	ToBranchPolicyBuildValidationSettingsOutputWithContext(context.Context) BranchPolicyBuildValidationSettingsOutput
}

BranchPolicyBuildValidationSettingsInput is an input type that accepts BranchPolicyBuildValidationSettingsArgs and BranchPolicyBuildValidationSettingsOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationSettingsInput` via:

BranchPolicyBuildValidationSettingsArgs{...}

type BranchPolicyBuildValidationSettingsOutput

type BranchPolicyBuildValidationSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationSettingsOutput) BuildDefinitionId

The ID of the build to monitor for the policy.

func (BranchPolicyBuildValidationSettingsOutput) DisplayName

The display name for the policy.

func (BranchPolicyBuildValidationSettingsOutput) ElementType

func (BranchPolicyBuildValidationSettingsOutput) FilenamePatterns

If a path filter is set, the policy wil only apply when files which match the filter are changes. Not setting this field means that the policy will always apply. You can specify absolute paths and wildcards. Example: `["/WebApp/Models/Data.cs", "/WebApp/*", "*.cs"]`. Paths prefixed with "!" are excluded. Example: `["/WebApp/*", "!/WebApp/Tests/*"]`. Order is significant.

func (BranchPolicyBuildValidationSettingsOutput) ManualQueueOnly

If set to true, the build will need to be manually queued. Defaults to `false`

func (BranchPolicyBuildValidationSettingsOutput) QueueOnSourceUpdateOnly

True if the build should queue on source updates only. Defaults to `true`.

func (BranchPolicyBuildValidationSettingsOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsOutput

func (o BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsOutput() BranchPolicyBuildValidationSettingsOutput

func (BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsOutputWithContext

func (o BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsOutput

func (BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsPtrOutput

func (o BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsPtrOutput() BranchPolicyBuildValidationSettingsPtrOutput

func (BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext

func (o BranchPolicyBuildValidationSettingsOutput) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsPtrOutput

func (BranchPolicyBuildValidationSettingsOutput) ValidDuration

The number of minutes for which the build is valid. If `0`, the build will not expire. Defaults to `720` (12 hours).

type BranchPolicyBuildValidationSettingsPtrInput

type BranchPolicyBuildValidationSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationSettingsPtrOutput() BranchPolicyBuildValidationSettingsPtrOutput
	ToBranchPolicyBuildValidationSettingsPtrOutputWithContext(context.Context) BranchPolicyBuildValidationSettingsPtrOutput
}

BranchPolicyBuildValidationSettingsPtrInput is an input type that accepts BranchPolicyBuildValidationSettingsArgs, BranchPolicyBuildValidationSettingsPtr and BranchPolicyBuildValidationSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationSettingsPtrInput` via:

        BranchPolicyBuildValidationSettingsArgs{...}

or:

        nil

type BranchPolicyBuildValidationSettingsPtrOutput

type BranchPolicyBuildValidationSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationSettingsPtrOutput) BuildDefinitionId

The ID of the build to monitor for the policy.

func (BranchPolicyBuildValidationSettingsPtrOutput) DisplayName

The display name for the policy.

func (BranchPolicyBuildValidationSettingsPtrOutput) Elem

func (BranchPolicyBuildValidationSettingsPtrOutput) ElementType

func (BranchPolicyBuildValidationSettingsPtrOutput) FilenamePatterns

If a path filter is set, the policy wil only apply when files which match the filter are changes. Not setting this field means that the policy will always apply. You can specify absolute paths and wildcards. Example: `["/WebApp/Models/Data.cs", "/WebApp/*", "*.cs"]`. Paths prefixed with "!" are excluded. Example: `["/WebApp/*", "!/WebApp/Tests/*"]`. Order is significant.

func (BranchPolicyBuildValidationSettingsPtrOutput) ManualQueueOnly

If set to true, the build will need to be manually queued. Defaults to `false`

func (BranchPolicyBuildValidationSettingsPtrOutput) QueueOnSourceUpdateOnly

True if the build should queue on source updates only. Defaults to `true`.

func (BranchPolicyBuildValidationSettingsPtrOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyBuildValidationSettingsPtrOutput) ToBranchPolicyBuildValidationSettingsPtrOutput

func (o BranchPolicyBuildValidationSettingsPtrOutput) ToBranchPolicyBuildValidationSettingsPtrOutput() BranchPolicyBuildValidationSettingsPtrOutput

func (BranchPolicyBuildValidationSettingsPtrOutput) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext

func (o BranchPolicyBuildValidationSettingsPtrOutput) ToBranchPolicyBuildValidationSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsPtrOutput

func (BranchPolicyBuildValidationSettingsPtrOutput) ValidDuration

The number of minutes for which the build is valid. If `0`, the build will not expire. Defaults to `720` (12 hours).

type BranchPolicyBuildValidationSettingsScope

type BranchPolicyBuildValidationSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyBuildValidationSettingsScopeArgs

type BranchPolicyBuildValidationSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyBuildValidationSettingsScopeArgs) ElementType

func (BranchPolicyBuildValidationSettingsScopeArgs) ToBranchPolicyBuildValidationSettingsScopeOutput

func (i BranchPolicyBuildValidationSettingsScopeArgs) ToBranchPolicyBuildValidationSettingsScopeOutput() BranchPolicyBuildValidationSettingsScopeOutput

func (BranchPolicyBuildValidationSettingsScopeArgs) ToBranchPolicyBuildValidationSettingsScopeOutputWithContext

func (i BranchPolicyBuildValidationSettingsScopeArgs) ToBranchPolicyBuildValidationSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsScopeOutput

type BranchPolicyBuildValidationSettingsScopeArray

type BranchPolicyBuildValidationSettingsScopeArray []BranchPolicyBuildValidationSettingsScopeInput

func (BranchPolicyBuildValidationSettingsScopeArray) ElementType

func (BranchPolicyBuildValidationSettingsScopeArray) ToBranchPolicyBuildValidationSettingsScopeArrayOutput

func (i BranchPolicyBuildValidationSettingsScopeArray) ToBranchPolicyBuildValidationSettingsScopeArrayOutput() BranchPolicyBuildValidationSettingsScopeArrayOutput

func (BranchPolicyBuildValidationSettingsScopeArray) ToBranchPolicyBuildValidationSettingsScopeArrayOutputWithContext

func (i BranchPolicyBuildValidationSettingsScopeArray) ToBranchPolicyBuildValidationSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsScopeArrayOutput

type BranchPolicyBuildValidationSettingsScopeArrayInput

type BranchPolicyBuildValidationSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationSettingsScopeArrayOutput() BranchPolicyBuildValidationSettingsScopeArrayOutput
	ToBranchPolicyBuildValidationSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyBuildValidationSettingsScopeArrayOutput
}

BranchPolicyBuildValidationSettingsScopeArrayInput is an input type that accepts BranchPolicyBuildValidationSettingsScopeArray and BranchPolicyBuildValidationSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationSettingsScopeArrayInput` via:

BranchPolicyBuildValidationSettingsScopeArray{ BranchPolicyBuildValidationSettingsScopeArgs{...} }

type BranchPolicyBuildValidationSettingsScopeArrayOutput

type BranchPolicyBuildValidationSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationSettingsScopeArrayOutput) ElementType

func (BranchPolicyBuildValidationSettingsScopeArrayOutput) Index

func (BranchPolicyBuildValidationSettingsScopeArrayOutput) ToBranchPolicyBuildValidationSettingsScopeArrayOutput

func (o BranchPolicyBuildValidationSettingsScopeArrayOutput) ToBranchPolicyBuildValidationSettingsScopeArrayOutput() BranchPolicyBuildValidationSettingsScopeArrayOutput

func (BranchPolicyBuildValidationSettingsScopeArrayOutput) ToBranchPolicyBuildValidationSettingsScopeArrayOutputWithContext

func (o BranchPolicyBuildValidationSettingsScopeArrayOutput) ToBranchPolicyBuildValidationSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsScopeArrayOutput

type BranchPolicyBuildValidationSettingsScopeInput

type BranchPolicyBuildValidationSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyBuildValidationSettingsScopeOutput() BranchPolicyBuildValidationSettingsScopeOutput
	ToBranchPolicyBuildValidationSettingsScopeOutputWithContext(context.Context) BranchPolicyBuildValidationSettingsScopeOutput
}

BranchPolicyBuildValidationSettingsScopeInput is an input type that accepts BranchPolicyBuildValidationSettingsScopeArgs and BranchPolicyBuildValidationSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyBuildValidationSettingsScopeInput` via:

BranchPolicyBuildValidationSettingsScopeArgs{...}

type BranchPolicyBuildValidationSettingsScopeOutput

type BranchPolicyBuildValidationSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationSettingsScopeOutput) ElementType

func (BranchPolicyBuildValidationSettingsScopeOutput) MatchType

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyBuildValidationSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyBuildValidationSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyBuildValidationSettingsScopeOutput) ToBranchPolicyBuildValidationSettingsScopeOutput

func (o BranchPolicyBuildValidationSettingsScopeOutput) ToBranchPolicyBuildValidationSettingsScopeOutput() BranchPolicyBuildValidationSettingsScopeOutput

func (BranchPolicyBuildValidationSettingsScopeOutput) ToBranchPolicyBuildValidationSettingsScopeOutputWithContext

func (o BranchPolicyBuildValidationSettingsScopeOutput) ToBranchPolicyBuildValidationSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyBuildValidationSettingsScopeOutput

type BranchPolicyBuildValidationState

type BranchPolicyBuildValidationState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyBuildValidationSettingsPtrInput
}

func (BranchPolicyBuildValidationState) ElementType

type BranchPolicyCommentResolution

type BranchPolicyCommentResolution struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyCommentResolutionSettingsOutput `pulumi:"settings"`
}

Configure a comment resolution policy for your branch within Azure DevOps project.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyCommentResolution(ctx, "branchPolicyCommentResolution", &azuredevops.BranchPolicyCommentResolutionArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyCommentResolutionSettingsArgs{
				Scopes: azuredevops.BranchPolicyCommentResolutionSettingsScopeArray{
					&azuredevops.BranchPolicyCommentResolutionSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyCommentResolutionSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyCommentResolution:BranchPolicyCommentResolution p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyCommentResolution

func GetBranchPolicyCommentResolution(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyCommentResolutionState, opts ...pulumi.ResourceOption) (*BranchPolicyCommentResolution, error)

GetBranchPolicyCommentResolution gets an existing BranchPolicyCommentResolution 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 NewBranchPolicyCommentResolution

func NewBranchPolicyCommentResolution(ctx *pulumi.Context,
	name string, args *BranchPolicyCommentResolutionArgs, opts ...pulumi.ResourceOption) (*BranchPolicyCommentResolution, error)

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

func (*BranchPolicyCommentResolution) ElementType

func (*BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionOutput

func (i *BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionOutput() BranchPolicyCommentResolutionOutput

func (*BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionOutputWithContext

func (i *BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionOutput

func (*BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionPtrOutput added in v1.2.2

func (i *BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionPtrOutput() BranchPolicyCommentResolutionPtrOutput

func (*BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionPtrOutputWithContext added in v1.2.2

func (i *BranchPolicyCommentResolution) ToBranchPolicyCommentResolutionPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionPtrOutput

type BranchPolicyCommentResolutionArgs

type BranchPolicyCommentResolutionArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyCommentResolutionSettingsInput
}

The set of arguments for constructing a BranchPolicyCommentResolution resource.

func (BranchPolicyCommentResolutionArgs) ElementType

type BranchPolicyCommentResolutionArray added in v1.2.2

type BranchPolicyCommentResolutionArray []BranchPolicyCommentResolutionInput

func (BranchPolicyCommentResolutionArray) ElementType added in v1.2.2

func (BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutput added in v1.2.2

func (i BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutput() BranchPolicyCommentResolutionArrayOutput

func (BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutputWithContext added in v1.2.2

func (i BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionArrayOutput

type BranchPolicyCommentResolutionArrayInput added in v1.2.2

type BranchPolicyCommentResolutionArrayInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionArrayOutput() BranchPolicyCommentResolutionArrayOutput
	ToBranchPolicyCommentResolutionArrayOutputWithContext(context.Context) BranchPolicyCommentResolutionArrayOutput
}

BranchPolicyCommentResolutionArrayInput is an input type that accepts BranchPolicyCommentResolutionArray and BranchPolicyCommentResolutionArrayOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionArrayInput` via:

BranchPolicyCommentResolutionArray{ BranchPolicyCommentResolutionArgs{...} }

type BranchPolicyCommentResolutionArrayOutput added in v1.2.2

type BranchPolicyCommentResolutionArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionArrayOutput) ElementType added in v1.2.2

func (BranchPolicyCommentResolutionArrayOutput) Index added in v1.2.2

func (BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutput added in v1.2.2

func (o BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutput() BranchPolicyCommentResolutionArrayOutput

func (BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutputWithContext added in v1.2.2

func (o BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionArrayOutput

type BranchPolicyCommentResolutionInput

type BranchPolicyCommentResolutionInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionOutput() BranchPolicyCommentResolutionOutput
	ToBranchPolicyCommentResolutionOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionOutput
}

type BranchPolicyCommentResolutionMap added in v1.2.2

type BranchPolicyCommentResolutionMap map[string]BranchPolicyCommentResolutionInput

func (BranchPolicyCommentResolutionMap) ElementType added in v1.2.2

func (BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutput added in v1.2.2

func (i BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutput() BranchPolicyCommentResolutionMapOutput

func (BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutputWithContext added in v1.2.2

func (i BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionMapOutput

type BranchPolicyCommentResolutionMapInput added in v1.2.2

type BranchPolicyCommentResolutionMapInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionMapOutput() BranchPolicyCommentResolutionMapOutput
	ToBranchPolicyCommentResolutionMapOutputWithContext(context.Context) BranchPolicyCommentResolutionMapOutput
}

BranchPolicyCommentResolutionMapInput is an input type that accepts BranchPolicyCommentResolutionMap and BranchPolicyCommentResolutionMapOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionMapInput` via:

BranchPolicyCommentResolutionMap{ "key": BranchPolicyCommentResolutionArgs{...} }

type BranchPolicyCommentResolutionMapOutput added in v1.2.2

type BranchPolicyCommentResolutionMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionMapOutput) ElementType added in v1.2.2

func (BranchPolicyCommentResolutionMapOutput) MapIndex added in v1.2.2

func (BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutput added in v1.2.2

func (o BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutput() BranchPolicyCommentResolutionMapOutput

func (BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutputWithContext added in v1.2.2

func (o BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionMapOutput

type BranchPolicyCommentResolutionOutput

type BranchPolicyCommentResolutionOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyCommentResolutionOutput) ElementType

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutput

func (o BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutput() BranchPolicyCommentResolutionOutput

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutputWithContext

func (o BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionOutput

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionPtrOutput added in v1.2.2

func (o BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionPtrOutput() BranchPolicyCommentResolutionPtrOutput

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionPtrOutputWithContext added in v1.2.2

func (o BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionPtrOutput

type BranchPolicyCommentResolutionPtrInput added in v1.2.2

type BranchPolicyCommentResolutionPtrInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionPtrOutput() BranchPolicyCommentResolutionPtrOutput
	ToBranchPolicyCommentResolutionPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionPtrOutput
}

type BranchPolicyCommentResolutionPtrOutput added in v1.2.2

type BranchPolicyCommentResolutionPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyCommentResolutionPtrOutput) ElementType added in v1.2.2

func (BranchPolicyCommentResolutionPtrOutput) ToBranchPolicyCommentResolutionPtrOutput added in v1.2.2

func (o BranchPolicyCommentResolutionPtrOutput) ToBranchPolicyCommentResolutionPtrOutput() BranchPolicyCommentResolutionPtrOutput

func (BranchPolicyCommentResolutionPtrOutput) ToBranchPolicyCommentResolutionPtrOutputWithContext added in v1.2.2

func (o BranchPolicyCommentResolutionPtrOutput) ToBranchPolicyCommentResolutionPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionPtrOutput

type BranchPolicyCommentResolutionSettings

type BranchPolicyCommentResolutionSettings struct {
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyCommentResolutionSettingsScope `pulumi:"scopes"`
}

type BranchPolicyCommentResolutionSettingsArgs

type BranchPolicyCommentResolutionSettingsArgs struct {
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyCommentResolutionSettingsScopeArrayInput `pulumi:"scopes"`
}

func (BranchPolicyCommentResolutionSettingsArgs) ElementType

func (BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsOutput

func (i BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsOutput() BranchPolicyCommentResolutionSettingsOutput

func (BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsOutputWithContext

func (i BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsOutput

func (BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsPtrOutput

func (i BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsPtrOutput() BranchPolicyCommentResolutionSettingsPtrOutput

func (BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext

func (i BranchPolicyCommentResolutionSettingsArgs) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsPtrOutput

type BranchPolicyCommentResolutionSettingsInput

type BranchPolicyCommentResolutionSettingsInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionSettingsOutput() BranchPolicyCommentResolutionSettingsOutput
	ToBranchPolicyCommentResolutionSettingsOutputWithContext(context.Context) BranchPolicyCommentResolutionSettingsOutput
}

BranchPolicyCommentResolutionSettingsInput is an input type that accepts BranchPolicyCommentResolutionSettingsArgs and BranchPolicyCommentResolutionSettingsOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionSettingsInput` via:

BranchPolicyCommentResolutionSettingsArgs{...}

type BranchPolicyCommentResolutionSettingsOutput

type BranchPolicyCommentResolutionSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionSettingsOutput) ElementType

func (BranchPolicyCommentResolutionSettingsOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsOutput

func (o BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsOutput() BranchPolicyCommentResolutionSettingsOutput

func (BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsOutputWithContext

func (o BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsOutput

func (BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsPtrOutput

func (o BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsPtrOutput() BranchPolicyCommentResolutionSettingsPtrOutput

func (BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext

func (o BranchPolicyCommentResolutionSettingsOutput) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsPtrOutput

type BranchPolicyCommentResolutionSettingsPtrInput

type BranchPolicyCommentResolutionSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionSettingsPtrOutput() BranchPolicyCommentResolutionSettingsPtrOutput
	ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext(context.Context) BranchPolicyCommentResolutionSettingsPtrOutput
}

BranchPolicyCommentResolutionSettingsPtrInput is an input type that accepts BranchPolicyCommentResolutionSettingsArgs, BranchPolicyCommentResolutionSettingsPtr and BranchPolicyCommentResolutionSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionSettingsPtrInput` via:

        BranchPolicyCommentResolutionSettingsArgs{...}

or:

        nil

type BranchPolicyCommentResolutionSettingsPtrOutput

type BranchPolicyCommentResolutionSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionSettingsPtrOutput) Elem

func (BranchPolicyCommentResolutionSettingsPtrOutput) ElementType

func (BranchPolicyCommentResolutionSettingsPtrOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyCommentResolutionSettingsPtrOutput) ToBranchPolicyCommentResolutionSettingsPtrOutput

func (o BranchPolicyCommentResolutionSettingsPtrOutput) ToBranchPolicyCommentResolutionSettingsPtrOutput() BranchPolicyCommentResolutionSettingsPtrOutput

func (BranchPolicyCommentResolutionSettingsPtrOutput) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext

func (o BranchPolicyCommentResolutionSettingsPtrOutput) ToBranchPolicyCommentResolutionSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsPtrOutput

type BranchPolicyCommentResolutionSettingsScope

type BranchPolicyCommentResolutionSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyCommentResolutionSettingsScopeArgs

type BranchPolicyCommentResolutionSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyCommentResolutionSettingsScopeArgs) ElementType

func (BranchPolicyCommentResolutionSettingsScopeArgs) ToBranchPolicyCommentResolutionSettingsScopeOutput

func (i BranchPolicyCommentResolutionSettingsScopeArgs) ToBranchPolicyCommentResolutionSettingsScopeOutput() BranchPolicyCommentResolutionSettingsScopeOutput

func (BranchPolicyCommentResolutionSettingsScopeArgs) ToBranchPolicyCommentResolutionSettingsScopeOutputWithContext

func (i BranchPolicyCommentResolutionSettingsScopeArgs) ToBranchPolicyCommentResolutionSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsScopeOutput

type BranchPolicyCommentResolutionSettingsScopeArray

type BranchPolicyCommentResolutionSettingsScopeArray []BranchPolicyCommentResolutionSettingsScopeInput

func (BranchPolicyCommentResolutionSettingsScopeArray) ElementType

func (BranchPolicyCommentResolutionSettingsScopeArray) ToBranchPolicyCommentResolutionSettingsScopeArrayOutput

func (i BranchPolicyCommentResolutionSettingsScopeArray) ToBranchPolicyCommentResolutionSettingsScopeArrayOutput() BranchPolicyCommentResolutionSettingsScopeArrayOutput

func (BranchPolicyCommentResolutionSettingsScopeArray) ToBranchPolicyCommentResolutionSettingsScopeArrayOutputWithContext

func (i BranchPolicyCommentResolutionSettingsScopeArray) ToBranchPolicyCommentResolutionSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsScopeArrayOutput

type BranchPolicyCommentResolutionSettingsScopeArrayInput

type BranchPolicyCommentResolutionSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionSettingsScopeArrayOutput() BranchPolicyCommentResolutionSettingsScopeArrayOutput
	ToBranchPolicyCommentResolutionSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyCommentResolutionSettingsScopeArrayOutput
}

BranchPolicyCommentResolutionSettingsScopeArrayInput is an input type that accepts BranchPolicyCommentResolutionSettingsScopeArray and BranchPolicyCommentResolutionSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionSettingsScopeArrayInput` via:

BranchPolicyCommentResolutionSettingsScopeArray{ BranchPolicyCommentResolutionSettingsScopeArgs{...} }

type BranchPolicyCommentResolutionSettingsScopeArrayOutput

type BranchPolicyCommentResolutionSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionSettingsScopeArrayOutput) ElementType

func (BranchPolicyCommentResolutionSettingsScopeArrayOutput) Index

func (BranchPolicyCommentResolutionSettingsScopeArrayOutput) ToBranchPolicyCommentResolutionSettingsScopeArrayOutput

func (BranchPolicyCommentResolutionSettingsScopeArrayOutput) ToBranchPolicyCommentResolutionSettingsScopeArrayOutputWithContext

func (o BranchPolicyCommentResolutionSettingsScopeArrayOutput) ToBranchPolicyCommentResolutionSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsScopeArrayOutput

type BranchPolicyCommentResolutionSettingsScopeInput

type BranchPolicyCommentResolutionSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyCommentResolutionSettingsScopeOutput() BranchPolicyCommentResolutionSettingsScopeOutput
	ToBranchPolicyCommentResolutionSettingsScopeOutputWithContext(context.Context) BranchPolicyCommentResolutionSettingsScopeOutput
}

BranchPolicyCommentResolutionSettingsScopeInput is an input type that accepts BranchPolicyCommentResolutionSettingsScopeArgs and BranchPolicyCommentResolutionSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyCommentResolutionSettingsScopeInput` via:

BranchPolicyCommentResolutionSettingsScopeArgs{...}

type BranchPolicyCommentResolutionSettingsScopeOutput

type BranchPolicyCommentResolutionSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionSettingsScopeOutput) ElementType

func (BranchPolicyCommentResolutionSettingsScopeOutput) MatchType

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyCommentResolutionSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyCommentResolutionSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyCommentResolutionSettingsScopeOutput) ToBranchPolicyCommentResolutionSettingsScopeOutput

func (o BranchPolicyCommentResolutionSettingsScopeOutput) ToBranchPolicyCommentResolutionSettingsScopeOutput() BranchPolicyCommentResolutionSettingsScopeOutput

func (BranchPolicyCommentResolutionSettingsScopeOutput) ToBranchPolicyCommentResolutionSettingsScopeOutputWithContext

func (o BranchPolicyCommentResolutionSettingsScopeOutput) ToBranchPolicyCommentResolutionSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyCommentResolutionSettingsScopeOutput

type BranchPolicyCommentResolutionState

type BranchPolicyCommentResolutionState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyCommentResolutionSettingsPtrInput
}

func (BranchPolicyCommentResolutionState) ElementType

type BranchPolicyMergeTypes added in v1.3.2

type BranchPolicyMergeTypes struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMergeTypesSettingsOutput `pulumi:"settings"`
}

Branch policy for merge types allowed on a specified branch.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyMergeTypes(ctx, "branchPolicyMergeTypes", &azuredevops.BranchPolicyMergeTypesArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyMergeTypesSettingsArgs{
				AllowSquash:               pulumi.Bool(true),
				AllowRebaseAndFastForward: pulumi.Bool(true),
				AllowBasicNoFastForward:   pulumi.Bool(true),
				AllowRebaseWithMerge:      pulumi.Bool(true),
				Scopes: azuredevops.BranchPolicyMergeTypesSettingsScopeArray{
					&azuredevops.BranchPolicyMergeTypesSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyMergeTypesSettingsScopeArgs{
						RepositoryId:  nil,
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyMergeTypes:BranchPolicyMergeTypes p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyMergeTypes added in v1.3.2

func GetBranchPolicyMergeTypes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyMergeTypesState, opts ...pulumi.ResourceOption) (*BranchPolicyMergeTypes, error)

GetBranchPolicyMergeTypes gets an existing BranchPolicyMergeTypes 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 NewBranchPolicyMergeTypes added in v1.3.2

func NewBranchPolicyMergeTypes(ctx *pulumi.Context,
	name string, args *BranchPolicyMergeTypesArgs, opts ...pulumi.ResourceOption) (*BranchPolicyMergeTypes, error)

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

func (*BranchPolicyMergeTypes) ElementType added in v1.3.2

func (*BranchPolicyMergeTypes) ElementType() reflect.Type

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutput added in v1.3.2

func (i *BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutput() BranchPolicyMergeTypesOutput

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutputWithContext added in v1.3.2

func (i *BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutputWithContext(ctx context.Context) BranchPolicyMergeTypesOutput

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesPtrOutput added in v1.3.2

func (i *BranchPolicyMergeTypes) ToBranchPolicyMergeTypesPtrOutput() BranchPolicyMergeTypesPtrOutput

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesPtrOutputWithContext added in v1.3.2

func (i *BranchPolicyMergeTypes) ToBranchPolicyMergeTypesPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesPtrOutput

type BranchPolicyMergeTypesArgs added in v1.3.2

type BranchPolicyMergeTypesArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMergeTypesSettingsInput
}

The set of arguments for constructing a BranchPolicyMergeTypes resource.

func (BranchPolicyMergeTypesArgs) ElementType added in v1.3.2

func (BranchPolicyMergeTypesArgs) ElementType() reflect.Type

type BranchPolicyMergeTypesArray added in v1.3.2

type BranchPolicyMergeTypesArray []BranchPolicyMergeTypesInput

func (BranchPolicyMergeTypesArray) ElementType added in v1.3.2

func (BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutput added in v1.3.2

func (i BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutput() BranchPolicyMergeTypesArrayOutput

func (BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutputWithContext(ctx context.Context) BranchPolicyMergeTypesArrayOutput

type BranchPolicyMergeTypesArrayInput added in v1.3.2

type BranchPolicyMergeTypesArrayInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesArrayOutput() BranchPolicyMergeTypesArrayOutput
	ToBranchPolicyMergeTypesArrayOutputWithContext(context.Context) BranchPolicyMergeTypesArrayOutput
}

BranchPolicyMergeTypesArrayInput is an input type that accepts BranchPolicyMergeTypesArray and BranchPolicyMergeTypesArrayOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesArrayInput` via:

BranchPolicyMergeTypesArray{ BranchPolicyMergeTypesArgs{...} }

type BranchPolicyMergeTypesArrayOutput added in v1.3.2

type BranchPolicyMergeTypesArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesArrayOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesArrayOutput) Index added in v1.3.2

func (BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutput added in v1.3.2

func (o BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutput() BranchPolicyMergeTypesArrayOutput

func (BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutputWithContext(ctx context.Context) BranchPolicyMergeTypesArrayOutput

type BranchPolicyMergeTypesInput added in v1.3.2

type BranchPolicyMergeTypesInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesOutput() BranchPolicyMergeTypesOutput
	ToBranchPolicyMergeTypesOutputWithContext(ctx context.Context) BranchPolicyMergeTypesOutput
}

type BranchPolicyMergeTypesMap added in v1.3.2

type BranchPolicyMergeTypesMap map[string]BranchPolicyMergeTypesInput

func (BranchPolicyMergeTypesMap) ElementType added in v1.3.2

func (BranchPolicyMergeTypesMap) ElementType() reflect.Type

func (BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutput added in v1.3.2

func (i BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutput() BranchPolicyMergeTypesMapOutput

func (BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutputWithContext(ctx context.Context) BranchPolicyMergeTypesMapOutput

type BranchPolicyMergeTypesMapInput added in v1.3.2

type BranchPolicyMergeTypesMapInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesMapOutput() BranchPolicyMergeTypesMapOutput
	ToBranchPolicyMergeTypesMapOutputWithContext(context.Context) BranchPolicyMergeTypesMapOutput
}

BranchPolicyMergeTypesMapInput is an input type that accepts BranchPolicyMergeTypesMap and BranchPolicyMergeTypesMapOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesMapInput` via:

BranchPolicyMergeTypesMap{ "key": BranchPolicyMergeTypesArgs{...} }

type BranchPolicyMergeTypesMapOutput added in v1.3.2

type BranchPolicyMergeTypesMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesMapOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesMapOutput) MapIndex added in v1.3.2

func (BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutput added in v1.3.2

func (o BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutput() BranchPolicyMergeTypesMapOutput

func (BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutputWithContext(ctx context.Context) BranchPolicyMergeTypesMapOutput

type BranchPolicyMergeTypesOutput added in v1.3.2

type BranchPolicyMergeTypesOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyMergeTypesOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutput added in v1.3.2

func (o BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutput() BranchPolicyMergeTypesOutput

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutputWithContext(ctx context.Context) BranchPolicyMergeTypesOutput

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesPtrOutput added in v1.3.2

func (o BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesPtrOutput() BranchPolicyMergeTypesPtrOutput

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesPtrOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesPtrOutput

type BranchPolicyMergeTypesPtrInput added in v1.3.2

type BranchPolicyMergeTypesPtrInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesPtrOutput() BranchPolicyMergeTypesPtrOutput
	ToBranchPolicyMergeTypesPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesPtrOutput
}

type BranchPolicyMergeTypesPtrOutput added in v1.3.2

type BranchPolicyMergeTypesPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyMergeTypesPtrOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesPtrOutput) ToBranchPolicyMergeTypesPtrOutput added in v1.3.2

func (o BranchPolicyMergeTypesPtrOutput) ToBranchPolicyMergeTypesPtrOutput() BranchPolicyMergeTypesPtrOutput

func (BranchPolicyMergeTypesPtrOutput) ToBranchPolicyMergeTypesPtrOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesPtrOutput) ToBranchPolicyMergeTypesPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesPtrOutput

type BranchPolicyMergeTypesSettings added in v1.3.2

type BranchPolicyMergeTypesSettings struct {
	// Allow basic merge with no fast forward. Defaults to `false`.
	AllowBasicNoFastForward *bool `pulumi:"allowBasicNoFastForward"`
	// Allow rebase with fast forward. Defaults to `false`.
	AllowRebaseAndFastForward *bool `pulumi:"allowRebaseAndFastForward"`
	// Allow rebase with merge commit. Defaults to `false`.
	AllowRebaseWithMerge *bool `pulumi:"allowRebaseWithMerge"`
	// Allow squash merge. Defaults to `false`
	AllowSquash *bool `pulumi:"allowSquash"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyMergeTypesSettingsScope `pulumi:"scopes"`
}

type BranchPolicyMergeTypesSettingsArgs added in v1.3.2

type BranchPolicyMergeTypesSettingsArgs struct {
	// Allow basic merge with no fast forward. Defaults to `false`.
	AllowBasicNoFastForward pulumi.BoolPtrInput `pulumi:"allowBasicNoFastForward"`
	// Allow rebase with fast forward. Defaults to `false`.
	AllowRebaseAndFastForward pulumi.BoolPtrInput `pulumi:"allowRebaseAndFastForward"`
	// Allow rebase with merge commit. Defaults to `false`.
	AllowRebaseWithMerge pulumi.BoolPtrInput `pulumi:"allowRebaseWithMerge"`
	// Allow squash merge. Defaults to `false`
	AllowSquash pulumi.BoolPtrInput `pulumi:"allowSquash"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyMergeTypesSettingsScopeArrayInput `pulumi:"scopes"`
}

func (BranchPolicyMergeTypesSettingsArgs) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutput added in v1.3.2

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutput() BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutput added in v1.3.2

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsPtrOutput

type BranchPolicyMergeTypesSettingsInput added in v1.3.2

type BranchPolicyMergeTypesSettingsInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesSettingsOutput() BranchPolicyMergeTypesSettingsOutput
	ToBranchPolicyMergeTypesSettingsOutputWithContext(context.Context) BranchPolicyMergeTypesSettingsOutput
}

BranchPolicyMergeTypesSettingsInput is an input type that accepts BranchPolicyMergeTypesSettingsArgs and BranchPolicyMergeTypesSettingsOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesSettingsInput` via:

BranchPolicyMergeTypesSettingsArgs{...}

type BranchPolicyMergeTypesSettingsOutput added in v1.3.2

type BranchPolicyMergeTypesSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsOutput) AllowBasicNoFastForward added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) AllowBasicNoFastForward() pulumi.BoolPtrOutput

Allow basic merge with no fast forward. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsOutput) AllowRebaseAndFastForward added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) AllowRebaseAndFastForward() pulumi.BoolPtrOutput

Allow rebase with fast forward. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsOutput) AllowRebaseWithMerge added in v1.3.2

Allow rebase with merge commit. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsOutput) AllowSquash added in v1.3.2

Allow squash merge. Defaults to `false`

func (BranchPolicyMergeTypesSettingsOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsOutput) Scopes added in v1.3.2

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutput added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutput() BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutput added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsPtrOutput

type BranchPolicyMergeTypesSettingsPtrInput added in v1.3.2

type BranchPolicyMergeTypesSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput
	ToBranchPolicyMergeTypesSettingsPtrOutputWithContext(context.Context) BranchPolicyMergeTypesSettingsPtrOutput
}

BranchPolicyMergeTypesSettingsPtrInput is an input type that accepts BranchPolicyMergeTypesSettingsArgs, BranchPolicyMergeTypesSettingsPtr and BranchPolicyMergeTypesSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesSettingsPtrInput` via:

        BranchPolicyMergeTypesSettingsArgs{...}

or:

        nil

type BranchPolicyMergeTypesSettingsPtrOutput added in v1.3.2

type BranchPolicyMergeTypesSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowBasicNoFastForward added in v1.3.2

func (o BranchPolicyMergeTypesSettingsPtrOutput) AllowBasicNoFastForward() pulumi.BoolPtrOutput

Allow basic merge with no fast forward. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseAndFastForward added in v1.3.2

func (o BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseAndFastForward() pulumi.BoolPtrOutput

Allow rebase with fast forward. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseWithMerge added in v1.3.2

Allow rebase with merge commit. Defaults to `false`.

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowSquash added in v1.3.2

Allow squash merge. Defaults to `false`

func (BranchPolicyMergeTypesSettingsPtrOutput) Elem added in v1.3.2

func (BranchPolicyMergeTypesSettingsPtrOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsPtrOutput) Scopes added in v1.3.2

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutput added in v1.3.2

func (o BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsPtrOutput

type BranchPolicyMergeTypesSettingsScope added in v1.3.2

type BranchPolicyMergeTypesSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyMergeTypesSettingsScopeArgs added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyMergeTypesSettingsScopeArgs) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutput added in v1.3.2

func (i BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutput() BranchPolicyMergeTypesSettingsScopeOutput

func (BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsScopeOutput

type BranchPolicyMergeTypesSettingsScopeArray added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeArray []BranchPolicyMergeTypesSettingsScopeInput

func (BranchPolicyMergeTypesSettingsScopeArray) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutput added in v1.3.2

func (i BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutput() BranchPolicyMergeTypesSettingsScopeArrayOutput

func (BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext added in v1.3.2

func (i BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsScopeArrayOutput

type BranchPolicyMergeTypesSettingsScopeArrayInput added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesSettingsScopeArrayOutput() BranchPolicyMergeTypesSettingsScopeArrayOutput
	ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyMergeTypesSettingsScopeArrayOutput
}

BranchPolicyMergeTypesSettingsScopeArrayInput is an input type that accepts BranchPolicyMergeTypesSettingsScopeArray and BranchPolicyMergeTypesSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesSettingsScopeArrayInput` via:

BranchPolicyMergeTypesSettingsScopeArray{ BranchPolicyMergeTypesSettingsScopeArgs{...} }

type BranchPolicyMergeTypesSettingsScopeArrayOutput added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) Index added in v1.3.2

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutput added in v1.3.2

func (o BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutput() BranchPolicyMergeTypesSettingsScopeArrayOutput

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsScopeArrayOutput

type BranchPolicyMergeTypesSettingsScopeInput added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyMergeTypesSettingsScopeOutput() BranchPolicyMergeTypesSettingsScopeOutput
	ToBranchPolicyMergeTypesSettingsScopeOutputWithContext(context.Context) BranchPolicyMergeTypesSettingsScopeOutput
}

BranchPolicyMergeTypesSettingsScopeInput is an input type that accepts BranchPolicyMergeTypesSettingsScopeArgs and BranchPolicyMergeTypesSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyMergeTypesSettingsScopeInput` via:

BranchPolicyMergeTypesSettingsScopeArgs{...}

type BranchPolicyMergeTypesSettingsScopeOutput added in v1.3.2

type BranchPolicyMergeTypesSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsScopeOutput) ElementType added in v1.3.2

func (BranchPolicyMergeTypesSettingsScopeOutput) MatchType added in v1.3.2

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyMergeTypesSettingsScopeOutput) RepositoryId added in v1.3.2

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyMergeTypesSettingsScopeOutput) RepositoryRef added in v1.3.2

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutput added in v1.3.2

func (o BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutput() BranchPolicyMergeTypesSettingsScopeOutput

func (BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext added in v1.3.2

func (o BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyMergeTypesSettingsScopeOutput

type BranchPolicyMergeTypesState added in v1.3.2

type BranchPolicyMergeTypesState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMergeTypesSettingsPtrInput
}

func (BranchPolicyMergeTypesState) ElementType added in v1.3.2

type BranchPolicyMinReviewers

type BranchPolicyMinReviewers struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMinReviewersSettingsOutput `pulumi:"settings"`
}

Branch policy for reviewers on pull requests. Includes the minimum number of reviewers and other conditions.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyMinReviewers(ctx, "branchPolicyMinReviewers", &azuredevops.BranchPolicyMinReviewersArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyMinReviewersSettingsArgs{
				ReviewerCount:                     pulumi.Int(7),
				SubmitterCanVote:                  pulumi.Bool(false),
				LastPusherCannotApprove:           pulumi.Bool(true),
				AllowCompletionWithRejectsOrWaits: pulumi.Bool(false),
				OnPushResetApprovedVotes:          pulumi.Bool(true),
				OnLastIterationRequireVote:        pulumi.Bool(false),
				Scopes: azuredevops.BranchPolicyMinReviewersSettingsScopeArray{
					&azuredevops.BranchPolicyMinReviewersSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyMinReviewersSettingsScopeArgs{
						RepositoryId:  nil,
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyMinReviewers:BranchPolicyMinReviewers p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyMinReviewers

func GetBranchPolicyMinReviewers(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyMinReviewersState, opts ...pulumi.ResourceOption) (*BranchPolicyMinReviewers, error)

GetBranchPolicyMinReviewers gets an existing BranchPolicyMinReviewers 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 NewBranchPolicyMinReviewers

func NewBranchPolicyMinReviewers(ctx *pulumi.Context,
	name string, args *BranchPolicyMinReviewersArgs, opts ...pulumi.ResourceOption) (*BranchPolicyMinReviewers, error)

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

func (*BranchPolicyMinReviewers) ElementType

func (*BranchPolicyMinReviewers) ElementType() reflect.Type

func (*BranchPolicyMinReviewers) ToBranchPolicyMinReviewersOutput

func (i *BranchPolicyMinReviewers) ToBranchPolicyMinReviewersOutput() BranchPolicyMinReviewersOutput

func (*BranchPolicyMinReviewers) ToBranchPolicyMinReviewersOutputWithContext

func (i *BranchPolicyMinReviewers) ToBranchPolicyMinReviewersOutputWithContext(ctx context.Context) BranchPolicyMinReviewersOutput

func (*BranchPolicyMinReviewers) ToBranchPolicyMinReviewersPtrOutput added in v1.2.2

func (i *BranchPolicyMinReviewers) ToBranchPolicyMinReviewersPtrOutput() BranchPolicyMinReviewersPtrOutput

func (*BranchPolicyMinReviewers) ToBranchPolicyMinReviewersPtrOutputWithContext added in v1.2.2

func (i *BranchPolicyMinReviewers) ToBranchPolicyMinReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersPtrOutput

type BranchPolicyMinReviewersArgs

type BranchPolicyMinReviewersArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMinReviewersSettingsInput
}

The set of arguments for constructing a BranchPolicyMinReviewers resource.

func (BranchPolicyMinReviewersArgs) ElementType

type BranchPolicyMinReviewersArray added in v1.2.2

type BranchPolicyMinReviewersArray []BranchPolicyMinReviewersInput

func (BranchPolicyMinReviewersArray) ElementType added in v1.2.2

func (BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutput added in v1.2.2

func (i BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutput() BranchPolicyMinReviewersArrayOutput

func (BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutputWithContext added in v1.2.2

func (i BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutputWithContext(ctx context.Context) BranchPolicyMinReviewersArrayOutput

type BranchPolicyMinReviewersArrayInput added in v1.2.2

type BranchPolicyMinReviewersArrayInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersArrayOutput() BranchPolicyMinReviewersArrayOutput
	ToBranchPolicyMinReviewersArrayOutputWithContext(context.Context) BranchPolicyMinReviewersArrayOutput
}

BranchPolicyMinReviewersArrayInput is an input type that accepts BranchPolicyMinReviewersArray and BranchPolicyMinReviewersArrayOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersArrayInput` via:

BranchPolicyMinReviewersArray{ BranchPolicyMinReviewersArgs{...} }

type BranchPolicyMinReviewersArrayOutput added in v1.2.2

type BranchPolicyMinReviewersArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersArrayOutput) ElementType added in v1.2.2

func (BranchPolicyMinReviewersArrayOutput) Index added in v1.2.2

func (BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutput added in v1.2.2

func (o BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutput() BranchPolicyMinReviewersArrayOutput

func (BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutputWithContext added in v1.2.2

func (o BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutputWithContext(ctx context.Context) BranchPolicyMinReviewersArrayOutput

type BranchPolicyMinReviewersInput

type BranchPolicyMinReviewersInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersOutput() BranchPolicyMinReviewersOutput
	ToBranchPolicyMinReviewersOutputWithContext(ctx context.Context) BranchPolicyMinReviewersOutput
}

type BranchPolicyMinReviewersMap added in v1.2.2

type BranchPolicyMinReviewersMap map[string]BranchPolicyMinReviewersInput

func (BranchPolicyMinReviewersMap) ElementType added in v1.2.2

func (BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutput added in v1.2.2

func (i BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutput() BranchPolicyMinReviewersMapOutput

func (BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutputWithContext added in v1.2.2

func (i BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutputWithContext(ctx context.Context) BranchPolicyMinReviewersMapOutput

type BranchPolicyMinReviewersMapInput added in v1.2.2

type BranchPolicyMinReviewersMapInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersMapOutput() BranchPolicyMinReviewersMapOutput
	ToBranchPolicyMinReviewersMapOutputWithContext(context.Context) BranchPolicyMinReviewersMapOutput
}

BranchPolicyMinReviewersMapInput is an input type that accepts BranchPolicyMinReviewersMap and BranchPolicyMinReviewersMapOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersMapInput` via:

BranchPolicyMinReviewersMap{ "key": BranchPolicyMinReviewersArgs{...} }

type BranchPolicyMinReviewersMapOutput added in v1.2.2

type BranchPolicyMinReviewersMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersMapOutput) ElementType added in v1.2.2

func (BranchPolicyMinReviewersMapOutput) MapIndex added in v1.2.2

func (BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutput added in v1.2.2

func (o BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutput() BranchPolicyMinReviewersMapOutput

func (BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutputWithContext added in v1.2.2

func (o BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutputWithContext(ctx context.Context) BranchPolicyMinReviewersMapOutput

type BranchPolicyMinReviewersOutput

type BranchPolicyMinReviewersOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyMinReviewersOutput) ElementType

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutput

func (o BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutput() BranchPolicyMinReviewersOutput

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutputWithContext

func (o BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutputWithContext(ctx context.Context) BranchPolicyMinReviewersOutput

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersPtrOutput added in v1.2.2

func (o BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersPtrOutput() BranchPolicyMinReviewersPtrOutput

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersPtrOutputWithContext added in v1.2.2

func (o BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersPtrOutput

type BranchPolicyMinReviewersPtrInput added in v1.2.2

type BranchPolicyMinReviewersPtrInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersPtrOutput() BranchPolicyMinReviewersPtrOutput
	ToBranchPolicyMinReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersPtrOutput
}

type BranchPolicyMinReviewersPtrOutput added in v1.2.2

type BranchPolicyMinReviewersPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyMinReviewersPtrOutput) ElementType added in v1.2.2

func (BranchPolicyMinReviewersPtrOutput) ToBranchPolicyMinReviewersPtrOutput added in v1.2.2

func (o BranchPolicyMinReviewersPtrOutput) ToBranchPolicyMinReviewersPtrOutput() BranchPolicyMinReviewersPtrOutput

func (BranchPolicyMinReviewersPtrOutput) ToBranchPolicyMinReviewersPtrOutputWithContext added in v1.2.2

func (o BranchPolicyMinReviewersPtrOutput) ToBranchPolicyMinReviewersPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersPtrOutput

type BranchPolicyMinReviewersSettings

type BranchPolicyMinReviewersSettings struct {
	// Allow completion even if some reviewers vote to wait or reject. Defaults to `false`.
	AllowCompletionWithRejectsOrWaits *bool `pulumi:"allowCompletionWithRejectsOrWaits"`
	// Prohibit the most recent pusher from approving their own changes. Defaults to `false`.
	LastPusherCannotApprove *bool `pulumi:"lastPusherCannotApprove"`
	// On last iteration require vote. Defaults to `false`.
	OnLastIterationRequireVote *bool `pulumi:"onLastIterationRequireVote"`
	// When new changes are pushed reset all code reviewer votes. Defaults to `false`.
	OnPushResetAllVotes *bool `pulumi:"onPushResetAllVotes"`
	// When new changes are pushed reset all approval votes (does not reset votes to reject or wait). Defaults to `false`.
	OnPushResetApprovedVotes *bool `pulumi:"onPushResetApprovedVotes"`
	// The number of reviewers needed to approve.
	ReviewerCount *int `pulumi:"reviewerCount"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyMinReviewersSettingsScope `pulumi:"scopes"`
	// Allow requesters to approve their own changes. Defaults to `false`.
	SubmitterCanVote *bool `pulumi:"submitterCanVote"`
}

type BranchPolicyMinReviewersSettingsArgs

type BranchPolicyMinReviewersSettingsArgs struct {
	// Allow completion even if some reviewers vote to wait or reject. Defaults to `false`.
	AllowCompletionWithRejectsOrWaits pulumi.BoolPtrInput `pulumi:"allowCompletionWithRejectsOrWaits"`
	// Prohibit the most recent pusher from approving their own changes. Defaults to `false`.
	LastPusherCannotApprove pulumi.BoolPtrInput `pulumi:"lastPusherCannotApprove"`
	// On last iteration require vote. Defaults to `false`.
	OnLastIterationRequireVote pulumi.BoolPtrInput `pulumi:"onLastIterationRequireVote"`
	// When new changes are pushed reset all code reviewer votes. Defaults to `false`.
	OnPushResetAllVotes pulumi.BoolPtrInput `pulumi:"onPushResetAllVotes"`
	// When new changes are pushed reset all approval votes (does not reset votes to reject or wait). Defaults to `false`.
	OnPushResetApprovedVotes pulumi.BoolPtrInput `pulumi:"onPushResetApprovedVotes"`
	// The number of reviewers needed to approve.
	ReviewerCount pulumi.IntPtrInput `pulumi:"reviewerCount"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyMinReviewersSettingsScopeArrayInput `pulumi:"scopes"`
	// Allow requesters to approve their own changes. Defaults to `false`.
	SubmitterCanVote pulumi.BoolPtrInput `pulumi:"submitterCanVote"`
}

func (BranchPolicyMinReviewersSettingsArgs) ElementType

func (BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsOutput

func (i BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsOutput() BranchPolicyMinReviewersSettingsOutput

func (BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsOutputWithContext

func (i BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsOutput

func (BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsPtrOutput

func (i BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsPtrOutput() BranchPolicyMinReviewersSettingsPtrOutput

func (BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext

func (i BranchPolicyMinReviewersSettingsArgs) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsPtrOutput

type BranchPolicyMinReviewersSettingsInput

type BranchPolicyMinReviewersSettingsInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersSettingsOutput() BranchPolicyMinReviewersSettingsOutput
	ToBranchPolicyMinReviewersSettingsOutputWithContext(context.Context) BranchPolicyMinReviewersSettingsOutput
}

BranchPolicyMinReviewersSettingsInput is an input type that accepts BranchPolicyMinReviewersSettingsArgs and BranchPolicyMinReviewersSettingsOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersSettingsInput` via:

BranchPolicyMinReviewersSettingsArgs{...}

type BranchPolicyMinReviewersSettingsOutput

type BranchPolicyMinReviewersSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersSettingsOutput) AllowCompletionWithRejectsOrWaits added in v1.2.1

func (o BranchPolicyMinReviewersSettingsOutput) AllowCompletionWithRejectsOrWaits() pulumi.BoolPtrOutput

Allow completion even if some reviewers vote to wait or reject. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) ElementType

func (BranchPolicyMinReviewersSettingsOutput) LastPusherCannotApprove added in v1.2.1

func (o BranchPolicyMinReviewersSettingsOutput) LastPusherCannotApprove() pulumi.BoolPtrOutput

Prohibit the most recent pusher from approving their own changes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) OnLastIterationRequireVote added in v1.2.1

func (o BranchPolicyMinReviewersSettingsOutput) OnLastIterationRequireVote() pulumi.BoolPtrOutput

On last iteration require vote. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) OnPushResetAllVotes added in v1.2.1

When new changes are pushed reset all code reviewer votes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) OnPushResetApprovedVotes added in v1.2.1

func (o BranchPolicyMinReviewersSettingsOutput) OnPushResetApprovedVotes() pulumi.BoolPtrOutput

When new changes are pushed reset all approval votes (does not reset votes to reject or wait). Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) ReviewerCount

The number of reviewers needed to approve.

func (BranchPolicyMinReviewersSettingsOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyMinReviewersSettingsOutput) SubmitterCanVote

Allow requesters to approve their own changes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsOutput

func (o BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsOutput() BranchPolicyMinReviewersSettingsOutput

func (BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsOutputWithContext

func (o BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsOutput

func (BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsPtrOutput

func (o BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsPtrOutput() BranchPolicyMinReviewersSettingsPtrOutput

func (BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext

func (o BranchPolicyMinReviewersSettingsOutput) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsPtrOutput

type BranchPolicyMinReviewersSettingsPtrInput

type BranchPolicyMinReviewersSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersSettingsPtrOutput() BranchPolicyMinReviewersSettingsPtrOutput
	ToBranchPolicyMinReviewersSettingsPtrOutputWithContext(context.Context) BranchPolicyMinReviewersSettingsPtrOutput
}

BranchPolicyMinReviewersSettingsPtrInput is an input type that accepts BranchPolicyMinReviewersSettingsArgs, BranchPolicyMinReviewersSettingsPtr and BranchPolicyMinReviewersSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersSettingsPtrInput` via:

        BranchPolicyMinReviewersSettingsArgs{...}

or:

        nil

type BranchPolicyMinReviewersSettingsPtrOutput

type BranchPolicyMinReviewersSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersSettingsPtrOutput) AllowCompletionWithRejectsOrWaits added in v1.2.1

func (o BranchPolicyMinReviewersSettingsPtrOutput) AllowCompletionWithRejectsOrWaits() pulumi.BoolPtrOutput

Allow completion even if some reviewers vote to wait or reject. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) Elem

func (BranchPolicyMinReviewersSettingsPtrOutput) ElementType

func (BranchPolicyMinReviewersSettingsPtrOutput) LastPusherCannotApprove added in v1.2.1

Prohibit the most recent pusher from approving their own changes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) OnLastIterationRequireVote added in v1.2.1

func (o BranchPolicyMinReviewersSettingsPtrOutput) OnLastIterationRequireVote() pulumi.BoolPtrOutput

On last iteration require vote. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) OnPushResetAllVotes added in v1.2.1

When new changes are pushed reset all code reviewer votes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) OnPushResetApprovedVotes added in v1.2.1

func (o BranchPolicyMinReviewersSettingsPtrOutput) OnPushResetApprovedVotes() pulumi.BoolPtrOutput

When new changes are pushed reset all approval votes (does not reset votes to reject or wait). Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) ReviewerCount

The number of reviewers needed to approve.

func (BranchPolicyMinReviewersSettingsPtrOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyMinReviewersSettingsPtrOutput) SubmitterCanVote

Allow requesters to approve their own changes. Defaults to `false`.

func (BranchPolicyMinReviewersSettingsPtrOutput) ToBranchPolicyMinReviewersSettingsPtrOutput

func (o BranchPolicyMinReviewersSettingsPtrOutput) ToBranchPolicyMinReviewersSettingsPtrOutput() BranchPolicyMinReviewersSettingsPtrOutput

func (BranchPolicyMinReviewersSettingsPtrOutput) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext

func (o BranchPolicyMinReviewersSettingsPtrOutput) ToBranchPolicyMinReviewersSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsPtrOutput

type BranchPolicyMinReviewersSettingsScope

type BranchPolicyMinReviewersSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyMinReviewersSettingsScopeArgs

type BranchPolicyMinReviewersSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyMinReviewersSettingsScopeArgs) ElementType

func (BranchPolicyMinReviewersSettingsScopeArgs) ToBranchPolicyMinReviewersSettingsScopeOutput

func (i BranchPolicyMinReviewersSettingsScopeArgs) ToBranchPolicyMinReviewersSettingsScopeOutput() BranchPolicyMinReviewersSettingsScopeOutput

func (BranchPolicyMinReviewersSettingsScopeArgs) ToBranchPolicyMinReviewersSettingsScopeOutputWithContext

func (i BranchPolicyMinReviewersSettingsScopeArgs) ToBranchPolicyMinReviewersSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsScopeOutput

type BranchPolicyMinReviewersSettingsScopeArray

type BranchPolicyMinReviewersSettingsScopeArray []BranchPolicyMinReviewersSettingsScopeInput

func (BranchPolicyMinReviewersSettingsScopeArray) ElementType

func (BranchPolicyMinReviewersSettingsScopeArray) ToBranchPolicyMinReviewersSettingsScopeArrayOutput

func (i BranchPolicyMinReviewersSettingsScopeArray) ToBranchPolicyMinReviewersSettingsScopeArrayOutput() BranchPolicyMinReviewersSettingsScopeArrayOutput

func (BranchPolicyMinReviewersSettingsScopeArray) ToBranchPolicyMinReviewersSettingsScopeArrayOutputWithContext

func (i BranchPolicyMinReviewersSettingsScopeArray) ToBranchPolicyMinReviewersSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsScopeArrayOutput

type BranchPolicyMinReviewersSettingsScopeArrayInput

type BranchPolicyMinReviewersSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersSettingsScopeArrayOutput() BranchPolicyMinReviewersSettingsScopeArrayOutput
	ToBranchPolicyMinReviewersSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyMinReviewersSettingsScopeArrayOutput
}

BranchPolicyMinReviewersSettingsScopeArrayInput is an input type that accepts BranchPolicyMinReviewersSettingsScopeArray and BranchPolicyMinReviewersSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersSettingsScopeArrayInput` via:

BranchPolicyMinReviewersSettingsScopeArray{ BranchPolicyMinReviewersSettingsScopeArgs{...} }

type BranchPolicyMinReviewersSettingsScopeArrayOutput

type BranchPolicyMinReviewersSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersSettingsScopeArrayOutput) ElementType

func (BranchPolicyMinReviewersSettingsScopeArrayOutput) Index

func (BranchPolicyMinReviewersSettingsScopeArrayOutput) ToBranchPolicyMinReviewersSettingsScopeArrayOutput

func (o BranchPolicyMinReviewersSettingsScopeArrayOutput) ToBranchPolicyMinReviewersSettingsScopeArrayOutput() BranchPolicyMinReviewersSettingsScopeArrayOutput

func (BranchPolicyMinReviewersSettingsScopeArrayOutput) ToBranchPolicyMinReviewersSettingsScopeArrayOutputWithContext

func (o BranchPolicyMinReviewersSettingsScopeArrayOutput) ToBranchPolicyMinReviewersSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsScopeArrayOutput

type BranchPolicyMinReviewersSettingsScopeInput

type BranchPolicyMinReviewersSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyMinReviewersSettingsScopeOutput() BranchPolicyMinReviewersSettingsScopeOutput
	ToBranchPolicyMinReviewersSettingsScopeOutputWithContext(context.Context) BranchPolicyMinReviewersSettingsScopeOutput
}

BranchPolicyMinReviewersSettingsScopeInput is an input type that accepts BranchPolicyMinReviewersSettingsScopeArgs and BranchPolicyMinReviewersSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyMinReviewersSettingsScopeInput` via:

BranchPolicyMinReviewersSettingsScopeArgs{...}

type BranchPolicyMinReviewersSettingsScopeOutput

type BranchPolicyMinReviewersSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersSettingsScopeOutput) ElementType

func (BranchPolicyMinReviewersSettingsScopeOutput) MatchType

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyMinReviewersSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyMinReviewersSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyMinReviewersSettingsScopeOutput) ToBranchPolicyMinReviewersSettingsScopeOutput

func (o BranchPolicyMinReviewersSettingsScopeOutput) ToBranchPolicyMinReviewersSettingsScopeOutput() BranchPolicyMinReviewersSettingsScopeOutput

func (BranchPolicyMinReviewersSettingsScopeOutput) ToBranchPolicyMinReviewersSettingsScopeOutputWithContext

func (o BranchPolicyMinReviewersSettingsScopeOutput) ToBranchPolicyMinReviewersSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyMinReviewersSettingsScopeOutput

type BranchPolicyMinReviewersState

type BranchPolicyMinReviewersState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyMinReviewersSettingsPtrInput
}

func (BranchPolicyMinReviewersState) ElementType

type BranchPolicyWorkItemLinking

type BranchPolicyWorkItemLinking struct {
	pulumi.CustomResourceState

	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrOutput `pulumi:"blocking"`
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyWorkItemLinkingSettingsOutput `pulumi:"settings"`
}

Require associations between branches and a work item within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		git, err := azuredevops.NewGit(ctx, "git", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyWorkItemLinking(ctx, "branchPolicyWorkItemLinking", &azuredevops.BranchPolicyWorkItemLinkingArgs{
			ProjectId: project.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyWorkItemLinkingSettingsArgs{
				Scopes: azuredevops.BranchPolicyWorkItemLinkingSettingsScopeArray{
					&azuredevops.BranchPolicyWorkItemLinkingSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: git.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyWorkItemLinkingSettingsScopeArgs{
						RepositoryId:  git.ID(),
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Policy Configurations](https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/configurations/create?view=azure-devops-rest-5.1)

## Import

Azure DevOps Branch Policies can be imported using the project ID and policy configuration ID

```sh

$ pulumi import azuredevops:index/branchPolicyWorkItemLinking:BranchPolicyWorkItemLinking p 00000000-0000-0000-0000-000000000000/0

```

func GetBranchPolicyWorkItemLinking

func GetBranchPolicyWorkItemLinking(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyWorkItemLinkingState, opts ...pulumi.ResourceOption) (*BranchPolicyWorkItemLinking, error)

GetBranchPolicyWorkItemLinking gets an existing BranchPolicyWorkItemLinking 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 NewBranchPolicyWorkItemLinking

func NewBranchPolicyWorkItemLinking(ctx *pulumi.Context,
	name string, args *BranchPolicyWorkItemLinkingArgs, opts ...pulumi.ResourceOption) (*BranchPolicyWorkItemLinking, error)

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

func (*BranchPolicyWorkItemLinking) ElementType

func (*BranchPolicyWorkItemLinking) ElementType() reflect.Type

func (*BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingOutput

func (i *BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingOutput() BranchPolicyWorkItemLinkingOutput

func (*BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingOutputWithContext

func (i *BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingOutput

func (*BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingPtrOutput added in v1.2.2

func (i *BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingPtrOutput() BranchPolicyWorkItemLinkingPtrOutput

func (*BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingPtrOutputWithContext added in v1.2.2

func (i *BranchPolicyWorkItemLinking) ToBranchPolicyWorkItemLinkingPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingPtrOutput

type BranchPolicyWorkItemLinkingArgs

type BranchPolicyWorkItemLinkingArgs struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyWorkItemLinkingSettingsInput
}

The set of arguments for constructing a BranchPolicyWorkItemLinking resource.

func (BranchPolicyWorkItemLinkingArgs) ElementType

type BranchPolicyWorkItemLinkingArray added in v1.2.2

type BranchPolicyWorkItemLinkingArray []BranchPolicyWorkItemLinkingInput

func (BranchPolicyWorkItemLinkingArray) ElementType added in v1.2.2

func (BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutput added in v1.2.2

func (i BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutput() BranchPolicyWorkItemLinkingArrayOutput

func (BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutputWithContext added in v1.2.2

func (i BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingArrayOutput

type BranchPolicyWorkItemLinkingArrayInput added in v1.2.2

type BranchPolicyWorkItemLinkingArrayInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingArrayOutput() BranchPolicyWorkItemLinkingArrayOutput
	ToBranchPolicyWorkItemLinkingArrayOutputWithContext(context.Context) BranchPolicyWorkItemLinkingArrayOutput
}

BranchPolicyWorkItemLinkingArrayInput is an input type that accepts BranchPolicyWorkItemLinkingArray and BranchPolicyWorkItemLinkingArrayOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingArrayInput` via:

BranchPolicyWorkItemLinkingArray{ BranchPolicyWorkItemLinkingArgs{...} }

type BranchPolicyWorkItemLinkingArrayOutput added in v1.2.2

type BranchPolicyWorkItemLinkingArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingArrayOutput) ElementType added in v1.2.2

func (BranchPolicyWorkItemLinkingArrayOutput) Index added in v1.2.2

func (BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutput added in v1.2.2

func (o BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutput() BranchPolicyWorkItemLinkingArrayOutput

func (BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutputWithContext added in v1.2.2

func (o BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingArrayOutput

type BranchPolicyWorkItemLinkingInput

type BranchPolicyWorkItemLinkingInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingOutput() BranchPolicyWorkItemLinkingOutput
	ToBranchPolicyWorkItemLinkingOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingOutput
}

type BranchPolicyWorkItemLinkingMap added in v1.2.2

type BranchPolicyWorkItemLinkingMap map[string]BranchPolicyWorkItemLinkingInput

func (BranchPolicyWorkItemLinkingMap) ElementType added in v1.2.2

func (BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutput added in v1.2.2

func (i BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutput() BranchPolicyWorkItemLinkingMapOutput

func (BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutputWithContext added in v1.2.2

func (i BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingMapOutput

type BranchPolicyWorkItemLinkingMapInput added in v1.2.2

type BranchPolicyWorkItemLinkingMapInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingMapOutput() BranchPolicyWorkItemLinkingMapOutput
	ToBranchPolicyWorkItemLinkingMapOutputWithContext(context.Context) BranchPolicyWorkItemLinkingMapOutput
}

BranchPolicyWorkItemLinkingMapInput is an input type that accepts BranchPolicyWorkItemLinkingMap and BranchPolicyWorkItemLinkingMapOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingMapInput` via:

BranchPolicyWorkItemLinkingMap{ "key": BranchPolicyWorkItemLinkingArgs{...} }

type BranchPolicyWorkItemLinkingMapOutput added in v1.2.2

type BranchPolicyWorkItemLinkingMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingMapOutput) ElementType added in v1.2.2

func (BranchPolicyWorkItemLinkingMapOutput) MapIndex added in v1.2.2

func (BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutput added in v1.2.2

func (o BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutput() BranchPolicyWorkItemLinkingMapOutput

func (BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutputWithContext added in v1.2.2

func (o BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingMapOutput

type BranchPolicyWorkItemLinkingOutput

type BranchPolicyWorkItemLinkingOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyWorkItemLinkingOutput) ElementType

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutput

func (o BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutput() BranchPolicyWorkItemLinkingOutput

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutputWithContext

func (o BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingOutput

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingPtrOutput added in v1.2.2

func (o BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingPtrOutput() BranchPolicyWorkItemLinkingPtrOutput

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingPtrOutputWithContext added in v1.2.2

func (o BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingPtrOutput

type BranchPolicyWorkItemLinkingPtrInput added in v1.2.2

type BranchPolicyWorkItemLinkingPtrInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingPtrOutput() BranchPolicyWorkItemLinkingPtrOutput
	ToBranchPolicyWorkItemLinkingPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingPtrOutput
}

type BranchPolicyWorkItemLinkingPtrOutput added in v1.2.2

type BranchPolicyWorkItemLinkingPtrOutput struct {
	*pulumi.OutputState
}

func (BranchPolicyWorkItemLinkingPtrOutput) ElementType added in v1.2.2

func (BranchPolicyWorkItemLinkingPtrOutput) ToBranchPolicyWorkItemLinkingPtrOutput added in v1.2.2

func (o BranchPolicyWorkItemLinkingPtrOutput) ToBranchPolicyWorkItemLinkingPtrOutput() BranchPolicyWorkItemLinkingPtrOutput

func (BranchPolicyWorkItemLinkingPtrOutput) ToBranchPolicyWorkItemLinkingPtrOutputWithContext added in v1.2.2

func (o BranchPolicyWorkItemLinkingPtrOutput) ToBranchPolicyWorkItemLinkingPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingPtrOutput

type BranchPolicyWorkItemLinkingSettings

type BranchPolicyWorkItemLinkingSettings struct {
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes []BranchPolicyWorkItemLinkingSettingsScope `pulumi:"scopes"`
}

type BranchPolicyWorkItemLinkingSettingsArgs

type BranchPolicyWorkItemLinkingSettingsArgs struct {
	// Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.
	Scopes BranchPolicyWorkItemLinkingSettingsScopeArrayInput `pulumi:"scopes"`
}

func (BranchPolicyWorkItemLinkingSettingsArgs) ElementType

func (BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsOutput

func (i BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsOutput() BranchPolicyWorkItemLinkingSettingsOutput

func (BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsOutputWithContext

func (i BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsOutput

func (BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsPtrOutput

func (i BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsPtrOutput() BranchPolicyWorkItemLinkingSettingsPtrOutput

func (BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext

func (i BranchPolicyWorkItemLinkingSettingsArgs) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsPtrOutput

type BranchPolicyWorkItemLinkingSettingsInput

type BranchPolicyWorkItemLinkingSettingsInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingSettingsOutput() BranchPolicyWorkItemLinkingSettingsOutput
	ToBranchPolicyWorkItemLinkingSettingsOutputWithContext(context.Context) BranchPolicyWorkItemLinkingSettingsOutput
}

BranchPolicyWorkItemLinkingSettingsInput is an input type that accepts BranchPolicyWorkItemLinkingSettingsArgs and BranchPolicyWorkItemLinkingSettingsOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingSettingsInput` via:

BranchPolicyWorkItemLinkingSettingsArgs{...}

type BranchPolicyWorkItemLinkingSettingsOutput

type BranchPolicyWorkItemLinkingSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingSettingsOutput) ElementType

func (BranchPolicyWorkItemLinkingSettingsOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsOutput

func (o BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsOutput() BranchPolicyWorkItemLinkingSettingsOutput

func (BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsOutputWithContext

func (o BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsOutput

func (BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutput

func (o BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutput() BranchPolicyWorkItemLinkingSettingsPtrOutput

func (BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext

func (o BranchPolicyWorkItemLinkingSettingsOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsPtrOutput

type BranchPolicyWorkItemLinkingSettingsPtrInput

type BranchPolicyWorkItemLinkingSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingSettingsPtrOutput() BranchPolicyWorkItemLinkingSettingsPtrOutput
	ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext(context.Context) BranchPolicyWorkItemLinkingSettingsPtrOutput
}

BranchPolicyWorkItemLinkingSettingsPtrInput is an input type that accepts BranchPolicyWorkItemLinkingSettingsArgs, BranchPolicyWorkItemLinkingSettingsPtr and BranchPolicyWorkItemLinkingSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingSettingsPtrInput` via:

        BranchPolicyWorkItemLinkingSettingsArgs{...}

or:

        nil

type BranchPolicyWorkItemLinkingSettingsPtrOutput

type BranchPolicyWorkItemLinkingSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingSettingsPtrOutput) Elem

func (BranchPolicyWorkItemLinkingSettingsPtrOutput) ElementType

func (BranchPolicyWorkItemLinkingSettingsPtrOutput) Scopes

Controls which repositories and branches the policy will be enabled for. This block must be defined at least once.

func (BranchPolicyWorkItemLinkingSettingsPtrOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutput

func (o BranchPolicyWorkItemLinkingSettingsPtrOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutput() BranchPolicyWorkItemLinkingSettingsPtrOutput

func (BranchPolicyWorkItemLinkingSettingsPtrOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext

func (o BranchPolicyWorkItemLinkingSettingsPtrOutput) ToBranchPolicyWorkItemLinkingSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsPtrOutput

type BranchPolicyWorkItemLinkingSettingsScope

type BranchPolicyWorkItemLinkingSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef *string `pulumi:"repositoryRef"`
}

type BranchPolicyWorkItemLinkingSettingsScopeArgs

type BranchPolicyWorkItemLinkingSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.
	RepositoryRef pulumi.StringPtrInput `pulumi:"repositoryRef"`
}

func (BranchPolicyWorkItemLinkingSettingsScopeArgs) ElementType

func (BranchPolicyWorkItemLinkingSettingsScopeArgs) ToBranchPolicyWorkItemLinkingSettingsScopeOutput

func (i BranchPolicyWorkItemLinkingSettingsScopeArgs) ToBranchPolicyWorkItemLinkingSettingsScopeOutput() BranchPolicyWorkItemLinkingSettingsScopeOutput

func (BranchPolicyWorkItemLinkingSettingsScopeArgs) ToBranchPolicyWorkItemLinkingSettingsScopeOutputWithContext

func (i BranchPolicyWorkItemLinkingSettingsScopeArgs) ToBranchPolicyWorkItemLinkingSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsScopeOutput

type BranchPolicyWorkItemLinkingSettingsScopeArray

type BranchPolicyWorkItemLinkingSettingsScopeArray []BranchPolicyWorkItemLinkingSettingsScopeInput

func (BranchPolicyWorkItemLinkingSettingsScopeArray) ElementType

func (BranchPolicyWorkItemLinkingSettingsScopeArray) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutput

func (i BranchPolicyWorkItemLinkingSettingsScopeArray) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutput() BranchPolicyWorkItemLinkingSettingsScopeArrayOutput

func (BranchPolicyWorkItemLinkingSettingsScopeArray) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutputWithContext

func (i BranchPolicyWorkItemLinkingSettingsScopeArray) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsScopeArrayOutput

type BranchPolicyWorkItemLinkingSettingsScopeArrayInput

type BranchPolicyWorkItemLinkingSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutput() BranchPolicyWorkItemLinkingSettingsScopeArrayOutput
	ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyWorkItemLinkingSettingsScopeArrayOutput
}

BranchPolicyWorkItemLinkingSettingsScopeArrayInput is an input type that accepts BranchPolicyWorkItemLinkingSettingsScopeArray and BranchPolicyWorkItemLinkingSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingSettingsScopeArrayInput` via:

BranchPolicyWorkItemLinkingSettingsScopeArray{ BranchPolicyWorkItemLinkingSettingsScopeArgs{...} }

type BranchPolicyWorkItemLinkingSettingsScopeArrayOutput

type BranchPolicyWorkItemLinkingSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) ElementType

func (BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) Index

func (BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutput

func (o BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutput() BranchPolicyWorkItemLinkingSettingsScopeArrayOutput

func (BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutputWithContext

func (o BranchPolicyWorkItemLinkingSettingsScopeArrayOutput) ToBranchPolicyWorkItemLinkingSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsScopeArrayOutput

type BranchPolicyWorkItemLinkingSettingsScopeInput

type BranchPolicyWorkItemLinkingSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyWorkItemLinkingSettingsScopeOutput() BranchPolicyWorkItemLinkingSettingsScopeOutput
	ToBranchPolicyWorkItemLinkingSettingsScopeOutputWithContext(context.Context) BranchPolicyWorkItemLinkingSettingsScopeOutput
}

BranchPolicyWorkItemLinkingSettingsScopeInput is an input type that accepts BranchPolicyWorkItemLinkingSettingsScopeArgs and BranchPolicyWorkItemLinkingSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyWorkItemLinkingSettingsScopeInput` via:

BranchPolicyWorkItemLinkingSettingsScopeArgs{...}

type BranchPolicyWorkItemLinkingSettingsScopeOutput

type BranchPolicyWorkItemLinkingSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) ElementType

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) MatchType

The match type to use when applying the policy. Supported values are `Exact` (default) or `Prefix`.

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository.

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match. If `matchType` is `Exact`, this should be a qualified ref such as `refs/heads/master`. If `matchType` is `Prefix`, this should be a ref path such as `refs/heads/releases`.

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) ToBranchPolicyWorkItemLinkingSettingsScopeOutput

func (o BranchPolicyWorkItemLinkingSettingsScopeOutput) ToBranchPolicyWorkItemLinkingSettingsScopeOutput() BranchPolicyWorkItemLinkingSettingsScopeOutput

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) ToBranchPolicyWorkItemLinkingSettingsScopeOutputWithContext

func (o BranchPolicyWorkItemLinkingSettingsScopeOutput) ToBranchPolicyWorkItemLinkingSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyWorkItemLinkingSettingsScopeOutput

type BranchPolicyWorkItemLinkingState

type BranchPolicyWorkItemLinkingState struct {
	// A flag indicating if the policy should be blocking. Defaults to `true`.
	Blocking pulumi.BoolPtrInput
	// A flag indicating if the policy should be enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Configuration for the policy. This block must be defined exactly once.
	Settings BranchPolicyWorkItemLinkingSettingsPtrInput
}

func (BranchPolicyWorkItemLinkingState) ElementType

type BuildDefinition

type BuildDefinition struct {
	pulumi.CustomResourceState

	// The agent pool that should execute the build.
	AgentPoolName pulumi.StringPtrOutput `pulumi:"agentPoolName"`
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrOutput `pulumi:"ciTrigger"`
	// The name of the build definition.
	Name pulumi.StringOutput `pulumi:"name"`
	// The folder path of the build definition.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Pull Request Integration Integration trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrOutput `pulumi:"pullRequestTrigger"`
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryOutput `pulumi:"repository"`
	// The revision of the build definition
	Revision pulumi.IntOutput `pulumi:"revision"`
	// A list of variable group IDs (integers) to link to the build definition.
	VariableGroups pulumi.IntArrayOutput `pulumi:"variableGroups"`
	// A list of `variable` blocks, as documented below.
	Variables BuildDefinitionVariableArrayOutput `pulumi:"variables"`
}

Manages a Build Definition within Azure DevOps.

## Example Usage ### GitHub Enterprise ```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewBuildDefinition(ctx, "sampleDotnetcoreAppRelease", &azuredevops.BuildDefinitionArgs{
			ProjectId: pulumi.Any(azuredevops_project.Project.Id),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(true),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:            pulumi.String("GitHubEnterprise"),
				RepoId:              pulumi.String("<GitHub Org>/<Repo Name>"),
				GithubEnterpriseUrl: pulumi.String("https://github.company.com"),
				BranchName:          pulumi.String("master"),
				YmlPath:             pulumi.String("azure-pipelines.yml"),
				ServiceConnectionId: pulumi.String("..."),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Build Definitions](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/definitions?view=azure-devops-rest-5.1)

## Import

Azure DevOps Build Definitions can be imported using the project name/definitions Id or by the project Guid/definitions Id, e.g.

```sh

$ pulumi import azuredevops:index/buildDefinition:BuildDefinition build "Test Project"/10

```

or

```sh

$ pulumi import azuredevops:index/buildDefinition:BuildDefinition build 00000000-0000-0000-0000-000000000000/0

```

func GetBuildDefinition

func GetBuildDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BuildDefinitionState, opts ...pulumi.ResourceOption) (*BuildDefinition, error)

GetBuildDefinition gets an existing BuildDefinition 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 NewBuildDefinition

func NewBuildDefinition(ctx *pulumi.Context,
	name string, args *BuildDefinitionArgs, opts ...pulumi.ResourceOption) (*BuildDefinition, error)

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

func (*BuildDefinition) ElementType

func (*BuildDefinition) ElementType() reflect.Type

func (*BuildDefinition) ToBuildDefinitionOutput

func (i *BuildDefinition) ToBuildDefinitionOutput() BuildDefinitionOutput

func (*BuildDefinition) ToBuildDefinitionOutputWithContext

func (i *BuildDefinition) ToBuildDefinitionOutputWithContext(ctx context.Context) BuildDefinitionOutput

func (*BuildDefinition) ToBuildDefinitionPtrOutput added in v1.2.2

func (i *BuildDefinition) ToBuildDefinitionPtrOutput() BuildDefinitionPtrOutput

func (*BuildDefinition) ToBuildDefinitionPtrOutputWithContext added in v1.2.2

func (i *BuildDefinition) ToBuildDefinitionPtrOutputWithContext(ctx context.Context) BuildDefinitionPtrOutput

type BuildDefinitionArgs

type BuildDefinitionArgs struct {
	// The agent pool that should execute the build.
	AgentPoolName pulumi.StringPtrInput
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrInput
	// The name of the build definition.
	Name pulumi.StringPtrInput
	// The folder path of the build definition.
	Path pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// Pull Request Integration Integration trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrInput
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryInput
	// A list of variable group IDs (integers) to link to the build definition.
	VariableGroups pulumi.IntArrayInput
	// A list of `variable` blocks, as documented below.
	Variables BuildDefinitionVariableArrayInput
}

The set of arguments for constructing a BuildDefinition resource.

func (BuildDefinitionArgs) ElementType

func (BuildDefinitionArgs) ElementType() reflect.Type

type BuildDefinitionArray added in v1.2.2

type BuildDefinitionArray []BuildDefinitionInput

func (BuildDefinitionArray) ElementType added in v1.2.2

func (BuildDefinitionArray) ElementType() reflect.Type

func (BuildDefinitionArray) ToBuildDefinitionArrayOutput added in v1.2.2

func (i BuildDefinitionArray) ToBuildDefinitionArrayOutput() BuildDefinitionArrayOutput

func (BuildDefinitionArray) ToBuildDefinitionArrayOutputWithContext added in v1.2.2

func (i BuildDefinitionArray) ToBuildDefinitionArrayOutputWithContext(ctx context.Context) BuildDefinitionArrayOutput

type BuildDefinitionArrayInput added in v1.2.2

type BuildDefinitionArrayInput interface {
	pulumi.Input

	ToBuildDefinitionArrayOutput() BuildDefinitionArrayOutput
	ToBuildDefinitionArrayOutputWithContext(context.Context) BuildDefinitionArrayOutput
}

BuildDefinitionArrayInput is an input type that accepts BuildDefinitionArray and BuildDefinitionArrayOutput values. You can construct a concrete instance of `BuildDefinitionArrayInput` via:

BuildDefinitionArray{ BuildDefinitionArgs{...} }

type BuildDefinitionArrayOutput added in v1.2.2

type BuildDefinitionArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionArrayOutput) ElementType added in v1.2.2

func (BuildDefinitionArrayOutput) ElementType() reflect.Type

func (BuildDefinitionArrayOutput) Index added in v1.2.2

func (BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutput added in v1.2.2

func (o BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutput() BuildDefinitionArrayOutput

func (BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutputWithContext added in v1.2.2

func (o BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutputWithContext(ctx context.Context) BuildDefinitionArrayOutput

type BuildDefinitionCiTrigger

type BuildDefinitionCiTrigger struct {
	// Override the azure-pipeline file and use a this configuration for all builds.
	Override *BuildDefinitionCiTriggerOverride `pulumi:"override"`
	// Use the azure-pipeline file for the build configuration. Defaults to `false`.
	UseYaml *bool `pulumi:"useYaml"`
}

type BuildDefinitionCiTriggerArgs

type BuildDefinitionCiTriggerArgs struct {
	// Override the azure-pipeline file and use a this configuration for all builds.
	Override BuildDefinitionCiTriggerOverridePtrInput `pulumi:"override"`
	// Use the azure-pipeline file for the build configuration. Defaults to `false`.
	UseYaml pulumi.BoolPtrInput `pulumi:"useYaml"`
}

func (BuildDefinitionCiTriggerArgs) ElementType

func (BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerOutput

func (i BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerOutput() BuildDefinitionCiTriggerOutput

func (BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerOutputWithContext

func (i BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOutput

func (BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerPtrOutput

func (i BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerPtrOutput() BuildDefinitionCiTriggerPtrOutput

func (BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerPtrOutputWithContext

func (i BuildDefinitionCiTriggerArgs) ToBuildDefinitionCiTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerPtrOutput

type BuildDefinitionCiTriggerInput

type BuildDefinitionCiTriggerInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOutput() BuildDefinitionCiTriggerOutput
	ToBuildDefinitionCiTriggerOutputWithContext(context.Context) BuildDefinitionCiTriggerOutput
}

BuildDefinitionCiTriggerInput is an input type that accepts BuildDefinitionCiTriggerArgs and BuildDefinitionCiTriggerOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerInput` via:

BuildDefinitionCiTriggerArgs{...}

type BuildDefinitionCiTriggerOutput

type BuildDefinitionCiTriggerOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOutput) ElementType

func (BuildDefinitionCiTriggerOutput) Override

Override the azure-pipeline file and use a this configuration for all builds.

func (BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerOutput

func (o BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerOutput() BuildDefinitionCiTriggerOutput

func (BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerOutputWithContext

func (o BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOutput

func (BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerPtrOutput

func (o BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerPtrOutput() BuildDefinitionCiTriggerPtrOutput

func (BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerPtrOutputWithContext

func (o BuildDefinitionCiTriggerOutput) ToBuildDefinitionCiTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerPtrOutput

func (BuildDefinitionCiTriggerOutput) UseYaml

Use the azure-pipeline file for the build configuration. Defaults to `false`.

type BuildDefinitionCiTriggerOverride

type BuildDefinitionCiTriggerOverride struct {
	// If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
	Batch *bool `pulumi:"batch"`
	// The branches to include and exclude from the trigger.
	BranchFilters []BuildDefinitionCiTriggerOverrideBranchFilter `pulumi:"branchFilters"`
	// The number of max builds per branch. Defaults to `1`.
	MaxConcurrentBuildsPerBranch *int `pulumi:"maxConcurrentBuildsPerBranch"`
	// Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
	PathFilters []BuildDefinitionCiTriggerOverridePathFilter `pulumi:"pathFilters"`
	// How often the external repository is polled. Defaults to `0`.
	PollingInterval *int `pulumi:"pollingInterval"`
	// This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
	PollingJobId *string `pulumi:"pollingJobId"`
}

type BuildDefinitionCiTriggerOverrideArgs

type BuildDefinitionCiTriggerOverrideArgs struct {
	// If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
	Batch pulumi.BoolPtrInput `pulumi:"batch"`
	// The branches to include and exclude from the trigger.
	BranchFilters BuildDefinitionCiTriggerOverrideBranchFilterArrayInput `pulumi:"branchFilters"`
	// The number of max builds per branch. Defaults to `1`.
	MaxConcurrentBuildsPerBranch pulumi.IntPtrInput `pulumi:"maxConcurrentBuildsPerBranch"`
	// Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
	PathFilters BuildDefinitionCiTriggerOverridePathFilterArrayInput `pulumi:"pathFilters"`
	// How often the external repository is polled. Defaults to `0`.
	PollingInterval pulumi.IntPtrInput `pulumi:"pollingInterval"`
	// This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
	PollingJobId pulumi.StringPtrInput `pulumi:"pollingJobId"`
}

func (BuildDefinitionCiTriggerOverrideArgs) ElementType

func (BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverrideOutput

func (i BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverrideOutput() BuildDefinitionCiTriggerOverrideOutput

func (BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverrideOutputWithContext

func (i BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverrideOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideOutput

func (BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverridePtrOutput

func (i BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverridePtrOutput() BuildDefinitionCiTriggerOverridePtrOutput

func (BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext

func (i BuildDefinitionCiTriggerOverrideArgs) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePtrOutput

type BuildDefinitionCiTriggerOverrideBranchFilter

type BuildDefinitionCiTriggerOverrideBranchFilter struct {
	// List of branch patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionCiTriggerOverrideBranchFilterArgs

type BuildDefinitionCiTriggerOverrideBranchFilterArgs struct {
	// List of branch patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (BuildDefinitionCiTriggerOverrideBranchFilterArgs) ElementType

func (BuildDefinitionCiTriggerOverrideBranchFilterArgs) ToBuildDefinitionCiTriggerOverrideBranchFilterOutput

func (i BuildDefinitionCiTriggerOverrideBranchFilterArgs) ToBuildDefinitionCiTriggerOverrideBranchFilterOutput() BuildDefinitionCiTriggerOverrideBranchFilterOutput

func (BuildDefinitionCiTriggerOverrideBranchFilterArgs) ToBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext

func (i BuildDefinitionCiTriggerOverrideBranchFilterArgs) ToBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideBranchFilterOutput

type BuildDefinitionCiTriggerOverrideBranchFilterArray

type BuildDefinitionCiTriggerOverrideBranchFilterArray []BuildDefinitionCiTriggerOverrideBranchFilterInput

func (BuildDefinitionCiTriggerOverrideBranchFilterArray) ElementType

func (BuildDefinitionCiTriggerOverrideBranchFilterArray) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (i BuildDefinitionCiTriggerOverrideBranchFilterArray) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput() BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (BuildDefinitionCiTriggerOverrideBranchFilterArray) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext

func (i BuildDefinitionCiTriggerOverrideBranchFilterArray) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionCiTriggerOverrideBranchFilterArrayInput

type BuildDefinitionCiTriggerOverrideBranchFilterArrayInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput() BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput
	ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(context.Context) BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput
}

BuildDefinitionCiTriggerOverrideBranchFilterArrayInput is an input type that accepts BuildDefinitionCiTriggerOverrideBranchFilterArray and BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverrideBranchFilterArrayInput` via:

BuildDefinitionCiTriggerOverrideBranchFilterArray{ BuildDefinitionCiTriggerOverrideBranchFilterArgs{...} }

type BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ElementType

func (BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) Index

func (BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext

func (o BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionCiTriggerOverrideBranchFilterInput

type BuildDefinitionCiTriggerOverrideBranchFilterInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverrideBranchFilterOutput() BuildDefinitionCiTriggerOverrideBranchFilterOutput
	ToBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(context.Context) BuildDefinitionCiTriggerOverrideBranchFilterOutput
}

BuildDefinitionCiTriggerOverrideBranchFilterInput is an input type that accepts BuildDefinitionCiTriggerOverrideBranchFilterArgs and BuildDefinitionCiTriggerOverrideBranchFilterOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverrideBranchFilterInput` via:

BuildDefinitionCiTriggerOverrideBranchFilterArgs{...}

type BuildDefinitionCiTriggerOverrideBranchFilterOutput

type BuildDefinitionCiTriggerOverrideBranchFilterOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverrideBranchFilterOutput) ElementType

func (BuildDefinitionCiTriggerOverrideBranchFilterOutput) Excludes

List of branch patterns to exclude.

func (BuildDefinitionCiTriggerOverrideBranchFilterOutput) Includes

List of branch patterns to include.

func (BuildDefinitionCiTriggerOverrideBranchFilterOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterOutput

func (o BuildDefinitionCiTriggerOverrideBranchFilterOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterOutput() BuildDefinitionCiTriggerOverrideBranchFilterOutput

func (BuildDefinitionCiTriggerOverrideBranchFilterOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext

func (o BuildDefinitionCiTriggerOverrideBranchFilterOutput) ToBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideBranchFilterOutput

type BuildDefinitionCiTriggerOverrideInput

type BuildDefinitionCiTriggerOverrideInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverrideOutput() BuildDefinitionCiTriggerOverrideOutput
	ToBuildDefinitionCiTriggerOverrideOutputWithContext(context.Context) BuildDefinitionCiTriggerOverrideOutput
}

BuildDefinitionCiTriggerOverrideInput is an input type that accepts BuildDefinitionCiTriggerOverrideArgs and BuildDefinitionCiTriggerOverrideOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverrideInput` via:

BuildDefinitionCiTriggerOverrideArgs{...}

type BuildDefinitionCiTriggerOverrideOutput

type BuildDefinitionCiTriggerOverrideOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverrideOutput) Batch

If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.

func (BuildDefinitionCiTriggerOverrideOutput) BranchFilters

The branches to include and exclude from the trigger.

func (BuildDefinitionCiTriggerOverrideOutput) ElementType

func (BuildDefinitionCiTriggerOverrideOutput) MaxConcurrentBuildsPerBranch

func (o BuildDefinitionCiTriggerOverrideOutput) MaxConcurrentBuildsPerBranch() pulumi.IntPtrOutput

The number of max builds per branch. Defaults to `1`.

func (BuildDefinitionCiTriggerOverrideOutput) PathFilters

Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.

func (BuildDefinitionCiTriggerOverrideOutput) PollingInterval

How often the external repository is polled. Defaults to `0`.

func (BuildDefinitionCiTriggerOverrideOutput) PollingJobId

This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.

func (BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverrideOutput

func (o BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverrideOutput() BuildDefinitionCiTriggerOverrideOutput

func (BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverrideOutputWithContext

func (o BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverrideOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverrideOutput

func (BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverridePtrOutput

func (o BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverridePtrOutput() BuildDefinitionCiTriggerOverridePtrOutput

func (BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext

func (o BuildDefinitionCiTriggerOverrideOutput) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePtrOutput

type BuildDefinitionCiTriggerOverridePathFilter

type BuildDefinitionCiTriggerOverridePathFilter struct {
	// List of branch patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionCiTriggerOverridePathFilterArgs

type BuildDefinitionCiTriggerOverridePathFilterArgs struct {
	// List of branch patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (BuildDefinitionCiTriggerOverridePathFilterArgs) ElementType

func (BuildDefinitionCiTriggerOverridePathFilterArgs) ToBuildDefinitionCiTriggerOverridePathFilterOutput

func (i BuildDefinitionCiTriggerOverridePathFilterArgs) ToBuildDefinitionCiTriggerOverridePathFilterOutput() BuildDefinitionCiTriggerOverridePathFilterOutput

func (BuildDefinitionCiTriggerOverridePathFilterArgs) ToBuildDefinitionCiTriggerOverridePathFilterOutputWithContext

func (i BuildDefinitionCiTriggerOverridePathFilterArgs) ToBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePathFilterOutput

type BuildDefinitionCiTriggerOverridePathFilterArray

type BuildDefinitionCiTriggerOverridePathFilterArray []BuildDefinitionCiTriggerOverridePathFilterInput

func (BuildDefinitionCiTriggerOverridePathFilterArray) ElementType

func (BuildDefinitionCiTriggerOverridePathFilterArray) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (i BuildDefinitionCiTriggerOverridePathFilterArray) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutput() BuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (BuildDefinitionCiTriggerOverridePathFilterArray) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext

func (i BuildDefinitionCiTriggerOverridePathFilterArray) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePathFilterArrayOutput

type BuildDefinitionCiTriggerOverridePathFilterArrayInput

type BuildDefinitionCiTriggerOverridePathFilterArrayInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverridePathFilterArrayOutput() BuildDefinitionCiTriggerOverridePathFilterArrayOutput
	ToBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(context.Context) BuildDefinitionCiTriggerOverridePathFilterArrayOutput
}

BuildDefinitionCiTriggerOverridePathFilterArrayInput is an input type that accepts BuildDefinitionCiTriggerOverridePathFilterArray and BuildDefinitionCiTriggerOverridePathFilterArrayOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverridePathFilterArrayInput` via:

BuildDefinitionCiTriggerOverridePathFilterArray{ BuildDefinitionCiTriggerOverridePathFilterArgs{...} }

type BuildDefinitionCiTriggerOverridePathFilterArrayOutput

type BuildDefinitionCiTriggerOverridePathFilterArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverridePathFilterArrayOutput) ElementType

func (BuildDefinitionCiTriggerOverridePathFilterArrayOutput) Index

func (BuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (BuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext

func (o BuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePathFilterArrayOutput

type BuildDefinitionCiTriggerOverridePathFilterInput

type BuildDefinitionCiTriggerOverridePathFilterInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverridePathFilterOutput() BuildDefinitionCiTriggerOverridePathFilterOutput
	ToBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(context.Context) BuildDefinitionCiTriggerOverridePathFilterOutput
}

BuildDefinitionCiTriggerOverridePathFilterInput is an input type that accepts BuildDefinitionCiTriggerOverridePathFilterArgs and BuildDefinitionCiTriggerOverridePathFilterOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverridePathFilterInput` via:

BuildDefinitionCiTriggerOverridePathFilterArgs{...}

type BuildDefinitionCiTriggerOverridePathFilterOutput

type BuildDefinitionCiTriggerOverridePathFilterOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverridePathFilterOutput) ElementType

func (BuildDefinitionCiTriggerOverridePathFilterOutput) Excludes

List of branch patterns to exclude.

func (BuildDefinitionCiTriggerOverridePathFilterOutput) Includes

List of branch patterns to include.

func (BuildDefinitionCiTriggerOverridePathFilterOutput) ToBuildDefinitionCiTriggerOverridePathFilterOutput

func (o BuildDefinitionCiTriggerOverridePathFilterOutput) ToBuildDefinitionCiTriggerOverridePathFilterOutput() BuildDefinitionCiTriggerOverridePathFilterOutput

func (BuildDefinitionCiTriggerOverridePathFilterOutput) ToBuildDefinitionCiTriggerOverridePathFilterOutputWithContext

func (o BuildDefinitionCiTriggerOverridePathFilterOutput) ToBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePathFilterOutput

type BuildDefinitionCiTriggerOverridePtrInput

type BuildDefinitionCiTriggerOverridePtrInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerOverridePtrOutput() BuildDefinitionCiTriggerOverridePtrOutput
	ToBuildDefinitionCiTriggerOverridePtrOutputWithContext(context.Context) BuildDefinitionCiTriggerOverridePtrOutput
}

BuildDefinitionCiTriggerOverridePtrInput is an input type that accepts BuildDefinitionCiTriggerOverrideArgs, BuildDefinitionCiTriggerOverridePtr and BuildDefinitionCiTriggerOverridePtrOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerOverridePtrInput` via:

        BuildDefinitionCiTriggerOverrideArgs{...}

or:

        nil

type BuildDefinitionCiTriggerOverridePtrOutput

type BuildDefinitionCiTriggerOverridePtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerOverridePtrOutput) Batch

If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.

func (BuildDefinitionCiTriggerOverridePtrOutput) BranchFilters

The branches to include and exclude from the trigger.

func (BuildDefinitionCiTriggerOverridePtrOutput) Elem

func (BuildDefinitionCiTriggerOverridePtrOutput) ElementType

func (BuildDefinitionCiTriggerOverridePtrOutput) MaxConcurrentBuildsPerBranch

func (o BuildDefinitionCiTriggerOverridePtrOutput) MaxConcurrentBuildsPerBranch() pulumi.IntPtrOutput

The number of max builds per branch. Defaults to `1`.

func (BuildDefinitionCiTriggerOverridePtrOutput) PathFilters

Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.

func (BuildDefinitionCiTriggerOverridePtrOutput) PollingInterval

How often the external repository is polled. Defaults to `0`.

func (BuildDefinitionCiTriggerOverridePtrOutput) PollingJobId

This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.

func (BuildDefinitionCiTriggerOverridePtrOutput) ToBuildDefinitionCiTriggerOverridePtrOutput

func (o BuildDefinitionCiTriggerOverridePtrOutput) ToBuildDefinitionCiTriggerOverridePtrOutput() BuildDefinitionCiTriggerOverridePtrOutput

func (BuildDefinitionCiTriggerOverridePtrOutput) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext

func (o BuildDefinitionCiTriggerOverridePtrOutput) ToBuildDefinitionCiTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerOverridePtrOutput

type BuildDefinitionCiTriggerPtrInput

type BuildDefinitionCiTriggerPtrInput interface {
	pulumi.Input

	ToBuildDefinitionCiTriggerPtrOutput() BuildDefinitionCiTriggerPtrOutput
	ToBuildDefinitionCiTriggerPtrOutputWithContext(context.Context) BuildDefinitionCiTriggerPtrOutput
}

BuildDefinitionCiTriggerPtrInput is an input type that accepts BuildDefinitionCiTriggerArgs, BuildDefinitionCiTriggerPtr and BuildDefinitionCiTriggerPtrOutput values. You can construct a concrete instance of `BuildDefinitionCiTriggerPtrInput` via:

        BuildDefinitionCiTriggerArgs{...}

or:

        nil

type BuildDefinitionCiTriggerPtrOutput

type BuildDefinitionCiTriggerPtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionCiTriggerPtrOutput) Elem

func (BuildDefinitionCiTriggerPtrOutput) ElementType

func (BuildDefinitionCiTriggerPtrOutput) Override

Override the azure-pipeline file and use a this configuration for all builds.

func (BuildDefinitionCiTriggerPtrOutput) ToBuildDefinitionCiTriggerPtrOutput

func (o BuildDefinitionCiTriggerPtrOutput) ToBuildDefinitionCiTriggerPtrOutput() BuildDefinitionCiTriggerPtrOutput

func (BuildDefinitionCiTriggerPtrOutput) ToBuildDefinitionCiTriggerPtrOutputWithContext

func (o BuildDefinitionCiTriggerPtrOutput) ToBuildDefinitionCiTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionCiTriggerPtrOutput

func (BuildDefinitionCiTriggerPtrOutput) UseYaml

Use the azure-pipeline file for the build configuration. Defaults to `false`.

type BuildDefinitionInput

type BuildDefinitionInput interface {
	pulumi.Input

	ToBuildDefinitionOutput() BuildDefinitionOutput
	ToBuildDefinitionOutputWithContext(ctx context.Context) BuildDefinitionOutput
}

type BuildDefinitionMap added in v1.2.2

type BuildDefinitionMap map[string]BuildDefinitionInput

func (BuildDefinitionMap) ElementType added in v1.2.2

func (BuildDefinitionMap) ElementType() reflect.Type

func (BuildDefinitionMap) ToBuildDefinitionMapOutput added in v1.2.2

func (i BuildDefinitionMap) ToBuildDefinitionMapOutput() BuildDefinitionMapOutput

func (BuildDefinitionMap) ToBuildDefinitionMapOutputWithContext added in v1.2.2

func (i BuildDefinitionMap) ToBuildDefinitionMapOutputWithContext(ctx context.Context) BuildDefinitionMapOutput

type BuildDefinitionMapInput added in v1.2.2

type BuildDefinitionMapInput interface {
	pulumi.Input

	ToBuildDefinitionMapOutput() BuildDefinitionMapOutput
	ToBuildDefinitionMapOutputWithContext(context.Context) BuildDefinitionMapOutput
}

BuildDefinitionMapInput is an input type that accepts BuildDefinitionMap and BuildDefinitionMapOutput values. You can construct a concrete instance of `BuildDefinitionMapInput` via:

BuildDefinitionMap{ "key": BuildDefinitionArgs{...} }

type BuildDefinitionMapOutput added in v1.2.2

type BuildDefinitionMapOutput struct{ *pulumi.OutputState }

func (BuildDefinitionMapOutput) ElementType added in v1.2.2

func (BuildDefinitionMapOutput) ElementType() reflect.Type

func (BuildDefinitionMapOutput) MapIndex added in v1.2.2

func (BuildDefinitionMapOutput) ToBuildDefinitionMapOutput added in v1.2.2

func (o BuildDefinitionMapOutput) ToBuildDefinitionMapOutput() BuildDefinitionMapOutput

func (BuildDefinitionMapOutput) ToBuildDefinitionMapOutputWithContext added in v1.2.2

func (o BuildDefinitionMapOutput) ToBuildDefinitionMapOutputWithContext(ctx context.Context) BuildDefinitionMapOutput

type BuildDefinitionOutput

type BuildDefinitionOutput struct {
	*pulumi.OutputState
}

func (BuildDefinitionOutput) ElementType

func (BuildDefinitionOutput) ElementType() reflect.Type

func (BuildDefinitionOutput) ToBuildDefinitionOutput

func (o BuildDefinitionOutput) ToBuildDefinitionOutput() BuildDefinitionOutput

func (BuildDefinitionOutput) ToBuildDefinitionOutputWithContext

func (o BuildDefinitionOutput) ToBuildDefinitionOutputWithContext(ctx context.Context) BuildDefinitionOutput

func (BuildDefinitionOutput) ToBuildDefinitionPtrOutput added in v1.2.2

func (o BuildDefinitionOutput) ToBuildDefinitionPtrOutput() BuildDefinitionPtrOutput

func (BuildDefinitionOutput) ToBuildDefinitionPtrOutputWithContext added in v1.2.2

func (o BuildDefinitionOutput) ToBuildDefinitionPtrOutputWithContext(ctx context.Context) BuildDefinitionPtrOutput

type BuildDefinitionPermissions added in v1.1.1

type BuildDefinitionPermissions struct {
	pulumi.CustomResourceState

	// The id of the build definition to assign the permissions.
	BuildDefinitionId pulumi.StringOutput `pulumi:"buildDefinitionId"`
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for a Build Definition

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetBuildDefinitionPermissions added in v1.1.1

func GetBuildDefinitionPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BuildDefinitionPermissionsState, opts ...pulumi.ResourceOption) (*BuildDefinitionPermissions, error)

GetBuildDefinitionPermissions gets an existing BuildDefinitionPermissions 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 NewBuildDefinitionPermissions added in v1.1.1

func NewBuildDefinitionPermissions(ctx *pulumi.Context,
	name string, args *BuildDefinitionPermissionsArgs, opts ...pulumi.ResourceOption) (*BuildDefinitionPermissions, error)

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

func (*BuildDefinitionPermissions) ElementType added in v1.1.1

func (*BuildDefinitionPermissions) ElementType() reflect.Type

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutput added in v1.1.1

func (i *BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutput() BuildDefinitionPermissionsOutput

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutputWithContext added in v1.1.1

func (i *BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutputWithContext(ctx context.Context) BuildDefinitionPermissionsOutput

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsPtrOutput added in v1.2.2

func (i *BuildDefinitionPermissions) ToBuildDefinitionPermissionsPtrOutput() BuildDefinitionPermissionsPtrOutput

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsPtrOutputWithContext added in v1.2.2

func (i *BuildDefinitionPermissions) ToBuildDefinitionPermissionsPtrOutputWithContext(ctx context.Context) BuildDefinitionPermissionsPtrOutput

type BuildDefinitionPermissionsArgs added in v1.1.1

type BuildDefinitionPermissionsArgs struct {
	// The id of the build definition to assign the permissions.
	BuildDefinitionId pulumi.StringInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a BuildDefinitionPermissions resource.

func (BuildDefinitionPermissionsArgs) ElementType added in v1.1.1

type BuildDefinitionPermissionsArray added in v1.2.2

type BuildDefinitionPermissionsArray []BuildDefinitionPermissionsInput

func (BuildDefinitionPermissionsArray) ElementType added in v1.2.2

func (BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutput added in v1.2.2

func (i BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutput() BuildDefinitionPermissionsArrayOutput

func (BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutputWithContext added in v1.2.2

func (i BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutputWithContext(ctx context.Context) BuildDefinitionPermissionsArrayOutput

type BuildDefinitionPermissionsArrayInput added in v1.2.2

type BuildDefinitionPermissionsArrayInput interface {
	pulumi.Input

	ToBuildDefinitionPermissionsArrayOutput() BuildDefinitionPermissionsArrayOutput
	ToBuildDefinitionPermissionsArrayOutputWithContext(context.Context) BuildDefinitionPermissionsArrayOutput
}

BuildDefinitionPermissionsArrayInput is an input type that accepts BuildDefinitionPermissionsArray and BuildDefinitionPermissionsArrayOutput values. You can construct a concrete instance of `BuildDefinitionPermissionsArrayInput` via:

BuildDefinitionPermissionsArray{ BuildDefinitionPermissionsArgs{...} }

type BuildDefinitionPermissionsArrayOutput added in v1.2.2

type BuildDefinitionPermissionsArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPermissionsArrayOutput) ElementType added in v1.2.2

func (BuildDefinitionPermissionsArrayOutput) Index added in v1.2.2

func (BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutput added in v1.2.2

func (o BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutput() BuildDefinitionPermissionsArrayOutput

func (BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutputWithContext added in v1.2.2

func (o BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutputWithContext(ctx context.Context) BuildDefinitionPermissionsArrayOutput

type BuildDefinitionPermissionsInput added in v1.1.1

type BuildDefinitionPermissionsInput interface {
	pulumi.Input

	ToBuildDefinitionPermissionsOutput() BuildDefinitionPermissionsOutput
	ToBuildDefinitionPermissionsOutputWithContext(ctx context.Context) BuildDefinitionPermissionsOutput
}

type BuildDefinitionPermissionsMap added in v1.2.2

type BuildDefinitionPermissionsMap map[string]BuildDefinitionPermissionsInput

func (BuildDefinitionPermissionsMap) ElementType added in v1.2.2

func (BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutput added in v1.2.2

func (i BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutput() BuildDefinitionPermissionsMapOutput

func (BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutputWithContext added in v1.2.2

func (i BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutputWithContext(ctx context.Context) BuildDefinitionPermissionsMapOutput

type BuildDefinitionPermissionsMapInput added in v1.2.2

type BuildDefinitionPermissionsMapInput interface {
	pulumi.Input

	ToBuildDefinitionPermissionsMapOutput() BuildDefinitionPermissionsMapOutput
	ToBuildDefinitionPermissionsMapOutputWithContext(context.Context) BuildDefinitionPermissionsMapOutput
}

BuildDefinitionPermissionsMapInput is an input type that accepts BuildDefinitionPermissionsMap and BuildDefinitionPermissionsMapOutput values. You can construct a concrete instance of `BuildDefinitionPermissionsMapInput` via:

BuildDefinitionPermissionsMap{ "key": BuildDefinitionPermissionsArgs{...} }

type BuildDefinitionPermissionsMapOutput added in v1.2.2

type BuildDefinitionPermissionsMapOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPermissionsMapOutput) ElementType added in v1.2.2

func (BuildDefinitionPermissionsMapOutput) MapIndex added in v1.2.2

func (BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutput added in v1.2.2

func (o BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutput() BuildDefinitionPermissionsMapOutput

func (BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutputWithContext added in v1.2.2

func (o BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutputWithContext(ctx context.Context) BuildDefinitionPermissionsMapOutput

type BuildDefinitionPermissionsOutput added in v1.1.1

type BuildDefinitionPermissionsOutput struct {
	*pulumi.OutputState
}

func (BuildDefinitionPermissionsOutput) ElementType added in v1.1.1

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutput added in v1.1.1

func (o BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutput() BuildDefinitionPermissionsOutput

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutputWithContext added in v1.1.1

func (o BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutputWithContext(ctx context.Context) BuildDefinitionPermissionsOutput

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsPtrOutput added in v1.2.2

func (o BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsPtrOutput() BuildDefinitionPermissionsPtrOutput

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsPtrOutputWithContext added in v1.2.2

func (o BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsPtrOutputWithContext(ctx context.Context) BuildDefinitionPermissionsPtrOutput

type BuildDefinitionPermissionsPtrInput added in v1.2.2

type BuildDefinitionPermissionsPtrInput interface {
	pulumi.Input

	ToBuildDefinitionPermissionsPtrOutput() BuildDefinitionPermissionsPtrOutput
	ToBuildDefinitionPermissionsPtrOutputWithContext(ctx context.Context) BuildDefinitionPermissionsPtrOutput
}

type BuildDefinitionPermissionsPtrOutput added in v1.2.2

type BuildDefinitionPermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (BuildDefinitionPermissionsPtrOutput) ElementType added in v1.2.2

func (BuildDefinitionPermissionsPtrOutput) ToBuildDefinitionPermissionsPtrOutput added in v1.2.2

func (o BuildDefinitionPermissionsPtrOutput) ToBuildDefinitionPermissionsPtrOutput() BuildDefinitionPermissionsPtrOutput

func (BuildDefinitionPermissionsPtrOutput) ToBuildDefinitionPermissionsPtrOutputWithContext added in v1.2.2

func (o BuildDefinitionPermissionsPtrOutput) ToBuildDefinitionPermissionsPtrOutputWithContext(ctx context.Context) BuildDefinitionPermissionsPtrOutput

type BuildDefinitionPermissionsState added in v1.1.1

type BuildDefinitionPermissionsState struct {
	// The id of the build definition to assign the permissions.
	BuildDefinitionId pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`.
	Replace pulumi.BoolPtrInput
}

func (BuildDefinitionPermissionsState) ElementType added in v1.1.1

type BuildDefinitionPtrInput added in v1.2.2

type BuildDefinitionPtrInput interface {
	pulumi.Input

	ToBuildDefinitionPtrOutput() BuildDefinitionPtrOutput
	ToBuildDefinitionPtrOutputWithContext(ctx context.Context) BuildDefinitionPtrOutput
}

type BuildDefinitionPtrOutput added in v1.2.2

type BuildDefinitionPtrOutput struct {
	*pulumi.OutputState
}

func (BuildDefinitionPtrOutput) ElementType added in v1.2.2

func (BuildDefinitionPtrOutput) ElementType() reflect.Type

func (BuildDefinitionPtrOutput) ToBuildDefinitionPtrOutput added in v1.2.2

func (o BuildDefinitionPtrOutput) ToBuildDefinitionPtrOutput() BuildDefinitionPtrOutput

func (BuildDefinitionPtrOutput) ToBuildDefinitionPtrOutputWithContext added in v1.2.2

func (o BuildDefinitionPtrOutput) ToBuildDefinitionPtrOutputWithContext(ctx context.Context) BuildDefinitionPtrOutput

type BuildDefinitionPullRequestTrigger

type BuildDefinitionPullRequestTrigger struct {
	CommentRequired *string `pulumi:"commentRequired"`
	// Set permissions for Forked repositories.
	Forks         BuildDefinitionPullRequestTriggerForks `pulumi:"forks"`
	InitialBranch *string                                `pulumi:"initialBranch"`
	// Override the azure-pipeline file and use this configuration for all builds.
	Override *BuildDefinitionPullRequestTriggerOverride `pulumi:"override"`
	// Use the azure-pipeline file for the build configuration. Defaults to `false`.
	UseYaml *bool `pulumi:"useYaml"`
}

type BuildDefinitionPullRequestTriggerArgs

type BuildDefinitionPullRequestTriggerArgs struct {
	CommentRequired pulumi.StringPtrInput `pulumi:"commentRequired"`
	// Set permissions for Forked repositories.
	Forks         BuildDefinitionPullRequestTriggerForksInput `pulumi:"forks"`
	InitialBranch pulumi.StringPtrInput                       `pulumi:"initialBranch"`
	// Override the azure-pipeline file and use this configuration for all builds.
	Override BuildDefinitionPullRequestTriggerOverridePtrInput `pulumi:"override"`
	// Use the azure-pipeline file for the build configuration. Defaults to `false`.
	UseYaml pulumi.BoolPtrInput `pulumi:"useYaml"`
}

func (BuildDefinitionPullRequestTriggerArgs) ElementType

func (BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerOutput

func (i BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerOutput() BuildDefinitionPullRequestTriggerOutput

func (BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerOutputWithContext

func (i BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOutput

func (BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerPtrOutput

func (i BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerPtrOutput() BuildDefinitionPullRequestTriggerPtrOutput

func (BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext

func (i BuildDefinitionPullRequestTriggerArgs) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerPtrOutput

type BuildDefinitionPullRequestTriggerForks

type BuildDefinitionPullRequestTriggerForks struct {
	// Build pull requests form forms of this repository.
	Enabled bool `pulumi:"enabled"`
	// Make secrets available to builds of forks.
	ShareSecrets bool `pulumi:"shareSecrets"`
}

type BuildDefinitionPullRequestTriggerForksArgs

type BuildDefinitionPullRequestTriggerForksArgs struct {
	// Build pull requests form forms of this repository.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Make secrets available to builds of forks.
	ShareSecrets pulumi.BoolInput `pulumi:"shareSecrets"`
}

func (BuildDefinitionPullRequestTriggerForksArgs) ElementType

func (BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksOutput

func (i BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksOutput() BuildDefinitionPullRequestTriggerForksOutput

func (BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksOutputWithContext

func (i BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerForksOutput

func (BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksPtrOutput

func (i BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksPtrOutput() BuildDefinitionPullRequestTriggerForksPtrOutput

func (BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext

func (i BuildDefinitionPullRequestTriggerForksArgs) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerForksPtrOutput

type BuildDefinitionPullRequestTriggerForksInput

type BuildDefinitionPullRequestTriggerForksInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerForksOutput() BuildDefinitionPullRequestTriggerForksOutput
	ToBuildDefinitionPullRequestTriggerForksOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerForksOutput
}

BuildDefinitionPullRequestTriggerForksInput is an input type that accepts BuildDefinitionPullRequestTriggerForksArgs and BuildDefinitionPullRequestTriggerForksOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerForksInput` via:

BuildDefinitionPullRequestTriggerForksArgs{...}

type BuildDefinitionPullRequestTriggerForksOutput

type BuildDefinitionPullRequestTriggerForksOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerForksOutput) ElementType

func (BuildDefinitionPullRequestTriggerForksOutput) Enabled

Build pull requests form forms of this repository.

func (BuildDefinitionPullRequestTriggerForksOutput) ShareSecrets

Make secrets available to builds of forks.

func (BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksOutput

func (o BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksOutput() BuildDefinitionPullRequestTriggerForksOutput

func (BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksOutputWithContext

func (o BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerForksOutput

func (BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutput

func (o BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutput() BuildDefinitionPullRequestTriggerForksPtrOutput

func (BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerForksOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerForksPtrOutput

type BuildDefinitionPullRequestTriggerForksPtrInput

type BuildDefinitionPullRequestTriggerForksPtrInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerForksPtrOutput() BuildDefinitionPullRequestTriggerForksPtrOutput
	ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerForksPtrOutput
}

BuildDefinitionPullRequestTriggerForksPtrInput is an input type that accepts BuildDefinitionPullRequestTriggerForksArgs, BuildDefinitionPullRequestTriggerForksPtr and BuildDefinitionPullRequestTriggerForksPtrOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerForksPtrInput` via:

        BuildDefinitionPullRequestTriggerForksArgs{...}

or:

        nil

type BuildDefinitionPullRequestTriggerForksPtrOutput

type BuildDefinitionPullRequestTriggerForksPtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerForksPtrOutput) Elem

func (BuildDefinitionPullRequestTriggerForksPtrOutput) ElementType

func (BuildDefinitionPullRequestTriggerForksPtrOutput) Enabled

Build pull requests form forms of this repository.

func (BuildDefinitionPullRequestTriggerForksPtrOutput) ShareSecrets

Make secrets available to builds of forks.

func (BuildDefinitionPullRequestTriggerForksPtrOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutput

func (o BuildDefinitionPullRequestTriggerForksPtrOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutput() BuildDefinitionPullRequestTriggerForksPtrOutput

func (BuildDefinitionPullRequestTriggerForksPtrOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerForksPtrOutput) ToBuildDefinitionPullRequestTriggerForksPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerForksPtrOutput

type BuildDefinitionPullRequestTriggerInput

type BuildDefinitionPullRequestTriggerInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOutput() BuildDefinitionPullRequestTriggerOutput
	ToBuildDefinitionPullRequestTriggerOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOutput
}

BuildDefinitionPullRequestTriggerInput is an input type that accepts BuildDefinitionPullRequestTriggerArgs and BuildDefinitionPullRequestTriggerOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerInput` via:

BuildDefinitionPullRequestTriggerArgs{...}

type BuildDefinitionPullRequestTriggerOutput

type BuildDefinitionPullRequestTriggerOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOutput) CommentRequired

func (BuildDefinitionPullRequestTriggerOutput) ElementType

func (BuildDefinitionPullRequestTriggerOutput) Forks

Set permissions for Forked repositories.

func (BuildDefinitionPullRequestTriggerOutput) InitialBranch

func (BuildDefinitionPullRequestTriggerOutput) Override

Override the azure-pipeline file and use this configuration for all builds.

func (BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerOutput

func (o BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerOutput() BuildDefinitionPullRequestTriggerOutput

func (BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerOutputWithContext

func (o BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOutput

func (BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerPtrOutput

func (o BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerPtrOutput() BuildDefinitionPullRequestTriggerPtrOutput

func (BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerOutput) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerPtrOutput

func (BuildDefinitionPullRequestTriggerOutput) UseYaml

Use the azure-pipeline file for the build configuration. Defaults to `false`.

type BuildDefinitionPullRequestTriggerOverride

type BuildDefinitionPullRequestTriggerOverride struct {
	// . Defaults to `true`.
	AutoCancel *bool `pulumi:"autoCancel"`
	// The branches to include and exclude from the trigger.
	BranchFilters []BuildDefinitionPullRequestTriggerOverrideBranchFilter `pulumi:"branchFilters"`
	// Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
	PathFilters []BuildDefinitionPullRequestTriggerOverridePathFilter `pulumi:"pathFilters"`
}

type BuildDefinitionPullRequestTriggerOverrideArgs

type BuildDefinitionPullRequestTriggerOverrideArgs struct {
	// . Defaults to `true`.
	AutoCancel pulumi.BoolPtrInput `pulumi:"autoCancel"`
	// The branches to include and exclude from the trigger.
	BranchFilters BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput `pulumi:"branchFilters"`
	// Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
	PathFilters BuildDefinitionPullRequestTriggerOverridePathFilterArrayInput `pulumi:"pathFilters"`
}

func (BuildDefinitionPullRequestTriggerOverrideArgs) ElementType

func (BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverrideOutput

func (i BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverrideOutput() BuildDefinitionPullRequestTriggerOverrideOutput

func (BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverrideOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverrideOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideOutput

func (BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverridePtrOutput

func (i BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverridePtrOutput() BuildDefinitionPullRequestTriggerOverridePtrOutput

func (BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverrideArgs) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePtrOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilter

type BuildDefinitionPullRequestTriggerOverrideBranchFilter struct {
	// List of branch patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs struct {
	// List of branch patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ElementType

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArray

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArray []BuildDefinitionPullRequestTriggerOverrideBranchFilterInput

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ElementType

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput() BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput
	ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput
}

BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput is an input type that accepts BuildDefinitionPullRequestTriggerOverrideBranchFilterArray and BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput` via:

BuildDefinitionPullRequestTriggerOverrideBranchFilterArray{ BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{...} }

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) Index

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterInput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput() BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput
	ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput
}

BuildDefinitionPullRequestTriggerOverrideBranchFilterInput is an input type that accepts BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs and BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverrideBranchFilterInput` via:

BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{...}

type BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) Excludes

List of branch patterns to exclude.

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) Includes

List of branch patterns to include.

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

func (BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type BuildDefinitionPullRequestTriggerOverrideInput

type BuildDefinitionPullRequestTriggerOverrideInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverrideOutput() BuildDefinitionPullRequestTriggerOverrideOutput
	ToBuildDefinitionPullRequestTriggerOverrideOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverrideOutput
}

BuildDefinitionPullRequestTriggerOverrideInput is an input type that accepts BuildDefinitionPullRequestTriggerOverrideArgs and BuildDefinitionPullRequestTriggerOverrideOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverrideInput` via:

BuildDefinitionPullRequestTriggerOverrideArgs{...}

type BuildDefinitionPullRequestTriggerOverrideOutput

type BuildDefinitionPullRequestTriggerOverrideOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverrideOutput) AutoCancel

. Defaults to `true`.

func (BuildDefinitionPullRequestTriggerOverrideOutput) BranchFilters

The branches to include and exclude from the trigger.

func (BuildDefinitionPullRequestTriggerOverrideOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverrideOutput) PathFilters

Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.

func (BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverrideOutput

func (o BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverrideOutput() BuildDefinitionPullRequestTriggerOverrideOutput

func (BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverrideOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverrideOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverrideOutput

func (BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutput

func (o BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutput() BuildDefinitionPullRequestTriggerOverridePtrOutput

func (BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverrideOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePtrOutput

type BuildDefinitionPullRequestTriggerOverridePathFilter

type BuildDefinitionPullRequestTriggerOverridePathFilter struct {
	// List of branch patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionPullRequestTriggerOverridePathFilterArgs

type BuildDefinitionPullRequestTriggerOverridePathFilterArgs struct {
	// List of branch patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of branch patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (BuildDefinitionPullRequestTriggerOverridePathFilterArgs) ElementType

func (BuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutput

func (BuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterOutput

type BuildDefinitionPullRequestTriggerOverridePathFilterArray

type BuildDefinitionPullRequestTriggerOverridePathFilterArray []BuildDefinitionPullRequestTriggerOverridePathFilterInput

func (BuildDefinitionPullRequestTriggerOverridePathFilterArray) ElementType

func (BuildDefinitionPullRequestTriggerOverridePathFilterArray) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

func (i BuildDefinitionPullRequestTriggerOverridePathFilterArray) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput() BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

func (BuildDefinitionPullRequestTriggerOverridePathFilterArray) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext

func (i BuildDefinitionPullRequestTriggerOverridePathFilterArray) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverridePathFilterArrayInput

type BuildDefinitionPullRequestTriggerOverridePathFilterArrayInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput() BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput
	ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput
}

BuildDefinitionPullRequestTriggerOverridePathFilterArrayInput is an input type that accepts BuildDefinitionPullRequestTriggerOverridePathFilterArray and BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverridePathFilterArrayInput` via:

BuildDefinitionPullRequestTriggerOverridePathFilterArray{ BuildDefinitionPullRequestTriggerOverridePathFilterArgs{...} }

type BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) Index

func (BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

func (BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type BuildDefinitionPullRequestTriggerOverridePathFilterInput

type BuildDefinitionPullRequestTriggerOverridePathFilterInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverridePathFilterOutput() BuildDefinitionPullRequestTriggerOverridePathFilterOutput
	ToBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterOutput
}

BuildDefinitionPullRequestTriggerOverridePathFilterInput is an input type that accepts BuildDefinitionPullRequestTriggerOverridePathFilterArgs and BuildDefinitionPullRequestTriggerOverridePathFilterOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverridePathFilterInput` via:

BuildDefinitionPullRequestTriggerOverridePathFilterArgs{...}

type BuildDefinitionPullRequestTriggerOverridePathFilterOutput

type BuildDefinitionPullRequestTriggerOverridePathFilterOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) Excludes

List of branch patterns to exclude.

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) Includes

List of branch patterns to include.

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutput

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePathFilterOutput

type BuildDefinitionPullRequestTriggerOverridePtrInput

type BuildDefinitionPullRequestTriggerOverridePtrInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerOverridePtrOutput() BuildDefinitionPullRequestTriggerOverridePtrOutput
	ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerOverridePtrOutput
}

BuildDefinitionPullRequestTriggerOverridePtrInput is an input type that accepts BuildDefinitionPullRequestTriggerOverrideArgs, BuildDefinitionPullRequestTriggerOverridePtr and BuildDefinitionPullRequestTriggerOverridePtrOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerOverridePtrInput` via:

        BuildDefinitionPullRequestTriggerOverrideArgs{...}

or:

        nil

type BuildDefinitionPullRequestTriggerOverridePtrOutput

type BuildDefinitionPullRequestTriggerOverridePtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) AutoCancel

. Defaults to `true`.

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) BranchFilters

The branches to include and exclude from the trigger.

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) Elem

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) ElementType

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) PathFilters

Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutput

func (o BuildDefinitionPullRequestTriggerOverridePtrOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutput() BuildDefinitionPullRequestTriggerOverridePtrOutput

func (BuildDefinitionPullRequestTriggerOverridePtrOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerOverridePtrOutput) ToBuildDefinitionPullRequestTriggerOverridePtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerOverridePtrOutput

type BuildDefinitionPullRequestTriggerPtrInput

type BuildDefinitionPullRequestTriggerPtrInput interface {
	pulumi.Input

	ToBuildDefinitionPullRequestTriggerPtrOutput() BuildDefinitionPullRequestTriggerPtrOutput
	ToBuildDefinitionPullRequestTriggerPtrOutputWithContext(context.Context) BuildDefinitionPullRequestTriggerPtrOutput
}

BuildDefinitionPullRequestTriggerPtrInput is an input type that accepts BuildDefinitionPullRequestTriggerArgs, BuildDefinitionPullRequestTriggerPtr and BuildDefinitionPullRequestTriggerPtrOutput values. You can construct a concrete instance of `BuildDefinitionPullRequestTriggerPtrInput` via:

        BuildDefinitionPullRequestTriggerArgs{...}

or:

        nil

type BuildDefinitionPullRequestTriggerPtrOutput

type BuildDefinitionPullRequestTriggerPtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPullRequestTriggerPtrOutput) CommentRequired

func (BuildDefinitionPullRequestTriggerPtrOutput) Elem

func (BuildDefinitionPullRequestTriggerPtrOutput) ElementType

func (BuildDefinitionPullRequestTriggerPtrOutput) Forks

Set permissions for Forked repositories.

func (BuildDefinitionPullRequestTriggerPtrOutput) InitialBranch

func (BuildDefinitionPullRequestTriggerPtrOutput) Override

Override the azure-pipeline file and use this configuration for all builds.

func (BuildDefinitionPullRequestTriggerPtrOutput) ToBuildDefinitionPullRequestTriggerPtrOutput

func (o BuildDefinitionPullRequestTriggerPtrOutput) ToBuildDefinitionPullRequestTriggerPtrOutput() BuildDefinitionPullRequestTriggerPtrOutput

func (BuildDefinitionPullRequestTriggerPtrOutput) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext

func (o BuildDefinitionPullRequestTriggerPtrOutput) ToBuildDefinitionPullRequestTriggerPtrOutputWithContext(ctx context.Context) BuildDefinitionPullRequestTriggerPtrOutput

func (BuildDefinitionPullRequestTriggerPtrOutput) UseYaml

Use the azure-pipeline file for the build configuration. Defaults to `false`.

type BuildDefinitionRepository

type BuildDefinitionRepository struct {
	// The branch name for which builds are triggered. Defaults to `master`.
	BranchName *string `pulumi:"branchName"`
	// The Github Enterprise URL. Used if `repoType` is `GithubEnterprise`.
	GithubEnterpriseUrl *string `pulumi:"githubEnterpriseUrl"`
	// The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.
	RepoId string `pulumi:"repoId"`
	// The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repoType` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
	RepoType string `pulumi:"repoType"`
	// Report build status. Default is true.
	ReportBuildStatus *bool `pulumi:"reportBuildStatus"`
	// The service connection ID. Used if the `repoType` is `GitHub` or `GitHubEnterprise`.
	ServiceConnectionId *string `pulumi:"serviceConnectionId"`
	// The path of the Yaml file describing the build definition.
	YmlPath string `pulumi:"ymlPath"`
}

type BuildDefinitionRepositoryArgs

type BuildDefinitionRepositoryArgs struct {
	// The branch name for which builds are triggered. Defaults to `master`.
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	// The Github Enterprise URL. Used if `repoType` is `GithubEnterprise`.
	GithubEnterpriseUrl pulumi.StringPtrInput `pulumi:"githubEnterpriseUrl"`
	// The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.
	RepoId pulumi.StringInput `pulumi:"repoId"`
	// The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repoType` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// Report build status. Default is true.
	ReportBuildStatus pulumi.BoolPtrInput `pulumi:"reportBuildStatus"`
	// The service connection ID. Used if the `repoType` is `GitHub` or `GitHubEnterprise`.
	ServiceConnectionId pulumi.StringPtrInput `pulumi:"serviceConnectionId"`
	// The path of the Yaml file describing the build definition.
	YmlPath pulumi.StringInput `pulumi:"ymlPath"`
}

func (BuildDefinitionRepositoryArgs) ElementType

func (BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryOutput

func (i BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryOutput() BuildDefinitionRepositoryOutput

func (BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryOutputWithContext

func (i BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryOutputWithContext(ctx context.Context) BuildDefinitionRepositoryOutput

func (BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryPtrOutput

func (i BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryPtrOutput() BuildDefinitionRepositoryPtrOutput

func (BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryPtrOutputWithContext

func (i BuildDefinitionRepositoryArgs) ToBuildDefinitionRepositoryPtrOutputWithContext(ctx context.Context) BuildDefinitionRepositoryPtrOutput

type BuildDefinitionRepositoryInput

type BuildDefinitionRepositoryInput interface {
	pulumi.Input

	ToBuildDefinitionRepositoryOutput() BuildDefinitionRepositoryOutput
	ToBuildDefinitionRepositoryOutputWithContext(context.Context) BuildDefinitionRepositoryOutput
}

BuildDefinitionRepositoryInput is an input type that accepts BuildDefinitionRepositoryArgs and BuildDefinitionRepositoryOutput values. You can construct a concrete instance of `BuildDefinitionRepositoryInput` via:

BuildDefinitionRepositoryArgs{...}

type BuildDefinitionRepositoryOutput

type BuildDefinitionRepositoryOutput struct{ *pulumi.OutputState }

func (BuildDefinitionRepositoryOutput) BranchName

The branch name for which builds are triggered. Defaults to `master`.

func (BuildDefinitionRepositoryOutput) ElementType

func (BuildDefinitionRepositoryOutput) GithubEnterpriseUrl

func (o BuildDefinitionRepositoryOutput) GithubEnterpriseUrl() pulumi.StringPtrOutput

The Github Enterprise URL. Used if `repoType` is `GithubEnterprise`.

func (BuildDefinitionRepositoryOutput) RepoId

The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.

func (BuildDefinitionRepositoryOutput) RepoType

The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repoType` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.

func (BuildDefinitionRepositoryOutput) ReportBuildStatus

Report build status. Default is true.

func (BuildDefinitionRepositoryOutput) ServiceConnectionId

func (o BuildDefinitionRepositoryOutput) ServiceConnectionId() pulumi.StringPtrOutput

The service connection ID. Used if the `repoType` is `GitHub` or `GitHubEnterprise`.

func (BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryOutput

func (o BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryOutput() BuildDefinitionRepositoryOutput

func (BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryOutputWithContext

func (o BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryOutputWithContext(ctx context.Context) BuildDefinitionRepositoryOutput

func (BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryPtrOutput

func (o BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryPtrOutput() BuildDefinitionRepositoryPtrOutput

func (BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryPtrOutputWithContext

func (o BuildDefinitionRepositoryOutput) ToBuildDefinitionRepositoryPtrOutputWithContext(ctx context.Context) BuildDefinitionRepositoryPtrOutput

func (BuildDefinitionRepositoryOutput) YmlPath

The path of the Yaml file describing the build definition.

type BuildDefinitionRepositoryPtrInput

type BuildDefinitionRepositoryPtrInput interface {
	pulumi.Input

	ToBuildDefinitionRepositoryPtrOutput() BuildDefinitionRepositoryPtrOutput
	ToBuildDefinitionRepositoryPtrOutputWithContext(context.Context) BuildDefinitionRepositoryPtrOutput
}

BuildDefinitionRepositoryPtrInput is an input type that accepts BuildDefinitionRepositoryArgs, BuildDefinitionRepositoryPtr and BuildDefinitionRepositoryPtrOutput values. You can construct a concrete instance of `BuildDefinitionRepositoryPtrInput` via:

        BuildDefinitionRepositoryArgs{...}

or:

        nil

type BuildDefinitionRepositoryPtrOutput

type BuildDefinitionRepositoryPtrOutput struct{ *pulumi.OutputState }

func (BuildDefinitionRepositoryPtrOutput) BranchName

The branch name for which builds are triggered. Defaults to `master`.

func (BuildDefinitionRepositoryPtrOutput) Elem

func (BuildDefinitionRepositoryPtrOutput) ElementType

func (BuildDefinitionRepositoryPtrOutput) GithubEnterpriseUrl

The Github Enterprise URL. Used if `repoType` is `GithubEnterprise`.

func (BuildDefinitionRepositoryPtrOutput) RepoId

The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.

func (BuildDefinitionRepositoryPtrOutput) RepoType

The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repoType` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.

func (BuildDefinitionRepositoryPtrOutput) ReportBuildStatus

Report build status. Default is true.

func (BuildDefinitionRepositoryPtrOutput) ServiceConnectionId

The service connection ID. Used if the `repoType` is `GitHub` or `GitHubEnterprise`.

func (BuildDefinitionRepositoryPtrOutput) ToBuildDefinitionRepositoryPtrOutput

func (o BuildDefinitionRepositoryPtrOutput) ToBuildDefinitionRepositoryPtrOutput() BuildDefinitionRepositoryPtrOutput

func (BuildDefinitionRepositoryPtrOutput) ToBuildDefinitionRepositoryPtrOutputWithContext

func (o BuildDefinitionRepositoryPtrOutput) ToBuildDefinitionRepositoryPtrOutputWithContext(ctx context.Context) BuildDefinitionRepositoryPtrOutput

func (BuildDefinitionRepositoryPtrOutput) YmlPath

The path of the Yaml file describing the build definition.

type BuildDefinitionState

type BuildDefinitionState struct {
	// The agent pool that should execute the build.
	AgentPoolName pulumi.StringPtrInput
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrInput
	// The name of the build definition.
	Name pulumi.StringPtrInput
	// The folder path of the build definition.
	Path pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// Pull Request Integration Integration trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrInput
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryPtrInput
	// The revision of the build definition
	Revision pulumi.IntPtrInput
	// A list of variable group IDs (integers) to link to the build definition.
	VariableGroups pulumi.IntArrayInput
	// A list of `variable` blocks, as documented below.
	Variables BuildDefinitionVariableArrayInput
}

func (BuildDefinitionState) ElementType

func (BuildDefinitionState) ElementType() reflect.Type

type BuildDefinitionVariable

type BuildDefinitionVariable struct {
	// True if the variable can be overridden. Defaults to `true`.
	AllowOverride *bool `pulumi:"allowOverride"`
	// True if the variable is a secret. Defaults to `false`.
	IsSecret *bool `pulumi:"isSecret"`
	// The name of the variable.
	Name string `pulumi:"name"`
	// The secret value of the variable. Used when `isSecret` set to `true`.
	SecretValue *string `pulumi:"secretValue"`
	// The value of the variable.
	Value *string `pulumi:"value"`
}

type BuildDefinitionVariableArgs

type BuildDefinitionVariableArgs struct {
	// True if the variable can be overridden. Defaults to `true`.
	AllowOverride pulumi.BoolPtrInput `pulumi:"allowOverride"`
	// True if the variable is a secret. Defaults to `false`.
	IsSecret pulumi.BoolPtrInput `pulumi:"isSecret"`
	// The name of the variable.
	Name pulumi.StringInput `pulumi:"name"`
	// The secret value of the variable. Used when `isSecret` set to `true`.
	SecretValue pulumi.StringPtrInput `pulumi:"secretValue"`
	// The value of the variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (BuildDefinitionVariableArgs) ElementType

func (BuildDefinitionVariableArgs) ToBuildDefinitionVariableOutput

func (i BuildDefinitionVariableArgs) ToBuildDefinitionVariableOutput() BuildDefinitionVariableOutput

func (BuildDefinitionVariableArgs) ToBuildDefinitionVariableOutputWithContext

func (i BuildDefinitionVariableArgs) ToBuildDefinitionVariableOutputWithContext(ctx context.Context) BuildDefinitionVariableOutput

type BuildDefinitionVariableArray

type BuildDefinitionVariableArray []BuildDefinitionVariableInput

func (BuildDefinitionVariableArray) ElementType

func (BuildDefinitionVariableArray) ToBuildDefinitionVariableArrayOutput

func (i BuildDefinitionVariableArray) ToBuildDefinitionVariableArrayOutput() BuildDefinitionVariableArrayOutput

func (BuildDefinitionVariableArray) ToBuildDefinitionVariableArrayOutputWithContext

func (i BuildDefinitionVariableArray) ToBuildDefinitionVariableArrayOutputWithContext(ctx context.Context) BuildDefinitionVariableArrayOutput

type BuildDefinitionVariableArrayInput

type BuildDefinitionVariableArrayInput interface {
	pulumi.Input

	ToBuildDefinitionVariableArrayOutput() BuildDefinitionVariableArrayOutput
	ToBuildDefinitionVariableArrayOutputWithContext(context.Context) BuildDefinitionVariableArrayOutput
}

BuildDefinitionVariableArrayInput is an input type that accepts BuildDefinitionVariableArray and BuildDefinitionVariableArrayOutput values. You can construct a concrete instance of `BuildDefinitionVariableArrayInput` via:

BuildDefinitionVariableArray{ BuildDefinitionVariableArgs{...} }

type BuildDefinitionVariableArrayOutput

type BuildDefinitionVariableArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionVariableArrayOutput) ElementType

func (BuildDefinitionVariableArrayOutput) Index

func (BuildDefinitionVariableArrayOutput) ToBuildDefinitionVariableArrayOutput

func (o BuildDefinitionVariableArrayOutput) ToBuildDefinitionVariableArrayOutput() BuildDefinitionVariableArrayOutput

func (BuildDefinitionVariableArrayOutput) ToBuildDefinitionVariableArrayOutputWithContext

func (o BuildDefinitionVariableArrayOutput) ToBuildDefinitionVariableArrayOutputWithContext(ctx context.Context) BuildDefinitionVariableArrayOutput

type BuildDefinitionVariableInput

type BuildDefinitionVariableInput interface {
	pulumi.Input

	ToBuildDefinitionVariableOutput() BuildDefinitionVariableOutput
	ToBuildDefinitionVariableOutputWithContext(context.Context) BuildDefinitionVariableOutput
}

BuildDefinitionVariableInput is an input type that accepts BuildDefinitionVariableArgs and BuildDefinitionVariableOutput values. You can construct a concrete instance of `BuildDefinitionVariableInput` via:

BuildDefinitionVariableArgs{...}

type BuildDefinitionVariableOutput

type BuildDefinitionVariableOutput struct{ *pulumi.OutputState }

func (BuildDefinitionVariableOutput) AllowOverride

True if the variable can be overridden. Defaults to `true`.

func (BuildDefinitionVariableOutput) ElementType

func (BuildDefinitionVariableOutput) GetIsSecret added in v1.2.2

True if the variable is a secret. Defaults to `false`.

func (BuildDefinitionVariableOutput) Name

The name of the variable.

func (BuildDefinitionVariableOutput) SecretValue

The secret value of the variable. Used when `isSecret` set to `true`.

func (BuildDefinitionVariableOutput) ToBuildDefinitionVariableOutput

func (o BuildDefinitionVariableOutput) ToBuildDefinitionVariableOutput() BuildDefinitionVariableOutput

func (BuildDefinitionVariableOutput) ToBuildDefinitionVariableOutputWithContext

func (o BuildDefinitionVariableOutput) ToBuildDefinitionVariableOutputWithContext(ctx context.Context) BuildDefinitionVariableOutput

func (BuildDefinitionVariableOutput) Value

The value of the variable.

type GetAgentQueueArgs

type GetAgentQueueArgs struct {
	// Name of the Agent Queue.
	Name string `pulumi:"name"`
	// The Project Id.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getAgentQueue.

type GetAgentQueueResult

type GetAgentQueueResult struct {
	// Agent pool identifier to which the agent queue belongs.
	AgentPoolId int `pulumi:"agentPoolId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the agent queue.
	Name string `pulumi:"name"`
	// Project identifier to which the agent queue belongs.
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getAgentQueue.

func GetAgentQueue

func GetAgentQueue(ctx *pulumi.Context, args *GetAgentQueueArgs, opts ...pulumi.InvokeOption) (*GetAgentQueueResult, error)

Use this data source to access information about an existing Agent Queue within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &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
		}
		ctx.Export("name", queue.ApplyT(func(queue azuredevops.GetAgentQueueResult) (string, error) {
			return queue.Name, nil
		}).(pulumi.StringOutput))
		ctx.Export("poolId", queue.ApplyT(func(queue azuredevops.GetAgentQueueResult) (int, error) {
			return queue.AgentPoolId, nil
		}).(pulumi.IntOutput))
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Queues - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues/get?view=azure-devops-rest-5.1)

type GetAreaArgs

type GetAreaArgs struct {
	// Read children nodes, _Depth_: 1, _Default_: `true`
	FetchChildren *bool `pulumi:"fetchChildren"`
	// The path to the Area; _Format_: URL relative; if omitted, or value `"/"` is used, the root Area will be returned
	Path *string `pulumi:"path"`
	// The project ID.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getArea.

type GetAreaChildren

type GetAreaChildren struct {
	// Indicator if the child Area node has child nodes
	HasChildren bool `pulumi:"hasChildren"`
	// The id of the child Area node
	Id string `pulumi:"id"`
	// The name of the child Area node
	Name string `pulumi:"name"`
	// The path to the Area; _Format_: URL relative; if omitted, or value `"/"` is used, the root Area will be returned
	Path string `pulumi:"path"`
	// The project ID.
	ProjectId string `pulumi:"projectId"`
}

type GetAreaChildrenArgs

type GetAreaChildrenArgs struct {
	// Indicator if the child Area node has child nodes
	HasChildren pulumi.BoolInput `pulumi:"hasChildren"`
	// The id of the child Area node
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the child Area node
	Name pulumi.StringInput `pulumi:"name"`
	// The path to the Area; _Format_: URL relative; if omitted, or value `"/"` is used, the root Area will be returned
	Path pulumi.StringInput `pulumi:"path"`
	// The project ID.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (GetAreaChildrenArgs) ElementType

func (GetAreaChildrenArgs) ElementType() reflect.Type

func (GetAreaChildrenArgs) ToGetAreaChildrenOutput

func (i GetAreaChildrenArgs) ToGetAreaChildrenOutput() GetAreaChildrenOutput

func (GetAreaChildrenArgs) ToGetAreaChildrenOutputWithContext

func (i GetAreaChildrenArgs) ToGetAreaChildrenOutputWithContext(ctx context.Context) GetAreaChildrenOutput

type GetAreaChildrenArray

type GetAreaChildrenArray []GetAreaChildrenInput

func (GetAreaChildrenArray) ElementType

func (GetAreaChildrenArray) ElementType() reflect.Type

func (GetAreaChildrenArray) ToGetAreaChildrenArrayOutput

func (i GetAreaChildrenArray) ToGetAreaChildrenArrayOutput() GetAreaChildrenArrayOutput

func (GetAreaChildrenArray) ToGetAreaChildrenArrayOutputWithContext

func (i GetAreaChildrenArray) ToGetAreaChildrenArrayOutputWithContext(ctx context.Context) GetAreaChildrenArrayOutput

type GetAreaChildrenArrayInput

type GetAreaChildrenArrayInput interface {
	pulumi.Input

	ToGetAreaChildrenArrayOutput() GetAreaChildrenArrayOutput
	ToGetAreaChildrenArrayOutputWithContext(context.Context) GetAreaChildrenArrayOutput
}

GetAreaChildrenArrayInput is an input type that accepts GetAreaChildrenArray and GetAreaChildrenArrayOutput values. You can construct a concrete instance of `GetAreaChildrenArrayInput` via:

GetAreaChildrenArray{ GetAreaChildrenArgs{...} }

type GetAreaChildrenArrayOutput

type GetAreaChildrenArrayOutput struct{ *pulumi.OutputState }

func (GetAreaChildrenArrayOutput) ElementType

func (GetAreaChildrenArrayOutput) ElementType() reflect.Type

func (GetAreaChildrenArrayOutput) Index

func (GetAreaChildrenArrayOutput) ToGetAreaChildrenArrayOutput

func (o GetAreaChildrenArrayOutput) ToGetAreaChildrenArrayOutput() GetAreaChildrenArrayOutput

func (GetAreaChildrenArrayOutput) ToGetAreaChildrenArrayOutputWithContext

func (o GetAreaChildrenArrayOutput) ToGetAreaChildrenArrayOutputWithContext(ctx context.Context) GetAreaChildrenArrayOutput

type GetAreaChildrenInput

type GetAreaChildrenInput interface {
	pulumi.Input

	ToGetAreaChildrenOutput() GetAreaChildrenOutput
	ToGetAreaChildrenOutputWithContext(context.Context) GetAreaChildrenOutput
}

GetAreaChildrenInput is an input type that accepts GetAreaChildrenArgs and GetAreaChildrenOutput values. You can construct a concrete instance of `GetAreaChildrenInput` via:

GetAreaChildrenArgs{...}

type GetAreaChildrenOutput

type GetAreaChildrenOutput struct{ *pulumi.OutputState }

func (GetAreaChildrenOutput) ElementType

func (GetAreaChildrenOutput) ElementType() reflect.Type

func (GetAreaChildrenOutput) HasChildren

func (o GetAreaChildrenOutput) HasChildren() pulumi.BoolOutput

Indicator if the child Area node has child nodes

func (GetAreaChildrenOutput) Id

The id of the child Area node

func (GetAreaChildrenOutput) Name

The name of the child Area node

func (GetAreaChildrenOutput) Path

The path to the Area; _Format_: URL relative; if omitted, or value `"/"` is used, the root Area will be returned

func (GetAreaChildrenOutput) ProjectId

The project ID.

func (GetAreaChildrenOutput) ToGetAreaChildrenOutput

func (o GetAreaChildrenOutput) ToGetAreaChildrenOutput() GetAreaChildrenOutput

func (GetAreaChildrenOutput) ToGetAreaChildrenOutputWithContext

func (o GetAreaChildrenOutput) ToGetAreaChildrenOutputWithContext(ctx context.Context) GetAreaChildrenOutput

type GetAreaResult

type GetAreaResult struct {
	// A list of `children` blocks as defined below, empty if `hasChildren == false`
	Childrens     []GetAreaChildren `pulumi:"childrens"`
	FetchChildren *bool             `pulumi:"fetchChildren"`
	// Indicator if the child Area node has child nodes
	HasChildren bool `pulumi:"hasChildren"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the child Area node
	Name string `pulumi:"name"`
	// The complete path (in relative URL format) of the child Area
	Path string `pulumi:"path"`
	// The project ID of the child Area node
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getArea.

func GetArea

func GetArea(ctx *pulumi.Context, args *GetAreaArgs, opts ...pulumi.InvokeOption) (*GetAreaResult, error)

Use this data source to access information about an existing Area (Component) within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &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
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Classification Nodes - Get Classification Nodes](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/classification%20nodes/get%20classification%20nodes?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.work - Grants the ability to read work items, queries, boards, area and iterations paths, and other work item tracking related metadata. Also grants the ability to execute queries, search work items and to receive notifications about work item events via service hooks.

type GetClientConfigResult

type GetClientConfigResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id              string `pulumi:"id"`
	OrganizationUrl string `pulumi:"organizationUrl"`
}

A collection of values returned by getClientConfig.

func GetClientConfig

func GetClientConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetClientConfigResult, error)

Use this data source to access information about the Azure DevOps organization configured for the provider.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		clientConfig, err := azuredevops.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("orgUrl", clientConfig.OrganizationUrl)
		return nil
	})
}

```

type GetGitRepositoryArgs

type GetGitRepositoryArgs struct {
	// Name of the Git repository to retrieve
	Name string `pulumi:"name"`
	// ID of project to list Git repositories
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getGitRepository.

type GetGitRepositoryResult

type GetGitRepositoryResult struct {
	// The ref of the default branch.
	DefaultBranch string `pulumi:"defaultBranch"`
	// The provider-assigned unique ID for this managed resource.
	Id     string `pulumi:"id"`
	IsFork bool   `pulumi:"isFork"`
	// Git repository name.
	Name string `pulumi:"name"`
	// Project identifier to which the Git repository belongs.
	ProjectId string `pulumi:"projectId"`
	// HTTPS Url to clone the Git repository
	RemoteUrl string `pulumi:"remoteUrl"`
	// Compressed size (bytes) of the repository.
	Size int `pulumi:"size"`
	// SSH Url to clone the Git repository
	SshUrl string `pulumi:"sshUrl"`
	// Details REST API endpoint for the Git Repository.
	Url string `pulumi:"url"`
	// Url of the Git repository web view
	WebUrl string `pulumi:"webUrl"`
}

A collection of values returned by getGitRepository.

func GetGitRepository

func GetGitRepository(ctx *pulumi.Context, args *GetGitRepositoryArgs, opts ...pulumi.InvokeOption) (*GetGitRepositoryResult, error)

Use this data source to access information about a **single** (existing) Git Repository within Azure DevOps. To read information about **multiple** Git Repositories use the data source `getRepositories`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "contoso-project"
		project, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetGitRepository(ctx, &azuredevops.GetGitRepositoryArgs{
			ProjectId: project.Id,
			Name:      "contoso-repo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Git API](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/?view=azure-devops-rest-5.1)

type GetIterationArgs

type GetIterationArgs struct {
	// Read children nodes, _Depth_: 1, _Default_: `true`
	FetchChildren *bool `pulumi:"fetchChildren"`
	// The path to the Iteration, _Format_: URL relative; if omitted, or value `"/"` is used, the root Iteration will be returned
	Path *string `pulumi:"path"`
	// The project ID.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getIteration.

type GetIterationChildren

type GetIterationChildren struct {
	// Indicator if the child Iteration node has child nodes
	HasChildren bool `pulumi:"hasChildren"`
	// The id of the child Iteration node
	Id string `pulumi:"id"`
	// The name of the child Iteration node
	Name string `pulumi:"name"`
	// The path to the Iteration, _Format_: URL relative; if omitted, or value `"/"` is used, the root Iteration will be returned
	Path string `pulumi:"path"`
	// The project ID.
	ProjectId string `pulumi:"projectId"`
}

type GetIterationChildrenArgs

type GetIterationChildrenArgs struct {
	// Indicator if the child Iteration node has child nodes
	HasChildren pulumi.BoolInput `pulumi:"hasChildren"`
	// The id of the child Iteration node
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the child Iteration node
	Name pulumi.StringInput `pulumi:"name"`
	// The path to the Iteration, _Format_: URL relative; if omitted, or value `"/"` is used, the root Iteration will be returned
	Path pulumi.StringInput `pulumi:"path"`
	// The project ID.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (GetIterationChildrenArgs) ElementType

func (GetIterationChildrenArgs) ElementType() reflect.Type

func (GetIterationChildrenArgs) ToGetIterationChildrenOutput

func (i GetIterationChildrenArgs) ToGetIterationChildrenOutput() GetIterationChildrenOutput

func (GetIterationChildrenArgs) ToGetIterationChildrenOutputWithContext

func (i GetIterationChildrenArgs) ToGetIterationChildrenOutputWithContext(ctx context.Context) GetIterationChildrenOutput

type GetIterationChildrenArray

type GetIterationChildrenArray []GetIterationChildrenInput

func (GetIterationChildrenArray) ElementType

func (GetIterationChildrenArray) ElementType() reflect.Type

func (GetIterationChildrenArray) ToGetIterationChildrenArrayOutput

func (i GetIterationChildrenArray) ToGetIterationChildrenArrayOutput() GetIterationChildrenArrayOutput

func (GetIterationChildrenArray) ToGetIterationChildrenArrayOutputWithContext

func (i GetIterationChildrenArray) ToGetIterationChildrenArrayOutputWithContext(ctx context.Context) GetIterationChildrenArrayOutput

type GetIterationChildrenArrayInput

type GetIterationChildrenArrayInput interface {
	pulumi.Input

	ToGetIterationChildrenArrayOutput() GetIterationChildrenArrayOutput
	ToGetIterationChildrenArrayOutputWithContext(context.Context) GetIterationChildrenArrayOutput
}

GetIterationChildrenArrayInput is an input type that accepts GetIterationChildrenArray and GetIterationChildrenArrayOutput values. You can construct a concrete instance of `GetIterationChildrenArrayInput` via:

GetIterationChildrenArray{ GetIterationChildrenArgs{...} }

type GetIterationChildrenArrayOutput

type GetIterationChildrenArrayOutput struct{ *pulumi.OutputState }

func (GetIterationChildrenArrayOutput) ElementType

func (GetIterationChildrenArrayOutput) Index

func (GetIterationChildrenArrayOutput) ToGetIterationChildrenArrayOutput

func (o GetIterationChildrenArrayOutput) ToGetIterationChildrenArrayOutput() GetIterationChildrenArrayOutput

func (GetIterationChildrenArrayOutput) ToGetIterationChildrenArrayOutputWithContext

func (o GetIterationChildrenArrayOutput) ToGetIterationChildrenArrayOutputWithContext(ctx context.Context) GetIterationChildrenArrayOutput

type GetIterationChildrenInput

type GetIterationChildrenInput interface {
	pulumi.Input

	ToGetIterationChildrenOutput() GetIterationChildrenOutput
	ToGetIterationChildrenOutputWithContext(context.Context) GetIterationChildrenOutput
}

GetIterationChildrenInput is an input type that accepts GetIterationChildrenArgs and GetIterationChildrenOutput values. You can construct a concrete instance of `GetIterationChildrenInput` via:

GetIterationChildrenArgs{...}

type GetIterationChildrenOutput

type GetIterationChildrenOutput struct{ *pulumi.OutputState }

func (GetIterationChildrenOutput) ElementType

func (GetIterationChildrenOutput) ElementType() reflect.Type

func (GetIterationChildrenOutput) HasChildren

Indicator if the child Iteration node has child nodes

func (GetIterationChildrenOutput) Id

The id of the child Iteration node

func (GetIterationChildrenOutput) Name

The name of the child Iteration node

func (GetIterationChildrenOutput) Path

The path to the Iteration, _Format_: URL relative; if omitted, or value `"/"` is used, the root Iteration will be returned

func (GetIterationChildrenOutput) ProjectId

The project ID.

func (GetIterationChildrenOutput) ToGetIterationChildrenOutput

func (o GetIterationChildrenOutput) ToGetIterationChildrenOutput() GetIterationChildrenOutput

func (GetIterationChildrenOutput) ToGetIterationChildrenOutputWithContext

func (o GetIterationChildrenOutput) ToGetIterationChildrenOutputWithContext(ctx context.Context) GetIterationChildrenOutput

type GetIterationResult

type GetIterationResult struct {
	// A list of `children` blocks as defined below, empty if `hasChildren == false`
	Childrens     []GetIterationChildren `pulumi:"childrens"`
	FetchChildren *bool                  `pulumi:"fetchChildren"`
	// Indicator if the child Iteration node has child nodes
	HasChildren bool `pulumi:"hasChildren"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the child Iteration node
	Name string `pulumi:"name"`
	// The complete path (in relative URL format) of the child Iteration
	Path string `pulumi:"path"`
	// The project ID of the child Iteration node
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getIteration.

func GetIteration

func GetIteration(ctx *pulumi.Context, args *GetIterationArgs, opts ...pulumi.InvokeOption) (*GetIterationResult, error)

Use this data source to access information about an existing Iteration (Sprint) within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &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
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Classification Nodes - Get Classification Nodes](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/classification%20nodes/get%20classification%20nodes?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.work - Grants the ability to read work items, queries, boards, area and iterations paths, and other work item tracking related metadata. Also grants the ability to execute queries, search work items and to receive notifications about work item events via service hooks.

type GetPoolsAgentPool

type GetPoolsAgentPool struct {
	// Specifies whether or not a queue should be automatically provisioned for each project collection.
	AutoProvision bool `pulumi:"autoProvision"`
	Id            int  `pulumi:"id"`
	// The name of the agent pool
	Name string `pulumi:"name"`
	// Specifies whether the agent pool type is Automation or Deployment.
	PoolType string `pulumi:"poolType"`
}

type GetPoolsAgentPoolArgs

type GetPoolsAgentPoolArgs struct {
	// Specifies whether or not a queue should be automatically provisioned for each project collection.
	AutoProvision pulumi.BoolInput `pulumi:"autoProvision"`
	Id            pulumi.IntInput  `pulumi:"id"`
	// The name of the agent pool
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies whether the agent pool type is Automation or Deployment.
	PoolType pulumi.StringInput `pulumi:"poolType"`
}

func (GetPoolsAgentPoolArgs) ElementType

func (GetPoolsAgentPoolArgs) ElementType() reflect.Type

func (GetPoolsAgentPoolArgs) ToGetPoolsAgentPoolOutput

func (i GetPoolsAgentPoolArgs) ToGetPoolsAgentPoolOutput() GetPoolsAgentPoolOutput

func (GetPoolsAgentPoolArgs) ToGetPoolsAgentPoolOutputWithContext

func (i GetPoolsAgentPoolArgs) ToGetPoolsAgentPoolOutputWithContext(ctx context.Context) GetPoolsAgentPoolOutput

type GetPoolsAgentPoolArray

type GetPoolsAgentPoolArray []GetPoolsAgentPoolInput

func (GetPoolsAgentPoolArray) ElementType

func (GetPoolsAgentPoolArray) ElementType() reflect.Type

func (GetPoolsAgentPoolArray) ToGetPoolsAgentPoolArrayOutput

func (i GetPoolsAgentPoolArray) ToGetPoolsAgentPoolArrayOutput() GetPoolsAgentPoolArrayOutput

func (GetPoolsAgentPoolArray) ToGetPoolsAgentPoolArrayOutputWithContext

func (i GetPoolsAgentPoolArray) ToGetPoolsAgentPoolArrayOutputWithContext(ctx context.Context) GetPoolsAgentPoolArrayOutput

type GetPoolsAgentPoolArrayInput

type GetPoolsAgentPoolArrayInput interface {
	pulumi.Input

	ToGetPoolsAgentPoolArrayOutput() GetPoolsAgentPoolArrayOutput
	ToGetPoolsAgentPoolArrayOutputWithContext(context.Context) GetPoolsAgentPoolArrayOutput
}

GetPoolsAgentPoolArrayInput is an input type that accepts GetPoolsAgentPoolArray and GetPoolsAgentPoolArrayOutput values. You can construct a concrete instance of `GetPoolsAgentPoolArrayInput` via:

GetPoolsAgentPoolArray{ GetPoolsAgentPoolArgs{...} }

type GetPoolsAgentPoolArrayOutput

type GetPoolsAgentPoolArrayOutput struct{ *pulumi.OutputState }

func (GetPoolsAgentPoolArrayOutput) ElementType

func (GetPoolsAgentPoolArrayOutput) Index

func (GetPoolsAgentPoolArrayOutput) ToGetPoolsAgentPoolArrayOutput

func (o GetPoolsAgentPoolArrayOutput) ToGetPoolsAgentPoolArrayOutput() GetPoolsAgentPoolArrayOutput

func (GetPoolsAgentPoolArrayOutput) ToGetPoolsAgentPoolArrayOutputWithContext

func (o GetPoolsAgentPoolArrayOutput) ToGetPoolsAgentPoolArrayOutputWithContext(ctx context.Context) GetPoolsAgentPoolArrayOutput

type GetPoolsAgentPoolInput

type GetPoolsAgentPoolInput interface {
	pulumi.Input

	ToGetPoolsAgentPoolOutput() GetPoolsAgentPoolOutput
	ToGetPoolsAgentPoolOutputWithContext(context.Context) GetPoolsAgentPoolOutput
}

GetPoolsAgentPoolInput is an input type that accepts GetPoolsAgentPoolArgs and GetPoolsAgentPoolOutput values. You can construct a concrete instance of `GetPoolsAgentPoolInput` via:

GetPoolsAgentPoolArgs{...}

type GetPoolsAgentPoolOutput

type GetPoolsAgentPoolOutput struct{ *pulumi.OutputState }

func (GetPoolsAgentPoolOutput) AutoProvision

func (o GetPoolsAgentPoolOutput) AutoProvision() pulumi.BoolOutput

Specifies whether or not a queue should be automatically provisioned for each project collection.

func (GetPoolsAgentPoolOutput) ElementType

func (GetPoolsAgentPoolOutput) ElementType() reflect.Type

func (GetPoolsAgentPoolOutput) Id

func (GetPoolsAgentPoolOutput) Name

The name of the agent pool

func (GetPoolsAgentPoolOutput) PoolType

Specifies whether the agent pool type is Automation or Deployment.

func (GetPoolsAgentPoolOutput) ToGetPoolsAgentPoolOutput

func (o GetPoolsAgentPoolOutput) ToGetPoolsAgentPoolOutput() GetPoolsAgentPoolOutput

func (GetPoolsAgentPoolOutput) ToGetPoolsAgentPoolOutputWithContext

func (o GetPoolsAgentPoolOutput) ToGetPoolsAgentPoolOutputWithContext(ctx context.Context) GetPoolsAgentPoolOutput

type GetPoolsResult

type GetPoolsResult struct {
	// A list of existing agent pools in your Azure DevOps Organization with the following details about every agent pool:
	AgentPools []GetPoolsAgentPool `pulumi:"agentPools"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getPools.

func GetPools

func GetPools(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetPoolsResult, error)

Use this data source to access information about existing Agent Pools within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pools, err := azuredevops.GetPools(ctx, nil, nil)
		if err != nil {
			return err
		}
		var splat0 []string
		for _, val0 := range pools.AgentPools {
			splat0 = append(splat0, val0.Name)
		}
		ctx.Export("agentPoolName", splat0)
		var splat1 []bool
		for _, val0 := range pools.AgentPools {
			splat1 = append(splat1, val0.AutoProvision)
		}
		ctx.Export("autoProvision", splat1)
		var splat2 []string
		for _, val0 := range pools.AgentPools {
			splat2 = append(splat2, val0.PoolType)
		}
		ctx.Export("poolType", splat2)
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-5.1)

type GetProjectsArgs

type GetProjectsArgs struct {
	// Name of the Project, if not specified all projects will be returned.
	Name *string `pulumi:"name"`
	// State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getProjects.

type GetProjectsProject

type GetProjectsProject struct {
	// Name of the Project, if not specified all projects will be returned.
	Name string `pulumi:"name"`
	// Project identifier.
	ProjectId string `pulumi:"projectId"`
	// Url to the full version of the object.
	ProjectUrl string `pulumi:"projectUrl"`
	// State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
	State string `pulumi:"state"`
}

type GetProjectsProjectArgs

type GetProjectsProjectArgs struct {
	// Name of the Project, if not specified all projects will be returned.
	Name pulumi.StringInput `pulumi:"name"`
	// Project identifier.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// Url to the full version of the object.
	ProjectUrl pulumi.StringInput `pulumi:"projectUrl"`
	// State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetProjectsProjectArgs) ElementType

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType

func (GetProjectsProjectArrayOutput) Index

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectInput

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectOutput

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) ElementType

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Name

Name of the Project, if not specified all projects will be returned.

func (GetProjectsProjectOutput) ProjectId

Project identifier.

func (GetProjectsProjectOutput) ProjectUrl

Url to the full version of the object.

func (GetProjectsProjectOutput) State

State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsResult

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Project name.
	Name *string `pulumi:"name"`
	// A list of existing projects in your Azure DevOps Organization with details about every project which includes:
	Projects []GetProjectsProject `pulumi:"projects"`
	// Project state.
	State *string `pulumi:"state"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

Use this data source to access information about existing Projects within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "contoso"
		opt1 := "wellFormed"
		test, err := azuredevops.GetProjects(ctx, &azuredevops.GetProjectsArgs{
			Name:  &opt0,
			State: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		var splat0 []string
		for _, val0 := range test.Projects {
			splat0 = append(splat0, val0.ProjectId)
		}
		ctx.Export("projectId", splat0)
		var splat1 []string
		for _, val0 := range test.Projects {
			splat1 = append(splat1, val0.Name)
		}
		ctx.Export("name", splat1)
		var splat2 []string
		for _, val0 := range test.Projects {
			splat2 = append(splat2, val0.ProjectUrl)
		}
		ctx.Export("projectUrl", splat2)
		var splat3 []string
		for _, val0 := range test.Projects {
			splat3 = append(splat3, val0.State)
		}
		ctx.Export("state", splat3)
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-5.1)

type GetRepositoriesArgs

type GetRepositoriesArgs struct {
	IncludeHidden *bool `pulumi:"includeHidden"`
	// Name of the Git repository to retrieve; requires `projectId` to be specified as well
	Name *string `pulumi:"name"`
	// ID of project to list Git repositories
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getRepositories.

type GetRepositoriesRepository

type GetRepositoriesRepository struct {
	// The ref of the default branch.
	DefaultBranch string `pulumi:"defaultBranch"`
	// Git repository identifier.
	Id string `pulumi:"id"`
	// Name of the Git repository to retrieve; requires `projectId` to be specified as well
	Name string `pulumi:"name"`
	// ID of project to list Git repositories
	ProjectId string `pulumi:"projectId"`
	// HTTPS Url to clone the Git repository
	RemoteUrl string `pulumi:"remoteUrl"`
	// Compressed size (bytes) of the repository.
	Size int `pulumi:"size"`
	// SSH Url to clone the Git repository
	SshUrl string `pulumi:"sshUrl"`
	// Details REST API endpoint for the Git Repository.
	Url string `pulumi:"url"`
	// Url of the Git repository web view
	WebUrl string `pulumi:"webUrl"`
}

type GetRepositoriesRepositoryArgs

type GetRepositoriesRepositoryArgs struct {
	// The ref of the default branch.
	DefaultBranch pulumi.StringInput `pulumi:"defaultBranch"`
	// Git repository identifier.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the Git repository to retrieve; requires `projectId` to be specified as well
	Name pulumi.StringInput `pulumi:"name"`
	// ID of project to list Git repositories
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// HTTPS Url to clone the Git repository
	RemoteUrl pulumi.StringInput `pulumi:"remoteUrl"`
	// Compressed size (bytes) of the repository.
	Size pulumi.IntInput `pulumi:"size"`
	// SSH Url to clone the Git repository
	SshUrl pulumi.StringInput `pulumi:"sshUrl"`
	// Details REST API endpoint for the Git Repository.
	Url pulumi.StringInput `pulumi:"url"`
	// Url of the Git repository web view
	WebUrl pulumi.StringInput `pulumi:"webUrl"`
}

func (GetRepositoriesRepositoryArgs) ElementType

func (GetRepositoriesRepositoryArgs) ToGetRepositoriesRepositoryOutput

func (i GetRepositoriesRepositoryArgs) ToGetRepositoriesRepositoryOutput() GetRepositoriesRepositoryOutput

func (GetRepositoriesRepositoryArgs) ToGetRepositoriesRepositoryOutputWithContext

func (i GetRepositoriesRepositoryArgs) ToGetRepositoriesRepositoryOutputWithContext(ctx context.Context) GetRepositoriesRepositoryOutput

type GetRepositoriesRepositoryArray

type GetRepositoriesRepositoryArray []GetRepositoriesRepositoryInput

func (GetRepositoriesRepositoryArray) ElementType

func (GetRepositoriesRepositoryArray) ToGetRepositoriesRepositoryArrayOutput

func (i GetRepositoriesRepositoryArray) ToGetRepositoriesRepositoryArrayOutput() GetRepositoriesRepositoryArrayOutput

func (GetRepositoriesRepositoryArray) ToGetRepositoriesRepositoryArrayOutputWithContext

func (i GetRepositoriesRepositoryArray) ToGetRepositoriesRepositoryArrayOutputWithContext(ctx context.Context) GetRepositoriesRepositoryArrayOutput

type GetRepositoriesRepositoryArrayInput

type GetRepositoriesRepositoryArrayInput interface {
	pulumi.Input

	ToGetRepositoriesRepositoryArrayOutput() GetRepositoriesRepositoryArrayOutput
	ToGetRepositoriesRepositoryArrayOutputWithContext(context.Context) GetRepositoriesRepositoryArrayOutput
}

GetRepositoriesRepositoryArrayInput is an input type that accepts GetRepositoriesRepositoryArray and GetRepositoriesRepositoryArrayOutput values. You can construct a concrete instance of `GetRepositoriesRepositoryArrayInput` via:

GetRepositoriesRepositoryArray{ GetRepositoriesRepositoryArgs{...} }

type GetRepositoriesRepositoryArrayOutput

type GetRepositoriesRepositoryArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoriesRepositoryArrayOutput) ElementType

func (GetRepositoriesRepositoryArrayOutput) Index

func (GetRepositoriesRepositoryArrayOutput) ToGetRepositoriesRepositoryArrayOutput

func (o GetRepositoriesRepositoryArrayOutput) ToGetRepositoriesRepositoryArrayOutput() GetRepositoriesRepositoryArrayOutput

func (GetRepositoriesRepositoryArrayOutput) ToGetRepositoriesRepositoryArrayOutputWithContext

func (o GetRepositoriesRepositoryArrayOutput) ToGetRepositoriesRepositoryArrayOutputWithContext(ctx context.Context) GetRepositoriesRepositoryArrayOutput

type GetRepositoriesRepositoryInput

type GetRepositoriesRepositoryInput interface {
	pulumi.Input

	ToGetRepositoriesRepositoryOutput() GetRepositoriesRepositoryOutput
	ToGetRepositoriesRepositoryOutputWithContext(context.Context) GetRepositoriesRepositoryOutput
}

GetRepositoriesRepositoryInput is an input type that accepts GetRepositoriesRepositoryArgs and GetRepositoriesRepositoryOutput values. You can construct a concrete instance of `GetRepositoriesRepositoryInput` via:

GetRepositoriesRepositoryArgs{...}

type GetRepositoriesRepositoryOutput

type GetRepositoriesRepositoryOutput struct{ *pulumi.OutputState }

func (GetRepositoriesRepositoryOutput) DefaultBranch

The ref of the default branch.

func (GetRepositoriesRepositoryOutput) ElementType

func (GetRepositoriesRepositoryOutput) Id

Git repository identifier.

func (GetRepositoriesRepositoryOutput) Name

Name of the Git repository to retrieve; requires `projectId` to be specified as well

func (GetRepositoriesRepositoryOutput) ProjectId

ID of project to list Git repositories

func (GetRepositoriesRepositoryOutput) RemoteUrl

HTTPS Url to clone the Git repository

func (GetRepositoriesRepositoryOutput) Size

Compressed size (bytes) of the repository.

func (GetRepositoriesRepositoryOutput) SshUrl

SSH Url to clone the Git repository

func (GetRepositoriesRepositoryOutput) ToGetRepositoriesRepositoryOutput

func (o GetRepositoriesRepositoryOutput) ToGetRepositoriesRepositoryOutput() GetRepositoriesRepositoryOutput

func (GetRepositoriesRepositoryOutput) ToGetRepositoriesRepositoryOutputWithContext

func (o GetRepositoriesRepositoryOutput) ToGetRepositoriesRepositoryOutputWithContext(ctx context.Context) GetRepositoriesRepositoryOutput

func (GetRepositoriesRepositoryOutput) Url

Details REST API endpoint for the Git Repository.

func (GetRepositoriesRepositoryOutput) WebUrl

Url of the Git repository web view

type GetRepositoriesResult

type GetRepositoriesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	IncludeHidden *bool  `pulumi:"includeHidden"`
	// Git repository name.
	Name *string `pulumi:"name"`
	// Project identifier to which the Git repository belongs.
	ProjectId *string `pulumi:"projectId"`
	// A list of existing projects in your Azure DevOps Organization with details about every project which includes:
	Repositories []GetRepositoriesRepository `pulumi:"repositories"`
}

A collection of values returned by getRepositories.

func GetRepositories

func GetRepositories(ctx *pulumi.Context, args *GetRepositoriesArgs, opts ...pulumi.InvokeOption) (*GetRepositoriesResult, error)

Use this data source to access information about **multiple** existing Git Repositories within Azure DevOps. To read informations about a **single** Git Repository use the data source `Git`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "contoso-project"
		project, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		opt1 := project.Id
		opt2 := true
		_, err = azuredevops.GetRepositories(ctx, &azuredevops.GetRepositoriesArgs{
			ProjectId:     &opt1,
			IncludeHidden: &opt2,
		}, nil)
		if err != nil {
			return err
		}
		opt3 := project.Id
		opt4 := "contoso-repo"
		_, err = azuredevops.GetRepositories(ctx, &azuredevops.GetRepositoriesArgs{
			ProjectId: &opt3,
			Name:      &opt4,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Git API](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/?view=azure-devops-rest-5.1)

type GetUsersArgs

type GetUsersArgs struct {
	// The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
	Origin *string `pulumi:"origin"`
	// The unique identifier from the system of origin.
	OriginId *string `pulumi:"originId"`
	// The PrincipalName of this graph member from the source provider.
	PrincipalName *string `pulumi:"principalName"`
	// A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
	SubjectTypes []string `pulumi:"subjectTypes"`
}

A collection of arguments for invoking getUsers.

type GetUsersResult

type GetUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The type of source provider for the origin identifier (ex:AD, AAD, MSA)
	Origin *string `pulumi:"origin"`
	// The unique identifier from the system of origin. Typically a sid, object id or Guid. Linking and unlinking operations can cause this value to change for a user because the user is not backed by a different provider and has a different unique id in the new provider.
	OriginId *string `pulumi:"originId"`
	// This is the PrincipalName of this graph member from the source provider. The source provider may change this field over time and it is not guaranteed to be immutable for the life of the graph member by VSTS.
	PrincipalName *string  `pulumi:"principalName"`
	SubjectTypes  []string `pulumi:"subjectTypes"`
	// A set of existing users in your Azure DevOps Organization with details about every single user which includes:
	Users []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

Use this data source to access information about an existing users within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "contoso-user@contoso.onmicrosoft.com"
		_, err := azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			PrincipalName: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		opt1 := "aad"
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			Origin: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			SubjectTypes: []string{
				"aad",
				"msa",
			},
		}, nil)
		if err != nil {
			return err
		}
		opt2 := "aad"
		opt3 := "a7ead982-8438-4cd2-b9e3-c3aa51a7b675"
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			Origin:   &opt2,
			OriginId: &opt3,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Graph Users API](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/users?view=azure-devops-rest-5.1)

type GetUsersUser

type GetUsersUser struct {
	// The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
	Descriptor string `pulumi:"descriptor"`
	// This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.
	DisplayName string `pulumi:"displayName"`
	// The email address of record for a given graph member. This may be different than the principal name.
	MailAddress string `pulumi:"mailAddress"`
	// The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
	Origin string `pulumi:"origin"`
	// The unique identifier from the system of origin.
	OriginId *string `pulumi:"originId"`
	// The PrincipalName of this graph member from the source provider.
	PrincipalName string `pulumi:"principalName"`
}

type GetUsersUserArgs

type GetUsersUserArgs struct {
	// The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
	Descriptor pulumi.StringInput `pulumi:"descriptor"`
	// This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// The email address of record for a given graph member. This may be different than the principal name.
	MailAddress pulumi.StringInput `pulumi:"mailAddress"`
	// The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
	Origin pulumi.StringInput `pulumi:"origin"`
	// The unique identifier from the system of origin.
	OriginId pulumi.StringPtrInput `pulumi:"originId"`
	// The PrincipalName of this graph member from the source provider.
	PrincipalName pulumi.StringInput `pulumi:"principalName"`
}

func (GetUsersUserArgs) ElementType

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) Descriptor

func (o GetUsersUserOutput) Descriptor() pulumi.StringOutput

The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.

func (GetUsersUserOutput) DisplayName

func (o GetUsersUserOutput) DisplayName() pulumi.StringOutput

This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.

func (GetUsersUserOutput) ElementType

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) MailAddress

func (o GetUsersUserOutput) MailAddress() pulumi.StringOutput

The email address of record for a given graph member. This may be different than the principal name.

func (GetUsersUserOutput) Origin

The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.

func (GetUsersUserOutput) OriginId

The unique identifier from the system of origin.

func (GetUsersUserOutput) PrincipalName

func (o GetUsersUserOutput) PrincipalName() pulumi.StringOutput

The PrincipalName of this graph member from the source provider.

func (GetUsersUserOutput) ToGetUsersUserOutput

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type Git

type Git struct {
	pulumi.CustomResourceState

	// The ref of the default branch. Will be used as the branch name for initialized repositories.
	DefaultBranch pulumi.StringOutput `pulumi:"defaultBranch"`
	// An `initialization` block as documented below.
	Initialization GitInitializationOutput `pulumi:"initialization"`
	// True if the repository was created as a fork.
	IsFork pulumi.BoolOutput `pulumi:"isFork"`
	// The name of the git repository.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of a Git project from which a fork is to be created.
	ParentRepositoryId pulumi.StringPtrOutput `pulumi:"parentRepositoryId"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Git HTTPS URL of the repository
	RemoteUrl pulumi.StringOutput `pulumi:"remoteUrl"`
	// Size in bytes.
	Size pulumi.IntOutput `pulumi:"size"`
	// Git SSH URL of the repository.
	SshUrl pulumi.StringOutput `pulumi:"sshUrl"`
	// REST API URL of the repository.
	Url pulumi.StringOutput `pulumi:"url"`
	// Web link to the repository.
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
}

Manages a git repository within Azure DevOps.

## Example Usage ### Create Git repository

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGit(ctx, "repo", &azuredevops.GitArgs{
			ProjectId: project.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create Fork of another Azure DevOps Git repository

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGit(ctx, "repo", &azuredevops.GitArgs{
			ProjectId:          pulumi.Any(azuredevops_project.Project.Id),
			ParentRepositoryId: pulumi.Any(azuredevops_git_repository.Parent.Id),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create Import from another Git repository

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGit(ctx, "repo", &azuredevops.GitArgs{
			ProjectId: pulumi.Any(azuredevops_project.Project.Id),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType:   pulumi.String("Import"),
				SourceType: pulumi.String("Git"),
				SourceUrl:  pulumi.String("https://github.com/microsoft/terraform-provider-azuredevops.git"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Git Repositories](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/repositories?view=azure-devops-rest-5.1)

## Import

Azure DevOps Repositories can be imported using the repo Guid e.g.

```sh

$ pulumi import azuredevops:index/git:Git repository projectName/00000000-0000-0000-0000-000000000000

```

func GetGit

func GetGit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GitState, opts ...pulumi.ResourceOption) (*Git, error)

GetGit gets an existing Git 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 NewGit

func NewGit(ctx *pulumi.Context,
	name string, args *GitArgs, opts ...pulumi.ResourceOption) (*Git, error)

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

func (*Git) ElementType

func (*Git) ElementType() reflect.Type

func (*Git) ToGitOutput

func (i *Git) ToGitOutput() GitOutput

func (*Git) ToGitOutputWithContext

func (i *Git) ToGitOutputWithContext(ctx context.Context) GitOutput

func (*Git) ToGitPtrOutput added in v1.2.2

func (i *Git) ToGitPtrOutput() GitPtrOutput

func (*Git) ToGitPtrOutputWithContext added in v1.2.2

func (i *Git) ToGitPtrOutputWithContext(ctx context.Context) GitPtrOutput

type GitArgs

type GitArgs struct {
	// The ref of the default branch. Will be used as the branch name for initialized repositories.
	DefaultBranch pulumi.StringPtrInput
	// An `initialization` block as documented below.
	Initialization GitInitializationInput
	// The name of the git repository.
	Name pulumi.StringPtrInput
	// The ID of a Git project from which a fork is to be created.
	ParentRepositoryId pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a Git resource.

func (GitArgs) ElementType

func (GitArgs) ElementType() reflect.Type

type GitArray added in v1.2.2

type GitArray []GitInput

func (GitArray) ElementType added in v1.2.2

func (GitArray) ElementType() reflect.Type

func (GitArray) ToGitArrayOutput added in v1.2.2

func (i GitArray) ToGitArrayOutput() GitArrayOutput

func (GitArray) ToGitArrayOutputWithContext added in v1.2.2

func (i GitArray) ToGitArrayOutputWithContext(ctx context.Context) GitArrayOutput

type GitArrayInput added in v1.2.2

type GitArrayInput interface {
	pulumi.Input

	ToGitArrayOutput() GitArrayOutput
	ToGitArrayOutputWithContext(context.Context) GitArrayOutput
}

GitArrayInput is an input type that accepts GitArray and GitArrayOutput values. You can construct a concrete instance of `GitArrayInput` via:

GitArray{ GitArgs{...} }

type GitArrayOutput added in v1.2.2

type GitArrayOutput struct{ *pulumi.OutputState }

func (GitArrayOutput) ElementType added in v1.2.2

func (GitArrayOutput) ElementType() reflect.Type

func (GitArrayOutput) Index added in v1.2.2

func (GitArrayOutput) ToGitArrayOutput added in v1.2.2

func (o GitArrayOutput) ToGitArrayOutput() GitArrayOutput

func (GitArrayOutput) ToGitArrayOutputWithContext added in v1.2.2

func (o GitArrayOutput) ToGitArrayOutputWithContext(ctx context.Context) GitArrayOutput

type GitInitialization

type GitInitialization struct {
	// The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`. Defaults to `Uninitialized`.
	InitType string `pulumi:"initType"`
	// Type of the source repository. Used if the `initType` is `Import`. Valid values: `Git`.
	SourceType *string `pulumi:"sourceType"`
	// The URL of the source repository. Used if the `initType` is `Import`.
	SourceUrl *string `pulumi:"sourceUrl"`
}

type GitInitializationArgs

type GitInitializationArgs struct {
	// The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`. Defaults to `Uninitialized`.
	InitType pulumi.StringInput `pulumi:"initType"`
	// Type of the source repository. Used if the `initType` is `Import`. Valid values: `Git`.
	SourceType pulumi.StringPtrInput `pulumi:"sourceType"`
	// The URL of the source repository. Used if the `initType` is `Import`.
	SourceUrl pulumi.StringPtrInput `pulumi:"sourceUrl"`
}

func (GitInitializationArgs) ElementType

func (GitInitializationArgs) ElementType() reflect.Type

func (GitInitializationArgs) ToGitInitializationOutput

func (i GitInitializationArgs) ToGitInitializationOutput() GitInitializationOutput

func (GitInitializationArgs) ToGitInitializationOutputWithContext

func (i GitInitializationArgs) ToGitInitializationOutputWithContext(ctx context.Context) GitInitializationOutput

func (GitInitializationArgs) ToGitInitializationPtrOutput

func (i GitInitializationArgs) ToGitInitializationPtrOutput() GitInitializationPtrOutput

func (GitInitializationArgs) ToGitInitializationPtrOutputWithContext

func (i GitInitializationArgs) ToGitInitializationPtrOutputWithContext(ctx context.Context) GitInitializationPtrOutput

type GitInitializationInput

type GitInitializationInput interface {
	pulumi.Input

	ToGitInitializationOutput() GitInitializationOutput
	ToGitInitializationOutputWithContext(context.Context) GitInitializationOutput
}

GitInitializationInput is an input type that accepts GitInitializationArgs and GitInitializationOutput values. You can construct a concrete instance of `GitInitializationInput` via:

GitInitializationArgs{...}

type GitInitializationOutput

type GitInitializationOutput struct{ *pulumi.OutputState }

func (GitInitializationOutput) ElementType

func (GitInitializationOutput) ElementType() reflect.Type

func (GitInitializationOutput) InitType

The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`. Defaults to `Uninitialized`.

func (GitInitializationOutput) SourceType

Type of the source repository. Used if the `initType` is `Import`. Valid values: `Git`.

func (GitInitializationOutput) SourceUrl

The URL of the source repository. Used if the `initType` is `Import`.

func (GitInitializationOutput) ToGitInitializationOutput

func (o GitInitializationOutput) ToGitInitializationOutput() GitInitializationOutput

func (GitInitializationOutput) ToGitInitializationOutputWithContext

func (o GitInitializationOutput) ToGitInitializationOutputWithContext(ctx context.Context) GitInitializationOutput

func (GitInitializationOutput) ToGitInitializationPtrOutput

func (o GitInitializationOutput) ToGitInitializationPtrOutput() GitInitializationPtrOutput

func (GitInitializationOutput) ToGitInitializationPtrOutputWithContext

func (o GitInitializationOutput) ToGitInitializationPtrOutputWithContext(ctx context.Context) GitInitializationPtrOutput

type GitInitializationPtrInput

type GitInitializationPtrInput interface {
	pulumi.Input

	ToGitInitializationPtrOutput() GitInitializationPtrOutput
	ToGitInitializationPtrOutputWithContext(context.Context) GitInitializationPtrOutput
}

GitInitializationPtrInput is an input type that accepts GitInitializationArgs, GitInitializationPtr and GitInitializationPtrOutput values. You can construct a concrete instance of `GitInitializationPtrInput` via:

        GitInitializationArgs{...}

or:

        nil

type GitInitializationPtrOutput

type GitInitializationPtrOutput struct{ *pulumi.OutputState }

func (GitInitializationPtrOutput) Elem

func (GitInitializationPtrOutput) ElementType

func (GitInitializationPtrOutput) ElementType() reflect.Type

func (GitInitializationPtrOutput) InitType

The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`. Defaults to `Uninitialized`.

func (GitInitializationPtrOutput) SourceType

Type of the source repository. Used if the `initType` is `Import`. Valid values: `Git`.

func (GitInitializationPtrOutput) SourceUrl

The URL of the source repository. Used if the `initType` is `Import`.

func (GitInitializationPtrOutput) ToGitInitializationPtrOutput

func (o GitInitializationPtrOutput) ToGitInitializationPtrOutput() GitInitializationPtrOutput

func (GitInitializationPtrOutput) ToGitInitializationPtrOutputWithContext

func (o GitInitializationPtrOutput) ToGitInitializationPtrOutputWithContext(ctx context.Context) GitInitializationPtrOutput

type GitInput

type GitInput interface {
	pulumi.Input

	ToGitOutput() GitOutput
	ToGitOutputWithContext(ctx context.Context) GitOutput
}

type GitMap added in v1.2.2

type GitMap map[string]GitInput

func (GitMap) ElementType added in v1.2.2

func (GitMap) ElementType() reflect.Type

func (GitMap) ToGitMapOutput added in v1.2.2

func (i GitMap) ToGitMapOutput() GitMapOutput

func (GitMap) ToGitMapOutputWithContext added in v1.2.2

func (i GitMap) ToGitMapOutputWithContext(ctx context.Context) GitMapOutput

type GitMapInput added in v1.2.2

type GitMapInput interface {
	pulumi.Input

	ToGitMapOutput() GitMapOutput
	ToGitMapOutputWithContext(context.Context) GitMapOutput
}

GitMapInput is an input type that accepts GitMap and GitMapOutput values. You can construct a concrete instance of `GitMapInput` via:

GitMap{ "key": GitArgs{...} }

type GitMapOutput added in v1.2.2

type GitMapOutput struct{ *pulumi.OutputState }

func (GitMapOutput) ElementType added in v1.2.2

func (GitMapOutput) ElementType() reflect.Type

func (GitMapOutput) MapIndex added in v1.2.2

func (o GitMapOutput) MapIndex(k pulumi.StringInput) GitOutput

func (GitMapOutput) ToGitMapOutput added in v1.2.2

func (o GitMapOutput) ToGitMapOutput() GitMapOutput

func (GitMapOutput) ToGitMapOutputWithContext added in v1.2.2

func (o GitMapOutput) ToGitMapOutputWithContext(ctx context.Context) GitMapOutput

type GitOutput

type GitOutput struct {
	*pulumi.OutputState
}

func (GitOutput) ElementType

func (GitOutput) ElementType() reflect.Type

func (GitOutput) ToGitOutput

func (o GitOutput) ToGitOutput() GitOutput

func (GitOutput) ToGitOutputWithContext

func (o GitOutput) ToGitOutputWithContext(ctx context.Context) GitOutput

func (GitOutput) ToGitPtrOutput added in v1.2.2

func (o GitOutput) ToGitPtrOutput() GitPtrOutput

func (GitOutput) ToGitPtrOutputWithContext added in v1.2.2

func (o GitOutput) ToGitPtrOutputWithContext(ctx context.Context) GitPtrOutput

type GitPermissions

type GitPermissions struct {
	pulumi.CustomResourceState

	// The name of the branch to assign the permissions.
	BranchName pulumi.StringPtrOutput `pulumi:"branchName"`
	// the permissions to assign. The follwing permissions are available
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
	// The ID of the GIT repository to assign the permissions
	RepositoryId pulumi.StringPtrOutput `pulumi:"repositoryId"`
}

Manages permissions for Git repositories.

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Permission levels

Permission for Git Repositories within Azure DevOps can be applied on three different levels. Those levels are reflected by specifying (or omitting) values for the arguments `projectId`, `repositoryId` and `branchName`.

### Project level

Permissions for all Git Repositories inside a project (existing or newly created ones) are specified, if only the argument `projectId` has a value.

#### Example usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGitPermissions(ctx, "project_git_root_permissions", &azuredevops.GitPermissionsArgs{
			ProjectId: pulumi.Any(azuredevops_project.Project.Id),
			Principal: pulumi.Any(data.Azuredevops_group.Project - readers.Id),
			Permissions: pulumi.StringMap{
				"CreateRepository": pulumi.String("Deny"),
				"DeleteRepository": pulumi.String("Deny"),
				"RenameRepository": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Repository level

Permissions for a specific Git Repository and all existing or newly created branches are specified if the arguments `projectId` and `repositoryId` are set.

#### Example usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGitPermissions(ctx, "project_git_repo_permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    pulumi.Any(data.Azuredevops_git_repository.Git - repo.Project_id),
			RepositoryId: pulumi.Any(data.Azuredevops_git_repository.Git - repo.Id),
			Principal:    pulumi.Any(data.Azuredevops_group.Project - administrators.Id),
			Permissions: pulumi.StringMap{
				"RemoveOthersLocks": pulumi.String("Allow"),
				"ManagePermissions": pulumi.String("Deny"),
				"CreateTag":         pulumi.String("Deny"),
				"CreateBranch":      pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Branch level

Permissions for a specific branch inside a Git Repository are specified if all above mentioned the arguments are set.

#### Example usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGitPermissions(ctx, "project_git_branch_permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    pulumi.Any(data.Azuredevops_git_repository.Git - repo.Project_id),
			RepositoryId: pulumi.Any(data.Azuredevops_git_repository.Git - repo.Id),
			BranchName:   pulumi.String("refs/heads/master"),
			Principal:    pulumi.Any(data.Azuredevops_group.Project - contributors.Id),
			Permissions: pulumi.StringMap{
				"RemoveOthersLocks": pulumi.String("Allow"),
				"ForcePush":         pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetGitPermissions

func GetGitPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GitPermissionsState, opts ...pulumi.ResourceOption) (*GitPermissions, error)

GetGitPermissions gets an existing GitPermissions 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 NewGitPermissions

func NewGitPermissions(ctx *pulumi.Context,
	name string, args *GitPermissionsArgs, opts ...pulumi.ResourceOption) (*GitPermissions, error)

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

func (*GitPermissions) ElementType

func (*GitPermissions) ElementType() reflect.Type

func (*GitPermissions) ToGitPermissionsOutput

func (i *GitPermissions) ToGitPermissionsOutput() GitPermissionsOutput

func (*GitPermissions) ToGitPermissionsOutputWithContext

func (i *GitPermissions) ToGitPermissionsOutputWithContext(ctx context.Context) GitPermissionsOutput

func (*GitPermissions) ToGitPermissionsPtrOutput added in v1.2.2

func (i *GitPermissions) ToGitPermissionsPtrOutput() GitPermissionsPtrOutput

func (*GitPermissions) ToGitPermissionsPtrOutputWithContext added in v1.2.2

func (i *GitPermissions) ToGitPermissionsPtrOutputWithContext(ctx context.Context) GitPermissionsPtrOutput

type GitPermissionsArgs

type GitPermissionsArgs struct {
	// The name of the branch to assign the permissions.
	BranchName pulumi.StringPtrInput
	// the permissions to assign. The follwing permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
	// The ID of the GIT repository to assign the permissions
	RepositoryId pulumi.StringPtrInput
}

The set of arguments for constructing a GitPermissions resource.

func (GitPermissionsArgs) ElementType

func (GitPermissionsArgs) ElementType() reflect.Type

type GitPermissionsArray added in v1.2.2

type GitPermissionsArray []GitPermissionsInput

func (GitPermissionsArray) ElementType added in v1.2.2

func (GitPermissionsArray) ElementType() reflect.Type

func (GitPermissionsArray) ToGitPermissionsArrayOutput added in v1.2.2

func (i GitPermissionsArray) ToGitPermissionsArrayOutput() GitPermissionsArrayOutput

func (GitPermissionsArray) ToGitPermissionsArrayOutputWithContext added in v1.2.2

func (i GitPermissionsArray) ToGitPermissionsArrayOutputWithContext(ctx context.Context) GitPermissionsArrayOutput

type GitPermissionsArrayInput added in v1.2.2

type GitPermissionsArrayInput interface {
	pulumi.Input

	ToGitPermissionsArrayOutput() GitPermissionsArrayOutput
	ToGitPermissionsArrayOutputWithContext(context.Context) GitPermissionsArrayOutput
}

GitPermissionsArrayInput is an input type that accepts GitPermissionsArray and GitPermissionsArrayOutput values. You can construct a concrete instance of `GitPermissionsArrayInput` via:

GitPermissionsArray{ GitPermissionsArgs{...} }

type GitPermissionsArrayOutput added in v1.2.2

type GitPermissionsArrayOutput struct{ *pulumi.OutputState }

func (GitPermissionsArrayOutput) ElementType added in v1.2.2

func (GitPermissionsArrayOutput) ElementType() reflect.Type

func (GitPermissionsArrayOutput) Index added in v1.2.2

func (GitPermissionsArrayOutput) ToGitPermissionsArrayOutput added in v1.2.2

func (o GitPermissionsArrayOutput) ToGitPermissionsArrayOutput() GitPermissionsArrayOutput

func (GitPermissionsArrayOutput) ToGitPermissionsArrayOutputWithContext added in v1.2.2

func (o GitPermissionsArrayOutput) ToGitPermissionsArrayOutputWithContext(ctx context.Context) GitPermissionsArrayOutput

type GitPermissionsInput

type GitPermissionsInput interface {
	pulumi.Input

	ToGitPermissionsOutput() GitPermissionsOutput
	ToGitPermissionsOutputWithContext(ctx context.Context) GitPermissionsOutput
}

type GitPermissionsMap added in v1.2.2

type GitPermissionsMap map[string]GitPermissionsInput

func (GitPermissionsMap) ElementType added in v1.2.2

func (GitPermissionsMap) ElementType() reflect.Type

func (GitPermissionsMap) ToGitPermissionsMapOutput added in v1.2.2

func (i GitPermissionsMap) ToGitPermissionsMapOutput() GitPermissionsMapOutput

func (GitPermissionsMap) ToGitPermissionsMapOutputWithContext added in v1.2.2

func (i GitPermissionsMap) ToGitPermissionsMapOutputWithContext(ctx context.Context) GitPermissionsMapOutput

type GitPermissionsMapInput added in v1.2.2

type GitPermissionsMapInput interface {
	pulumi.Input

	ToGitPermissionsMapOutput() GitPermissionsMapOutput
	ToGitPermissionsMapOutputWithContext(context.Context) GitPermissionsMapOutput
}

GitPermissionsMapInput is an input type that accepts GitPermissionsMap and GitPermissionsMapOutput values. You can construct a concrete instance of `GitPermissionsMapInput` via:

GitPermissionsMap{ "key": GitPermissionsArgs{...} }

type GitPermissionsMapOutput added in v1.2.2

type GitPermissionsMapOutput struct{ *pulumi.OutputState }

func (GitPermissionsMapOutput) ElementType added in v1.2.2

func (GitPermissionsMapOutput) ElementType() reflect.Type

func (GitPermissionsMapOutput) MapIndex added in v1.2.2

func (GitPermissionsMapOutput) ToGitPermissionsMapOutput added in v1.2.2

func (o GitPermissionsMapOutput) ToGitPermissionsMapOutput() GitPermissionsMapOutput

func (GitPermissionsMapOutput) ToGitPermissionsMapOutputWithContext added in v1.2.2

func (o GitPermissionsMapOutput) ToGitPermissionsMapOutputWithContext(ctx context.Context) GitPermissionsMapOutput

type GitPermissionsOutput

type GitPermissionsOutput struct {
	*pulumi.OutputState
}

func (GitPermissionsOutput) ElementType

func (GitPermissionsOutput) ElementType() reflect.Type

func (GitPermissionsOutput) ToGitPermissionsOutput

func (o GitPermissionsOutput) ToGitPermissionsOutput() GitPermissionsOutput

func (GitPermissionsOutput) ToGitPermissionsOutputWithContext

func (o GitPermissionsOutput) ToGitPermissionsOutputWithContext(ctx context.Context) GitPermissionsOutput

func (GitPermissionsOutput) ToGitPermissionsPtrOutput added in v1.2.2

func (o GitPermissionsOutput) ToGitPermissionsPtrOutput() GitPermissionsPtrOutput

func (GitPermissionsOutput) ToGitPermissionsPtrOutputWithContext added in v1.2.2

func (o GitPermissionsOutput) ToGitPermissionsPtrOutputWithContext(ctx context.Context) GitPermissionsPtrOutput

type GitPermissionsPtrInput added in v1.2.2

type GitPermissionsPtrInput interface {
	pulumi.Input

	ToGitPermissionsPtrOutput() GitPermissionsPtrOutput
	ToGitPermissionsPtrOutputWithContext(ctx context.Context) GitPermissionsPtrOutput
}

type GitPermissionsPtrOutput added in v1.2.2

type GitPermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (GitPermissionsPtrOutput) ElementType added in v1.2.2

func (GitPermissionsPtrOutput) ElementType() reflect.Type

func (GitPermissionsPtrOutput) ToGitPermissionsPtrOutput added in v1.2.2

func (o GitPermissionsPtrOutput) ToGitPermissionsPtrOutput() GitPermissionsPtrOutput

func (GitPermissionsPtrOutput) ToGitPermissionsPtrOutputWithContext added in v1.2.2

func (o GitPermissionsPtrOutput) ToGitPermissionsPtrOutputWithContext(ctx context.Context) GitPermissionsPtrOutput

type GitPermissionsState

type GitPermissionsState struct {
	// The name of the branch to assign the permissions.
	BranchName pulumi.StringPtrInput
	// the permissions to assign. The follwing permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
	// The ID of the GIT repository to assign the permissions
	RepositoryId pulumi.StringPtrInput
}

func (GitPermissionsState) ElementType

func (GitPermissionsState) ElementType() reflect.Type

type GitPtrInput added in v1.2.2

type GitPtrInput interface {
	pulumi.Input

	ToGitPtrOutput() GitPtrOutput
	ToGitPtrOutputWithContext(ctx context.Context) GitPtrOutput
}

type GitPtrOutput added in v1.2.2

type GitPtrOutput struct {
	*pulumi.OutputState
}

func (GitPtrOutput) ElementType added in v1.2.2

func (GitPtrOutput) ElementType() reflect.Type

func (GitPtrOutput) ToGitPtrOutput added in v1.2.2

func (o GitPtrOutput) ToGitPtrOutput() GitPtrOutput

func (GitPtrOutput) ToGitPtrOutputWithContext added in v1.2.2

func (o GitPtrOutput) ToGitPtrOutputWithContext(ctx context.Context) GitPtrOutput

type GitState

type GitState struct {
	// The ref of the default branch. Will be used as the branch name for initialized repositories.
	DefaultBranch pulumi.StringPtrInput
	// An `initialization` block as documented below.
	Initialization GitInitializationPtrInput
	// True if the repository was created as a fork.
	IsFork pulumi.BoolPtrInput
	// The name of the git repository.
	Name pulumi.StringPtrInput
	// The ID of a Git project from which a fork is to be created.
	ParentRepositoryId pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// Git HTTPS URL of the repository
	RemoteUrl pulumi.StringPtrInput
	// Size in bytes.
	Size pulumi.IntPtrInput
	// Git SSH URL of the repository.
	SshUrl pulumi.StringPtrInput
	// REST API URL of the repository.
	Url pulumi.StringPtrInput
	// Web link to the repository.
	WebUrl pulumi.StringPtrInput
}

func (GitState) ElementType

func (GitState) ElementType() reflect.Type

type Group

type Group struct {
	pulumi.CustomResourceState

	// The Description of the Project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The identity (subject) descriptor of the Group.
	Descriptor pulumi.StringOutput `pulumi:"descriptor"`
	// The name of a new Azure DevOps group that is not backed by an external provider. The `originId` and `mail` arguments cannot be used simultaneously with `displayName`.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// This represents the name of the container of origin for a graph member.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The mail address as a reference to an existing group from an external AD or AAD backed provider. The `scope`, `originId` and `displayName` arguments cannot be used simultaneously with `mail`.
	Mail pulumi.StringOutput `pulumi:"mail"`
	// > NOTE: It's possible to define group members both within the `Group` resource via the members block and by using the `GroupMembership` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The type of source provider for the origin identifier (ex:AD, AAD, MSA)
	Origin pulumi.StringOutput `pulumi:"origin"`
	// The OriginID as a reference to a group from an external AD or AAD backed provider. The `scope`, `mail` and `displayName` arguments cannot be used simultaneously with `originId`.
	OriginId pulumi.StringOutput `pulumi:"originId"`
	// This is the PrincipalName of this graph member from the source provider.
	PrincipalName pulumi.StringOutput `pulumi:"principalName"`
	// The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// This field identifies the type of the graph subject (ex: Group, Scope, User).
	SubjectKind pulumi.StringOutput `pulumi:"subjectKind"`
	// This url is the full route to the source resource of this graph subject.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a group within Azure DevOps.

## Relevant Links

- [Azure DevOps Service REST API 5.1 - Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: Read, Write, & Manage

## Import

Azure DevOps Projects can be imported using the group identity descriptor, e.g.

```sh

$ pulumi import azuredevops:index/group:Group id aadgp.Uy0xLTktMTU1MTM3NDI0NS0xMjA0NDAwOTY5LTI0MDI5ODY0MTMtMjE3OTQwODYxNi0zLTIxNjc2NjQyNTMtMzI1Nzg0NDI4OS0yMjU4MjcwOTc0LTI2MDYxODY2NDU

```

func GetGroup

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

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

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (*Group) ToGroupPtrOutput added in v1.2.2

func (i *Group) ToGroupPtrOutput() GroupPtrOutput

func (*Group) ToGroupPtrOutputWithContext added in v1.2.2

func (i *Group) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

type GroupArgs

type GroupArgs struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// The name of a new Azure DevOps group that is not backed by an external provider. The `originId` and `mail` arguments cannot be used simultaneously with `displayName`.
	DisplayName pulumi.StringPtrInput
	// The mail address as a reference to an existing group from an external AD or AAD backed provider. The `scope`, `originId` and `displayName` arguments cannot be used simultaneously with `mail`.
	Mail pulumi.StringPtrInput
	// > NOTE: It's possible to define group members both within the `Group` resource via the members block and by using the `GroupMembership` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The OriginID as a reference to a group from an external AD or AAD backed provider. The `scope`, `mail` and `displayName` arguments cannot be used simultaneously with `originId`.
	OriginId pulumi.StringPtrInput
	// The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
	Scope pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray added in v1.2.2

type GroupArray []GroupInput

func (GroupArray) ElementType added in v1.2.2

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput added in v1.2.2

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext added in v1.2.2

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput added in v1.2.2

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 v1.2.2

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType added in v1.2.2

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index added in v1.2.2

func (GroupArrayOutput) ToGroupArrayOutput added in v1.2.2

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext added in v1.2.2

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap added in v1.2.2

type GroupMap map[string]GroupInput

func (GroupMap) ElementType added in v1.2.2

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput added in v1.2.2

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext added in v1.2.2

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput added in v1.2.2

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 v1.2.2

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType added in v1.2.2

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex added in v1.2.2

func (GroupMapOutput) ToGroupMapOutput added in v1.2.2

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext added in v1.2.2

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMembership

type GroupMembership struct {
	pulumi.CustomResourceState

	// The descriptor of the group being managed.
	Group pulumi.StringOutput `pulumi:"group"`
	// A list of user or group descriptors that will become members of the group.
	// > NOTE: It's possible to define group members both within the `GroupMembership resource` via the members block and by using the `Group` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The mode how the resource manages group members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced group
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	// > NOTE: To clear all members from a group, specify an empty list of descriptors in the `members` attribute and set the `mode` member to `overwrite`.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
}

Manages group membership within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		user, err := azuredevops.NewUser(ctx, "user", &azuredevops.UserArgs{
			PrincipalName: pulumi.String("foo@contoso.com"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGroupMembership(ctx, "membership", &azuredevops.GroupMembershipArgs{
			Group: group.ApplyT(func(group azuredevops.LookupGroupResult) (string, error) {
				return group.Descriptor, nil
			}).(pulumi.StringOutput),
			Members: pulumi.StringArray{
				user.Descriptor,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-5.0)

## PAT Permissions Required

- **Deployment Groups**: Read & Manage

## Import

Not supported.

func GetGroupMembership

func GetGroupMembership(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupMembershipState, opts ...pulumi.ResourceOption) (*GroupMembership, error)

GetGroupMembership gets an existing GroupMembership 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 NewGroupMembership

func NewGroupMembership(ctx *pulumi.Context,
	name string, args *GroupMembershipArgs, opts ...pulumi.ResourceOption) (*GroupMembership, error)

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

func (*GroupMembership) ElementType

func (*GroupMembership) ElementType() reflect.Type

func (*GroupMembership) ToGroupMembershipOutput

func (i *GroupMembership) ToGroupMembershipOutput() GroupMembershipOutput

func (*GroupMembership) ToGroupMembershipOutputWithContext

func (i *GroupMembership) ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput

func (*GroupMembership) ToGroupMembershipPtrOutput added in v1.2.2

func (i *GroupMembership) ToGroupMembershipPtrOutput() GroupMembershipPtrOutput

func (*GroupMembership) ToGroupMembershipPtrOutputWithContext added in v1.2.2

func (i *GroupMembership) ToGroupMembershipPtrOutputWithContext(ctx context.Context) GroupMembershipPtrOutput

type GroupMembershipArgs

type GroupMembershipArgs struct {
	// The descriptor of the group being managed.
	Group pulumi.StringInput
	// A list of user or group descriptors that will become members of the group.
	// > NOTE: It's possible to define group members both within the `GroupMembership resource` via the members block and by using the `Group` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The mode how the resource manages group members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced group
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	// > NOTE: To clear all members from a group, specify an empty list of descriptors in the `members` attribute and set the `mode` member to `overwrite`.
	Mode pulumi.StringPtrInput
}

The set of arguments for constructing a GroupMembership resource.

func (GroupMembershipArgs) ElementType

func (GroupMembershipArgs) ElementType() reflect.Type

type GroupMembershipArray added in v1.2.2

type GroupMembershipArray []GroupMembershipInput

func (GroupMembershipArray) ElementType added in v1.2.2

func (GroupMembershipArray) ElementType() reflect.Type

func (GroupMembershipArray) ToGroupMembershipArrayOutput added in v1.2.2

func (i GroupMembershipArray) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArray) ToGroupMembershipArrayOutputWithContext added in v1.2.2

func (i GroupMembershipArray) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipArrayInput added in v1.2.2

type GroupMembershipArrayInput interface {
	pulumi.Input

	ToGroupMembershipArrayOutput() GroupMembershipArrayOutput
	ToGroupMembershipArrayOutputWithContext(context.Context) GroupMembershipArrayOutput
}

GroupMembershipArrayInput is an input type that accepts GroupMembershipArray and GroupMembershipArrayOutput values. You can construct a concrete instance of `GroupMembershipArrayInput` via:

GroupMembershipArray{ GroupMembershipArgs{...} }

type GroupMembershipArrayOutput added in v1.2.2

type GroupMembershipArrayOutput struct{ *pulumi.OutputState }

func (GroupMembershipArrayOutput) ElementType added in v1.2.2

func (GroupMembershipArrayOutput) ElementType() reflect.Type

func (GroupMembershipArrayOutput) Index added in v1.2.2

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutput added in v1.2.2

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext added in v1.2.2

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipInput

type GroupMembershipInput interface {
	pulumi.Input

	ToGroupMembershipOutput() GroupMembershipOutput
	ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput
}

type GroupMembershipMap added in v1.2.2

type GroupMembershipMap map[string]GroupMembershipInput

func (GroupMembershipMap) ElementType added in v1.2.2

func (GroupMembershipMap) ElementType() reflect.Type

func (GroupMembershipMap) ToGroupMembershipMapOutput added in v1.2.2

func (i GroupMembershipMap) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMap) ToGroupMembershipMapOutputWithContext added in v1.2.2

func (i GroupMembershipMap) ToGroupMembershipMapOutputWithContext(ctx context.Context) GroupMembershipMapOutput

type GroupMembershipMapInput added in v1.2.2

type GroupMembershipMapInput interface {
	pulumi.Input

	ToGroupMembershipMapOutput() GroupMembershipMapOutput
	ToGroupMembershipMapOutputWithContext(context.Context) GroupMembershipMapOutput
}

GroupMembershipMapInput is an input type that accepts GroupMembershipMap and GroupMembershipMapOutput values. You can construct a concrete instance of `GroupMembershipMapInput` via:

GroupMembershipMap{ "key": GroupMembershipArgs{...} }

type GroupMembershipMapOutput added in v1.2.2

type GroupMembershipMapOutput struct{ *pulumi.OutputState }

func (GroupMembershipMapOutput) ElementType added in v1.2.2

func (GroupMembershipMapOutput) ElementType() reflect.Type

func (GroupMembershipMapOutput) MapIndex added in v1.2.2

func (GroupMembershipMapOutput) ToGroupMembershipMapOutput added in v1.2.2

func (o GroupMembershipMapOutput) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMapOutput) ToGroupMembershipMapOutputWithContext added in v1.2.2

func (o GroupMembershipMapOutput) ToGroupMembershipMapOutputWithContext(ctx context.Context) GroupMembershipMapOutput

type GroupMembershipOutput

type GroupMembershipOutput struct {
	*pulumi.OutputState
}

func (GroupMembershipOutput) ElementType

func (GroupMembershipOutput) ElementType() reflect.Type

func (GroupMembershipOutput) ToGroupMembershipOutput

func (o GroupMembershipOutput) ToGroupMembershipOutput() GroupMembershipOutput

func (GroupMembershipOutput) ToGroupMembershipOutputWithContext

func (o GroupMembershipOutput) ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput

func (GroupMembershipOutput) ToGroupMembershipPtrOutput added in v1.2.2

func (o GroupMembershipOutput) ToGroupMembershipPtrOutput() GroupMembershipPtrOutput

func (GroupMembershipOutput) ToGroupMembershipPtrOutputWithContext added in v1.2.2

func (o GroupMembershipOutput) ToGroupMembershipPtrOutputWithContext(ctx context.Context) GroupMembershipPtrOutput

type GroupMembershipPtrInput added in v1.2.2

type GroupMembershipPtrInput interface {
	pulumi.Input

	ToGroupMembershipPtrOutput() GroupMembershipPtrOutput
	ToGroupMembershipPtrOutputWithContext(ctx context.Context) GroupMembershipPtrOutput
}

type GroupMembershipPtrOutput added in v1.2.2

type GroupMembershipPtrOutput struct {
	*pulumi.OutputState
}

func (GroupMembershipPtrOutput) ElementType added in v1.2.2

func (GroupMembershipPtrOutput) ElementType() reflect.Type

func (GroupMembershipPtrOutput) ToGroupMembershipPtrOutput added in v1.2.2

func (o GroupMembershipPtrOutput) ToGroupMembershipPtrOutput() GroupMembershipPtrOutput

func (GroupMembershipPtrOutput) ToGroupMembershipPtrOutputWithContext added in v1.2.2

func (o GroupMembershipPtrOutput) ToGroupMembershipPtrOutputWithContext(ctx context.Context) GroupMembershipPtrOutput

type GroupMembershipState

type GroupMembershipState struct {
	// The descriptor of the group being managed.
	Group pulumi.StringPtrInput
	// A list of user or group descriptors that will become members of the group.
	// > NOTE: It's possible to define group members both within the `GroupMembership resource` via the members block and by using the `Group` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The mode how the resource manages group members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced group
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	// > NOTE: To clear all members from a group, specify an empty list of descriptors in the `members` attribute and set the `mode` member to `overwrite`.
	Mode pulumi.StringPtrInput
}

func (GroupMembershipState) ElementType

func (GroupMembershipState) ElementType() reflect.Type

type GroupOutput

type GroupOutput struct {
	*pulumi.OutputState
}

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) ToGroupPtrOutput added in v1.2.2

func (o GroupOutput) ToGroupPtrOutput() GroupPtrOutput

func (GroupOutput) ToGroupPtrOutputWithContext added in v1.2.2

func (o GroupOutput) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

type GroupPtrInput added in v1.2.2

type GroupPtrInput interface {
	pulumi.Input

	ToGroupPtrOutput() GroupPtrOutput
	ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput
}

type GroupPtrOutput added in v1.2.2

type GroupPtrOutput struct {
	*pulumi.OutputState
}

func (GroupPtrOutput) ElementType added in v1.2.2

func (GroupPtrOutput) ElementType() reflect.Type

func (GroupPtrOutput) ToGroupPtrOutput added in v1.2.2

func (o GroupPtrOutput) ToGroupPtrOutput() GroupPtrOutput

func (GroupPtrOutput) ToGroupPtrOutputWithContext added in v1.2.2

func (o GroupPtrOutput) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

type GroupState

type GroupState struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// The identity (subject) descriptor of the Group.
	Descriptor pulumi.StringPtrInput
	// The name of a new Azure DevOps group that is not backed by an external provider. The `originId` and `mail` arguments cannot be used simultaneously with `displayName`.
	DisplayName pulumi.StringPtrInput
	// This represents the name of the container of origin for a graph member.
	Domain pulumi.StringPtrInput
	// The mail address as a reference to an existing group from an external AD or AAD backed provider. The `scope`, `originId` and `displayName` arguments cannot be used simultaneously with `mail`.
	Mail pulumi.StringPtrInput
	// > NOTE: It's possible to define group members both within the `Group` resource via the members block and by using the `GroupMembership` resource. However it's not possible to use both methods to manage group members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The type of source provider for the origin identifier (ex:AD, AAD, MSA)
	Origin pulumi.StringPtrInput
	// The OriginID as a reference to a group from an external AD or AAD backed provider. The `scope`, `mail` and `displayName` arguments cannot be used simultaneously with `originId`.
	OriginId pulumi.StringPtrInput
	// This is the PrincipalName of this graph member from the source provider.
	PrincipalName pulumi.StringPtrInput
	// The scope of the group. A descriptor referencing the scope (collection, project) in which the group should be created. If omitted, will be created in the scope of the enclosing account or organization.x
	Scope pulumi.StringPtrInput
	// This field identifies the type of the graph subject (ex: Group, Scope, User).
	SubjectKind pulumi.StringPtrInput
	// This url is the full route to the source resource of this graph subject.
	Url pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type IterativePermissions

type IterativePermissions struct {
	pulumi.CustomResourceState

	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for an Iteration (Sprint)

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Permission levels

Permission for Iterations within Azure DevOps can be applied on two different levels. Those levels are reflected by specifying (or omitting) values for the arguments `projectId` and `path`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &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.NewIterativePermissions(ctx, "root_permissions", &azuredevops.IterativePermissionsArgs{
			ProjectId: project.ID(),
			Principal: pulumi.Any(azuredevops_group.Project - readers.Id),
			Permissions: pulumi.StringMap{
				"CREATE_CHILDREN": pulumi.String("Deny"),
				"GENERIC_READ":    pulumi.String("NotSet"),
				"DELETE":          pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewIterativePermissions(ctx, "iteration_permissions", &azuredevops.IterativePermissionsArgs{
			ProjectId: project.ID(),
			Principal: pulumi.Any(azuredevops_group.Project - readers.Id),
			Path:      pulumi.String("Iteration 1"),
			Permissions: pulumi.StringMap{
				"CREATE_CHILDREN": pulumi.String("Allow"),
				"GENERIC_READ":    pulumi.String("NotSet"),
				"DELETE":          pulumi.String("Allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetIterativePermissions

func GetIterativePermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IterativePermissionsState, opts ...pulumi.ResourceOption) (*IterativePermissions, error)

GetIterativePermissions gets an existing IterativePermissions 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 NewIterativePermissions

func NewIterativePermissions(ctx *pulumi.Context,
	name string, args *IterativePermissionsArgs, opts ...pulumi.ResourceOption) (*IterativePermissions, error)

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

func (*IterativePermissions) ElementType

func (*IterativePermissions) ElementType() reflect.Type

func (*IterativePermissions) ToIterativePermissionsOutput

func (i *IterativePermissions) ToIterativePermissionsOutput() IterativePermissionsOutput

func (*IterativePermissions) ToIterativePermissionsOutputWithContext

func (i *IterativePermissions) ToIterativePermissionsOutputWithContext(ctx context.Context) IterativePermissionsOutput

func (*IterativePermissions) ToIterativePermissionsPtrOutput added in v1.2.2

func (i *IterativePermissions) ToIterativePermissionsPtrOutput() IterativePermissionsPtrOutput

func (*IterativePermissions) ToIterativePermissionsPtrOutputWithContext added in v1.2.2

func (i *IterativePermissions) ToIterativePermissionsPtrOutputWithContext(ctx context.Context) IterativePermissionsPtrOutput

type IterativePermissionsArgs

type IterativePermissionsArgs struct {
	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a IterativePermissions resource.

func (IterativePermissionsArgs) ElementType

func (IterativePermissionsArgs) ElementType() reflect.Type

type IterativePermissionsArray added in v1.2.2

type IterativePermissionsArray []IterativePermissionsInput

func (IterativePermissionsArray) ElementType added in v1.2.2

func (IterativePermissionsArray) ElementType() reflect.Type

func (IterativePermissionsArray) ToIterativePermissionsArrayOutput added in v1.2.2

func (i IterativePermissionsArray) ToIterativePermissionsArrayOutput() IterativePermissionsArrayOutput

func (IterativePermissionsArray) ToIterativePermissionsArrayOutputWithContext added in v1.2.2

func (i IterativePermissionsArray) ToIterativePermissionsArrayOutputWithContext(ctx context.Context) IterativePermissionsArrayOutput

type IterativePermissionsArrayInput added in v1.2.2

type IterativePermissionsArrayInput interface {
	pulumi.Input

	ToIterativePermissionsArrayOutput() IterativePermissionsArrayOutput
	ToIterativePermissionsArrayOutputWithContext(context.Context) IterativePermissionsArrayOutput
}

IterativePermissionsArrayInput is an input type that accepts IterativePermissionsArray and IterativePermissionsArrayOutput values. You can construct a concrete instance of `IterativePermissionsArrayInput` via:

IterativePermissionsArray{ IterativePermissionsArgs{...} }

type IterativePermissionsArrayOutput added in v1.2.2

type IterativePermissionsArrayOutput struct{ *pulumi.OutputState }

func (IterativePermissionsArrayOutput) ElementType added in v1.2.2

func (IterativePermissionsArrayOutput) Index added in v1.2.2

func (IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutput added in v1.2.2

func (o IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutput() IterativePermissionsArrayOutput

func (IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutputWithContext added in v1.2.2

func (o IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutputWithContext(ctx context.Context) IterativePermissionsArrayOutput

type IterativePermissionsInput

type IterativePermissionsInput interface {
	pulumi.Input

	ToIterativePermissionsOutput() IterativePermissionsOutput
	ToIterativePermissionsOutputWithContext(ctx context.Context) IterativePermissionsOutput
}

type IterativePermissionsMap added in v1.2.2

type IterativePermissionsMap map[string]IterativePermissionsInput

func (IterativePermissionsMap) ElementType added in v1.2.2

func (IterativePermissionsMap) ElementType() reflect.Type

func (IterativePermissionsMap) ToIterativePermissionsMapOutput added in v1.2.2

func (i IterativePermissionsMap) ToIterativePermissionsMapOutput() IterativePermissionsMapOutput

func (IterativePermissionsMap) ToIterativePermissionsMapOutputWithContext added in v1.2.2

func (i IterativePermissionsMap) ToIterativePermissionsMapOutputWithContext(ctx context.Context) IterativePermissionsMapOutput

type IterativePermissionsMapInput added in v1.2.2

type IterativePermissionsMapInput interface {
	pulumi.Input

	ToIterativePermissionsMapOutput() IterativePermissionsMapOutput
	ToIterativePermissionsMapOutputWithContext(context.Context) IterativePermissionsMapOutput
}

IterativePermissionsMapInput is an input type that accepts IterativePermissionsMap and IterativePermissionsMapOutput values. You can construct a concrete instance of `IterativePermissionsMapInput` via:

IterativePermissionsMap{ "key": IterativePermissionsArgs{...} }

type IterativePermissionsMapOutput added in v1.2.2

type IterativePermissionsMapOutput struct{ *pulumi.OutputState }

func (IterativePermissionsMapOutput) ElementType added in v1.2.2

func (IterativePermissionsMapOutput) MapIndex added in v1.2.2

func (IterativePermissionsMapOutput) ToIterativePermissionsMapOutput added in v1.2.2

func (o IterativePermissionsMapOutput) ToIterativePermissionsMapOutput() IterativePermissionsMapOutput

func (IterativePermissionsMapOutput) ToIterativePermissionsMapOutputWithContext added in v1.2.2

func (o IterativePermissionsMapOutput) ToIterativePermissionsMapOutputWithContext(ctx context.Context) IterativePermissionsMapOutput

type IterativePermissionsOutput

type IterativePermissionsOutput struct {
	*pulumi.OutputState
}

func (IterativePermissionsOutput) ElementType

func (IterativePermissionsOutput) ElementType() reflect.Type

func (IterativePermissionsOutput) ToIterativePermissionsOutput

func (o IterativePermissionsOutput) ToIterativePermissionsOutput() IterativePermissionsOutput

func (IterativePermissionsOutput) ToIterativePermissionsOutputWithContext

func (o IterativePermissionsOutput) ToIterativePermissionsOutputWithContext(ctx context.Context) IterativePermissionsOutput

func (IterativePermissionsOutput) ToIterativePermissionsPtrOutput added in v1.2.2

func (o IterativePermissionsOutput) ToIterativePermissionsPtrOutput() IterativePermissionsPtrOutput

func (IterativePermissionsOutput) ToIterativePermissionsPtrOutputWithContext added in v1.2.2

func (o IterativePermissionsOutput) ToIterativePermissionsPtrOutputWithContext(ctx context.Context) IterativePermissionsPtrOutput

type IterativePermissionsPtrInput added in v1.2.2

type IterativePermissionsPtrInput interface {
	pulumi.Input

	ToIterativePermissionsPtrOutput() IterativePermissionsPtrOutput
	ToIterativePermissionsPtrOutputWithContext(ctx context.Context) IterativePermissionsPtrOutput
}

type IterativePermissionsPtrOutput added in v1.2.2

type IterativePermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (IterativePermissionsPtrOutput) ElementType added in v1.2.2

func (IterativePermissionsPtrOutput) ToIterativePermissionsPtrOutput added in v1.2.2

func (o IterativePermissionsPtrOutput) ToIterativePermissionsPtrOutput() IterativePermissionsPtrOutput

func (IterativePermissionsPtrOutput) ToIterativePermissionsPtrOutputWithContext added in v1.2.2

func (o IterativePermissionsPtrOutput) ToIterativePermissionsPtrOutputWithContext(ctx context.Context) IterativePermissionsPtrOutput

type IterativePermissionsState

type IterativePermissionsState struct {
	// The name of the branch to assign the permissions.
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

func (IterativePermissionsState) ElementType

func (IterativePermissionsState) ElementType() reflect.Type

type LookupGroupArgs

type LookupGroupArgs struct {
	// The Group Name.
	Name string `pulumi:"name"`
	// The Project ID. If no project ID is specified the project collection groups will be searched.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getGroup.

type LookupGroupResult

type LookupGroupResult struct {
	// The Descriptor is the primary way to reference the graph subject. This field will uniquely identify the same graph subject across both Accounts and Organizations.
	Descriptor string `pulumi:"descriptor"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The type of source provider for the origin identifier (ex:AD, AAD, MSA)
	Origin string `pulumi:"origin"`
	// The unique identifier from the system of origin. Typically a sid, object id or Guid. Linking and unlinking operations can cause this value to change for a user because the user is not backed by a different provider and has a different unique id in the new provider.
	OriginId  string  `pulumi:"originId"`
	ProjectId *string `pulumi:"projectId"`
}

A collection of values returned by getGroup.

func LookupGroup

func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)

Use this data source to access information about an existing Group within Azure DevOps

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "contoso-project"
		project, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		opt1 := project.Id
		test, err := azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			ProjectId: &opt1,
			Name:      "Test Group",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("groupId", test.Id)
		ctx.Export("groupDescriptor", test.Descriptor)
		test_collection_group, err := azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			Name: "Project Collection Administrators",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("collectionGroupId", test_collection_group.Id)
		ctx.Export("collectionGroupDescriptor", test_collection_group.Descriptor)
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Groups - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups/get?view=azure-devops-rest-5.1)

type LookupPoolArgs

type LookupPoolArgs struct {
	// Name of the Agent Pool.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getPool.

type LookupPoolResult

type LookupPoolResult struct {
	AutoProvision bool `pulumi:"autoProvision"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Name     string `pulumi:"name"`
	PoolType string `pulumi:"poolType"`
}

A collection of values returned by getPool.

func LookupPool

func LookupPool(ctx *pulumi.Context, args *LookupPoolArgs, opts ...pulumi.InvokeOption) (*LookupPoolResult, error)

Use this data source to access information about an existing Agent Pool within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pool, err := azuredevops.LookupPool(ctx, &azuredevops.LookupPoolArgs{
			Name: "Sample Agent Pool",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("name", pool.Name)
		ctx.Export("poolType", pool.PoolType)
		ctx.Export("autoProvision", pool.AutoProvision)
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Pools - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools/get?view=azure-devops-rest-5.1)

type LookupProjectArgs

type LookupProjectArgs struct {
	// Name of the Project.
	Name *string `pulumi:"name"`
	// ID of the Project.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getProject.

type LookupProjectResult

type LookupProjectResult struct {
	Description string                 `pulumi:"description"`
	Features    map[string]interface{} `pulumi:"features"`
	// The provider-assigned unique ID for this managed resource.
	Id                string  `pulumi:"id"`
	Name              *string `pulumi:"name"`
	ProcessTemplateId string  `pulumi:"processTemplateId"`
	ProjectId         *string `pulumi:"projectId"`
	VersionControl    string  `pulumi:"versionControl"`
	Visibility        string  `pulumi:"visibility"`
	WorkItemTemplate  string  `pulumi:"workItemTemplate"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

Use this data source to access information about an existing Project within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Sample Project"
		project, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", project.Id)
		ctx.Export("name", project.Name)
		ctx.Export("visibility", project.Visibility)
		ctx.Export("versionControl", project.VersionControl)
		ctx.Export("workItemTemplate", project.WorkItemTemplate)
		ctx.Export("processTemplateId", project.ProcessTemplateId)
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-5.1)

type Pool

type Pool struct {
	pulumi.CustomResourceState

	// Specifies whether or not a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrOutput `pulumi:"autoProvision"`
	// The name of the agent pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
	PoolType pulumi.StringPtrOutput `pulumi:"poolType"`
}

Manages an agent pool within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewPool(ctx, "pool", &azuredevops.PoolArgs{
			AutoProvision: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-5.1)

## Import

Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.

```sh

$ pulumi import azuredevops:index/pool:Pool pool 42

```

func GetPool

func GetPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PoolState, opts ...pulumi.ResourceOption) (*Pool, error)

GetPool gets an existing Pool 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 NewPool

func NewPool(ctx *pulumi.Context,
	name string, args *PoolArgs, opts ...pulumi.ResourceOption) (*Pool, error)

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

func (*Pool) ElementType

func (*Pool) ElementType() reflect.Type

func (*Pool) ToPoolOutput

func (i *Pool) ToPoolOutput() PoolOutput

func (*Pool) ToPoolOutputWithContext

func (i *Pool) ToPoolOutputWithContext(ctx context.Context) PoolOutput

func (*Pool) ToPoolPtrOutput added in v1.2.2

func (i *Pool) ToPoolPtrOutput() PoolPtrOutput

func (*Pool) ToPoolPtrOutputWithContext added in v1.2.2

func (i *Pool) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolArgs

type PoolArgs struct {
	// Specifies whether or not a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// The name of the agent pool.
	Name pulumi.StringPtrInput
	// Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
	PoolType pulumi.StringPtrInput
}

The set of arguments for constructing a Pool resource.

func (PoolArgs) ElementType

func (PoolArgs) ElementType() reflect.Type

type PoolArray added in v1.2.2

type PoolArray []PoolInput

func (PoolArray) ElementType added in v1.2.2

func (PoolArray) ElementType() reflect.Type

func (PoolArray) ToPoolArrayOutput added in v1.2.2

func (i PoolArray) ToPoolArrayOutput() PoolArrayOutput

func (PoolArray) ToPoolArrayOutputWithContext added in v1.2.2

func (i PoolArray) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolArrayInput added in v1.2.2

type PoolArrayInput interface {
	pulumi.Input

	ToPoolArrayOutput() PoolArrayOutput
	ToPoolArrayOutputWithContext(context.Context) PoolArrayOutput
}

PoolArrayInput is an input type that accepts PoolArray and PoolArrayOutput values. You can construct a concrete instance of `PoolArrayInput` via:

PoolArray{ PoolArgs{...} }

type PoolArrayOutput added in v1.2.2

type PoolArrayOutput struct{ *pulumi.OutputState }

func (PoolArrayOutput) ElementType added in v1.2.2

func (PoolArrayOutput) ElementType() reflect.Type

func (PoolArrayOutput) Index added in v1.2.2

func (PoolArrayOutput) ToPoolArrayOutput added in v1.2.2

func (o PoolArrayOutput) ToPoolArrayOutput() PoolArrayOutput

func (PoolArrayOutput) ToPoolArrayOutputWithContext added in v1.2.2

func (o PoolArrayOutput) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolInput

type PoolInput interface {
	pulumi.Input

	ToPoolOutput() PoolOutput
	ToPoolOutputWithContext(ctx context.Context) PoolOutput
}

type PoolMap added in v1.2.2

type PoolMap map[string]PoolInput

func (PoolMap) ElementType added in v1.2.2

func (PoolMap) ElementType() reflect.Type

func (PoolMap) ToPoolMapOutput added in v1.2.2

func (i PoolMap) ToPoolMapOutput() PoolMapOutput

func (PoolMap) ToPoolMapOutputWithContext added in v1.2.2

func (i PoolMap) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolMapInput added in v1.2.2

type PoolMapInput interface {
	pulumi.Input

	ToPoolMapOutput() PoolMapOutput
	ToPoolMapOutputWithContext(context.Context) PoolMapOutput
}

PoolMapInput is an input type that accepts PoolMap and PoolMapOutput values. You can construct a concrete instance of `PoolMapInput` via:

PoolMap{ "key": PoolArgs{...} }

type PoolMapOutput added in v1.2.2

type PoolMapOutput struct{ *pulumi.OutputState }

func (PoolMapOutput) ElementType added in v1.2.2

func (PoolMapOutput) ElementType() reflect.Type

func (PoolMapOutput) MapIndex added in v1.2.2

func (PoolMapOutput) ToPoolMapOutput added in v1.2.2

func (o PoolMapOutput) ToPoolMapOutput() PoolMapOutput

func (PoolMapOutput) ToPoolMapOutputWithContext added in v1.2.2

func (o PoolMapOutput) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolOutput

type PoolOutput struct {
	*pulumi.OutputState
}

func (PoolOutput) ElementType

func (PoolOutput) ElementType() reflect.Type

func (PoolOutput) ToPoolOutput

func (o PoolOutput) ToPoolOutput() PoolOutput

func (PoolOutput) ToPoolOutputWithContext

func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput

func (PoolOutput) ToPoolPtrOutput added in v1.2.2

func (o PoolOutput) ToPoolPtrOutput() PoolPtrOutput

func (PoolOutput) ToPoolPtrOutputWithContext added in v1.2.2

func (o PoolOutput) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolPtrInput added in v1.2.2

type PoolPtrInput interface {
	pulumi.Input

	ToPoolPtrOutput() PoolPtrOutput
	ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput
}

type PoolPtrOutput added in v1.2.2

type PoolPtrOutput struct {
	*pulumi.OutputState
}

func (PoolPtrOutput) ElementType added in v1.2.2

func (PoolPtrOutput) ElementType() reflect.Type

func (PoolPtrOutput) ToPoolPtrOutput added in v1.2.2

func (o PoolPtrOutput) ToPoolPtrOutput() PoolPtrOutput

func (PoolPtrOutput) ToPoolPtrOutputWithContext added in v1.2.2

func (o PoolPtrOutput) ToPoolPtrOutputWithContext(ctx context.Context) PoolPtrOutput

type PoolState

type PoolState struct {
	// Specifies whether or not a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// The name of the agent pool.
	Name pulumi.StringPtrInput
	// Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
	PoolType pulumi.StringPtrInput
}

func (PoolState) ElementType

func (PoolState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// The Description of the Project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features pulumi.StringMapOutput `pulumi:"features"`
	// The Project Name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Process Template ID used by the Project.
	ProcessTemplateId pulumi.StringOutput `pulumi:"processTemplateId"`
	// Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
	VersionControl pulumi.StringPtrOutput `pulumi:"versionControl"`
	// Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
	Visibility pulumi.StringPtrOutput `pulumi:"visibility"`
	// Specifies the work item template. Defaults to `Agile`.
	WorkItemTemplate pulumi.StringPtrOutput `pulumi:"workItemTemplate"`
}

Manages a project within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Description: pulumi.String("Test Project Description"),
			Features: pulumi.StringMap{
				"artifacts": pulumi.String("disabled"),
				"testplans": pulumi.String("disabled"),
			},
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Projects](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: Read, Write, & Manage

## Import

Azure DevOps Projects can be imported using the project name or by the project Guid, e.g.

```sh

$ pulumi import azuredevops:index/project:Project project "Test Project"

```

or

```sh

$ pulumi import azuredevops:index/project:Project project 00000000-0000-0000-0000-000000000000

```

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) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (*Project) ToProjectPtrOutput added in v1.2.2

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext added in v1.2.2

func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectArgs

type ProjectArgs struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features pulumi.StringMapInput
	// The Project Name.
	Name pulumi.StringPtrInput
	// Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
	VersionControl pulumi.StringPtrInput
	// Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
	Visibility pulumi.StringPtrInput
	// Specifies the work item template. Defaults to `Agile`.
	WorkItemTemplate pulumi.StringPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray added in v1.2.2

type ProjectArray []ProjectInput

func (ProjectArray) ElementType added in v1.2.2

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput added in v1.2.2

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext added in v1.2.2

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput added in v1.2.2

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 added in v1.2.2

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType added in v1.2.2

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index added in v1.2.2

func (ProjectArrayOutput) ToProjectArrayOutput added in v1.2.2

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext added in v1.2.2

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectFeatures

type ProjectFeatures struct {
	pulumi.CustomResourceState

	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features  pulumi.StringMapOutput `pulumi:"features"`
	ProjectId pulumi.StringOutput    `pulumi:"projectId"`
}

Manages features for Azure DevOps projects

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Test Project"
		tf_project_test_001, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.NewProjectFeatures(ctx, "my_project_features", &azuredevops.ProjectFeaturesArgs{
			ProjectId: pulumi.String(tf_project_test_001.Id),
			Features: pulumi.StringMap{
				"testplans": pulumi.String("disabled"),
				"artifacts": pulumi.String("enabled"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

No official documentation available

## PAT Permissions Required

- **Project & Team**: Read, Write, & Manage

## Import

Azure DevOps feature settings can be imported using the project id, e.g.

```sh

$ pulumi import azuredevops:index/projectFeatures:ProjectFeatures project_id 00000000-0000-0000-0000-000000000000

```

func GetProjectFeatures

func GetProjectFeatures(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectFeaturesState, opts ...pulumi.ResourceOption) (*ProjectFeatures, error)

GetProjectFeatures gets an existing ProjectFeatures 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 NewProjectFeatures

func NewProjectFeatures(ctx *pulumi.Context,
	name string, args *ProjectFeaturesArgs, opts ...pulumi.ResourceOption) (*ProjectFeatures, error)

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

func (*ProjectFeatures) ElementType

func (*ProjectFeatures) ElementType() reflect.Type

func (*ProjectFeatures) ToProjectFeaturesOutput

func (i *ProjectFeatures) ToProjectFeaturesOutput() ProjectFeaturesOutput

func (*ProjectFeatures) ToProjectFeaturesOutputWithContext

func (i *ProjectFeatures) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput

func (*ProjectFeatures) ToProjectFeaturesPtrOutput added in v1.2.2

func (i *ProjectFeatures) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput

func (*ProjectFeatures) ToProjectFeaturesPtrOutputWithContext added in v1.2.2

func (i *ProjectFeatures) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput

type ProjectFeaturesArgs

type ProjectFeaturesArgs struct {
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features  pulumi.StringMapInput
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ProjectFeatures resource.

func (ProjectFeaturesArgs) ElementType

func (ProjectFeaturesArgs) ElementType() reflect.Type

type ProjectFeaturesArray added in v1.2.2

type ProjectFeaturesArray []ProjectFeaturesInput

func (ProjectFeaturesArray) ElementType added in v1.2.2

func (ProjectFeaturesArray) ElementType() reflect.Type

func (ProjectFeaturesArray) ToProjectFeaturesArrayOutput added in v1.2.2

func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput

func (ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext added in v1.2.2

func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput

type ProjectFeaturesArrayInput added in v1.2.2

type ProjectFeaturesArrayInput interface {
	pulumi.Input

	ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput
	ToProjectFeaturesArrayOutputWithContext(context.Context) ProjectFeaturesArrayOutput
}

ProjectFeaturesArrayInput is an input type that accepts ProjectFeaturesArray and ProjectFeaturesArrayOutput values. You can construct a concrete instance of `ProjectFeaturesArrayInput` via:

ProjectFeaturesArray{ ProjectFeaturesArgs{...} }

type ProjectFeaturesArrayOutput added in v1.2.2

type ProjectFeaturesArrayOutput struct{ *pulumi.OutputState }

func (ProjectFeaturesArrayOutput) ElementType added in v1.2.2

func (ProjectFeaturesArrayOutput) ElementType() reflect.Type

func (ProjectFeaturesArrayOutput) Index added in v1.2.2

func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput added in v1.2.2

func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput

func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext added in v1.2.2

func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput

type ProjectFeaturesInput

type ProjectFeaturesInput interface {
	pulumi.Input

	ToProjectFeaturesOutput() ProjectFeaturesOutput
	ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
}

type ProjectFeaturesMap added in v1.2.2

type ProjectFeaturesMap map[string]ProjectFeaturesInput

func (ProjectFeaturesMap) ElementType added in v1.2.2

func (ProjectFeaturesMap) ElementType() reflect.Type

func (ProjectFeaturesMap) ToProjectFeaturesMapOutput added in v1.2.2

func (i ProjectFeaturesMap) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput

func (ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext added in v1.2.2

func (i ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput

type ProjectFeaturesMapInput added in v1.2.2

type ProjectFeaturesMapInput interface {
	pulumi.Input

	ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput
	ToProjectFeaturesMapOutputWithContext(context.Context) ProjectFeaturesMapOutput
}

ProjectFeaturesMapInput is an input type that accepts ProjectFeaturesMap and ProjectFeaturesMapOutput values. You can construct a concrete instance of `ProjectFeaturesMapInput` via:

ProjectFeaturesMap{ "key": ProjectFeaturesArgs{...} }

type ProjectFeaturesMapOutput added in v1.2.2

type ProjectFeaturesMapOutput struct{ *pulumi.OutputState }

func (ProjectFeaturesMapOutput) ElementType added in v1.2.2

func (ProjectFeaturesMapOutput) ElementType() reflect.Type

func (ProjectFeaturesMapOutput) MapIndex added in v1.2.2

func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput added in v1.2.2

func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput

func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext added in v1.2.2

func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput

type ProjectFeaturesOutput

type ProjectFeaturesOutput struct {
	*pulumi.OutputState
}

func (ProjectFeaturesOutput) ElementType

func (ProjectFeaturesOutput) ElementType() reflect.Type

func (ProjectFeaturesOutput) ToProjectFeaturesOutput

func (o ProjectFeaturesOutput) ToProjectFeaturesOutput() ProjectFeaturesOutput

func (ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext

func (o ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput

func (ProjectFeaturesOutput) ToProjectFeaturesPtrOutput added in v1.2.2

func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput

func (ProjectFeaturesOutput) ToProjectFeaturesPtrOutputWithContext added in v1.2.2

func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput

type ProjectFeaturesPtrInput added in v1.2.2

type ProjectFeaturesPtrInput interface {
	pulumi.Input

	ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
	ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
}

type ProjectFeaturesPtrOutput added in v1.2.2

type ProjectFeaturesPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectFeaturesPtrOutput) ElementType added in v1.2.2

func (ProjectFeaturesPtrOutput) ElementType() reflect.Type

func (ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutput added in v1.2.2

func (o ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput

func (ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutputWithContext added in v1.2.2

func (o ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput

type ProjectFeaturesState

type ProjectFeaturesState struct {
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features  pulumi.StringMapInput
	ProjectId pulumi.StringPtrInput
}

func (ProjectFeaturesState) ElementType

func (ProjectFeaturesState) ElementType() reflect.Type

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap added in v1.2.2

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType added in v1.2.2

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput added in v1.2.2

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext added in v1.2.2

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput added in v1.2.2

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 added in v1.2.2

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType added in v1.2.2

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex added in v1.2.2

func (ProjectMapOutput) ToProjectMapOutput added in v1.2.2

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext added in v1.2.2

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct {
	*pulumi.OutputState
}

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) ToProjectPtrOutput added in v1.2.2

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext added in v1.2.2

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPermissions

type ProjectPermissions struct {
	pulumi.CustomResourceState

	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for a AzureDevOps project

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetProjectPermissions

func GetProjectPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectPermissionsState, opts ...pulumi.ResourceOption) (*ProjectPermissions, error)

GetProjectPermissions gets an existing ProjectPermissions 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 NewProjectPermissions

func NewProjectPermissions(ctx *pulumi.Context,
	name string, args *ProjectPermissionsArgs, opts ...pulumi.ResourceOption) (*ProjectPermissions, error)

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

func (*ProjectPermissions) ElementType

func (*ProjectPermissions) ElementType() reflect.Type

func (*ProjectPermissions) ToProjectPermissionsOutput

func (i *ProjectPermissions) ToProjectPermissionsOutput() ProjectPermissionsOutput

func (*ProjectPermissions) ToProjectPermissionsOutputWithContext

func (i *ProjectPermissions) ToProjectPermissionsOutputWithContext(ctx context.Context) ProjectPermissionsOutput

func (*ProjectPermissions) ToProjectPermissionsPtrOutput added in v1.2.2

func (i *ProjectPermissions) ToProjectPermissionsPtrOutput() ProjectPermissionsPtrOutput

func (*ProjectPermissions) ToProjectPermissionsPtrOutputWithContext added in v1.2.2

func (i *ProjectPermissions) ToProjectPermissionsPtrOutputWithContext(ctx context.Context) ProjectPermissionsPtrOutput

type ProjectPermissionsArgs

type ProjectPermissionsArgs struct {
	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectPermissions resource.

func (ProjectPermissionsArgs) ElementType

func (ProjectPermissionsArgs) ElementType() reflect.Type

type ProjectPermissionsArray added in v1.2.2

type ProjectPermissionsArray []ProjectPermissionsInput

func (ProjectPermissionsArray) ElementType added in v1.2.2

func (ProjectPermissionsArray) ElementType() reflect.Type

func (ProjectPermissionsArray) ToProjectPermissionsArrayOutput added in v1.2.2

func (i ProjectPermissionsArray) ToProjectPermissionsArrayOutput() ProjectPermissionsArrayOutput

func (ProjectPermissionsArray) ToProjectPermissionsArrayOutputWithContext added in v1.2.2

func (i ProjectPermissionsArray) ToProjectPermissionsArrayOutputWithContext(ctx context.Context) ProjectPermissionsArrayOutput

type ProjectPermissionsArrayInput added in v1.2.2

type ProjectPermissionsArrayInput interface {
	pulumi.Input

	ToProjectPermissionsArrayOutput() ProjectPermissionsArrayOutput
	ToProjectPermissionsArrayOutputWithContext(context.Context) ProjectPermissionsArrayOutput
}

ProjectPermissionsArrayInput is an input type that accepts ProjectPermissionsArray and ProjectPermissionsArrayOutput values. You can construct a concrete instance of `ProjectPermissionsArrayInput` via:

ProjectPermissionsArray{ ProjectPermissionsArgs{...} }

type ProjectPermissionsArrayOutput added in v1.2.2

type ProjectPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ProjectPermissionsArrayOutput) ElementType added in v1.2.2

func (ProjectPermissionsArrayOutput) Index added in v1.2.2

func (ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutput added in v1.2.2

func (o ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutput() ProjectPermissionsArrayOutput

func (ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutputWithContext added in v1.2.2

func (o ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutputWithContext(ctx context.Context) ProjectPermissionsArrayOutput

type ProjectPermissionsInput

type ProjectPermissionsInput interface {
	pulumi.Input

	ToProjectPermissionsOutput() ProjectPermissionsOutput
	ToProjectPermissionsOutputWithContext(ctx context.Context) ProjectPermissionsOutput
}

type ProjectPermissionsMap added in v1.2.2

type ProjectPermissionsMap map[string]ProjectPermissionsInput

func (ProjectPermissionsMap) ElementType added in v1.2.2

func (ProjectPermissionsMap) ElementType() reflect.Type

func (ProjectPermissionsMap) ToProjectPermissionsMapOutput added in v1.2.2

func (i ProjectPermissionsMap) ToProjectPermissionsMapOutput() ProjectPermissionsMapOutput

func (ProjectPermissionsMap) ToProjectPermissionsMapOutputWithContext added in v1.2.2

func (i ProjectPermissionsMap) ToProjectPermissionsMapOutputWithContext(ctx context.Context) ProjectPermissionsMapOutput

type ProjectPermissionsMapInput added in v1.2.2

type ProjectPermissionsMapInput interface {
	pulumi.Input

	ToProjectPermissionsMapOutput() ProjectPermissionsMapOutput
	ToProjectPermissionsMapOutputWithContext(context.Context) ProjectPermissionsMapOutput
}

ProjectPermissionsMapInput is an input type that accepts ProjectPermissionsMap and ProjectPermissionsMapOutput values. You can construct a concrete instance of `ProjectPermissionsMapInput` via:

ProjectPermissionsMap{ "key": ProjectPermissionsArgs{...} }

type ProjectPermissionsMapOutput added in v1.2.2

type ProjectPermissionsMapOutput struct{ *pulumi.OutputState }

func (ProjectPermissionsMapOutput) ElementType added in v1.2.2

func (ProjectPermissionsMapOutput) MapIndex added in v1.2.2

func (ProjectPermissionsMapOutput) ToProjectPermissionsMapOutput added in v1.2.2

func (o ProjectPermissionsMapOutput) ToProjectPermissionsMapOutput() ProjectPermissionsMapOutput

func (ProjectPermissionsMapOutput) ToProjectPermissionsMapOutputWithContext added in v1.2.2

func (o ProjectPermissionsMapOutput) ToProjectPermissionsMapOutputWithContext(ctx context.Context) ProjectPermissionsMapOutput

type ProjectPermissionsOutput

type ProjectPermissionsOutput struct {
	*pulumi.OutputState
}

func (ProjectPermissionsOutput) ElementType

func (ProjectPermissionsOutput) ElementType() reflect.Type

func (ProjectPermissionsOutput) ToProjectPermissionsOutput

func (o ProjectPermissionsOutput) ToProjectPermissionsOutput() ProjectPermissionsOutput

func (ProjectPermissionsOutput) ToProjectPermissionsOutputWithContext

func (o ProjectPermissionsOutput) ToProjectPermissionsOutputWithContext(ctx context.Context) ProjectPermissionsOutput

func (ProjectPermissionsOutput) ToProjectPermissionsPtrOutput added in v1.2.2

func (o ProjectPermissionsOutput) ToProjectPermissionsPtrOutput() ProjectPermissionsPtrOutput

func (ProjectPermissionsOutput) ToProjectPermissionsPtrOutputWithContext added in v1.2.2

func (o ProjectPermissionsOutput) ToProjectPermissionsPtrOutputWithContext(ctx context.Context) ProjectPermissionsPtrOutput

type ProjectPermissionsPtrInput added in v1.2.2

type ProjectPermissionsPtrInput interface {
	pulumi.Input

	ToProjectPermissionsPtrOutput() ProjectPermissionsPtrOutput
	ToProjectPermissionsPtrOutputWithContext(ctx context.Context) ProjectPermissionsPtrOutput
}

type ProjectPermissionsPtrOutput added in v1.2.2

type ProjectPermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPermissionsPtrOutput) ElementType added in v1.2.2

func (ProjectPermissionsPtrOutput) ToProjectPermissionsPtrOutput added in v1.2.2

func (o ProjectPermissionsPtrOutput) ToProjectPermissionsPtrOutput() ProjectPermissionsPtrOutput

func (ProjectPermissionsPtrOutput) ToProjectPermissionsPtrOutputWithContext added in v1.2.2

func (o ProjectPermissionsPtrOutput) ToProjectPermissionsPtrOutputWithContext(ctx context.Context) ProjectPermissionsPtrOutput

type ProjectPermissionsState

type ProjectPermissionsState struct {
	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

func (ProjectPermissionsState) ElementType

func (ProjectPermissionsState) ElementType() reflect.Type

type ProjectPtrInput added in v1.2.2

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput added in v1.2.2

type ProjectPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPtrOutput) ElementType added in v1.2.2

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput added in v1.2.2

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext added in v1.2.2

func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectState

type ProjectState struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	Features pulumi.StringMapInput
	// The Project Name.
	Name pulumi.StringPtrInput
	// The Process Template ID used by the Project.
	ProcessTemplateId pulumi.StringPtrInput
	// Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.
	VersionControl pulumi.StringPtrInput
	// Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.
	Visibility pulumi.StringPtrInput
	// Specifies the work item template. Defaults to `Agile`.
	WorkItemTemplate pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the azuredevops 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) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (*Provider) ToProviderPtrOutput added in v1.2.2

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v1.2.2

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	// The url of the Azure DevOps instance which should be used.
	OrgServiceUrl pulumi.StringPtrInput
	// The personal access token which should be used.
	PersonalAccessToken pulumi.StringPtrInput
}

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) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput added in v1.2.2

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v1.2.2

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v1.2.2

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v1.2.2

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v1.2.2

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v1.2.2

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v1.2.2

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type Queue

type Queue struct {
	pulumi.CustomResourceState

	// The ID of the organization agent pool.
	AgentPoolId pulumi.IntOutput `pulumi:"agentPoolId"`
	// The ID of the project in which to create the resource.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

Manages an agent queue within Azure DevOps. In the UI, this is equivalent to adding an Organization defined pool to a project.

The created queue is not authorized for use by all pipelines in the project. However, the `ResourceAuthorization` resource can be used to grant authorization.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		pool, err := azuredevops.LookupPool(ctx, &azuredevops.LookupPoolArgs{
			Name: "contoso-pool",
		}, nil)
		if err != nil {
			return err
		}
		queue, err := azuredevops.NewQueue(ctx, "queue", &azuredevops.QueueArgs{
			ProjectId:   project.ID(),
			AgentPoolId: pulumi.String(pool.Id),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewResourceAuthorization(ctx, "auth", &azuredevops.ResourceAuthorizationArgs{
			ProjectId:  project.ID(),
			ResourceId: queue.ID(),
			Type:       pulumi.String("queue"),
			Authorized: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Queues](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/queues?view=azure-devops-rest-5.1)

## Import

Azure DevOps Agent Pools can be imported using the project ID and agent queue ID, e.g.

```sh

$ pulumi import azuredevops:index/queue:Queue q 00000000-0000-0000-0000-000000000000/0

```

func GetQueue

func GetQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)

GetQueue gets an existing Queue 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 NewQueue

func NewQueue(ctx *pulumi.Context,
	name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)

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

func (*Queue) ElementType

func (*Queue) ElementType() reflect.Type

func (*Queue) ToQueueOutput

func (i *Queue) ToQueueOutput() QueueOutput

func (*Queue) ToQueueOutputWithContext

func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (*Queue) ToQueuePtrOutput added in v1.2.2

func (i *Queue) ToQueuePtrOutput() QueuePtrOutput

func (*Queue) ToQueuePtrOutputWithContext added in v1.2.2

func (i *Queue) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueArgs

type QueueArgs struct {
	// The ID of the organization agent pool.
	AgentPoolId pulumi.IntInput
	// The ID of the project in which to create the resource.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a Queue resource.

func (QueueArgs) ElementType

func (QueueArgs) ElementType() reflect.Type

type QueueArray added in v1.2.2

type QueueArray []QueueInput

func (QueueArray) ElementType added in v1.2.2

func (QueueArray) ElementType() reflect.Type

func (QueueArray) ToQueueArrayOutput added in v1.2.2

func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput

func (QueueArray) ToQueueArrayOutputWithContext added in v1.2.2

func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueArrayInput added in v1.2.2

type QueueArrayInput interface {
	pulumi.Input

	ToQueueArrayOutput() QueueArrayOutput
	ToQueueArrayOutputWithContext(context.Context) QueueArrayOutput
}

QueueArrayInput is an input type that accepts QueueArray and QueueArrayOutput values. You can construct a concrete instance of `QueueArrayInput` via:

QueueArray{ QueueArgs{...} }

type QueueArrayOutput added in v1.2.2

type QueueArrayOutput struct{ *pulumi.OutputState }

func (QueueArrayOutput) ElementType added in v1.2.2

func (QueueArrayOutput) ElementType() reflect.Type

func (QueueArrayOutput) Index added in v1.2.2

func (QueueArrayOutput) ToQueueArrayOutput added in v1.2.2

func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput

func (QueueArrayOutput) ToQueueArrayOutputWithContext added in v1.2.2

func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueInput

type QueueInput interface {
	pulumi.Input

	ToQueueOutput() QueueOutput
	ToQueueOutputWithContext(ctx context.Context) QueueOutput
}

type QueueMap added in v1.2.2

type QueueMap map[string]QueueInput

func (QueueMap) ElementType added in v1.2.2

func (QueueMap) ElementType() reflect.Type

func (QueueMap) ToQueueMapOutput added in v1.2.2

func (i QueueMap) ToQueueMapOutput() QueueMapOutput

func (QueueMap) ToQueueMapOutputWithContext added in v1.2.2

func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueMapInput added in v1.2.2

type QueueMapInput interface {
	pulumi.Input

	ToQueueMapOutput() QueueMapOutput
	ToQueueMapOutputWithContext(context.Context) QueueMapOutput
}

QueueMapInput is an input type that accepts QueueMap and QueueMapOutput values. You can construct a concrete instance of `QueueMapInput` via:

QueueMap{ "key": QueueArgs{...} }

type QueueMapOutput added in v1.2.2

type QueueMapOutput struct{ *pulumi.OutputState }

func (QueueMapOutput) ElementType added in v1.2.2

func (QueueMapOutput) ElementType() reflect.Type

func (QueueMapOutput) MapIndex added in v1.2.2

func (QueueMapOutput) ToQueueMapOutput added in v1.2.2

func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput

func (QueueMapOutput) ToQueueMapOutputWithContext added in v1.2.2

func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueOutput

type QueueOutput struct {
	*pulumi.OutputState
}

func (QueueOutput) ElementType

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) ToQueueOutput

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext

func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput

func (QueueOutput) ToQueuePtrOutput added in v1.2.2

func (o QueueOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueueOutput) ToQueuePtrOutputWithContext added in v1.2.2

func (o QueueOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueuePtrInput added in v1.2.2

type QueuePtrInput interface {
	pulumi.Input

	ToQueuePtrOutput() QueuePtrOutput
	ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput
}

type QueuePtrOutput added in v1.2.2

type QueuePtrOutput struct {
	*pulumi.OutputState
}

func (QueuePtrOutput) ElementType added in v1.2.2

func (QueuePtrOutput) ElementType() reflect.Type

func (QueuePtrOutput) ToQueuePtrOutput added in v1.2.2

func (o QueuePtrOutput) ToQueuePtrOutput() QueuePtrOutput

func (QueuePtrOutput) ToQueuePtrOutputWithContext added in v1.2.2

func (o QueuePtrOutput) ToQueuePtrOutputWithContext(ctx context.Context) QueuePtrOutput

type QueueState

type QueueState struct {
	// The ID of the organization agent pool.
	AgentPoolId pulumi.IntPtrInput
	// The ID of the project in which to create the resource.
	ProjectId pulumi.StringPtrInput
}

func (QueueState) ElementType

func (QueueState) ElementType() reflect.Type

type ResourceAuthorization

type ResourceAuthorization struct {
	pulumi.CustomResourceState

	// Set to true to allow public access in the project. Type: boolean.
	Authorized pulumi.BoolOutput `pulumi:"authorized"`
	// The ID of the build definition to authorize. Type: string.
	DefinitionId pulumi.IntPtrOutput `pulumi:"definitionId"`
	// The project ID or project name. Type: string.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the resource to authorize. Type: string.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Manages authorization of resources, e.g. for access in build pipelines.

Currently supported resources: service endpoint (aka service connection, endpoint).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		bitbucketAccount, err := azuredevops.NewServiceEndpointBitBucket(ctx, "bitbucketAccount", &azuredevops.ServiceEndpointBitBucketArgs{
			ProjectId:           project.ID(),
			Username:            pulumi.String("xxxx"),
			Password:            pulumi.String("xxxx"),
			ServiceEndpointName: pulumi.String("test-bitbucket"),
			Description:         pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewResourceAuthorization(ctx, "auth", &azuredevops.ResourceAuthorizationArgs{
			ProjectId:  project.ID(),
			ResourceId: bitbucketAccount.ID(),
			Authorized: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Authorize Definition Resource](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%20definition%20resources?view=azure-devops-rest-5.1)

func GetResourceAuthorization

func GetResourceAuthorization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceAuthorizationState, opts ...pulumi.ResourceOption) (*ResourceAuthorization, error)

GetResourceAuthorization gets an existing ResourceAuthorization 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 NewResourceAuthorization

func NewResourceAuthorization(ctx *pulumi.Context,
	name string, args *ResourceAuthorizationArgs, opts ...pulumi.ResourceOption) (*ResourceAuthorization, error)

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

func (*ResourceAuthorization) ElementType

func (*ResourceAuthorization) ElementType() reflect.Type

func (*ResourceAuthorization) ToResourceAuthorizationOutput

func (i *ResourceAuthorization) ToResourceAuthorizationOutput() ResourceAuthorizationOutput

func (*ResourceAuthorization) ToResourceAuthorizationOutputWithContext

func (i *ResourceAuthorization) ToResourceAuthorizationOutputWithContext(ctx context.Context) ResourceAuthorizationOutput

func (*ResourceAuthorization) ToResourceAuthorizationPtrOutput added in v1.2.2

func (i *ResourceAuthorization) ToResourceAuthorizationPtrOutput() ResourceAuthorizationPtrOutput

func (*ResourceAuthorization) ToResourceAuthorizationPtrOutputWithContext added in v1.2.2

func (i *ResourceAuthorization) ToResourceAuthorizationPtrOutputWithContext(ctx context.Context) ResourceAuthorizationPtrOutput

type ResourceAuthorizationArgs

type ResourceAuthorizationArgs struct {
	// Set to true to allow public access in the project. Type: boolean.
	Authorized pulumi.BoolInput
	// The ID of the build definition to authorize. Type: string.
	DefinitionId pulumi.IntPtrInput
	// The project ID or project name. Type: string.
	ProjectId pulumi.StringInput
	// The ID of the resource to authorize. Type: string.
	ResourceId pulumi.StringInput
	// The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a ResourceAuthorization resource.

func (ResourceAuthorizationArgs) ElementType

func (ResourceAuthorizationArgs) ElementType() reflect.Type

type ResourceAuthorizationArray added in v1.2.2

type ResourceAuthorizationArray []ResourceAuthorizationInput

func (ResourceAuthorizationArray) ElementType added in v1.2.2

func (ResourceAuthorizationArray) ElementType() reflect.Type

func (ResourceAuthorizationArray) ToResourceAuthorizationArrayOutput added in v1.2.2

func (i ResourceAuthorizationArray) ToResourceAuthorizationArrayOutput() ResourceAuthorizationArrayOutput

func (ResourceAuthorizationArray) ToResourceAuthorizationArrayOutputWithContext added in v1.2.2

func (i ResourceAuthorizationArray) ToResourceAuthorizationArrayOutputWithContext(ctx context.Context) ResourceAuthorizationArrayOutput

type ResourceAuthorizationArrayInput added in v1.2.2

type ResourceAuthorizationArrayInput interface {
	pulumi.Input

	ToResourceAuthorizationArrayOutput() ResourceAuthorizationArrayOutput
	ToResourceAuthorizationArrayOutputWithContext(context.Context) ResourceAuthorizationArrayOutput
}

ResourceAuthorizationArrayInput is an input type that accepts ResourceAuthorizationArray and ResourceAuthorizationArrayOutput values. You can construct a concrete instance of `ResourceAuthorizationArrayInput` via:

ResourceAuthorizationArray{ ResourceAuthorizationArgs{...} }

type ResourceAuthorizationArrayOutput added in v1.2.2

type ResourceAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (ResourceAuthorizationArrayOutput) ElementType added in v1.2.2

func (ResourceAuthorizationArrayOutput) Index added in v1.2.2

func (ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutput added in v1.2.2

func (o ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutput() ResourceAuthorizationArrayOutput

func (ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutputWithContext added in v1.2.2

func (o ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutputWithContext(ctx context.Context) ResourceAuthorizationArrayOutput

type ResourceAuthorizationInput

type ResourceAuthorizationInput interface {
	pulumi.Input

	ToResourceAuthorizationOutput() ResourceAuthorizationOutput
	ToResourceAuthorizationOutputWithContext(ctx context.Context) ResourceAuthorizationOutput
}

type ResourceAuthorizationMap added in v1.2.2

type ResourceAuthorizationMap map[string]ResourceAuthorizationInput

func (ResourceAuthorizationMap) ElementType added in v1.2.2

func (ResourceAuthorizationMap) ElementType() reflect.Type

func (ResourceAuthorizationMap) ToResourceAuthorizationMapOutput added in v1.2.2

func (i ResourceAuthorizationMap) ToResourceAuthorizationMapOutput() ResourceAuthorizationMapOutput

func (ResourceAuthorizationMap) ToResourceAuthorizationMapOutputWithContext added in v1.2.2

func (i ResourceAuthorizationMap) ToResourceAuthorizationMapOutputWithContext(ctx context.Context) ResourceAuthorizationMapOutput

type ResourceAuthorizationMapInput added in v1.2.2

type ResourceAuthorizationMapInput interface {
	pulumi.Input

	ToResourceAuthorizationMapOutput() ResourceAuthorizationMapOutput
	ToResourceAuthorizationMapOutputWithContext(context.Context) ResourceAuthorizationMapOutput
}

ResourceAuthorizationMapInput is an input type that accepts ResourceAuthorizationMap and ResourceAuthorizationMapOutput values. You can construct a concrete instance of `ResourceAuthorizationMapInput` via:

ResourceAuthorizationMap{ "key": ResourceAuthorizationArgs{...} }

type ResourceAuthorizationMapOutput added in v1.2.2

type ResourceAuthorizationMapOutput struct{ *pulumi.OutputState }

func (ResourceAuthorizationMapOutput) ElementType added in v1.2.2

func (ResourceAuthorizationMapOutput) MapIndex added in v1.2.2

func (ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutput added in v1.2.2

func (o ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutput() ResourceAuthorizationMapOutput

func (ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutputWithContext added in v1.2.2

func (o ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutputWithContext(ctx context.Context) ResourceAuthorizationMapOutput

type ResourceAuthorizationOutput

type ResourceAuthorizationOutput struct {
	*pulumi.OutputState
}

func (ResourceAuthorizationOutput) ElementType

func (ResourceAuthorizationOutput) ToResourceAuthorizationOutput

func (o ResourceAuthorizationOutput) ToResourceAuthorizationOutput() ResourceAuthorizationOutput

func (ResourceAuthorizationOutput) ToResourceAuthorizationOutputWithContext

func (o ResourceAuthorizationOutput) ToResourceAuthorizationOutputWithContext(ctx context.Context) ResourceAuthorizationOutput

func (ResourceAuthorizationOutput) ToResourceAuthorizationPtrOutput added in v1.2.2

func (o ResourceAuthorizationOutput) ToResourceAuthorizationPtrOutput() ResourceAuthorizationPtrOutput

func (ResourceAuthorizationOutput) ToResourceAuthorizationPtrOutputWithContext added in v1.2.2

func (o ResourceAuthorizationOutput) ToResourceAuthorizationPtrOutputWithContext(ctx context.Context) ResourceAuthorizationPtrOutput

type ResourceAuthorizationPtrInput added in v1.2.2

type ResourceAuthorizationPtrInput interface {
	pulumi.Input

	ToResourceAuthorizationPtrOutput() ResourceAuthorizationPtrOutput
	ToResourceAuthorizationPtrOutputWithContext(ctx context.Context) ResourceAuthorizationPtrOutput
}

type ResourceAuthorizationPtrOutput added in v1.2.2

type ResourceAuthorizationPtrOutput struct {
	*pulumi.OutputState
}

func (ResourceAuthorizationPtrOutput) ElementType added in v1.2.2

func (ResourceAuthorizationPtrOutput) ToResourceAuthorizationPtrOutput added in v1.2.2

func (o ResourceAuthorizationPtrOutput) ToResourceAuthorizationPtrOutput() ResourceAuthorizationPtrOutput

func (ResourceAuthorizationPtrOutput) ToResourceAuthorizationPtrOutputWithContext added in v1.2.2

func (o ResourceAuthorizationPtrOutput) ToResourceAuthorizationPtrOutputWithContext(ctx context.Context) ResourceAuthorizationPtrOutput

type ResourceAuthorizationState

type ResourceAuthorizationState struct {
	// Set to true to allow public access in the project. Type: boolean.
	Authorized pulumi.BoolPtrInput
	// The ID of the build definition to authorize. Type: string.
	DefinitionId pulumi.IntPtrInput
	// The project ID or project name. Type: string.
	ProjectId pulumi.StringPtrInput
	// The ID of the resource to authorize. Type: string.
	ResourceId pulumi.StringPtrInput
	// The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.
	Type pulumi.StringPtrInput
}

func (ResourceAuthorizationState) ElementType

func (ResourceAuthorizationState) ElementType() reflect.Type

type ServiceEndpointArtifactory added in v1.2.1

type ServiceEndpointArtifactory struct {
	pulumi.CustomResourceState

	AuthenticationBasic ServiceEndpointArtifactoryAuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	AuthenticationToken ServiceEndpointArtifactoryAuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                                 `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages an Artifactory server endpoint within an Azure DevOps organization.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointArtifactory(ctx, "serviceendpoint", &azuredevops.ServiceEndpointArtifactoryArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationToken: &azuredevops.ServiceEndpointArtifactoryAuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` Alternatively a username and password may be used.

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewServiceEndpointArtifactory(ctx, "serviceendpoint", &azuredevops.ServiceEndpointArtifactoryArgs{
			ProjectId:           pulumi.Any(azuredevops_project.Project.Id),
			ServiceEndpointName: pulumi.String("Sample Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceEndpointArtifactoryAuthenticationBasicArgs{
				Username: pulumi.String("sampleuser"),
				Password: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

* [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) * [Artifactory User Token](https://docs.artifactory.org/latest/user-guide/user-token/)

## Import

Azure DevOps Service Endpoint Artifactory can be imported using the **projectID/serviceEndpointID**, e.g.

```sh

$ pulumi import azuredevops:index/serviceEndpointArtifactory:ServiceEndpointArtifactory serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointArtifactory added in v1.2.1

func GetServiceEndpointArtifactory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointArtifactoryState, opts ...pulumi.ResourceOption) (*ServiceEndpointArtifactory, error)

GetServiceEndpointArtifactory gets an existing ServiceEndpointArtifactory 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 NewServiceEndpointArtifactory added in v1.2.1

func NewServiceEndpointArtifactory(ctx *pulumi.Context,
	name string, args *ServiceEndpointArtifactoryArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointArtifactory, error)

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

func (*ServiceEndpointArtifactory) ElementType added in v1.2.1

func (*ServiceEndpointArtifactory) ElementType() reflect.Type

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutput added in v1.2.1

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutputWithContext added in v1.2.1

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryPtrOutput added in v1.2.2

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryPtrOutput() ServiceEndpointArtifactoryPtrOutput

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryPtrOutput

type ServiceEndpointArtifactoryArgs added in v1.2.1

type ServiceEndpointArtifactoryArgs struct {
	AuthenticationBasic ServiceEndpointArtifactoryAuthenticationBasicPtrInput
	AuthenticationToken ServiceEndpointArtifactoryAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointArtifactory resource.

func (ServiceEndpointArtifactoryArgs) ElementType added in v1.2.1

type ServiceEndpointArtifactoryArray added in v1.2.2

type ServiceEndpointArtifactoryArray []ServiceEndpointArtifactoryInput

func (ServiceEndpointArtifactoryArray) ElementType added in v1.2.2

func (ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutput added in v1.2.2

func (i ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutput() ServiceEndpointArtifactoryArrayOutput

func (ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryArrayOutput

type ServiceEndpointArtifactoryArrayInput added in v1.2.2

type ServiceEndpointArtifactoryArrayInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryArrayOutput() ServiceEndpointArtifactoryArrayOutput
	ToServiceEndpointArtifactoryArrayOutputWithContext(context.Context) ServiceEndpointArtifactoryArrayOutput
}

ServiceEndpointArtifactoryArrayInput is an input type that accepts ServiceEndpointArtifactoryArray and ServiceEndpointArtifactoryArrayOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryArrayInput` via:

ServiceEndpointArtifactoryArray{ ServiceEndpointArtifactoryArgs{...} }

type ServiceEndpointArtifactoryArrayOutput added in v1.2.2

type ServiceEndpointArtifactoryArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointArtifactoryArrayOutput) Index added in v1.2.2

func (ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutput added in v1.2.2

func (o ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutput() ServiceEndpointArtifactoryArrayOutput

func (ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryArrayOutput

type ServiceEndpointArtifactoryAuthenticationBasic added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasic struct {
	// Artifactory Password.
	Password     string  `pulumi:"password"`
	PasswordHash *string `pulumi:"passwordHash"`
	// Artifactory Username.
	Username     string  `pulumi:"username"`
	UsernameHash *string `pulumi:"usernameHash"`
}

type ServiceEndpointArtifactoryAuthenticationBasicArgs added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicArgs struct {
	// Artifactory Password.
	Password     pulumi.StringInput    `pulumi:"password"`
	PasswordHash pulumi.StringPtrInput `pulumi:"passwordHash"`
	// Artifactory Username.
	Username     pulumi.StringInput    `pulumi:"username"`
	UsernameHash pulumi.StringPtrInput `pulumi:"usernameHash"`
}

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutput added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutput() ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput() ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

type ServiceEndpointArtifactoryAuthenticationBasicInput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryAuthenticationBasicOutput() ServiceEndpointArtifactoryAuthenticationBasicOutput
	ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext(context.Context) ServiceEndpointArtifactoryAuthenticationBasicOutput
}

ServiceEndpointArtifactoryAuthenticationBasicInput is an input type that accepts ServiceEndpointArtifactoryAuthenticationBasicArgs and ServiceEndpointArtifactoryAuthenticationBasicOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryAuthenticationBasicInput` via:

ServiceEndpointArtifactoryAuthenticationBasicArgs{...}

type ServiceEndpointArtifactoryAuthenticationBasicOutput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) Password added in v1.2.1

Artifactory Password.

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) PasswordHash added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutput added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutput() ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput() ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) Username added in v1.2.1

Artifactory Username.

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) UsernameHash added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicPtrInput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput() ServiceEndpointArtifactoryAuthenticationBasicPtrOutput
	ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput
}

ServiceEndpointArtifactoryAuthenticationBasicPtrInput is an input type that accepts ServiceEndpointArtifactoryAuthenticationBasicArgs, ServiceEndpointArtifactoryAuthenticationBasicPtr and ServiceEndpointArtifactoryAuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryAuthenticationBasicPtrInput` via:

        ServiceEndpointArtifactoryAuthenticationBasicArgs{...}

or:

        nil

type ServiceEndpointArtifactoryAuthenticationBasicPtrOutput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Elem added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Password added in v1.2.1

Artifactory Password.

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) PasswordHash added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Username added in v1.2.1

Artifactory Username.

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) UsernameHash added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationToken added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	// * `authenticationBasic`
	Token     string  `pulumi:"token"`
	TokenHash *string `pulumi:"tokenHash"`
}

type ServiceEndpointArtifactoryAuthenticationTokenArgs added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	// * `authenticationBasic`
	Token     pulumi.StringInput    `pulumi:"token"`
	TokenHash pulumi.StringPtrInput `pulumi:"tokenHash"`
}

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutput added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutput() ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput() ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext added in v1.2.1

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

type ServiceEndpointArtifactoryAuthenticationTokenInput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryAuthenticationTokenOutput() ServiceEndpointArtifactoryAuthenticationTokenOutput
	ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext(context.Context) ServiceEndpointArtifactoryAuthenticationTokenOutput
}

ServiceEndpointArtifactoryAuthenticationTokenInput is an input type that accepts ServiceEndpointArtifactoryAuthenticationTokenArgs and ServiceEndpointArtifactoryAuthenticationTokenOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryAuthenticationTokenInput` via:

ServiceEndpointArtifactoryAuthenticationTokenArgs{...}

type ServiceEndpointArtifactoryAuthenticationTokenOutput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutput added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutput() ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput() ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) Token added in v1.2.1

Authentication Token generated through Artifactory. * `authenticationBasic`

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) TokenHash added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenPtrInput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput() ServiceEndpointArtifactoryAuthenticationTokenPtrOutput
	ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput
}

ServiceEndpointArtifactoryAuthenticationTokenPtrInput is an input type that accepts ServiceEndpointArtifactoryAuthenticationTokenArgs, ServiceEndpointArtifactoryAuthenticationTokenPtr and ServiceEndpointArtifactoryAuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryAuthenticationTokenPtrInput` via:

        ServiceEndpointArtifactoryAuthenticationTokenArgs{...}

or:

        nil

type ServiceEndpointArtifactoryAuthenticationTokenPtrOutput added in v1.2.1

type ServiceEndpointArtifactoryAuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) Elem added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput added in v1.2.1

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) Token added in v1.2.1

Authentication Token generated through Artifactory. * `authenticationBasic`

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) TokenHash added in v1.2.1

type ServiceEndpointArtifactoryInput added in v1.2.1

type ServiceEndpointArtifactoryInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput
	ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput
}

type ServiceEndpointArtifactoryMap added in v1.2.2

type ServiceEndpointArtifactoryMap map[string]ServiceEndpointArtifactoryInput

func (ServiceEndpointArtifactoryMap) ElementType added in v1.2.2

func (ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutput added in v1.2.2

func (i ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutput() ServiceEndpointArtifactoryMapOutput

func (ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutputWithContext added in v1.2.2

func (i ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryMapOutput

type ServiceEndpointArtifactoryMapInput added in v1.2.2

type ServiceEndpointArtifactoryMapInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryMapOutput() ServiceEndpointArtifactoryMapOutput
	ToServiceEndpointArtifactoryMapOutputWithContext(context.Context) ServiceEndpointArtifactoryMapOutput
}

ServiceEndpointArtifactoryMapInput is an input type that accepts ServiceEndpointArtifactoryMap and ServiceEndpointArtifactoryMapOutput values. You can construct a concrete instance of `ServiceEndpointArtifactoryMapInput` via:

ServiceEndpointArtifactoryMap{ "key": ServiceEndpointArtifactoryArgs{...} }

type ServiceEndpointArtifactoryMapOutput added in v1.2.2

type ServiceEndpointArtifactoryMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryMapOutput) ElementType added in v1.2.2

func (ServiceEndpointArtifactoryMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutput added in v1.2.2

func (o ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutput() ServiceEndpointArtifactoryMapOutput

func (ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutputWithContext added in v1.2.2

func (o ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryMapOutput

type ServiceEndpointArtifactoryOutput added in v1.2.1

type ServiceEndpointArtifactoryOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointArtifactoryOutput) ElementType added in v1.2.1

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutput added in v1.2.1

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutputWithContext added in v1.2.1

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryPtrOutput added in v1.2.2

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryPtrOutput() ServiceEndpointArtifactoryPtrOutput

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryPtrOutput

type ServiceEndpointArtifactoryPtrInput added in v1.2.2

type ServiceEndpointArtifactoryPtrInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryPtrOutput() ServiceEndpointArtifactoryPtrOutput
	ToServiceEndpointArtifactoryPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryPtrOutput
}

type ServiceEndpointArtifactoryPtrOutput added in v1.2.2

type ServiceEndpointArtifactoryPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointArtifactoryPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointArtifactoryPtrOutput) ToServiceEndpointArtifactoryPtrOutput added in v1.2.2

func (o ServiceEndpointArtifactoryPtrOutput) ToServiceEndpointArtifactoryPtrOutput() ServiceEndpointArtifactoryPtrOutput

func (ServiceEndpointArtifactoryPtrOutput) ToServiceEndpointArtifactoryPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointArtifactoryPtrOutput) ToServiceEndpointArtifactoryPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryPtrOutput

type ServiceEndpointArtifactoryState added in v1.2.1

type ServiceEndpointArtifactoryState struct {
	AuthenticationBasic ServiceEndpointArtifactoryAuthenticationBasicPtrInput
	AuthenticationToken ServiceEndpointArtifactoryAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	Url pulumi.StringPtrInput
}

func (ServiceEndpointArtifactoryState) ElementType added in v1.2.1

type ServiceEndpointAws

type ServiceEndpointAws struct {
	pulumi.CustomResourceState

	// The AWS access key ID for signing programmatic requests.
	AccessKeyId   pulumi.StringOutput    `pulumi:"accessKeyId"`
	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// A unique identifier that is used by third parties when assuming roles in their customers' accounts, aka cross-account role access.
	ExternalId pulumi.StringPtrOutput `pulumi:"externalId"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Optional identifier for the assumed role session.
	RoleSessionName pulumi.StringPtrOutput `pulumi:"roleSessionName"`
	// The Amazon Resource Name (ARN) of the role to assume.
	RoleToAssume pulumi.StringPtrOutput `pulumi:"roleToAssume"`
	// The AWS secret access key for signing programmatic requests.
	SecretAccessKey pulumi.StringOutput `pulumi:"secretAccessKey"`
	// A bcrypted hash of the attribute 'secret_access_key'
	SecretAccessKeyHash pulumi.StringOutput `pulumi:"secretAccessKeyHash"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The AWS session token for signing programmatic requests.
	SessionToken pulumi.StringPtrOutput `pulumi:"sessionToken"`
	// A bcrypted hash of the attribute 'session_token'
	SessionTokenHash pulumi.StringOutput `pulumi:"sessionTokenHash"`
}

Manages a AWS service endpoint within Azure DevOps. Using this service endpoint requires you to first install [AWS Toolkit for Azure DevOps](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.aws-vsts-tools).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAws(ctx, "serviceendpoint", &azuredevops.ServiceEndpointAwsArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample AWS"),
			Description:         pulumi.String("Managed by AzureDevOps"),
			AccessKeyId:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			SecretAccessKey:     pulumi.String("accesskey"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

* [aws-toolkit-azure-devops](https://github.com/aws/aws-toolkit-azure-devops) * [Azure DevOps Service REST API 5.1 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint AWS can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointAws:ServiceEndpointAws azuredevops_serviceendpoint_aws.serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointAws

func GetServiceEndpointAws(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointAwsState, opts ...pulumi.ResourceOption) (*ServiceEndpointAws, error)

GetServiceEndpointAws gets an existing ServiceEndpointAws 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 NewServiceEndpointAws

func NewServiceEndpointAws(ctx *pulumi.Context,
	name string, args *ServiceEndpointAwsArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointAws, error)

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

func (*ServiceEndpointAws) ElementType

func (*ServiceEndpointAws) ElementType() reflect.Type

func (*ServiceEndpointAws) ToServiceEndpointAwsOutput

func (i *ServiceEndpointAws) ToServiceEndpointAwsOutput() ServiceEndpointAwsOutput

func (*ServiceEndpointAws) ToServiceEndpointAwsOutputWithContext

func (i *ServiceEndpointAws) ToServiceEndpointAwsOutputWithContext(ctx context.Context) ServiceEndpointAwsOutput

func (*ServiceEndpointAws) ToServiceEndpointAwsPtrOutput added in v1.2.2

func (i *ServiceEndpointAws) ToServiceEndpointAwsPtrOutput() ServiceEndpointAwsPtrOutput

func (*ServiceEndpointAws) ToServiceEndpointAwsPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointAws) ToServiceEndpointAwsPtrOutputWithContext(ctx context.Context) ServiceEndpointAwsPtrOutput

type ServiceEndpointAwsArgs

type ServiceEndpointAwsArgs struct {
	// The AWS access key ID for signing programmatic requests.
	AccessKeyId   pulumi.StringInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// A unique identifier that is used by third parties when assuming roles in their customers' accounts, aka cross-account role access.
	ExternalId pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// Optional identifier for the assumed role session.
	RoleSessionName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the role to assume.
	RoleToAssume pulumi.StringPtrInput
	// The AWS secret access key for signing programmatic requests.
	SecretAccessKey pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// The AWS session token for signing programmatic requests.
	SessionToken pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceEndpointAws resource.

func (ServiceEndpointAwsArgs) ElementType

func (ServiceEndpointAwsArgs) ElementType() reflect.Type

type ServiceEndpointAwsArray added in v1.2.2

type ServiceEndpointAwsArray []ServiceEndpointAwsInput

func (ServiceEndpointAwsArray) ElementType added in v1.2.2

func (ServiceEndpointAwsArray) ElementType() reflect.Type

func (ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutput added in v1.2.2

func (i ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutput() ServiceEndpointAwsArrayOutput

func (ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutputWithContext(ctx context.Context) ServiceEndpointAwsArrayOutput

type ServiceEndpointAwsArrayInput added in v1.2.2

type ServiceEndpointAwsArrayInput interface {
	pulumi.Input

	ToServiceEndpointAwsArrayOutput() ServiceEndpointAwsArrayOutput
	ToServiceEndpointAwsArrayOutputWithContext(context.Context) ServiceEndpointAwsArrayOutput
}

ServiceEndpointAwsArrayInput is an input type that accepts ServiceEndpointAwsArray and ServiceEndpointAwsArrayOutput values. You can construct a concrete instance of `ServiceEndpointAwsArrayInput` via:

ServiceEndpointAwsArray{ ServiceEndpointAwsArgs{...} }

type ServiceEndpointAwsArrayOutput added in v1.2.2

type ServiceEndpointAwsArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAwsArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointAwsArrayOutput) Index added in v1.2.2

func (ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutput added in v1.2.2

func (o ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutput() ServiceEndpointAwsArrayOutput

func (ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutputWithContext(ctx context.Context) ServiceEndpointAwsArrayOutput

type ServiceEndpointAwsInput

type ServiceEndpointAwsInput interface {
	pulumi.Input

	ToServiceEndpointAwsOutput() ServiceEndpointAwsOutput
	ToServiceEndpointAwsOutputWithContext(ctx context.Context) ServiceEndpointAwsOutput
}

type ServiceEndpointAwsMap added in v1.2.2

type ServiceEndpointAwsMap map[string]ServiceEndpointAwsInput

func (ServiceEndpointAwsMap) ElementType added in v1.2.2

func (ServiceEndpointAwsMap) ElementType() reflect.Type

func (ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutput added in v1.2.2

func (i ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutput() ServiceEndpointAwsMapOutput

func (ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutputWithContext added in v1.2.2

func (i ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutputWithContext(ctx context.Context) ServiceEndpointAwsMapOutput

type ServiceEndpointAwsMapInput added in v1.2.2

type ServiceEndpointAwsMapInput interface {
	pulumi.Input

	ToServiceEndpointAwsMapOutput() ServiceEndpointAwsMapOutput
	ToServiceEndpointAwsMapOutputWithContext(context.Context) ServiceEndpointAwsMapOutput
}

ServiceEndpointAwsMapInput is an input type that accepts ServiceEndpointAwsMap and ServiceEndpointAwsMapOutput values. You can construct a concrete instance of `ServiceEndpointAwsMapInput` via:

ServiceEndpointAwsMap{ "key": ServiceEndpointAwsArgs{...} }

type ServiceEndpointAwsMapOutput added in v1.2.2

type ServiceEndpointAwsMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAwsMapOutput) ElementType added in v1.2.2

func (ServiceEndpointAwsMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutput added in v1.2.2

func (o ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutput() ServiceEndpointAwsMapOutput

func (ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutputWithContext added in v1.2.2

func (o ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutputWithContext(ctx context.Context) ServiceEndpointAwsMapOutput

type ServiceEndpointAwsOutput

type ServiceEndpointAwsOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAwsOutput) ElementType

func (ServiceEndpointAwsOutput) ElementType() reflect.Type

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsOutput

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsOutput() ServiceEndpointAwsOutput

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsOutputWithContext

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsOutputWithContext(ctx context.Context) ServiceEndpointAwsOutput

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsPtrOutput added in v1.2.2

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsPtrOutput() ServiceEndpointAwsPtrOutput

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsPtrOutputWithContext(ctx context.Context) ServiceEndpointAwsPtrOutput

type ServiceEndpointAwsPtrInput added in v1.2.2

type ServiceEndpointAwsPtrInput interface {
	pulumi.Input

	ToServiceEndpointAwsPtrOutput() ServiceEndpointAwsPtrOutput
	ToServiceEndpointAwsPtrOutputWithContext(ctx context.Context) ServiceEndpointAwsPtrOutput
}

type ServiceEndpointAwsPtrOutput added in v1.2.2

type ServiceEndpointAwsPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAwsPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointAwsPtrOutput) ToServiceEndpointAwsPtrOutput added in v1.2.2

func (o ServiceEndpointAwsPtrOutput) ToServiceEndpointAwsPtrOutput() ServiceEndpointAwsPtrOutput

func (ServiceEndpointAwsPtrOutput) ToServiceEndpointAwsPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAwsPtrOutput) ToServiceEndpointAwsPtrOutputWithContext(ctx context.Context) ServiceEndpointAwsPtrOutput

type ServiceEndpointAwsState

type ServiceEndpointAwsState struct {
	// The AWS access key ID for signing programmatic requests.
	AccessKeyId   pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// A unique identifier that is used by third parties when assuming roles in their customers' accounts, aka cross-account role access.
	ExternalId pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// Optional identifier for the assumed role session.
	RoleSessionName pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the role to assume.
	RoleToAssume pulumi.StringPtrInput
	// The AWS secret access key for signing programmatic requests.
	SecretAccessKey pulumi.StringPtrInput
	// A bcrypted hash of the attribute 'secret_access_key'
	SecretAccessKeyHash pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// The AWS session token for signing programmatic requests.
	SessionToken pulumi.StringPtrInput
	// A bcrypted hash of the attribute 'session_token'
	SessionTokenHash pulumi.StringPtrInput
}

func (ServiceEndpointAwsState) ElementType

func (ServiceEndpointAwsState) ElementType() reflect.Type

type ServiceEndpointAzureEcr

type ServiceEndpointAzureEcr struct {
	pulumi.CustomResourceState

	AppObjectId           pulumi.StringOutput    `pulumi:"appObjectId"`
	Authorization         pulumi.StringMapOutput `pulumi:"authorization"`
	AzSpnRoleAssignmentId pulumi.StringOutput    `pulumi:"azSpnRoleAssignmentId"`
	AzSpnRolePermissions  pulumi.StringOutput    `pulumi:"azSpnRolePermissions"`
	// The Azure container registry name.
	AzurecrName pulumi.StringOutput `pulumi:"azurecrName"`
	// The tenant id of the service principal.
	AzurecrSpnTenantid pulumi.StringOutput `pulumi:"azurecrSpnTenantid"`
	// The subscription id of the Azure targets.
	AzurecrSubscriptionId pulumi.StringOutput `pulumi:"azurecrSubscriptionId"`
	// The subscription name of the Azure targets.
	AzurecrSubscriptionName pulumi.StringOutput `pulumi:"azurecrSubscriptionName"`
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The resource group to which the container registry belongs.
	ResourceGroup pulumi.StringOutput `pulumi:"resourceGroup"`
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The service principal ID.
	ServicePrincipalId pulumi.StringOutput `pulumi:"servicePrincipalId"`
	SpnObjectId        pulumi.StringOutput `pulumi:"spnObjectId"`
}

Manages a Azure Container Registry service endpoint within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureEcr(ctx, "azurecr", &azuredevops.ServiceEndpointAzureEcrArgs{
			ProjectId:               project.ID(),
			ServiceEndpointName:     pulumi.String("Sample AzureCR"),
			ResourceGroup:           pulumi.String("sample-rg"),
			AzurecrSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurecrName:             pulumi.String("sampleAcr"),
			AzurecrSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurecrSubscriptionName: pulumi.String("sampleSub"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1) - [Azure Container Registry REST API](https://docs.microsoft.com/en-us/rest/api/containerregistry/)

## Import

Azure DevOps Service Endpoint Azure Container Registry can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointAzureEcr:ServiceEndpointAzureEcr serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointAzureEcr

func GetServiceEndpointAzureEcr(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointAzureEcrState, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureEcr, error)

GetServiceEndpointAzureEcr gets an existing ServiceEndpointAzureEcr 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 NewServiceEndpointAzureEcr

func NewServiceEndpointAzureEcr(ctx *pulumi.Context,
	name string, args *ServiceEndpointAzureEcrArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureEcr, error)

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

func (*ServiceEndpointAzureEcr) ElementType

func (*ServiceEndpointAzureEcr) ElementType() reflect.Type

func (*ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrOutput

func (i *ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrOutput() ServiceEndpointAzureEcrOutput

func (*ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrOutputWithContext

func (i *ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrOutput

func (*ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrPtrOutput added in v1.2.2

func (i *ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrPtrOutput() ServiceEndpointAzureEcrPtrOutput

func (*ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointAzureEcr) ToServiceEndpointAzureEcrPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrPtrOutput

type ServiceEndpointAzureEcrArgs

type ServiceEndpointAzureEcrArgs struct {
	Authorization pulumi.StringMapInput
	// The Azure container registry name.
	AzurecrName pulumi.StringInput
	// The tenant id of the service principal.
	AzurecrSpnTenantid pulumi.StringInput
	// The subscription id of the Azure targets.
	AzurecrSubscriptionId pulumi.StringInput
	// The subscription name of the Azure targets.
	AzurecrSubscriptionName pulumi.StringInput
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The resource group to which the container registry belongs.
	ResourceGroup pulumi.StringInput
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointAzureEcr resource.

func (ServiceEndpointAzureEcrArgs) ElementType

type ServiceEndpointAzureEcrArray added in v1.2.2

type ServiceEndpointAzureEcrArray []ServiceEndpointAzureEcrInput

func (ServiceEndpointAzureEcrArray) ElementType added in v1.2.2

func (ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutput added in v1.2.2

func (i ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutput() ServiceEndpointAzureEcrArrayOutput

func (ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrArrayOutput

type ServiceEndpointAzureEcrArrayInput added in v1.2.2

type ServiceEndpointAzureEcrArrayInput interface {
	pulumi.Input

	ToServiceEndpointAzureEcrArrayOutput() ServiceEndpointAzureEcrArrayOutput
	ToServiceEndpointAzureEcrArrayOutputWithContext(context.Context) ServiceEndpointAzureEcrArrayOutput
}

ServiceEndpointAzureEcrArrayInput is an input type that accepts ServiceEndpointAzureEcrArray and ServiceEndpointAzureEcrArrayOutput values. You can construct a concrete instance of `ServiceEndpointAzureEcrArrayInput` via:

ServiceEndpointAzureEcrArray{ ServiceEndpointAzureEcrArgs{...} }

type ServiceEndpointAzureEcrArrayOutput added in v1.2.2

type ServiceEndpointAzureEcrArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureEcrArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureEcrArrayOutput) Index added in v1.2.2

func (ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutput added in v1.2.2

func (o ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutput() ServiceEndpointAzureEcrArrayOutput

func (ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrArrayOutput

type ServiceEndpointAzureEcrInput

type ServiceEndpointAzureEcrInput interface {
	pulumi.Input

	ToServiceEndpointAzureEcrOutput() ServiceEndpointAzureEcrOutput
	ToServiceEndpointAzureEcrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrOutput
}

type ServiceEndpointAzureEcrMap added in v1.2.2

type ServiceEndpointAzureEcrMap map[string]ServiceEndpointAzureEcrInput

func (ServiceEndpointAzureEcrMap) ElementType added in v1.2.2

func (ServiceEndpointAzureEcrMap) ElementType() reflect.Type

func (ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutput added in v1.2.2

func (i ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutput() ServiceEndpointAzureEcrMapOutput

func (ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutputWithContext added in v1.2.2

func (i ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrMapOutput

type ServiceEndpointAzureEcrMapInput added in v1.2.2

type ServiceEndpointAzureEcrMapInput interface {
	pulumi.Input

	ToServiceEndpointAzureEcrMapOutput() ServiceEndpointAzureEcrMapOutput
	ToServiceEndpointAzureEcrMapOutputWithContext(context.Context) ServiceEndpointAzureEcrMapOutput
}

ServiceEndpointAzureEcrMapInput is an input type that accepts ServiceEndpointAzureEcrMap and ServiceEndpointAzureEcrMapOutput values. You can construct a concrete instance of `ServiceEndpointAzureEcrMapInput` via:

ServiceEndpointAzureEcrMap{ "key": ServiceEndpointAzureEcrArgs{...} }

type ServiceEndpointAzureEcrMapOutput added in v1.2.2

type ServiceEndpointAzureEcrMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureEcrMapOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureEcrMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutput added in v1.2.2

func (o ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutput() ServiceEndpointAzureEcrMapOutput

func (ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrMapOutput

type ServiceEndpointAzureEcrOutput

type ServiceEndpointAzureEcrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAzureEcrOutput) ElementType

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutput

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutput() ServiceEndpointAzureEcrOutput

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutputWithContext

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrOutput

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrPtrOutput added in v1.2.2

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrPtrOutput() ServiceEndpointAzureEcrPtrOutput

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrPtrOutput

type ServiceEndpointAzureEcrPtrInput added in v1.2.2

type ServiceEndpointAzureEcrPtrInput interface {
	pulumi.Input

	ToServiceEndpointAzureEcrPtrOutput() ServiceEndpointAzureEcrPtrOutput
	ToServiceEndpointAzureEcrPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrPtrOutput
}

type ServiceEndpointAzureEcrPtrOutput added in v1.2.2

type ServiceEndpointAzureEcrPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAzureEcrPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureEcrPtrOutput) ToServiceEndpointAzureEcrPtrOutput added in v1.2.2

func (o ServiceEndpointAzureEcrPtrOutput) ToServiceEndpointAzureEcrPtrOutput() ServiceEndpointAzureEcrPtrOutput

func (ServiceEndpointAzureEcrPtrOutput) ToServiceEndpointAzureEcrPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureEcrPtrOutput) ToServiceEndpointAzureEcrPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrPtrOutput

type ServiceEndpointAzureEcrState

type ServiceEndpointAzureEcrState struct {
	AppObjectId           pulumi.StringPtrInput
	Authorization         pulumi.StringMapInput
	AzSpnRoleAssignmentId pulumi.StringPtrInput
	AzSpnRolePermissions  pulumi.StringPtrInput
	// The Azure container registry name.
	AzurecrName pulumi.StringPtrInput
	// The tenant id of the service principal.
	AzurecrSpnTenantid pulumi.StringPtrInput
	// The subscription id of the Azure targets.
	AzurecrSubscriptionId pulumi.StringPtrInput
	// The subscription name of the Azure targets.
	AzurecrSubscriptionName pulumi.StringPtrInput
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The resource group to which the container registry belongs.
	ResourceGroup pulumi.StringPtrInput
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringPtrInput
	// The service principal ID.
	ServicePrincipalId pulumi.StringPtrInput
	SpnObjectId        pulumi.StringPtrInput
}

func (ServiceEndpointAzureEcrState) ElementType

type ServiceEndpointAzureRM

type ServiceEndpointAzureRM struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The tenant id if the service principal.
	AzurermSpnTenantid pulumi.StringOutput `pulumi:"azurermSpnTenantid"`
	// The subscription Id of the Azure targets.
	AzurermSubscriptionId pulumi.StringOutput `pulumi:"azurermSubscriptionId"`
	// The subscription Name of the targets.
	AzurermSubscriptionName pulumi.StringOutput `pulumi:"azurermSubscriptionName"`
	// A `credentials` block.
	Credentials ServiceEndpointAzureRMCredentialsPtrOutput `pulumi:"credentials"`
	// Service connection description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrOutput `pulumi:"resourceGroup"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages Manual or Automatic AzureRM service endpoint within Azure DevOps.

## Requirements (Manual AzureRM Service Endpoint)

Before to create a service end point in Azure DevOps, you need to create a Service Principal in your Azure subscription.

For detailed steps to create a service principal with Azure cli see the [documentation](https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli?view=azure-cli-latest)

## Example Usage ### Manual AzureRM Service Endpoint

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "endpointazure", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample 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("Sample Subscription"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Automatic AzureRM Service Endpoint

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "endpointazure", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:               project.ID(),
			ServiceEndpointName:     pulumi.String("Sample AzureRM"),
			Description:             pulumi.String("Managed by Terraform"),
			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName: pulumi.String("Microsoft Azure DEMO"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Service End points](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint Azure Resource Manage can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointAzureRM:ServiceEndpointAzureRM serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointAzureRM

func GetServiceEndpointAzureRM(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointAzureRMState, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureRM, error)

GetServiceEndpointAzureRM gets an existing ServiceEndpointAzureRM 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 NewServiceEndpointAzureRM

func NewServiceEndpointAzureRM(ctx *pulumi.Context,
	name string, args *ServiceEndpointAzureRMArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureRM, error)

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

func (*ServiceEndpointAzureRM) ElementType

func (*ServiceEndpointAzureRM) ElementType() reflect.Type

func (*ServiceEndpointAzureRM) ToServiceEndpointAzureRMOutput

func (i *ServiceEndpointAzureRM) ToServiceEndpointAzureRMOutput() ServiceEndpointAzureRMOutput

func (*ServiceEndpointAzureRM) ToServiceEndpointAzureRMOutputWithContext

func (i *ServiceEndpointAzureRM) ToServiceEndpointAzureRMOutputWithContext(ctx context.Context) ServiceEndpointAzureRMOutput

func (*ServiceEndpointAzureRM) ToServiceEndpointAzureRMPtrOutput added in v1.2.2

func (i *ServiceEndpointAzureRM) ToServiceEndpointAzureRMPtrOutput() ServiceEndpointAzureRMPtrOutput

func (*ServiceEndpointAzureRM) ToServiceEndpointAzureRMPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointAzureRM) ToServiceEndpointAzureRMPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMPtrOutput

type ServiceEndpointAzureRMArgs

type ServiceEndpointAzureRMArgs struct {
	Authorization pulumi.StringMapInput
	// The tenant id if the service principal.
	AzurermSpnTenantid pulumi.StringInput
	// The subscription Id of the Azure targets.
	AzurermSubscriptionId pulumi.StringInput
	// The subscription Name of the targets.
	AzurermSubscriptionName pulumi.StringInput
	// A `credentials` block.
	Credentials ServiceEndpointAzureRMCredentialsPtrInput
	// Service connection description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointAzureRM resource.

func (ServiceEndpointAzureRMArgs) ElementType

func (ServiceEndpointAzureRMArgs) ElementType() reflect.Type

type ServiceEndpointAzureRMArray added in v1.2.2

type ServiceEndpointAzureRMArray []ServiceEndpointAzureRMInput

func (ServiceEndpointAzureRMArray) ElementType added in v1.2.2

func (ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutput added in v1.2.2

func (i ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutput() ServiceEndpointAzureRMArrayOutput

func (ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureRMArrayOutput

type ServiceEndpointAzureRMArrayInput added in v1.2.2

type ServiceEndpointAzureRMArrayInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMArrayOutput() ServiceEndpointAzureRMArrayOutput
	ToServiceEndpointAzureRMArrayOutputWithContext(context.Context) ServiceEndpointAzureRMArrayOutput
}

ServiceEndpointAzureRMArrayInput is an input type that accepts ServiceEndpointAzureRMArray and ServiceEndpointAzureRMArrayOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMArrayInput` via:

ServiceEndpointAzureRMArray{ ServiceEndpointAzureRMArgs{...} }

type ServiceEndpointAzureRMArrayOutput added in v1.2.2

type ServiceEndpointAzureRMArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureRMArrayOutput) Index added in v1.2.2

func (ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutput added in v1.2.2

func (o ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutput() ServiceEndpointAzureRMArrayOutput

func (ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureRMArrayOutput

type ServiceEndpointAzureRMCredentials

type ServiceEndpointAzureRMCredentials struct {
	// The service principal application Id
	Serviceprincipalid string `pulumi:"serviceprincipalid"`
	// The service principal secret.
	Serviceprincipalkey     string  `pulumi:"serviceprincipalkey"`
	ServiceprincipalkeyHash *string `pulumi:"serviceprincipalkeyHash"`
}

type ServiceEndpointAzureRMCredentialsArgs

type ServiceEndpointAzureRMCredentialsArgs struct {
	// The service principal application Id
	Serviceprincipalid pulumi.StringInput `pulumi:"serviceprincipalid"`
	// The service principal secret.
	Serviceprincipalkey     pulumi.StringInput    `pulumi:"serviceprincipalkey"`
	ServiceprincipalkeyHash pulumi.StringPtrInput `pulumi:"serviceprincipalkeyHash"`
}

func (ServiceEndpointAzureRMCredentialsArgs) ElementType

func (ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsOutput

func (i ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsOutput() ServiceEndpointAzureRMCredentialsOutput

func (ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsOutputWithContext

func (i ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsOutput

func (ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsPtrOutput

func (i ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsPtrOutput() ServiceEndpointAzureRMCredentialsPtrOutput

func (ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext

func (i ServiceEndpointAzureRMCredentialsArgs) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsPtrOutput

type ServiceEndpointAzureRMCredentialsInput

type ServiceEndpointAzureRMCredentialsInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMCredentialsOutput() ServiceEndpointAzureRMCredentialsOutput
	ToServiceEndpointAzureRMCredentialsOutputWithContext(context.Context) ServiceEndpointAzureRMCredentialsOutput
}

ServiceEndpointAzureRMCredentialsInput is an input type that accepts ServiceEndpointAzureRMCredentialsArgs and ServiceEndpointAzureRMCredentialsOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMCredentialsInput` via:

ServiceEndpointAzureRMCredentialsArgs{...}

type ServiceEndpointAzureRMCredentialsOutput

type ServiceEndpointAzureRMCredentialsOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMCredentialsOutput) ElementType

func (ServiceEndpointAzureRMCredentialsOutput) Serviceprincipalid

The service principal application Id

func (ServiceEndpointAzureRMCredentialsOutput) Serviceprincipalkey

The service principal secret.

func (ServiceEndpointAzureRMCredentialsOutput) ServiceprincipalkeyHash

func (ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsOutput

func (o ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsOutput() ServiceEndpointAzureRMCredentialsOutput

func (ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsOutputWithContext

func (o ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsOutput

func (ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsPtrOutput

func (o ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsPtrOutput() ServiceEndpointAzureRMCredentialsPtrOutput

func (ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext

func (o ServiceEndpointAzureRMCredentialsOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsPtrOutput

type ServiceEndpointAzureRMCredentialsPtrInput

type ServiceEndpointAzureRMCredentialsPtrInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMCredentialsPtrOutput() ServiceEndpointAzureRMCredentialsPtrOutput
	ToServiceEndpointAzureRMCredentialsPtrOutputWithContext(context.Context) ServiceEndpointAzureRMCredentialsPtrOutput
}

ServiceEndpointAzureRMCredentialsPtrInput is an input type that accepts ServiceEndpointAzureRMCredentialsArgs, ServiceEndpointAzureRMCredentialsPtr and ServiceEndpointAzureRMCredentialsPtrOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMCredentialsPtrInput` via:

        ServiceEndpointAzureRMCredentialsArgs{...}

or:

        nil

type ServiceEndpointAzureRMCredentialsPtrOutput

type ServiceEndpointAzureRMCredentialsPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMCredentialsPtrOutput) Elem

func (ServiceEndpointAzureRMCredentialsPtrOutput) ElementType

func (ServiceEndpointAzureRMCredentialsPtrOutput) Serviceprincipalid

The service principal application Id

func (ServiceEndpointAzureRMCredentialsPtrOutput) Serviceprincipalkey

The service principal secret.

func (ServiceEndpointAzureRMCredentialsPtrOutput) ServiceprincipalkeyHash

func (ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutput

func (o ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutput() ServiceEndpointAzureRMCredentialsPtrOutput

func (ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext

func (o ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsPtrOutput

type ServiceEndpointAzureRMInput

type ServiceEndpointAzureRMInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMOutput() ServiceEndpointAzureRMOutput
	ToServiceEndpointAzureRMOutputWithContext(ctx context.Context) ServiceEndpointAzureRMOutput
}

type ServiceEndpointAzureRMMap added in v1.2.2

type ServiceEndpointAzureRMMap map[string]ServiceEndpointAzureRMInput

func (ServiceEndpointAzureRMMap) ElementType added in v1.2.2

func (ServiceEndpointAzureRMMap) ElementType() reflect.Type

func (ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutput added in v1.2.2

func (i ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutput() ServiceEndpointAzureRMMapOutput

func (ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutputWithContext added in v1.2.2

func (i ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutputWithContext(ctx context.Context) ServiceEndpointAzureRMMapOutput

type ServiceEndpointAzureRMMapInput added in v1.2.2

type ServiceEndpointAzureRMMapInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMMapOutput() ServiceEndpointAzureRMMapOutput
	ToServiceEndpointAzureRMMapOutputWithContext(context.Context) ServiceEndpointAzureRMMapOutput
}

ServiceEndpointAzureRMMapInput is an input type that accepts ServiceEndpointAzureRMMap and ServiceEndpointAzureRMMapOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMMapInput` via:

ServiceEndpointAzureRMMap{ "key": ServiceEndpointAzureRMArgs{...} }

type ServiceEndpointAzureRMMapOutput added in v1.2.2

type ServiceEndpointAzureRMMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMMapOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureRMMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutput added in v1.2.2

func (o ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutput() ServiceEndpointAzureRMMapOutput

func (ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutputWithContext(ctx context.Context) ServiceEndpointAzureRMMapOutput

type ServiceEndpointAzureRMOutput

type ServiceEndpointAzureRMOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAzureRMOutput) ElementType

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutput

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutput() ServiceEndpointAzureRMOutput

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutputWithContext

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutputWithContext(ctx context.Context) ServiceEndpointAzureRMOutput

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMPtrOutput added in v1.2.2

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMPtrOutput() ServiceEndpointAzureRMPtrOutput

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMPtrOutput

type ServiceEndpointAzureRMPtrInput added in v1.2.2

type ServiceEndpointAzureRMPtrInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMPtrOutput() ServiceEndpointAzureRMPtrOutput
	ToServiceEndpointAzureRMPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMPtrOutput
}

type ServiceEndpointAzureRMPtrOutput added in v1.2.2

type ServiceEndpointAzureRMPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointAzureRMPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointAzureRMPtrOutput) ToServiceEndpointAzureRMPtrOutput added in v1.2.2

func (o ServiceEndpointAzureRMPtrOutput) ToServiceEndpointAzureRMPtrOutput() ServiceEndpointAzureRMPtrOutput

func (ServiceEndpointAzureRMPtrOutput) ToServiceEndpointAzureRMPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointAzureRMPtrOutput) ToServiceEndpointAzureRMPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMPtrOutput

type ServiceEndpointAzureRMState

type ServiceEndpointAzureRMState struct {
	Authorization pulumi.StringMapInput
	// The tenant id if the service principal.
	AzurermSpnTenantid pulumi.StringPtrInput
	// The subscription Id of the Azure targets.
	AzurermSubscriptionId pulumi.StringPtrInput
	// The subscription Name of the targets.
	AzurermSubscriptionName pulumi.StringPtrInput
	// A `credentials` block.
	Credentials ServiceEndpointAzureRMCredentialsPtrInput
	// Service connection description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointAzureRMState) ElementType

type ServiceEndpointBitBucket

type ServiceEndpointBitBucket struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// Bitbucket account password.
	Password pulumi.StringOutput `pulumi:"password"`
	// A bcrypted hash of the attribute 'password'
	PasswordHash pulumi.StringOutput `pulumi:"passwordHash"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// Bitbucket account username.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Bitbucket service endpoint within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointBitBucket(ctx, "serviceendpoint", &azuredevops.ServiceEndpointBitBucketArgs{
			ProjectId:           project.ID(),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Sample Bitbucket"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint Bitbucket can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointBitBucket:ServiceEndpointBitBucket serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointBitBucket

func GetServiceEndpointBitBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointBitBucketState, opts ...pulumi.ResourceOption) (*ServiceEndpointBitBucket, error)

GetServiceEndpointBitBucket gets an existing ServiceEndpointBitBucket 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 NewServiceEndpointBitBucket

func NewServiceEndpointBitBucket(ctx *pulumi.Context,
	name string, args *ServiceEndpointBitBucketArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointBitBucket, error)

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

func (*ServiceEndpointBitBucket) ElementType

func (*ServiceEndpointBitBucket) ElementType() reflect.Type

func (*ServiceEndpointBitBucket) ToServiceEndpointBitBucketOutput

func (i *ServiceEndpointBitBucket) ToServiceEndpointBitBucketOutput() ServiceEndpointBitBucketOutput

func (*ServiceEndpointBitBucket) ToServiceEndpointBitBucketOutputWithContext

func (i *ServiceEndpointBitBucket) ToServiceEndpointBitBucketOutputWithContext(ctx context.Context) ServiceEndpointBitBucketOutput

func (*ServiceEndpointBitBucket) ToServiceEndpointBitBucketPtrOutput added in v1.2.2

func (i *ServiceEndpointBitBucket) ToServiceEndpointBitBucketPtrOutput() ServiceEndpointBitBucketPtrOutput

func (*ServiceEndpointBitBucket) ToServiceEndpointBitBucketPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointBitBucket) ToServiceEndpointBitBucketPtrOutputWithContext(ctx context.Context) ServiceEndpointBitBucketPtrOutput

type ServiceEndpointBitBucketArgs

type ServiceEndpointBitBucketArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Bitbucket account password.
	Password pulumi.StringInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// Bitbucket account username.
	Username pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointBitBucket resource.

func (ServiceEndpointBitBucketArgs) ElementType

type ServiceEndpointBitBucketArray added in v1.2.2

type ServiceEndpointBitBucketArray []ServiceEndpointBitBucketInput

func (ServiceEndpointBitBucketArray) ElementType added in v1.2.2

func (ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutput added in v1.2.2

func (i ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutput() ServiceEndpointBitBucketArrayOutput

func (ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutputWithContext(ctx context.Context) ServiceEndpointBitBucketArrayOutput

type ServiceEndpointBitBucketArrayInput added in v1.2.2

type ServiceEndpointBitBucketArrayInput interface {
	pulumi.Input

	ToServiceEndpointBitBucketArrayOutput() ServiceEndpointBitBucketArrayOutput
	ToServiceEndpointBitBucketArrayOutputWithContext(context.Context) ServiceEndpointBitBucketArrayOutput
}

ServiceEndpointBitBucketArrayInput is an input type that accepts ServiceEndpointBitBucketArray and ServiceEndpointBitBucketArrayOutput values. You can construct a concrete instance of `ServiceEndpointBitBucketArrayInput` via:

ServiceEndpointBitBucketArray{ ServiceEndpointBitBucketArgs{...} }

type ServiceEndpointBitBucketArrayOutput added in v1.2.2

type ServiceEndpointBitBucketArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointBitBucketArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointBitBucketArrayOutput) Index added in v1.2.2

func (ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutput added in v1.2.2

func (o ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutput() ServiceEndpointBitBucketArrayOutput

func (ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutputWithContext(ctx context.Context) ServiceEndpointBitBucketArrayOutput

type ServiceEndpointBitBucketInput

type ServiceEndpointBitBucketInput interface {
	pulumi.Input

	ToServiceEndpointBitBucketOutput() ServiceEndpointBitBucketOutput
	ToServiceEndpointBitBucketOutputWithContext(ctx context.Context) ServiceEndpointBitBucketOutput
}

type ServiceEndpointBitBucketMap added in v1.2.2

type ServiceEndpointBitBucketMap map[string]ServiceEndpointBitBucketInput

func (ServiceEndpointBitBucketMap) ElementType added in v1.2.2

func (ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutput added in v1.2.2

func (i ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutput() ServiceEndpointBitBucketMapOutput

func (ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutputWithContext added in v1.2.2

func (i ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutputWithContext(ctx context.Context) ServiceEndpointBitBucketMapOutput

type ServiceEndpointBitBucketMapInput added in v1.2.2

type ServiceEndpointBitBucketMapInput interface {
	pulumi.Input

	ToServiceEndpointBitBucketMapOutput() ServiceEndpointBitBucketMapOutput
	ToServiceEndpointBitBucketMapOutputWithContext(context.Context) ServiceEndpointBitBucketMapOutput
}

ServiceEndpointBitBucketMapInput is an input type that accepts ServiceEndpointBitBucketMap and ServiceEndpointBitBucketMapOutput values. You can construct a concrete instance of `ServiceEndpointBitBucketMapInput` via:

ServiceEndpointBitBucketMap{ "key": ServiceEndpointBitBucketArgs{...} }

type ServiceEndpointBitBucketMapOutput added in v1.2.2

type ServiceEndpointBitBucketMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointBitBucketMapOutput) ElementType added in v1.2.2

func (ServiceEndpointBitBucketMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutput added in v1.2.2

func (o ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutput() ServiceEndpointBitBucketMapOutput

func (ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutputWithContext added in v1.2.2

func (o ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutputWithContext(ctx context.Context) ServiceEndpointBitBucketMapOutput

type ServiceEndpointBitBucketOutput

type ServiceEndpointBitBucketOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointBitBucketOutput) ElementType

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutput

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutput() ServiceEndpointBitBucketOutput

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutputWithContext

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutputWithContext(ctx context.Context) ServiceEndpointBitBucketOutput

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketPtrOutput added in v1.2.2

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketPtrOutput() ServiceEndpointBitBucketPtrOutput

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketPtrOutputWithContext(ctx context.Context) ServiceEndpointBitBucketPtrOutput

type ServiceEndpointBitBucketPtrInput added in v1.2.2

type ServiceEndpointBitBucketPtrInput interface {
	pulumi.Input

	ToServiceEndpointBitBucketPtrOutput() ServiceEndpointBitBucketPtrOutput
	ToServiceEndpointBitBucketPtrOutputWithContext(ctx context.Context) ServiceEndpointBitBucketPtrOutput
}

type ServiceEndpointBitBucketPtrOutput added in v1.2.2

type ServiceEndpointBitBucketPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointBitBucketPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointBitBucketPtrOutput) ToServiceEndpointBitBucketPtrOutput added in v1.2.2

func (o ServiceEndpointBitBucketPtrOutput) ToServiceEndpointBitBucketPtrOutput() ServiceEndpointBitBucketPtrOutput

func (ServiceEndpointBitBucketPtrOutput) ToServiceEndpointBitBucketPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointBitBucketPtrOutput) ToServiceEndpointBitBucketPtrOutputWithContext(ctx context.Context) ServiceEndpointBitBucketPtrOutput

type ServiceEndpointBitBucketState

type ServiceEndpointBitBucketState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Bitbucket account password.
	Password pulumi.StringPtrInput
	// A bcrypted hash of the attribute 'password'
	PasswordHash pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// Bitbucket account username.
	Username pulumi.StringPtrInput
}

func (ServiceEndpointBitBucketState) ElementType

type ServiceEndpointDockerRegistry

type ServiceEndpointDockerRegistry struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The email for Docker account user.
	DockerEmail pulumi.StringPtrOutput `pulumi:"dockerEmail"`
	// The password for the account user identified above.
	DockerPassword pulumi.StringPtrOutput `pulumi:"dockerPassword"`
	// A bcrypted hash of the attribute 'docker_password'
	DockerPasswordHash pulumi.StringOutput `pulumi:"dockerPasswordHash"`
	// The URL of the Docker registry. (Default: "https://index.docker.io/v1/")
	DockerRegistry pulumi.StringOutput `pulumi:"dockerRegistry"`
	// The identifier of the Docker account user.
	DockerUsername pulumi.StringPtrOutput `pulumi:"dockerUsername"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Can be "DockerHub" or "Others" (Default "DockerHub")
	RegistryType pulumi.StringOutput `pulumi:"registryType"`
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a Docker Registry service endpoint within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointDockerRegistry(ctx, "dockerhubregistry", &azuredevops.ServiceEndpointDockerRegistryArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Docker Hub"),
			DockerUsername:      pulumi.String("sample"),
			DockerEmail:         pulumi.String("email@example.com"),
			DockerPassword:      pulumi.String("12345"),
			RegistryType:        pulumi.String("DockerHub"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointDockerRegistry(ctx, "otherregistry", &azuredevops.ServiceEndpointDockerRegistryArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Docker Registry"),
			DockerRegistry:      pulumi.String("https://sample.azurecr.io/v1"),
			DockerUsername:      pulumi.String("sample"),
			DockerPassword:      pulumi.String("12345"),
			RegistryType:        pulumi.String("Others"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1) - [Docker Registry Service Connection](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#sep-docreg)

## Import

Azure DevOps Service Endpoint Docker Registry can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointDockerRegistry:ServiceEndpointDockerRegistry serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointDockerRegistry

func GetServiceEndpointDockerRegistry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointDockerRegistryState, opts ...pulumi.ResourceOption) (*ServiceEndpointDockerRegistry, error)

GetServiceEndpointDockerRegistry gets an existing ServiceEndpointDockerRegistry 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 NewServiceEndpointDockerRegistry

func NewServiceEndpointDockerRegistry(ctx *pulumi.Context,
	name string, args *ServiceEndpointDockerRegistryArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointDockerRegistry, error)

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

func (*ServiceEndpointDockerRegistry) ElementType

func (*ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryOutput

func (i *ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryOutput() ServiceEndpointDockerRegistryOutput

func (*ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryOutputWithContext

func (i *ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryOutput

func (*ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryPtrOutput added in v1.2.2

func (i *ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryPtrOutput() ServiceEndpointDockerRegistryPtrOutput

func (*ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointDockerRegistry) ToServiceEndpointDockerRegistryPtrOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryPtrOutput

type ServiceEndpointDockerRegistryArgs

type ServiceEndpointDockerRegistryArgs struct {
	Authorization pulumi.StringMapInput
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrInput
	// The email for Docker account user.
	DockerEmail pulumi.StringPtrInput
	// The password for the account user identified above.
	DockerPassword pulumi.StringPtrInput
	// The URL of the Docker registry. (Default: "https://index.docker.io/v1/")
	DockerRegistry pulumi.StringInput
	// The identifier of the Docker account user.
	DockerUsername pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// Can be "DockerHub" or "Others" (Default "DockerHub")
	RegistryType pulumi.StringInput
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointDockerRegistry resource.

func (ServiceEndpointDockerRegistryArgs) ElementType

type ServiceEndpointDockerRegistryArray added in v1.2.2

type ServiceEndpointDockerRegistryArray []ServiceEndpointDockerRegistryInput

func (ServiceEndpointDockerRegistryArray) ElementType added in v1.2.2

func (ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutput added in v1.2.2

func (i ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutput() ServiceEndpointDockerRegistryArrayOutput

func (ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryArrayOutput

type ServiceEndpointDockerRegistryArrayInput added in v1.2.2

type ServiceEndpointDockerRegistryArrayInput interface {
	pulumi.Input

	ToServiceEndpointDockerRegistryArrayOutput() ServiceEndpointDockerRegistryArrayOutput
	ToServiceEndpointDockerRegistryArrayOutputWithContext(context.Context) ServiceEndpointDockerRegistryArrayOutput
}

ServiceEndpointDockerRegistryArrayInput is an input type that accepts ServiceEndpointDockerRegistryArray and ServiceEndpointDockerRegistryArrayOutput values. You can construct a concrete instance of `ServiceEndpointDockerRegistryArrayInput` via:

ServiceEndpointDockerRegistryArray{ ServiceEndpointDockerRegistryArgs{...} }

type ServiceEndpointDockerRegistryArrayOutput added in v1.2.2

type ServiceEndpointDockerRegistryArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointDockerRegistryArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointDockerRegistryArrayOutput) Index added in v1.2.2

func (ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutput added in v1.2.2

func (o ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutput() ServiceEndpointDockerRegistryArrayOutput

func (ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryArrayOutput

type ServiceEndpointDockerRegistryInput

type ServiceEndpointDockerRegistryInput interface {
	pulumi.Input

	ToServiceEndpointDockerRegistryOutput() ServiceEndpointDockerRegistryOutput
	ToServiceEndpointDockerRegistryOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryOutput
}

type ServiceEndpointDockerRegistryMap added in v1.2.2

type ServiceEndpointDockerRegistryMap map[string]ServiceEndpointDockerRegistryInput

func (ServiceEndpointDockerRegistryMap) ElementType added in v1.2.2

func (ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutput added in v1.2.2

func (i ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutput() ServiceEndpointDockerRegistryMapOutput

func (ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutputWithContext added in v1.2.2

func (i ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryMapOutput

type ServiceEndpointDockerRegistryMapInput added in v1.2.2

type ServiceEndpointDockerRegistryMapInput interface {
	pulumi.Input

	ToServiceEndpointDockerRegistryMapOutput() ServiceEndpointDockerRegistryMapOutput
	ToServiceEndpointDockerRegistryMapOutputWithContext(context.Context) ServiceEndpointDockerRegistryMapOutput
}

ServiceEndpointDockerRegistryMapInput is an input type that accepts ServiceEndpointDockerRegistryMap and ServiceEndpointDockerRegistryMapOutput values. You can construct a concrete instance of `ServiceEndpointDockerRegistryMapInput` via:

ServiceEndpointDockerRegistryMap{ "key": ServiceEndpointDockerRegistryArgs{...} }

type ServiceEndpointDockerRegistryMapOutput added in v1.2.2

type ServiceEndpointDockerRegistryMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointDockerRegistryMapOutput) ElementType added in v1.2.2

func (ServiceEndpointDockerRegistryMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutput added in v1.2.2

func (o ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutput() ServiceEndpointDockerRegistryMapOutput

func (ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutputWithContext added in v1.2.2

func (o ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryMapOutput

type ServiceEndpointDockerRegistryOutput

type ServiceEndpointDockerRegistryOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointDockerRegistryOutput) ElementType

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutput

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutput() ServiceEndpointDockerRegistryOutput

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutputWithContext

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryOutput

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryPtrOutput added in v1.2.2

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryPtrOutput() ServiceEndpointDockerRegistryPtrOutput

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryPtrOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryPtrOutput

type ServiceEndpointDockerRegistryPtrInput added in v1.2.2

type ServiceEndpointDockerRegistryPtrInput interface {
	pulumi.Input

	ToServiceEndpointDockerRegistryPtrOutput() ServiceEndpointDockerRegistryPtrOutput
	ToServiceEndpointDockerRegistryPtrOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryPtrOutput
}

type ServiceEndpointDockerRegistryPtrOutput added in v1.2.2

type ServiceEndpointDockerRegistryPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointDockerRegistryPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointDockerRegistryPtrOutput) ToServiceEndpointDockerRegistryPtrOutput added in v1.2.2

func (o ServiceEndpointDockerRegistryPtrOutput) ToServiceEndpointDockerRegistryPtrOutput() ServiceEndpointDockerRegistryPtrOutput

func (ServiceEndpointDockerRegistryPtrOutput) ToServiceEndpointDockerRegistryPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointDockerRegistryPtrOutput) ToServiceEndpointDockerRegistryPtrOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryPtrOutput

type ServiceEndpointDockerRegistryState

type ServiceEndpointDockerRegistryState struct {
	Authorization pulumi.StringMapInput
	// The name you will use to refer to this service connection in task inputs.
	Description pulumi.StringPtrInput
	// The email for Docker account user.
	DockerEmail pulumi.StringPtrInput
	// The password for the account user identified above.
	DockerPassword pulumi.StringPtrInput
	// A bcrypted hash of the attribute 'docker_password'
	DockerPasswordHash pulumi.StringPtrInput
	// The URL of the Docker registry. (Default: "https://index.docker.io/v1/")
	DockerRegistry pulumi.StringPtrInput
	// The identifier of the Docker account user.
	DockerUsername pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// Can be "DockerHub" or "Others" (Default "DockerHub")
	RegistryType pulumi.StringPtrInput
	// The name you will use to refer to this service connection in task inputs.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointDockerRegistryState) ElementType

type ServiceEndpointGitHub

type ServiceEndpointGitHub struct {
	pulumi.CustomResourceState

	// An `authOauth` block as documented below. Allows connecting using an Oauth token.
	AuthOauth ServiceEndpointGitHubAuthOauthPtrOutput `pulumi:"authOauth"`
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointGitHubAuthPersonalPtrOutput `pulumi:"authPersonal"`
	Authorization pulumi.StringMapOutput                     `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput                     `pulumi:"description"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a GitHub service endpoint within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGitHub(ctx, "serviceendpointGh1", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample GithHub Personal Access Token"),
			AuthPersonal: &azuredevops.ServiceEndpointGitHubAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewServiceEndpointGitHub(ctx, "serviceendpointGh2", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           pulumi.Any(azuredevops_project.Project.Id),
			ServiceEndpointName: pulumi.String("Sample GithHub Grant"),
			AuthOauth: &azuredevops.ServiceEndpointGitHubAuthOauthArgs{
				OauthConfigurationId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewServiceEndpointGitHub(ctx, "serviceendpointGh3", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           pulumi.Any(azuredevops_project.Project.Id),
			ServiceEndpointName: pulumi.String("Sample GithHub Apps: Azure Pipelines"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint GitHub can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointGitHub:ServiceEndpointGitHub serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointGitHub

func GetServiceEndpointGitHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointGitHubState, opts ...pulumi.ResourceOption) (*ServiceEndpointGitHub, error)

GetServiceEndpointGitHub gets an existing ServiceEndpointGitHub 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 NewServiceEndpointGitHub

func NewServiceEndpointGitHub(ctx *pulumi.Context,
	name string, args *ServiceEndpointGitHubArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointGitHub, error)

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

func (*ServiceEndpointGitHub) ElementType

func (*ServiceEndpointGitHub) ElementType() reflect.Type

func (*ServiceEndpointGitHub) ToServiceEndpointGitHubOutput

func (i *ServiceEndpointGitHub) ToServiceEndpointGitHubOutput() ServiceEndpointGitHubOutput

func (*ServiceEndpointGitHub) ToServiceEndpointGitHubOutputWithContext

func (i *ServiceEndpointGitHub) ToServiceEndpointGitHubOutputWithContext(ctx context.Context) ServiceEndpointGitHubOutput

func (*ServiceEndpointGitHub) ToServiceEndpointGitHubPtrOutput added in v1.2.2

func (i *ServiceEndpointGitHub) ToServiceEndpointGitHubPtrOutput() ServiceEndpointGitHubPtrOutput

func (*ServiceEndpointGitHub) ToServiceEndpointGitHubPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointGitHub) ToServiceEndpointGitHubPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubPtrOutput

type ServiceEndpointGitHubArgs

type ServiceEndpointGitHubArgs struct {
	// An `authOauth` block as documented below. Allows connecting using an Oauth token.
	AuthOauth ServiceEndpointGitHubAuthOauthPtrInput
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointGitHubAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointGitHub resource.

func (ServiceEndpointGitHubArgs) ElementType

func (ServiceEndpointGitHubArgs) ElementType() reflect.Type

type ServiceEndpointGitHubArray added in v1.2.2

type ServiceEndpointGitHubArray []ServiceEndpointGitHubInput

func (ServiceEndpointGitHubArray) ElementType added in v1.2.2

func (ServiceEndpointGitHubArray) ElementType() reflect.Type

func (ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutput added in v1.2.2

func (i ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutput() ServiceEndpointGitHubArrayOutput

func (ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutputWithContext(ctx context.Context) ServiceEndpointGitHubArrayOutput

type ServiceEndpointGitHubArrayInput added in v1.2.2

type ServiceEndpointGitHubArrayInput interface {
	pulumi.Input

	ToServiceEndpointGitHubArrayOutput() ServiceEndpointGitHubArrayOutput
	ToServiceEndpointGitHubArrayOutputWithContext(context.Context) ServiceEndpointGitHubArrayOutput
}

ServiceEndpointGitHubArrayInput is an input type that accepts ServiceEndpointGitHubArray and ServiceEndpointGitHubArrayOutput values. You can construct a concrete instance of `ServiceEndpointGitHubArrayInput` via:

ServiceEndpointGitHubArray{ ServiceEndpointGitHubArgs{...} }

type ServiceEndpointGitHubArrayOutput added in v1.2.2

type ServiceEndpointGitHubArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointGitHubArrayOutput) Index added in v1.2.2

func (ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutput added in v1.2.2

func (o ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutput() ServiceEndpointGitHubArrayOutput

func (ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutputWithContext(ctx context.Context) ServiceEndpointGitHubArrayOutput

type ServiceEndpointGitHubAuthOauth

type ServiceEndpointGitHubAuthOauth struct {
	OauthConfigurationId string `pulumi:"oauthConfigurationId"`
}

type ServiceEndpointGitHubAuthOauthArgs

type ServiceEndpointGitHubAuthOauthArgs struct {
	OauthConfigurationId pulumi.StringInput `pulumi:"oauthConfigurationId"`
}

func (ServiceEndpointGitHubAuthOauthArgs) ElementType

func (ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthOutput

func (i ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthOutput() ServiceEndpointGitHubAuthOauthOutput

func (ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthOutputWithContext

func (i ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthOauthOutput

func (ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthPtrOutput

func (i ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthPtrOutput() ServiceEndpointGitHubAuthOauthPtrOutput

func (ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext

func (i ServiceEndpointGitHubAuthOauthArgs) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthOauthPtrOutput

type ServiceEndpointGitHubAuthOauthInput

type ServiceEndpointGitHubAuthOauthInput interface {
	pulumi.Input

	ToServiceEndpointGitHubAuthOauthOutput() ServiceEndpointGitHubAuthOauthOutput
	ToServiceEndpointGitHubAuthOauthOutputWithContext(context.Context) ServiceEndpointGitHubAuthOauthOutput
}

ServiceEndpointGitHubAuthOauthInput is an input type that accepts ServiceEndpointGitHubAuthOauthArgs and ServiceEndpointGitHubAuthOauthOutput values. You can construct a concrete instance of `ServiceEndpointGitHubAuthOauthInput` via:

ServiceEndpointGitHubAuthOauthArgs{...}

type ServiceEndpointGitHubAuthOauthOutput

type ServiceEndpointGitHubAuthOauthOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubAuthOauthOutput) ElementType

func (ServiceEndpointGitHubAuthOauthOutput) OauthConfigurationId

func (o ServiceEndpointGitHubAuthOauthOutput) OauthConfigurationId() pulumi.StringOutput

func (ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthOutput

func (o ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthOutput() ServiceEndpointGitHubAuthOauthOutput

func (ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthOutputWithContext

func (o ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthOauthOutput

func (ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthPtrOutput

func (o ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthPtrOutput() ServiceEndpointGitHubAuthOauthPtrOutput

func (ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext

func (o ServiceEndpointGitHubAuthOauthOutput) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthOauthPtrOutput

type ServiceEndpointGitHubAuthOauthPtrInput

type ServiceEndpointGitHubAuthOauthPtrInput interface {
	pulumi.Input

	ToServiceEndpointGitHubAuthOauthPtrOutput() ServiceEndpointGitHubAuthOauthPtrOutput
	ToServiceEndpointGitHubAuthOauthPtrOutputWithContext(context.Context) ServiceEndpointGitHubAuthOauthPtrOutput
}

ServiceEndpointGitHubAuthOauthPtrInput is an input type that accepts ServiceEndpointGitHubAuthOauthArgs, ServiceEndpointGitHubAuthOauthPtr and ServiceEndpointGitHubAuthOauthPtrOutput values. You can construct a concrete instance of `ServiceEndpointGitHubAuthOauthPtrInput` via:

        ServiceEndpointGitHubAuthOauthArgs{...}

or:

        nil

type ServiceEndpointGitHubAuthOauthPtrOutput

type ServiceEndpointGitHubAuthOauthPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubAuthOauthPtrOutput) Elem

func (ServiceEndpointGitHubAuthOauthPtrOutput) ElementType

func (ServiceEndpointGitHubAuthOauthPtrOutput) OauthConfigurationId

func (ServiceEndpointGitHubAuthOauthPtrOutput) ToServiceEndpointGitHubAuthOauthPtrOutput

func (o ServiceEndpointGitHubAuthOauthPtrOutput) ToServiceEndpointGitHubAuthOauthPtrOutput() ServiceEndpointGitHubAuthOauthPtrOutput

func (ServiceEndpointGitHubAuthOauthPtrOutput) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext

func (o ServiceEndpointGitHubAuthOauthPtrOutput) ToServiceEndpointGitHubAuthOauthPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthOauthPtrOutput

type ServiceEndpointGitHubAuthPersonal

type ServiceEndpointGitHubAuthPersonal struct {
	// The Personal Access Token for Github.
	PersonalAccessToken     string  `pulumi:"personalAccessToken"`
	PersonalAccessTokenHash *string `pulumi:"personalAccessTokenHash"`
}

type ServiceEndpointGitHubAuthPersonalArgs

type ServiceEndpointGitHubAuthPersonalArgs struct {
	// The Personal Access Token for Github.
	PersonalAccessToken     pulumi.StringInput    `pulumi:"personalAccessToken"`
	PersonalAccessTokenHash pulumi.StringPtrInput `pulumi:"personalAccessTokenHash"`
}

func (ServiceEndpointGitHubAuthPersonalArgs) ElementType

func (ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalOutput

func (i ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalOutput() ServiceEndpointGitHubAuthPersonalOutput

func (ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalOutputWithContext

func (i ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalOutput

func (ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalPtrOutput

func (i ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalPtrOutput() ServiceEndpointGitHubAuthPersonalPtrOutput

func (ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext

func (i ServiceEndpointGitHubAuthPersonalArgs) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalPtrOutput

type ServiceEndpointGitHubAuthPersonalInput

type ServiceEndpointGitHubAuthPersonalInput interface {
	pulumi.Input

	ToServiceEndpointGitHubAuthPersonalOutput() ServiceEndpointGitHubAuthPersonalOutput
	ToServiceEndpointGitHubAuthPersonalOutputWithContext(context.Context) ServiceEndpointGitHubAuthPersonalOutput
}

ServiceEndpointGitHubAuthPersonalInput is an input type that accepts ServiceEndpointGitHubAuthPersonalArgs and ServiceEndpointGitHubAuthPersonalOutput values. You can construct a concrete instance of `ServiceEndpointGitHubAuthPersonalInput` via:

ServiceEndpointGitHubAuthPersonalArgs{...}

type ServiceEndpointGitHubAuthPersonalOutput

type ServiceEndpointGitHubAuthPersonalOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubAuthPersonalOutput) ElementType

func (ServiceEndpointGitHubAuthPersonalOutput) PersonalAccessToken

The Personal Access Token for Github.

func (ServiceEndpointGitHubAuthPersonalOutput) PersonalAccessTokenHash

func (ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalOutput

func (o ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalOutput() ServiceEndpointGitHubAuthPersonalOutput

func (ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalOutputWithContext

func (o ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalOutput

func (ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalPtrOutput

func (o ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalPtrOutput() ServiceEndpointGitHubAuthPersonalPtrOutput

func (ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext

func (o ServiceEndpointGitHubAuthPersonalOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalPtrOutput

type ServiceEndpointGitHubAuthPersonalPtrInput

type ServiceEndpointGitHubAuthPersonalPtrInput interface {
	pulumi.Input

	ToServiceEndpointGitHubAuthPersonalPtrOutput() ServiceEndpointGitHubAuthPersonalPtrOutput
	ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext(context.Context) ServiceEndpointGitHubAuthPersonalPtrOutput
}

ServiceEndpointGitHubAuthPersonalPtrInput is an input type that accepts ServiceEndpointGitHubAuthPersonalArgs, ServiceEndpointGitHubAuthPersonalPtr and ServiceEndpointGitHubAuthPersonalPtrOutput values. You can construct a concrete instance of `ServiceEndpointGitHubAuthPersonalPtrInput` via:

        ServiceEndpointGitHubAuthPersonalArgs{...}

or:

        nil

type ServiceEndpointGitHubAuthPersonalPtrOutput

type ServiceEndpointGitHubAuthPersonalPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubAuthPersonalPtrOutput) Elem

func (ServiceEndpointGitHubAuthPersonalPtrOutput) ElementType

func (ServiceEndpointGitHubAuthPersonalPtrOutput) PersonalAccessToken

The Personal Access Token for Github.

func (ServiceEndpointGitHubAuthPersonalPtrOutput) PersonalAccessTokenHash

func (ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutput

func (o ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutput() ServiceEndpointGitHubAuthPersonalPtrOutput

func (ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext

func (o ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalPtrOutput

type ServiceEndpointGitHubInput

type ServiceEndpointGitHubInput interface {
	pulumi.Input

	ToServiceEndpointGitHubOutput() ServiceEndpointGitHubOutput
	ToServiceEndpointGitHubOutputWithContext(ctx context.Context) ServiceEndpointGitHubOutput
}

type ServiceEndpointGitHubMap added in v1.2.2

type ServiceEndpointGitHubMap map[string]ServiceEndpointGitHubInput

func (ServiceEndpointGitHubMap) ElementType added in v1.2.2

func (ServiceEndpointGitHubMap) ElementType() reflect.Type

func (ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutput added in v1.2.2

func (i ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutput() ServiceEndpointGitHubMapOutput

func (ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutputWithContext added in v1.2.2

func (i ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubMapOutput

type ServiceEndpointGitHubMapInput added in v1.2.2

type ServiceEndpointGitHubMapInput interface {
	pulumi.Input

	ToServiceEndpointGitHubMapOutput() ServiceEndpointGitHubMapOutput
	ToServiceEndpointGitHubMapOutputWithContext(context.Context) ServiceEndpointGitHubMapOutput
}

ServiceEndpointGitHubMapInput is an input type that accepts ServiceEndpointGitHubMap and ServiceEndpointGitHubMapOutput values. You can construct a concrete instance of `ServiceEndpointGitHubMapInput` via:

ServiceEndpointGitHubMap{ "key": ServiceEndpointGitHubArgs{...} }

type ServiceEndpointGitHubMapOutput added in v1.2.2

type ServiceEndpointGitHubMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubMapOutput) ElementType added in v1.2.2

func (ServiceEndpointGitHubMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutput added in v1.2.2

func (o ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutput() ServiceEndpointGitHubMapOutput

func (ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutputWithContext added in v1.2.2

func (o ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubMapOutput

type ServiceEndpointGitHubOutput

type ServiceEndpointGitHubOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointGitHubOutput) ElementType

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutput

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutput() ServiceEndpointGitHubOutput

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutputWithContext

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutputWithContext(ctx context.Context) ServiceEndpointGitHubOutput

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubPtrOutput added in v1.2.2

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubPtrOutput() ServiceEndpointGitHubPtrOutput

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubPtrOutput

type ServiceEndpointGitHubPtrInput added in v1.2.2

type ServiceEndpointGitHubPtrInput interface {
	pulumi.Input

	ToServiceEndpointGitHubPtrOutput() ServiceEndpointGitHubPtrOutput
	ToServiceEndpointGitHubPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubPtrOutput
}

type ServiceEndpointGitHubPtrOutput added in v1.2.2

type ServiceEndpointGitHubPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointGitHubPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointGitHubPtrOutput) ToServiceEndpointGitHubPtrOutput added in v1.2.2

func (o ServiceEndpointGitHubPtrOutput) ToServiceEndpointGitHubPtrOutput() ServiceEndpointGitHubPtrOutput

func (ServiceEndpointGitHubPtrOutput) ToServiceEndpointGitHubPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointGitHubPtrOutput) ToServiceEndpointGitHubPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubPtrOutput

type ServiceEndpointGitHubState

type ServiceEndpointGitHubState struct {
	// An `authOauth` block as documented below. Allows connecting using an Oauth token.
	AuthOauth ServiceEndpointGitHubAuthOauthPtrInput
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointGitHubAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointGitHubState) ElementType

func (ServiceEndpointGitHubState) ElementType() reflect.Type

type ServiceEndpointKubernetes

type ServiceEndpointKubernetes struct {
	pulumi.CustomResourceState

	// The Service Endpoint description.
	ApiserverUrl  pulumi.StringOutput    `pulumi:"apiserverUrl"`
	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
	AuthorizationType pulumi.StringOutput `pulumi:"authorizationType"`
	// The configuration for authorization_type="AzureSubscription".
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayOutput `pulumi:"azureSubscriptions"`
	Description        pulumi.StringPtrOutput                                `pulumi:"description"`
	// The configuration for authorization_type="Kubeconfig".
	Kubeconfigs ServiceEndpointKubernetesKubeconfigArrayOutput `pulumi:"kubeconfigs"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
	ServiceAccounts ServiceEndpointKubernetesServiceAccountArrayOutput `pulumi:"serviceAccounts"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a Kubernetes service endpoint within Azure DevOps.

## Relevant Links

- [Azure DevOps Service REST API 5.1 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh

$ pulumi import azuredevops:index/serviceEndpointKubernetes:ServiceEndpointKubernetes serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointKubernetes

func GetServiceEndpointKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointKubernetesState, opts ...pulumi.ResourceOption) (*ServiceEndpointKubernetes, error)

GetServiceEndpointKubernetes gets an existing ServiceEndpointKubernetes 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 NewServiceEndpointKubernetes

func NewServiceEndpointKubernetes(ctx *pulumi.Context,
	name string, args *ServiceEndpointKubernetesArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointKubernetes, error)

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

func (*ServiceEndpointKubernetes) ElementType

func (*ServiceEndpointKubernetes) ElementType() reflect.Type

func (*ServiceEndpointKubernetes) ToServiceEndpointKubernetesOutput

func (i *ServiceEndpointKubernetes) ToServiceEndpointKubernetesOutput() ServiceEndpointKubernetesOutput

func (*ServiceEndpointKubernetes) ToServiceEndpointKubernetesOutputWithContext

func (i *ServiceEndpointKubernetes) ToServiceEndpointKubernetesOutputWithContext(ctx context.Context) ServiceEndpointKubernetesOutput

func (*ServiceEndpointKubernetes) ToServiceEndpointKubernetesPtrOutput added in v1.2.2

func (i *ServiceEndpointKubernetes) ToServiceEndpointKubernetesPtrOutput() ServiceEndpointKubernetesPtrOutput

func (*ServiceEndpointKubernetes) ToServiceEndpointKubernetesPtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointKubernetes) ToServiceEndpointKubernetesPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesPtrOutput

type ServiceEndpointKubernetesArgs

type ServiceEndpointKubernetesArgs struct {
	// The Service Endpoint description.
	ApiserverUrl  pulumi.StringInput
	Authorization pulumi.StringMapInput
	// The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
	AuthorizationType pulumi.StringInput
	// The configuration for authorization_type="AzureSubscription".
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayInput
	Description        pulumi.StringPtrInput
	// The configuration for authorization_type="Kubeconfig".
	Kubeconfigs ServiceEndpointKubernetesKubeconfigArrayInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
	ServiceAccounts ServiceEndpointKubernetesServiceAccountArrayInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointKubernetes resource.

func (ServiceEndpointKubernetesArgs) ElementType

type ServiceEndpointKubernetesArray added in v1.2.2

type ServiceEndpointKubernetesArray []ServiceEndpointKubernetesInput

func (ServiceEndpointKubernetesArray) ElementType added in v1.2.2

func (ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutput added in v1.2.2

func (i ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutput() ServiceEndpointKubernetesArrayOutput

func (ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesArrayOutput

type ServiceEndpointKubernetesArrayInput added in v1.2.2

type ServiceEndpointKubernetesArrayInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesArrayOutput() ServiceEndpointKubernetesArrayOutput
	ToServiceEndpointKubernetesArrayOutputWithContext(context.Context) ServiceEndpointKubernetesArrayOutput
}

ServiceEndpointKubernetesArrayInput is an input type that accepts ServiceEndpointKubernetesArray and ServiceEndpointKubernetesArrayOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesArrayInput` via:

ServiceEndpointKubernetesArray{ ServiceEndpointKubernetesArgs{...} }

type ServiceEndpointKubernetesArrayOutput added in v1.2.2

type ServiceEndpointKubernetesArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointKubernetesArrayOutput) Index added in v1.2.2

func (ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutput added in v1.2.2

func (o ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutput() ServiceEndpointKubernetesArrayOutput

func (ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesArrayOutput

type ServiceEndpointKubernetesAzureSubscription

type ServiceEndpointKubernetesAzureSubscription struct {
	// Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
	AzureEnvironment *string `pulumi:"azureEnvironment"`
	// Set this option to allow use cluster admin credentials.
	ClusterAdmin *bool `pulumi:"clusterAdmin"`
	// The name of the Kubernetes cluster.
	ClusterName string `pulumi:"clusterName"`
	// The Kubernetes namespace. Default value is "default".
	Namespace *string `pulumi:"namespace"`
	// The resource group name, to which the Kubernetes cluster is deployed.
	ResourcegroupId string `pulumi:"resourcegroupId"`
	// The id of the Azure subscription.
	SubscriptionId string `pulumi:"subscriptionId"`
	// The name of the Azure subscription.
	SubscriptionName string `pulumi:"subscriptionName"`
	// The id of the tenant used by the subscription.
	TenantId string `pulumi:"tenantId"`
}

type ServiceEndpointKubernetesAzureSubscriptionArgs

type ServiceEndpointKubernetesAzureSubscriptionArgs struct {
	// Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.
	AzureEnvironment pulumi.StringPtrInput `pulumi:"azureEnvironment"`
	// Set this option to allow use cluster admin credentials.
	ClusterAdmin pulumi.BoolPtrInput `pulumi:"clusterAdmin"`
	// The name of the Kubernetes cluster.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The Kubernetes namespace. Default value is "default".
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The resource group name, to which the Kubernetes cluster is deployed.
	ResourcegroupId pulumi.StringInput `pulumi:"resourcegroupId"`
	// The id of the Azure subscription.
	SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"`
	// The name of the Azure subscription.
	SubscriptionName pulumi.StringInput `pulumi:"subscriptionName"`
	// The id of the tenant used by the subscription.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
}

func (ServiceEndpointKubernetesAzureSubscriptionArgs) ElementType

func (ServiceEndpointKubernetesAzureSubscriptionArgs) ToServiceEndpointKubernetesAzureSubscriptionOutput

func (i ServiceEndpointKubernetesAzureSubscriptionArgs) ToServiceEndpointKubernetesAzureSubscriptionOutput() ServiceEndpointKubernetesAzureSubscriptionOutput

func (ServiceEndpointKubernetesAzureSubscriptionArgs) ToServiceEndpointKubernetesAzureSubscriptionOutputWithContext

func (i ServiceEndpointKubernetesAzureSubscriptionArgs) ToServiceEndpointKubernetesAzureSubscriptionOutputWithContext(ctx context.Context) ServiceEndpointKubernetesAzureSubscriptionOutput

type ServiceEndpointKubernetesAzureSubscriptionArray

type ServiceEndpointKubernetesAzureSubscriptionArray []ServiceEndpointKubernetesAzureSubscriptionInput

func (ServiceEndpointKubernetesAzureSubscriptionArray) ElementType

func (ServiceEndpointKubernetesAzureSubscriptionArray) ToServiceEndpointKubernetesAzureSubscriptionArrayOutput

func (i ServiceEndpointKubernetesAzureSubscriptionArray) ToServiceEndpointKubernetesAzureSubscriptionArrayOutput() ServiceEndpointKubernetesAzureSubscriptionArrayOutput

func (ServiceEndpointKubernetesAzureSubscriptionArray) ToServiceEndpointKubernetesAzureSubscriptionArrayOutputWithContext

func (i ServiceEndpointKubernetesAzureSubscriptionArray) ToServiceEndpointKubernetesAzureSubscriptionArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesAzureSubscriptionArrayOutput

type ServiceEndpointKubernetesAzureSubscriptionArrayInput

type ServiceEndpointKubernetesAzureSubscriptionArrayInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesAzureSubscriptionArrayOutput() ServiceEndpointKubernetesAzureSubscriptionArrayOutput
	ToServiceEndpointKubernetesAzureSubscriptionArrayOutputWithContext(context.Context) ServiceEndpointKubernetesAzureSubscriptionArrayOutput
}

ServiceEndpointKubernetesAzureSubscriptionArrayInput is an input type that accepts ServiceEndpointKubernetesAzureSubscriptionArray and ServiceEndpointKubernetesAzureSubscriptionArrayOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesAzureSubscriptionArrayInput` via:

ServiceEndpointKubernetesAzureSubscriptionArray{ ServiceEndpointKubernetesAzureSubscriptionArgs{...} }

type ServiceEndpointKubernetesAzureSubscriptionArrayOutput

type ServiceEndpointKubernetesAzureSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesAzureSubscriptionArrayOutput) ElementType

func (ServiceEndpointKubernetesAzureSubscriptionArrayOutput) Index

func (ServiceEndpointKubernetesAzureSubscriptionArrayOutput) ToServiceEndpointKubernetesAzureSubscriptionArrayOutput

func (ServiceEndpointKubernetesAzureSubscriptionArrayOutput) ToServiceEndpointKubernetesAzureSubscriptionArrayOutputWithContext

func (o ServiceEndpointKubernetesAzureSubscriptionArrayOutput) ToServiceEndpointKubernetesAzureSubscriptionArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesAzureSubscriptionArrayOutput

type ServiceEndpointKubernetesAzureSubscriptionInput

type ServiceEndpointKubernetesAzureSubscriptionInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesAzureSubscriptionOutput() ServiceEndpointKubernetesAzureSubscriptionOutput
	ToServiceEndpointKubernetesAzureSubscriptionOutputWithContext(context.Context) ServiceEndpointKubernetesAzureSubscriptionOutput
}

ServiceEndpointKubernetesAzureSubscriptionInput is an input type that accepts ServiceEndpointKubernetesAzureSubscriptionArgs and ServiceEndpointKubernetesAzureSubscriptionOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesAzureSubscriptionInput` via:

ServiceEndpointKubernetesAzureSubscriptionArgs{...}

type ServiceEndpointKubernetesAzureSubscriptionOutput

type ServiceEndpointKubernetesAzureSubscriptionOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesAzureSubscriptionOutput) AzureEnvironment

Azure environment refers to whether the public cloud offering or domestic (government) clouds are being used. Currently, only the public cloud is supported. The value must be AzureCloud. This is also the default-value.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ClusterAdmin added in v1.1.1

Set this option to allow use cluster admin credentials.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ClusterName

The name of the Kubernetes cluster.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ElementType

func (ServiceEndpointKubernetesAzureSubscriptionOutput) Namespace

The Kubernetes namespace. Default value is "default".

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ResourcegroupId

The resource group name, to which the Kubernetes cluster is deployed.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) SubscriptionId

The id of the Azure subscription.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) SubscriptionName

The name of the Azure subscription.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) TenantId

The id of the tenant used by the subscription.

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ToServiceEndpointKubernetesAzureSubscriptionOutput

func (o ServiceEndpointKubernetesAzureSubscriptionOutput) ToServiceEndpointKubernetesAzureSubscriptionOutput() ServiceEndpointKubernetesAzureSubscriptionOutput

func (ServiceEndpointKubernetesAzureSubscriptionOutput) ToServiceEndpointKubernetesAzureSubscriptionOutputWithContext

func (o ServiceEndpointKubernetesAzureSubscriptionOutput) ToServiceEndpointKubernetesAzureSubscriptionOutputWithContext(ctx context.Context) ServiceEndpointKubernetesAzureSubscriptionOutput

type ServiceEndpointKubernetesInput

type ServiceEndpointKubernetesInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesOutput() ServiceEndpointKubernetesOutput
	ToServiceEndpointKubernetesOutputWithContext(ctx context.Context) ServiceEndpointKubernetesOutput
}

type ServiceEndpointKubernetesKubeconfig

type ServiceEndpointKubernetesKubeconfig struct {
	// Set this option to allow clients to accept a self-signed certificate.
	AcceptUntrustedCerts *bool `pulumi:"acceptUntrustedCerts"`
	// Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
	ClusterContext *string `pulumi:"clusterContext"`
	// The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
	KubeConfig     string  `pulumi:"kubeConfig"`
	KubeConfigHash *string `pulumi:"kubeConfigHash"`
}

type ServiceEndpointKubernetesKubeconfigArgs

type ServiceEndpointKubernetesKubeconfigArgs struct {
	// Set this option to allow clients to accept a self-signed certificate.
	AcceptUntrustedCerts pulumi.BoolPtrInput `pulumi:"acceptUntrustedCerts"`
	// Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.
	ClusterContext pulumi.StringPtrInput `pulumi:"clusterContext"`
	// The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.
	KubeConfig     pulumi.StringInput    `pulumi:"kubeConfig"`
	KubeConfigHash pulumi.StringPtrInput `pulumi:"kubeConfigHash"`
}

func (ServiceEndpointKubernetesKubeconfigArgs) ElementType

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutput

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutput() ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutputWithContext

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigOutput

type ServiceEndpointKubernetesKubeconfigArray

type ServiceEndpointKubernetesKubeconfigArray []ServiceEndpointKubernetesKubeconfigInput

func (ServiceEndpointKubernetesKubeconfigArray) ElementType

func (ServiceEndpointKubernetesKubeconfigArray) ToServiceEndpointKubernetesKubeconfigArrayOutput

func (i ServiceEndpointKubernetesKubeconfigArray) ToServiceEndpointKubernetesKubeconfigArrayOutput() ServiceEndpointKubernetesKubeconfigArrayOutput

func (ServiceEndpointKubernetesKubeconfigArray) ToServiceEndpointKubernetesKubeconfigArrayOutputWithContext

func (i ServiceEndpointKubernetesKubeconfigArray) ToServiceEndpointKubernetesKubeconfigArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigArrayOutput

type ServiceEndpointKubernetesKubeconfigArrayInput

type ServiceEndpointKubernetesKubeconfigArrayInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesKubeconfigArrayOutput() ServiceEndpointKubernetesKubeconfigArrayOutput
	ToServiceEndpointKubernetesKubeconfigArrayOutputWithContext(context.Context) ServiceEndpointKubernetesKubeconfigArrayOutput
}

ServiceEndpointKubernetesKubeconfigArrayInput is an input type that accepts ServiceEndpointKubernetesKubeconfigArray and ServiceEndpointKubernetesKubeconfigArrayOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesKubeconfigArrayInput` via:

ServiceEndpointKubernetesKubeconfigArray{ ServiceEndpointKubernetesKubeconfigArgs{...} }

type ServiceEndpointKubernetesKubeconfigArrayOutput

type ServiceEndpointKubernetesKubeconfigArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesKubeconfigArrayOutput) ElementType

func (ServiceEndpointKubernetesKubeconfigArrayOutput) Index

func (ServiceEndpointKubernetesKubeconfigArrayOutput) ToServiceEndpointKubernetesKubeconfigArrayOutput

func (o ServiceEndpointKubernetesKubeconfigArrayOutput) ToServiceEndpointKubernetesKubeconfigArrayOutput() ServiceEndpointKubernetesKubeconfigArrayOutput

func (ServiceEndpointKubernetesKubeconfigArrayOutput) ToServiceEndpointKubernetesKubeconfigArrayOutputWithContext

func (o ServiceEndpointKubernetesKubeconfigArrayOutput) ToServiceEndpointKubernetesKubeconfigArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigArrayOutput

type ServiceEndpointKubernetesKubeconfigInput

type ServiceEndpointKubernetesKubeconfigInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesKubeconfigOutput() ServiceEndpointKubernetesKubeconfigOutput
	ToServiceEndpointKubernetesKubeconfigOutputWithContext(context.Context) ServiceEndpointKubernetesKubeconfigOutput
}

ServiceEndpointKubernetesKubeconfigInput is an input type that accepts ServiceEndpointKubernetesKubeconfigArgs and ServiceEndpointKubernetesKubeconfigOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesKubeconfigInput` via:

ServiceEndpointKubernetesKubeconfigArgs{...}

type ServiceEndpointKubernetesKubeconfigOutput

type ServiceEndpointKubernetesKubeconfigOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesKubeconfigOutput) AcceptUntrustedCerts

Set this option to allow clients to accept a self-signed certificate.

func (ServiceEndpointKubernetesKubeconfigOutput) ClusterContext

Context within the kubeconfig file that is to be used for identifying the cluster. Default value is the current-context set in kubeconfig.

func (ServiceEndpointKubernetesKubeconfigOutput) ElementType

func (ServiceEndpointKubernetesKubeconfigOutput) KubeConfig

The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.

func (ServiceEndpointKubernetesKubeconfigOutput) KubeConfigHash

func (ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutput

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutput() ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutputWithContext

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigOutput

type ServiceEndpointKubernetesMap added in v1.2.2

type ServiceEndpointKubernetesMap map[string]ServiceEndpointKubernetesInput

func (ServiceEndpointKubernetesMap) ElementType added in v1.2.2

func (ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutput added in v1.2.2

func (i ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutput() ServiceEndpointKubernetesMapOutput

func (ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutputWithContext added in v1.2.2

func (i ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutputWithContext(ctx context.Context) ServiceEndpointKubernetesMapOutput

type ServiceEndpointKubernetesMapInput added in v1.2.2

type ServiceEndpointKubernetesMapInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesMapOutput() ServiceEndpointKubernetesMapOutput
	ToServiceEndpointKubernetesMapOutputWithContext(context.Context) ServiceEndpointKubernetesMapOutput
}

ServiceEndpointKubernetesMapInput is an input type that accepts ServiceEndpointKubernetesMap and ServiceEndpointKubernetesMapOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesMapInput` via:

ServiceEndpointKubernetesMap{ "key": ServiceEndpointKubernetesArgs{...} }

type ServiceEndpointKubernetesMapOutput added in v1.2.2

type ServiceEndpointKubernetesMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesMapOutput) ElementType added in v1.2.2

func (ServiceEndpointKubernetesMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutput added in v1.2.2

func (o ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutput() ServiceEndpointKubernetesMapOutput

func (ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutputWithContext added in v1.2.2

func (o ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutputWithContext(ctx context.Context) ServiceEndpointKubernetesMapOutput

type ServiceEndpointKubernetesOutput

type ServiceEndpointKubernetesOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointKubernetesOutput) ElementType

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutput

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutput() ServiceEndpointKubernetesOutput

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutputWithContext

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutputWithContext(ctx context.Context) ServiceEndpointKubernetesOutput

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesPtrOutput added in v1.2.2

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesPtrOutput() ServiceEndpointKubernetesPtrOutput

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesPtrOutput

type ServiceEndpointKubernetesPtrInput added in v1.2.2

type ServiceEndpointKubernetesPtrInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesPtrOutput() ServiceEndpointKubernetesPtrOutput
	ToServiceEndpointKubernetesPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesPtrOutput
}

type ServiceEndpointKubernetesPtrOutput added in v1.2.2

type ServiceEndpointKubernetesPtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointKubernetesPtrOutput) ElementType added in v1.2.2

func (ServiceEndpointKubernetesPtrOutput) ToServiceEndpointKubernetesPtrOutput added in v1.2.2

func (o ServiceEndpointKubernetesPtrOutput) ToServiceEndpointKubernetesPtrOutput() ServiceEndpointKubernetesPtrOutput

func (ServiceEndpointKubernetesPtrOutput) ToServiceEndpointKubernetesPtrOutputWithContext added in v1.2.2

func (o ServiceEndpointKubernetesPtrOutput) ToServiceEndpointKubernetesPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesPtrOutput

type ServiceEndpointKubernetesServiceAccount

type ServiceEndpointKubernetesServiceAccount struct {
	// The certificate from a Kubernetes secret object.
	CaCert     string  `pulumi:"caCert"`
	CaCertHash *string `pulumi:"caCertHash"`
	// The token from a Kubernetes secret object.
	Token     string  `pulumi:"token"`
	TokenHash *string `pulumi:"tokenHash"`
}

type ServiceEndpointKubernetesServiceAccountArgs

type ServiceEndpointKubernetesServiceAccountArgs struct {
	// The certificate from a Kubernetes secret object.
	CaCert     pulumi.StringInput    `pulumi:"caCert"`
	CaCertHash pulumi.StringPtrInput `pulumi:"caCertHash"`
	// The token from a Kubernetes secret object.
	Token     pulumi.StringInput    `pulumi:"token"`
	TokenHash pulumi.StringPtrInput `pulumi:"tokenHash"`
}

func (ServiceEndpointKubernetesServiceAccountArgs) ElementType

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutput

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutput() ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutputWithContext

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountOutput

type ServiceEndpointKubernetesServiceAccountArray

type ServiceEndpointKubernetesServiceAccountArray []ServiceEndpointKubernetesServiceAccountInput

func (ServiceEndpointKubernetesServiceAccountArray) ElementType

func (ServiceEndpointKubernetesServiceAccountArray) ToServiceEndpointKubernetesServiceAccountArrayOutput

func (i ServiceEndpointKubernetesServiceAccountArray) ToServiceEndpointKubernetesServiceAccountArrayOutput() ServiceEndpointKubernetesServiceAccountArrayOutput

func (ServiceEndpointKubernetesServiceAccountArray) ToServiceEndpointKubernetesServiceAccountArrayOutputWithContext

func (i ServiceEndpointKubernetesServiceAccountArray) ToServiceEndpointKubernetesServiceAccountArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountArrayOutput

type ServiceEndpointKubernetesServiceAccountArrayInput

type ServiceEndpointKubernetesServiceAccountArrayInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesServiceAccountArrayOutput() ServiceEndpointKubernetesServiceAccountArrayOutput
	ToServiceEndpointKubernetesServiceAccountArrayOutputWithContext(context.Context) ServiceEndpointKubernetesServiceAccountArrayOutput
}

ServiceEndpointKubernetesServiceAccountArrayInput is an input type that accepts ServiceEndpointKubernetesServiceAccountArray and ServiceEndpointKubernetesServiceAccountArrayOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesServiceAccountArrayInput` via:

ServiceEndpointKubernetesServiceAccountArray{ ServiceEndpointKubernetesServiceAccountArgs{...} }

type ServiceEndpointKubernetesServiceAccountArrayOutput

type ServiceEndpointKubernetesServiceAccountArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesServiceAccountArrayOutput) ElementType

func (ServiceEndpointKubernetesServiceAccountArrayOutput) Index

func (ServiceEndpointKubernetesServiceAccountArrayOutput) ToServiceEndpointKubernetesServiceAccountArrayOutput

func (o ServiceEndpointKubernetesServiceAccountArrayOutput) ToServiceEndpointKubernetesServiceAccountArrayOutput() ServiceEndpointKubernetesServiceAccountArrayOutput

func (ServiceEndpointKubernetesServiceAccountArrayOutput) ToServiceEndpointKubernetesServiceAccountArrayOutputWithContext

func (o ServiceEndpointKubernetesServiceAccountArrayOutput) ToServiceEndpointKubernetesServiceAccountArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountArrayOutput

type ServiceEndpointKubernetesServiceAccountInput

type ServiceEndpointKubernetesServiceAccountInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesServiceAccountOutput() ServiceEndpointKubernetesServiceAccountOutput
	ToServiceEndpointKubernetesServiceAccountOutputWithContext(context.Context) ServiceEndpointKubernetesServiceAccountOutput
}

ServiceEndpointKubernetesServiceAccountInput is an input type that accepts ServiceEndpointKubernetesServiceAccountArgs and ServiceEndpointKubernetesServiceAccountOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesServiceAccountInput` via:

ServiceEndpointKubernetesServiceAccountArgs{...}

type ServiceEndpointKubernetesServiceAccountOutput

type ServiceEndpointKubernetesServiceAccountOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesServiceAccountOutput) CaCert

The certificate from a Kubernetes secret object.

func (ServiceEndpointKubernetesServiceAccountOutput) CaCertHash

func (ServiceEndpointKubernetesServiceAccountOutput) ElementType

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutput

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutput() ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutputWithContext

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountOutput) Token

The token from a Kubernetes secret object.

func (ServiceEndpointKubernetesServiceAccountOutput) TokenHash

type ServiceEndpointKubernetesState

type ServiceEndpointKubernetesState struct {
	// The Service Endpoint description.
	ApiserverUrl  pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	// The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
	AuthorizationType pulumi.StringPtrInput
	// The configuration for authorization_type="AzureSubscription".
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayInput
	Description        pulumi.StringPtrInput
	// The configuration for authorization_type="Kubeconfig".
	Kubeconfigs ServiceEndpointKubernetesKubeconfigArrayInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The configuration for authorization_type="ServiceAccount". This type uses the credentials of a service account currently deployed to the cluster.
	ServiceAccounts ServiceEndpointKubernetesServiceAccountArrayInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointKubernetesState) ElementType

type ServiceEndpointPipeline added in v1.1.1

type ServiceEndpointPipeline struct {
	pulumi.CustomResourceState

	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointPipelineAuthPersonalOutput `pulumi:"authPersonal"`
	Authorization pulumi.StringMapOutput                    `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput                    `pulumi:"description"`
	// The organization name used for `Organization Url` and `Release API Url` fields.
	OrganizationName pulumi.StringOutput `pulumi:"organizationName"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a Azure DevOps Service Connection service endpoint within Azure DevOps. Allows to run downstream pipelines, monitoring their execution, collecting and consolidating artefacts produced in the delegate pipelines (yaml block `task: RunPipelines@1`). More details on Marketplace page: [RunPipelines](https://marketplace.visualstudio.com/items?itemName=CSE-DevOps.RunPipelines)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointPipeline(ctx, "serviceendpoint", &azuredevops.ServiceEndpointPipelineArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Pipeline Runner"),
			OrganizationName:    pulumi.String("MyOrganization"),
			AuthPersonal: &azuredevops.ServiceEndpointPipelineAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
			Description: pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-5.1)

## Import

Azure DevOps Service Endpoint can be imported using the `project id`, `service connection id`, e.g.

```sh

$ pulumi import azuredevops:index/serviceEndpointPipeline:ServiceEndpointPipeline serviceendpoint projectID/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointPipeline added in v1.1.1

func GetServiceEndpointPipeline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointPipelineState, opts ...pulumi.ResourceOption) (*ServiceEndpointPipeline, error)

GetServiceEndpointPipeline gets an existing ServiceEndpointPipeline 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 NewServiceEndpointPipeline added in v1.1.1

func NewServiceEndpointPipeline(ctx *pulumi.Context,
	name string, args *ServiceEndpointPipelineArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointPipeline, error)

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

func (*ServiceEndpointPipeline) ElementType added in v1.1.1

func (*ServiceEndpointPipeline) ElementType() reflect.Type

func (*ServiceEndpointPipeline) ToServiceEndpointPipelineOutput added in v1.1.1

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput

func (*ServiceEndpointPipeline) ToServiceEndpointPipelineOutputWithContext added in v1.1.1

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput

func (*ServiceEndpointPipeline) ToServiceEndpointPipelinePtrOutput added in v1.2.2

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelinePtrOutput() ServiceEndpointPipelinePtrOutput

func (*ServiceEndpointPipeline) ToServiceEndpointPipelinePtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelinePtrOutputWithContext(ctx context.Context) ServiceEndpointPipelinePtrOutput

type ServiceEndpointPipelineArgs added in v1.1.1

type ServiceEndpointPipelineArgs struct {
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointPipelineAuthPersonalInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The organization name used for `Organization Url` and `Release API Url` fields.
	OrganizationName pulumi.StringInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointPipeline resource.

func (ServiceEndpointPipelineArgs) ElementType added in v1.1.1

type ServiceEndpointPipelineArray added in v1.2.2

type ServiceEndpointPipelineArray []ServiceEndpointPipelineInput

func (ServiceEndpointPipelineArray) ElementType added in v1.2.2

func (ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutput added in v1.2.2

func (i ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutput() ServiceEndpointPipelineArrayOutput

func (ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutputWithContext(ctx context.Context) ServiceEndpointPipelineArrayOutput

type ServiceEndpointPipelineArrayInput added in v1.2.2

type ServiceEndpointPipelineArrayInput interface {
	pulumi.Input

	ToServiceEndpointPipelineArrayOutput() ServiceEndpointPipelineArrayOutput
	ToServiceEndpointPipelineArrayOutputWithContext(context.Context) ServiceEndpointPipelineArrayOutput
}

ServiceEndpointPipelineArrayInput is an input type that accepts ServiceEndpointPipelineArray and ServiceEndpointPipelineArrayOutput values. You can construct a concrete instance of `ServiceEndpointPipelineArrayInput` via:

ServiceEndpointPipelineArray{ ServiceEndpointPipelineArgs{...} }

type ServiceEndpointPipelineArrayOutput added in v1.2.2

type ServiceEndpointPipelineArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointPipelineArrayOutput) Index added in v1.2.2

func (ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutput added in v1.2.2

func (o ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutput() ServiceEndpointPipelineArrayOutput

func (ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutputWithContext(ctx context.Context) ServiceEndpointPipelineArrayOutput

type ServiceEndpointPipelineAuthPersonal added in v1.1.1

type ServiceEndpointPipelineAuthPersonal struct {
	// The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.
	PersonalAccessToken     string  `pulumi:"personalAccessToken"`
	PersonalAccessTokenHash *string `pulumi:"personalAccessTokenHash"`
}

type ServiceEndpointPipelineAuthPersonalArgs added in v1.1.1

type ServiceEndpointPipelineAuthPersonalArgs struct {
	// The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.
	PersonalAccessToken     pulumi.StringInput    `pulumi:"personalAccessToken"`
	PersonalAccessTokenHash pulumi.StringPtrInput `pulumi:"personalAccessTokenHash"`
}

func (ServiceEndpointPipelineAuthPersonalArgs) ElementType added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutput added in v1.1.1

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutput() ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutputWithContext added in v1.1.1

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutput added in v1.1.1

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext added in v1.1.1

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineAuthPersonalInput added in v1.1.1

type ServiceEndpointPipelineAuthPersonalInput interface {
	pulumi.Input

	ToServiceEndpointPipelineAuthPersonalOutput() ServiceEndpointPipelineAuthPersonalOutput
	ToServiceEndpointPipelineAuthPersonalOutputWithContext(context.Context) ServiceEndpointPipelineAuthPersonalOutput
}

ServiceEndpointPipelineAuthPersonalInput is an input type that accepts ServiceEndpointPipelineAuthPersonalArgs and ServiceEndpointPipelineAuthPersonalOutput values. You can construct a concrete instance of `ServiceEndpointPipelineAuthPersonalInput` via:

ServiceEndpointPipelineAuthPersonalArgs{...}

type ServiceEndpointPipelineAuthPersonalOutput added in v1.1.1

type ServiceEndpointPipelineAuthPersonalOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineAuthPersonalOutput) ElementType added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalOutput) PersonalAccessToken added in v1.1.1

The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.

func (ServiceEndpointPipelineAuthPersonalOutput) PersonalAccessTokenHash added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutput added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutput() ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutputWithContext added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineAuthPersonalPtrInput added in v1.1.1

type ServiceEndpointPipelineAuthPersonalPtrInput interface {
	pulumi.Input

	ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput
	ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput
}

ServiceEndpointPipelineAuthPersonalPtrInput is an input type that accepts ServiceEndpointPipelineAuthPersonalArgs, ServiceEndpointPipelineAuthPersonalPtr and ServiceEndpointPipelineAuthPersonalPtrOutput values. You can construct a concrete instance of `ServiceEndpointPipelineAuthPersonalPtrInput` via:

        ServiceEndpointPipelineAuthPersonalArgs{...}

or:

        nil

type ServiceEndpointPipelineAuthPersonalPtrOutput added in v1.1.1

type ServiceEndpointPipelineAuthPersonalPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineAuthPersonalPtrOutput) Elem added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ElementType added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalPtrOutput) PersonalAccessToken added in v1.1.1

The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.

func (ServiceEndpointPipelineAuthPersonalPtrOutput) PersonalAccessTokenHash added in v1.1.1

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext added in v1.1.1

func (o ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineInput added in v1.1.1

type ServiceEndpointPipelineInput interface {
	pulumi.Input

	ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput
	ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput
}

type ServiceEndpointPipelineMap added in v1.2.2

type ServiceEndpointPipelineMap map[string]ServiceEndpointPipelineInput

func (ServiceEndpointPipelineMap) ElementType added in v1.2.2

func (ServiceEndpointPipelineMap) ElementType() reflect.Type

func (ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutput added in v1.2.2

func (i ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutput() ServiceEndpointPipelineMapOutput

func (ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutputWithContext added in v1.2.2

func (i ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutputWithContext(ctx context.Context) ServiceEndpointPipelineMapOutput

type ServiceEndpointPipelineMapInput added in v1.2.2

type ServiceEndpointPipelineMapInput interface {
	pulumi.Input

	ToServiceEndpointPipelineMapOutput() ServiceEndpointPipelineMapOutput
	ToServiceEndpointPipelineMapOutputWithContext(context.Context) ServiceEndpointPipelineMapOutput
}

ServiceEndpointPipelineMapInput is an input type that accepts ServiceEndpointPipelineMap and ServiceEndpointPipelineMapOutput values. You can construct a concrete instance of `ServiceEndpointPipelineMapInput` via:

ServiceEndpointPipelineMap{ "key": ServiceEndpointPipelineArgs{...} }

type ServiceEndpointPipelineMapOutput added in v1.2.2

type ServiceEndpointPipelineMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineMapOutput) ElementType added in v1.2.2

func (ServiceEndpointPipelineMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutput added in v1.2.2

func (o ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutput() ServiceEndpointPipelineMapOutput

func (ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutputWithContext added in v1.2.2

func (o ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutputWithContext(ctx context.Context) ServiceEndpointPipelineMapOutput

type ServiceEndpointPipelineOutput added in v1.1.1

type ServiceEndpointPipelineOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointPipelineOutput) ElementType added in v1.1.1

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutput added in v1.1.1

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutputWithContext added in v1.1.1

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelinePtrOutput added in v1.2.2

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelinePtrOutput() ServiceEndpointPipelinePtrOutput

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelinePtrOutputWithContext added in v1.2.2

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelinePtrOutputWithContext(ctx context.Context) ServiceEndpointPipelinePtrOutput

type ServiceEndpointPipelinePtrInput added in v1.2.2

type ServiceEndpointPipelinePtrInput interface {
	pulumi.Input

	ToServiceEndpointPipelinePtrOutput() ServiceEndpointPipelinePtrOutput
	ToServiceEndpointPipelinePtrOutputWithContext(ctx context.Context) ServiceEndpointPipelinePtrOutput
}

type ServiceEndpointPipelinePtrOutput added in v1.2.2

type ServiceEndpointPipelinePtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointPipelinePtrOutput) ElementType added in v1.2.2

func (ServiceEndpointPipelinePtrOutput) ToServiceEndpointPipelinePtrOutput added in v1.2.2

func (o ServiceEndpointPipelinePtrOutput) ToServiceEndpointPipelinePtrOutput() ServiceEndpointPipelinePtrOutput

func (ServiceEndpointPipelinePtrOutput) ToServiceEndpointPipelinePtrOutputWithContext added in v1.2.2

func (o ServiceEndpointPipelinePtrOutput) ToServiceEndpointPipelinePtrOutputWithContext(ctx context.Context) ServiceEndpointPipelinePtrOutput

type ServiceEndpointPipelineState added in v1.1.1

type ServiceEndpointPipelineState struct {
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointPipelineAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The organization name used for `Organization Url` and `Release API Url` fields.
	OrganizationName pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointPipelineState) ElementType added in v1.1.1

type ServiceEndpointSonarQube added in v1.2.1

type ServiceEndpointSonarQube struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// Authentication Token generated through SonarQube (go to My Account > Security > Generate Tokens).
	Token pulumi.StringOutput `pulumi:"token"`
	// A bcrypted hash of the attribute 'token'
	TokenHash pulumi.StringOutput `pulumi:"tokenHash"`
	// URL of the SonarQube server to connect with.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a SonarQube service endpoint within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointSonarQube(ctx, "serviceendpoint", &azuredevops.ServiceEndpointSonarQubeArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample SonarQube"),
			Url:                 pulumi.String("https://sonarqube.my.com"),
			Token:               pulumi.String("0000000000000000000000000000000000000000"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

* [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) * [SonarQube User Token](https://docs.sonarqube.org/latest/user-guide/user-token/)

## Import

Azure DevOps Service Endpoint SonarQube can be imported using the **projectID/serviceEndpointID**, e.g.

```sh

$ pulumi import azuredevops:index/serviceEndpointSonarQube:ServiceEndpointSonarQube serviceendpoint 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000

```

func GetServiceEndpointSonarQube added in v1.2.1

func GetServiceEndpointSonarQube(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointSonarQubeState, opts ...pulumi.ResourceOption) (*ServiceEndpointSonarQube, error)

GetServiceEndpointSonarQube gets an existing ServiceEndpointSonarQube 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 NewServiceEndpointSonarQube added in v1.2.1

func NewServiceEndpointSonarQube(ctx *pulumi.Context,
	name string, args *ServiceEndpointSonarQubeArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointSonarQube, error)

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

func (*ServiceEndpointSonarQube) ElementType added in v1.2.1

func (*ServiceEndpointSonarQube) ElementType() reflect.Type

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutput added in v1.2.1

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutputWithContext added in v1.2.1

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubePtrOutput added in v1.2.2

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubePtrOutput() ServiceEndpointSonarQubePtrOutput

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubePtrOutputWithContext added in v1.2.2

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubePtrOutputWithContext(ctx context.Context) ServiceEndpointSonarQubePtrOutput

type ServiceEndpointSonarQubeArgs added in v1.2.1

type ServiceEndpointSonarQubeArgs struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// Authentication Token generated through SonarQube (go to My Account > Security > Generate Tokens).
	Token pulumi.StringInput
	// URL of the SonarQube server to connect with.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointSonarQube resource.

func (ServiceEndpointSonarQubeArgs) ElementType added in v1.2.1

type ServiceEndpointSonarQubeArray added in v1.2.2

type ServiceEndpointSonarQubeArray []ServiceEndpointSonarQubeInput

func (ServiceEndpointSonarQubeArray) ElementType added in v1.2.2

func (ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutput added in v1.2.2

func (i ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutput() ServiceEndpointSonarQubeArrayOutput

func (ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutputWithContext added in v1.2.2

func (i ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeArrayOutput

type ServiceEndpointSonarQubeArrayInput added in v1.2.2

type ServiceEndpointSonarQubeArrayInput interface {
	pulumi.Input

	ToServiceEndpointSonarQubeArrayOutput() ServiceEndpointSonarQubeArrayOutput
	ToServiceEndpointSonarQubeArrayOutputWithContext(context.Context) ServiceEndpointSonarQubeArrayOutput
}

ServiceEndpointSonarQubeArrayInput is an input type that accepts ServiceEndpointSonarQubeArray and ServiceEndpointSonarQubeArrayOutput values. You can construct a concrete instance of `ServiceEndpointSonarQubeArrayInput` via:

ServiceEndpointSonarQubeArray{ ServiceEndpointSonarQubeArgs{...} }

type ServiceEndpointSonarQubeArrayOutput added in v1.2.2

type ServiceEndpointSonarQubeArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarQubeArrayOutput) ElementType added in v1.2.2

func (ServiceEndpointSonarQubeArrayOutput) Index added in v1.2.2

func (ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutput added in v1.2.2

func (o ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutput() ServiceEndpointSonarQubeArrayOutput

func (ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutputWithContext added in v1.2.2

func (o ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeArrayOutput

type ServiceEndpointSonarQubeInput added in v1.2.1

type ServiceEndpointSonarQubeInput interface {
	pulumi.Input

	ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput
	ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput
}

type ServiceEndpointSonarQubeMap added in v1.2.2

type ServiceEndpointSonarQubeMap map[string]ServiceEndpointSonarQubeInput

func (ServiceEndpointSonarQubeMap) ElementType added in v1.2.2

func (ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutput added in v1.2.2

func (i ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutput() ServiceEndpointSonarQubeMapOutput

func (ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutputWithContext added in v1.2.2

func (i ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeMapOutput

type ServiceEndpointSonarQubeMapInput added in v1.2.2

type ServiceEndpointSonarQubeMapInput interface {
	pulumi.Input

	ToServiceEndpointSonarQubeMapOutput() ServiceEndpointSonarQubeMapOutput
	ToServiceEndpointSonarQubeMapOutputWithContext(context.Context) ServiceEndpointSonarQubeMapOutput
}

ServiceEndpointSonarQubeMapInput is an input type that accepts ServiceEndpointSonarQubeMap and ServiceEndpointSonarQubeMapOutput values. You can construct a concrete instance of `ServiceEndpointSonarQubeMapInput` via:

ServiceEndpointSonarQubeMap{ "key": ServiceEndpointSonarQubeArgs{...} }

type ServiceEndpointSonarQubeMapOutput added in v1.2.2

type ServiceEndpointSonarQubeMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarQubeMapOutput) ElementType added in v1.2.2

func (ServiceEndpointSonarQubeMapOutput) MapIndex added in v1.2.2

func (ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutput added in v1.2.2

func (o ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutput() ServiceEndpointSonarQubeMapOutput

func (ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutputWithContext added in v1.2.2

func (o ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeMapOutput

type ServiceEndpointSonarQubeOutput added in v1.2.1

type ServiceEndpointSonarQubeOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointSonarQubeOutput) ElementType added in v1.2.1

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutput added in v1.2.1

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutputWithContext added in v1.2.1

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubePtrOutput added in v1.2.2

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubePtrOutput() ServiceEndpointSonarQubePtrOutput

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubePtrOutputWithContext added in v1.2.2

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubePtrOutputWithContext(ctx context.Context) ServiceEndpointSonarQubePtrOutput

type ServiceEndpointSonarQubePtrInput added in v1.2.2

type ServiceEndpointSonarQubePtrInput interface {
	pulumi.Input

	ToServiceEndpointSonarQubePtrOutput() ServiceEndpointSonarQubePtrOutput
	ToServiceEndpointSonarQubePtrOutputWithContext(ctx context.Context) ServiceEndpointSonarQubePtrOutput
}

type ServiceEndpointSonarQubePtrOutput added in v1.2.2

type ServiceEndpointSonarQubePtrOutput struct {
	*pulumi.OutputState
}

func (ServiceEndpointSonarQubePtrOutput) ElementType added in v1.2.2

func (ServiceEndpointSonarQubePtrOutput) ToServiceEndpointSonarQubePtrOutput added in v1.2.2

func (o ServiceEndpointSonarQubePtrOutput) ToServiceEndpointSonarQubePtrOutput() ServiceEndpointSonarQubePtrOutput

func (ServiceEndpointSonarQubePtrOutput) ToServiceEndpointSonarQubePtrOutputWithContext added in v1.2.2

func (o ServiceEndpointSonarQubePtrOutput) ToServiceEndpointSonarQubePtrOutputWithContext(ctx context.Context) ServiceEndpointSonarQubePtrOutput

type ServiceEndpointSonarQubeState added in v1.2.1

type ServiceEndpointSonarQubeState struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The project ID or project name.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// Authentication Token generated through SonarQube (go to My Account > Security > Generate Tokens).
	Token pulumi.StringPtrInput
	// A bcrypted hash of the attribute 'token'
	TokenHash pulumi.StringPtrInput
	// URL of the SonarQube server to connect with.
	Url pulumi.StringPtrInput
}

func (ServiceEndpointSonarQubeState) ElementType added in v1.2.1

type User

type User struct {
	pulumi.CustomResourceState

	// Type of Account License. Valid values: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
	AccountLicenseType pulumi.StringPtrOutput `pulumi:"accountLicenseType"`
	// The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
	Descriptor pulumi.StringOutput `pulumi:"descriptor"`
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trail`
	LicensingSource pulumi.StringPtrOutput `pulumi:"licensingSource"`
	// The type of source provider for the origin identifier.
	Origin pulumi.StringOutput `pulumi:"origin"`
	// The unique identifier from the system of origin. Typically a sid, object id or Guid. e.g. Used for member of other tenant on Azure Active Directory.
	OriginId pulumi.StringOutput `pulumi:"originId"`
	// The principal name is the PrincipalName of a graph member from the source provider. Usually, e-mail address.
	PrincipalName pulumi.StringOutput `pulumi:"principalName"`
}

Manages a user entitlement within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewUser(ctx, "user", &azuredevops.UserArgs{
			PrincipalName: pulumi.String("foo@contoso.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - User Entitlements - Add](https://docs.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/user%20entitlements/add?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Member Entitlement Management**: Read & Write

## Import

The resources allows the import via the UUID of a user entitlement or by using the principal name of a user owning an entitlement.

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

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

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

func (*User) ToUserPtrOutput added in v1.2.2

func (i *User) ToUserPtrOutput() UserPtrOutput

func (*User) ToUserPtrOutputWithContext added in v1.2.2

func (i *User) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserArgs

type UserArgs struct {
	// Type of Account License. Valid values: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
	AccountLicenseType pulumi.StringPtrInput
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trail`
	LicensingSource pulumi.StringPtrInput
	// The type of source provider for the origin identifier.
	Origin pulumi.StringPtrInput
	// The unique identifier from the system of origin. Typically a sid, object id or Guid. e.g. Used for member of other tenant on Azure Active Directory.
	OriginId pulumi.StringPtrInput
	// The principal name is the PrincipalName of a graph member from the source provider. Usually, e-mail address.
	PrincipalName pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray added in v1.2.2

type UserArray []UserInput

func (UserArray) ElementType added in v1.2.2

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v1.2.2

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v1.2.2

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v1.2.2

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput added in v1.2.2

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v1.2.2

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v1.2.2

func (UserArrayOutput) ToUserArrayOutput added in v1.2.2

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v1.2.2

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v1.2.2

type UserMap map[string]UserInput

func (UserMap) ElementType added in v1.2.2

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v1.2.2

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v1.2.2

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v1.2.2

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput added in v1.2.2

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v1.2.2

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v1.2.2

func (UserMapOutput) ToUserMapOutput added in v1.2.2

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v1.2.2

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct {
	*pulumi.OutputState
}

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) ToUserPtrOutput added in v1.2.2

func (o UserOutput) ToUserPtrOutput() UserPtrOutput

func (UserOutput) ToUserPtrOutputWithContext added in v1.2.2

func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserPtrInput added in v1.2.2

type UserPtrInput interface {
	pulumi.Input

	ToUserPtrOutput() UserPtrOutput
	ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
}

type UserPtrOutput added in v1.2.2

type UserPtrOutput struct {
	*pulumi.OutputState
}

func (UserPtrOutput) ElementType added in v1.2.2

func (UserPtrOutput) ElementType() reflect.Type

func (UserPtrOutput) ToUserPtrOutput added in v1.2.2

func (o UserPtrOutput) ToUserPtrOutput() UserPtrOutput

func (UserPtrOutput) ToUserPtrOutputWithContext added in v1.2.2

func (o UserPtrOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserState

type UserState struct {
	// Type of Account License. Valid values: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
	AccountLicenseType pulumi.StringPtrInput
	// The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
	Descriptor pulumi.StringPtrInput
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trail`
	LicensingSource pulumi.StringPtrInput
	// The type of source provider for the origin identifier.
	Origin pulumi.StringPtrInput
	// The unique identifier from the system of origin. Typically a sid, object id or Guid. e.g. Used for member of other tenant on Azure Active Directory.
	OriginId pulumi.StringPtrInput
	// The principal name is the PrincipalName of a graph member from the source provider. Usually, e-mail address.
	PrincipalName pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

type VariableGroup

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"`
	KeyVault    VariableGroupKeyVaultPtrOutput `pulumi:"keyVault"`
	// The name of the Variable Group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project ID or project name.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// One or more `variable` blocks as documented below.
	Variables VariableGroupVariableArrayOutput `pulumi:"variables"`
}

Manages variable groups within Azure DevOps.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.NewVariableGroup(ctx, "variablegroup", &azuredevops.VariableGroupArgs{
			ProjectId:   project.ID(),
			Description: pulumi.String("Test Variable Group Description"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("key"),
					Value: pulumi.String("value"),
				},
				&azuredevops.VariableGroupVariableArgs{
					Name:        pulumi.String("Account Password"),
					SecretValue: pulumi.String("p@ssword123"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Relevant Links

- [Azure DevOps Service REST API 5.1 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-5.1) - [Azure DevOps Service REST API 5.1 - Authorized Resources](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/authorizedresources?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Variable Groups**: Read, Create, & Manage

## 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:index/variableGroup:VariableGroup variablegroup "Test Project/10"

```

or

```sh

$ pulumi import azuredevops:index/variableGroup:VariableGroup variablegroup 00000000-0000-0000-0000-000000000000/0

```

_Note that for secret variables, the import command retrieve blank value in the tfstate._

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

func (*VariableGroup) ToVariableGroupPtrOutput added in v1.2.2

func (i *VariableGroup) ToVariableGroupPtrOutput() VariableGroupPtrOutput

func (*VariableGroup) ToVariableGroupPtrOutputWithContext added in v1.2.2

func (i *VariableGroup) ToVariableGroupPtrOutputWithContext(ctx context.Context) VariableGroupPtrOutput

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
	KeyVault    VariableGroupKeyVaultPtrInput
	// The name of the Variable Group.
	Name pulumi.StringPtrInput
	// The project ID or project name.
	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 added in v1.2.2

type VariableGroupArray []VariableGroupInput

func (VariableGroupArray) ElementType added in v1.2.2

func (VariableGroupArray) ElementType() reflect.Type

func (VariableGroupArray) ToVariableGroupArrayOutput added in v1.2.2

func (i VariableGroupArray) ToVariableGroupArrayOutput() VariableGroupArrayOutput

func (VariableGroupArray) ToVariableGroupArrayOutputWithContext added in v1.2.2

func (i VariableGroupArray) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput

type VariableGroupArrayInput added in v1.2.2

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 added in v1.2.2

type VariableGroupArrayOutput struct{ *pulumi.OutputState }

func (VariableGroupArrayOutput) ElementType added in v1.2.2

func (VariableGroupArrayOutput) ElementType() reflect.Type

func (VariableGroupArrayOutput) Index added in v1.2.2

func (VariableGroupArrayOutput) ToVariableGroupArrayOutput added in v1.2.2

func (o VariableGroupArrayOutput) ToVariableGroupArrayOutput() VariableGroupArrayOutput

func (VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext added in v1.2.2

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 Variable Group.
	Name              string `pulumi:"name"`
	ServiceEndpointId string `pulumi:"serviceEndpointId"`
}

type VariableGroupKeyVaultArgs

type VariableGroupKeyVaultArgs struct {
	// The name of the Variable Group.
	Name              pulumi.StringInput `pulumi:"name"`
	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) Name

The name of the Variable Group.

func (VariableGroupKeyVaultOutput) ServiceEndpointId

func (o VariableGroupKeyVaultOutput) ServiceEndpointId() pulumi.StringOutput

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

type VariableGroupKeyVaultPtrOutput

type VariableGroupKeyVaultPtrOutput struct{ *pulumi.OutputState }

func (VariableGroupKeyVaultPtrOutput) Elem

func (VariableGroupKeyVaultPtrOutput) ElementType

func (VariableGroupKeyVaultPtrOutput) Name

The name of the Variable Group.

func (VariableGroupKeyVaultPtrOutput) ServiceEndpointId

func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput

func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput

func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext

func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput

type VariableGroupMap added in v1.2.2

type VariableGroupMap map[string]VariableGroupInput

func (VariableGroupMap) ElementType added in v1.2.2

func (VariableGroupMap) ElementType() reflect.Type

func (VariableGroupMap) ToVariableGroupMapOutput added in v1.2.2

func (i VariableGroupMap) ToVariableGroupMapOutput() VariableGroupMapOutput

func (VariableGroupMap) ToVariableGroupMapOutputWithContext added in v1.2.2

func (i VariableGroupMap) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput

type VariableGroupMapInput added in v1.2.2

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 added in v1.2.2

type VariableGroupMapOutput struct{ *pulumi.OutputState }

func (VariableGroupMapOutput) ElementType added in v1.2.2

func (VariableGroupMapOutput) ElementType() reflect.Type

func (VariableGroupMapOutput) MapIndex added in v1.2.2

func (VariableGroupMapOutput) ToVariableGroupMapOutput added in v1.2.2

func (o VariableGroupMapOutput) ToVariableGroupMapOutput() VariableGroupMapOutput

func (VariableGroupMapOutput) ToVariableGroupMapOutputWithContext added in v1.2.2

func (o VariableGroupMapOutput) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput

type VariableGroupOutput

type VariableGroupOutput struct {
	*pulumi.OutputState
}

func (VariableGroupOutput) ElementType

func (VariableGroupOutput) ElementType() reflect.Type

func (VariableGroupOutput) ToVariableGroupOutput

func (o VariableGroupOutput) ToVariableGroupOutput() VariableGroupOutput

func (VariableGroupOutput) ToVariableGroupOutputWithContext

func (o VariableGroupOutput) ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput

func (VariableGroupOutput) ToVariableGroupPtrOutput added in v1.2.2

func (o VariableGroupOutput) ToVariableGroupPtrOutput() VariableGroupPtrOutput

func (VariableGroupOutput) ToVariableGroupPtrOutputWithContext added in v1.2.2

func (o VariableGroupOutput) ToVariableGroupPtrOutputWithContext(ctx context.Context) VariableGroupPtrOutput

type VariableGroupPtrInput added in v1.2.2

type VariableGroupPtrInput interface {
	pulumi.Input

	ToVariableGroupPtrOutput() VariableGroupPtrOutput
	ToVariableGroupPtrOutputWithContext(ctx context.Context) VariableGroupPtrOutput
}

type VariableGroupPtrOutput added in v1.2.2

type VariableGroupPtrOutput struct {
	*pulumi.OutputState
}

func (VariableGroupPtrOutput) ElementType added in v1.2.2

func (VariableGroupPtrOutput) ElementType() reflect.Type

func (VariableGroupPtrOutput) ToVariableGroupPtrOutput added in v1.2.2

func (o VariableGroupPtrOutput) ToVariableGroupPtrOutput() VariableGroupPtrOutput

func (VariableGroupPtrOutput) ToVariableGroupPtrOutputWithContext added in v1.2.2

func (o VariableGroupPtrOutput) ToVariableGroupPtrOutputWithContext(ctx context.Context) VariableGroupPtrOutput

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
	KeyVault    VariableGroupKeyVaultPtrInput
	// The name of the Variable Group.
	Name pulumi.StringPtrInput
	// The project ID or project name.
	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) Index

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 (VariableGroupVariableOutput) ElementType

func (VariableGroupVariableOutput) Enabled

func (VariableGroupVariableOutput) Expires

func (VariableGroupVariableOutput) GetIsSecret added in v1.2.2

A boolean flag describing if the variable value is sensitive. Defaults to `false`.

func (VariableGroupVariableOutput) Name

The key value used for the variable. Must be unique within the Variable Group.

func (VariableGroupVariableOutput) SecretValue

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

The value of the variable. If omitted, it will default to empty string.

type WorkItemQueryPermissions

type WorkItemQueryPermissions struct {
	pulumi.CustomResourceState

	// Path to a query or folder beneath `Shared Queries`
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for Work Item Queries.

> **Note** Permissions can be assigned to group principals and not to single user principals.

## Permission levels

Permission for Work Item Queries within Azure DevOps can be applied on two different levels. Those levels are reflected by specifying (or omitting) values for the arguments `projectId` and `path`.

### Project level

Permissions for all Work Item Queries inside a project (existing or newly created ones) are specified, if only the argument `projectId` has a value.

#### Example usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewWorkItemQueryPermissions(ctx, "project_wiq_root_permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: pulumi.Any(azuredevops_project.Project.Id),
			Principal: pulumi.Any(data.Azuredevops_group.Project - readers.Id),
			Permissions: pulumi.StringMap{
				"CreateRepository": pulumi.String("Deny"),
				"DeleteRepository": pulumi.String("Deny"),
				"RenameRepository": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Shared Queries folder level

Permissions for a specific folder inside Shared Queries are specified if the arguments `projectId` and `path` are set.

> **Note** To set permissions for the Shared Queries folder itself use `/` as path value

#### Example usage

```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewWorkItemQueryPermissions(ctx, "wiq_folder_permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: pulumi.Any(azuredevops_project.Project.Id),
			Path:      pulumi.String("/Team"),
			Principal: pulumi.Any(data.Azuredevops_group.Project - readers.Id),
			Permissions: pulumi.StringMap{
				"Contribute": pulumi.String("Allow"),
				"Delete":     pulumi.String("Deny"),
				"Read":       pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Relevant Links

* [Azure DevOps Service REST API 5.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-5.1)

## PAT Permissions Required

- **Project & Team**: vso.security_manage - Grants the ability to read, write, and manage security permissions.

## Import

The resource does not support import.

func GetWorkItemQueryPermissions

func GetWorkItemQueryPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkItemQueryPermissionsState, opts ...pulumi.ResourceOption) (*WorkItemQueryPermissions, error)

GetWorkItemQueryPermissions gets an existing WorkItemQueryPermissions 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 NewWorkItemQueryPermissions

func NewWorkItemQueryPermissions(ctx *pulumi.Context,
	name string, args *WorkItemQueryPermissionsArgs, opts ...pulumi.ResourceOption) (*WorkItemQueryPermissions, error)

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

func (*WorkItemQueryPermissions) ElementType

func (*WorkItemQueryPermissions) ElementType() reflect.Type

func (*WorkItemQueryPermissions) ToWorkItemQueryPermissionsOutput

func (i *WorkItemQueryPermissions) ToWorkItemQueryPermissionsOutput() WorkItemQueryPermissionsOutput

func (*WorkItemQueryPermissions) ToWorkItemQueryPermissionsOutputWithContext

func (i *WorkItemQueryPermissions) ToWorkItemQueryPermissionsOutputWithContext(ctx context.Context) WorkItemQueryPermissionsOutput

func (*WorkItemQueryPermissions) ToWorkItemQueryPermissionsPtrOutput added in v1.2.2

func (i *WorkItemQueryPermissions) ToWorkItemQueryPermissionsPtrOutput() WorkItemQueryPermissionsPtrOutput

func (*WorkItemQueryPermissions) ToWorkItemQueryPermissionsPtrOutputWithContext added in v1.2.2

func (i *WorkItemQueryPermissions) ToWorkItemQueryPermissionsPtrOutputWithContext(ctx context.Context) WorkItemQueryPermissionsPtrOutput

type WorkItemQueryPermissionsArgs

type WorkItemQueryPermissionsArgs struct {
	// Path to a query or folder beneath `Shared Queries`
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a WorkItemQueryPermissions resource.

func (WorkItemQueryPermissionsArgs) ElementType

type WorkItemQueryPermissionsArray added in v1.2.2

type WorkItemQueryPermissionsArray []WorkItemQueryPermissionsInput

func (WorkItemQueryPermissionsArray) ElementType added in v1.2.2

func (WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutput added in v1.2.2

func (i WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutput() WorkItemQueryPermissionsArrayOutput

func (WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutputWithContext added in v1.2.2

func (i WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutputWithContext(ctx context.Context) WorkItemQueryPermissionsArrayOutput

type WorkItemQueryPermissionsArrayInput added in v1.2.2

type WorkItemQueryPermissionsArrayInput interface {
	pulumi.Input

	ToWorkItemQueryPermissionsArrayOutput() WorkItemQueryPermissionsArrayOutput
	ToWorkItemQueryPermissionsArrayOutputWithContext(context.Context) WorkItemQueryPermissionsArrayOutput
}

WorkItemQueryPermissionsArrayInput is an input type that accepts WorkItemQueryPermissionsArray and WorkItemQueryPermissionsArrayOutput values. You can construct a concrete instance of `WorkItemQueryPermissionsArrayInput` via:

WorkItemQueryPermissionsArray{ WorkItemQueryPermissionsArgs{...} }

type WorkItemQueryPermissionsArrayOutput added in v1.2.2

type WorkItemQueryPermissionsArrayOutput struct{ *pulumi.OutputState }

func (WorkItemQueryPermissionsArrayOutput) ElementType added in v1.2.2

func (WorkItemQueryPermissionsArrayOutput) Index added in v1.2.2

func (WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutput added in v1.2.2

func (o WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutput() WorkItemQueryPermissionsArrayOutput

func (WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutputWithContext added in v1.2.2

func (o WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutputWithContext(ctx context.Context) WorkItemQueryPermissionsArrayOutput

type WorkItemQueryPermissionsInput

type WorkItemQueryPermissionsInput interface {
	pulumi.Input

	ToWorkItemQueryPermissionsOutput() WorkItemQueryPermissionsOutput
	ToWorkItemQueryPermissionsOutputWithContext(ctx context.Context) WorkItemQueryPermissionsOutput
}

type WorkItemQueryPermissionsMap added in v1.2.2

type WorkItemQueryPermissionsMap map[string]WorkItemQueryPermissionsInput

func (WorkItemQueryPermissionsMap) ElementType added in v1.2.2

func (WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutput added in v1.2.2

func (i WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutput() WorkItemQueryPermissionsMapOutput

func (WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutputWithContext added in v1.2.2

func (i WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutputWithContext(ctx context.Context) WorkItemQueryPermissionsMapOutput

type WorkItemQueryPermissionsMapInput added in v1.2.2

type WorkItemQueryPermissionsMapInput interface {
	pulumi.Input

	ToWorkItemQueryPermissionsMapOutput() WorkItemQueryPermissionsMapOutput
	ToWorkItemQueryPermissionsMapOutputWithContext(context.Context) WorkItemQueryPermissionsMapOutput
}

WorkItemQueryPermissionsMapInput is an input type that accepts WorkItemQueryPermissionsMap and WorkItemQueryPermissionsMapOutput values. You can construct a concrete instance of `WorkItemQueryPermissionsMapInput` via:

WorkItemQueryPermissionsMap{ "key": WorkItemQueryPermissionsArgs{...} }

type WorkItemQueryPermissionsMapOutput added in v1.2.2

type WorkItemQueryPermissionsMapOutput struct{ *pulumi.OutputState }

func (WorkItemQueryPermissionsMapOutput) ElementType added in v1.2.2

func (WorkItemQueryPermissionsMapOutput) MapIndex added in v1.2.2

func (WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutput added in v1.2.2

func (o WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutput() WorkItemQueryPermissionsMapOutput

func (WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutputWithContext added in v1.2.2

func (o WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutputWithContext(ctx context.Context) WorkItemQueryPermissionsMapOutput

type WorkItemQueryPermissionsOutput

type WorkItemQueryPermissionsOutput struct {
	*pulumi.OutputState
}

func (WorkItemQueryPermissionsOutput) ElementType

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutput

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutput() WorkItemQueryPermissionsOutput

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutputWithContext

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutputWithContext(ctx context.Context) WorkItemQueryPermissionsOutput

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsPtrOutput added in v1.2.2

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsPtrOutput() WorkItemQueryPermissionsPtrOutput

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsPtrOutputWithContext added in v1.2.2

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsPtrOutputWithContext(ctx context.Context) WorkItemQueryPermissionsPtrOutput

type WorkItemQueryPermissionsPtrInput added in v1.2.2

type WorkItemQueryPermissionsPtrInput interface {
	pulumi.Input

	ToWorkItemQueryPermissionsPtrOutput() WorkItemQueryPermissionsPtrOutput
	ToWorkItemQueryPermissionsPtrOutputWithContext(ctx context.Context) WorkItemQueryPermissionsPtrOutput
}

type WorkItemQueryPermissionsPtrOutput added in v1.2.2

type WorkItemQueryPermissionsPtrOutput struct {
	*pulumi.OutputState
}

func (WorkItemQueryPermissionsPtrOutput) ElementType added in v1.2.2

func (WorkItemQueryPermissionsPtrOutput) ToWorkItemQueryPermissionsPtrOutput added in v1.2.2

func (o WorkItemQueryPermissionsPtrOutput) ToWorkItemQueryPermissionsPtrOutput() WorkItemQueryPermissionsPtrOutput

func (WorkItemQueryPermissionsPtrOutput) ToWorkItemQueryPermissionsPtrOutputWithContext added in v1.2.2

func (o WorkItemQueryPermissionsPtrOutput) ToWorkItemQueryPermissionsPtrOutputWithContext(ctx context.Context) WorkItemQueryPermissionsPtrOutput

type WorkItemQueryPermissionsState

type WorkItemQueryPermissionsState struct {
	// Path to a query or folder beneath `Shared Queries`
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available
	Permissions pulumi.StringMapInput
	// The **group** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	Replace pulumi.BoolPtrInput
}

func (WorkItemQueryPermissionsState) ElementType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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