azuredevops

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 7 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

This section is empty.

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`.
	//
	// | Permission             | Description                          |
	// |------------------------|--------------------------------------|
	// | GENERIC_READ           | View permissions for this node       |
	// | GENERIC_WRITE          | Edit this node                       |
	// | CREATE_CHILDREN        | Create child nodes                   |
	// | DELETE                 | Delete this node                     |
	// | WORK_ITEM_READ         | View work items in this node         |
	// | WORK_ITEM_WRITE        | Edit work items in this node         |
	// | MANAGE_TEST_PLANS      | Manage test plans                    |
	// | MANAGE_TEST_SUITES     | Manage test suites                   |
	// | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
	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`.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewAreaPermissions(ctx, "example-root-permissions", &azuredevops.AreaPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_project_readers.ApplyT(func(example_project_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_project_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Path: pulumi.String("/"),
			Permissions: pulumi.StringMap{
				"CREATE_CHILDREN": pulumi.String("Deny"),
				"GENERIC_READ":    pulumi.String("Allow"),
				"DELETE":          pulumi.String("Deny"),
				"WORK_ITEM_READ":  pulumi.String("Allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

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`.
	//
	// | Permission             | Description                          |
	// |------------------------|--------------------------------------|
	// | GENERIC_READ           | View permissions for this node       |
	// | GENERIC_WRITE          | Edit this node                       |
	// | CREATE_CHILDREN        | Create child nodes                   |
	// | DELETE                 | Delete this node                     |
	// | WORK_ITEM_READ         | View work items in this node         |
	// | WORK_ITEM_WRITE        | Edit work items in this node         |
	// | MANAGE_TEST_PLANS      | Manage test plans                    |
	// | MANAGE_TEST_SUITES     | Manage test suites                   |
	// | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a AreaPermissions resource.

func (AreaPermissionsArgs) ElementType

func (AreaPermissionsArgs) ElementType() reflect.Type

type AreaPermissionsArray

type AreaPermissionsArray []AreaPermissionsInput

func (AreaPermissionsArray) ElementType

func (AreaPermissionsArray) ElementType() reflect.Type

func (AreaPermissionsArray) ToAreaPermissionsArrayOutput

func (i AreaPermissionsArray) ToAreaPermissionsArrayOutput() AreaPermissionsArrayOutput

func (AreaPermissionsArray) ToAreaPermissionsArrayOutputWithContext

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

type AreaPermissionsArrayInput

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

type AreaPermissionsArrayOutput struct{ *pulumi.OutputState }

func (AreaPermissionsArrayOutput) ElementType

func (AreaPermissionsArrayOutput) ElementType() reflect.Type

func (AreaPermissionsArrayOutput) Index

func (AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutput

func (o AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutput() AreaPermissionsArrayOutput

func (AreaPermissionsArrayOutput) ToAreaPermissionsArrayOutputWithContext

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

type AreaPermissionsInput

type AreaPermissionsInput interface {
	pulumi.Input

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

type AreaPermissionsMap

type AreaPermissionsMap map[string]AreaPermissionsInput

func (AreaPermissionsMap) ElementType

func (AreaPermissionsMap) ElementType() reflect.Type

func (AreaPermissionsMap) ToAreaPermissionsMapOutput

func (i AreaPermissionsMap) ToAreaPermissionsMapOutput() AreaPermissionsMapOutput

func (AreaPermissionsMap) ToAreaPermissionsMapOutputWithContext

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

type AreaPermissionsMapInput

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

type AreaPermissionsMapOutput struct{ *pulumi.OutputState }

func (AreaPermissionsMapOutput) ElementType

func (AreaPermissionsMapOutput) ElementType() reflect.Type

func (AreaPermissionsMapOutput) MapIndex

func (AreaPermissionsMapOutput) ToAreaPermissionsMapOutput

func (o AreaPermissionsMapOutput) ToAreaPermissionsMapOutput() AreaPermissionsMapOutput

func (AreaPermissionsMapOutput) ToAreaPermissionsMapOutputWithContext

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) Path

The name of the branch to assign the permissions.

func (AreaPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (AreaPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (AreaPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (AreaPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`.

| Permission | Description | |------------------------|--------------------------------------| | GENERIC_READ | View permissions for this node | | GENERIC_WRITE | Edit this node | | CREATE_CHILDREN | Create child nodes | | DELETE | Delete this node | | WORK_ITEM_READ | View work items in this node | | WORK_ITEM_WRITE | Edit work items in this node | | MANAGE_TEST_PLANS | Manage test plans | | MANAGE_TEST_SUITES | Manage test suites | | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |

func (AreaPermissionsOutput) ToAreaPermissionsOutput

func (o AreaPermissionsOutput) ToAreaPermissionsOutput() AreaPermissionsOutput

func (AreaPermissionsOutput) ToAreaPermissionsOutputWithContext

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

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`.
	//
	// | Permission             | Description                          |
	// |------------------------|--------------------------------------|
	// | GENERIC_READ           | View permissions for this node       |
	// | GENERIC_WRITE          | Edit this node                       |
	// | CREATE_CHILDREN        | Create child nodes                   |
	// | DELETE                 | Delete this node                     |
	// | WORK_ITEM_READ         | View work items in this node         |
	// | WORK_ITEM_WRITE        | Edit work items in this node         |
	// | MANAGE_TEST_PLANS      | Manage test plans                    |
	// | MANAGE_TEST_SUITES     | Manage test suites                   |
	// | WORK_ITEM_SAVE_COMMENT | Edit work item comments in this node |
	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. This relates to the Azure DevOps terms "optional" and "required" reviewers. 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyAutoReviewers:BranchPolicyAutoReviewers example 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

type BranchPolicyAutoReviewersArgs

type BranchPolicyAutoReviewersArgs struct {
	// A flag indicating if the policy should be blocking. This relates to the Azure DevOps terms "optional" and "required" reviewers. 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

type BranchPolicyAutoReviewersArray []BranchPolicyAutoReviewersInput

func (BranchPolicyAutoReviewersArray) ElementType

func (BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutput

func (i BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutput() BranchPolicyAutoReviewersArrayOutput

func (BranchPolicyAutoReviewersArray) ToBranchPolicyAutoReviewersArrayOutputWithContext

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

type BranchPolicyAutoReviewersArrayInput

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

type BranchPolicyAutoReviewersArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersArrayOutput) ElementType

func (BranchPolicyAutoReviewersArrayOutput) Index

func (BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutput

func (o BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutput() BranchPolicyAutoReviewersArrayOutput

func (BranchPolicyAutoReviewersArrayOutput) ToBranchPolicyAutoReviewersArrayOutputWithContext

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

type BranchPolicyAutoReviewersInput

type BranchPolicyAutoReviewersInput interface {
	pulumi.Input

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

type BranchPolicyAutoReviewersMap

type BranchPolicyAutoReviewersMap map[string]BranchPolicyAutoReviewersInput

func (BranchPolicyAutoReviewersMap) ElementType

func (BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutput

func (i BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutput() BranchPolicyAutoReviewersMapOutput

func (BranchPolicyAutoReviewersMap) ToBranchPolicyAutoReviewersMapOutputWithContext

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

type BranchPolicyAutoReviewersMapInput

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

type BranchPolicyAutoReviewersMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersMapOutput) ElementType

func (BranchPolicyAutoReviewersMapOutput) MapIndex

func (BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutput

func (o BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutput() BranchPolicyAutoReviewersMapOutput

func (BranchPolicyAutoReviewersMapOutput) ToBranchPolicyAutoReviewersMapOutputWithContext

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

type BranchPolicyAutoReviewersOutput

type BranchPolicyAutoReviewersOutput struct{ *pulumi.OutputState }

func (BranchPolicyAutoReviewersOutput) Blocking

A flag indicating if the policy should be blocking. This relates to the Azure DevOps terms "optional" and "required" reviewers. Defaults to `true`.

func (BranchPolicyAutoReviewersOutput) ElementType

func (BranchPolicyAutoReviewersOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyAutoReviewersOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyAutoReviewersOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutput

func (o BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutput() BranchPolicyAutoReviewersOutput

func (BranchPolicyAutoReviewersOutput) ToBranchPolicyAutoReviewersOutputWithContext

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

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"`
	// Minimum number of required reviewers. Defaults to `1`.
	//
	// > **Note** Has to be greater than `0`. Can only be greater than `1` when attribute `autoReviewerIds` contains exactly one group! Only has an effect when attribute `blocking` is set to `true`.
	MinimumNumberOfReviewers *int `pulumi:"minimumNumberOfReviewers"`
	// 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"`
	// Minimum number of required reviewers. Defaults to `1`.
	//
	// > **Note** Has to be greater than `0`. Can only be greater than `1` when attribute `autoReviewerIds` contains exactly one group! Only has an effect when attribute `blocking` is set to `true`.
	MinimumNumberOfReviewers pulumi.IntPtrInput `pulumi:"minimumNumberOfReviewers"`
	// 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) MinimumNumberOfReviewers

func (o BranchPolicyAutoReviewersSettingsOutput) MinimumNumberOfReviewers() pulumi.IntPtrOutput

Minimum number of required reviewers. Defaults to `1`.

> **Note** Has to be greater than `0`. Can only be greater than `1` when attribute `autoReviewerIds` contains exactly one group! Only has an effect when attribute `blocking` is set to `true`.

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) MinimumNumberOfReviewers

func (o BranchPolicyAutoReviewersSettingsPtrOutput) MinimumNumberOfReviewers() pulumi.IntPtrOutput

Minimum number of required reviewers. Defaults to `1`.

> **Note** Has to be greater than `0`. Can only be greater than `1` when attribute `autoReviewerIds` contains exactly one group! Only has an effect when attribute `blocking` is set to `true`.

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), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.

func (BranchPolicyAutoReviewersSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyAutoReviewersSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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. This relates to the Azure DevOps terms "optional" and "required" reviewers. 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyBuildValidation:BranchPolicyBuildValidation example 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

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

type BranchPolicyBuildValidationArray []BranchPolicyBuildValidationInput

func (BranchPolicyBuildValidationArray) ElementType

func (BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutput

func (i BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutput() BranchPolicyBuildValidationArrayOutput

func (BranchPolicyBuildValidationArray) ToBranchPolicyBuildValidationArrayOutputWithContext

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

type BranchPolicyBuildValidationArrayInput

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

type BranchPolicyBuildValidationArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationArrayOutput) ElementType

func (BranchPolicyBuildValidationArrayOutput) Index

func (BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutput

func (o BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutput() BranchPolicyBuildValidationArrayOutput

func (BranchPolicyBuildValidationArrayOutput) ToBranchPolicyBuildValidationArrayOutputWithContext

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

type BranchPolicyBuildValidationInput

type BranchPolicyBuildValidationInput interface {
	pulumi.Input

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

type BranchPolicyBuildValidationMap

type BranchPolicyBuildValidationMap map[string]BranchPolicyBuildValidationInput

func (BranchPolicyBuildValidationMap) ElementType

func (BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutput

func (i BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutput() BranchPolicyBuildValidationMapOutput

func (BranchPolicyBuildValidationMap) ToBranchPolicyBuildValidationMapOutputWithContext

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

type BranchPolicyBuildValidationMapInput

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

type BranchPolicyBuildValidationMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationMapOutput) ElementType

func (BranchPolicyBuildValidationMapOutput) MapIndex

func (BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutput

func (o BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutput() BranchPolicyBuildValidationMapOutput

func (BranchPolicyBuildValidationMapOutput) ToBranchPolicyBuildValidationMapOutputWithContext

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

type BranchPolicyBuildValidationOutput

type BranchPolicyBuildValidationOutput struct{ *pulumi.OutputState }

func (BranchPolicyBuildValidationOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyBuildValidationOutput) ElementType

func (BranchPolicyBuildValidationOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyBuildValidationOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyBuildValidationOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutput

func (o BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutput() BranchPolicyBuildValidationOutput

func (BranchPolicyBuildValidationOutput) ToBranchPolicyBuildValidationOutputWithContext

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

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 will 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 will 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 will 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 will 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), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.

func (BranchPolicyBuildValidationSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyBuildValidationSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyCommentResolution:BranchPolicyCommentResolution example 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

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

type BranchPolicyCommentResolutionArray []BranchPolicyCommentResolutionInput

func (BranchPolicyCommentResolutionArray) ElementType

func (BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutput

func (i BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutput() BranchPolicyCommentResolutionArrayOutput

func (BranchPolicyCommentResolutionArray) ToBranchPolicyCommentResolutionArrayOutputWithContext

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

type BranchPolicyCommentResolutionArrayInput

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

type BranchPolicyCommentResolutionArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionArrayOutput) ElementType

func (BranchPolicyCommentResolutionArrayOutput) Index

func (BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutput

func (o BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutput() BranchPolicyCommentResolutionArrayOutput

func (BranchPolicyCommentResolutionArrayOutput) ToBranchPolicyCommentResolutionArrayOutputWithContext

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

type BranchPolicyCommentResolutionInput

type BranchPolicyCommentResolutionInput interface {
	pulumi.Input

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

type BranchPolicyCommentResolutionMap

type BranchPolicyCommentResolutionMap map[string]BranchPolicyCommentResolutionInput

func (BranchPolicyCommentResolutionMap) ElementType

func (BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutput

func (i BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutput() BranchPolicyCommentResolutionMapOutput

func (BranchPolicyCommentResolutionMap) ToBranchPolicyCommentResolutionMapOutputWithContext

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

type BranchPolicyCommentResolutionMapInput

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

type BranchPolicyCommentResolutionMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionMapOutput) ElementType

func (BranchPolicyCommentResolutionMapOutput) MapIndex

func (BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutput

func (o BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutput() BranchPolicyCommentResolutionMapOutput

func (BranchPolicyCommentResolutionMapOutput) ToBranchPolicyCommentResolutionMapOutputWithContext

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

type BranchPolicyCommentResolutionOutput

type BranchPolicyCommentResolutionOutput struct{ *pulumi.OutputState }

func (BranchPolicyCommentResolutionOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyCommentResolutionOutput) ElementType

func (BranchPolicyCommentResolutionOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyCommentResolutionOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyCommentResolutionOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutput

func (o BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutput() BranchPolicyCommentResolutionOutput

func (BranchPolicyCommentResolutionOutput) ToBranchPolicyCommentResolutionOutputWithContext

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

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), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.

func (BranchPolicyCommentResolutionSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyCommentResolutionSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyMergeTypes(ctx, "exampleBranchPolicyMergeTypes", &azuredevops.BranchPolicyMergeTypesArgs{
			ProjectId: exampleProject.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:  exampleGit.ID(),
						RepositoryRef: exampleGit.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyMergeTypesSettingsScopeArgs{
						RepositoryId:  nil,
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
					&azuredevops.BranchPolicyMergeTypesSettingsScopeArgs{
						MatchType: pulumi.String("DefaultBranch"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyMergeTypes:BranchPolicyMergeTypes example 00000000-0000-0000-0000-000000000000/0 ```

func GetBranchPolicyMergeTypes

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

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

func (*BranchPolicyMergeTypes) ElementType() reflect.Type

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutput

func (i *BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutput() BranchPolicyMergeTypesOutput

func (*BranchPolicyMergeTypes) ToBranchPolicyMergeTypesOutputWithContext

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

type BranchPolicyMergeTypesArgs

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

func (BranchPolicyMergeTypesArgs) ElementType() reflect.Type

type BranchPolicyMergeTypesArray

type BranchPolicyMergeTypesArray []BranchPolicyMergeTypesInput

func (BranchPolicyMergeTypesArray) ElementType

func (BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutput

func (i BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutput() BranchPolicyMergeTypesArrayOutput

func (BranchPolicyMergeTypesArray) ToBranchPolicyMergeTypesArrayOutputWithContext

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

type BranchPolicyMergeTypesArrayInput

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

type BranchPolicyMergeTypesArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesArrayOutput) ElementType

func (BranchPolicyMergeTypesArrayOutput) Index

func (BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutput

func (o BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutput() BranchPolicyMergeTypesArrayOutput

func (BranchPolicyMergeTypesArrayOutput) ToBranchPolicyMergeTypesArrayOutputWithContext

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

type BranchPolicyMergeTypesInput

type BranchPolicyMergeTypesInput interface {
	pulumi.Input

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

type BranchPolicyMergeTypesMap

type BranchPolicyMergeTypesMap map[string]BranchPolicyMergeTypesInput

func (BranchPolicyMergeTypesMap) ElementType

func (BranchPolicyMergeTypesMap) ElementType() reflect.Type

func (BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutput

func (i BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutput() BranchPolicyMergeTypesMapOutput

func (BranchPolicyMergeTypesMap) ToBranchPolicyMergeTypesMapOutputWithContext

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

type BranchPolicyMergeTypesMapInput

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

type BranchPolicyMergeTypesMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesMapOutput) ElementType

func (BranchPolicyMergeTypesMapOutput) MapIndex

func (BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutput

func (o BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutput() BranchPolicyMergeTypesMapOutput

func (BranchPolicyMergeTypesMapOutput) ToBranchPolicyMergeTypesMapOutputWithContext

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

type BranchPolicyMergeTypesOutput

type BranchPolicyMergeTypesOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyMergeTypesOutput) ElementType

func (BranchPolicyMergeTypesOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyMergeTypesOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyMergeTypesOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutput

func (o BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutput() BranchPolicyMergeTypesOutput

func (BranchPolicyMergeTypesOutput) ToBranchPolicyMergeTypesOutputWithContext

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

type BranchPolicyMergeTypesSettings

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

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

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutput

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutput() BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsOutputWithContext

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

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutput

func (i BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsArgs) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext

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

type BranchPolicyMergeTypesSettingsInput

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

type BranchPolicyMergeTypesSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsOutput) AllowBasicNoFastForward

func (o BranchPolicyMergeTypesSettingsOutput) AllowBasicNoFastForward() pulumi.BoolPtrOutput

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

func (BranchPolicyMergeTypesSettingsOutput) AllowRebaseAndFastForward

func (o BranchPolicyMergeTypesSettingsOutput) AllowRebaseAndFastForward() pulumi.BoolPtrOutput

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

func (BranchPolicyMergeTypesSettingsOutput) AllowRebaseWithMerge

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

func (BranchPolicyMergeTypesSettingsOutput) AllowSquash

Allow squash merge. Defaults to `false`

func (BranchPolicyMergeTypesSettingsOutput) ElementType

func (BranchPolicyMergeTypesSettingsOutput) Scopes

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

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutput

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutput() BranchPolicyMergeTypesSettingsOutput

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsOutputWithContext

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

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutput

func (o BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext

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

type BranchPolicyMergeTypesSettingsPtrInput

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

type BranchPolicyMergeTypesSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowBasicNoFastForward

func (o BranchPolicyMergeTypesSettingsPtrOutput) AllowBasicNoFastForward() pulumi.BoolPtrOutput

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

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseAndFastForward

func (o BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseAndFastForward() pulumi.BoolPtrOutput

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

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowRebaseWithMerge

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

func (BranchPolicyMergeTypesSettingsPtrOutput) AllowSquash

Allow squash merge. Defaults to `false`

func (BranchPolicyMergeTypesSettingsPtrOutput) Elem

func (BranchPolicyMergeTypesSettingsPtrOutput) ElementType

func (BranchPolicyMergeTypesSettingsPtrOutput) Scopes

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

func (BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutput

func (o BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutput() BranchPolicyMergeTypesSettingsPtrOutput

func (BranchPolicyMergeTypesSettingsPtrOutput) ToBranchPolicyMergeTypesSettingsPtrOutputWithContext

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

type BranchPolicyMergeTypesSettingsScope

type BranchPolicyMergeTypesSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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

type BranchPolicyMergeTypesSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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

func (BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutput

func (i BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutput() BranchPolicyMergeTypesSettingsScopeOutput

func (BranchPolicyMergeTypesSettingsScopeArgs) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext

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

type BranchPolicyMergeTypesSettingsScopeArray

type BranchPolicyMergeTypesSettingsScopeArray []BranchPolicyMergeTypesSettingsScopeInput

func (BranchPolicyMergeTypesSettingsScopeArray) ElementType

func (BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutput

func (i BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutput() BranchPolicyMergeTypesSettingsScopeArrayOutput

func (BranchPolicyMergeTypesSettingsScopeArray) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext

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

type BranchPolicyMergeTypesSettingsScopeArrayInput

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

type BranchPolicyMergeTypesSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ElementType

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) Index

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutput

func (o BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutput() BranchPolicyMergeTypesSettingsScopeArrayOutput

func (BranchPolicyMergeTypesSettingsScopeArrayOutput) ToBranchPolicyMergeTypesSettingsScopeArrayOutputWithContext

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

type BranchPolicyMergeTypesSettingsScopeInput

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

type BranchPolicyMergeTypesSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyMergeTypesSettingsScopeOutput) ElementType

func (BranchPolicyMergeTypesSettingsScopeOutput) MatchType

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

func (BranchPolicyMergeTypesSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyMergeTypesSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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

func (o BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutput() BranchPolicyMergeTypesSettingsScopeOutput

func (BranchPolicyMergeTypesSettingsScopeOutput) ToBranchPolicyMergeTypesSettingsScopeOutputWithContext

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

type BranchPolicyMergeTypesState

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

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"`
	// A `settings` block as defined below.. 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyMinReviewers(ctx, "exampleBranchPolicyMinReviewers", &azuredevops.BranchPolicyMinReviewersArgs{
			ProjectId: exampleProject.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:  exampleGit.ID(),
						RepositoryRef: exampleGit.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyMinReviewersSettingsScopeArgs{
						RepositoryId:  nil,
						RepositoryRef: pulumi.String("refs/heads/releases"),
						MatchType:     pulumi.String("Prefix"),
					},
					&azuredevops.BranchPolicyMinReviewersSettingsScopeArgs{
						MatchType: pulumi.String("DefaultBranch"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyMinReviewers:BranchPolicyMinReviewers example 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

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
	// A `settings` block as defined below.. This block must be defined exactly once.
	Settings BranchPolicyMinReviewersSettingsInput
}

The set of arguments for constructing a BranchPolicyMinReviewers resource.

func (BranchPolicyMinReviewersArgs) ElementType

type BranchPolicyMinReviewersArray

type BranchPolicyMinReviewersArray []BranchPolicyMinReviewersInput

func (BranchPolicyMinReviewersArray) ElementType

func (BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutput

func (i BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutput() BranchPolicyMinReviewersArrayOutput

func (BranchPolicyMinReviewersArray) ToBranchPolicyMinReviewersArrayOutputWithContext

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

type BranchPolicyMinReviewersArrayInput

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

type BranchPolicyMinReviewersArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersArrayOutput) ElementType

func (BranchPolicyMinReviewersArrayOutput) Index

func (BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutput

func (o BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutput() BranchPolicyMinReviewersArrayOutput

func (BranchPolicyMinReviewersArrayOutput) ToBranchPolicyMinReviewersArrayOutputWithContext

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

type BranchPolicyMinReviewersInput

type BranchPolicyMinReviewersInput interface {
	pulumi.Input

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

type BranchPolicyMinReviewersMap

type BranchPolicyMinReviewersMap map[string]BranchPolicyMinReviewersInput

func (BranchPolicyMinReviewersMap) ElementType

func (BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutput

func (i BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutput() BranchPolicyMinReviewersMapOutput

func (BranchPolicyMinReviewersMap) ToBranchPolicyMinReviewersMapOutputWithContext

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

type BranchPolicyMinReviewersMapInput

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

type BranchPolicyMinReviewersMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersMapOutput) ElementType

func (BranchPolicyMinReviewersMapOutput) MapIndex

func (BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutput

func (o BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutput() BranchPolicyMinReviewersMapOutput

func (BranchPolicyMinReviewersMapOutput) ToBranchPolicyMinReviewersMapOutputWithContext

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

type BranchPolicyMinReviewersOutput

type BranchPolicyMinReviewersOutput struct{ *pulumi.OutputState }

func (BranchPolicyMinReviewersOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyMinReviewersOutput) ElementType

func (BranchPolicyMinReviewersOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyMinReviewersOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyMinReviewersOutput) Settings

A `settings` block as defined below.. This block must be defined exactly once.

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutput

func (o BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutput() BranchPolicyMinReviewersOutput

func (BranchPolicyMinReviewersOutput) ToBranchPolicyMinReviewersOutputWithContext

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

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`.
	//
	// > **Note:** If `onPushResetAllVotes` is `true` then `onPushResetApprovedVotes` will be set to `true`. To enable `onPushResetApprovedVotes`, you need explicitly set `onPushResetAllVotes` `false` or not configure.
	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"`
	// A `scope` block as defined below. 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`.
	//
	// > **Note:** If `onPushResetAllVotes` is `true` then `onPushResetApprovedVotes` will be set to `true`. To enable `onPushResetApprovedVotes`, you need explicitly set `onPushResetAllVotes` `false` or not configure.
	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"`
	// A `scope` block as defined below. 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

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

func (o BranchPolicyMinReviewersSettingsOutput) LastPusherCannotApprove() pulumi.BoolPtrOutput

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

func (BranchPolicyMinReviewersSettingsOutput) OnLastIterationRequireVote

func (o BranchPolicyMinReviewersSettingsOutput) OnLastIterationRequireVote() pulumi.BoolPtrOutput

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

func (BranchPolicyMinReviewersSettingsOutput) OnPushResetAllVotes

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

> **Note:** If `onPushResetAllVotes` is `true` then `onPushResetApprovedVotes` will be set to `true`. To enable `onPushResetApprovedVotes`, you need explicitly set `onPushResetAllVotes` `false` or not configure.

func (BranchPolicyMinReviewersSettingsOutput) OnPushResetApprovedVotes

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

A `scope` block as defined below. 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

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

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

func (BranchPolicyMinReviewersSettingsPtrOutput) OnLastIterationRequireVote

func (o BranchPolicyMinReviewersSettingsPtrOutput) OnLastIterationRequireVote() pulumi.BoolPtrOutput

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

func (BranchPolicyMinReviewersSettingsPtrOutput) OnPushResetAllVotes

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

> **Note:** If `onPushResetAllVotes` is `true` then `onPushResetApprovedVotes` will be set to `true`. To enable `onPushResetApprovedVotes`, you need explicitly set `onPushResetAllVotes` `false` or not configure.

func (BranchPolicyMinReviewersSettingsPtrOutput) OnPushResetApprovedVotes

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

A `scope` block as defined below. 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), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.

func (BranchPolicyMinReviewersSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyMinReviewersSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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
	// A `settings` block as defined below.. This block must be defined exactly once.
	Settings BranchPolicyMinReviewersSettingsPtrInput
}

func (BranchPolicyMinReviewersState) ElementType

type BranchPolicyStatusCheck

type BranchPolicyStatusCheck 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 BranchPolicyStatusCheckSettingsOutput `pulumi:"settings"`
}

Manages a status check branch policy within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Features: pulumi.StringMap{
				"testplans": pulumi.String("disabled"),
				"artifacts": pulumi.String("disabled"),
			},
			Description: pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		exampleUser, err := azuredevops.NewUser(ctx, "exampleUser", &azuredevops.UserArgs{
			PrincipalName:      pulumi.String("mail@email.com"),
			AccountLicenseType: pulumi.String("basic"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBranchPolicyStatusCheck(ctx, "exampleBranchPolicyStatusCheck", &azuredevops.BranchPolicyStatusCheckArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			Settings: &azuredevops.BranchPolicyStatusCheckSettingsArgs{
				Name:               pulumi.String("Release"),
				AuthorId:           exampleUser.ID(),
				InvalidateOnUpdate: pulumi.Bool(true),
				Applicability:      pulumi.String("conditional"),
				DisplayName:        pulumi.String("PreCheck"),
				Scopes: azuredevops.BranchPolicyStatusCheckSettingsScopeArray{
					&azuredevops.BranchPolicyStatusCheckSettingsScopeArgs{
						RepositoryId:  exampleGit.ID(),
						RepositoryRef: exampleGit.DefaultBranch,
						MatchType:     pulumi.String("Exact"),
					},
					&azuredevops.BranchPolicyStatusCheckSettingsScopeArgs{
						MatchType: pulumi.String("DefaultBranch"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyStatusCheck:BranchPolicyStatusCheck example 00000000-0000-0000-0000-000000000000/0 ```

func GetBranchPolicyStatusCheck

func GetBranchPolicyStatusCheck(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchPolicyStatusCheckState, opts ...pulumi.ResourceOption) (*BranchPolicyStatusCheck, error)

GetBranchPolicyStatusCheck gets an existing BranchPolicyStatusCheck 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 NewBranchPolicyStatusCheck

func NewBranchPolicyStatusCheck(ctx *pulumi.Context,
	name string, args *BranchPolicyStatusCheckArgs, opts ...pulumi.ResourceOption) (*BranchPolicyStatusCheck, error)

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

func (*BranchPolicyStatusCheck) ElementType

func (*BranchPolicyStatusCheck) ElementType() reflect.Type

func (*BranchPolicyStatusCheck) ToBranchPolicyStatusCheckOutput

func (i *BranchPolicyStatusCheck) ToBranchPolicyStatusCheckOutput() BranchPolicyStatusCheckOutput

func (*BranchPolicyStatusCheck) ToBranchPolicyStatusCheckOutputWithContext

func (i *BranchPolicyStatusCheck) ToBranchPolicyStatusCheckOutputWithContext(ctx context.Context) BranchPolicyStatusCheckOutput

type BranchPolicyStatusCheckArgs

type BranchPolicyStatusCheckArgs 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 BranchPolicyStatusCheckSettingsInput
}

The set of arguments for constructing a BranchPolicyStatusCheck resource.

func (BranchPolicyStatusCheckArgs) ElementType

type BranchPolicyStatusCheckArray

type BranchPolicyStatusCheckArray []BranchPolicyStatusCheckInput

func (BranchPolicyStatusCheckArray) ElementType

func (BranchPolicyStatusCheckArray) ToBranchPolicyStatusCheckArrayOutput

func (i BranchPolicyStatusCheckArray) ToBranchPolicyStatusCheckArrayOutput() BranchPolicyStatusCheckArrayOutput

func (BranchPolicyStatusCheckArray) ToBranchPolicyStatusCheckArrayOutputWithContext

func (i BranchPolicyStatusCheckArray) ToBranchPolicyStatusCheckArrayOutputWithContext(ctx context.Context) BranchPolicyStatusCheckArrayOutput

type BranchPolicyStatusCheckArrayInput

type BranchPolicyStatusCheckArrayInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckArrayOutput() BranchPolicyStatusCheckArrayOutput
	ToBranchPolicyStatusCheckArrayOutputWithContext(context.Context) BranchPolicyStatusCheckArrayOutput
}

BranchPolicyStatusCheckArrayInput is an input type that accepts BranchPolicyStatusCheckArray and BranchPolicyStatusCheckArrayOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckArrayInput` via:

BranchPolicyStatusCheckArray{ BranchPolicyStatusCheckArgs{...} }

type BranchPolicyStatusCheckArrayOutput

type BranchPolicyStatusCheckArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckArrayOutput) ElementType

func (BranchPolicyStatusCheckArrayOutput) Index

func (BranchPolicyStatusCheckArrayOutput) ToBranchPolicyStatusCheckArrayOutput

func (o BranchPolicyStatusCheckArrayOutput) ToBranchPolicyStatusCheckArrayOutput() BranchPolicyStatusCheckArrayOutput

func (BranchPolicyStatusCheckArrayOutput) ToBranchPolicyStatusCheckArrayOutputWithContext

func (o BranchPolicyStatusCheckArrayOutput) ToBranchPolicyStatusCheckArrayOutputWithContext(ctx context.Context) BranchPolicyStatusCheckArrayOutput

type BranchPolicyStatusCheckInput

type BranchPolicyStatusCheckInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckOutput() BranchPolicyStatusCheckOutput
	ToBranchPolicyStatusCheckOutputWithContext(ctx context.Context) BranchPolicyStatusCheckOutput
}

type BranchPolicyStatusCheckMap

type BranchPolicyStatusCheckMap map[string]BranchPolicyStatusCheckInput

func (BranchPolicyStatusCheckMap) ElementType

func (BranchPolicyStatusCheckMap) ElementType() reflect.Type

func (BranchPolicyStatusCheckMap) ToBranchPolicyStatusCheckMapOutput

func (i BranchPolicyStatusCheckMap) ToBranchPolicyStatusCheckMapOutput() BranchPolicyStatusCheckMapOutput

func (BranchPolicyStatusCheckMap) ToBranchPolicyStatusCheckMapOutputWithContext

func (i BranchPolicyStatusCheckMap) ToBranchPolicyStatusCheckMapOutputWithContext(ctx context.Context) BranchPolicyStatusCheckMapOutput

type BranchPolicyStatusCheckMapInput

type BranchPolicyStatusCheckMapInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckMapOutput() BranchPolicyStatusCheckMapOutput
	ToBranchPolicyStatusCheckMapOutputWithContext(context.Context) BranchPolicyStatusCheckMapOutput
}

BranchPolicyStatusCheckMapInput is an input type that accepts BranchPolicyStatusCheckMap and BranchPolicyStatusCheckMapOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckMapInput` via:

BranchPolicyStatusCheckMap{ "key": BranchPolicyStatusCheckArgs{...} }

type BranchPolicyStatusCheckMapOutput

type BranchPolicyStatusCheckMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckMapOutput) ElementType

func (BranchPolicyStatusCheckMapOutput) MapIndex

func (BranchPolicyStatusCheckMapOutput) ToBranchPolicyStatusCheckMapOutput

func (o BranchPolicyStatusCheckMapOutput) ToBranchPolicyStatusCheckMapOutput() BranchPolicyStatusCheckMapOutput

func (BranchPolicyStatusCheckMapOutput) ToBranchPolicyStatusCheckMapOutputWithContext

func (o BranchPolicyStatusCheckMapOutput) ToBranchPolicyStatusCheckMapOutputWithContext(ctx context.Context) BranchPolicyStatusCheckMapOutput

type BranchPolicyStatusCheckOutput

type BranchPolicyStatusCheckOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyStatusCheckOutput) ElementType

func (BranchPolicyStatusCheckOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyStatusCheckOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyStatusCheckOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyStatusCheckOutput) ToBranchPolicyStatusCheckOutput

func (o BranchPolicyStatusCheckOutput) ToBranchPolicyStatusCheckOutput() BranchPolicyStatusCheckOutput

func (BranchPolicyStatusCheckOutput) ToBranchPolicyStatusCheckOutputWithContext

func (o BranchPolicyStatusCheckOutput) ToBranchPolicyStatusCheckOutputWithContext(ctx context.Context) BranchPolicyStatusCheckOutput

type BranchPolicyStatusCheckSettings

type BranchPolicyStatusCheckSettings struct {
	// Policy applicability. If policy `applicability` is `default`, apply unless "Not Applicable"
	// status is posted to the pull request. If policy `applicability` is `conditional`, policy is applied only after a status
	// is posted to the pull request.
	Applicability *string `pulumi:"applicability"`
	// The authorized user can post the status.
	AuthorId *string `pulumi:"authorId"`
	// The display name.
	DisplayName *string `pulumi:"displayName"`
	// If a path filter is set, the policy will 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"`
	// The genre of the status to check (see [Microsoft Documentation](https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-status?view=azure-devops#status-policy))
	Genre *string `pulumi:"genre"`
	// Reset status whenever there are new changes.
	InvalidateOnUpdate *bool `pulumi:"invalidateOnUpdate"`
	// The status name to check.
	Name string `pulumi:"name"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined
	// at least once.
	Scopes []BranchPolicyStatusCheckSettingsScope `pulumi:"scopes"`
}

type BranchPolicyStatusCheckSettingsArgs

type BranchPolicyStatusCheckSettingsArgs struct {
	// Policy applicability. If policy `applicability` is `default`, apply unless "Not Applicable"
	// status is posted to the pull request. If policy `applicability` is `conditional`, policy is applied only after a status
	// is posted to the pull request.
	Applicability pulumi.StringPtrInput `pulumi:"applicability"`
	// The authorized user can post the status.
	AuthorId pulumi.StringPtrInput `pulumi:"authorId"`
	// The display name.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// If a path filter is set, the policy will 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"`
	// The genre of the status to check (see [Microsoft Documentation](https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-status?view=azure-devops#status-policy))
	Genre pulumi.StringPtrInput `pulumi:"genre"`
	// Reset status whenever there are new changes.
	InvalidateOnUpdate pulumi.BoolPtrInput `pulumi:"invalidateOnUpdate"`
	// The status name to check.
	Name pulumi.StringInput `pulumi:"name"`
	// Controls which repositories and branches the policy will be enabled for. This block must be defined
	// at least once.
	Scopes BranchPolicyStatusCheckSettingsScopeArrayInput `pulumi:"scopes"`
}

func (BranchPolicyStatusCheckSettingsArgs) ElementType

func (BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsOutput

func (i BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsOutput() BranchPolicyStatusCheckSettingsOutput

func (BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsOutputWithContext

func (i BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsOutput

func (BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsPtrOutput

func (i BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsPtrOutput() BranchPolicyStatusCheckSettingsPtrOutput

func (BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext

func (i BranchPolicyStatusCheckSettingsArgs) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsPtrOutput

type BranchPolicyStatusCheckSettingsInput

type BranchPolicyStatusCheckSettingsInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckSettingsOutput() BranchPolicyStatusCheckSettingsOutput
	ToBranchPolicyStatusCheckSettingsOutputWithContext(context.Context) BranchPolicyStatusCheckSettingsOutput
}

BranchPolicyStatusCheckSettingsInput is an input type that accepts BranchPolicyStatusCheckSettingsArgs and BranchPolicyStatusCheckSettingsOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckSettingsInput` via:

BranchPolicyStatusCheckSettingsArgs{...}

type BranchPolicyStatusCheckSettingsOutput

type BranchPolicyStatusCheckSettingsOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckSettingsOutput) Applicability

Policy applicability. If policy `applicability` is `default`, apply unless "Not Applicable" status is posted to the pull request. If policy `applicability` is `conditional`, policy is applied only after a status is posted to the pull request.

func (BranchPolicyStatusCheckSettingsOutput) AuthorId

The authorized user can post the status.

func (BranchPolicyStatusCheckSettingsOutput) DisplayName

The display name.

func (BranchPolicyStatusCheckSettingsOutput) ElementType

func (BranchPolicyStatusCheckSettingsOutput) FilenamePatterns

If a path filter is set, the policy will 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 (BranchPolicyStatusCheckSettingsOutput) Genre

The genre of the status to check (see [Microsoft Documentation](https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-status?view=azure-devops#status-policy))

func (BranchPolicyStatusCheckSettingsOutput) InvalidateOnUpdate

Reset status whenever there are new changes.

func (BranchPolicyStatusCheckSettingsOutput) Name

The status name to check.

func (BranchPolicyStatusCheckSettingsOutput) Scopes

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

func (BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsOutput

func (o BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsOutput() BranchPolicyStatusCheckSettingsOutput

func (BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsOutputWithContext

func (o BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsOutput

func (BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsPtrOutput

func (o BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsPtrOutput() BranchPolicyStatusCheckSettingsPtrOutput

func (BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext

func (o BranchPolicyStatusCheckSettingsOutput) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsPtrOutput

type BranchPolicyStatusCheckSettingsPtrInput

type BranchPolicyStatusCheckSettingsPtrInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckSettingsPtrOutput() BranchPolicyStatusCheckSettingsPtrOutput
	ToBranchPolicyStatusCheckSettingsPtrOutputWithContext(context.Context) BranchPolicyStatusCheckSettingsPtrOutput
}

BranchPolicyStatusCheckSettingsPtrInput is an input type that accepts BranchPolicyStatusCheckSettingsArgs, BranchPolicyStatusCheckSettingsPtr and BranchPolicyStatusCheckSettingsPtrOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckSettingsPtrInput` via:

        BranchPolicyStatusCheckSettingsArgs{...}

or:

        nil

type BranchPolicyStatusCheckSettingsPtrOutput

type BranchPolicyStatusCheckSettingsPtrOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckSettingsPtrOutput) Applicability

Policy applicability. If policy `applicability` is `default`, apply unless "Not Applicable" status is posted to the pull request. If policy `applicability` is `conditional`, policy is applied only after a status is posted to the pull request.

func (BranchPolicyStatusCheckSettingsPtrOutput) AuthorId

The authorized user can post the status.

func (BranchPolicyStatusCheckSettingsPtrOutput) DisplayName

The display name.

func (BranchPolicyStatusCheckSettingsPtrOutput) Elem

func (BranchPolicyStatusCheckSettingsPtrOutput) ElementType

func (BranchPolicyStatusCheckSettingsPtrOutput) FilenamePatterns

If a path filter is set, the policy will 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 (BranchPolicyStatusCheckSettingsPtrOutput) Genre

The genre of the status to check (see [Microsoft Documentation](https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-status?view=azure-devops#status-policy))

func (BranchPolicyStatusCheckSettingsPtrOutput) InvalidateOnUpdate

Reset status whenever there are new changes.

func (BranchPolicyStatusCheckSettingsPtrOutput) Name

The status name to check.

func (BranchPolicyStatusCheckSettingsPtrOutput) Scopes

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

func (BranchPolicyStatusCheckSettingsPtrOutput) ToBranchPolicyStatusCheckSettingsPtrOutput

func (o BranchPolicyStatusCheckSettingsPtrOutput) ToBranchPolicyStatusCheckSettingsPtrOutput() BranchPolicyStatusCheckSettingsPtrOutput

func (BranchPolicyStatusCheckSettingsPtrOutput) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext

func (o BranchPolicyStatusCheckSettingsPtrOutput) ToBranchPolicyStatusCheckSettingsPtrOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsPtrOutput

type BranchPolicyStatusCheckSettingsScope

type BranchPolicyStatusCheckSettingsScope struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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 BranchPolicyStatusCheckSettingsScopeArgs

type BranchPolicyStatusCheckSettingsScopeArgs struct {
	// The match type to use when applying the policy. Supported values are `Exact` (default), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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 (BranchPolicyStatusCheckSettingsScopeArgs) ElementType

func (BranchPolicyStatusCheckSettingsScopeArgs) ToBranchPolicyStatusCheckSettingsScopeOutput

func (i BranchPolicyStatusCheckSettingsScopeArgs) ToBranchPolicyStatusCheckSettingsScopeOutput() BranchPolicyStatusCheckSettingsScopeOutput

func (BranchPolicyStatusCheckSettingsScopeArgs) ToBranchPolicyStatusCheckSettingsScopeOutputWithContext

func (i BranchPolicyStatusCheckSettingsScopeArgs) ToBranchPolicyStatusCheckSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsScopeOutput

type BranchPolicyStatusCheckSettingsScopeArray

type BranchPolicyStatusCheckSettingsScopeArray []BranchPolicyStatusCheckSettingsScopeInput

func (BranchPolicyStatusCheckSettingsScopeArray) ElementType

func (BranchPolicyStatusCheckSettingsScopeArray) ToBranchPolicyStatusCheckSettingsScopeArrayOutput

func (i BranchPolicyStatusCheckSettingsScopeArray) ToBranchPolicyStatusCheckSettingsScopeArrayOutput() BranchPolicyStatusCheckSettingsScopeArrayOutput

func (BranchPolicyStatusCheckSettingsScopeArray) ToBranchPolicyStatusCheckSettingsScopeArrayOutputWithContext

func (i BranchPolicyStatusCheckSettingsScopeArray) ToBranchPolicyStatusCheckSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsScopeArrayOutput

type BranchPolicyStatusCheckSettingsScopeArrayInput

type BranchPolicyStatusCheckSettingsScopeArrayInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckSettingsScopeArrayOutput() BranchPolicyStatusCheckSettingsScopeArrayOutput
	ToBranchPolicyStatusCheckSettingsScopeArrayOutputWithContext(context.Context) BranchPolicyStatusCheckSettingsScopeArrayOutput
}

BranchPolicyStatusCheckSettingsScopeArrayInput is an input type that accepts BranchPolicyStatusCheckSettingsScopeArray and BranchPolicyStatusCheckSettingsScopeArrayOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckSettingsScopeArrayInput` via:

BranchPolicyStatusCheckSettingsScopeArray{ BranchPolicyStatusCheckSettingsScopeArgs{...} }

type BranchPolicyStatusCheckSettingsScopeArrayOutput

type BranchPolicyStatusCheckSettingsScopeArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckSettingsScopeArrayOutput) ElementType

func (BranchPolicyStatusCheckSettingsScopeArrayOutput) Index

func (BranchPolicyStatusCheckSettingsScopeArrayOutput) ToBranchPolicyStatusCheckSettingsScopeArrayOutput

func (o BranchPolicyStatusCheckSettingsScopeArrayOutput) ToBranchPolicyStatusCheckSettingsScopeArrayOutput() BranchPolicyStatusCheckSettingsScopeArrayOutput

func (BranchPolicyStatusCheckSettingsScopeArrayOutput) ToBranchPolicyStatusCheckSettingsScopeArrayOutputWithContext

func (o BranchPolicyStatusCheckSettingsScopeArrayOutput) ToBranchPolicyStatusCheckSettingsScopeArrayOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsScopeArrayOutput

type BranchPolicyStatusCheckSettingsScopeInput

type BranchPolicyStatusCheckSettingsScopeInput interface {
	pulumi.Input

	ToBranchPolicyStatusCheckSettingsScopeOutput() BranchPolicyStatusCheckSettingsScopeOutput
	ToBranchPolicyStatusCheckSettingsScopeOutputWithContext(context.Context) BranchPolicyStatusCheckSettingsScopeOutput
}

BranchPolicyStatusCheckSettingsScopeInput is an input type that accepts BranchPolicyStatusCheckSettingsScopeArgs and BranchPolicyStatusCheckSettingsScopeOutput values. You can construct a concrete instance of `BranchPolicyStatusCheckSettingsScopeInput` via:

BranchPolicyStatusCheckSettingsScopeArgs{...}

type BranchPolicyStatusCheckSettingsScopeOutput

type BranchPolicyStatusCheckSettingsScopeOutput struct{ *pulumi.OutputState }

func (BranchPolicyStatusCheckSettingsScopeOutput) ElementType

func (BranchPolicyStatusCheckSettingsScopeOutput) MatchType

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

func (BranchPolicyStatusCheckSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyStatusCheckSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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 (BranchPolicyStatusCheckSettingsScopeOutput) ToBranchPolicyStatusCheckSettingsScopeOutput

func (o BranchPolicyStatusCheckSettingsScopeOutput) ToBranchPolicyStatusCheckSettingsScopeOutput() BranchPolicyStatusCheckSettingsScopeOutput

func (BranchPolicyStatusCheckSettingsScopeOutput) ToBranchPolicyStatusCheckSettingsScopeOutputWithContext

func (o BranchPolicyStatusCheckSettingsScopeOutput) ToBranchPolicyStatusCheckSettingsScopeOutputWithContext(ctx context.Context) BranchPolicyStatusCheckSettingsScopeOutput

type BranchPolicyStatusCheckState

type BranchPolicyStatusCheckState 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 BranchPolicyStatusCheckSettingsPtrInput
}

func (BranchPolicyStatusCheckState) 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/branchPolicyWorkItemLinking:BranchPolicyWorkItemLinking example 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

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

type BranchPolicyWorkItemLinkingArray []BranchPolicyWorkItemLinkingInput

func (BranchPolicyWorkItemLinkingArray) ElementType

func (BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutput

func (i BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutput() BranchPolicyWorkItemLinkingArrayOutput

func (BranchPolicyWorkItemLinkingArray) ToBranchPolicyWorkItemLinkingArrayOutputWithContext

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

type BranchPolicyWorkItemLinkingArrayInput

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

type BranchPolicyWorkItemLinkingArrayOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingArrayOutput) ElementType

func (BranchPolicyWorkItemLinkingArrayOutput) Index

func (BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutput

func (o BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutput() BranchPolicyWorkItemLinkingArrayOutput

func (BranchPolicyWorkItemLinkingArrayOutput) ToBranchPolicyWorkItemLinkingArrayOutputWithContext

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

type BranchPolicyWorkItemLinkingInput

type BranchPolicyWorkItemLinkingInput interface {
	pulumi.Input

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

type BranchPolicyWorkItemLinkingMap

type BranchPolicyWorkItemLinkingMap map[string]BranchPolicyWorkItemLinkingInput

func (BranchPolicyWorkItemLinkingMap) ElementType

func (BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutput

func (i BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutput() BranchPolicyWorkItemLinkingMapOutput

func (BranchPolicyWorkItemLinkingMap) ToBranchPolicyWorkItemLinkingMapOutputWithContext

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

type BranchPolicyWorkItemLinkingMapInput

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

type BranchPolicyWorkItemLinkingMapOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingMapOutput) ElementType

func (BranchPolicyWorkItemLinkingMapOutput) MapIndex

func (BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutput

func (o BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutput() BranchPolicyWorkItemLinkingMapOutput

func (BranchPolicyWorkItemLinkingMapOutput) ToBranchPolicyWorkItemLinkingMapOutputWithContext

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

type BranchPolicyWorkItemLinkingOutput

type BranchPolicyWorkItemLinkingOutput struct{ *pulumi.OutputState }

func (BranchPolicyWorkItemLinkingOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (BranchPolicyWorkItemLinkingOutput) ElementType

func (BranchPolicyWorkItemLinkingOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (BranchPolicyWorkItemLinkingOutput) ProjectId

The ID of the project in which the policy will be created.

func (BranchPolicyWorkItemLinkingOutput) Settings

Configuration for the policy. This block must be defined exactly once.

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutput

func (o BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutput() BranchPolicyWorkItemLinkingOutput

func (BranchPolicyWorkItemLinkingOutput) ToBranchPolicyWorkItemLinkingOutputWithContext

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

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), `Prefix` or `DefaultBranch`.
	MatchType *string `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId *string `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.
	MatchType pulumi.StringPtrInput `pulumi:"matchType"`
	// The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.
	RepositoryId pulumi.StringPtrInput `pulumi:"repositoryId"`
	// The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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), `Prefix` or `DefaultBranch`.

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) RepositoryId

The repository ID. Needed only if the scope of the policy will be limited to a single repository. If `matchType` is `DefaultBranch`, this should not be defined.

func (BranchPolicyWorkItemLinkingSettingsScopeOutput) RepositoryRef

The ref pattern to use for the match when `matchType` other than `DefaultBranch`. 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. Defaults to `Azure Pipelines`.
	AgentPoolName pulumi.StringPtrOutput `pulumi:"agentPoolName"`
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrOutput `pulumi:"ciTrigger"`
	// A `features` blocks as documented below.
	Features BuildDefinitionFeatureArrayOutput `pulumi:"features"`
	// 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 trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrOutput `pulumi:"pullRequestTrigger"`
	// The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
	QueueStatus pulumi.StringPtrOutput `pulumi:"queueStatus"`
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryOutput `pulumi:"repository"`
	// The revision of the build definition
	Revision  pulumi.IntOutput                   `pulumi:"revision"`
	Schedules BuildDefinitionScheduleArrayOutput `pulumi:"schedules"`
	// 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

### Tfs <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		exampleVariableGroup, err := azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{
			ProjectId:   exampleProject.ID(),
			Description: pulumi.String("Managed by Terraform"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("FOO"),
					Value: pulumi.String("BAR"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "exampleBuildDefinition", &azuredevops.BuildDefinitionArgs{
			ProjectId: exampleProject.ID(),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			Schedules: azuredevops.BuildDefinitionScheduleArray{
				&azuredevops.BuildDefinitionScheduleArgs{
					BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
						&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("master"),
							},
							Excludes: pulumi.StringArray{
								pulumi.String("test"),
								pulumi.String("regression"),
							},
						},
					},
					DaysToBuilds: pulumi.StringArray{
						pulumi.String("Wed"),
						pulumi.String("Sun"),
					},
					ScheduleOnlyWithChanges: pulumi.Bool(true),
					StartHours:              pulumi.Int(10),
					StartMinutes:            pulumi.Int(59),
					TimeZone:                pulumi.String("(UTC) Coordinated Universal Time"),
				},
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:   pulumi.String("TfsGit"),
				RepoId:     exampleGit.ID(),
				BranchName: exampleGit.DefaultBranch,
				YmlPath:    pulumi.String("azure-pipelines.yml"),
			},
			VariableGroups: pulumi.IntArray{
				exampleVariableGroup.ID(),
			},
			Variables: azuredevops.BuildDefinitionVariableArray{
				&azuredevops.BuildDefinitionVariableArgs{
					Name:  pulumi.String("PipelineVariable"),
					Value: pulumi.String("Go Microsoft!"),
				},
				&azuredevops.BuildDefinitionVariableArgs{
					Name:        pulumi.String("PipelineSecret"),
					SecretValue: pulumi.String("ZGV2cw"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### GitHub Enterprise <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointGitHubEnterprise, err := azuredevops.NewServiceEndpointGitHubEnterprise(ctx, "exampleServiceEndpointGitHubEnterprise", &azuredevops.ServiceEndpointGitHubEnterpriseArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub Enterprise"),
			Url:                 pulumi.String("https://github.contoso.com"),
			Description:         pulumi.String("Managed by Terraform"),
			AuthPersonal: &azuredevops.ServiceEndpointGitHubEnterpriseAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinition(ctx, "exampleBuildDefinition", &azuredevops.BuildDefinitionArgs{
			ProjectId: exampleProject.ID(),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(false),
			},
			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: exampleServiceEndpointGitHubEnterprise.ID(),
			},
			Schedules: azuredevops.BuildDefinitionScheduleArray{
				&azuredevops.BuildDefinitionScheduleArgs{
					BranchFilters: azuredevops.BuildDefinitionScheduleBranchFilterArray{
						&azuredevops.BuildDefinitionScheduleBranchFilterArgs{
							Includes: pulumi.StringArray{
								pulumi.String("main"),
							},
							Excludes: pulumi.StringArray{
								pulumi.String("test"),
								pulumi.String("regression"),
							},
						},
					},
					DaysToBuilds: pulumi.StringArray{
						pulumi.String("Wed"),
						pulumi.String("Sun"),
					},
					ScheduleOnlyWithChanges: pulumi.Bool(true),
					StartHours:              pulumi.Int(10),
					StartMinutes:            pulumi.Int(59),
					TimeZone:                pulumi.String("(UTC) Coordinated Universal Time"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Remarks

The path attribute can not end in `\` unless the path is the root value of `\`.

Valid path values (yaml encoded) include: - `\\` - `\\ExampleFolder` - `\\Nested\\Example Folder`

The value of `\\ExampleFolder\\` would be invalid.

## Relevant Links

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

## 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 example "Example Project"/10 ```

or

```sh $ pulumi import azuredevops:index/buildDefinition:BuildDefinition example 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

type BuildDefinitionArgs

type BuildDefinitionArgs struct {
	// The agent pool that should execute the build. Defaults to `Azure Pipelines`.
	AgentPoolName pulumi.StringPtrInput
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrInput
	// A `features` blocks as documented below.
	Features BuildDefinitionFeatureArrayInput
	// 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 trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrInput
	// The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
	QueueStatus pulumi.StringPtrInput
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryInput
	Schedules  BuildDefinitionScheduleArrayInput
	// 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

type BuildDefinitionArray []BuildDefinitionInput

func (BuildDefinitionArray) ElementType

func (BuildDefinitionArray) ElementType() reflect.Type

func (BuildDefinitionArray) ToBuildDefinitionArrayOutput

func (i BuildDefinitionArray) ToBuildDefinitionArrayOutput() BuildDefinitionArrayOutput

func (BuildDefinitionArray) ToBuildDefinitionArrayOutputWithContext

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

type BuildDefinitionArrayInput

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

type BuildDefinitionArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionArrayOutput) ElementType

func (BuildDefinitionArrayOutput) ElementType() reflect.Type

func (BuildDefinitionArrayOutput) Index

func (BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutput

func (o BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutput() BuildDefinitionArrayOutput

func (BuildDefinitionArrayOutput) ToBuildDefinitionArrayOutputWithContext

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 path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionCiTriggerOverridePathFilterArgs

type BuildDefinitionCiTriggerOverridePathFilterArgs struct {
	// List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of path 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 path patterns to exclude.

func (BuildDefinitionCiTriggerOverridePathFilterOutput) Includes

List of path 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 BuildDefinitionFeature

type BuildDefinitionFeature struct {
	// Trigger the pipeline to run after the creation. Defaults to `true`.
	//
	// > **Note** The first run(`skipFirstRun = false`) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
	SkipFirstRun *bool `pulumi:"skipFirstRun"`
}

type BuildDefinitionFeatureArgs

type BuildDefinitionFeatureArgs struct {
	// Trigger the pipeline to run after the creation. Defaults to `true`.
	//
	// > **Note** The first run(`skipFirstRun = false`) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
	SkipFirstRun pulumi.BoolPtrInput `pulumi:"skipFirstRun"`
}

func (BuildDefinitionFeatureArgs) ElementType

func (BuildDefinitionFeatureArgs) ElementType() reflect.Type

func (BuildDefinitionFeatureArgs) ToBuildDefinitionFeatureOutput

func (i BuildDefinitionFeatureArgs) ToBuildDefinitionFeatureOutput() BuildDefinitionFeatureOutput

func (BuildDefinitionFeatureArgs) ToBuildDefinitionFeatureOutputWithContext

func (i BuildDefinitionFeatureArgs) ToBuildDefinitionFeatureOutputWithContext(ctx context.Context) BuildDefinitionFeatureOutput

type BuildDefinitionFeatureArray

type BuildDefinitionFeatureArray []BuildDefinitionFeatureInput

func (BuildDefinitionFeatureArray) ElementType

func (BuildDefinitionFeatureArray) ToBuildDefinitionFeatureArrayOutput

func (i BuildDefinitionFeatureArray) ToBuildDefinitionFeatureArrayOutput() BuildDefinitionFeatureArrayOutput

func (BuildDefinitionFeatureArray) ToBuildDefinitionFeatureArrayOutputWithContext

func (i BuildDefinitionFeatureArray) ToBuildDefinitionFeatureArrayOutputWithContext(ctx context.Context) BuildDefinitionFeatureArrayOutput

type BuildDefinitionFeatureArrayInput

type BuildDefinitionFeatureArrayInput interface {
	pulumi.Input

	ToBuildDefinitionFeatureArrayOutput() BuildDefinitionFeatureArrayOutput
	ToBuildDefinitionFeatureArrayOutputWithContext(context.Context) BuildDefinitionFeatureArrayOutput
}

BuildDefinitionFeatureArrayInput is an input type that accepts BuildDefinitionFeatureArray and BuildDefinitionFeatureArrayOutput values. You can construct a concrete instance of `BuildDefinitionFeatureArrayInput` via:

BuildDefinitionFeatureArray{ BuildDefinitionFeatureArgs{...} }

type BuildDefinitionFeatureArrayOutput

type BuildDefinitionFeatureArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionFeatureArrayOutput) ElementType

func (BuildDefinitionFeatureArrayOutput) Index

func (BuildDefinitionFeatureArrayOutput) ToBuildDefinitionFeatureArrayOutput

func (o BuildDefinitionFeatureArrayOutput) ToBuildDefinitionFeatureArrayOutput() BuildDefinitionFeatureArrayOutput

func (BuildDefinitionFeatureArrayOutput) ToBuildDefinitionFeatureArrayOutputWithContext

func (o BuildDefinitionFeatureArrayOutput) ToBuildDefinitionFeatureArrayOutputWithContext(ctx context.Context) BuildDefinitionFeatureArrayOutput

type BuildDefinitionFeatureInput

type BuildDefinitionFeatureInput interface {
	pulumi.Input

	ToBuildDefinitionFeatureOutput() BuildDefinitionFeatureOutput
	ToBuildDefinitionFeatureOutputWithContext(context.Context) BuildDefinitionFeatureOutput
}

BuildDefinitionFeatureInput is an input type that accepts BuildDefinitionFeatureArgs and BuildDefinitionFeatureOutput values. You can construct a concrete instance of `BuildDefinitionFeatureInput` via:

BuildDefinitionFeatureArgs{...}

type BuildDefinitionFeatureOutput

type BuildDefinitionFeatureOutput struct{ *pulumi.OutputState }

func (BuildDefinitionFeatureOutput) ElementType

func (BuildDefinitionFeatureOutput) SkipFirstRun

Trigger the pipeline to run after the creation. Defaults to `true`.

> **Note** The first run(`skipFirstRun = false`) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.

func (BuildDefinitionFeatureOutput) ToBuildDefinitionFeatureOutput

func (o BuildDefinitionFeatureOutput) ToBuildDefinitionFeatureOutput() BuildDefinitionFeatureOutput

func (BuildDefinitionFeatureOutput) ToBuildDefinitionFeatureOutputWithContext

func (o BuildDefinitionFeatureOutput) ToBuildDefinitionFeatureOutputWithContext(ctx context.Context) BuildDefinitionFeatureOutput

type BuildDefinitionInput

type BuildDefinitionInput interface {
	pulumi.Input

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

type BuildDefinitionMap

type BuildDefinitionMap map[string]BuildDefinitionInput

func (BuildDefinitionMap) ElementType

func (BuildDefinitionMap) ElementType() reflect.Type

func (BuildDefinitionMap) ToBuildDefinitionMapOutput

func (i BuildDefinitionMap) ToBuildDefinitionMapOutput() BuildDefinitionMapOutput

func (BuildDefinitionMap) ToBuildDefinitionMapOutputWithContext

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

type BuildDefinitionMapInput

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

type BuildDefinitionMapOutput struct{ *pulumi.OutputState }

func (BuildDefinitionMapOutput) ElementType

func (BuildDefinitionMapOutput) ElementType() reflect.Type

func (BuildDefinitionMapOutput) MapIndex

func (BuildDefinitionMapOutput) ToBuildDefinitionMapOutput

func (o BuildDefinitionMapOutput) ToBuildDefinitionMapOutput() BuildDefinitionMapOutput

func (BuildDefinitionMapOutput) ToBuildDefinitionMapOutputWithContext

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

type BuildDefinitionOutput

type BuildDefinitionOutput struct{ *pulumi.OutputState }

func (BuildDefinitionOutput) AgentPoolName

func (o BuildDefinitionOutput) AgentPoolName() pulumi.StringPtrOutput

The agent pool that should execute the build. Defaults to `Azure Pipelines`.

func (BuildDefinitionOutput) CiTrigger

Continuous Integration trigger.

func (BuildDefinitionOutput) ElementType

func (BuildDefinitionOutput) ElementType() reflect.Type

func (BuildDefinitionOutput) Features

A `features` blocks as documented below.

func (BuildDefinitionOutput) Name

The name of the build definition.

func (BuildDefinitionOutput) Path

The folder path of the build definition.

func (BuildDefinitionOutput) ProjectId

The project ID or project name.

func (BuildDefinitionOutput) PullRequestTrigger

Pull Request Integration trigger.

func (BuildDefinitionOutput) QueueStatus

The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.

func (BuildDefinitionOutput) Repository

A `repository` block as documented below.

func (BuildDefinitionOutput) Revision

func (o BuildDefinitionOutput) Revision() pulumi.IntOutput

The revision of the build definition

func (BuildDefinitionOutput) Schedules

func (BuildDefinitionOutput) ToBuildDefinitionOutput

func (o BuildDefinitionOutput) ToBuildDefinitionOutput() BuildDefinitionOutput

func (BuildDefinitionOutput) ToBuildDefinitionOutputWithContext

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

func (BuildDefinitionOutput) VariableGroups

func (o BuildDefinitionOutput) VariableGroups() pulumi.IntArrayOutput

A list of variable group IDs (integers) to link to the build definition.

func (BuildDefinitionOutput) Variables

A list of `variable` blocks, as documented below.

type BuildDefinitionPermissions

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.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		exampleBuildDefinition, err := azuredevops.NewBuildDefinition(ctx, "exampleBuildDefinition", &azuredevops.BuildDefinitionArgs{
			ProjectId: exampleProject.ID(),
			Path:      pulumi.String("\\ExampleFolder"),
			CiTrigger: &azuredevops.BuildDefinitionCiTriggerArgs{
				UseYaml: pulumi.Bool(true),
			},
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType:   pulumi.String("TfsGit"),
				RepoId:     exampleGit.ID(),
				BranchName: exampleGit.DefaultBranch,
				YmlPath:    pulumi.String("azure-pipelines.yml"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildDefinitionPermissions(ctx, "exampleBuildDefinitionPermissions", &azuredevops.BuildDefinitionPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			BuildDefinitionId: exampleBuildDefinition.ID(),
			Permissions: pulumi.StringMap{
				"ViewBuilds":       pulumi.String("Allow"),
				"EditBuildQuality": pulumi.String("Deny"),
				"DeleteBuilds":     pulumi.String("Deny"),
				"StopBuilds":       pulumi.String("Allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

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

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

func (*BuildDefinitionPermissions) ElementType() reflect.Type

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutput

func (i *BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutput() BuildDefinitionPermissionsOutput

func (*BuildDefinitionPermissions) ToBuildDefinitionPermissionsOutputWithContext

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

type BuildDefinitionPermissionsArgs

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.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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

type BuildDefinitionPermissionsArray

type BuildDefinitionPermissionsArray []BuildDefinitionPermissionsInput

func (BuildDefinitionPermissionsArray) ElementType

func (BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutput

func (i BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutput() BuildDefinitionPermissionsArrayOutput

func (BuildDefinitionPermissionsArray) ToBuildDefinitionPermissionsArrayOutputWithContext

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

type BuildDefinitionPermissionsArrayInput

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

type BuildDefinitionPermissionsArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPermissionsArrayOutput) ElementType

func (BuildDefinitionPermissionsArrayOutput) Index

func (BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutput

func (o BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutput() BuildDefinitionPermissionsArrayOutput

func (BuildDefinitionPermissionsArrayOutput) ToBuildDefinitionPermissionsArrayOutputWithContext

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

type BuildDefinitionPermissionsInput

type BuildDefinitionPermissionsInput interface {
	pulumi.Input

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

type BuildDefinitionPermissionsMap

type BuildDefinitionPermissionsMap map[string]BuildDefinitionPermissionsInput

func (BuildDefinitionPermissionsMap) ElementType

func (BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutput

func (i BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutput() BuildDefinitionPermissionsMapOutput

func (BuildDefinitionPermissionsMap) ToBuildDefinitionPermissionsMapOutputWithContext

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

type BuildDefinitionPermissionsMapInput

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

type BuildDefinitionPermissionsMapOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPermissionsMapOutput) ElementType

func (BuildDefinitionPermissionsMapOutput) MapIndex

func (BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutput

func (o BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutput() BuildDefinitionPermissionsMapOutput

func (BuildDefinitionPermissionsMapOutput) ToBuildDefinitionPermissionsMapOutputWithContext

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

type BuildDefinitionPermissionsOutput

type BuildDefinitionPermissionsOutput struct{ *pulumi.OutputState }

func (BuildDefinitionPermissionsOutput) BuildDefinitionId

The id of the build definition to assign the permissions.

func (BuildDefinitionPermissionsOutput) ElementType

func (BuildDefinitionPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

| Permission | Description | |--------------------------------|---------------------------------------| | ViewBuilds | View builds | | EditBuildQuality | Edit build quality | | RetainIndefinitely | Retain indefinitely | | DeleteBuilds | Delete builds | | ManageBuildQualities | Manage build qualities | | DestroyBuilds | Destroy builds | | UpdateBuildInformation | Update build information | | QueueBuilds | Queue builds | | ManageBuildQueue | Manage build queue | | StopBuilds | Stop builds | | ViewBuildDefinition | View build pipeline | | EditBuildDefinition | Edit build pipeline | | DeleteBuildDefinition | Delete build pipeline | | OverrideBuildCheckInValidation | Override check-in validation by build | | AdministerBuildPermissions | Administer build permissions |

func (BuildDefinitionPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (BuildDefinitionPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (BuildDefinitionPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`.

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutput

func (o BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutput() BuildDefinitionPermissionsOutput

func (BuildDefinitionPermissionsOutput) ToBuildDefinitionPermissionsOutputWithContext

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

type BuildDefinitionPermissionsState

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.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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

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 from forks 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 from forks 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 from forks 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 from forks 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 path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type BuildDefinitionPullRequestTriggerOverridePathFilterArgs

type BuildDefinitionPullRequestTriggerOverridePathFilterArgs struct {
	// List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// List of path 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 path patterns to exclude.

func (BuildDefinitionPullRequestTriggerOverridePathFilterOutput) Includes

List of path 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 BuildDefinitionSchedule

type BuildDefinitionSchedule struct {
	// block supports the following:
	BranchFilters []BuildDefinitionScheduleBranchFilter `pulumi:"branchFilters"`
	// When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
	DaysToBuilds []string `pulumi:"daysToBuilds"`
	// The ID of the schedule job
	ScheduleJobId *string `pulumi:"scheduleJobId"`
	// Schedule builds if the source or pipeline has changed. Defaults to `true`.
	ScheduleOnlyWithChanges *bool `pulumi:"scheduleOnlyWithChanges"`
	// Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
	StartHours *int `pulumi:"startHours"`
	// Build start minute. Defaults to `0`. Valid values: `0 ~ 59`.
	StartMinutes *int `pulumi:"startMinutes"`
	// Build time zone. Defaults to `(UTC) Coordinated Universal Time`. Valid values:
	// `(UTC-12:00) International Date Line West`,
	// `(UTC-11:00) Coordinated Universal Time-11`,
	// `(UTC-10:00) Aleutian Islands`,
	// `(UTC-10:00) Hawaii`,
	// `(UTC-09:30) Marquesas Islands`,
	// `(UTC-09:00) Alaska`,
	// `(UTC-09:00) Coordinated Universal Time-09`,
	// `(UTC-08:00) Baja California`,
	// `(UTC-08:00) Coordinated Universal Time-08`,
	// `(UTC-08:00) Pacific Time (US &Canada)`,
	// `(UTC-07:00) Arizona`,
	// `(UTC-07:00) Chihuahua, La Paz, Mazatlan`,
	// `(UTC-07:00) Mountain Time (US &Canada)`,
	// `(UTC-07:00) Yukon`,
	// `(UTC-06:00) Central America`,
	// `(UTC-06:00) Central Time (US &Canada)`,
	// `(UTC-06:00) Easter Island`,
	// `(UTC-06:00) Guadalajara, Mexico City, Monterrey`,
	// `(UTC-06:00) Saskatchewan`,
	// `(UTC-05:00) Bogota, Lima, Quito, Rio Branco`,
	// `(UTC-05:00) Chetumal`,
	// `(UTC-05:00) Eastern Time (US &Canada)`,
	// `(UTC-05:00) Haiti`,
	// `(UTC-05:00) Havana`,
	// `(UTC-05:00) Indiana (East)`,
	// `(UTC-05:00) Turks and Caicos`,
	// `(UTC-04:00) Asuncion`,
	// `(UTC-04:00) Atlantic Time (Canada)`,
	// `(UTC-04:00) Caracas`,
	// `(UTC-04:00) Cuiaba`,
	// `(UTC-04:00) Georgetown, La Paz, Manaus, San Juan`,
	// `(UTC-04:00) Santiago`,
	// `(UTC-03:30) Newfoundland`,
	// `(UTC-03:00) Araguaina`,
	// `(UTC-03:00) Brasilia`,
	// `(UTC-03:00) Cayenne, Fortaleza`,
	// `(UTC-03:00) City of Buenos Aires`,
	// `(UTC-03:00) Greenland`,
	// `(UTC-03:00) Montevideo`,
	// `(UTC-03:00) Punta Arenas`,
	// `(UTC-03:00) Saint Pierre and Miquelon`,
	// `(UTC-03:00) Salvador`,
	// `(UTC-02:00) Coordinated Universal Time-02`,
	// `(UTC-02:00) Mid-Atlantic - Old`,
	// `(UTC-01:00) Azores`,
	// `(UTC-01:00) Cabo Verde Is.`,
	// `(UTC) Coordinated Universal Time`,
	// `(UTC+00:00) Dublin, Edinburgh, Lisbon, London`,
	// `(UTC+00:00) Monrovia, Reykjavik`,
	// `(UTC+00:00) Sao Tome`,
	// `(UTC+01:00) Casablanca`,
	// `(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna`,
	// `(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague`,
	// `(UTC+01:00) Brussels, Copenhagen, Madrid, Paris`,
	// `(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb`,
	// `(UTC+01:00) West Central Africa`,
	// `(UTC+02:00) Amman`,
	// `(UTC+02:00) Athens, Bucharest`,
	// `(UTC+02:00) Beirut`,
	// `(UTC+02:00) Cairo`,
	// `(UTC+02:00) Chisinau`,
	// `(UTC+02:00) Damascus`,
	// `(UTC+02:00) Gaza, Hebron`,
	// `(UTC+02:00) Harare, Pretoria`,
	// `(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius`,
	// `(UTC+02:00) Jerusalem`,
	// `(UTC+02:00) Juba`,
	// `(UTC+02:00) Kaliningrad`,
	// `(UTC+02:00) Khartoum`,
	// `(UTC+02:00) Tripoli`,
	// `(UTC+02:00) Windhoek`,
	// `(UTC+03:00) Baghdad`,
	// `(UTC+03:00) Istanbul`,
	// `(UTC+03:00) Kuwait, Riyadh`,
	// `(UTC+03:00) Minsk`,
	// `(UTC+03:00) Moscow, St. Petersburg`,
	// `(UTC+03:00) Nairobi`,
	// `(UTC+03:00) Volgograd`,
	// `(UTC+03:30) Tehran`,
	// `(UTC+04:00) Abu Dhabi, Muscat`,
	// `(UTC+04:00) Astrakhan, Ulyanovsk`,
	// `(UTC+04:00) Baku`,
	// `(UTC+04:00) Izhevsk, Samara`,
	// `(UTC+04:00) Port Louis`,
	// `(UTC+04:00) Saratov`,
	// `(UTC+04:00) Tbilisi`,
	// `(UTC+04:00) Yerevan`,
	// `(UTC+04:30) Kabul`,
	// `(UTC+05:00) Ashgabat, Tashkent`,
	// `(UTC+05:00) Ekaterinburg`,
	// `(UTC+05:00) Islamabad, Karachi`,
	// `(UTC+05:00) Qyzylorda`,
	// `(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi`,
	// `(UTC+05:30) Sri Jayawardenepura`,
	// `(UTC+05:45) Kathmandu`,
	// `(UTC+06:00) Astana`,
	// `(UTC+06:00) Dhaka`,
	// `(UTC+06:00) Omsk`,
	// `(UTC+06:30) Yangon (Rangoon)`,
	// `(UTC+07:00) Bangkok, Hanoi, Jakarta`,
	// `(UTC+07:00) Barnaul, Gorno-Altaysk`,
	// `(UTC+07:00) Hovd`,
	// `(UTC+07:00) Krasnoyarsk`,
	// `(UTC+07:00) Novosibirsk`,
	// `(UTC+07:00) Tomsk`,
	// `(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi`,
	// `(UTC+08:00) Irkutsk`,
	// `(UTC+08:00) Kuala Lumpur, Singapore`,
	// `(UTC+08:00) Perth`,
	// `(UTC+08:00) Taipei`,
	// `(UTC+08:00) Ulaanbaatar`,
	// `(UTC+08:45) Eucla`,
	// `(UTC+09:00) Chita`,
	// `(UTC+09:00) Osaka, Sapporo, Tokyo`,
	// `(UTC+09:00) Pyongyang`,
	// `(UTC+09:00) Seoul`,
	// `(UTC+09:00) Yakutsk`,
	// `(UTC+09:30) Adelaide`,
	// `(UTC+09:30) Darwin`,
	// `(UTC+10:00) Brisbane`,
	// `(UTC+10:00) Canberra, Melbourne, Sydney`,
	// `(UTC+10:00) Guam, Port Moresby`,
	// `(UTC+10:00) Hobart`,
	// `(UTC+10:00) Vladivostok`,
	// `(UTC+10:30) Lord Howe Island`,
	// `(UTC+11:00) Bougainville Island`,
	// `(UTC+11:00) Chokurdakh`,
	// `(UTC+11:00) Magadan`,
	// `(UTC+11:00) Norfolk Island`,
	// `(UTC+11:00) Sakhalin`,
	// `(UTC+11:00) Solomon Is., New Caledonia`,
	// `(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky`,
	// `(UTC+12:00) Auckland, Wellington`,
	// `(UTC+12:00) Coordinated Universal Time+12`,
	// `(UTC+12:00) Fiji`,
	// `(UTC+12:00) Petropavlovsk-Kamchatsky - Old`,
	// `(UTC+12:45) Chatham Islands`,
	// `(UTC+13:00) Coordinated Universal Time+13`,
	// `(UTC+13:00) Nuku'alofa`,
	// `(UTC+13:00) Samoa`,
	// `(UTC+14:00) Kiritimati Island`.
	TimeZone *string `pulumi:"timeZone"`
}

type BuildDefinitionScheduleArgs

type BuildDefinitionScheduleArgs struct {
	// block supports the following:
	BranchFilters BuildDefinitionScheduleBranchFilterArrayInput `pulumi:"branchFilters"`
	// When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
	DaysToBuilds pulumi.StringArrayInput `pulumi:"daysToBuilds"`
	// The ID of the schedule job
	ScheduleJobId pulumi.StringPtrInput `pulumi:"scheduleJobId"`
	// Schedule builds if the source or pipeline has changed. Defaults to `true`.
	ScheduleOnlyWithChanges pulumi.BoolPtrInput `pulumi:"scheduleOnlyWithChanges"`
	// Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
	StartHours pulumi.IntPtrInput `pulumi:"startHours"`
	// Build start minute. Defaults to `0`. Valid values: `0 ~ 59`.
	StartMinutes pulumi.IntPtrInput `pulumi:"startMinutes"`
	// Build time zone. Defaults to `(UTC) Coordinated Universal Time`. Valid values:
	// `(UTC-12:00) International Date Line West`,
	// `(UTC-11:00) Coordinated Universal Time-11`,
	// `(UTC-10:00) Aleutian Islands`,
	// `(UTC-10:00) Hawaii`,
	// `(UTC-09:30) Marquesas Islands`,
	// `(UTC-09:00) Alaska`,
	// `(UTC-09:00) Coordinated Universal Time-09`,
	// `(UTC-08:00) Baja California`,
	// `(UTC-08:00) Coordinated Universal Time-08`,
	// `(UTC-08:00) Pacific Time (US &Canada)`,
	// `(UTC-07:00) Arizona`,
	// `(UTC-07:00) Chihuahua, La Paz, Mazatlan`,
	// `(UTC-07:00) Mountain Time (US &Canada)`,
	// `(UTC-07:00) Yukon`,
	// `(UTC-06:00) Central America`,
	// `(UTC-06:00) Central Time (US &Canada)`,
	// `(UTC-06:00) Easter Island`,
	// `(UTC-06:00) Guadalajara, Mexico City, Monterrey`,
	// `(UTC-06:00) Saskatchewan`,
	// `(UTC-05:00) Bogota, Lima, Quito, Rio Branco`,
	// `(UTC-05:00) Chetumal`,
	// `(UTC-05:00) Eastern Time (US &Canada)`,
	// `(UTC-05:00) Haiti`,
	// `(UTC-05:00) Havana`,
	// `(UTC-05:00) Indiana (East)`,
	// `(UTC-05:00) Turks and Caicos`,
	// `(UTC-04:00) Asuncion`,
	// `(UTC-04:00) Atlantic Time (Canada)`,
	// `(UTC-04:00) Caracas`,
	// `(UTC-04:00) Cuiaba`,
	// `(UTC-04:00) Georgetown, La Paz, Manaus, San Juan`,
	// `(UTC-04:00) Santiago`,
	// `(UTC-03:30) Newfoundland`,
	// `(UTC-03:00) Araguaina`,
	// `(UTC-03:00) Brasilia`,
	// `(UTC-03:00) Cayenne, Fortaleza`,
	// `(UTC-03:00) City of Buenos Aires`,
	// `(UTC-03:00) Greenland`,
	// `(UTC-03:00) Montevideo`,
	// `(UTC-03:00) Punta Arenas`,
	// `(UTC-03:00) Saint Pierre and Miquelon`,
	// `(UTC-03:00) Salvador`,
	// `(UTC-02:00) Coordinated Universal Time-02`,
	// `(UTC-02:00) Mid-Atlantic - Old`,
	// `(UTC-01:00) Azores`,
	// `(UTC-01:00) Cabo Verde Is.`,
	// `(UTC) Coordinated Universal Time`,
	// `(UTC+00:00) Dublin, Edinburgh, Lisbon, London`,
	// `(UTC+00:00) Monrovia, Reykjavik`,
	// `(UTC+00:00) Sao Tome`,
	// `(UTC+01:00) Casablanca`,
	// `(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna`,
	// `(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague`,
	// `(UTC+01:00) Brussels, Copenhagen, Madrid, Paris`,
	// `(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb`,
	// `(UTC+01:00) West Central Africa`,
	// `(UTC+02:00) Amman`,
	// `(UTC+02:00) Athens, Bucharest`,
	// `(UTC+02:00) Beirut`,
	// `(UTC+02:00) Cairo`,
	// `(UTC+02:00) Chisinau`,
	// `(UTC+02:00) Damascus`,
	// `(UTC+02:00) Gaza, Hebron`,
	// `(UTC+02:00) Harare, Pretoria`,
	// `(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius`,
	// `(UTC+02:00) Jerusalem`,
	// `(UTC+02:00) Juba`,
	// `(UTC+02:00) Kaliningrad`,
	// `(UTC+02:00) Khartoum`,
	// `(UTC+02:00) Tripoli`,
	// `(UTC+02:00) Windhoek`,
	// `(UTC+03:00) Baghdad`,
	// `(UTC+03:00) Istanbul`,
	// `(UTC+03:00) Kuwait, Riyadh`,
	// `(UTC+03:00) Minsk`,
	// `(UTC+03:00) Moscow, St. Petersburg`,
	// `(UTC+03:00) Nairobi`,
	// `(UTC+03:00) Volgograd`,
	// `(UTC+03:30) Tehran`,
	// `(UTC+04:00) Abu Dhabi, Muscat`,
	// `(UTC+04:00) Astrakhan, Ulyanovsk`,
	// `(UTC+04:00) Baku`,
	// `(UTC+04:00) Izhevsk, Samara`,
	// `(UTC+04:00) Port Louis`,
	// `(UTC+04:00) Saratov`,
	// `(UTC+04:00) Tbilisi`,
	// `(UTC+04:00) Yerevan`,
	// `(UTC+04:30) Kabul`,
	// `(UTC+05:00) Ashgabat, Tashkent`,
	// `(UTC+05:00) Ekaterinburg`,
	// `(UTC+05:00) Islamabad, Karachi`,
	// `(UTC+05:00) Qyzylorda`,
	// `(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi`,
	// `(UTC+05:30) Sri Jayawardenepura`,
	// `(UTC+05:45) Kathmandu`,
	// `(UTC+06:00) Astana`,
	// `(UTC+06:00) Dhaka`,
	// `(UTC+06:00) Omsk`,
	// `(UTC+06:30) Yangon (Rangoon)`,
	// `(UTC+07:00) Bangkok, Hanoi, Jakarta`,
	// `(UTC+07:00) Barnaul, Gorno-Altaysk`,
	// `(UTC+07:00) Hovd`,
	// `(UTC+07:00) Krasnoyarsk`,
	// `(UTC+07:00) Novosibirsk`,
	// `(UTC+07:00) Tomsk`,
	// `(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi`,
	// `(UTC+08:00) Irkutsk`,
	// `(UTC+08:00) Kuala Lumpur, Singapore`,
	// `(UTC+08:00) Perth`,
	// `(UTC+08:00) Taipei`,
	// `(UTC+08:00) Ulaanbaatar`,
	// `(UTC+08:45) Eucla`,
	// `(UTC+09:00) Chita`,
	// `(UTC+09:00) Osaka, Sapporo, Tokyo`,
	// `(UTC+09:00) Pyongyang`,
	// `(UTC+09:00) Seoul`,
	// `(UTC+09:00) Yakutsk`,
	// `(UTC+09:30) Adelaide`,
	// `(UTC+09:30) Darwin`,
	// `(UTC+10:00) Brisbane`,
	// `(UTC+10:00) Canberra, Melbourne, Sydney`,
	// `(UTC+10:00) Guam, Port Moresby`,
	// `(UTC+10:00) Hobart`,
	// `(UTC+10:00) Vladivostok`,
	// `(UTC+10:30) Lord Howe Island`,
	// `(UTC+11:00) Bougainville Island`,
	// `(UTC+11:00) Chokurdakh`,
	// `(UTC+11:00) Magadan`,
	// `(UTC+11:00) Norfolk Island`,
	// `(UTC+11:00) Sakhalin`,
	// `(UTC+11:00) Solomon Is., New Caledonia`,
	// `(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky`,
	// `(UTC+12:00) Auckland, Wellington`,
	// `(UTC+12:00) Coordinated Universal Time+12`,
	// `(UTC+12:00) Fiji`,
	// `(UTC+12:00) Petropavlovsk-Kamchatsky - Old`,
	// `(UTC+12:45) Chatham Islands`,
	// `(UTC+13:00) Coordinated Universal Time+13`,
	// `(UTC+13:00) Nuku'alofa`,
	// `(UTC+13:00) Samoa`,
	// `(UTC+14:00) Kiritimati Island`.
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
}

func (BuildDefinitionScheduleArgs) ElementType

func (BuildDefinitionScheduleArgs) ToBuildDefinitionScheduleOutput

func (i BuildDefinitionScheduleArgs) ToBuildDefinitionScheduleOutput() BuildDefinitionScheduleOutput

func (BuildDefinitionScheduleArgs) ToBuildDefinitionScheduleOutputWithContext

func (i BuildDefinitionScheduleArgs) ToBuildDefinitionScheduleOutputWithContext(ctx context.Context) BuildDefinitionScheduleOutput

type BuildDefinitionScheduleArray

type BuildDefinitionScheduleArray []BuildDefinitionScheduleInput

func (BuildDefinitionScheduleArray) ElementType

func (BuildDefinitionScheduleArray) ToBuildDefinitionScheduleArrayOutput

func (i BuildDefinitionScheduleArray) ToBuildDefinitionScheduleArrayOutput() BuildDefinitionScheduleArrayOutput

func (BuildDefinitionScheduleArray) ToBuildDefinitionScheduleArrayOutputWithContext

func (i BuildDefinitionScheduleArray) ToBuildDefinitionScheduleArrayOutputWithContext(ctx context.Context) BuildDefinitionScheduleArrayOutput

type BuildDefinitionScheduleArrayInput

type BuildDefinitionScheduleArrayInput interface {
	pulumi.Input

	ToBuildDefinitionScheduleArrayOutput() BuildDefinitionScheduleArrayOutput
	ToBuildDefinitionScheduleArrayOutputWithContext(context.Context) BuildDefinitionScheduleArrayOutput
}

BuildDefinitionScheduleArrayInput is an input type that accepts BuildDefinitionScheduleArray and BuildDefinitionScheduleArrayOutput values. You can construct a concrete instance of `BuildDefinitionScheduleArrayInput` via:

BuildDefinitionScheduleArray{ BuildDefinitionScheduleArgs{...} }

type BuildDefinitionScheduleArrayOutput

type BuildDefinitionScheduleArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionScheduleArrayOutput) ElementType

func (BuildDefinitionScheduleArrayOutput) Index

func (BuildDefinitionScheduleArrayOutput) ToBuildDefinitionScheduleArrayOutput

func (o BuildDefinitionScheduleArrayOutput) ToBuildDefinitionScheduleArrayOutput() BuildDefinitionScheduleArrayOutput

func (BuildDefinitionScheduleArrayOutput) ToBuildDefinitionScheduleArrayOutputWithContext

func (o BuildDefinitionScheduleArrayOutput) ToBuildDefinitionScheduleArrayOutputWithContext(ctx context.Context) BuildDefinitionScheduleArrayOutput

type BuildDefinitionScheduleBranchFilter

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

type BuildDefinitionScheduleBranchFilterArgs

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

func (BuildDefinitionScheduleBranchFilterArgs) ElementType

func (BuildDefinitionScheduleBranchFilterArgs) ToBuildDefinitionScheduleBranchFilterOutput

func (i BuildDefinitionScheduleBranchFilterArgs) ToBuildDefinitionScheduleBranchFilterOutput() BuildDefinitionScheduleBranchFilterOutput

func (BuildDefinitionScheduleBranchFilterArgs) ToBuildDefinitionScheduleBranchFilterOutputWithContext

func (i BuildDefinitionScheduleBranchFilterArgs) ToBuildDefinitionScheduleBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionScheduleBranchFilterOutput

type BuildDefinitionScheduleBranchFilterArray

type BuildDefinitionScheduleBranchFilterArray []BuildDefinitionScheduleBranchFilterInput

func (BuildDefinitionScheduleBranchFilterArray) ElementType

func (BuildDefinitionScheduleBranchFilterArray) ToBuildDefinitionScheduleBranchFilterArrayOutput

func (i BuildDefinitionScheduleBranchFilterArray) ToBuildDefinitionScheduleBranchFilterArrayOutput() BuildDefinitionScheduleBranchFilterArrayOutput

func (BuildDefinitionScheduleBranchFilterArray) ToBuildDefinitionScheduleBranchFilterArrayOutputWithContext

func (i BuildDefinitionScheduleBranchFilterArray) ToBuildDefinitionScheduleBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionScheduleBranchFilterArrayOutput

type BuildDefinitionScheduleBranchFilterArrayInput

type BuildDefinitionScheduleBranchFilterArrayInput interface {
	pulumi.Input

	ToBuildDefinitionScheduleBranchFilterArrayOutput() BuildDefinitionScheduleBranchFilterArrayOutput
	ToBuildDefinitionScheduleBranchFilterArrayOutputWithContext(context.Context) BuildDefinitionScheduleBranchFilterArrayOutput
}

BuildDefinitionScheduleBranchFilterArrayInput is an input type that accepts BuildDefinitionScheduleBranchFilterArray and BuildDefinitionScheduleBranchFilterArrayOutput values. You can construct a concrete instance of `BuildDefinitionScheduleBranchFilterArrayInput` via:

BuildDefinitionScheduleBranchFilterArray{ BuildDefinitionScheduleBranchFilterArgs{...} }

type BuildDefinitionScheduleBranchFilterArrayOutput

type BuildDefinitionScheduleBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (BuildDefinitionScheduleBranchFilterArrayOutput) ElementType

func (BuildDefinitionScheduleBranchFilterArrayOutput) Index

func (BuildDefinitionScheduleBranchFilterArrayOutput) ToBuildDefinitionScheduleBranchFilterArrayOutput

func (o BuildDefinitionScheduleBranchFilterArrayOutput) ToBuildDefinitionScheduleBranchFilterArrayOutput() BuildDefinitionScheduleBranchFilterArrayOutput

func (BuildDefinitionScheduleBranchFilterArrayOutput) ToBuildDefinitionScheduleBranchFilterArrayOutputWithContext

func (o BuildDefinitionScheduleBranchFilterArrayOutput) ToBuildDefinitionScheduleBranchFilterArrayOutputWithContext(ctx context.Context) BuildDefinitionScheduleBranchFilterArrayOutput

type BuildDefinitionScheduleBranchFilterInput

type BuildDefinitionScheduleBranchFilterInput interface {
	pulumi.Input

	ToBuildDefinitionScheduleBranchFilterOutput() BuildDefinitionScheduleBranchFilterOutput
	ToBuildDefinitionScheduleBranchFilterOutputWithContext(context.Context) BuildDefinitionScheduleBranchFilterOutput
}

BuildDefinitionScheduleBranchFilterInput is an input type that accepts BuildDefinitionScheduleBranchFilterArgs and BuildDefinitionScheduleBranchFilterOutput values. You can construct a concrete instance of `BuildDefinitionScheduleBranchFilterInput` via:

BuildDefinitionScheduleBranchFilterArgs{...}

type BuildDefinitionScheduleBranchFilterOutput

type BuildDefinitionScheduleBranchFilterOutput struct{ *pulumi.OutputState }

func (BuildDefinitionScheduleBranchFilterOutput) ElementType

func (BuildDefinitionScheduleBranchFilterOutput) Excludes

List of branch patterns to exclude.

func (BuildDefinitionScheduleBranchFilterOutput) Includes

List of branch patterns to include.

func (BuildDefinitionScheduleBranchFilterOutput) ToBuildDefinitionScheduleBranchFilterOutput

func (o BuildDefinitionScheduleBranchFilterOutput) ToBuildDefinitionScheduleBranchFilterOutput() BuildDefinitionScheduleBranchFilterOutput

func (BuildDefinitionScheduleBranchFilterOutput) ToBuildDefinitionScheduleBranchFilterOutputWithContext

func (o BuildDefinitionScheduleBranchFilterOutput) ToBuildDefinitionScheduleBranchFilterOutputWithContext(ctx context.Context) BuildDefinitionScheduleBranchFilterOutput

type BuildDefinitionScheduleInput

type BuildDefinitionScheduleInput interface {
	pulumi.Input

	ToBuildDefinitionScheduleOutput() BuildDefinitionScheduleOutput
	ToBuildDefinitionScheduleOutputWithContext(context.Context) BuildDefinitionScheduleOutput
}

BuildDefinitionScheduleInput is an input type that accepts BuildDefinitionScheduleArgs and BuildDefinitionScheduleOutput values. You can construct a concrete instance of `BuildDefinitionScheduleInput` via:

BuildDefinitionScheduleArgs{...}

type BuildDefinitionScheduleOutput

type BuildDefinitionScheduleOutput struct{ *pulumi.OutputState }

func (BuildDefinitionScheduleOutput) BranchFilters

block supports the following:

func (BuildDefinitionScheduleOutput) DaysToBuilds

When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.

func (BuildDefinitionScheduleOutput) ElementType

func (BuildDefinitionScheduleOutput) ScheduleJobId

The ID of the schedule job

func (BuildDefinitionScheduleOutput) ScheduleOnlyWithChanges

func (o BuildDefinitionScheduleOutput) ScheduleOnlyWithChanges() pulumi.BoolPtrOutput

Schedule builds if the source or pipeline has changed. Defaults to `true`.

func (BuildDefinitionScheduleOutput) StartHours

Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.

func (BuildDefinitionScheduleOutput) StartMinutes

Build start minute. Defaults to `0`. Valid values: `0 ~ 59`.

func (BuildDefinitionScheduleOutput) TimeZone

Build time zone. Defaults to `(UTC) Coordinated Universal Time`. Valid values: `(UTC-12:00) International Date Line West`, `(UTC-11:00) Coordinated Universal Time-11`, `(UTC-10:00) Aleutian Islands`, `(UTC-10:00) Hawaii`, `(UTC-09:30) Marquesas Islands`, `(UTC-09:00) Alaska`, `(UTC-09:00) Coordinated Universal Time-09`, `(UTC-08:00) Baja California`, `(UTC-08:00) Coordinated Universal Time-08`, `(UTC-08:00) Pacific Time (US &Canada)`, `(UTC-07:00) Arizona`, `(UTC-07:00) Chihuahua, La Paz, Mazatlan`, `(UTC-07:00) Mountain Time (US &Canada)`, `(UTC-07:00) Yukon`, `(UTC-06:00) Central America`, `(UTC-06:00) Central Time (US &Canada)`, `(UTC-06:00) Easter Island`, `(UTC-06:00) Guadalajara, Mexico City, Monterrey`, `(UTC-06:00) Saskatchewan`, `(UTC-05:00) Bogota, Lima, Quito, Rio Branco`, `(UTC-05:00) Chetumal`, `(UTC-05:00) Eastern Time (US &Canada)`, `(UTC-05:00) Haiti`, `(UTC-05:00) Havana`, `(UTC-05:00) Indiana (East)`, `(UTC-05:00) Turks and Caicos`, `(UTC-04:00) Asuncion`, `(UTC-04:00) Atlantic Time (Canada)`, `(UTC-04:00) Caracas`, `(UTC-04:00) Cuiaba`, `(UTC-04:00) Georgetown, La Paz, Manaus, San Juan`, `(UTC-04:00) Santiago`, `(UTC-03:30) Newfoundland`, `(UTC-03:00) Araguaina`, `(UTC-03:00) Brasilia`, `(UTC-03:00) Cayenne, Fortaleza`, `(UTC-03:00) City of Buenos Aires`, `(UTC-03:00) Greenland`, `(UTC-03:00) Montevideo`, `(UTC-03:00) Punta Arenas`, `(UTC-03:00) Saint Pierre and Miquelon`, `(UTC-03:00) Salvador`, `(UTC-02:00) Coordinated Universal Time-02`, `(UTC-02:00) Mid-Atlantic - Old`, `(UTC-01:00) Azores`, `(UTC-01:00) Cabo Verde Is.`, `(UTC) Coordinated Universal Time`, `(UTC+00:00) Dublin, Edinburgh, Lisbon, London`, `(UTC+00:00) Monrovia, Reykjavik`, `(UTC+00:00) Sao Tome`, `(UTC+01:00) Casablanca`, `(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna`, `(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague`, `(UTC+01:00) Brussels, Copenhagen, Madrid, Paris`, `(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb`, `(UTC+01:00) West Central Africa`, `(UTC+02:00) Amman`, `(UTC+02:00) Athens, Bucharest`, `(UTC+02:00) Beirut`, `(UTC+02:00) Cairo`, `(UTC+02:00) Chisinau`, `(UTC+02:00) Damascus`, `(UTC+02:00) Gaza, Hebron`, `(UTC+02:00) Harare, Pretoria`, `(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius`, `(UTC+02:00) Jerusalem`, `(UTC+02:00) Juba`, `(UTC+02:00) Kaliningrad`, `(UTC+02:00) Khartoum`, `(UTC+02:00) Tripoli`, `(UTC+02:00) Windhoek`, `(UTC+03:00) Baghdad`, `(UTC+03:00) Istanbul`, `(UTC+03:00) Kuwait, Riyadh`, `(UTC+03:00) Minsk`, `(UTC+03:00) Moscow, St. Petersburg`, `(UTC+03:00) Nairobi`, `(UTC+03:00) Volgograd`, `(UTC+03:30) Tehran`, `(UTC+04:00) Abu Dhabi, Muscat`, `(UTC+04:00) Astrakhan, Ulyanovsk`, `(UTC+04:00) Baku`, `(UTC+04:00) Izhevsk, Samara`, `(UTC+04:00) Port Louis`, `(UTC+04:00) Saratov`, `(UTC+04:00) Tbilisi`, `(UTC+04:00) Yerevan`, `(UTC+04:30) Kabul`, `(UTC+05:00) Ashgabat, Tashkent`, `(UTC+05:00) Ekaterinburg`, `(UTC+05:00) Islamabad, Karachi`, `(UTC+05:00) Qyzylorda`, `(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi`, `(UTC+05:30) Sri Jayawardenepura`, `(UTC+05:45) Kathmandu`, `(UTC+06:00) Astana`, `(UTC+06:00) Dhaka`, `(UTC+06:00) Omsk`, `(UTC+06:30) Yangon (Rangoon)`, `(UTC+07:00) Bangkok, Hanoi, Jakarta`, `(UTC+07:00) Barnaul, Gorno-Altaysk`, `(UTC+07:00) Hovd`, `(UTC+07:00) Krasnoyarsk`, `(UTC+07:00) Novosibirsk`, `(UTC+07:00) Tomsk`, `(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi`, `(UTC+08:00) Irkutsk`, `(UTC+08:00) Kuala Lumpur, Singapore`, `(UTC+08:00) Perth`, `(UTC+08:00) Taipei`, `(UTC+08:00) Ulaanbaatar`, `(UTC+08:45) Eucla`, `(UTC+09:00) Chita`, `(UTC+09:00) Osaka, Sapporo, Tokyo`, `(UTC+09:00) Pyongyang`, `(UTC+09:00) Seoul`, `(UTC+09:00) Yakutsk`, `(UTC+09:30) Adelaide`, `(UTC+09:30) Darwin`, `(UTC+10:00) Brisbane`, `(UTC+10:00) Canberra, Melbourne, Sydney`, `(UTC+10:00) Guam, Port Moresby`, `(UTC+10:00) Hobart`, `(UTC+10:00) Vladivostok`, `(UTC+10:30) Lord Howe Island`, `(UTC+11:00) Bougainville Island`, `(UTC+11:00) Chokurdakh`, `(UTC+11:00) Magadan`, `(UTC+11:00) Norfolk Island`, `(UTC+11:00) Sakhalin`, `(UTC+11:00) Solomon Is., New Caledonia`, `(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky`, `(UTC+12:00) Auckland, Wellington`, `(UTC+12:00) Coordinated Universal Time+12`, `(UTC+12:00) Fiji`, `(UTC+12:00) Petropavlovsk-Kamchatsky - Old`, `(UTC+12:45) Chatham Islands`, `(UTC+13:00) Coordinated Universal Time+13`, `(UTC+13:00) Nuku'alofa`, `(UTC+13:00) Samoa`, `(UTC+14:00) Kiritimati Island`.

func (BuildDefinitionScheduleOutput) ToBuildDefinitionScheduleOutput

func (o BuildDefinitionScheduleOutput) ToBuildDefinitionScheduleOutput() BuildDefinitionScheduleOutput

func (BuildDefinitionScheduleOutput) ToBuildDefinitionScheduleOutputWithContext

func (o BuildDefinitionScheduleOutput) ToBuildDefinitionScheduleOutputWithContext(ctx context.Context) BuildDefinitionScheduleOutput

type BuildDefinitionState

type BuildDefinitionState struct {
	// The agent pool that should execute the build. Defaults to `Azure Pipelines`.
	AgentPoolName pulumi.StringPtrInput
	// Continuous Integration trigger.
	CiTrigger BuildDefinitionCiTriggerPtrInput
	// A `features` blocks as documented below.
	Features BuildDefinitionFeatureArrayInput
	// 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 trigger.
	PullRequestTrigger BuildDefinitionPullRequestTriggerPtrInput
	// The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
	QueueStatus pulumi.StringPtrInput
	// A `repository` block as documented below.
	Repository BuildDefinitionRepositoryPtrInput
	// The revision of the build definition
	Revision  pulumi.IntPtrInput
	Schedules BuildDefinitionScheduleArrayInput
	// 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

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 BuildFolder

type BuildFolder struct {
	pulumi.CustomResourceState

	// Folder Description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The folder path.
	Path pulumi.StringOutput `pulumi:"path"`
	// The ID of the project in which the folder will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

Manages a Build Folder.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildFolder(ctx, "exampleBuildFolder", &azuredevops.BuildFolderArgs{
			ProjectId:   exampleProject.ID(),
			Path:        pulumi.String("\\ExampleFolder"),
			Description: pulumi.String("ExampleFolder description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Build Folders can be imported using the `project name/path` or `project id/path`, e.g.

```sh $ pulumi import azuredevops:index/buildFolder:BuildFolder example "Example Project/\\ExampleFolder" ```

or

```sh $ pulumi import azuredevops:index/buildFolder:BuildFolder example 00000000-0000-0000-0000-000000000000/\\ExampleFolder ```

func GetBuildFolder

func GetBuildFolder(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BuildFolderState, opts ...pulumi.ResourceOption) (*BuildFolder, error)

GetBuildFolder gets an existing BuildFolder 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 NewBuildFolder

func NewBuildFolder(ctx *pulumi.Context,
	name string, args *BuildFolderArgs, opts ...pulumi.ResourceOption) (*BuildFolder, error)

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

func (*BuildFolder) ElementType

func (*BuildFolder) ElementType() reflect.Type

func (*BuildFolder) ToBuildFolderOutput

func (i *BuildFolder) ToBuildFolderOutput() BuildFolderOutput

func (*BuildFolder) ToBuildFolderOutputWithContext

func (i *BuildFolder) ToBuildFolderOutputWithContext(ctx context.Context) BuildFolderOutput

type BuildFolderArgs

type BuildFolderArgs struct {
	// Folder Description.
	Description pulumi.StringPtrInput
	// The folder path.
	Path pulumi.StringInput
	// The ID of the project in which the folder will be created.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a BuildFolder resource.

func (BuildFolderArgs) ElementType

func (BuildFolderArgs) ElementType() reflect.Type

type BuildFolderArray

type BuildFolderArray []BuildFolderInput

func (BuildFolderArray) ElementType

func (BuildFolderArray) ElementType() reflect.Type

func (BuildFolderArray) ToBuildFolderArrayOutput

func (i BuildFolderArray) ToBuildFolderArrayOutput() BuildFolderArrayOutput

func (BuildFolderArray) ToBuildFolderArrayOutputWithContext

func (i BuildFolderArray) ToBuildFolderArrayOutputWithContext(ctx context.Context) BuildFolderArrayOutput

type BuildFolderArrayInput

type BuildFolderArrayInput interface {
	pulumi.Input

	ToBuildFolderArrayOutput() BuildFolderArrayOutput
	ToBuildFolderArrayOutputWithContext(context.Context) BuildFolderArrayOutput
}

BuildFolderArrayInput is an input type that accepts BuildFolderArray and BuildFolderArrayOutput values. You can construct a concrete instance of `BuildFolderArrayInput` via:

BuildFolderArray{ BuildFolderArgs{...} }

type BuildFolderArrayOutput

type BuildFolderArrayOutput struct{ *pulumi.OutputState }

func (BuildFolderArrayOutput) ElementType

func (BuildFolderArrayOutput) ElementType() reflect.Type

func (BuildFolderArrayOutput) Index

func (BuildFolderArrayOutput) ToBuildFolderArrayOutput

func (o BuildFolderArrayOutput) ToBuildFolderArrayOutput() BuildFolderArrayOutput

func (BuildFolderArrayOutput) ToBuildFolderArrayOutputWithContext

func (o BuildFolderArrayOutput) ToBuildFolderArrayOutputWithContext(ctx context.Context) BuildFolderArrayOutput

type BuildFolderInput

type BuildFolderInput interface {
	pulumi.Input

	ToBuildFolderOutput() BuildFolderOutput
	ToBuildFolderOutputWithContext(ctx context.Context) BuildFolderOutput
}

type BuildFolderMap

type BuildFolderMap map[string]BuildFolderInput

func (BuildFolderMap) ElementType

func (BuildFolderMap) ElementType() reflect.Type

func (BuildFolderMap) ToBuildFolderMapOutput

func (i BuildFolderMap) ToBuildFolderMapOutput() BuildFolderMapOutput

func (BuildFolderMap) ToBuildFolderMapOutputWithContext

func (i BuildFolderMap) ToBuildFolderMapOutputWithContext(ctx context.Context) BuildFolderMapOutput

type BuildFolderMapInput

type BuildFolderMapInput interface {
	pulumi.Input

	ToBuildFolderMapOutput() BuildFolderMapOutput
	ToBuildFolderMapOutputWithContext(context.Context) BuildFolderMapOutput
}

BuildFolderMapInput is an input type that accepts BuildFolderMap and BuildFolderMapOutput values. You can construct a concrete instance of `BuildFolderMapInput` via:

BuildFolderMap{ "key": BuildFolderArgs{...} }

type BuildFolderMapOutput

type BuildFolderMapOutput struct{ *pulumi.OutputState }

func (BuildFolderMapOutput) ElementType

func (BuildFolderMapOutput) ElementType() reflect.Type

func (BuildFolderMapOutput) MapIndex

func (BuildFolderMapOutput) ToBuildFolderMapOutput

func (o BuildFolderMapOutput) ToBuildFolderMapOutput() BuildFolderMapOutput

func (BuildFolderMapOutput) ToBuildFolderMapOutputWithContext

func (o BuildFolderMapOutput) ToBuildFolderMapOutputWithContext(ctx context.Context) BuildFolderMapOutput

type BuildFolderOutput

type BuildFolderOutput struct{ *pulumi.OutputState }

func (BuildFolderOutput) Description

func (o BuildFolderOutput) Description() pulumi.StringPtrOutput

Folder Description.

func (BuildFolderOutput) ElementType

func (BuildFolderOutput) ElementType() reflect.Type

func (BuildFolderOutput) Path

The folder path.

func (BuildFolderOutput) ProjectId

func (o BuildFolderOutput) ProjectId() pulumi.StringOutput

The ID of the project in which the folder will be created.

func (BuildFolderOutput) ToBuildFolderOutput

func (o BuildFolderOutput) ToBuildFolderOutput() BuildFolderOutput

func (BuildFolderOutput) ToBuildFolderOutputWithContext

func (o BuildFolderOutput) ToBuildFolderOutputWithContext(ctx context.Context) BuildFolderOutput

type BuildFolderPermissions

type BuildFolderPermissions struct {
	pulumi.CustomResourceState

	// The folder path to assign the permissions.
	Path pulumi.StringOutput `pulumi:"path"`
	// the permissions to assign. The following permissions are available.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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 Folder

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

## Example Usage

### Set specific folder permissions

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewBuildFolder(ctx, "exampleBuildFolder", &azuredevops.BuildFolderArgs{
			ProjectId:   exampleProject.ID(),
			Path:        pulumi.String("\\ExampleFolder"),
			Description: pulumi.String("ExampleFolder description"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewBuildFolderPermissions(ctx, "exampleBuildFolderPermissions", &azuredevops.BuildFolderPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Path:      pulumi.String("\\ExampleFolder"),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"ViewBuilds":                 pulumi.String("Allow"),
				"EditBuildQuality":           pulumi.String("Allow"),
				"RetainIndefinitely":         pulumi.String("Allow"),
				"DeleteBuilds":               pulumi.String("Deny"),
				"ManageBuildQualities":       pulumi.String("Deny"),
				"DestroyBuilds":              pulumi.String("Deny"),
				"UpdateBuildInformation":     pulumi.String("Deny"),
				"QueueBuilds":                pulumi.String("Allow"),
				"ManageBuildQueue":           pulumi.String("Deny"),
				"StopBuilds":                 pulumi.String("Allow"),
				"ViewBuildDefinition":        pulumi.String("Allow"),
				"EditBuildDefinition":        pulumi.String("Deny"),
				"DeleteBuildDefinition":      pulumi.String("Deny"),
				"AdministerBuildPermissions": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> ### Set root folder permissions <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewBuildFolderPermissions(ctx, "exampleBuildFolderPermissions", &azuredevops.BuildFolderPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Path:      pulumi.String("\\"),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"RetainIndefinitely": pulumi.String("Allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetBuildFolderPermissions

func GetBuildFolderPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BuildFolderPermissionsState, opts ...pulumi.ResourceOption) (*BuildFolderPermissions, error)

GetBuildFolderPermissions gets an existing BuildFolderPermissions 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 NewBuildFolderPermissions

func NewBuildFolderPermissions(ctx *pulumi.Context,
	name string, args *BuildFolderPermissionsArgs, opts ...pulumi.ResourceOption) (*BuildFolderPermissions, error)

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

func (*BuildFolderPermissions) ElementType

func (*BuildFolderPermissions) ElementType() reflect.Type

func (*BuildFolderPermissions) ToBuildFolderPermissionsOutput

func (i *BuildFolderPermissions) ToBuildFolderPermissionsOutput() BuildFolderPermissionsOutput

func (*BuildFolderPermissions) ToBuildFolderPermissionsOutputWithContext

func (i *BuildFolderPermissions) ToBuildFolderPermissionsOutputWithContext(ctx context.Context) BuildFolderPermissionsOutput

type BuildFolderPermissionsArgs

type BuildFolderPermissionsArgs struct {
	// The folder path to assign the permissions.
	Path pulumi.StringInput
	// the permissions to assign. The following permissions are available.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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 BuildFolderPermissions resource.

func (BuildFolderPermissionsArgs) ElementType

func (BuildFolderPermissionsArgs) ElementType() reflect.Type

type BuildFolderPermissionsArray

type BuildFolderPermissionsArray []BuildFolderPermissionsInput

func (BuildFolderPermissionsArray) ElementType

func (BuildFolderPermissionsArray) ToBuildFolderPermissionsArrayOutput

func (i BuildFolderPermissionsArray) ToBuildFolderPermissionsArrayOutput() BuildFolderPermissionsArrayOutput

func (BuildFolderPermissionsArray) ToBuildFolderPermissionsArrayOutputWithContext

func (i BuildFolderPermissionsArray) ToBuildFolderPermissionsArrayOutputWithContext(ctx context.Context) BuildFolderPermissionsArrayOutput

type BuildFolderPermissionsArrayInput

type BuildFolderPermissionsArrayInput interface {
	pulumi.Input

	ToBuildFolderPermissionsArrayOutput() BuildFolderPermissionsArrayOutput
	ToBuildFolderPermissionsArrayOutputWithContext(context.Context) BuildFolderPermissionsArrayOutput
}

BuildFolderPermissionsArrayInput is an input type that accepts BuildFolderPermissionsArray and BuildFolderPermissionsArrayOutput values. You can construct a concrete instance of `BuildFolderPermissionsArrayInput` via:

BuildFolderPermissionsArray{ BuildFolderPermissionsArgs{...} }

type BuildFolderPermissionsArrayOutput

type BuildFolderPermissionsArrayOutput struct{ *pulumi.OutputState }

func (BuildFolderPermissionsArrayOutput) ElementType

func (BuildFolderPermissionsArrayOutput) Index

func (BuildFolderPermissionsArrayOutput) ToBuildFolderPermissionsArrayOutput

func (o BuildFolderPermissionsArrayOutput) ToBuildFolderPermissionsArrayOutput() BuildFolderPermissionsArrayOutput

func (BuildFolderPermissionsArrayOutput) ToBuildFolderPermissionsArrayOutputWithContext

func (o BuildFolderPermissionsArrayOutput) ToBuildFolderPermissionsArrayOutputWithContext(ctx context.Context) BuildFolderPermissionsArrayOutput

type BuildFolderPermissionsInput

type BuildFolderPermissionsInput interface {
	pulumi.Input

	ToBuildFolderPermissionsOutput() BuildFolderPermissionsOutput
	ToBuildFolderPermissionsOutputWithContext(ctx context.Context) BuildFolderPermissionsOutput
}

type BuildFolderPermissionsMap

type BuildFolderPermissionsMap map[string]BuildFolderPermissionsInput

func (BuildFolderPermissionsMap) ElementType

func (BuildFolderPermissionsMap) ElementType() reflect.Type

func (BuildFolderPermissionsMap) ToBuildFolderPermissionsMapOutput

func (i BuildFolderPermissionsMap) ToBuildFolderPermissionsMapOutput() BuildFolderPermissionsMapOutput

func (BuildFolderPermissionsMap) ToBuildFolderPermissionsMapOutputWithContext

func (i BuildFolderPermissionsMap) ToBuildFolderPermissionsMapOutputWithContext(ctx context.Context) BuildFolderPermissionsMapOutput

type BuildFolderPermissionsMapInput

type BuildFolderPermissionsMapInput interface {
	pulumi.Input

	ToBuildFolderPermissionsMapOutput() BuildFolderPermissionsMapOutput
	ToBuildFolderPermissionsMapOutputWithContext(context.Context) BuildFolderPermissionsMapOutput
}

BuildFolderPermissionsMapInput is an input type that accepts BuildFolderPermissionsMap and BuildFolderPermissionsMapOutput values. You can construct a concrete instance of `BuildFolderPermissionsMapInput` via:

BuildFolderPermissionsMap{ "key": BuildFolderPermissionsArgs{...} }

type BuildFolderPermissionsMapOutput

type BuildFolderPermissionsMapOutput struct{ *pulumi.OutputState }

func (BuildFolderPermissionsMapOutput) ElementType

func (BuildFolderPermissionsMapOutput) MapIndex

func (BuildFolderPermissionsMapOutput) ToBuildFolderPermissionsMapOutput

func (o BuildFolderPermissionsMapOutput) ToBuildFolderPermissionsMapOutput() BuildFolderPermissionsMapOutput

func (BuildFolderPermissionsMapOutput) ToBuildFolderPermissionsMapOutputWithContext

func (o BuildFolderPermissionsMapOutput) ToBuildFolderPermissionsMapOutputWithContext(ctx context.Context) BuildFolderPermissionsMapOutput

type BuildFolderPermissionsOutput

type BuildFolderPermissionsOutput struct{ *pulumi.OutputState }

func (BuildFolderPermissionsOutput) ElementType

func (BuildFolderPermissionsOutput) Path

The folder path to assign the permissions.

func (BuildFolderPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

| Permission | Description | |--------------------------------|---------------------------------------| | ViewBuilds | View builds | | EditBuildQuality | Edit build quality | | RetainIndefinitely | Retain indefinitely | | DeleteBuilds | Delete builds | | ManageBuildQualities | Manage build qualities | | DestroyBuilds | Destroy builds | | UpdateBuildInformation | Update build information | | QueueBuilds | Queue builds | | ManageBuildQueue | Manage build queue | | StopBuilds | Stop builds | | ViewBuildDefinition | View build pipeline | | EditBuildDefinition | Edit build pipeline | | DeleteBuildDefinition | Delete build pipeline | | OverrideBuildCheckInValidation | Override check-in validation by build | | AdministerBuildPermissions | Administer build permissions |

func (BuildFolderPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (BuildFolderPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (BuildFolderPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`.

func (BuildFolderPermissionsOutput) ToBuildFolderPermissionsOutput

func (o BuildFolderPermissionsOutput) ToBuildFolderPermissionsOutput() BuildFolderPermissionsOutput

func (BuildFolderPermissionsOutput) ToBuildFolderPermissionsOutputWithContext

func (o BuildFolderPermissionsOutput) ToBuildFolderPermissionsOutputWithContext(ctx context.Context) BuildFolderPermissionsOutput

type BuildFolderPermissionsState

type BuildFolderPermissionsState struct {
	// The folder path to assign the permissions.
	Path pulumi.StringPtrInput
	// the permissions to assign. The following permissions are available.
	//
	// | Permission                     | Description                           |
	// |--------------------------------|---------------------------------------|
	// | ViewBuilds                     | View builds                           |
	// | EditBuildQuality               | Edit build quality                    |
	// | RetainIndefinitely             | Retain indefinitely                   |
	// | DeleteBuilds                   | Delete builds                         |
	// | ManageBuildQualities           | Manage build qualities                |
	// | DestroyBuilds                  | Destroy builds                        |
	// | UpdateBuildInformation         | Update build information              |
	// | QueueBuilds                    | Queue builds                          |
	// | ManageBuildQueue               | Manage build queue                    |
	// | StopBuilds                     | Stop builds                           |
	// | ViewBuildDefinition            | View build pipeline                   |
	// | EditBuildDefinition            | Edit build pipeline                   |
	// | DeleteBuildDefinition          | Delete build pipeline                 |
	// | OverrideBuildCheckInValidation | Override check-in validation by build |
	// | AdministerBuildPermissions     | Administer build permissions          |
	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 (BuildFolderPermissionsState) ElementType

type BuildFolderState

type BuildFolderState struct {
	// Folder Description.
	Description pulumi.StringPtrInput
	// The folder path.
	Path pulumi.StringPtrInput
	// The ID of the project in which the folder will be created.
	ProjectId pulumi.StringPtrInput
}

func (BuildFolderState) ElementType

func (BuildFolderState) ElementType() reflect.Type

type CheckApproval

type CheckApproval struct {
	pulumi.CustomResourceState

	// Specifies a list of approver IDs.
	Approvers pulumi.StringArrayOutput `pulumi:"approvers"`
	// The instructions for the approvers.
	Instructions pulumi.StringPtrOutput `pulumi:"instructions"`
	// The minimum number of approvers. This property is applicable when there is more than 1 approver.
	MinimumRequiredApprovers pulumi.IntPtrOutput `pulumi:"minimumRequiredApprovers"`
	// The project ID. Changing this forces a new Approval Check to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Can the requestor approve? Defaults to `false`.
	RequesterCanApprove pulumi.BoolPtrOutput `pulumi:"requesterCanApprove"`
	// The ID of the resource being protected by the check. Changing this forces a new Approval Check to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Approval Check to be created.
	TargetResourceType pulumi.StringOutput `pulumi:"targetResourceType"`
	// The timeout in minutes for the approval.  Defaults to `43200`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// The version of the check.
	Version pulumi.IntOutput `pulumi:"version"`
}

Manages a Approval Check.

## Example Usage

### Protect an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleEnvironment, err := azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		exampleGroup, err := azuredevops.NewGroup(ctx, "exampleGroup", &azuredevops.GroupArgs{
			DisplayName: pulumi.String("some-azdo-group"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckApproval(ctx, "exampleCheckApproval", &azuredevops.CheckApprovalArgs{
			ProjectId:           exampleProject.ID(),
			TargetResourceId:    exampleEnvironment.ID(),
			TargetResourceType:  pulumi.String("environment"),
			RequesterCanApprove: pulumi.Bool(true),
			Approvers: pulumi.StringArray{
				exampleGroup.OriginId,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Importing this resource is not supported.

func GetCheckApproval

func GetCheckApproval(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CheckApprovalState, opts ...pulumi.ResourceOption) (*CheckApproval, error)

GetCheckApproval gets an existing CheckApproval 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 NewCheckApproval

func NewCheckApproval(ctx *pulumi.Context,
	name string, args *CheckApprovalArgs, opts ...pulumi.ResourceOption) (*CheckApproval, error)

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

func (*CheckApproval) ElementType

func (*CheckApproval) ElementType() reflect.Type

func (*CheckApproval) ToCheckApprovalOutput

func (i *CheckApproval) ToCheckApprovalOutput() CheckApprovalOutput

func (*CheckApproval) ToCheckApprovalOutputWithContext

func (i *CheckApproval) ToCheckApprovalOutputWithContext(ctx context.Context) CheckApprovalOutput

type CheckApprovalArgs

type CheckApprovalArgs struct {
	// Specifies a list of approver IDs.
	Approvers pulumi.StringArrayInput
	// The instructions for the approvers.
	Instructions pulumi.StringPtrInput
	// The minimum number of approvers. This property is applicable when there is more than 1 approver.
	MinimumRequiredApprovers pulumi.IntPtrInput
	// The project ID. Changing this forces a new Approval Check to be created.
	ProjectId pulumi.StringInput
	// Can the requestor approve? Defaults to `false`.
	RequesterCanApprove pulumi.BoolPtrInput
	// The ID of the resource being protected by the check. Changing this forces a new Approval Check to be created.
	TargetResourceId pulumi.StringInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Approval Check to be created.
	TargetResourceType pulumi.StringInput
	// The timeout in minutes for the approval.  Defaults to `43200`.
	Timeout pulumi.IntPtrInput
}

The set of arguments for constructing a CheckApproval resource.

func (CheckApprovalArgs) ElementType

func (CheckApprovalArgs) ElementType() reflect.Type

type CheckApprovalArray

type CheckApprovalArray []CheckApprovalInput

func (CheckApprovalArray) ElementType

func (CheckApprovalArray) ElementType() reflect.Type

func (CheckApprovalArray) ToCheckApprovalArrayOutput

func (i CheckApprovalArray) ToCheckApprovalArrayOutput() CheckApprovalArrayOutput

func (CheckApprovalArray) ToCheckApprovalArrayOutputWithContext

func (i CheckApprovalArray) ToCheckApprovalArrayOutputWithContext(ctx context.Context) CheckApprovalArrayOutput

type CheckApprovalArrayInput

type CheckApprovalArrayInput interface {
	pulumi.Input

	ToCheckApprovalArrayOutput() CheckApprovalArrayOutput
	ToCheckApprovalArrayOutputWithContext(context.Context) CheckApprovalArrayOutput
}

CheckApprovalArrayInput is an input type that accepts CheckApprovalArray and CheckApprovalArrayOutput values. You can construct a concrete instance of `CheckApprovalArrayInput` via:

CheckApprovalArray{ CheckApprovalArgs{...} }

type CheckApprovalArrayOutput

type CheckApprovalArrayOutput struct{ *pulumi.OutputState }

func (CheckApprovalArrayOutput) ElementType

func (CheckApprovalArrayOutput) ElementType() reflect.Type

func (CheckApprovalArrayOutput) Index

func (CheckApprovalArrayOutput) ToCheckApprovalArrayOutput

func (o CheckApprovalArrayOutput) ToCheckApprovalArrayOutput() CheckApprovalArrayOutput

func (CheckApprovalArrayOutput) ToCheckApprovalArrayOutputWithContext

func (o CheckApprovalArrayOutput) ToCheckApprovalArrayOutputWithContext(ctx context.Context) CheckApprovalArrayOutput

type CheckApprovalInput

type CheckApprovalInput interface {
	pulumi.Input

	ToCheckApprovalOutput() CheckApprovalOutput
	ToCheckApprovalOutputWithContext(ctx context.Context) CheckApprovalOutput
}

type CheckApprovalMap

type CheckApprovalMap map[string]CheckApprovalInput

func (CheckApprovalMap) ElementType

func (CheckApprovalMap) ElementType() reflect.Type

func (CheckApprovalMap) ToCheckApprovalMapOutput

func (i CheckApprovalMap) ToCheckApprovalMapOutput() CheckApprovalMapOutput

func (CheckApprovalMap) ToCheckApprovalMapOutputWithContext

func (i CheckApprovalMap) ToCheckApprovalMapOutputWithContext(ctx context.Context) CheckApprovalMapOutput

type CheckApprovalMapInput

type CheckApprovalMapInput interface {
	pulumi.Input

	ToCheckApprovalMapOutput() CheckApprovalMapOutput
	ToCheckApprovalMapOutputWithContext(context.Context) CheckApprovalMapOutput
}

CheckApprovalMapInput is an input type that accepts CheckApprovalMap and CheckApprovalMapOutput values. You can construct a concrete instance of `CheckApprovalMapInput` via:

CheckApprovalMap{ "key": CheckApprovalArgs{...} }

type CheckApprovalMapOutput

type CheckApprovalMapOutput struct{ *pulumi.OutputState }

func (CheckApprovalMapOutput) ElementType

func (CheckApprovalMapOutput) ElementType() reflect.Type

func (CheckApprovalMapOutput) MapIndex

func (CheckApprovalMapOutput) ToCheckApprovalMapOutput

func (o CheckApprovalMapOutput) ToCheckApprovalMapOutput() CheckApprovalMapOutput

func (CheckApprovalMapOutput) ToCheckApprovalMapOutputWithContext

func (o CheckApprovalMapOutput) ToCheckApprovalMapOutputWithContext(ctx context.Context) CheckApprovalMapOutput

type CheckApprovalOutput

type CheckApprovalOutput struct{ *pulumi.OutputState }

func (CheckApprovalOutput) Approvers

Specifies a list of approver IDs.

func (CheckApprovalOutput) ElementType

func (CheckApprovalOutput) ElementType() reflect.Type

func (CheckApprovalOutput) Instructions

func (o CheckApprovalOutput) Instructions() pulumi.StringPtrOutput

The instructions for the approvers.

func (CheckApprovalOutput) MinimumRequiredApprovers

func (o CheckApprovalOutput) MinimumRequiredApprovers() pulumi.IntPtrOutput

The minimum number of approvers. This property is applicable when there is more than 1 approver.

func (CheckApprovalOutput) ProjectId

func (o CheckApprovalOutput) ProjectId() pulumi.StringOutput

The project ID. Changing this forces a new Approval Check to be created.

func (CheckApprovalOutput) RequesterCanApprove

func (o CheckApprovalOutput) RequesterCanApprove() pulumi.BoolPtrOutput

Can the requestor approve? Defaults to `false`.

func (CheckApprovalOutput) TargetResourceId

func (o CheckApprovalOutput) TargetResourceId() pulumi.StringOutput

The ID of the resource being protected by the check. Changing this forces a new Approval Check to be created.

func (CheckApprovalOutput) TargetResourceType

func (o CheckApprovalOutput) TargetResourceType() pulumi.StringOutput

The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Approval Check to be created.

func (CheckApprovalOutput) Timeout

The timeout in minutes for the approval. Defaults to `43200`.

func (CheckApprovalOutput) ToCheckApprovalOutput

func (o CheckApprovalOutput) ToCheckApprovalOutput() CheckApprovalOutput

func (CheckApprovalOutput) ToCheckApprovalOutputWithContext

func (o CheckApprovalOutput) ToCheckApprovalOutputWithContext(ctx context.Context) CheckApprovalOutput

func (CheckApprovalOutput) Version

func (o CheckApprovalOutput) Version() pulumi.IntOutput

The version of the check.

type CheckApprovalState

type CheckApprovalState struct {
	// Specifies a list of approver IDs.
	Approvers pulumi.StringArrayInput
	// The instructions for the approvers.
	Instructions pulumi.StringPtrInput
	// The minimum number of approvers. This property is applicable when there is more than 1 approver.
	MinimumRequiredApprovers pulumi.IntPtrInput
	// The project ID. Changing this forces a new Approval Check to be created.
	ProjectId pulumi.StringPtrInput
	// Can the requestor approve? Defaults to `false`.
	RequesterCanApprove pulumi.BoolPtrInput
	// The ID of the resource being protected by the check. Changing this forces a new Approval Check to be created.
	TargetResourceId pulumi.StringPtrInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Approval Check to be created.
	TargetResourceType pulumi.StringPtrInput
	// The timeout in minutes for the approval.  Defaults to `43200`.
	Timeout pulumi.IntPtrInput
	// The version of the check.
	Version pulumi.IntPtrInput
}

func (CheckApprovalState) ElementType

func (CheckApprovalState) ElementType() reflect.Type

type CheckBranchControl

type CheckBranchControl struct {
	pulumi.CustomResourceState

	// The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify `*` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
	AllowedBranches pulumi.StringPtrOutput `pulumi:"allowedBranches"`
	// The name of the branch control check displayed in the web UI.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// Allow deployment from branches for which protection status could not be obtained. Only relevant when verifyBranchProtection is `true`. Defaults to `false`.
	IgnoreUnknownProtectionStatus pulumi.BoolPtrOutput `pulumi:"ignoreUnknownProtectionStatus"`
	// The project ID.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringOutput `pulumi:"targetResourceType"`
	// The timeout in minutes for the branch control check. Defaults to `1440`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// Validate the branches being deployed are protected. Defaults to `false`.
	VerifyBranchProtection pulumi.BoolPtrOutput `pulumi:"verifyBranchProtection"`
	// The version of the check.
	Version pulumi.IntOutput `pulumi:"version"`
}

Manages a branch control check on a resource within Azure DevOps.

## Example Usage

### Protect a service connection

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleServiceEndpointGeneric, err := azuredevops.NewServiceEndpointGeneric(ctx, "exampleServiceEndpointGeneric", &azuredevops.ServiceEndpointGenericArgs{
			ProjectId:           exampleProject.ID(),
			ServerUrl:           pulumi.String("https://some-server.example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBranchControl(ctx, "exampleCheckBranchControl", &azuredevops.CheckBranchControlArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleServiceEndpointGeneric.ID(),
			TargetResourceType: pulumi.String("endpoint"),
			AllowedBranches:    pulumi.String("refs/heads/main, refs/heads/features/*"),
			Timeout:            pulumi.Int(1440),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleEnvironment, err := azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBranchControl(ctx, "exampleCheckBranchControl", &azuredevops.CheckBranchControlArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleEnvironment.ID(),
			TargetResourceType: pulumi.String("environment"),
			AllowedBranches:    pulumi.String("refs/heads/main, refs/heads/features/*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an agent queue

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		examplePool, err := azuredevops.NewPool(ctx, "examplePool", nil)
		if err != nil {
			return err
		}
		exampleQueue, err := azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId:   exampleProject.ID(),
			AgentPoolId: examplePool.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBranchControl(ctx, "exampleCheckBranchControl", &azuredevops.CheckBranchControlArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleQueue.ID(),
			TargetResourceType: pulumi.String("queue"),
			AllowedBranches:    pulumi.String("refs/heads/main, refs/heads/features/*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect a repository

<!--Start PulumiCodeChooser --> ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBranchControl(ctx, "exampleCheckBranchControl", &azuredevops.CheckBranchControlArgs{
			ProjectId:   exampleProject.ID(),
			DisplayName: pulumi.String("Managed by Terraform"),
			TargetResourceId: pulumi.All(exampleProject.ID(), exampleGit.ID()).ApplyT(func(_args []interface{}) (string, error) {
				exampleProjectId := _args[0].(string)
				exampleGitId := _args[1].(string)
				return fmt.Sprintf("%v.%v", exampleProjectId, exampleGitId), nil
			}).(pulumi.StringOutput),
			TargetResourceType: pulumi.String("repository"),
			AllowedBranches:    pulumi.String("refs/heads/main, refs/heads/features/*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect a variable group

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleVariableGroup, err := azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{
			ProjectId:   exampleProject.ID(),
			Description: pulumi.String("Example Variable Group Description"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("key1"),
					Value: pulumi.String("val1"),
				},
				&azuredevops.VariableGroupVariableArgs{
					Name:        pulumi.String("key2"),
					SecretValue: pulumi.String("val2"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBranchControl(ctx, "exampleCheckBranchControl", &azuredevops.CheckBranchControlArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleVariableGroup.ID(),
			TargetResourceType: pulumi.String("variablegroup"),
			AllowedBranches:    pulumi.String("refs/heads/main, refs/heads/features/*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Define approvals and checks](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass)

## Import

Importing this resource is not supported.

func GetCheckBranchControl

func GetCheckBranchControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CheckBranchControlState, opts ...pulumi.ResourceOption) (*CheckBranchControl, error)

GetCheckBranchControl gets an existing CheckBranchControl 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 NewCheckBranchControl

func NewCheckBranchControl(ctx *pulumi.Context,
	name string, args *CheckBranchControlArgs, opts ...pulumi.ResourceOption) (*CheckBranchControl, error)

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

func (*CheckBranchControl) ElementType

func (*CheckBranchControl) ElementType() reflect.Type

func (*CheckBranchControl) ToCheckBranchControlOutput

func (i *CheckBranchControl) ToCheckBranchControlOutput() CheckBranchControlOutput

func (*CheckBranchControl) ToCheckBranchControlOutputWithContext

func (i *CheckBranchControl) ToCheckBranchControlOutputWithContext(ctx context.Context) CheckBranchControlOutput

type CheckBranchControlArgs

type CheckBranchControlArgs struct {
	// The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify `*` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
	AllowedBranches pulumi.StringPtrInput
	// The name of the branch control check displayed in the web UI.
	DisplayName pulumi.StringPtrInput
	// Allow deployment from branches for which protection status could not be obtained. Only relevant when verifyBranchProtection is `true`. Defaults to `false`.
	IgnoreUnknownProtectionStatus pulumi.BoolPtrInput
	// The project ID.
	ProjectId pulumi.StringInput
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringInput
	// The timeout in minutes for the branch control check. Defaults to `1440`.
	Timeout pulumi.IntPtrInput
	// Validate the branches being deployed are protected. Defaults to `false`.
	VerifyBranchProtection pulumi.BoolPtrInput
}

The set of arguments for constructing a CheckBranchControl resource.

func (CheckBranchControlArgs) ElementType

func (CheckBranchControlArgs) ElementType() reflect.Type

type CheckBranchControlArray

type CheckBranchControlArray []CheckBranchControlInput

func (CheckBranchControlArray) ElementType

func (CheckBranchControlArray) ElementType() reflect.Type

func (CheckBranchControlArray) ToCheckBranchControlArrayOutput

func (i CheckBranchControlArray) ToCheckBranchControlArrayOutput() CheckBranchControlArrayOutput

func (CheckBranchControlArray) ToCheckBranchControlArrayOutputWithContext

func (i CheckBranchControlArray) ToCheckBranchControlArrayOutputWithContext(ctx context.Context) CheckBranchControlArrayOutput

type CheckBranchControlArrayInput

type CheckBranchControlArrayInput interface {
	pulumi.Input

	ToCheckBranchControlArrayOutput() CheckBranchControlArrayOutput
	ToCheckBranchControlArrayOutputWithContext(context.Context) CheckBranchControlArrayOutput
}

CheckBranchControlArrayInput is an input type that accepts CheckBranchControlArray and CheckBranchControlArrayOutput values. You can construct a concrete instance of `CheckBranchControlArrayInput` via:

CheckBranchControlArray{ CheckBranchControlArgs{...} }

type CheckBranchControlArrayOutput

type CheckBranchControlArrayOutput struct{ *pulumi.OutputState }

func (CheckBranchControlArrayOutput) ElementType

func (CheckBranchControlArrayOutput) Index

func (CheckBranchControlArrayOutput) ToCheckBranchControlArrayOutput

func (o CheckBranchControlArrayOutput) ToCheckBranchControlArrayOutput() CheckBranchControlArrayOutput

func (CheckBranchControlArrayOutput) ToCheckBranchControlArrayOutputWithContext

func (o CheckBranchControlArrayOutput) ToCheckBranchControlArrayOutputWithContext(ctx context.Context) CheckBranchControlArrayOutput

type CheckBranchControlInput

type CheckBranchControlInput interface {
	pulumi.Input

	ToCheckBranchControlOutput() CheckBranchControlOutput
	ToCheckBranchControlOutputWithContext(ctx context.Context) CheckBranchControlOutput
}

type CheckBranchControlMap

type CheckBranchControlMap map[string]CheckBranchControlInput

func (CheckBranchControlMap) ElementType

func (CheckBranchControlMap) ElementType() reflect.Type

func (CheckBranchControlMap) ToCheckBranchControlMapOutput

func (i CheckBranchControlMap) ToCheckBranchControlMapOutput() CheckBranchControlMapOutput

func (CheckBranchControlMap) ToCheckBranchControlMapOutputWithContext

func (i CheckBranchControlMap) ToCheckBranchControlMapOutputWithContext(ctx context.Context) CheckBranchControlMapOutput

type CheckBranchControlMapInput

type CheckBranchControlMapInput interface {
	pulumi.Input

	ToCheckBranchControlMapOutput() CheckBranchControlMapOutput
	ToCheckBranchControlMapOutputWithContext(context.Context) CheckBranchControlMapOutput
}

CheckBranchControlMapInput is an input type that accepts CheckBranchControlMap and CheckBranchControlMapOutput values. You can construct a concrete instance of `CheckBranchControlMapInput` via:

CheckBranchControlMap{ "key": CheckBranchControlArgs{...} }

type CheckBranchControlMapOutput

type CheckBranchControlMapOutput struct{ *pulumi.OutputState }

func (CheckBranchControlMapOutput) ElementType

func (CheckBranchControlMapOutput) MapIndex

func (CheckBranchControlMapOutput) ToCheckBranchControlMapOutput

func (o CheckBranchControlMapOutput) ToCheckBranchControlMapOutput() CheckBranchControlMapOutput

func (CheckBranchControlMapOutput) ToCheckBranchControlMapOutputWithContext

func (o CheckBranchControlMapOutput) ToCheckBranchControlMapOutputWithContext(ctx context.Context) CheckBranchControlMapOutput

type CheckBranchControlOutput

type CheckBranchControlOutput struct{ *pulumi.OutputState }

func (CheckBranchControlOutput) AllowedBranches

func (o CheckBranchControlOutput) AllowedBranches() pulumi.StringPtrOutput

The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify `*` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.

func (CheckBranchControlOutput) DisplayName

The name of the branch control check displayed in the web UI.

func (CheckBranchControlOutput) ElementType

func (CheckBranchControlOutput) ElementType() reflect.Type

func (CheckBranchControlOutput) IgnoreUnknownProtectionStatus

func (o CheckBranchControlOutput) IgnoreUnknownProtectionStatus() pulumi.BoolPtrOutput

Allow deployment from branches for which protection status could not be obtained. Only relevant when verifyBranchProtection is `true`. Defaults to `false`.

func (CheckBranchControlOutput) ProjectId

The project ID.

func (CheckBranchControlOutput) TargetResourceId

func (o CheckBranchControlOutput) TargetResourceId() pulumi.StringOutput

The ID of the resource being protected by the check.

func (CheckBranchControlOutput) TargetResourceType

func (o CheckBranchControlOutput) TargetResourceType() pulumi.StringOutput

The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.

func (CheckBranchControlOutput) Timeout

The timeout in minutes for the branch control check. Defaults to `1440`.

func (CheckBranchControlOutput) ToCheckBranchControlOutput

func (o CheckBranchControlOutput) ToCheckBranchControlOutput() CheckBranchControlOutput

func (CheckBranchControlOutput) ToCheckBranchControlOutputWithContext

func (o CheckBranchControlOutput) ToCheckBranchControlOutputWithContext(ctx context.Context) CheckBranchControlOutput

func (CheckBranchControlOutput) VerifyBranchProtection

func (o CheckBranchControlOutput) VerifyBranchProtection() pulumi.BoolPtrOutput

Validate the branches being deployed are protected. Defaults to `false`.

func (CheckBranchControlOutput) Version

The version of the check.

type CheckBranchControlState

type CheckBranchControlState struct {
	// The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify `*` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
	AllowedBranches pulumi.StringPtrInput
	// The name of the branch control check displayed in the web UI.
	DisplayName pulumi.StringPtrInput
	// Allow deployment from branches for which protection status could not be obtained. Only relevant when verifyBranchProtection is `true`. Defaults to `false`.
	IgnoreUnknownProtectionStatus pulumi.BoolPtrInput
	// The project ID.
	ProjectId pulumi.StringPtrInput
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringPtrInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringPtrInput
	// The timeout in minutes for the branch control check. Defaults to `1440`.
	Timeout pulumi.IntPtrInput
	// Validate the branches being deployed are protected. Defaults to `false`.
	VerifyBranchProtection pulumi.BoolPtrInput
	// The version of the check.
	Version pulumi.IntPtrInput
}

func (CheckBranchControlState) ElementType

func (CheckBranchControlState) ElementType() reflect.Type

type CheckBusinessHours

type CheckBusinessHours struct {
	pulumi.CustomResourceState

	// The name of the business hours check displayed in the web UI.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The end of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// This check will pass on Fridays. Defaults to `false`.
	Friday pulumi.BoolPtrOutput `pulumi:"friday"`
	// This check will pass on Mondays. Defaults to `false`.
	Monday pulumi.BoolPtrOutput `pulumi:"monday"`
	// The project ID.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// This check will pass on Saturdays. Defaults to `false`.
	Saturday pulumi.BoolPtrOutput `pulumi:"saturday"`
	// The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// This check will pass on Sundays. Defaults to `false`.
	Sunday pulumi.BoolPtrOutput `pulumi:"sunday"`
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringOutput `pulumi:"targetResourceType"`
	// This check will pass on Thursdays. Defaults to `false`.
	Thursday pulumi.BoolPtrOutput `pulumi:"thursday"`
	// The time zone this check will be evaluated in. See below for supported values.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
	// The timeout in minutes for the business hours check. Defaults to `1440`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// This check will pass on Tuesday. Defaults to `false`.
	Tuesday pulumi.BoolPtrOutput `pulumi:"tuesday"`
	// The version of the check.
	Version pulumi.IntOutput `pulumi:"version"`
	// This check will pass on Wednesdays. Defaults to `false`.
	Wednesday pulumi.BoolPtrOutput `pulumi:"wednesday"`
}

Manages a business hours check on a resource within Azure DevOps.

## Example Usage

### Protect a service connection

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleServiceEndpointGeneric, err := azuredevops.NewServiceEndpointGeneric(ctx, "exampleServiceEndpointGeneric", &azuredevops.ServiceEndpointGenericArgs{
			ProjectId:           exampleProject.ID(),
			ServerUrl:           pulumi.String("https://some-server.example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBusinessHours(ctx, "exampleCheckBusinessHours", &azuredevops.CheckBusinessHoursArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleServiceEndpointGeneric.ID(),
			TargetResourceType: pulumi.String("endpoint"),
			StartTime:          pulumi.String("07:00"),
			EndTime:            pulumi.String("15:30"),
			TimeZone:           pulumi.String("UTC"),
			Monday:             pulumi.Bool(true),
			Tuesday:            pulumi.Bool(true),
			Timeout:            pulumi.Int(1440),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleEnvironment, err := azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBusinessHours(ctx, "exampleCheckBusinessHours", &azuredevops.CheckBusinessHoursArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleEnvironment.ID(),
			TargetResourceType: pulumi.String("environment"),
			StartTime:          pulumi.String("07:00"),
			EndTime:            pulumi.String("15:30"),
			TimeZone:           pulumi.String("UTC"),
			Monday:             pulumi.Bool(true),
			Tuesday:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an agent queue

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		examplePool, err := azuredevops.NewPool(ctx, "examplePool", nil)
		if err != nil {
			return err
		}
		exampleQueue, err := azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId:   exampleProject.ID(),
			AgentPoolId: examplePool.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBusinessHours(ctx, "exampleCheckBusinessHours", &azuredevops.CheckBusinessHoursArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleQueue.ID(),
			TargetResourceType: pulumi.String("queue"),
			StartTime:          pulumi.String("07:00"),
			EndTime:            pulumi.String("15:30"),
			TimeZone:           pulumi.String("UTC"),
			Monday:             pulumi.Bool(true),
			Tuesday:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect a repository

<!--Start PulumiCodeChooser --> ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBusinessHours(ctx, "exampleCheckBusinessHours", &azuredevops.CheckBusinessHoursArgs{
			ProjectId:   exampleProject.ID(),
			DisplayName: pulumi.String("Managed by Terraform"),
			TargetResourceId: pulumi.All(exampleProject.ID(), exampleGit.ID()).ApplyT(func(_args []interface{}) (string, error) {
				exampleProjectId := _args[0].(string)
				exampleGitId := _args[1].(string)
				return fmt.Sprintf("%v.%v", exampleProjectId, exampleGitId), nil
			}).(pulumi.StringOutput),
			TargetResourceType: pulumi.String("repository"),
			StartTime:          pulumi.String("07:00"),
			EndTime:            pulumi.String("15:30"),
			TimeZone:           pulumi.String("UTC"),
			Monday:             pulumi.Bool(true),
			Tuesday:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect a variable group

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleVariableGroup, err := azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{
			ProjectId:   exampleProject.ID(),
			Description: pulumi.String("Example Variable Group Description"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("key1"),
					Value: pulumi.String("val1"),
				},
				&azuredevops.VariableGroupVariableArgs{
					Name:        pulumi.String("key2"),
					SecretValue: pulumi.String("val2"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckBusinessHours(ctx, "exampleCheckBusinessHours", &azuredevops.CheckBusinessHoursArgs{
			ProjectId:          exampleProject.ID(),
			DisplayName:        pulumi.String("Managed by Terraform"),
			TargetResourceId:   exampleVariableGroup.ID(),
			TargetResourceType: pulumi.String("variablegroup"),
			StartTime:          pulumi.String("07:00"),
			EndTime:            pulumi.String("15:30"),
			TimeZone:           pulumi.String("UTC"),
			Monday:             pulumi.Bool(true),
			Tuesday:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Define approvals and checks](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass)

## Supported Time Zones

- AUS Central Standard Time - AUS Eastern Standard Time - Afghanistan Standard Time - Alaskan Standard Time - Aleutian Standard Time - Altai Standard Time - Arab Standard Time - Arabian Standard Time - Arabic Standard Time - Argentina Standard Time - Astrakhan Standard Time - Atlantic Standard Time - Aus Central W. Standard Time - Azerbaijan Standard Time - Azores Standard Time - Bahia Standard Time - Bangladesh Standard Time - Belarus Standard Time - Bougainville Standard Time - Canada Central Standard Time - Cape Verde Standard Time - Caucasus Standard Time - Cen. Australia Standard Time - Central America Standard Time - Central Asia Standard Time - Central Brazilian Standard Time - Central Europe Standard Time - Central European Standard Time - Central Pacific Standard Time - Central Standard Time (Mexico) - Central Standard Time - Chatham Islands Standard Time - China Standard Time - Cuba Standard Time - Dateline Standard Time - E. Africa Standard Time - E. Australia Standard Time - E. Europe Standard Time - E. South America Standard Time - Easter Island Standard Time - Eastern Standard Time (Mexico) - Eastern Standard Time - Egypt Standard Time - Ekaterinburg Standard Time - FLE Standard Time - Fiji Standard Time - GMT Standard Time - GTB Standard Time - Georgian Standard Time - Greenland Standard Time - Greenwich Standard Time - Haiti Standard Time - Hawaiian Standard Time - India Standard Time - Iran Standard Time - Israel Standard Time - Jordan Standard Time - Kaliningrad Standard Time - Kamchatka Standard Time - Korea Standard Time - Libya Standard Time - Line Islands Standard Time - Lord Howe Standard Time - Magadan Standard Time - Magallanes Standard Time - Marquesas Standard Time - Mauritius Standard Time - Mid-Atlantic Standard Time - Middle East Standard Time - Montevideo Standard Time - Morocco Standard Time - Mountain Standard Time (Mexico) - Mountain Standard Time - Myanmar Standard Time - N. Central Asia Standard Time - Namibia Standard Time - Nepal Standard Time - New Zealand Standard Time - Newfoundland Standard Time - Norfolk Standard Time - North Asia East Standard Time - North Asia Standard Time - North Korea Standard Time - Omsk Standard Time - Pacific SA Standard Time - Pacific Standard Time (Mexico) - Pacific Standard Time - Pakistan Standard Time - Paraguay Standard Time - Qyzylorda Standard Time - Romance Standard Time - Russia Time Zone 10 - Russia Time Zone 11 - Russia Time Zone 3 - Russian Standard Time - SA Eastern Standard Time - SA Pacific Standard Time - SA Western Standard Time - SE Asia Standard Time - Saint Pierre Standard Time - Sakhalin Standard Time - Samoa Standard Time - Sao Tome Standard Time - Saratov Standard Time - Singapore Standard Time - South Africa Standard Time - South Sudan Standard Time - Sri Lanka Standard Time - Sudan Standard Time - Syria Standard Time - Taipei Standard Time - Tasmania Standard Time - Tocantins Standard Time - Tokyo Standard Time - Tomsk Standard Time - Tonga Standard Time - Transbaikal Standard Time - Turkey Standard Time - Turks And Caicos Standard Time - US Eastern Standard Time - US Mountain Standard Time - UTC - UTC+12 - UTC+13 - UTC-02 - UTC-08 - UTC-09 - UTC-11 - Ulaanbaatar Standard Time - Venezuela Standard Time - Vladivostok Standard Time - Volgograd Standard Time - W. Australia Standard Time - W. Central Africa Standard Time - W. Europe Standard Time - W. Mongolia Standard Time - West Asia Standard Time - West Bank Standard Time - West Pacific Standard Time - Yakutsk Standard Time - Yukon Standard Time

## Import

Importing this resource is not supported.

func GetCheckBusinessHours

func GetCheckBusinessHours(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CheckBusinessHoursState, opts ...pulumi.ResourceOption) (*CheckBusinessHours, error)

GetCheckBusinessHours gets an existing CheckBusinessHours 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 NewCheckBusinessHours

func NewCheckBusinessHours(ctx *pulumi.Context,
	name string, args *CheckBusinessHoursArgs, opts ...pulumi.ResourceOption) (*CheckBusinessHours, error)

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

func (*CheckBusinessHours) ElementType

func (*CheckBusinessHours) ElementType() reflect.Type

func (*CheckBusinessHours) ToCheckBusinessHoursOutput

func (i *CheckBusinessHours) ToCheckBusinessHoursOutput() CheckBusinessHoursOutput

func (*CheckBusinessHours) ToCheckBusinessHoursOutputWithContext

func (i *CheckBusinessHours) ToCheckBusinessHoursOutputWithContext(ctx context.Context) CheckBusinessHoursOutput

type CheckBusinessHoursArgs

type CheckBusinessHoursArgs struct {
	// The name of the business hours check displayed in the web UI.
	DisplayName pulumi.StringPtrInput
	// The end of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	EndTime pulumi.StringInput
	// This check will pass on Fridays. Defaults to `false`.
	Friday pulumi.BoolPtrInput
	// This check will pass on Mondays. Defaults to `false`.
	Monday pulumi.BoolPtrInput
	// The project ID.
	ProjectId pulumi.StringInput
	// This check will pass on Saturdays. Defaults to `false`.
	Saturday pulumi.BoolPtrInput
	// The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	StartTime pulumi.StringInput
	// This check will pass on Sundays. Defaults to `false`.
	Sunday pulumi.BoolPtrInput
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringInput
	// This check will pass on Thursdays. Defaults to `false`.
	Thursday pulumi.BoolPtrInput
	// The time zone this check will be evaluated in. See below for supported values.
	TimeZone pulumi.StringInput
	// The timeout in minutes for the business hours check. Defaults to `1440`.
	Timeout pulumi.IntPtrInput
	// This check will pass on Tuesday. Defaults to `false`.
	Tuesday pulumi.BoolPtrInput
	// This check will pass on Wednesdays. Defaults to `false`.
	Wednesday pulumi.BoolPtrInput
}

The set of arguments for constructing a CheckBusinessHours resource.

func (CheckBusinessHoursArgs) ElementType

func (CheckBusinessHoursArgs) ElementType() reflect.Type

type CheckBusinessHoursArray

type CheckBusinessHoursArray []CheckBusinessHoursInput

func (CheckBusinessHoursArray) ElementType

func (CheckBusinessHoursArray) ElementType() reflect.Type

func (CheckBusinessHoursArray) ToCheckBusinessHoursArrayOutput

func (i CheckBusinessHoursArray) ToCheckBusinessHoursArrayOutput() CheckBusinessHoursArrayOutput

func (CheckBusinessHoursArray) ToCheckBusinessHoursArrayOutputWithContext

func (i CheckBusinessHoursArray) ToCheckBusinessHoursArrayOutputWithContext(ctx context.Context) CheckBusinessHoursArrayOutput

type CheckBusinessHoursArrayInput

type CheckBusinessHoursArrayInput interface {
	pulumi.Input

	ToCheckBusinessHoursArrayOutput() CheckBusinessHoursArrayOutput
	ToCheckBusinessHoursArrayOutputWithContext(context.Context) CheckBusinessHoursArrayOutput
}

CheckBusinessHoursArrayInput is an input type that accepts CheckBusinessHoursArray and CheckBusinessHoursArrayOutput values. You can construct a concrete instance of `CheckBusinessHoursArrayInput` via:

CheckBusinessHoursArray{ CheckBusinessHoursArgs{...} }

type CheckBusinessHoursArrayOutput

type CheckBusinessHoursArrayOutput struct{ *pulumi.OutputState }

func (CheckBusinessHoursArrayOutput) ElementType

func (CheckBusinessHoursArrayOutput) Index

func (CheckBusinessHoursArrayOutput) ToCheckBusinessHoursArrayOutput

func (o CheckBusinessHoursArrayOutput) ToCheckBusinessHoursArrayOutput() CheckBusinessHoursArrayOutput

func (CheckBusinessHoursArrayOutput) ToCheckBusinessHoursArrayOutputWithContext

func (o CheckBusinessHoursArrayOutput) ToCheckBusinessHoursArrayOutputWithContext(ctx context.Context) CheckBusinessHoursArrayOutput

type CheckBusinessHoursInput

type CheckBusinessHoursInput interface {
	pulumi.Input

	ToCheckBusinessHoursOutput() CheckBusinessHoursOutput
	ToCheckBusinessHoursOutputWithContext(ctx context.Context) CheckBusinessHoursOutput
}

type CheckBusinessHoursMap

type CheckBusinessHoursMap map[string]CheckBusinessHoursInput

func (CheckBusinessHoursMap) ElementType

func (CheckBusinessHoursMap) ElementType() reflect.Type

func (CheckBusinessHoursMap) ToCheckBusinessHoursMapOutput

func (i CheckBusinessHoursMap) ToCheckBusinessHoursMapOutput() CheckBusinessHoursMapOutput

func (CheckBusinessHoursMap) ToCheckBusinessHoursMapOutputWithContext

func (i CheckBusinessHoursMap) ToCheckBusinessHoursMapOutputWithContext(ctx context.Context) CheckBusinessHoursMapOutput

type CheckBusinessHoursMapInput

type CheckBusinessHoursMapInput interface {
	pulumi.Input

	ToCheckBusinessHoursMapOutput() CheckBusinessHoursMapOutput
	ToCheckBusinessHoursMapOutputWithContext(context.Context) CheckBusinessHoursMapOutput
}

CheckBusinessHoursMapInput is an input type that accepts CheckBusinessHoursMap and CheckBusinessHoursMapOutput values. You can construct a concrete instance of `CheckBusinessHoursMapInput` via:

CheckBusinessHoursMap{ "key": CheckBusinessHoursArgs{...} }

type CheckBusinessHoursMapOutput

type CheckBusinessHoursMapOutput struct{ *pulumi.OutputState }

func (CheckBusinessHoursMapOutput) ElementType

func (CheckBusinessHoursMapOutput) MapIndex

func (CheckBusinessHoursMapOutput) ToCheckBusinessHoursMapOutput

func (o CheckBusinessHoursMapOutput) ToCheckBusinessHoursMapOutput() CheckBusinessHoursMapOutput

func (CheckBusinessHoursMapOutput) ToCheckBusinessHoursMapOutputWithContext

func (o CheckBusinessHoursMapOutput) ToCheckBusinessHoursMapOutputWithContext(ctx context.Context) CheckBusinessHoursMapOutput

type CheckBusinessHoursOutput

type CheckBusinessHoursOutput struct{ *pulumi.OutputState }

func (CheckBusinessHoursOutput) DisplayName

The name of the business hours check displayed in the web UI.

func (CheckBusinessHoursOutput) ElementType

func (CheckBusinessHoursOutput) ElementType() reflect.Type

func (CheckBusinessHoursOutput) EndTime

The end of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.

func (CheckBusinessHoursOutput) Friday

This check will pass on Fridays. Defaults to `false`.

func (CheckBusinessHoursOutput) Monday

This check will pass on Mondays. Defaults to `false`.

func (CheckBusinessHoursOutput) ProjectId

The project ID.

func (CheckBusinessHoursOutput) Saturday

This check will pass on Saturdays. Defaults to `false`.

func (CheckBusinessHoursOutput) StartTime

The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.

func (CheckBusinessHoursOutput) Sunday

This check will pass on Sundays. Defaults to `false`.

func (CheckBusinessHoursOutput) TargetResourceId

func (o CheckBusinessHoursOutput) TargetResourceId() pulumi.StringOutput

The ID of the resource being protected by the check.

func (CheckBusinessHoursOutput) TargetResourceType

func (o CheckBusinessHoursOutput) TargetResourceType() pulumi.StringOutput

The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.

func (CheckBusinessHoursOutput) Thursday

This check will pass on Thursdays. Defaults to `false`.

func (CheckBusinessHoursOutput) TimeZone

The time zone this check will be evaluated in. See below for supported values.

func (CheckBusinessHoursOutput) Timeout

The timeout in minutes for the business hours check. Defaults to `1440`.

func (CheckBusinessHoursOutput) ToCheckBusinessHoursOutput

func (o CheckBusinessHoursOutput) ToCheckBusinessHoursOutput() CheckBusinessHoursOutput

func (CheckBusinessHoursOutput) ToCheckBusinessHoursOutputWithContext

func (o CheckBusinessHoursOutput) ToCheckBusinessHoursOutputWithContext(ctx context.Context) CheckBusinessHoursOutput

func (CheckBusinessHoursOutput) Tuesday

This check will pass on Tuesday. Defaults to `false`.

func (CheckBusinessHoursOutput) Version

The version of the check.

func (CheckBusinessHoursOutput) Wednesday

This check will pass on Wednesdays. Defaults to `false`.

type CheckBusinessHoursState

type CheckBusinessHoursState struct {
	// The name of the business hours check displayed in the web UI.
	DisplayName pulumi.StringPtrInput
	// The end of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	EndTime pulumi.StringPtrInput
	// This check will pass on Fridays. Defaults to `false`.
	Friday pulumi.BoolPtrInput
	// This check will pass on Mondays. Defaults to `false`.
	Monday pulumi.BoolPtrInput
	// The project ID.
	ProjectId pulumi.StringPtrInput
	// This check will pass on Saturdays. Defaults to `false`.
	Saturday pulumi.BoolPtrInput
	// The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
	StartTime pulumi.StringPtrInput
	// This check will pass on Sundays. Defaults to `false`.
	Sunday pulumi.BoolPtrInput
	// The ID of the resource being protected by the check.
	TargetResourceId pulumi.StringPtrInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
	TargetResourceType pulumi.StringPtrInput
	// This check will pass on Thursdays. Defaults to `false`.
	Thursday pulumi.BoolPtrInput
	// The time zone this check will be evaluated in. See below for supported values.
	TimeZone pulumi.StringPtrInput
	// The timeout in minutes for the business hours check. Defaults to `1440`.
	Timeout pulumi.IntPtrInput
	// This check will pass on Tuesday. Defaults to `false`.
	Tuesday pulumi.BoolPtrInput
	// The version of the check.
	Version pulumi.IntPtrInput
	// This check will pass on Wednesdays. Defaults to `false`.
	Wednesday pulumi.BoolPtrInput
}

func (CheckBusinessHoursState) ElementType

func (CheckBusinessHoursState) ElementType() reflect.Type

type CheckExclusiveLock

type CheckExclusiveLock struct {
	pulumi.CustomResourceState

	// The project ID. Changing this forces a new Exclusive Lock Check to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
	TargetResourceType pulumi.StringOutput `pulumi:"targetResourceType"`
	// The timeout in minutes for the exclusive lock. Defaults to `43200`.
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// The version of the check.
	Version pulumi.IntOutput `pulumi:"version"`
}

Manages a Exclusive Lock Check.

Adding an exclusive lock will only allow a single stage to utilize this resource at a time. If multiple stages are waiting on the lock, only the latest will run. All others will be canceled.

## Example Usage

### Add Exclusive Lock to an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleServiceEndpointGeneric, err := azuredevops.NewServiceEndpointGeneric(ctx, "exampleServiceEndpointGeneric", &azuredevops.ServiceEndpointGenericArgs{
			ProjectId:           exampleProject.ID(),
			ServerUrl:           pulumi.String("https://some-server.example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckExclusiveLock(ctx, "exampleCheckExclusiveLock", &azuredevops.CheckExclusiveLockArgs{
			ProjectId:          exampleProject.ID(),
			TargetResourceId:   exampleServiceEndpointGeneric.ID(),
			TargetResourceType: pulumi.String("endpoint"),
			Timeout:            pulumi.Int(43200),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleEnvironment, err := azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckExclusiveLock(ctx, "exampleCheckExclusiveLock", &azuredevops.CheckExclusiveLockArgs{
			ProjectId:          exampleProject.ID(),
			TargetResourceId:   exampleEnvironment.ID(),
			TargetResourceType: pulumi.String("environment"),
			Timeout:            pulumi.Int(43200),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Importing this resource is not supported.

func GetCheckExclusiveLock

func GetCheckExclusiveLock(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CheckExclusiveLockState, opts ...pulumi.ResourceOption) (*CheckExclusiveLock, error)

GetCheckExclusiveLock gets an existing CheckExclusiveLock 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 NewCheckExclusiveLock

func NewCheckExclusiveLock(ctx *pulumi.Context,
	name string, args *CheckExclusiveLockArgs, opts ...pulumi.ResourceOption) (*CheckExclusiveLock, error)

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

func (*CheckExclusiveLock) ElementType

func (*CheckExclusiveLock) ElementType() reflect.Type

func (*CheckExclusiveLock) ToCheckExclusiveLockOutput

func (i *CheckExclusiveLock) ToCheckExclusiveLockOutput() CheckExclusiveLockOutput

func (*CheckExclusiveLock) ToCheckExclusiveLockOutputWithContext

func (i *CheckExclusiveLock) ToCheckExclusiveLockOutputWithContext(ctx context.Context) CheckExclusiveLockOutput

type CheckExclusiveLockArgs

type CheckExclusiveLockArgs struct {
	// The project ID. Changing this forces a new Exclusive Lock Check to be created.
	ProjectId pulumi.StringInput
	// The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
	TargetResourceId pulumi.StringInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
	TargetResourceType pulumi.StringInput
	// The timeout in minutes for the exclusive lock. Defaults to `43200`.
	Timeout pulumi.IntPtrInput
}

The set of arguments for constructing a CheckExclusiveLock resource.

func (CheckExclusiveLockArgs) ElementType

func (CheckExclusiveLockArgs) ElementType() reflect.Type

type CheckExclusiveLockArray

type CheckExclusiveLockArray []CheckExclusiveLockInput

func (CheckExclusiveLockArray) ElementType

func (CheckExclusiveLockArray) ElementType() reflect.Type

func (CheckExclusiveLockArray) ToCheckExclusiveLockArrayOutput

func (i CheckExclusiveLockArray) ToCheckExclusiveLockArrayOutput() CheckExclusiveLockArrayOutput

func (CheckExclusiveLockArray) ToCheckExclusiveLockArrayOutputWithContext

func (i CheckExclusiveLockArray) ToCheckExclusiveLockArrayOutputWithContext(ctx context.Context) CheckExclusiveLockArrayOutput

type CheckExclusiveLockArrayInput

type CheckExclusiveLockArrayInput interface {
	pulumi.Input

	ToCheckExclusiveLockArrayOutput() CheckExclusiveLockArrayOutput
	ToCheckExclusiveLockArrayOutputWithContext(context.Context) CheckExclusiveLockArrayOutput
}

CheckExclusiveLockArrayInput is an input type that accepts CheckExclusiveLockArray and CheckExclusiveLockArrayOutput values. You can construct a concrete instance of `CheckExclusiveLockArrayInput` via:

CheckExclusiveLockArray{ CheckExclusiveLockArgs{...} }

type CheckExclusiveLockArrayOutput

type CheckExclusiveLockArrayOutput struct{ *pulumi.OutputState }

func (CheckExclusiveLockArrayOutput) ElementType

func (CheckExclusiveLockArrayOutput) Index

func (CheckExclusiveLockArrayOutput) ToCheckExclusiveLockArrayOutput

func (o CheckExclusiveLockArrayOutput) ToCheckExclusiveLockArrayOutput() CheckExclusiveLockArrayOutput

func (CheckExclusiveLockArrayOutput) ToCheckExclusiveLockArrayOutputWithContext

func (o CheckExclusiveLockArrayOutput) ToCheckExclusiveLockArrayOutputWithContext(ctx context.Context) CheckExclusiveLockArrayOutput

type CheckExclusiveLockInput

type CheckExclusiveLockInput interface {
	pulumi.Input

	ToCheckExclusiveLockOutput() CheckExclusiveLockOutput
	ToCheckExclusiveLockOutputWithContext(ctx context.Context) CheckExclusiveLockOutput
}

type CheckExclusiveLockMap

type CheckExclusiveLockMap map[string]CheckExclusiveLockInput

func (CheckExclusiveLockMap) ElementType

func (CheckExclusiveLockMap) ElementType() reflect.Type

func (CheckExclusiveLockMap) ToCheckExclusiveLockMapOutput

func (i CheckExclusiveLockMap) ToCheckExclusiveLockMapOutput() CheckExclusiveLockMapOutput

func (CheckExclusiveLockMap) ToCheckExclusiveLockMapOutputWithContext

func (i CheckExclusiveLockMap) ToCheckExclusiveLockMapOutputWithContext(ctx context.Context) CheckExclusiveLockMapOutput

type CheckExclusiveLockMapInput

type CheckExclusiveLockMapInput interface {
	pulumi.Input

	ToCheckExclusiveLockMapOutput() CheckExclusiveLockMapOutput
	ToCheckExclusiveLockMapOutputWithContext(context.Context) CheckExclusiveLockMapOutput
}

CheckExclusiveLockMapInput is an input type that accepts CheckExclusiveLockMap and CheckExclusiveLockMapOutput values. You can construct a concrete instance of `CheckExclusiveLockMapInput` via:

CheckExclusiveLockMap{ "key": CheckExclusiveLockArgs{...} }

type CheckExclusiveLockMapOutput

type CheckExclusiveLockMapOutput struct{ *pulumi.OutputState }

func (CheckExclusiveLockMapOutput) ElementType

func (CheckExclusiveLockMapOutput) MapIndex

func (CheckExclusiveLockMapOutput) ToCheckExclusiveLockMapOutput

func (o CheckExclusiveLockMapOutput) ToCheckExclusiveLockMapOutput() CheckExclusiveLockMapOutput

func (CheckExclusiveLockMapOutput) ToCheckExclusiveLockMapOutputWithContext

func (o CheckExclusiveLockMapOutput) ToCheckExclusiveLockMapOutputWithContext(ctx context.Context) CheckExclusiveLockMapOutput

type CheckExclusiveLockOutput

type CheckExclusiveLockOutput struct{ *pulumi.OutputState }

func (CheckExclusiveLockOutput) ElementType

func (CheckExclusiveLockOutput) ElementType() reflect.Type

func (CheckExclusiveLockOutput) ProjectId

The project ID. Changing this forces a new Exclusive Lock Check to be created.

func (CheckExclusiveLockOutput) TargetResourceId

func (o CheckExclusiveLockOutput) TargetResourceId() pulumi.StringOutput

The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.

func (CheckExclusiveLockOutput) TargetResourceType

func (o CheckExclusiveLockOutput) TargetResourceType() pulumi.StringOutput

The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.

func (CheckExclusiveLockOutput) Timeout

The timeout in minutes for the exclusive lock. Defaults to `43200`.

func (CheckExclusiveLockOutput) ToCheckExclusiveLockOutput

func (o CheckExclusiveLockOutput) ToCheckExclusiveLockOutput() CheckExclusiveLockOutput

func (CheckExclusiveLockOutput) ToCheckExclusiveLockOutputWithContext

func (o CheckExclusiveLockOutput) ToCheckExclusiveLockOutputWithContext(ctx context.Context) CheckExclusiveLockOutput

func (CheckExclusiveLockOutput) Version

The version of the check.

type CheckExclusiveLockState

type CheckExclusiveLockState struct {
	// The project ID. Changing this forces a new Exclusive Lock Check to be created.
	ProjectId pulumi.StringPtrInput
	// The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
	TargetResourceId pulumi.StringPtrInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
	TargetResourceType pulumi.StringPtrInput
	// The timeout in minutes for the exclusive lock. Defaults to `43200`.
	Timeout pulumi.IntPtrInput
	// The version of the check.
	Version pulumi.IntPtrInput
}

func (CheckExclusiveLockState) ElementType

func (CheckExclusiveLockState) ElementType() reflect.Type

type CheckRequiredTemplate

type CheckRequiredTemplate struct {
	pulumi.CustomResourceState

	// The project ID. Changing this forces a new Required Template Check to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// One or more `requiredTemplate` blocks documented below.
	RequiredTemplates CheckRequiredTemplateRequiredTemplateArrayOutput `pulumi:"requiredTemplates"`
	// The ID of the resource being protected by the check. Changing this forces a new Required Template Check to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Required Template Check to be created.
	TargetResourceType pulumi.StringOutput `pulumi:"targetResourceType"`
	// The version of the check.
	Version pulumi.IntOutput `pulumi:"version"`
}

Manages a Required Template Check.

## Example Usage

### Protect a service connection

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleServiceEndpointGeneric, err := azuredevops.NewServiceEndpointGeneric(ctx, "exampleServiceEndpointGeneric", &azuredevops.ServiceEndpointGenericArgs{
			ProjectId:           exampleProject.ID(),
			ServerUrl:           pulumi.String("https://some-server.example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckRequiredTemplate(ctx, "exampleCheckRequiredTemplate", &azuredevops.CheckRequiredTemplateArgs{
			ProjectId:          exampleProject.ID(),
			TargetResourceId:   exampleServiceEndpointGeneric.ID(),
			TargetResourceType: pulumi.String("endpoint"),
			RequiredTemplates: azuredevops.CheckRequiredTemplateRequiredTemplateArray{
				&azuredevops.CheckRequiredTemplateRequiredTemplateArgs{
					RepositoryType: pulumi.String("azuregit"),
					RepositoryName: pulumi.String("project/repository"),
					RepositoryRef:  pulumi.String("refs/heads/main"),
					TemplatePath:   pulumi.String("template/path.yml"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Protect an environment

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleEnvironment, err := azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewCheckRequiredTemplate(ctx, "exampleCheckRequiredTemplate", &azuredevops.CheckRequiredTemplateArgs{
			ProjectId:          exampleProject.ID(),
			TargetResourceId:   exampleEnvironment.ID(),
			TargetResourceType: pulumi.String("environment"),
			RequiredTemplates: azuredevops.CheckRequiredTemplateRequiredTemplateArray{
				&azuredevops.CheckRequiredTemplateRequiredTemplateArgs{
					RepositoryName: pulumi.String("project/repository"),
					RepositoryRef:  pulumi.String("refs/heads/main"),
					TemplatePath:   pulumi.String("template/path.yml"),
				},
				&azuredevops.CheckRequiredTemplateRequiredTemplateArgs{
					RepositoryName: pulumi.String("project/repository"),
					RepositoryRef:  pulumi.String("refs/heads/main"),
					TemplatePath:   pulumi.String("template/alternate-path.yml"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Importing this resource is not supported.

func GetCheckRequiredTemplate

func GetCheckRequiredTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CheckRequiredTemplateState, opts ...pulumi.ResourceOption) (*CheckRequiredTemplate, error)

GetCheckRequiredTemplate gets an existing CheckRequiredTemplate 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 NewCheckRequiredTemplate

func NewCheckRequiredTemplate(ctx *pulumi.Context,
	name string, args *CheckRequiredTemplateArgs, opts ...pulumi.ResourceOption) (*CheckRequiredTemplate, error)

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

func (*CheckRequiredTemplate) ElementType

func (*CheckRequiredTemplate) ElementType() reflect.Type

func (*CheckRequiredTemplate) ToCheckRequiredTemplateOutput

func (i *CheckRequiredTemplate) ToCheckRequiredTemplateOutput() CheckRequiredTemplateOutput

func (*CheckRequiredTemplate) ToCheckRequiredTemplateOutputWithContext

func (i *CheckRequiredTemplate) ToCheckRequiredTemplateOutputWithContext(ctx context.Context) CheckRequiredTemplateOutput

type CheckRequiredTemplateArgs

type CheckRequiredTemplateArgs struct {
	// The project ID. Changing this forces a new Required Template Check to be created.
	ProjectId pulumi.StringInput
	// One or more `requiredTemplate` blocks documented below.
	RequiredTemplates CheckRequiredTemplateRequiredTemplateArrayInput
	// The ID of the resource being protected by the check. Changing this forces a new Required Template Check to be created.
	TargetResourceId pulumi.StringInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Required Template Check to be created.
	TargetResourceType pulumi.StringInput
}

The set of arguments for constructing a CheckRequiredTemplate resource.

func (CheckRequiredTemplateArgs) ElementType

func (CheckRequiredTemplateArgs) ElementType() reflect.Type

type CheckRequiredTemplateArray

type CheckRequiredTemplateArray []CheckRequiredTemplateInput

func (CheckRequiredTemplateArray) ElementType

func (CheckRequiredTemplateArray) ElementType() reflect.Type

func (CheckRequiredTemplateArray) ToCheckRequiredTemplateArrayOutput

func (i CheckRequiredTemplateArray) ToCheckRequiredTemplateArrayOutput() CheckRequiredTemplateArrayOutput

func (CheckRequiredTemplateArray) ToCheckRequiredTemplateArrayOutputWithContext

func (i CheckRequiredTemplateArray) ToCheckRequiredTemplateArrayOutputWithContext(ctx context.Context) CheckRequiredTemplateArrayOutput

type CheckRequiredTemplateArrayInput

type CheckRequiredTemplateArrayInput interface {
	pulumi.Input

	ToCheckRequiredTemplateArrayOutput() CheckRequiredTemplateArrayOutput
	ToCheckRequiredTemplateArrayOutputWithContext(context.Context) CheckRequiredTemplateArrayOutput
}

CheckRequiredTemplateArrayInput is an input type that accepts CheckRequiredTemplateArray and CheckRequiredTemplateArrayOutput values. You can construct a concrete instance of `CheckRequiredTemplateArrayInput` via:

CheckRequiredTemplateArray{ CheckRequiredTemplateArgs{...} }

type CheckRequiredTemplateArrayOutput

type CheckRequiredTemplateArrayOutput struct{ *pulumi.OutputState }

func (CheckRequiredTemplateArrayOutput) ElementType

func (CheckRequiredTemplateArrayOutput) Index

func (CheckRequiredTemplateArrayOutput) ToCheckRequiredTemplateArrayOutput

func (o CheckRequiredTemplateArrayOutput) ToCheckRequiredTemplateArrayOutput() CheckRequiredTemplateArrayOutput

func (CheckRequiredTemplateArrayOutput) ToCheckRequiredTemplateArrayOutputWithContext

func (o CheckRequiredTemplateArrayOutput) ToCheckRequiredTemplateArrayOutputWithContext(ctx context.Context) CheckRequiredTemplateArrayOutput

type CheckRequiredTemplateInput

type CheckRequiredTemplateInput interface {
	pulumi.Input

	ToCheckRequiredTemplateOutput() CheckRequiredTemplateOutput
	ToCheckRequiredTemplateOutputWithContext(ctx context.Context) CheckRequiredTemplateOutput
}

type CheckRequiredTemplateMap

type CheckRequiredTemplateMap map[string]CheckRequiredTemplateInput

func (CheckRequiredTemplateMap) ElementType

func (CheckRequiredTemplateMap) ElementType() reflect.Type

func (CheckRequiredTemplateMap) ToCheckRequiredTemplateMapOutput

func (i CheckRequiredTemplateMap) ToCheckRequiredTemplateMapOutput() CheckRequiredTemplateMapOutput

func (CheckRequiredTemplateMap) ToCheckRequiredTemplateMapOutputWithContext

func (i CheckRequiredTemplateMap) ToCheckRequiredTemplateMapOutputWithContext(ctx context.Context) CheckRequiredTemplateMapOutput

type CheckRequiredTemplateMapInput

type CheckRequiredTemplateMapInput interface {
	pulumi.Input

	ToCheckRequiredTemplateMapOutput() CheckRequiredTemplateMapOutput
	ToCheckRequiredTemplateMapOutputWithContext(context.Context) CheckRequiredTemplateMapOutput
}

CheckRequiredTemplateMapInput is an input type that accepts CheckRequiredTemplateMap and CheckRequiredTemplateMapOutput values. You can construct a concrete instance of `CheckRequiredTemplateMapInput` via:

CheckRequiredTemplateMap{ "key": CheckRequiredTemplateArgs{...} }

type CheckRequiredTemplateMapOutput

type CheckRequiredTemplateMapOutput struct{ *pulumi.OutputState }

func (CheckRequiredTemplateMapOutput) ElementType

func (CheckRequiredTemplateMapOutput) MapIndex

func (CheckRequiredTemplateMapOutput) ToCheckRequiredTemplateMapOutput

func (o CheckRequiredTemplateMapOutput) ToCheckRequiredTemplateMapOutput() CheckRequiredTemplateMapOutput

func (CheckRequiredTemplateMapOutput) ToCheckRequiredTemplateMapOutputWithContext

func (o CheckRequiredTemplateMapOutput) ToCheckRequiredTemplateMapOutputWithContext(ctx context.Context) CheckRequiredTemplateMapOutput

type CheckRequiredTemplateOutput

type CheckRequiredTemplateOutput struct{ *pulumi.OutputState }

func (CheckRequiredTemplateOutput) ElementType

func (CheckRequiredTemplateOutput) ProjectId

The project ID. Changing this forces a new Required Template Check to be created.

func (CheckRequiredTemplateOutput) RequiredTemplates

One or more `requiredTemplate` blocks documented below.

func (CheckRequiredTemplateOutput) TargetResourceId

func (o CheckRequiredTemplateOutput) TargetResourceId() pulumi.StringOutput

The ID of the resource being protected by the check. Changing this forces a new Required Template Check to be created.

func (CheckRequiredTemplateOutput) TargetResourceType

func (o CheckRequiredTemplateOutput) TargetResourceType() pulumi.StringOutput

The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Required Template Check to be created.

func (CheckRequiredTemplateOutput) ToCheckRequiredTemplateOutput

func (o CheckRequiredTemplateOutput) ToCheckRequiredTemplateOutput() CheckRequiredTemplateOutput

func (CheckRequiredTemplateOutput) ToCheckRequiredTemplateOutputWithContext

func (o CheckRequiredTemplateOutput) ToCheckRequiredTemplateOutputWithContext(ctx context.Context) CheckRequiredTemplateOutput

func (CheckRequiredTemplateOutput) Version

The version of the check.

type CheckRequiredTemplateRequiredTemplate

type CheckRequiredTemplateRequiredTemplate struct {
	// The name of the repository storing the template.
	RepositoryName string `pulumi:"repositoryName"`
	// The branch in which the template will be referenced.
	RepositoryRef string `pulumi:"repositoryRef"`
	// The type of the repository storing the template. Valid values: `azuregit`, `github`, `githubenterprise`, `bitbucket`. Defaults to `azuregit`.
	RepositoryType *string `pulumi:"repositoryType"`
	// The path to the template yaml.
	TemplatePath string `pulumi:"templatePath"`
}

type CheckRequiredTemplateRequiredTemplateArgs

type CheckRequiredTemplateRequiredTemplateArgs struct {
	// The name of the repository storing the template.
	RepositoryName pulumi.StringInput `pulumi:"repositoryName"`
	// The branch in which the template will be referenced.
	RepositoryRef pulumi.StringInput `pulumi:"repositoryRef"`
	// The type of the repository storing the template. Valid values: `azuregit`, `github`, `githubenterprise`, `bitbucket`. Defaults to `azuregit`.
	RepositoryType pulumi.StringPtrInput `pulumi:"repositoryType"`
	// The path to the template yaml.
	TemplatePath pulumi.StringInput `pulumi:"templatePath"`
}

func (CheckRequiredTemplateRequiredTemplateArgs) ElementType

func (CheckRequiredTemplateRequiredTemplateArgs) ToCheckRequiredTemplateRequiredTemplateOutput

func (i CheckRequiredTemplateRequiredTemplateArgs) ToCheckRequiredTemplateRequiredTemplateOutput() CheckRequiredTemplateRequiredTemplateOutput

func (CheckRequiredTemplateRequiredTemplateArgs) ToCheckRequiredTemplateRequiredTemplateOutputWithContext

func (i CheckRequiredTemplateRequiredTemplateArgs) ToCheckRequiredTemplateRequiredTemplateOutputWithContext(ctx context.Context) CheckRequiredTemplateRequiredTemplateOutput

type CheckRequiredTemplateRequiredTemplateArray

type CheckRequiredTemplateRequiredTemplateArray []CheckRequiredTemplateRequiredTemplateInput

func (CheckRequiredTemplateRequiredTemplateArray) ElementType

func (CheckRequiredTemplateRequiredTemplateArray) ToCheckRequiredTemplateRequiredTemplateArrayOutput

func (i CheckRequiredTemplateRequiredTemplateArray) ToCheckRequiredTemplateRequiredTemplateArrayOutput() CheckRequiredTemplateRequiredTemplateArrayOutput

func (CheckRequiredTemplateRequiredTemplateArray) ToCheckRequiredTemplateRequiredTemplateArrayOutputWithContext

func (i CheckRequiredTemplateRequiredTemplateArray) ToCheckRequiredTemplateRequiredTemplateArrayOutputWithContext(ctx context.Context) CheckRequiredTemplateRequiredTemplateArrayOutput

type CheckRequiredTemplateRequiredTemplateArrayInput

type CheckRequiredTemplateRequiredTemplateArrayInput interface {
	pulumi.Input

	ToCheckRequiredTemplateRequiredTemplateArrayOutput() CheckRequiredTemplateRequiredTemplateArrayOutput
	ToCheckRequiredTemplateRequiredTemplateArrayOutputWithContext(context.Context) CheckRequiredTemplateRequiredTemplateArrayOutput
}

CheckRequiredTemplateRequiredTemplateArrayInput is an input type that accepts CheckRequiredTemplateRequiredTemplateArray and CheckRequiredTemplateRequiredTemplateArrayOutput values. You can construct a concrete instance of `CheckRequiredTemplateRequiredTemplateArrayInput` via:

CheckRequiredTemplateRequiredTemplateArray{ CheckRequiredTemplateRequiredTemplateArgs{...} }

type CheckRequiredTemplateRequiredTemplateArrayOutput

type CheckRequiredTemplateRequiredTemplateArrayOutput struct{ *pulumi.OutputState }

func (CheckRequiredTemplateRequiredTemplateArrayOutput) ElementType

func (CheckRequiredTemplateRequiredTemplateArrayOutput) Index

func (CheckRequiredTemplateRequiredTemplateArrayOutput) ToCheckRequiredTemplateRequiredTemplateArrayOutput

func (o CheckRequiredTemplateRequiredTemplateArrayOutput) ToCheckRequiredTemplateRequiredTemplateArrayOutput() CheckRequiredTemplateRequiredTemplateArrayOutput

func (CheckRequiredTemplateRequiredTemplateArrayOutput) ToCheckRequiredTemplateRequiredTemplateArrayOutputWithContext

func (o CheckRequiredTemplateRequiredTemplateArrayOutput) ToCheckRequiredTemplateRequiredTemplateArrayOutputWithContext(ctx context.Context) CheckRequiredTemplateRequiredTemplateArrayOutput

type CheckRequiredTemplateRequiredTemplateInput

type CheckRequiredTemplateRequiredTemplateInput interface {
	pulumi.Input

	ToCheckRequiredTemplateRequiredTemplateOutput() CheckRequiredTemplateRequiredTemplateOutput
	ToCheckRequiredTemplateRequiredTemplateOutputWithContext(context.Context) CheckRequiredTemplateRequiredTemplateOutput
}

CheckRequiredTemplateRequiredTemplateInput is an input type that accepts CheckRequiredTemplateRequiredTemplateArgs and CheckRequiredTemplateRequiredTemplateOutput values. You can construct a concrete instance of `CheckRequiredTemplateRequiredTemplateInput` via:

CheckRequiredTemplateRequiredTemplateArgs{...}

type CheckRequiredTemplateRequiredTemplateOutput

type CheckRequiredTemplateRequiredTemplateOutput struct{ *pulumi.OutputState }

func (CheckRequiredTemplateRequiredTemplateOutput) ElementType

func (CheckRequiredTemplateRequiredTemplateOutput) RepositoryName

The name of the repository storing the template.

func (CheckRequiredTemplateRequiredTemplateOutput) RepositoryRef

The branch in which the template will be referenced.

func (CheckRequiredTemplateRequiredTemplateOutput) RepositoryType

The type of the repository storing the template. Valid values: `azuregit`, `github`, `githubenterprise`, `bitbucket`. Defaults to `azuregit`.

func (CheckRequiredTemplateRequiredTemplateOutput) TemplatePath

The path to the template yaml.

func (CheckRequiredTemplateRequiredTemplateOutput) ToCheckRequiredTemplateRequiredTemplateOutput

func (o CheckRequiredTemplateRequiredTemplateOutput) ToCheckRequiredTemplateRequiredTemplateOutput() CheckRequiredTemplateRequiredTemplateOutput

func (CheckRequiredTemplateRequiredTemplateOutput) ToCheckRequiredTemplateRequiredTemplateOutputWithContext

func (o CheckRequiredTemplateRequiredTemplateOutput) ToCheckRequiredTemplateRequiredTemplateOutputWithContext(ctx context.Context) CheckRequiredTemplateRequiredTemplateOutput

type CheckRequiredTemplateState

type CheckRequiredTemplateState struct {
	// The project ID. Changing this forces a new Required Template Check to be created.
	ProjectId pulumi.StringPtrInput
	// One or more `requiredTemplate` blocks documented below.
	RequiredTemplates CheckRequiredTemplateRequiredTemplateArrayInput
	// The ID of the resource being protected by the check. Changing this forces a new Required Template Check to be created.
	TargetResourceId pulumi.StringPtrInput
	// The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Required Template Check to be created.
	TargetResourceType pulumi.StringPtrInput
	// The version of the check.
	Version pulumi.IntPtrInput
}

func (CheckRequiredTemplateState) ElementType

func (CheckRequiredTemplateState) ElementType() reflect.Type

type ElasticPool

type ElasticPool struct {
	pulumi.CustomResourceState

	// Set whether agents should be configured to run with interactive UI. Defaults to `false`.
	AgentInteractiveUi pulumi.BoolPtrOutput `pulumi:"agentInteractiveUi"`
	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrOutput `pulumi:"autoProvision"`
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate pulumi.BoolPtrOutput `pulumi:"autoUpdate"`
	// The ID of the Azure resource.
	AzureResourceId pulumi.StringOutput `pulumi:"azureResourceId"`
	// Number of agents to keep on standby.
	DesiredIdle pulumi.IntOutput `pulumi:"desiredIdle"`
	// Maximum number of virtual machines in the scale set.
	MaxCapacity pulumi.IntOutput `pulumi:"maxCapacity"`
	// The name of the Elastic pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project where a new Elastic Pool will be created.
	ProjectId pulumi.StringPtrOutput `pulumi:"projectId"`
	// Tear down virtual machines after every use. Defaults to `false`.
	RecycleAfterEachUse pulumi.BoolPtrOutput `pulumi:"recycleAfterEachUse"`
	// The ID of Service Endpoint used to connect to Azure.
	ServiceEndpointId pulumi.StringOutput `pulumi:"serviceEndpointId"`
	// The Project ID of Service Endpoint belongs to.
	ServiceEndpointScope pulumi.StringOutput `pulumi:"serviceEndpointScope"`
	// Delay in minutes before deleting excess idle agents. Defaults to `30`.
	TimeToLiveMinutes pulumi.IntPtrOutput `pulumi:"timeToLiveMinutes"`
}

Manages Elastic pool within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointAzureRM, err := azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example Azure Connection"),
			Description:                         pulumi.String("Managed by Terraform"),
			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
				Serviceprincipalkey: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName: pulumi.String("Subscription Name"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewElasticPool(ctx, "exampleElasticPool", &azuredevops.ElasticPoolArgs{
			ServiceEndpointId:    exampleServiceEndpointAzureRM.ID(),
			ServiceEndpointScope: exampleProject.ID(),
			DesiredIdle:          pulumi.Int(2),
			MaxCapacity:          pulumi.Int(3),
			AzureResourceId:      pulumi.String("/subscriptions/<Subscription Id>/resourceGroups/<Resource Name>/providers/Microsoft.Compute/virtualMachineScaleSets/<VMSS Name>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Elastic Pools](https://learn.microsoft.com/en-us/rest/api/azure/devops/distributedtask/elasticpools/create?view=azure-devops-rest-7.0)

## Import

Azure DevOps Agent Pools can be imported using the Elastic pool ID, e.g.

```sh $ pulumi import azuredevops:index/elasticPool:ElasticPool example 0 ```

func GetElasticPool

func GetElasticPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ElasticPoolState, opts ...pulumi.ResourceOption) (*ElasticPool, error)

GetElasticPool gets an existing ElasticPool 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 NewElasticPool

func NewElasticPool(ctx *pulumi.Context,
	name string, args *ElasticPoolArgs, opts ...pulumi.ResourceOption) (*ElasticPool, error)

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

func (*ElasticPool) ElementType

func (*ElasticPool) ElementType() reflect.Type

func (*ElasticPool) ToElasticPoolOutput

func (i *ElasticPool) ToElasticPoolOutput() ElasticPoolOutput

func (*ElasticPool) ToElasticPoolOutputWithContext

func (i *ElasticPool) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput

type ElasticPoolArgs

type ElasticPoolArgs struct {
	// Set whether agents should be configured to run with interactive UI. Defaults to `false`.
	AgentInteractiveUi pulumi.BoolPtrInput
	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate pulumi.BoolPtrInput
	// The ID of the Azure resource.
	AzureResourceId pulumi.StringInput
	// Number of agents to keep on standby.
	DesiredIdle pulumi.IntInput
	// Maximum number of virtual machines in the scale set.
	MaxCapacity pulumi.IntInput
	// The name of the Elastic pool.
	Name pulumi.StringPtrInput
	// The ID of the project where a new Elastic Pool will be created.
	ProjectId pulumi.StringPtrInput
	// Tear down virtual machines after every use. Defaults to `false`.
	RecycleAfterEachUse pulumi.BoolPtrInput
	// The ID of Service Endpoint used to connect to Azure.
	ServiceEndpointId pulumi.StringInput
	// The Project ID of Service Endpoint belongs to.
	ServiceEndpointScope pulumi.StringInput
	// Delay in minutes before deleting excess idle agents. Defaults to `30`.
	TimeToLiveMinutes pulumi.IntPtrInput
}

The set of arguments for constructing a ElasticPool resource.

func (ElasticPoolArgs) ElementType

func (ElasticPoolArgs) ElementType() reflect.Type

type ElasticPoolArray

type ElasticPoolArray []ElasticPoolInput

func (ElasticPoolArray) ElementType

func (ElasticPoolArray) ElementType() reflect.Type

func (ElasticPoolArray) ToElasticPoolArrayOutput

func (i ElasticPoolArray) ToElasticPoolArrayOutput() ElasticPoolArrayOutput

func (ElasticPoolArray) ToElasticPoolArrayOutputWithContext

func (i ElasticPoolArray) ToElasticPoolArrayOutputWithContext(ctx context.Context) ElasticPoolArrayOutput

type ElasticPoolArrayInput

type ElasticPoolArrayInput interface {
	pulumi.Input

	ToElasticPoolArrayOutput() ElasticPoolArrayOutput
	ToElasticPoolArrayOutputWithContext(context.Context) ElasticPoolArrayOutput
}

ElasticPoolArrayInput is an input type that accepts ElasticPoolArray and ElasticPoolArrayOutput values. You can construct a concrete instance of `ElasticPoolArrayInput` via:

ElasticPoolArray{ ElasticPoolArgs{...} }

type ElasticPoolArrayOutput

type ElasticPoolArrayOutput struct{ *pulumi.OutputState }

func (ElasticPoolArrayOutput) ElementType

func (ElasticPoolArrayOutput) ElementType() reflect.Type

func (ElasticPoolArrayOutput) Index

func (ElasticPoolArrayOutput) ToElasticPoolArrayOutput

func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutput() ElasticPoolArrayOutput

func (ElasticPoolArrayOutput) ToElasticPoolArrayOutputWithContext

func (o ElasticPoolArrayOutput) ToElasticPoolArrayOutputWithContext(ctx context.Context) ElasticPoolArrayOutput

type ElasticPoolInput

type ElasticPoolInput interface {
	pulumi.Input

	ToElasticPoolOutput() ElasticPoolOutput
	ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput
}

type ElasticPoolMap

type ElasticPoolMap map[string]ElasticPoolInput

func (ElasticPoolMap) ElementType

func (ElasticPoolMap) ElementType() reflect.Type

func (ElasticPoolMap) ToElasticPoolMapOutput

func (i ElasticPoolMap) ToElasticPoolMapOutput() ElasticPoolMapOutput

func (ElasticPoolMap) ToElasticPoolMapOutputWithContext

func (i ElasticPoolMap) ToElasticPoolMapOutputWithContext(ctx context.Context) ElasticPoolMapOutput

type ElasticPoolMapInput

type ElasticPoolMapInput interface {
	pulumi.Input

	ToElasticPoolMapOutput() ElasticPoolMapOutput
	ToElasticPoolMapOutputWithContext(context.Context) ElasticPoolMapOutput
}

ElasticPoolMapInput is an input type that accepts ElasticPoolMap and ElasticPoolMapOutput values. You can construct a concrete instance of `ElasticPoolMapInput` via:

ElasticPoolMap{ "key": ElasticPoolArgs{...} }

type ElasticPoolMapOutput

type ElasticPoolMapOutput struct{ *pulumi.OutputState }

func (ElasticPoolMapOutput) ElementType

func (ElasticPoolMapOutput) ElementType() reflect.Type

func (ElasticPoolMapOutput) MapIndex

func (ElasticPoolMapOutput) ToElasticPoolMapOutput

func (o ElasticPoolMapOutput) ToElasticPoolMapOutput() ElasticPoolMapOutput

func (ElasticPoolMapOutput) ToElasticPoolMapOutputWithContext

func (o ElasticPoolMapOutput) ToElasticPoolMapOutputWithContext(ctx context.Context) ElasticPoolMapOutput

type ElasticPoolOutput

type ElasticPoolOutput struct{ *pulumi.OutputState }

func (ElasticPoolOutput) AgentInteractiveUi

func (o ElasticPoolOutput) AgentInteractiveUi() pulumi.BoolPtrOutput

Set whether agents should be configured to run with interactive UI. Defaults to `false`.

func (ElasticPoolOutput) AutoProvision

func (o ElasticPoolOutput) AutoProvision() pulumi.BoolPtrOutput

Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.

func (ElasticPoolOutput) AutoUpdate

func (o ElasticPoolOutput) AutoUpdate() pulumi.BoolPtrOutput

Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.

func (ElasticPoolOutput) AzureResourceId

func (o ElasticPoolOutput) AzureResourceId() pulumi.StringOutput

The ID of the Azure resource.

func (ElasticPoolOutput) DesiredIdle

func (o ElasticPoolOutput) DesiredIdle() pulumi.IntOutput

Number of agents to keep on standby.

func (ElasticPoolOutput) ElementType

func (ElasticPoolOutput) ElementType() reflect.Type

func (ElasticPoolOutput) MaxCapacity

func (o ElasticPoolOutput) MaxCapacity() pulumi.IntOutput

Maximum number of virtual machines in the scale set.

func (ElasticPoolOutput) Name

The name of the Elastic pool.

func (ElasticPoolOutput) ProjectId

The ID of the project where a new Elastic Pool will be created.

func (ElasticPoolOutput) RecycleAfterEachUse

func (o ElasticPoolOutput) RecycleAfterEachUse() pulumi.BoolPtrOutput

Tear down virtual machines after every use. Defaults to `false`.

func (ElasticPoolOutput) ServiceEndpointId

func (o ElasticPoolOutput) ServiceEndpointId() pulumi.StringOutput

The ID of Service Endpoint used to connect to Azure.

func (ElasticPoolOutput) ServiceEndpointScope

func (o ElasticPoolOutput) ServiceEndpointScope() pulumi.StringOutput

The Project ID of Service Endpoint belongs to.

func (ElasticPoolOutput) TimeToLiveMinutes

func (o ElasticPoolOutput) TimeToLiveMinutes() pulumi.IntPtrOutput

Delay in minutes before deleting excess idle agents. Defaults to `30`.

func (ElasticPoolOutput) ToElasticPoolOutput

func (o ElasticPoolOutput) ToElasticPoolOutput() ElasticPoolOutput

func (ElasticPoolOutput) ToElasticPoolOutputWithContext

func (o ElasticPoolOutput) ToElasticPoolOutputWithContext(ctx context.Context) ElasticPoolOutput

type ElasticPoolState

type ElasticPoolState struct {
	// Set whether agents should be configured to run with interactive UI. Defaults to `false`.
	AgentInteractiveUi pulumi.BoolPtrInput
	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate pulumi.BoolPtrInput
	// The ID of the Azure resource.
	AzureResourceId pulumi.StringPtrInput
	// Number of agents to keep on standby.
	DesiredIdle pulumi.IntPtrInput
	// Maximum number of virtual machines in the scale set.
	MaxCapacity pulumi.IntPtrInput
	// The name of the Elastic pool.
	Name pulumi.StringPtrInput
	// The ID of the project where a new Elastic Pool will be created.
	ProjectId pulumi.StringPtrInput
	// Tear down virtual machines after every use. Defaults to `false`.
	RecycleAfterEachUse pulumi.BoolPtrInput
	// The ID of Service Endpoint used to connect to Azure.
	ServiceEndpointId pulumi.StringPtrInput
	// The Project ID of Service Endpoint belongs to.
	ServiceEndpointScope pulumi.StringPtrInput
	// Delay in minutes before deleting excess idle agents. Defaults to `30`.
	TimeToLiveMinutes pulumi.IntPtrInput
}

func (ElasticPoolState) ElementType

func (ElasticPoolState) ElementType() reflect.Type

type Environment

type Environment struct {
	pulumi.CustomResourceState

	// A description for the Environment.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name which should be used for this Environment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project. Changing this forces a new Environment to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

Manages an Environment.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewEnvironment(ctx, "exampleEnvironment", &azuredevops.EnvironmentArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

* [Azure DevOps Service REST API 7.0 - Environments](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/environments?view=azure-devops-rest-7.0)

## Import

Azure DevOps Environments can be imported using the project ID and environment ID, e.g.:

```sh $ pulumi import azuredevops:index/environment:Environment example 00000000-0000-0000-0000-000000000000/0 ```

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)

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

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context,
	name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)

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

func (*Environment) ElementType

func (*Environment) ElementType() reflect.Type

func (*Environment) ToEnvironmentOutput

func (i *Environment) ToEnvironmentOutput() EnvironmentOutput

func (*Environment) ToEnvironmentOutputWithContext

func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentArgs

type EnvironmentArgs struct {
	// A description for the Environment.
	Description pulumi.StringPtrInput
	// The name which should be used for this Environment.
	Name pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Environment to be created.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a Environment resource.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

type EnvironmentArray

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext

func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentArrayInput

type EnvironmentArrayInput interface {
	pulumi.Input

	ToEnvironmentArrayOutput() EnvironmentArrayOutput
	ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput
}

EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:

EnvironmentArray{ EnvironmentArgs{...} }

type EnvironmentArrayOutput

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentInput

type EnvironmentInput interface {
	pulumi.Input

	ToEnvironmentOutput() EnvironmentOutput
	ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
}

type EnvironmentMap

type EnvironmentMap map[string]EnvironmentInput

func (EnvironmentMap) ElementType

func (EnvironmentMap) ElementType() reflect.Type

func (EnvironmentMap) ToEnvironmentMapOutput

func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMap) ToEnvironmentMapOutputWithContext

func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentMapInput

type EnvironmentMapInput interface {
	pulumi.Input

	ToEnvironmentMapOutput() EnvironmentMapOutput
	ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput
}

EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:

EnvironmentMap{ "key": EnvironmentArgs{...} }

type EnvironmentMapOutput

type EnvironmentMapOutput struct{ *pulumi.OutputState }

func (EnvironmentMapOutput) ElementType

func (EnvironmentMapOutput) ElementType() reflect.Type

func (EnvironmentMapOutput) MapIndex

func (EnvironmentMapOutput) ToEnvironmentMapOutput

func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext

func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentOutput

type EnvironmentOutput struct{ *pulumi.OutputState }

func (EnvironmentOutput) Description

func (o EnvironmentOutput) Description() pulumi.StringPtrOutput

A description for the Environment.

func (EnvironmentOutput) ElementType

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) Name

The name which should be used for this Environment.

func (EnvironmentOutput) ProjectId

func (o EnvironmentOutput) ProjectId() pulumi.StringOutput

The ID of the project. Changing this forces a new Environment to be created.

func (EnvironmentOutput) ToEnvironmentOutput

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext

func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentResourceKubernetes

type EnvironmentResourceKubernetes struct {
	pulumi.CustomResourceState

	ClusterName       pulumi.StringPtrOutput   `pulumi:"clusterName"`
	EnvironmentId     pulumi.IntOutput         `pulumi:"environmentId"`
	Name              pulumi.StringOutput      `pulumi:"name"`
	Namespace         pulumi.StringOutput      `pulumi:"namespace"`
	ProjectId         pulumi.StringOutput      `pulumi:"projectId"`
	ServiceEndpointId pulumi.StringOutput      `pulumi:"serviceEndpointId"`
	Tags              pulumi.StringArrayOutput `pulumi:"tags"`
}

func GetEnvironmentResourceKubernetes

func GetEnvironmentResourceKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentResourceKubernetesState, opts ...pulumi.ResourceOption) (*EnvironmentResourceKubernetes, error)

GetEnvironmentResourceKubernetes gets an existing EnvironmentResourceKubernetes 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 NewEnvironmentResourceKubernetes

func NewEnvironmentResourceKubernetes(ctx *pulumi.Context,
	name string, args *EnvironmentResourceKubernetesArgs, opts ...pulumi.ResourceOption) (*EnvironmentResourceKubernetes, error)

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

func (*EnvironmentResourceKubernetes) ElementType

func (*EnvironmentResourceKubernetes) ToEnvironmentResourceKubernetesOutput

func (i *EnvironmentResourceKubernetes) ToEnvironmentResourceKubernetesOutput() EnvironmentResourceKubernetesOutput

func (*EnvironmentResourceKubernetes) ToEnvironmentResourceKubernetesOutputWithContext

func (i *EnvironmentResourceKubernetes) ToEnvironmentResourceKubernetesOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesOutput

type EnvironmentResourceKubernetesArgs

type EnvironmentResourceKubernetesArgs struct {
	ClusterName       pulumi.StringPtrInput
	EnvironmentId     pulumi.IntInput
	Name              pulumi.StringPtrInput
	Namespace         pulumi.StringInput
	ProjectId         pulumi.StringInput
	ServiceEndpointId pulumi.StringInput
	Tags              pulumi.StringArrayInput
}

The set of arguments for constructing a EnvironmentResourceKubernetes resource.

func (EnvironmentResourceKubernetesArgs) ElementType

type EnvironmentResourceKubernetesArray

type EnvironmentResourceKubernetesArray []EnvironmentResourceKubernetesInput

func (EnvironmentResourceKubernetesArray) ElementType

func (EnvironmentResourceKubernetesArray) ToEnvironmentResourceKubernetesArrayOutput

func (i EnvironmentResourceKubernetesArray) ToEnvironmentResourceKubernetesArrayOutput() EnvironmentResourceKubernetesArrayOutput

func (EnvironmentResourceKubernetesArray) ToEnvironmentResourceKubernetesArrayOutputWithContext

func (i EnvironmentResourceKubernetesArray) ToEnvironmentResourceKubernetesArrayOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesArrayOutput

type EnvironmentResourceKubernetesArrayInput

type EnvironmentResourceKubernetesArrayInput interface {
	pulumi.Input

	ToEnvironmentResourceKubernetesArrayOutput() EnvironmentResourceKubernetesArrayOutput
	ToEnvironmentResourceKubernetesArrayOutputWithContext(context.Context) EnvironmentResourceKubernetesArrayOutput
}

EnvironmentResourceKubernetesArrayInput is an input type that accepts EnvironmentResourceKubernetesArray and EnvironmentResourceKubernetesArrayOutput values. You can construct a concrete instance of `EnvironmentResourceKubernetesArrayInput` via:

EnvironmentResourceKubernetesArray{ EnvironmentResourceKubernetesArgs{...} }

type EnvironmentResourceKubernetesArrayOutput

type EnvironmentResourceKubernetesArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentResourceKubernetesArrayOutput) ElementType

func (EnvironmentResourceKubernetesArrayOutput) Index

func (EnvironmentResourceKubernetesArrayOutput) ToEnvironmentResourceKubernetesArrayOutput

func (o EnvironmentResourceKubernetesArrayOutput) ToEnvironmentResourceKubernetesArrayOutput() EnvironmentResourceKubernetesArrayOutput

func (EnvironmentResourceKubernetesArrayOutput) ToEnvironmentResourceKubernetesArrayOutputWithContext

func (o EnvironmentResourceKubernetesArrayOutput) ToEnvironmentResourceKubernetesArrayOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesArrayOutput

type EnvironmentResourceKubernetesInput

type EnvironmentResourceKubernetesInput interface {
	pulumi.Input

	ToEnvironmentResourceKubernetesOutput() EnvironmentResourceKubernetesOutput
	ToEnvironmentResourceKubernetesOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesOutput
}

type EnvironmentResourceKubernetesMap

type EnvironmentResourceKubernetesMap map[string]EnvironmentResourceKubernetesInput

func (EnvironmentResourceKubernetesMap) ElementType

func (EnvironmentResourceKubernetesMap) ToEnvironmentResourceKubernetesMapOutput

func (i EnvironmentResourceKubernetesMap) ToEnvironmentResourceKubernetesMapOutput() EnvironmentResourceKubernetesMapOutput

func (EnvironmentResourceKubernetesMap) ToEnvironmentResourceKubernetesMapOutputWithContext

func (i EnvironmentResourceKubernetesMap) ToEnvironmentResourceKubernetesMapOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesMapOutput

type EnvironmentResourceKubernetesMapInput

type EnvironmentResourceKubernetesMapInput interface {
	pulumi.Input

	ToEnvironmentResourceKubernetesMapOutput() EnvironmentResourceKubernetesMapOutput
	ToEnvironmentResourceKubernetesMapOutputWithContext(context.Context) EnvironmentResourceKubernetesMapOutput
}

EnvironmentResourceKubernetesMapInput is an input type that accepts EnvironmentResourceKubernetesMap and EnvironmentResourceKubernetesMapOutput values. You can construct a concrete instance of `EnvironmentResourceKubernetesMapInput` via:

EnvironmentResourceKubernetesMap{ "key": EnvironmentResourceKubernetesArgs{...} }

type EnvironmentResourceKubernetesMapOutput

type EnvironmentResourceKubernetesMapOutput struct{ *pulumi.OutputState }

func (EnvironmentResourceKubernetesMapOutput) ElementType

func (EnvironmentResourceKubernetesMapOutput) MapIndex

func (EnvironmentResourceKubernetesMapOutput) ToEnvironmentResourceKubernetesMapOutput

func (o EnvironmentResourceKubernetesMapOutput) ToEnvironmentResourceKubernetesMapOutput() EnvironmentResourceKubernetesMapOutput

func (EnvironmentResourceKubernetesMapOutput) ToEnvironmentResourceKubernetesMapOutputWithContext

func (o EnvironmentResourceKubernetesMapOutput) ToEnvironmentResourceKubernetesMapOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesMapOutput

type EnvironmentResourceKubernetesOutput

type EnvironmentResourceKubernetesOutput struct{ *pulumi.OutputState }

func (EnvironmentResourceKubernetesOutput) ClusterName

func (EnvironmentResourceKubernetesOutput) ElementType

func (EnvironmentResourceKubernetesOutput) EnvironmentId

func (EnvironmentResourceKubernetesOutput) Name

func (EnvironmentResourceKubernetesOutput) Namespace

func (EnvironmentResourceKubernetesOutput) ProjectId

func (EnvironmentResourceKubernetesOutput) ServiceEndpointId

func (EnvironmentResourceKubernetesOutput) Tags

func (EnvironmentResourceKubernetesOutput) ToEnvironmentResourceKubernetesOutput

func (o EnvironmentResourceKubernetesOutput) ToEnvironmentResourceKubernetesOutput() EnvironmentResourceKubernetesOutput

func (EnvironmentResourceKubernetesOutput) ToEnvironmentResourceKubernetesOutputWithContext

func (o EnvironmentResourceKubernetesOutput) ToEnvironmentResourceKubernetesOutputWithContext(ctx context.Context) EnvironmentResourceKubernetesOutput

type EnvironmentResourceKubernetesState

type EnvironmentResourceKubernetesState struct {
	ClusterName       pulumi.StringPtrInput
	EnvironmentId     pulumi.IntPtrInput
	Name              pulumi.StringPtrInput
	Namespace         pulumi.StringPtrInput
	ProjectId         pulumi.StringPtrInput
	ServiceEndpointId pulumi.StringPtrInput
	Tags              pulumi.StringArrayInput
}

func (EnvironmentResourceKubernetesState) ElementType

type EnvironmentState

type EnvironmentState struct {
	// A description for the Environment.
	Description pulumi.StringPtrInput
	// The name which should be used for this Environment.
	Name pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Environment to be created.
	ProjectId pulumi.StringPtrInput
}

func (EnvironmentState) ElementType

func (EnvironmentState) ElementType() reflect.Type

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 GetAgentQueueOutputArgs

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

A collection of arguments for invoking getAgentQueue.

func (GetAgentQueueOutputArgs) ElementType

func (GetAgentQueueOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleAgentQueue := azuredevops.GetAgentQueueOutput(ctx, azuredevops.GetAgentQueueOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Example Agent Queue"),
		}, nil)
		ctx.Export("name", exampleAgentQueue.ApplyT(func(exampleAgentQueue azuredevops.GetAgentQueueResult) (*string, error) {
			return &exampleAgentQueue.Name, nil
		}).(pulumi.StringPtrOutput))
		ctx.Export("poolId", exampleAgentQueue.ApplyT(func(exampleAgentQueue azuredevops.GetAgentQueueResult) (*int, error) {
			return &exampleAgentQueue.AgentPoolId, nil
		}).(pulumi.IntPtrOutput))
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetAgentQueueResultOutput

type GetAgentQueueResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAgentQueue.

func (GetAgentQueueResultOutput) AgentPoolId

func (o GetAgentQueueResultOutput) AgentPoolId() pulumi.IntOutput

Agent pool identifier to which the agent queue belongs.

func (GetAgentQueueResultOutput) ElementType

func (GetAgentQueueResultOutput) ElementType() reflect.Type

func (GetAgentQueueResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAgentQueueResultOutput) Name

The name of the agent queue.

func (GetAgentQueueResultOutput) ProjectId

Project identifier to which the agent queue belongs.

func (GetAgentQueueResultOutput) ToGetAgentQueueResultOutput

func (o GetAgentQueueResultOutput) ToGetAgentQueueResultOutput() GetAgentQueueResultOutput

func (GetAgentQueueResultOutput) ToGetAgentQueueResultOutputWithContext

func (o GetAgentQueueResultOutput) ToGetAgentQueueResultOutputWithContext(ctx context.Context) GetAgentQueueResultOutput

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 GetAreaOutputArgs

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

A collection of arguments for invoking getArea.

func (GetAreaOutputArgs) ElementType

func (GetAreaOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_ = exampleProject.ID().ApplyT(func(id string) (azuredevops.GetAreaResult, error) {
			return azuredevops.GetAreaOutput(ctx, azuredevops.GetAreaOutputArgs{
				ProjectId:     id,
				Path:          "/",
				FetchChildren: false,
			}, nil), nil
		}).(azuredevops.GetAreaResultOutput)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetAreaResultOutput

type GetAreaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getArea.

func (GetAreaResultOutput) Childrens

A list of `children` blocks as defined below, empty if `hasChildren == false`

func (GetAreaResultOutput) ElementType

func (GetAreaResultOutput) ElementType() reflect.Type

func (GetAreaResultOutput) FetchChildren

func (o GetAreaResultOutput) FetchChildren() pulumi.BoolPtrOutput

func (GetAreaResultOutput) HasChildren

func (o GetAreaResultOutput) HasChildren() pulumi.BoolOutput

Indicator if the child Area node has child nodes

func (GetAreaResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAreaResultOutput) Name

The name of the child Area node

func (GetAreaResultOutput) Path

The complete path (in relative URL format) of the child Area

func (GetAreaResultOutput) ProjectId

func (o GetAreaResultOutput) ProjectId() pulumi.StringOutput

The project ID of the child Area node

func (GetAreaResultOutput) ToGetAreaResultOutput

func (o GetAreaResultOutput) ToGetAreaResultOutput() GetAreaResultOutput

func (GetAreaResultOutput) ToGetAreaResultOutputWithContext

func (o GetAreaResultOutput) ToGetAreaResultOutputWithContext(ctx context.Context) GetAreaResultOutput

type GetBuildDefinitionCiTrigger

type GetBuildDefinitionCiTrigger struct {
	// A `override` block as defined below.
	Overrides []GetBuildDefinitionCiTriggerOverride `pulumi:"overrides"`
	// Use the azure-pipeline file for the build configuration.
	UseYaml bool `pulumi:"useYaml"`
}

type GetBuildDefinitionCiTriggerArgs

type GetBuildDefinitionCiTriggerArgs struct {
	// A `override` block as defined below.
	Overrides GetBuildDefinitionCiTriggerOverrideArrayInput `pulumi:"overrides"`
	// Use the azure-pipeline file for the build configuration.
	UseYaml pulumi.BoolInput `pulumi:"useYaml"`
}

func (GetBuildDefinitionCiTriggerArgs) ElementType

func (GetBuildDefinitionCiTriggerArgs) ToGetBuildDefinitionCiTriggerOutput

func (i GetBuildDefinitionCiTriggerArgs) ToGetBuildDefinitionCiTriggerOutput() GetBuildDefinitionCiTriggerOutput

func (GetBuildDefinitionCiTriggerArgs) ToGetBuildDefinitionCiTriggerOutputWithContext

func (i GetBuildDefinitionCiTriggerArgs) ToGetBuildDefinitionCiTriggerOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOutput

type GetBuildDefinitionCiTriggerArray

type GetBuildDefinitionCiTriggerArray []GetBuildDefinitionCiTriggerInput

func (GetBuildDefinitionCiTriggerArray) ElementType

func (GetBuildDefinitionCiTriggerArray) ToGetBuildDefinitionCiTriggerArrayOutput

func (i GetBuildDefinitionCiTriggerArray) ToGetBuildDefinitionCiTriggerArrayOutput() GetBuildDefinitionCiTriggerArrayOutput

func (GetBuildDefinitionCiTriggerArray) ToGetBuildDefinitionCiTriggerArrayOutputWithContext

func (i GetBuildDefinitionCiTriggerArray) ToGetBuildDefinitionCiTriggerArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerArrayOutput

type GetBuildDefinitionCiTriggerArrayInput

type GetBuildDefinitionCiTriggerArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerArrayOutput() GetBuildDefinitionCiTriggerArrayOutput
	ToGetBuildDefinitionCiTriggerArrayOutputWithContext(context.Context) GetBuildDefinitionCiTriggerArrayOutput
}

GetBuildDefinitionCiTriggerArrayInput is an input type that accepts GetBuildDefinitionCiTriggerArray and GetBuildDefinitionCiTriggerArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerArrayInput` via:

GetBuildDefinitionCiTriggerArray{ GetBuildDefinitionCiTriggerArgs{...} }

type GetBuildDefinitionCiTriggerArrayOutput

type GetBuildDefinitionCiTriggerArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerArrayOutput) ElementType

func (GetBuildDefinitionCiTriggerArrayOutput) Index

func (GetBuildDefinitionCiTriggerArrayOutput) ToGetBuildDefinitionCiTriggerArrayOutput

func (o GetBuildDefinitionCiTriggerArrayOutput) ToGetBuildDefinitionCiTriggerArrayOutput() GetBuildDefinitionCiTriggerArrayOutput

func (GetBuildDefinitionCiTriggerArrayOutput) ToGetBuildDefinitionCiTriggerArrayOutputWithContext

func (o GetBuildDefinitionCiTriggerArrayOutput) ToGetBuildDefinitionCiTriggerArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerArrayOutput

type GetBuildDefinitionCiTriggerInput

type GetBuildDefinitionCiTriggerInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOutput() GetBuildDefinitionCiTriggerOutput
	ToGetBuildDefinitionCiTriggerOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOutput
}

GetBuildDefinitionCiTriggerInput is an input type that accepts GetBuildDefinitionCiTriggerArgs and GetBuildDefinitionCiTriggerOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerInput` via:

GetBuildDefinitionCiTriggerArgs{...}

type GetBuildDefinitionCiTriggerOutput

type GetBuildDefinitionCiTriggerOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOutput) ElementType

func (GetBuildDefinitionCiTriggerOutput) Overrides

A `override` block as defined below.

func (GetBuildDefinitionCiTriggerOutput) ToGetBuildDefinitionCiTriggerOutput

func (o GetBuildDefinitionCiTriggerOutput) ToGetBuildDefinitionCiTriggerOutput() GetBuildDefinitionCiTriggerOutput

func (GetBuildDefinitionCiTriggerOutput) ToGetBuildDefinitionCiTriggerOutputWithContext

func (o GetBuildDefinitionCiTriggerOutput) ToGetBuildDefinitionCiTriggerOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOutput

func (GetBuildDefinitionCiTriggerOutput) UseYaml

Use the azure-pipeline file for the build configuration.

type GetBuildDefinitionCiTriggerOverride

type GetBuildDefinitionCiTriggerOverride struct {
	// If batch is 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.
	Batch bool `pulumi:"batch"`
	// A `branchFilter` block as defined above.
	BranchFilters []GetBuildDefinitionCiTriggerOverrideBranchFilter `pulumi:"branchFilters"`
	// The number of max builds per branch.
	MaxConcurrentBuildsPerBranch int `pulumi:"maxConcurrentBuildsPerBranch"`
	// block supports the following:
	PathFilters []GetBuildDefinitionCiTriggerOverridePathFilter `pulumi:"pathFilters"`
	// How often the external repository is polled.
	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 GetBuildDefinitionCiTriggerOverrideArgs

type GetBuildDefinitionCiTriggerOverrideArgs struct {
	// If batch is 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.
	Batch pulumi.BoolInput `pulumi:"batch"`
	// A `branchFilter` block as defined above.
	BranchFilters GetBuildDefinitionCiTriggerOverrideBranchFilterArrayInput `pulumi:"branchFilters"`
	// The number of max builds per branch.
	MaxConcurrentBuildsPerBranch pulumi.IntInput `pulumi:"maxConcurrentBuildsPerBranch"`
	// block supports the following:
	PathFilters GetBuildDefinitionCiTriggerOverridePathFilterArrayInput `pulumi:"pathFilters"`
	// How often the external repository is polled.
	PollingInterval pulumi.IntInput `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.StringInput `pulumi:"pollingJobId"`
}

func (GetBuildDefinitionCiTriggerOverrideArgs) ElementType

func (GetBuildDefinitionCiTriggerOverrideArgs) ToGetBuildDefinitionCiTriggerOverrideOutput

func (i GetBuildDefinitionCiTriggerOverrideArgs) ToGetBuildDefinitionCiTriggerOverrideOutput() GetBuildDefinitionCiTriggerOverrideOutput

func (GetBuildDefinitionCiTriggerOverrideArgs) ToGetBuildDefinitionCiTriggerOverrideOutputWithContext

func (i GetBuildDefinitionCiTriggerOverrideArgs) ToGetBuildDefinitionCiTriggerOverrideOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideOutput

type GetBuildDefinitionCiTriggerOverrideArray

type GetBuildDefinitionCiTriggerOverrideArray []GetBuildDefinitionCiTriggerOverrideInput

func (GetBuildDefinitionCiTriggerOverrideArray) ElementType

func (GetBuildDefinitionCiTriggerOverrideArray) ToGetBuildDefinitionCiTriggerOverrideArrayOutput

func (i GetBuildDefinitionCiTriggerOverrideArray) ToGetBuildDefinitionCiTriggerOverrideArrayOutput() GetBuildDefinitionCiTriggerOverrideArrayOutput

func (GetBuildDefinitionCiTriggerOverrideArray) ToGetBuildDefinitionCiTriggerOverrideArrayOutputWithContext

func (i GetBuildDefinitionCiTriggerOverrideArray) ToGetBuildDefinitionCiTriggerOverrideArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideArrayOutput

type GetBuildDefinitionCiTriggerOverrideArrayInput

type GetBuildDefinitionCiTriggerOverrideArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverrideArrayOutput() GetBuildDefinitionCiTriggerOverrideArrayOutput
	ToGetBuildDefinitionCiTriggerOverrideArrayOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverrideArrayOutput
}

GetBuildDefinitionCiTriggerOverrideArrayInput is an input type that accepts GetBuildDefinitionCiTriggerOverrideArray and GetBuildDefinitionCiTriggerOverrideArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverrideArrayInput` via:

GetBuildDefinitionCiTriggerOverrideArray{ GetBuildDefinitionCiTriggerOverrideArgs{...} }

type GetBuildDefinitionCiTriggerOverrideArrayOutput

type GetBuildDefinitionCiTriggerOverrideArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverrideArrayOutput) ElementType

func (GetBuildDefinitionCiTriggerOverrideArrayOutput) Index

func (GetBuildDefinitionCiTriggerOverrideArrayOutput) ToGetBuildDefinitionCiTriggerOverrideArrayOutput

func (o GetBuildDefinitionCiTriggerOverrideArrayOutput) ToGetBuildDefinitionCiTriggerOverrideArrayOutput() GetBuildDefinitionCiTriggerOverrideArrayOutput

func (GetBuildDefinitionCiTriggerOverrideArrayOutput) ToGetBuildDefinitionCiTriggerOverrideArrayOutputWithContext

func (o GetBuildDefinitionCiTriggerOverrideArrayOutput) ToGetBuildDefinitionCiTriggerOverrideArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideArrayOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilter

type GetBuildDefinitionCiTriggerOverrideBranchFilter struct {
	// (Optional) List of path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type GetBuildDefinitionCiTriggerOverrideBranchFilterArgs

type GetBuildDefinitionCiTriggerOverrideBranchFilterArgs struct {
	// (Optional) List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArgs) ElementType

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutput

func (i GetBuildDefinitionCiTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutput() GetBuildDefinitionCiTriggerOverrideBranchFilterOutput

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext

func (i GetBuildDefinitionCiTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilterArray

type GetBuildDefinitionCiTriggerOverrideBranchFilterArray []GetBuildDefinitionCiTriggerOverrideBranchFilterInput

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArray) ElementType

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArray) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (i GetBuildDefinitionCiTriggerOverrideBranchFilterArray) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput() GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArray) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext

func (i GetBuildDefinitionCiTriggerOverrideBranchFilterArray) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilterArrayInput

type GetBuildDefinitionCiTriggerOverrideBranchFilterArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput() GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput
	ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput
}

GetBuildDefinitionCiTriggerOverrideBranchFilterArrayInput is an input type that accepts GetBuildDefinitionCiTriggerOverrideBranchFilterArray and GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverrideBranchFilterArrayInput` via:

GetBuildDefinitionCiTriggerOverrideBranchFilterArray{ GetBuildDefinitionCiTriggerOverrideBranchFilterArgs{...} }

type GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ElementType

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) Index

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

func (GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext

func (o GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilterInput

type GetBuildDefinitionCiTriggerOverrideBranchFilterInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutput() GetBuildDefinitionCiTriggerOverrideBranchFilterOutput
	ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterOutput
}

GetBuildDefinitionCiTriggerOverrideBranchFilterInput is an input type that accepts GetBuildDefinitionCiTriggerOverrideBranchFilterArgs and GetBuildDefinitionCiTriggerOverrideBranchFilterOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverrideBranchFilterInput` via:

GetBuildDefinitionCiTriggerOverrideBranchFilterArgs{...}

type GetBuildDefinitionCiTriggerOverrideBranchFilterOutput

type GetBuildDefinitionCiTriggerOverrideBranchFilterOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) ElementType

func (GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) Excludes

(Optional) List of path patterns to exclude.

func (GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) Includes

(Optional) List of path patterns to include.

func (GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutput

func (GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext

func (o GetBuildDefinitionCiTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionCiTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideBranchFilterOutput

type GetBuildDefinitionCiTriggerOverrideInput

type GetBuildDefinitionCiTriggerOverrideInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverrideOutput() GetBuildDefinitionCiTriggerOverrideOutput
	ToGetBuildDefinitionCiTriggerOverrideOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverrideOutput
}

GetBuildDefinitionCiTriggerOverrideInput is an input type that accepts GetBuildDefinitionCiTriggerOverrideArgs and GetBuildDefinitionCiTriggerOverrideOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverrideInput` via:

GetBuildDefinitionCiTriggerOverrideArgs{...}

type GetBuildDefinitionCiTriggerOverrideOutput

type GetBuildDefinitionCiTriggerOverrideOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverrideOutput) Batch

If batch is 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.

func (GetBuildDefinitionCiTriggerOverrideOutput) BranchFilters

A `branchFilter` block as defined above.

func (GetBuildDefinitionCiTriggerOverrideOutput) ElementType

func (GetBuildDefinitionCiTriggerOverrideOutput) MaxConcurrentBuildsPerBranch

func (o GetBuildDefinitionCiTriggerOverrideOutput) MaxConcurrentBuildsPerBranch() pulumi.IntOutput

The number of max builds per branch.

func (GetBuildDefinitionCiTriggerOverrideOutput) PathFilters

block supports the following:

func (GetBuildDefinitionCiTriggerOverrideOutput) PollingInterval

How often the external repository is polled.

func (GetBuildDefinitionCiTriggerOverrideOutput) 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 (GetBuildDefinitionCiTriggerOverrideOutput) ToGetBuildDefinitionCiTriggerOverrideOutput

func (o GetBuildDefinitionCiTriggerOverrideOutput) ToGetBuildDefinitionCiTriggerOverrideOutput() GetBuildDefinitionCiTriggerOverrideOutput

func (GetBuildDefinitionCiTriggerOverrideOutput) ToGetBuildDefinitionCiTriggerOverrideOutputWithContext

func (o GetBuildDefinitionCiTriggerOverrideOutput) ToGetBuildDefinitionCiTriggerOverrideOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverrideOutput

type GetBuildDefinitionCiTriggerOverridePathFilter

type GetBuildDefinitionCiTriggerOverridePathFilter struct {
	// (Optional) List of path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type GetBuildDefinitionCiTriggerOverridePathFilterArgs

type GetBuildDefinitionCiTriggerOverridePathFilterArgs struct {
	// (Optional) List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (GetBuildDefinitionCiTriggerOverridePathFilterArgs) ElementType

func (GetBuildDefinitionCiTriggerOverridePathFilterArgs) ToGetBuildDefinitionCiTriggerOverridePathFilterOutput

func (i GetBuildDefinitionCiTriggerOverridePathFilterArgs) ToGetBuildDefinitionCiTriggerOverridePathFilterOutput() GetBuildDefinitionCiTriggerOverridePathFilterOutput

func (GetBuildDefinitionCiTriggerOverridePathFilterArgs) ToGetBuildDefinitionCiTriggerOverridePathFilterOutputWithContext

func (i GetBuildDefinitionCiTriggerOverridePathFilterArgs) ToGetBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverridePathFilterOutput

type GetBuildDefinitionCiTriggerOverridePathFilterArray

type GetBuildDefinitionCiTriggerOverridePathFilterArray []GetBuildDefinitionCiTriggerOverridePathFilterInput

func (GetBuildDefinitionCiTriggerOverridePathFilterArray) ElementType

func (GetBuildDefinitionCiTriggerOverridePathFilterArray) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (i GetBuildDefinitionCiTriggerOverridePathFilterArray) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutput() GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (GetBuildDefinitionCiTriggerOverridePathFilterArray) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext

func (i GetBuildDefinitionCiTriggerOverridePathFilterArray) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionCiTriggerOverridePathFilterArrayInput

type GetBuildDefinitionCiTriggerOverridePathFilterArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutput() GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput
	ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput
}

GetBuildDefinitionCiTriggerOverridePathFilterArrayInput is an input type that accepts GetBuildDefinitionCiTriggerOverridePathFilterArray and GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverridePathFilterArrayInput` via:

GetBuildDefinitionCiTriggerOverridePathFilterArray{ GetBuildDefinitionCiTriggerOverridePathFilterArgs{...} }

type GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput) ElementType

func (GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput) Index

func (GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

func (GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext

func (o GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionCiTriggerOverridePathFilterInput

type GetBuildDefinitionCiTriggerOverridePathFilterInput interface {
	pulumi.Input

	ToGetBuildDefinitionCiTriggerOverridePathFilterOutput() GetBuildDefinitionCiTriggerOverridePathFilterOutput
	ToGetBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(context.Context) GetBuildDefinitionCiTriggerOverridePathFilterOutput
}

GetBuildDefinitionCiTriggerOverridePathFilterInput is an input type that accepts GetBuildDefinitionCiTriggerOverridePathFilterArgs and GetBuildDefinitionCiTriggerOverridePathFilterOutput values. You can construct a concrete instance of `GetBuildDefinitionCiTriggerOverridePathFilterInput` via:

GetBuildDefinitionCiTriggerOverridePathFilterArgs{...}

type GetBuildDefinitionCiTriggerOverridePathFilterOutput

type GetBuildDefinitionCiTriggerOverridePathFilterOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionCiTriggerOverridePathFilterOutput) ElementType

func (GetBuildDefinitionCiTriggerOverridePathFilterOutput) Excludes

(Optional) List of path patterns to exclude.

func (GetBuildDefinitionCiTriggerOverridePathFilterOutput) Includes

(Optional) List of path patterns to include.

func (GetBuildDefinitionCiTriggerOverridePathFilterOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterOutput

func (o GetBuildDefinitionCiTriggerOverridePathFilterOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterOutput() GetBuildDefinitionCiTriggerOverridePathFilterOutput

func (GetBuildDefinitionCiTriggerOverridePathFilterOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterOutputWithContext

func (o GetBuildDefinitionCiTriggerOverridePathFilterOutput) ToGetBuildDefinitionCiTriggerOverridePathFilterOutputWithContext(ctx context.Context) GetBuildDefinitionCiTriggerOverridePathFilterOutput

type GetBuildDefinitionPullRequestTrigger

type GetBuildDefinitionPullRequestTrigger struct {
	// Is a comment required on the PR?
	CommentRequired string `pulumi:"commentRequired"`
	// A `forks` block as defined above.
	Forks []GetBuildDefinitionPullRequestTriggerFork `pulumi:"forks"`
	// When useYaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
	InitialBranch string `pulumi:"initialBranch"`
	// A `override` block as defined below.
	Overrides []GetBuildDefinitionPullRequestTriggerOverride `pulumi:"overrides"`
	// Use the azure-pipeline file for the build configuration.
	UseYaml bool `pulumi:"useYaml"`
}

type GetBuildDefinitionPullRequestTriggerArgs

type GetBuildDefinitionPullRequestTriggerArgs struct {
	// Is a comment required on the PR?
	CommentRequired pulumi.StringInput `pulumi:"commentRequired"`
	// A `forks` block as defined above.
	Forks GetBuildDefinitionPullRequestTriggerForkArrayInput `pulumi:"forks"`
	// When useYaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
	InitialBranch pulumi.StringInput `pulumi:"initialBranch"`
	// A `override` block as defined below.
	Overrides GetBuildDefinitionPullRequestTriggerOverrideArrayInput `pulumi:"overrides"`
	// Use the azure-pipeline file for the build configuration.
	UseYaml pulumi.BoolInput `pulumi:"useYaml"`
}

func (GetBuildDefinitionPullRequestTriggerArgs) ElementType

func (GetBuildDefinitionPullRequestTriggerArgs) ToGetBuildDefinitionPullRequestTriggerOutput

func (i GetBuildDefinitionPullRequestTriggerArgs) ToGetBuildDefinitionPullRequestTriggerOutput() GetBuildDefinitionPullRequestTriggerOutput

func (GetBuildDefinitionPullRequestTriggerArgs) ToGetBuildDefinitionPullRequestTriggerOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerArgs) ToGetBuildDefinitionPullRequestTriggerOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOutput

type GetBuildDefinitionPullRequestTriggerArray

type GetBuildDefinitionPullRequestTriggerArray []GetBuildDefinitionPullRequestTriggerInput

func (GetBuildDefinitionPullRequestTriggerArray) ElementType

func (GetBuildDefinitionPullRequestTriggerArray) ToGetBuildDefinitionPullRequestTriggerArrayOutput

func (i GetBuildDefinitionPullRequestTriggerArray) ToGetBuildDefinitionPullRequestTriggerArrayOutput() GetBuildDefinitionPullRequestTriggerArrayOutput

func (GetBuildDefinitionPullRequestTriggerArray) ToGetBuildDefinitionPullRequestTriggerArrayOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerArray) ToGetBuildDefinitionPullRequestTriggerArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerArrayOutput

type GetBuildDefinitionPullRequestTriggerArrayInput

type GetBuildDefinitionPullRequestTriggerArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerArrayOutput() GetBuildDefinitionPullRequestTriggerArrayOutput
	ToGetBuildDefinitionPullRequestTriggerArrayOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerArrayOutput
}

GetBuildDefinitionPullRequestTriggerArrayInput is an input type that accepts GetBuildDefinitionPullRequestTriggerArray and GetBuildDefinitionPullRequestTriggerArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerArrayInput` via:

GetBuildDefinitionPullRequestTriggerArray{ GetBuildDefinitionPullRequestTriggerArgs{...} }

type GetBuildDefinitionPullRequestTriggerArrayOutput

type GetBuildDefinitionPullRequestTriggerArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerArrayOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerArrayOutput) Index

func (GetBuildDefinitionPullRequestTriggerArrayOutput) ToGetBuildDefinitionPullRequestTriggerArrayOutput

func (o GetBuildDefinitionPullRequestTriggerArrayOutput) ToGetBuildDefinitionPullRequestTriggerArrayOutput() GetBuildDefinitionPullRequestTriggerArrayOutput

func (GetBuildDefinitionPullRequestTriggerArrayOutput) ToGetBuildDefinitionPullRequestTriggerArrayOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerArrayOutput) ToGetBuildDefinitionPullRequestTriggerArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerArrayOutput

type GetBuildDefinitionPullRequestTriggerFork

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

type GetBuildDefinitionPullRequestTriggerForkArgs

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

func (GetBuildDefinitionPullRequestTriggerForkArgs) ElementType

func (GetBuildDefinitionPullRequestTriggerForkArgs) ToGetBuildDefinitionPullRequestTriggerForkOutput

func (i GetBuildDefinitionPullRequestTriggerForkArgs) ToGetBuildDefinitionPullRequestTriggerForkOutput() GetBuildDefinitionPullRequestTriggerForkOutput

func (GetBuildDefinitionPullRequestTriggerForkArgs) ToGetBuildDefinitionPullRequestTriggerForkOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerForkArgs) ToGetBuildDefinitionPullRequestTriggerForkOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerForkOutput

type GetBuildDefinitionPullRequestTriggerForkArray

type GetBuildDefinitionPullRequestTriggerForkArray []GetBuildDefinitionPullRequestTriggerForkInput

func (GetBuildDefinitionPullRequestTriggerForkArray) ElementType

func (GetBuildDefinitionPullRequestTriggerForkArray) ToGetBuildDefinitionPullRequestTriggerForkArrayOutput

func (i GetBuildDefinitionPullRequestTriggerForkArray) ToGetBuildDefinitionPullRequestTriggerForkArrayOutput() GetBuildDefinitionPullRequestTriggerForkArrayOutput

func (GetBuildDefinitionPullRequestTriggerForkArray) ToGetBuildDefinitionPullRequestTriggerForkArrayOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerForkArray) ToGetBuildDefinitionPullRequestTriggerForkArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerForkArrayOutput

type GetBuildDefinitionPullRequestTriggerForkArrayInput

type GetBuildDefinitionPullRequestTriggerForkArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerForkArrayOutput() GetBuildDefinitionPullRequestTriggerForkArrayOutput
	ToGetBuildDefinitionPullRequestTriggerForkArrayOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerForkArrayOutput
}

GetBuildDefinitionPullRequestTriggerForkArrayInput is an input type that accepts GetBuildDefinitionPullRequestTriggerForkArray and GetBuildDefinitionPullRequestTriggerForkArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerForkArrayInput` via:

GetBuildDefinitionPullRequestTriggerForkArray{ GetBuildDefinitionPullRequestTriggerForkArgs{...} }

type GetBuildDefinitionPullRequestTriggerForkArrayOutput

type GetBuildDefinitionPullRequestTriggerForkArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerForkArrayOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerForkArrayOutput) Index

func (GetBuildDefinitionPullRequestTriggerForkArrayOutput) ToGetBuildDefinitionPullRequestTriggerForkArrayOutput

func (o GetBuildDefinitionPullRequestTriggerForkArrayOutput) ToGetBuildDefinitionPullRequestTriggerForkArrayOutput() GetBuildDefinitionPullRequestTriggerForkArrayOutput

func (GetBuildDefinitionPullRequestTriggerForkArrayOutput) ToGetBuildDefinitionPullRequestTriggerForkArrayOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerForkArrayOutput) ToGetBuildDefinitionPullRequestTriggerForkArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerForkArrayOutput

type GetBuildDefinitionPullRequestTriggerForkInput

type GetBuildDefinitionPullRequestTriggerForkInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerForkOutput() GetBuildDefinitionPullRequestTriggerForkOutput
	ToGetBuildDefinitionPullRequestTriggerForkOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerForkOutput
}

GetBuildDefinitionPullRequestTriggerForkInput is an input type that accepts GetBuildDefinitionPullRequestTriggerForkArgs and GetBuildDefinitionPullRequestTriggerForkOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerForkInput` via:

GetBuildDefinitionPullRequestTriggerForkArgs{...}

type GetBuildDefinitionPullRequestTriggerForkOutput

type GetBuildDefinitionPullRequestTriggerForkOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerForkOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerForkOutput) Enabled

Build pull requests from forks of this repository.

func (GetBuildDefinitionPullRequestTriggerForkOutput) ShareSecrets

Make secrets available to builds of forks.

func (GetBuildDefinitionPullRequestTriggerForkOutput) ToGetBuildDefinitionPullRequestTriggerForkOutput

func (o GetBuildDefinitionPullRequestTriggerForkOutput) ToGetBuildDefinitionPullRequestTriggerForkOutput() GetBuildDefinitionPullRequestTriggerForkOutput

func (GetBuildDefinitionPullRequestTriggerForkOutput) ToGetBuildDefinitionPullRequestTriggerForkOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerForkOutput) ToGetBuildDefinitionPullRequestTriggerForkOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerForkOutput

type GetBuildDefinitionPullRequestTriggerInput

type GetBuildDefinitionPullRequestTriggerInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOutput() GetBuildDefinitionPullRequestTriggerOutput
	ToGetBuildDefinitionPullRequestTriggerOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOutput
}

GetBuildDefinitionPullRequestTriggerInput is an input type that accepts GetBuildDefinitionPullRequestTriggerArgs and GetBuildDefinitionPullRequestTriggerOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerInput` via:

GetBuildDefinitionPullRequestTriggerArgs{...}

type GetBuildDefinitionPullRequestTriggerOutput

type GetBuildDefinitionPullRequestTriggerOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOutput) CommentRequired

Is a comment required on the PR?

func (GetBuildDefinitionPullRequestTriggerOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOutput) Forks

A `forks` block as defined above.

func (GetBuildDefinitionPullRequestTriggerOutput) InitialBranch

When useYaml is true set this to the name of the branch that the azure-pipelines.yml exists on.

func (GetBuildDefinitionPullRequestTriggerOutput) Overrides

A `override` block as defined below.

func (GetBuildDefinitionPullRequestTriggerOutput) ToGetBuildDefinitionPullRequestTriggerOutput

func (o GetBuildDefinitionPullRequestTriggerOutput) ToGetBuildDefinitionPullRequestTriggerOutput() GetBuildDefinitionPullRequestTriggerOutput

func (GetBuildDefinitionPullRequestTriggerOutput) ToGetBuildDefinitionPullRequestTriggerOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOutput) ToGetBuildDefinitionPullRequestTriggerOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOutput

func (GetBuildDefinitionPullRequestTriggerOutput) UseYaml

Use the azure-pipeline file for the build configuration.

type GetBuildDefinitionPullRequestTriggerOverride

type GetBuildDefinitionPullRequestTriggerOverride struct {
	// Should further updates to a PR cancel an in progress validation?
	AutoCancel bool `pulumi:"autoCancel"`
	// A `branchFilter` block as defined above.
	BranchFilters []GetBuildDefinitionPullRequestTriggerOverrideBranchFilter `pulumi:"branchFilters"`
	// block supports the following:
	PathFilters []GetBuildDefinitionPullRequestTriggerOverridePathFilter `pulumi:"pathFilters"`
}

type GetBuildDefinitionPullRequestTriggerOverrideArgs

type GetBuildDefinitionPullRequestTriggerOverrideArgs struct {
	// Should further updates to a PR cancel an in progress validation?
	AutoCancel pulumi.BoolInput `pulumi:"autoCancel"`
	// A `branchFilter` block as defined above.
	BranchFilters GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput `pulumi:"branchFilters"`
	// block supports the following:
	PathFilters GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayInput `pulumi:"pathFilters"`
}

func (GetBuildDefinitionPullRequestTriggerOverrideArgs) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideArgs) ToGetBuildDefinitionPullRequestTriggerOverrideOutput

func (i GetBuildDefinitionPullRequestTriggerOverrideArgs) ToGetBuildDefinitionPullRequestTriggerOverrideOutput() GetBuildDefinitionPullRequestTriggerOverrideOutput

func (GetBuildDefinitionPullRequestTriggerOverrideArgs) ToGetBuildDefinitionPullRequestTriggerOverrideOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverrideArgs) ToGetBuildDefinitionPullRequestTriggerOverrideOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideOutput

type GetBuildDefinitionPullRequestTriggerOverrideArray

type GetBuildDefinitionPullRequestTriggerOverrideArray []GetBuildDefinitionPullRequestTriggerOverrideInput

func (GetBuildDefinitionPullRequestTriggerOverrideArray) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideArray) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutput

func (i GetBuildDefinitionPullRequestTriggerOverrideArray) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutput() GetBuildDefinitionPullRequestTriggerOverrideArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverrideArray) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverrideArray) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideArrayInput

type GetBuildDefinitionPullRequestTriggerOverrideArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutput() GetBuildDefinitionPullRequestTriggerOverrideArrayOutput
	ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverrideArrayOutput
}

GetBuildDefinitionPullRequestTriggerOverrideArrayInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverrideArray and GetBuildDefinitionPullRequestTriggerOverrideArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverrideArrayInput` via:

GetBuildDefinitionPullRequestTriggerOverrideArray{ GetBuildDefinitionPullRequestTriggerOverrideArgs{...} }

type GetBuildDefinitionPullRequestTriggerOverrideArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverrideArrayOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideArrayOutput) Index

func (GetBuildDefinitionPullRequestTriggerOverrideArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverrideArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverrideArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilter

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilter struct {
	// (Optional) List of path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs struct {
	// (Optional) List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray []GetBuildDefinitionPullRequestTriggerOverrideBranchFilterInput

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput() GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput
	ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput
}

GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray and GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayInput` via:

GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArray{ GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{...} }

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) Index

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterInput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput() GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput
	ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput
}

GetBuildDefinitionPullRequestTriggerOverrideBranchFilterInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs and GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverrideBranchFilterInput` via:

GetBuildDefinitionPullRequestTriggerOverrideBranchFilterArgs{...}

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) Excludes

(Optional) List of path patterns to exclude.

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) Includes

(Optional) List of path patterns to include.

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

func (GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideBranchFilterOutput

type GetBuildDefinitionPullRequestTriggerOverrideInput

type GetBuildDefinitionPullRequestTriggerOverrideInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverrideOutput() GetBuildDefinitionPullRequestTriggerOverrideOutput
	ToGetBuildDefinitionPullRequestTriggerOverrideOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverrideOutput
}

GetBuildDefinitionPullRequestTriggerOverrideInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverrideArgs and GetBuildDefinitionPullRequestTriggerOverrideOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverrideInput` via:

GetBuildDefinitionPullRequestTriggerOverrideArgs{...}

type GetBuildDefinitionPullRequestTriggerOverrideOutput

type GetBuildDefinitionPullRequestTriggerOverrideOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) AutoCancel

Should further updates to a PR cancel an in progress validation?

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) BranchFilters

A `branchFilter` block as defined above.

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) PathFilters

block supports the following:

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) ToGetBuildDefinitionPullRequestTriggerOverrideOutput

func (o GetBuildDefinitionPullRequestTriggerOverrideOutput) ToGetBuildDefinitionPullRequestTriggerOverrideOutput() GetBuildDefinitionPullRequestTriggerOverrideOutput

func (GetBuildDefinitionPullRequestTriggerOverrideOutput) ToGetBuildDefinitionPullRequestTriggerOverrideOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverrideOutput) ToGetBuildDefinitionPullRequestTriggerOverrideOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverrideOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilter

type GetBuildDefinitionPullRequestTriggerOverridePathFilter struct {
	// (Optional) List of path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs struct {
	// (Optional) List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs) ElementType

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutput

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArray

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArray []GetBuildDefinitionPullRequestTriggerOverridePathFilterInput

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArray) ElementType

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArray) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArray) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext

func (i GetBuildDefinitionPullRequestTriggerOverridePathFilterArray) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayInput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput() GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput
	ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput
}

GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverridePathFilterArray and GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayInput` via:

GetBuildDefinitionPullRequestTriggerOverridePathFilterArray{ GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs{...} }

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) Index

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterArrayOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterInput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterInput interface {
	pulumi.Input

	ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutput() GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput
	ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput
}

GetBuildDefinitionPullRequestTriggerOverridePathFilterInput is an input type that accepts GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs and GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput values. You can construct a concrete instance of `GetBuildDefinitionPullRequestTriggerOverridePathFilterInput` via:

GetBuildDefinitionPullRequestTriggerOverridePathFilterArgs{...}

type GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput

type GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) ElementType

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) Excludes

(Optional) List of path patterns to exclude.

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) Includes

(Optional) List of path patterns to include.

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutput

func (GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext

func (o GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput) ToGetBuildDefinitionPullRequestTriggerOverridePathFilterOutputWithContext(ctx context.Context) GetBuildDefinitionPullRequestTriggerOverridePathFilterOutput

type GetBuildDefinitionRepository

type GetBuildDefinitionRepository struct {
	// The branch name for which builds are triggered.
	BranchName string `pulumi:"branchName"`
	// The Github Enterprise URL.
	GithubEnterpriseUrl string `pulumi:"githubEnterpriseUrl"`
	// The id of the repository.
	RepoId string `pulumi:"repoId"`
	// The repository type.
	RepoType string `pulumi:"repoType"`
	// Report build status.
	ReportBuildStatus bool `pulumi:"reportBuildStatus"`
	// The service connection ID.
	ServiceConnectionId string `pulumi:"serviceConnectionId"`
	// The path of the Yaml file describing the build definition.
	YmlPath string `pulumi:"ymlPath"`
}

type GetBuildDefinitionRepositoryArgs

type GetBuildDefinitionRepositoryArgs struct {
	// The branch name for which builds are triggered.
	BranchName pulumi.StringInput `pulumi:"branchName"`
	// The Github Enterprise URL.
	GithubEnterpriseUrl pulumi.StringInput `pulumi:"githubEnterpriseUrl"`
	// The id of the repository.
	RepoId pulumi.StringInput `pulumi:"repoId"`
	// The repository type.
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// Report build status.
	ReportBuildStatus pulumi.BoolInput `pulumi:"reportBuildStatus"`
	// The service connection ID.
	ServiceConnectionId pulumi.StringInput `pulumi:"serviceConnectionId"`
	// The path of the Yaml file describing the build definition.
	YmlPath pulumi.StringInput `pulumi:"ymlPath"`
}

func (GetBuildDefinitionRepositoryArgs) ElementType

func (GetBuildDefinitionRepositoryArgs) ToGetBuildDefinitionRepositoryOutput

func (i GetBuildDefinitionRepositoryArgs) ToGetBuildDefinitionRepositoryOutput() GetBuildDefinitionRepositoryOutput

func (GetBuildDefinitionRepositoryArgs) ToGetBuildDefinitionRepositoryOutputWithContext

func (i GetBuildDefinitionRepositoryArgs) ToGetBuildDefinitionRepositoryOutputWithContext(ctx context.Context) GetBuildDefinitionRepositoryOutput

type GetBuildDefinitionRepositoryArray

type GetBuildDefinitionRepositoryArray []GetBuildDefinitionRepositoryInput

func (GetBuildDefinitionRepositoryArray) ElementType

func (GetBuildDefinitionRepositoryArray) ToGetBuildDefinitionRepositoryArrayOutput

func (i GetBuildDefinitionRepositoryArray) ToGetBuildDefinitionRepositoryArrayOutput() GetBuildDefinitionRepositoryArrayOutput

func (GetBuildDefinitionRepositoryArray) ToGetBuildDefinitionRepositoryArrayOutputWithContext

func (i GetBuildDefinitionRepositoryArray) ToGetBuildDefinitionRepositoryArrayOutputWithContext(ctx context.Context) GetBuildDefinitionRepositoryArrayOutput

type GetBuildDefinitionRepositoryArrayInput

type GetBuildDefinitionRepositoryArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionRepositoryArrayOutput() GetBuildDefinitionRepositoryArrayOutput
	ToGetBuildDefinitionRepositoryArrayOutputWithContext(context.Context) GetBuildDefinitionRepositoryArrayOutput
}

GetBuildDefinitionRepositoryArrayInput is an input type that accepts GetBuildDefinitionRepositoryArray and GetBuildDefinitionRepositoryArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionRepositoryArrayInput` via:

GetBuildDefinitionRepositoryArray{ GetBuildDefinitionRepositoryArgs{...} }

type GetBuildDefinitionRepositoryArrayOutput

type GetBuildDefinitionRepositoryArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionRepositoryArrayOutput) ElementType

func (GetBuildDefinitionRepositoryArrayOutput) Index

func (GetBuildDefinitionRepositoryArrayOutput) ToGetBuildDefinitionRepositoryArrayOutput

func (o GetBuildDefinitionRepositoryArrayOutput) ToGetBuildDefinitionRepositoryArrayOutput() GetBuildDefinitionRepositoryArrayOutput

func (GetBuildDefinitionRepositoryArrayOutput) ToGetBuildDefinitionRepositoryArrayOutputWithContext

func (o GetBuildDefinitionRepositoryArrayOutput) ToGetBuildDefinitionRepositoryArrayOutputWithContext(ctx context.Context) GetBuildDefinitionRepositoryArrayOutput

type GetBuildDefinitionRepositoryInput

type GetBuildDefinitionRepositoryInput interface {
	pulumi.Input

	ToGetBuildDefinitionRepositoryOutput() GetBuildDefinitionRepositoryOutput
	ToGetBuildDefinitionRepositoryOutputWithContext(context.Context) GetBuildDefinitionRepositoryOutput
}

GetBuildDefinitionRepositoryInput is an input type that accepts GetBuildDefinitionRepositoryArgs and GetBuildDefinitionRepositoryOutput values. You can construct a concrete instance of `GetBuildDefinitionRepositoryInput` via:

GetBuildDefinitionRepositoryArgs{...}

type GetBuildDefinitionRepositoryOutput

type GetBuildDefinitionRepositoryOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionRepositoryOutput) BranchName

The branch name for which builds are triggered.

func (GetBuildDefinitionRepositoryOutput) ElementType

func (GetBuildDefinitionRepositoryOutput) GithubEnterpriseUrl

func (o GetBuildDefinitionRepositoryOutput) GithubEnterpriseUrl() pulumi.StringOutput

The Github Enterprise URL.

func (GetBuildDefinitionRepositoryOutput) RepoId

The id of the repository.

func (GetBuildDefinitionRepositoryOutput) RepoType

The repository type.

func (GetBuildDefinitionRepositoryOutput) ReportBuildStatus

Report build status.

func (GetBuildDefinitionRepositoryOutput) ServiceConnectionId

func (o GetBuildDefinitionRepositoryOutput) ServiceConnectionId() pulumi.StringOutput

The service connection ID.

func (GetBuildDefinitionRepositoryOutput) ToGetBuildDefinitionRepositoryOutput

func (o GetBuildDefinitionRepositoryOutput) ToGetBuildDefinitionRepositoryOutput() GetBuildDefinitionRepositoryOutput

func (GetBuildDefinitionRepositoryOutput) ToGetBuildDefinitionRepositoryOutputWithContext

func (o GetBuildDefinitionRepositoryOutput) ToGetBuildDefinitionRepositoryOutputWithContext(ctx context.Context) GetBuildDefinitionRepositoryOutput

func (GetBuildDefinitionRepositoryOutput) YmlPath

The path of the Yaml file describing the build definition.

type GetBuildDefinitionSchedule

type GetBuildDefinitionSchedule struct {
	// A `branchFilter` block as defined above.
	BranchFilters []GetBuildDefinitionScheduleBranchFilter `pulumi:"branchFilters"`
	// A list of days to build on.
	DaysToBuilds []string `pulumi:"daysToBuilds"`
	// The ID of the schedule job.
	ScheduleJobId string `pulumi:"scheduleJobId"`
	// Schedule builds if the source or pipeline has changed.
	ScheduleOnlyWithChanges bool `pulumi:"scheduleOnlyWithChanges"`
	// Build start hour.
	StartHours int `pulumi:"startHours"`
	// Build start minute.
	StartMinutes int `pulumi:"startMinutes"`
	// Build time zone.
	TimeZone string `pulumi:"timeZone"`
}

type GetBuildDefinitionScheduleArgs

type GetBuildDefinitionScheduleArgs struct {
	// A `branchFilter` block as defined above.
	BranchFilters GetBuildDefinitionScheduleBranchFilterArrayInput `pulumi:"branchFilters"`
	// A list of days to build on.
	DaysToBuilds pulumi.StringArrayInput `pulumi:"daysToBuilds"`
	// The ID of the schedule job.
	ScheduleJobId pulumi.StringInput `pulumi:"scheduleJobId"`
	// Schedule builds if the source or pipeline has changed.
	ScheduleOnlyWithChanges pulumi.BoolInput `pulumi:"scheduleOnlyWithChanges"`
	// Build start hour.
	StartHours pulumi.IntInput `pulumi:"startHours"`
	// Build start minute.
	StartMinutes pulumi.IntInput `pulumi:"startMinutes"`
	// Build time zone.
	TimeZone pulumi.StringInput `pulumi:"timeZone"`
}

func (GetBuildDefinitionScheduleArgs) ElementType

func (GetBuildDefinitionScheduleArgs) ToGetBuildDefinitionScheduleOutput

func (i GetBuildDefinitionScheduleArgs) ToGetBuildDefinitionScheduleOutput() GetBuildDefinitionScheduleOutput

func (GetBuildDefinitionScheduleArgs) ToGetBuildDefinitionScheduleOutputWithContext

func (i GetBuildDefinitionScheduleArgs) ToGetBuildDefinitionScheduleOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleOutput

type GetBuildDefinitionScheduleArray

type GetBuildDefinitionScheduleArray []GetBuildDefinitionScheduleInput

func (GetBuildDefinitionScheduleArray) ElementType

func (GetBuildDefinitionScheduleArray) ToGetBuildDefinitionScheduleArrayOutput

func (i GetBuildDefinitionScheduleArray) ToGetBuildDefinitionScheduleArrayOutput() GetBuildDefinitionScheduleArrayOutput

func (GetBuildDefinitionScheduleArray) ToGetBuildDefinitionScheduleArrayOutputWithContext

func (i GetBuildDefinitionScheduleArray) ToGetBuildDefinitionScheduleArrayOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleArrayOutput

type GetBuildDefinitionScheduleArrayInput

type GetBuildDefinitionScheduleArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionScheduleArrayOutput() GetBuildDefinitionScheduleArrayOutput
	ToGetBuildDefinitionScheduleArrayOutputWithContext(context.Context) GetBuildDefinitionScheduleArrayOutput
}

GetBuildDefinitionScheduleArrayInput is an input type that accepts GetBuildDefinitionScheduleArray and GetBuildDefinitionScheduleArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionScheduleArrayInput` via:

GetBuildDefinitionScheduleArray{ GetBuildDefinitionScheduleArgs{...} }

type GetBuildDefinitionScheduleArrayOutput

type GetBuildDefinitionScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionScheduleArrayOutput) ElementType

func (GetBuildDefinitionScheduleArrayOutput) Index

func (GetBuildDefinitionScheduleArrayOutput) ToGetBuildDefinitionScheduleArrayOutput

func (o GetBuildDefinitionScheduleArrayOutput) ToGetBuildDefinitionScheduleArrayOutput() GetBuildDefinitionScheduleArrayOutput

func (GetBuildDefinitionScheduleArrayOutput) ToGetBuildDefinitionScheduleArrayOutputWithContext

func (o GetBuildDefinitionScheduleArrayOutput) ToGetBuildDefinitionScheduleArrayOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleArrayOutput

type GetBuildDefinitionScheduleBranchFilter

type GetBuildDefinitionScheduleBranchFilter struct {
	// (Optional) List of path patterns to exclude.
	Excludes []string `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes []string `pulumi:"includes"`
}

type GetBuildDefinitionScheduleBranchFilterArgs

type GetBuildDefinitionScheduleBranchFilterArgs struct {
	// (Optional) List of path patterns to exclude.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (Optional) List of path patterns to include.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (GetBuildDefinitionScheduleBranchFilterArgs) ElementType

func (GetBuildDefinitionScheduleBranchFilterArgs) ToGetBuildDefinitionScheduleBranchFilterOutput

func (i GetBuildDefinitionScheduleBranchFilterArgs) ToGetBuildDefinitionScheduleBranchFilterOutput() GetBuildDefinitionScheduleBranchFilterOutput

func (GetBuildDefinitionScheduleBranchFilterArgs) ToGetBuildDefinitionScheduleBranchFilterOutputWithContext

func (i GetBuildDefinitionScheduleBranchFilterArgs) ToGetBuildDefinitionScheduleBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleBranchFilterOutput

type GetBuildDefinitionScheduleBranchFilterArray

type GetBuildDefinitionScheduleBranchFilterArray []GetBuildDefinitionScheduleBranchFilterInput

func (GetBuildDefinitionScheduleBranchFilterArray) ElementType

func (GetBuildDefinitionScheduleBranchFilterArray) ToGetBuildDefinitionScheduleBranchFilterArrayOutput

func (i GetBuildDefinitionScheduleBranchFilterArray) ToGetBuildDefinitionScheduleBranchFilterArrayOutput() GetBuildDefinitionScheduleBranchFilterArrayOutput

func (GetBuildDefinitionScheduleBranchFilterArray) ToGetBuildDefinitionScheduleBranchFilterArrayOutputWithContext

func (i GetBuildDefinitionScheduleBranchFilterArray) ToGetBuildDefinitionScheduleBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleBranchFilterArrayOutput

type GetBuildDefinitionScheduleBranchFilterArrayInput

type GetBuildDefinitionScheduleBranchFilterArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionScheduleBranchFilterArrayOutput() GetBuildDefinitionScheduleBranchFilterArrayOutput
	ToGetBuildDefinitionScheduleBranchFilterArrayOutputWithContext(context.Context) GetBuildDefinitionScheduleBranchFilterArrayOutput
}

GetBuildDefinitionScheduleBranchFilterArrayInput is an input type that accepts GetBuildDefinitionScheduleBranchFilterArray and GetBuildDefinitionScheduleBranchFilterArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionScheduleBranchFilterArrayInput` via:

GetBuildDefinitionScheduleBranchFilterArray{ GetBuildDefinitionScheduleBranchFilterArgs{...} }

type GetBuildDefinitionScheduleBranchFilterArrayOutput

type GetBuildDefinitionScheduleBranchFilterArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionScheduleBranchFilterArrayOutput) ElementType

func (GetBuildDefinitionScheduleBranchFilterArrayOutput) Index

func (GetBuildDefinitionScheduleBranchFilterArrayOutput) ToGetBuildDefinitionScheduleBranchFilterArrayOutput

func (o GetBuildDefinitionScheduleBranchFilterArrayOutput) ToGetBuildDefinitionScheduleBranchFilterArrayOutput() GetBuildDefinitionScheduleBranchFilterArrayOutput

func (GetBuildDefinitionScheduleBranchFilterArrayOutput) ToGetBuildDefinitionScheduleBranchFilterArrayOutputWithContext

func (o GetBuildDefinitionScheduleBranchFilterArrayOutput) ToGetBuildDefinitionScheduleBranchFilterArrayOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleBranchFilterArrayOutput

type GetBuildDefinitionScheduleBranchFilterInput

type GetBuildDefinitionScheduleBranchFilterInput interface {
	pulumi.Input

	ToGetBuildDefinitionScheduleBranchFilterOutput() GetBuildDefinitionScheduleBranchFilterOutput
	ToGetBuildDefinitionScheduleBranchFilterOutputWithContext(context.Context) GetBuildDefinitionScheduleBranchFilterOutput
}

GetBuildDefinitionScheduleBranchFilterInput is an input type that accepts GetBuildDefinitionScheduleBranchFilterArgs and GetBuildDefinitionScheduleBranchFilterOutput values. You can construct a concrete instance of `GetBuildDefinitionScheduleBranchFilterInput` via:

GetBuildDefinitionScheduleBranchFilterArgs{...}

type GetBuildDefinitionScheduleBranchFilterOutput

type GetBuildDefinitionScheduleBranchFilterOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionScheduleBranchFilterOutput) ElementType

func (GetBuildDefinitionScheduleBranchFilterOutput) Excludes

(Optional) List of path patterns to exclude.

func (GetBuildDefinitionScheduleBranchFilterOutput) Includes

(Optional) List of path patterns to include.

func (GetBuildDefinitionScheduleBranchFilterOutput) ToGetBuildDefinitionScheduleBranchFilterOutput

func (o GetBuildDefinitionScheduleBranchFilterOutput) ToGetBuildDefinitionScheduleBranchFilterOutput() GetBuildDefinitionScheduleBranchFilterOutput

func (GetBuildDefinitionScheduleBranchFilterOutput) ToGetBuildDefinitionScheduleBranchFilterOutputWithContext

func (o GetBuildDefinitionScheduleBranchFilterOutput) ToGetBuildDefinitionScheduleBranchFilterOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleBranchFilterOutput

type GetBuildDefinitionScheduleInput

type GetBuildDefinitionScheduleInput interface {
	pulumi.Input

	ToGetBuildDefinitionScheduleOutput() GetBuildDefinitionScheduleOutput
	ToGetBuildDefinitionScheduleOutputWithContext(context.Context) GetBuildDefinitionScheduleOutput
}

GetBuildDefinitionScheduleInput is an input type that accepts GetBuildDefinitionScheduleArgs and GetBuildDefinitionScheduleOutput values. You can construct a concrete instance of `GetBuildDefinitionScheduleInput` via:

GetBuildDefinitionScheduleArgs{...}

type GetBuildDefinitionScheduleOutput

type GetBuildDefinitionScheduleOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionScheduleOutput) BranchFilters

A `branchFilter` block as defined above.

func (GetBuildDefinitionScheduleOutput) DaysToBuilds

A list of days to build on.

func (GetBuildDefinitionScheduleOutput) ElementType

func (GetBuildDefinitionScheduleOutput) ScheduleJobId

The ID of the schedule job.

func (GetBuildDefinitionScheduleOutput) ScheduleOnlyWithChanges

func (o GetBuildDefinitionScheduleOutput) ScheduleOnlyWithChanges() pulumi.BoolOutput

Schedule builds if the source or pipeline has changed.

func (GetBuildDefinitionScheduleOutput) StartHours

Build start hour.

func (GetBuildDefinitionScheduleOutput) StartMinutes

Build start minute.

func (GetBuildDefinitionScheduleOutput) TimeZone

Build time zone.

func (GetBuildDefinitionScheduleOutput) ToGetBuildDefinitionScheduleOutput

func (o GetBuildDefinitionScheduleOutput) ToGetBuildDefinitionScheduleOutput() GetBuildDefinitionScheduleOutput

func (GetBuildDefinitionScheduleOutput) ToGetBuildDefinitionScheduleOutputWithContext

func (o GetBuildDefinitionScheduleOutput) ToGetBuildDefinitionScheduleOutputWithContext(ctx context.Context) GetBuildDefinitionScheduleOutput

type GetBuildDefinitionVariable

type GetBuildDefinitionVariable struct {
	// `true` if the variable can be overridden.
	AllowOverride bool `pulumi:"allowOverride"`
	// `true` if the variable is a secret.
	IsSecret bool `pulumi:"isSecret"`
	// The name of this Build Definition.
	Name string `pulumi:"name"`
	// The secret value of the variable.
	SecretValue string `pulumi:"secretValue"`
	// The value of the variable.
	Value string `pulumi:"value"`
}

type GetBuildDefinitionVariableArgs

type GetBuildDefinitionVariableArgs struct {
	// `true` if the variable can be overridden.
	AllowOverride pulumi.BoolInput `pulumi:"allowOverride"`
	// `true` if the variable is a secret.
	IsSecret pulumi.BoolInput `pulumi:"isSecret"`
	// The name of this Build Definition.
	Name pulumi.StringInput `pulumi:"name"`
	// The secret value of the variable.
	SecretValue pulumi.StringInput `pulumi:"secretValue"`
	// The value of the variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetBuildDefinitionVariableArgs) ElementType

func (GetBuildDefinitionVariableArgs) ToGetBuildDefinitionVariableOutput

func (i GetBuildDefinitionVariableArgs) ToGetBuildDefinitionVariableOutput() GetBuildDefinitionVariableOutput

func (GetBuildDefinitionVariableArgs) ToGetBuildDefinitionVariableOutputWithContext

func (i GetBuildDefinitionVariableArgs) ToGetBuildDefinitionVariableOutputWithContext(ctx context.Context) GetBuildDefinitionVariableOutput

type GetBuildDefinitionVariableArray

type GetBuildDefinitionVariableArray []GetBuildDefinitionVariableInput

func (GetBuildDefinitionVariableArray) ElementType

func (GetBuildDefinitionVariableArray) ToGetBuildDefinitionVariableArrayOutput

func (i GetBuildDefinitionVariableArray) ToGetBuildDefinitionVariableArrayOutput() GetBuildDefinitionVariableArrayOutput

func (GetBuildDefinitionVariableArray) ToGetBuildDefinitionVariableArrayOutputWithContext

func (i GetBuildDefinitionVariableArray) ToGetBuildDefinitionVariableArrayOutputWithContext(ctx context.Context) GetBuildDefinitionVariableArrayOutput

type GetBuildDefinitionVariableArrayInput

type GetBuildDefinitionVariableArrayInput interface {
	pulumi.Input

	ToGetBuildDefinitionVariableArrayOutput() GetBuildDefinitionVariableArrayOutput
	ToGetBuildDefinitionVariableArrayOutputWithContext(context.Context) GetBuildDefinitionVariableArrayOutput
}

GetBuildDefinitionVariableArrayInput is an input type that accepts GetBuildDefinitionVariableArray and GetBuildDefinitionVariableArrayOutput values. You can construct a concrete instance of `GetBuildDefinitionVariableArrayInput` via:

GetBuildDefinitionVariableArray{ GetBuildDefinitionVariableArgs{...} }

type GetBuildDefinitionVariableArrayOutput

type GetBuildDefinitionVariableArrayOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionVariableArrayOutput) ElementType

func (GetBuildDefinitionVariableArrayOutput) Index

func (GetBuildDefinitionVariableArrayOutput) ToGetBuildDefinitionVariableArrayOutput

func (o GetBuildDefinitionVariableArrayOutput) ToGetBuildDefinitionVariableArrayOutput() GetBuildDefinitionVariableArrayOutput

func (GetBuildDefinitionVariableArrayOutput) ToGetBuildDefinitionVariableArrayOutputWithContext

func (o GetBuildDefinitionVariableArrayOutput) ToGetBuildDefinitionVariableArrayOutputWithContext(ctx context.Context) GetBuildDefinitionVariableArrayOutput

type GetBuildDefinitionVariableInput

type GetBuildDefinitionVariableInput interface {
	pulumi.Input

	ToGetBuildDefinitionVariableOutput() GetBuildDefinitionVariableOutput
	ToGetBuildDefinitionVariableOutputWithContext(context.Context) GetBuildDefinitionVariableOutput
}

GetBuildDefinitionVariableInput is an input type that accepts GetBuildDefinitionVariableArgs and GetBuildDefinitionVariableOutput values. You can construct a concrete instance of `GetBuildDefinitionVariableInput` via:

GetBuildDefinitionVariableArgs{...}

type GetBuildDefinitionVariableOutput

type GetBuildDefinitionVariableOutput struct{ *pulumi.OutputState }

func (GetBuildDefinitionVariableOutput) AllowOverride

`true` if the variable can be overridden.

func (GetBuildDefinitionVariableOutput) ElementType

func (GetBuildDefinitionVariableOutput) GetIsSecret

`true` if the variable is a secret.

func (GetBuildDefinitionVariableOutput) Name

The name of this Build Definition.

func (GetBuildDefinitionVariableOutput) SecretValue

The secret value of the variable.

func (GetBuildDefinitionVariableOutput) ToGetBuildDefinitionVariableOutput

func (o GetBuildDefinitionVariableOutput) ToGetBuildDefinitionVariableOutput() GetBuildDefinitionVariableOutput

func (GetBuildDefinitionVariableOutput) ToGetBuildDefinitionVariableOutputWithContext

func (o GetBuildDefinitionVariableOutput) ToGetBuildDefinitionVariableOutputWithContext(ctx context.Context) GetBuildDefinitionVariableOutput

func (GetBuildDefinitionVariableOutput) Value

The value of the variable.

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

type GetClientConfigResultOutput

type GetClientConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClientConfig.

func GetClientConfigOutput

func GetClientConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetClientConfigResultOutput

func (GetClientConfigResultOutput) ElementType

func (GetClientConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClientConfigResultOutput) OrganizationUrl

func (o GetClientConfigResultOutput) OrganizationUrl() pulumi.StringOutput

func (GetClientConfigResultOutput) ToGetClientConfigResultOutput

func (o GetClientConfigResultOutput) ToGetClientConfigResultOutput() GetClientConfigResultOutput

func (GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext

func (o GetClientConfigResultOutput) ToGetClientConfigResultOutputWithContext(ctx context.Context) GetClientConfigResultOutput

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 GetGitRepositoryOutputArgs

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

A collection of arguments for invoking getGitRepository.

func (GetGitRepositoryOutputArgs) ElementType

func (GetGitRepositoryOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetGitRepository(ctx, &azuredevops.GetGitRepositoryArgs{
			ProjectId: example.Id,
			Name:      "Example Repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetGitRepositoryResultOutput

type GetGitRepositoryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGitRepository.

func (GetGitRepositoryResultOutput) DefaultBranch

The ref of the default branch.

func (GetGitRepositoryResultOutput) ElementType

func (GetGitRepositoryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGitRepositoryResultOutput) IsFork

func (GetGitRepositoryResultOutput) Name

Git repository name.

func (GetGitRepositoryResultOutput) ProjectId

Project identifier to which the Git repository belongs.

func (GetGitRepositoryResultOutput) RemoteUrl

HTTPS Url to clone the Git repository

func (GetGitRepositoryResultOutput) Size

Compressed size (bytes) of the repository.

func (GetGitRepositoryResultOutput) SshUrl

SSH Url to clone the Git repository

func (GetGitRepositoryResultOutput) ToGetGitRepositoryResultOutput

func (o GetGitRepositoryResultOutput) ToGetGitRepositoryResultOutput() GetGitRepositoryResultOutput

func (GetGitRepositoryResultOutput) ToGetGitRepositoryResultOutputWithContext

func (o GetGitRepositoryResultOutput) ToGetGitRepositoryResultOutputWithContext(ctx context.Context) GetGitRepositoryResultOutput

func (GetGitRepositoryResultOutput) Url

Details REST API endpoint for the Git Repository.

func (GetGitRepositoryResultOutput) WebUrl

Url of the Git repository web view

type GetGroupsArgs

type GetGroupsArgs struct {
	// The Project ID. If no project ID is specified all groups of an organization will be returned
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup

type GetGroupsGroup struct {
	// A short phrase to help human readers disambiguate groups with similar names
	Description *string `pulumi:"description"`
	// 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"`
	// This represents the name of the container of origin for a graph member. (For MSA this is "Windows Live ID", for AD the name of the domain, for AAD the tenantID of the directory, for VSTS groups the ScopeId, etc)
	Domain string `pulumi:"domain"`
	// The group ID.
	Id string `pulumi:"id"`
	// 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 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"`
	// This url is the full route to the source resource of this graph subject.
	Url string `pulumi:"url"`
}

type GetGroupsGroupArgs

type GetGroupsGroupArgs struct {
	// A short phrase to help human readers disambiguate groups with similar names
	Description pulumi.StringPtrInput `pulumi:"description"`
	// 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.StringPtrInput `pulumi:"displayName"`
	// This represents the name of the container of origin for a graph member. (For MSA this is "Windows Live ID", for AD the name of the domain, for AAD the tenantID of the directory, for VSTS groups the ScopeId, etc)
	Domain pulumi.StringInput `pulumi:"domain"`
	// The group ID.
	Id pulumi.StringInput `pulumi:"id"`
	// The email address of record for a given graph member. This may be different than the principal name.
	MailAddress pulumi.StringPtrInput `pulumi:"mailAddress"`
	// The type of source provider for the origin identifier (ex:AD, AAD, MSA)
	Origin pulumi.StringInput `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 pulumi.StringPtrInput `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 pulumi.StringInput `pulumi:"principalName"`
	// This url is the full route to the source resource of this graph subject.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetGroupsGroupArgs) ElementType

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) Description

A short phrase to help human readers disambiguate groups with similar names

func (GetGroupsGroupOutput) Descriptor

func (o GetGroupsGroupOutput) 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 (GetGroupsGroupOutput) DisplayName

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 (GetGroupsGroupOutput) Domain

This represents the name of the container of origin for a graph member. (For MSA this is "Windows Live ID", for AD the name of the domain, for AAD the tenantID of the directory, for VSTS groups the ScopeId, etc)

func (GetGroupsGroupOutput) ElementType

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) Id

The group ID.

func (GetGroupsGroupOutput) MailAddress

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

func (GetGroupsGroupOutput) Origin

The type of source provider for the origin identifier (ex:AD, AAD, MSA)

func (GetGroupsGroupOutput) OriginId

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.

func (GetGroupsGroupOutput) PrincipalName

func (o GetGroupsGroupOutput) PrincipalName() pulumi.StringOutput

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.

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

func (GetGroupsGroupOutput) Url

This url is the full route to the source resource of this graph subject.

type GetGroupsOutputArgs

type GetGroupsOutputArgs struct {
	// The Project ID. If no project ID is specified all groups of an organization will be returned
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getGroups.

func (GetGroupsOutputArgs) ElementType

func (GetGroupsOutputArgs) ElementType() reflect.Type

type GetGroupsResult

type GetGroupsResult struct {
	// A set of existing groups in your Azure DevOps Organization or project with details about every single group which includes:
	Groups []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	ProjectId *string `pulumi:"projectId"`
}

A collection of values returned by getGroups.

func GetGroups

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetGroups(ctx, &azuredevops.GetGroupsArgs{
			ProjectId: pulumi.StringRef(example.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Groups - List](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups/list?view=azure-devops-rest-7.0)

type GetGroupsResultOutput

type GetGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroups.

func (GetGroupsResultOutput) ElementType

func (GetGroupsResultOutput) ElementType() reflect.Type

func (GetGroupsResultOutput) Groups

A set of existing groups in your Azure DevOps Organization or project with details about every single group which includes:

func (GetGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGroupsResultOutput) ProjectId

func (GetGroupsResultOutput) ToGetGroupsResultOutput

func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput

func (GetGroupsResultOutput) ToGetGroupsResultOutputWithContext

func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput

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 GetIterationOutputArgs

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

A collection of arguments for invoking getIteration.

func (GetIterationOutputArgs) ElementType

func (GetIterationOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		_ = azuredevops.GetIterationOutput(ctx, azuredevops.GetIterationOutputArgs{
			ProjectId:     example.ID(),
			Path:          pulumi.String("/"),
			FetchChildren: pulumi.Bool(true),
		}, nil)
		_ = azuredevops.GetIterationOutput(ctx, azuredevops.GetIterationOutputArgs{
			ProjectId:     example.ID(),
			Path:          pulumi.String("/Iteration 1"),
			FetchChildren: pulumi.Bool(true),
		}, nil)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetIterationResultOutput

type GetIterationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIteration.

func (GetIterationResultOutput) Childrens

A list of `children` blocks as defined below, empty if `hasChildren == false`

func (GetIterationResultOutput) ElementType

func (GetIterationResultOutput) ElementType() reflect.Type

func (GetIterationResultOutput) FetchChildren

func (o GetIterationResultOutput) FetchChildren() pulumi.BoolPtrOutput

func (GetIterationResultOutput) HasChildren

func (o GetIterationResultOutput) HasChildren() pulumi.BoolOutput

Indicator if the child Iteration node has child nodes

func (GetIterationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIterationResultOutput) Name

The name of the child Iteration node

func (GetIterationResultOutput) Path

The complete path (in relative URL format) of the child Iteration

func (GetIterationResultOutput) ProjectId

The project ID of the child Iteration node

func (GetIterationResultOutput) ToGetIterationResultOutput

func (o GetIterationResultOutput) ToGetIterationResultOutput() GetIterationResultOutput

func (GetIterationResultOutput) ToGetIterationResultOutputWithContext

func (o GetIterationResultOutput) ToGetIterationResultOutputWithContext(ctx context.Context) GetIterationResultOutput

type GetPoolsAgentPool

type GetPoolsAgentPool struct {
	// Specifies whether or not a queue should be automatically provisioned for each project collection.
	AutoProvision bool `pulumi:"autoProvision"`
	// Specifies whether or not agents within the pool should be automatically updated.
	AutoUpdate bool `pulumi:"autoUpdate"`
	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"`
	// Specifies whether or not agents within the pool should be automatically updated.
	AutoUpdate pulumi.BoolInput `pulumi:"autoUpdate"`
	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) AutoUpdate

func (o GetPoolsAgentPoolOutput) AutoUpdate() pulumi.BoolOutput

Specifies whether or not agents within the pool should be automatically updated.

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetPoolsResultOutput

type GetPoolsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPools.

func GetPoolsOutput

func GetPoolsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetPoolsResultOutput

func (GetPoolsResultOutput) AgentPools

A list of existing agent pools in your Azure DevOps Organization with the following details about every agent pool:

func (GetPoolsResultOutput) ElementType

func (GetPoolsResultOutput) ElementType() reflect.Type

func (GetPoolsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPoolsResultOutput) ToGetPoolsResultOutput

func (o GetPoolsResultOutput) ToGetPoolsResultOutput() GetPoolsResultOutput

func (GetPoolsResultOutput) ToGetPoolsResultOutputWithContext

func (o GetPoolsResultOutput) ToGetPoolsResultOutputWithContext(ctx context.Context) GetPoolsResultOutput

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`.
	//
	// DataSource without specifying any arguments will return all projects.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getProjects.

type GetProjectsOutputArgs

type GetProjectsOutputArgs struct {
	// Name of the Project, if not specified all projects will be returned.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
	//
	// DataSource without specifying any arguments will return all projects.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject

type GetProjectsProject struct {
	// Name of the Project, if not specified all projects will be returned.
	Name string `pulumi:"name"`
	// The ID of the Project.
	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`.
	//
	// DataSource without specifying any arguments will return all projects.
	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"`
	// The ID of the Project.
	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`.
	//
	// DataSource without specifying any arguments will return all projects.
	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

The ID of the Project.

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`.

DataSource without specifying any arguments will return all projects.

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"`
	// The name of the Project.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

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

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetProjectsResultOutput

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func (GetProjectsResultOutput) ElementType

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Name

The name of the Project.

func (GetProjectsResultOutput) Projects

A list of existing projects in your Azure DevOps Organization with details about every project which includes:

func (GetProjectsResultOutput) State

Project state.

func (GetProjectsResultOutput) ToGetProjectsResultOutput

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

type GetRepositoriesArgs

type GetRepositoriesArgs struct {
	// DataSource without specifying any arguments will return all Git repositories of an organization.
	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 GetRepositoriesOutputArgs

type GetRepositoriesOutputArgs struct {
	// DataSource without specifying any arguments will return all Git repositories of an organization.
	IncludeHidden pulumi.BoolPtrInput `pulumi:"includeHidden"`
	// Name of the Git repository to retrieve; requires `projectId` to be specified as well
	Name pulumi.StringPtrInput `pulumi:"name"`
	// ID of project to list Git repositories
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getRepositories.

func (GetRepositoriesOutputArgs) ElementType

func (GetRepositoriesOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetRepositories(ctx, &azuredevops.GetRepositoriesArgs{
			ProjectId:     pulumi.StringRef(example.Id),
			IncludeHidden: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetRepositories(ctx, &azuredevops.GetRepositoriesArgs{
			ProjectId: pulumi.StringRef(example.Id),
			Name:      pulumi.StringRef("Example Repository"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetRepositoriesResultOutput

type GetRepositoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositories.

func (GetRepositoriesResultOutput) ElementType

func (GetRepositoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoriesResultOutput) IncludeHidden

func (GetRepositoriesResultOutput) Name

Git repository name.

func (GetRepositoriesResultOutput) ProjectId

Project identifier to which the Git repository belongs.

func (GetRepositoriesResultOutput) Repositories

A list of existing projects in your Azure DevOps Organization with details about every project which includes:

func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutput

func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutput() GetRepositoriesResultOutput

func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext

func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext(ctx context.Context) GetRepositoriesResultOutput

type GetServiceEndpointGithubArgs

type GetServiceEndpointGithubArgs struct {
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId *string `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	// **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
	ServiceEndpointName *string `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceEndpointGithub.

type GetServiceEndpointGithubOutputArgs

type GetServiceEndpointGithubOutputArgs struct {
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId pulumi.StringPtrInput `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	// **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
	ServiceEndpointName pulumi.StringPtrInput `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceEndpointGithub.

func (GetServiceEndpointGithubOutputArgs) ElementType

type GetServiceEndpointGithubResult

type GetServiceEndpointGithubResult struct {
	// Specifies the Authorization Scheme Map.
	Authorization map[string]string `pulumi:"authorization"`
	// Specifies the description of the Service Endpoint.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	ProjectId           string `pulumi:"projectId"`
	ServiceEndpointId   string `pulumi:"serviceEndpointId"`
	ServiceEndpointName string `pulumi:"serviceEndpointName"`
}

A collection of values returned by getServiceEndpointGithub.

func GetServiceEndpointGithub

func GetServiceEndpointGithub(ctx *pulumi.Context, args *GetServiceEndpointGithubArgs, opts ...pulumi.InvokeOption) (*GetServiceEndpointGithubResult, error)

Use this data source to access information about an existing GitHub service Endpoint.

## Example Usage

### By Service Endpoint ID

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sample, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Sample Project"),
		}, nil)
		if err != nil {
			return err
		}
		serviceendpoint, err := azuredevops.GetServiceEndpointGithub(ctx, &azuredevops.GetServiceEndpointGithubArgs{
			ProjectId:         sample.Id,
			ServiceEndpointId: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointName", serviceendpoint.ServiceEndpointName)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### By Service Endpoint Name

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sample, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Sample Project"),
		}, nil)
		if err != nil {
			return err
		}
		serviceendpoint, err := azuredevops.GetServiceEndpointGithub(ctx, &azuredevops.GetServiceEndpointGithubArgs{
			ProjectId:           sample.Id,
			ServiceEndpointName: pulumi.StringRef("Example-Service-Endpoint"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointId", serviceendpoint.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetServiceEndpointGithubResultOutput

type GetServiceEndpointGithubResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceEndpointGithub.

func (GetServiceEndpointGithubResultOutput) Authorization

Specifies the Authorization Scheme Map.

func (GetServiceEndpointGithubResultOutput) Description

Specifies the description of the Service Endpoint.

func (GetServiceEndpointGithubResultOutput) ElementType

func (GetServiceEndpointGithubResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceEndpointGithubResultOutput) ProjectId

func (GetServiceEndpointGithubResultOutput) ServiceEndpointId

func (GetServiceEndpointGithubResultOutput) ServiceEndpointName

func (GetServiceEndpointGithubResultOutput) ToGetServiceEndpointGithubResultOutput

func (o GetServiceEndpointGithubResultOutput) ToGetServiceEndpointGithubResultOutput() GetServiceEndpointGithubResultOutput

func (GetServiceEndpointGithubResultOutput) ToGetServiceEndpointGithubResultOutputWithContext

func (o GetServiceEndpointGithubResultOutput) ToGetServiceEndpointGithubResultOutputWithContext(ctx context.Context) GetServiceEndpointGithubResultOutput

type GetServiceendpointAzurecrArgs

type GetServiceendpointAzurecrArgs struct {
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId *string `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName *string `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointAzurecr.

type GetServiceendpointAzurecrOutputArgs

type GetServiceendpointAzurecrOutputArgs struct {
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId pulumi.StringPtrInput `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName pulumi.StringPtrInput `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointAzurecr.

func (GetServiceendpointAzurecrOutputArgs) ElementType

type GetServiceendpointAzurecrResult

type GetServiceendpointAzurecrResult struct {
	// The Object ID of the Service Principal.
	AppObjectId string `pulumi:"appObjectId"`
	// Specifies the Authorization Scheme Map.
	Authorization map[string]string `pulumi:"authorization"`
	// The ID of Service Principal Role Assignment.
	AzSpnRoleAssignmentId string `pulumi:"azSpnRoleAssignmentId"`
	// The Service Principal Role Permissions.
	AzSpnRolePermissions string `pulumi:"azSpnRolePermissions"`
	// The Azure Container Registry name.
	AzurecrName string `pulumi:"azurecrName"`
	// The Tenant ID of the service principal.
	AzurecrSpnTenantid string `pulumi:"azurecrSpnTenantid"`
	// The Subscription ID of the Azure targets.
	AzurecrSubscriptionId string `pulumi:"azurecrSubscriptionId"`
	// The Subscription Name of the Azure targets.
	AzurecrSubscriptionName string `pulumi:"azurecrSubscriptionName"`
	// The Service Endpoint description.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// The Resource Group to which the Container Registry belongs.
	ResourceGroup       string `pulumi:"resourceGroup"`
	ServiceEndpointId   string `pulumi:"serviceEndpointId"`
	ServiceEndpointName string `pulumi:"serviceEndpointName"`
	// The Application(Client) ID of the Service Principal.
	ServicePrincipalId string `pulumi:"servicePrincipalId"`
	// The ID of the Service Principal.
	SpnObjectId string `pulumi:"spnObjectId"`
}

A collection of values returned by getServiceendpointAzurecr.

func GetServiceendpointAzurecr

func GetServiceendpointAzurecr(ctx *pulumi.Context, args *GetServiceendpointAzurecrArgs, opts ...pulumi.InvokeOption) (*GetServiceendpointAzurecrResult, error)

Use this data source to access information about an existing Azure Container Registry Service Endpoint.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.GetServiceendpointAzurecr(ctx, &azuredevops.GetServiceendpointAzurecrArgs{
			ProjectId:           azuredevops_project.Example.Id,
			ServiceEndpointName: pulumi.StringRef("Example Azure Container Registry"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointId", example.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetServiceendpointAzurecrResultOutput

type GetServiceendpointAzurecrResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceendpointAzurecr.

func (GetServiceendpointAzurecrResultOutput) AppObjectId

The Object ID of the Service Principal.

func (GetServiceendpointAzurecrResultOutput) Authorization

Specifies the Authorization Scheme Map.

func (GetServiceendpointAzurecrResultOutput) AzSpnRoleAssignmentId

func (o GetServiceendpointAzurecrResultOutput) AzSpnRoleAssignmentId() pulumi.StringOutput

The ID of Service Principal Role Assignment.

func (GetServiceendpointAzurecrResultOutput) AzSpnRolePermissions

The Service Principal Role Permissions.

func (GetServiceendpointAzurecrResultOutput) AzurecrName

The Azure Container Registry name.

func (GetServiceendpointAzurecrResultOutput) AzurecrSpnTenantid

The Tenant ID of the service principal.

func (GetServiceendpointAzurecrResultOutput) AzurecrSubscriptionId

func (o GetServiceendpointAzurecrResultOutput) AzurecrSubscriptionId() pulumi.StringOutput

The Subscription ID of the Azure targets.

func (GetServiceendpointAzurecrResultOutput) AzurecrSubscriptionName

func (o GetServiceendpointAzurecrResultOutput) AzurecrSubscriptionName() pulumi.StringOutput

The Subscription Name of the Azure targets.

func (GetServiceendpointAzurecrResultOutput) Description

The Service Endpoint description.

func (GetServiceendpointAzurecrResultOutput) ElementType

func (GetServiceendpointAzurecrResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceendpointAzurecrResultOutput) ProjectId

func (GetServiceendpointAzurecrResultOutput) ResourceGroup

The Resource Group to which the Container Registry belongs.

func (GetServiceendpointAzurecrResultOutput) ServiceEndpointId

func (GetServiceendpointAzurecrResultOutput) ServiceEndpointName

func (GetServiceendpointAzurecrResultOutput) ServicePrincipalId

The Application(Client) ID of the Service Principal.

func (GetServiceendpointAzurecrResultOutput) SpnObjectId

The ID of the Service Principal.

func (GetServiceendpointAzurecrResultOutput) ToGetServiceendpointAzurecrResultOutput

func (o GetServiceendpointAzurecrResultOutput) ToGetServiceendpointAzurecrResultOutput() GetServiceendpointAzurecrResultOutput

func (GetServiceendpointAzurecrResultOutput) ToGetServiceendpointAzurecrResultOutputWithContext

func (o GetServiceendpointAzurecrResultOutput) ToGetServiceendpointAzurecrResultOutputWithContext(ctx context.Context) GetServiceendpointAzurecrResultOutput

type GetServiceendpointNpmArgs

type GetServiceendpointNpmArgs struct {
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId *string `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName *string `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointNpm.

type GetServiceendpointNpmOutputArgs

type GetServiceendpointNpmOutputArgs struct {
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId pulumi.StringPtrInput `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName pulumi.StringPtrInput `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointNpm.

func (GetServiceendpointNpmOutputArgs) ElementType

type GetServiceendpointNpmResult

type GetServiceendpointNpmResult struct {
	// Specifies the Authorization Scheme Map.
	Authorization map[string]string `pulumi:"authorization"`
	// Specifies the description of the Service Endpoint.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	ProjectId           string `pulumi:"projectId"`
	ServiceEndpointId   string `pulumi:"serviceEndpointId"`
	ServiceEndpointName string `pulumi:"serviceEndpointName"`
	// Specifies the URL of the npm registry to connect with.
	Url string `pulumi:"url"`
}

A collection of values returned by getServiceendpointNpm.

func GetServiceendpointNpm

func GetServiceendpointNpm(ctx *pulumi.Context, args *GetServiceendpointNpmArgs, opts ...pulumi.InvokeOption) (*GetServiceendpointNpmResult, error)

Use this data source to access information about an existing NPM Service Endpoint.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.GetServiceendpointNpm(ctx, &azuredevops.GetServiceendpointNpmArgs{
			ProjectId:           azuredevops_project.Example.Id,
			ServiceEndpointName: pulumi.StringRef("Example npm"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointId", example.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetServiceendpointNpmResultOutput

type GetServiceendpointNpmResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceendpointNpm.

func (GetServiceendpointNpmResultOutput) Authorization

Specifies the Authorization Scheme Map.

func (GetServiceendpointNpmResultOutput) Description

Specifies the description of the Service Endpoint.

func (GetServiceendpointNpmResultOutput) ElementType

func (GetServiceendpointNpmResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceendpointNpmResultOutput) ProjectId

func (GetServiceendpointNpmResultOutput) ServiceEndpointId

func (GetServiceendpointNpmResultOutput) ServiceEndpointName

func (o GetServiceendpointNpmResultOutput) ServiceEndpointName() pulumi.StringOutput

func (GetServiceendpointNpmResultOutput) ToGetServiceendpointNpmResultOutput

func (o GetServiceendpointNpmResultOutput) ToGetServiceendpointNpmResultOutput() GetServiceendpointNpmResultOutput

func (GetServiceendpointNpmResultOutput) ToGetServiceendpointNpmResultOutputWithContext

func (o GetServiceendpointNpmResultOutput) ToGetServiceendpointNpmResultOutputWithContext(ctx context.Context) GetServiceendpointNpmResultOutput

func (GetServiceendpointNpmResultOutput) Url

Specifies the URL of the npm registry to connect with.

type GetServiceendpointSonarcloudArgs

type GetServiceendpointSonarcloudArgs struct {
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId *string `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName *string `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointSonarcloud.

type GetServiceendpointSonarcloudOutputArgs

type GetServiceendpointSonarcloudOutputArgs struct {
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId pulumi.StringPtrInput `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	ServiceEndpointName pulumi.StringPtrInput `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceendpointSonarcloud.

func (GetServiceendpointSonarcloudOutputArgs) ElementType

type GetServiceendpointSonarcloudResult

type GetServiceendpointSonarcloudResult struct {
	// Specifies the Authorization Scheme Map.
	Authorization map[string]string `pulumi:"authorization"`
	// Specifies the description of the Service Endpoint.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	ProjectId           string `pulumi:"projectId"`
	ServiceEndpointId   string `pulumi:"serviceEndpointId"`
	ServiceEndpointName string `pulumi:"serviceEndpointName"`
}

A collection of values returned by getServiceendpointSonarcloud.

func GetServiceendpointSonarcloud

func GetServiceendpointSonarcloud(ctx *pulumi.Context, args *GetServiceendpointSonarcloudArgs, opts ...pulumi.InvokeOption) (*GetServiceendpointSonarcloudResult, error)

Use this data source to access information about an existing Sonar Cloud Service Endpoint.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.GetServiceendpointSonarcloud(ctx, &azuredevops.GetServiceendpointSonarcloudArgs{
			ProjectId:           azuredevops_project.Example.Id,
			ServiceEndpointName: pulumi.StringRef("Example Sonar Cloud"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointId", example.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetServiceendpointSonarcloudResultOutput

type GetServiceendpointSonarcloudResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceendpointSonarcloud.

func (GetServiceendpointSonarcloudResultOutput) Authorization

Specifies the Authorization Scheme Map.

func (GetServiceendpointSonarcloudResultOutput) Description

Specifies the description of the Service Endpoint.

func (GetServiceendpointSonarcloudResultOutput) ElementType

func (GetServiceendpointSonarcloudResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceendpointSonarcloudResultOutput) ProjectId

func (GetServiceendpointSonarcloudResultOutput) ServiceEndpointId

func (GetServiceendpointSonarcloudResultOutput) ServiceEndpointName

func (GetServiceendpointSonarcloudResultOutput) ToGetServiceendpointSonarcloudResultOutput

func (o GetServiceendpointSonarcloudResultOutput) ToGetServiceendpointSonarcloudResultOutput() GetServiceendpointSonarcloudResultOutput

func (GetServiceendpointSonarcloudResultOutput) ToGetServiceendpointSonarcloudResultOutputWithContext

func (o GetServiceendpointSonarcloudResultOutput) ToGetServiceendpointSonarcloudResultOutputWithContext(ctx context.Context) GetServiceendpointSonarcloudResultOutput

type GetTeamsArgs

type GetTeamsArgs struct {
	// The Project ID. If no project ID all teams of the organization will be returned.
	ProjectId *string `pulumi:"projectId"`
	// The maximum number of teams to return. Defaults to `100`.
	Top *int `pulumi:"top"`
}

A collection of arguments for invoking getTeams.

type GetTeamsOutputArgs

type GetTeamsOutputArgs struct {
	// The Project ID. If no project ID all teams of the organization will be returned.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The maximum number of teams to return. Defaults to `100`.
	Top pulumi.IntPtrInput `pulumi:"top"`
}

A collection of arguments for invoking getTeams.

func (GetTeamsOutputArgs) ElementType

func (GetTeamsOutputArgs) ElementType() reflect.Type

type GetTeamsResult

type GetTeamsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Project identifier.
	// - `id - Team identifier
	ProjectId *string `pulumi:"projectId"`
	// A list of existing projects in your Azure DevOps Organization with details about every project which includes:
	Teams []GetTeamsTeam `pulumi:"teams"`
	Top   *int           `pulumi:"top"`
}

A collection of values returned by getTeams.

func GetTeams

func GetTeams(ctx *pulumi.Context, args *GetTeamsArgs, opts ...pulumi.InvokeOption) (*GetTeamsResult, error)

Use this data source to access information about existing Teams in a Project or globally within an Azure DevOps organization

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.GetTeams(ctx, nil, nil)
		if err != nil {
			return err
		}
		var splat0 []*string
		for _, val0 := range example.Teams {
			splat0 = append(splat0, val0.ProjectId)
		}
		ctx.Export("projectId", splat0)
		var splat1 []*string
		for _, val0 := range example.Teams {
			splat1 = append(splat1, val0.Name)
		}
		ctx.Export("name", splat1)
		var splat2 []interface{}
		for _, val0 := range example.Teams {
			splat2 = append(splat2, val0.Administrators)
		}
		ctx.Export("alladministrators", splat2)
		var splat3 []interface{}
		for _, val0 := range example.Teams {
			splat3 = append(splat3, val0.Members)
		}
		ctx.Export("administrators", splat3)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## PAT Permissions Required

- **vso.project**: Grants the ability to read projects and teams.

type GetTeamsResultOutput

type GetTeamsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeams.

func (GetTeamsResultOutput) ElementType

func (GetTeamsResultOutput) ElementType() reflect.Type

func (GetTeamsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTeamsResultOutput) ProjectId

Project identifier. - `id - Team identifier

func (GetTeamsResultOutput) Teams

A list of existing projects in your Azure DevOps Organization with details about every project which includes:

func (GetTeamsResultOutput) ToGetTeamsResultOutput

func (o GetTeamsResultOutput) ToGetTeamsResultOutput() GetTeamsResultOutput

func (GetTeamsResultOutput) ToGetTeamsResultOutputWithContext

func (o GetTeamsResultOutput) ToGetTeamsResultOutputWithContext(ctx context.Context) GetTeamsResultOutput

func (GetTeamsResultOutput) Top

type GetTeamsTeam

type GetTeamsTeam struct {
	// List of subject descriptors for `administrators` of the team.
	Administrators []string `pulumi:"administrators"`
	// Team description.
	Description string `pulumi:"description"`
	Id          string `pulumi:"id"`
	// List of subject descriptors for `members` of the team.
	Members []string `pulumi:"members"`
	// Team name.
	Name string `pulumi:"name"`
	// The Project ID. If no project ID all teams of the organization will be returned.
	ProjectId string `pulumi:"projectId"`
}

type GetTeamsTeamArgs

type GetTeamsTeamArgs struct {
	// List of subject descriptors for `administrators` of the team.
	Administrators pulumi.StringArrayInput `pulumi:"administrators"`
	// Team description.
	Description pulumi.StringInput `pulumi:"description"`
	Id          pulumi.StringInput `pulumi:"id"`
	// List of subject descriptors for `members` of the team.
	Members pulumi.StringArrayInput `pulumi:"members"`
	// Team name.
	Name pulumi.StringInput `pulumi:"name"`
	// The Project ID. If no project ID all teams of the organization will be returned.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (GetTeamsTeamArgs) ElementType

func (GetTeamsTeamArgs) ElementType() reflect.Type

func (GetTeamsTeamArgs) ToGetTeamsTeamOutput

func (i GetTeamsTeamArgs) ToGetTeamsTeamOutput() GetTeamsTeamOutput

func (GetTeamsTeamArgs) ToGetTeamsTeamOutputWithContext

func (i GetTeamsTeamArgs) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput

type GetTeamsTeamArray

type GetTeamsTeamArray []GetTeamsTeamInput

func (GetTeamsTeamArray) ElementType

func (GetTeamsTeamArray) ElementType() reflect.Type

func (GetTeamsTeamArray) ToGetTeamsTeamArrayOutput

func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput

func (GetTeamsTeamArray) ToGetTeamsTeamArrayOutputWithContext

func (i GetTeamsTeamArray) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput

type GetTeamsTeamArrayInput

type GetTeamsTeamArrayInput interface {
	pulumi.Input

	ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput
	ToGetTeamsTeamArrayOutputWithContext(context.Context) GetTeamsTeamArrayOutput
}

GetTeamsTeamArrayInput is an input type that accepts GetTeamsTeamArray and GetTeamsTeamArrayOutput values. You can construct a concrete instance of `GetTeamsTeamArrayInput` via:

GetTeamsTeamArray{ GetTeamsTeamArgs{...} }

type GetTeamsTeamArrayOutput

type GetTeamsTeamArrayOutput struct{ *pulumi.OutputState }

func (GetTeamsTeamArrayOutput) ElementType

func (GetTeamsTeamArrayOutput) ElementType() reflect.Type

func (GetTeamsTeamArrayOutput) Index

func (GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutput

func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutput() GetTeamsTeamArrayOutput

func (GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutputWithContext

func (o GetTeamsTeamArrayOutput) ToGetTeamsTeamArrayOutputWithContext(ctx context.Context) GetTeamsTeamArrayOutput

type GetTeamsTeamInput

type GetTeamsTeamInput interface {
	pulumi.Input

	ToGetTeamsTeamOutput() GetTeamsTeamOutput
	ToGetTeamsTeamOutputWithContext(context.Context) GetTeamsTeamOutput
}

GetTeamsTeamInput is an input type that accepts GetTeamsTeamArgs and GetTeamsTeamOutput values. You can construct a concrete instance of `GetTeamsTeamInput` via:

GetTeamsTeamArgs{...}

type GetTeamsTeamOutput

type GetTeamsTeamOutput struct{ *pulumi.OutputState }

func (GetTeamsTeamOutput) Administrators

func (o GetTeamsTeamOutput) Administrators() pulumi.StringArrayOutput

List of subject descriptors for `administrators` of the team.

func (GetTeamsTeamOutput) Description

func (o GetTeamsTeamOutput) Description() pulumi.StringOutput

Team description.

func (GetTeamsTeamOutput) ElementType

func (GetTeamsTeamOutput) ElementType() reflect.Type

func (GetTeamsTeamOutput) Id

func (GetTeamsTeamOutput) Members

List of subject descriptors for `members` of the team.

func (GetTeamsTeamOutput) Name

Team name.

func (GetTeamsTeamOutput) ProjectId

func (o GetTeamsTeamOutput) ProjectId() pulumi.StringOutput

The Project ID. If no project ID all teams of the organization will be returned.

func (GetTeamsTeamOutput) ToGetTeamsTeamOutput

func (o GetTeamsTeamOutput) ToGetTeamsTeamOutput() GetTeamsTeamOutput

func (GetTeamsTeamOutput) ToGetTeamsTeamOutputWithContext

func (o GetTeamsTeamOutput) ToGetTeamsTeamOutputWithContext(ctx context.Context) GetTeamsTeamOutput

type GetUsersArgs

type GetUsersArgs struct {
	// A `features` block as defined below.
	//
	// DataSource without specifying any arguments will return all users inside an organization.
	//
	// List of possible subject types
	//
	// <!--Start PulumiCodeChooser -->
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	// <!--End PulumiCodeChooser -->
	//
	// List of possible origins
	//
	// <!--Start PulumiCodeChooser -->
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	// <!--End PulumiCodeChooser -->
	Features *GetUsersFeatures `pulumi:"features"`
	// 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 GetUsersFeatures

type GetUsersFeatures struct {
	// Number of workers to process user data concurrently.
	//
	// > **Note** Setting `concurrentWorkers` to a value greater than 1 can greatly decrease the time it takes to read the data source.
	ConcurrentWorkers *int `pulumi:"concurrentWorkers"`
}

type GetUsersFeaturesArgs

type GetUsersFeaturesArgs struct {
	// Number of workers to process user data concurrently.
	//
	// > **Note** Setting `concurrentWorkers` to a value greater than 1 can greatly decrease the time it takes to read the data source.
	ConcurrentWorkers pulumi.IntPtrInput `pulumi:"concurrentWorkers"`
}

func (GetUsersFeaturesArgs) ElementType

func (GetUsersFeaturesArgs) ElementType() reflect.Type

func (GetUsersFeaturesArgs) ToGetUsersFeaturesOutput

func (i GetUsersFeaturesArgs) ToGetUsersFeaturesOutput() GetUsersFeaturesOutput

func (GetUsersFeaturesArgs) ToGetUsersFeaturesOutputWithContext

func (i GetUsersFeaturesArgs) ToGetUsersFeaturesOutputWithContext(ctx context.Context) GetUsersFeaturesOutput

func (GetUsersFeaturesArgs) ToGetUsersFeaturesPtrOutput

func (i GetUsersFeaturesArgs) ToGetUsersFeaturesPtrOutput() GetUsersFeaturesPtrOutput

func (GetUsersFeaturesArgs) ToGetUsersFeaturesPtrOutputWithContext

func (i GetUsersFeaturesArgs) ToGetUsersFeaturesPtrOutputWithContext(ctx context.Context) GetUsersFeaturesPtrOutput

type GetUsersFeaturesInput

type GetUsersFeaturesInput interface {
	pulumi.Input

	ToGetUsersFeaturesOutput() GetUsersFeaturesOutput
	ToGetUsersFeaturesOutputWithContext(context.Context) GetUsersFeaturesOutput
}

GetUsersFeaturesInput is an input type that accepts GetUsersFeaturesArgs and GetUsersFeaturesOutput values. You can construct a concrete instance of `GetUsersFeaturesInput` via:

GetUsersFeaturesArgs{...}

type GetUsersFeaturesOutput

type GetUsersFeaturesOutput struct{ *pulumi.OutputState }

func (GetUsersFeaturesOutput) ConcurrentWorkers

func (o GetUsersFeaturesOutput) ConcurrentWorkers() pulumi.IntPtrOutput

Number of workers to process user data concurrently.

> **Note** Setting `concurrentWorkers` to a value greater than 1 can greatly decrease the time it takes to read the data source.

func (GetUsersFeaturesOutput) ElementType

func (GetUsersFeaturesOutput) ElementType() reflect.Type

func (GetUsersFeaturesOutput) ToGetUsersFeaturesOutput

func (o GetUsersFeaturesOutput) ToGetUsersFeaturesOutput() GetUsersFeaturesOutput

func (GetUsersFeaturesOutput) ToGetUsersFeaturesOutputWithContext

func (o GetUsersFeaturesOutput) ToGetUsersFeaturesOutputWithContext(ctx context.Context) GetUsersFeaturesOutput

func (GetUsersFeaturesOutput) ToGetUsersFeaturesPtrOutput

func (o GetUsersFeaturesOutput) ToGetUsersFeaturesPtrOutput() GetUsersFeaturesPtrOutput

func (GetUsersFeaturesOutput) ToGetUsersFeaturesPtrOutputWithContext

func (o GetUsersFeaturesOutput) ToGetUsersFeaturesPtrOutputWithContext(ctx context.Context) GetUsersFeaturesPtrOutput

type GetUsersFeaturesPtrInput

type GetUsersFeaturesPtrInput interface {
	pulumi.Input

	ToGetUsersFeaturesPtrOutput() GetUsersFeaturesPtrOutput
	ToGetUsersFeaturesPtrOutputWithContext(context.Context) GetUsersFeaturesPtrOutput
}

GetUsersFeaturesPtrInput is an input type that accepts GetUsersFeaturesArgs, GetUsersFeaturesPtr and GetUsersFeaturesPtrOutput values. You can construct a concrete instance of `GetUsersFeaturesPtrInput` via:

        GetUsersFeaturesArgs{...}

or:

        nil

type GetUsersFeaturesPtrOutput

type GetUsersFeaturesPtrOutput struct{ *pulumi.OutputState }

func (GetUsersFeaturesPtrOutput) ConcurrentWorkers

func (o GetUsersFeaturesPtrOutput) ConcurrentWorkers() pulumi.IntPtrOutput

Number of workers to process user data concurrently.

> **Note** Setting `concurrentWorkers` to a value greater than 1 can greatly decrease the time it takes to read the data source.

func (GetUsersFeaturesPtrOutput) Elem

func (GetUsersFeaturesPtrOutput) ElementType

func (GetUsersFeaturesPtrOutput) ElementType() reflect.Type

func (GetUsersFeaturesPtrOutput) ToGetUsersFeaturesPtrOutput

func (o GetUsersFeaturesPtrOutput) ToGetUsersFeaturesPtrOutput() GetUsersFeaturesPtrOutput

func (GetUsersFeaturesPtrOutput) ToGetUsersFeaturesPtrOutputWithContext

func (o GetUsersFeaturesPtrOutput) ToGetUsersFeaturesPtrOutputWithContext(ctx context.Context) GetUsersFeaturesPtrOutput

type GetUsersOutputArgs

type GetUsersOutputArgs struct {
	// A `features` block as defined below.
	//
	// DataSource without specifying any arguments will return all users inside an organization.
	//
	// List of possible subject types
	//
	// <!--Start PulumiCodeChooser -->
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	// <!--End PulumiCodeChooser -->
	//
	// List of possible origins
	//
	// <!--Start PulumiCodeChooser -->
	// “`go
	// package main
	//
	// import (
	// 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	// )
	//
	// func main() {
	// 	pulumi.Run(func(ctx *pulumi.Context) error {
	// 		return nil
	// 	})
	// }
	// “`
	// <!--End PulumiCodeChooser -->
	Features GetUsersFeaturesPtrInput `pulumi:"features"`
	// The type of source provider for the `originId` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
	Origin pulumi.StringPtrInput `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.StringPtrInput `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 pulumi.StringArrayInput `pulumi:"subjectTypes"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

type GetUsersResult struct {
	Features *GetUsersFeatures `pulumi:"features"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			PrincipalName: pulumi.StringRef("contoso-user@contoso.onmicrosoft.com"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			Features: azuredevops.GetUsersFeatures{
				ConcurrentWorkers: pulumi.IntRef(10),
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			Origin: pulumi.StringRef("aad"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			SubjectTypes: []string{
				"aad",
				"msa",
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.GetUsers(ctx, &azuredevops.GetUsersArgs{
			Origin:   pulumi.StringRef("aad"),
			OriginId: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type GetUsersResultOutput

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func (GetUsersResultOutput) ElementType

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Features

func (GetUsersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) Origin

The type of source provider for the origin identifier (ex:AD, AAD, MSA)

func (GetUsersResultOutput) OriginId

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.

func (GetUsersResultOutput) PrincipalName

func (o GetUsersResultOutput) PrincipalName() pulumi.StringPtrOutput

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.

func (GetUsersResultOutput) SubjectTypes

func (GetUsersResultOutput) ToGetUsersResultOutput

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Users

A set of existing users in your Azure DevOps Organization with details about every single user which includes:

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 user ID.
	Id string `pulumi:"id"`
	// 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 user ID.
	Id pulumi.StringInput `pulumi:"id"`
	// 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) Id

The user ID.

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 GetVariableGroupKeyVault

type GetVariableGroupKeyVault struct {
	// The name of the Variable Group to retrieve.
	Name string `pulumi:"name"`
	// The id of the Azure subscription endpoint to access the key vault.
	ServiceEndpointId string `pulumi:"serviceEndpointId"`
}

type GetVariableGroupKeyVaultArgs

type GetVariableGroupKeyVaultArgs struct {
	// The name of the Variable Group to retrieve.
	Name pulumi.StringInput `pulumi:"name"`
	// The id of the Azure subscription endpoint to access the key vault.
	ServiceEndpointId pulumi.StringInput `pulumi:"serviceEndpointId"`
}

func (GetVariableGroupKeyVaultArgs) ElementType

func (GetVariableGroupKeyVaultArgs) ToGetVariableGroupKeyVaultOutput

func (i GetVariableGroupKeyVaultArgs) ToGetVariableGroupKeyVaultOutput() GetVariableGroupKeyVaultOutput

func (GetVariableGroupKeyVaultArgs) ToGetVariableGroupKeyVaultOutputWithContext

func (i GetVariableGroupKeyVaultArgs) ToGetVariableGroupKeyVaultOutputWithContext(ctx context.Context) GetVariableGroupKeyVaultOutput

type GetVariableGroupKeyVaultArray

type GetVariableGroupKeyVaultArray []GetVariableGroupKeyVaultInput

func (GetVariableGroupKeyVaultArray) ElementType

func (GetVariableGroupKeyVaultArray) ToGetVariableGroupKeyVaultArrayOutput

func (i GetVariableGroupKeyVaultArray) ToGetVariableGroupKeyVaultArrayOutput() GetVariableGroupKeyVaultArrayOutput

func (GetVariableGroupKeyVaultArray) ToGetVariableGroupKeyVaultArrayOutputWithContext

func (i GetVariableGroupKeyVaultArray) ToGetVariableGroupKeyVaultArrayOutputWithContext(ctx context.Context) GetVariableGroupKeyVaultArrayOutput

type GetVariableGroupKeyVaultArrayInput

type GetVariableGroupKeyVaultArrayInput interface {
	pulumi.Input

	ToGetVariableGroupKeyVaultArrayOutput() GetVariableGroupKeyVaultArrayOutput
	ToGetVariableGroupKeyVaultArrayOutputWithContext(context.Context) GetVariableGroupKeyVaultArrayOutput
}

GetVariableGroupKeyVaultArrayInput is an input type that accepts GetVariableGroupKeyVaultArray and GetVariableGroupKeyVaultArrayOutput values. You can construct a concrete instance of `GetVariableGroupKeyVaultArrayInput` via:

GetVariableGroupKeyVaultArray{ GetVariableGroupKeyVaultArgs{...} }

type GetVariableGroupKeyVaultArrayOutput

type GetVariableGroupKeyVaultArrayOutput struct{ *pulumi.OutputState }

func (GetVariableGroupKeyVaultArrayOutput) ElementType

func (GetVariableGroupKeyVaultArrayOutput) Index

func (GetVariableGroupKeyVaultArrayOutput) ToGetVariableGroupKeyVaultArrayOutput

func (o GetVariableGroupKeyVaultArrayOutput) ToGetVariableGroupKeyVaultArrayOutput() GetVariableGroupKeyVaultArrayOutput

func (GetVariableGroupKeyVaultArrayOutput) ToGetVariableGroupKeyVaultArrayOutputWithContext

func (o GetVariableGroupKeyVaultArrayOutput) ToGetVariableGroupKeyVaultArrayOutputWithContext(ctx context.Context) GetVariableGroupKeyVaultArrayOutput

type GetVariableGroupKeyVaultInput

type GetVariableGroupKeyVaultInput interface {
	pulumi.Input

	ToGetVariableGroupKeyVaultOutput() GetVariableGroupKeyVaultOutput
	ToGetVariableGroupKeyVaultOutputWithContext(context.Context) GetVariableGroupKeyVaultOutput
}

GetVariableGroupKeyVaultInput is an input type that accepts GetVariableGroupKeyVaultArgs and GetVariableGroupKeyVaultOutput values. You can construct a concrete instance of `GetVariableGroupKeyVaultInput` via:

GetVariableGroupKeyVaultArgs{...}

type GetVariableGroupKeyVaultOutput

type GetVariableGroupKeyVaultOutput struct{ *pulumi.OutputState }

func (GetVariableGroupKeyVaultOutput) ElementType

func (GetVariableGroupKeyVaultOutput) Name

The name of the Variable Group to retrieve.

func (GetVariableGroupKeyVaultOutput) ServiceEndpointId

func (o GetVariableGroupKeyVaultOutput) ServiceEndpointId() pulumi.StringOutput

The id of the Azure subscription endpoint to access the key vault.

func (GetVariableGroupKeyVaultOutput) ToGetVariableGroupKeyVaultOutput

func (o GetVariableGroupKeyVaultOutput) ToGetVariableGroupKeyVaultOutput() GetVariableGroupKeyVaultOutput

func (GetVariableGroupKeyVaultOutput) ToGetVariableGroupKeyVaultOutputWithContext

func (o GetVariableGroupKeyVaultOutput) ToGetVariableGroupKeyVaultOutputWithContext(ctx context.Context) GetVariableGroupKeyVaultOutput

type GetVariableGroupVariable

type GetVariableGroupVariable struct {
	ContentType string `pulumi:"contentType"`
	Enabled     bool   `pulumi:"enabled"`
	Expires     string `pulumi:"expires"`
	// A boolean flag describing if the variable value is sensitive.
	IsSecret bool `pulumi:"isSecret"`
	// The name of the Variable Group to retrieve.
	Name string `pulumi:"name"`
	// The secret value of the variable.
	SecretValue string `pulumi:"secretValue"`
	// The value of the variable.
	Value string `pulumi:"value"`
}

type GetVariableGroupVariableArgs

type GetVariableGroupVariableArgs struct {
	ContentType pulumi.StringInput `pulumi:"contentType"`
	Enabled     pulumi.BoolInput   `pulumi:"enabled"`
	Expires     pulumi.StringInput `pulumi:"expires"`
	// A boolean flag describing if the variable value is sensitive.
	IsSecret pulumi.BoolInput `pulumi:"isSecret"`
	// The name of the Variable Group to retrieve.
	Name pulumi.StringInput `pulumi:"name"`
	// The secret value of the variable.
	SecretValue pulumi.StringInput `pulumi:"secretValue"`
	// The value of the variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetVariableGroupVariableArgs) ElementType

func (GetVariableGroupVariableArgs) ToGetVariableGroupVariableOutput

func (i GetVariableGroupVariableArgs) ToGetVariableGroupVariableOutput() GetVariableGroupVariableOutput

func (GetVariableGroupVariableArgs) ToGetVariableGroupVariableOutputWithContext

func (i GetVariableGroupVariableArgs) ToGetVariableGroupVariableOutputWithContext(ctx context.Context) GetVariableGroupVariableOutput

type GetVariableGroupVariableArray

type GetVariableGroupVariableArray []GetVariableGroupVariableInput

func (GetVariableGroupVariableArray) ElementType

func (GetVariableGroupVariableArray) ToGetVariableGroupVariableArrayOutput

func (i GetVariableGroupVariableArray) ToGetVariableGroupVariableArrayOutput() GetVariableGroupVariableArrayOutput

func (GetVariableGroupVariableArray) ToGetVariableGroupVariableArrayOutputWithContext

func (i GetVariableGroupVariableArray) ToGetVariableGroupVariableArrayOutputWithContext(ctx context.Context) GetVariableGroupVariableArrayOutput

type GetVariableGroupVariableArrayInput

type GetVariableGroupVariableArrayInput interface {
	pulumi.Input

	ToGetVariableGroupVariableArrayOutput() GetVariableGroupVariableArrayOutput
	ToGetVariableGroupVariableArrayOutputWithContext(context.Context) GetVariableGroupVariableArrayOutput
}

GetVariableGroupVariableArrayInput is an input type that accepts GetVariableGroupVariableArray and GetVariableGroupVariableArrayOutput values. You can construct a concrete instance of `GetVariableGroupVariableArrayInput` via:

GetVariableGroupVariableArray{ GetVariableGroupVariableArgs{...} }

type GetVariableGroupVariableArrayOutput

type GetVariableGroupVariableArrayOutput struct{ *pulumi.OutputState }

func (GetVariableGroupVariableArrayOutput) ElementType

func (GetVariableGroupVariableArrayOutput) Index

func (GetVariableGroupVariableArrayOutput) ToGetVariableGroupVariableArrayOutput

func (o GetVariableGroupVariableArrayOutput) ToGetVariableGroupVariableArrayOutput() GetVariableGroupVariableArrayOutput

func (GetVariableGroupVariableArrayOutput) ToGetVariableGroupVariableArrayOutputWithContext

func (o GetVariableGroupVariableArrayOutput) ToGetVariableGroupVariableArrayOutputWithContext(ctx context.Context) GetVariableGroupVariableArrayOutput

type GetVariableGroupVariableInput

type GetVariableGroupVariableInput interface {
	pulumi.Input

	ToGetVariableGroupVariableOutput() GetVariableGroupVariableOutput
	ToGetVariableGroupVariableOutputWithContext(context.Context) GetVariableGroupVariableOutput
}

GetVariableGroupVariableInput is an input type that accepts GetVariableGroupVariableArgs and GetVariableGroupVariableOutput values. You can construct a concrete instance of `GetVariableGroupVariableInput` via:

GetVariableGroupVariableArgs{...}

type GetVariableGroupVariableOutput

type GetVariableGroupVariableOutput struct{ *pulumi.OutputState }

func (GetVariableGroupVariableOutput) ContentType

func (GetVariableGroupVariableOutput) ElementType

func (GetVariableGroupVariableOutput) Enabled

func (GetVariableGroupVariableOutput) Expires

func (GetVariableGroupVariableOutput) GetIsSecret

A boolean flag describing if the variable value is sensitive.

func (GetVariableGroupVariableOutput) Name

The name of the Variable Group to retrieve.

func (GetVariableGroupVariableOutput) SecretValue

The secret value of the variable.

func (GetVariableGroupVariableOutput) ToGetVariableGroupVariableOutput

func (o GetVariableGroupVariableOutput) ToGetVariableGroupVariableOutput() GetVariableGroupVariableOutput

func (GetVariableGroupVariableOutput) ToGetVariableGroupVariableOutputWithContext

func (o GetVariableGroupVariableOutput) ToGetVariableGroupVariableOutputWithContext(ctx context.Context) GetVariableGroupVariableOutput

func (GetVariableGroupVariableOutput) Value

The value of the variable.

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"`
}

## Import

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

```sh $ pulumi import azuredevops:index/git:Git example projectName/repoName ```

or

```sh $ pulumi import azuredevops:index/git:Git example projectName/00000000-0000-0000-0000-000000000000 ```

hcl

resource "azuredevops_project" "example" {

name               = "Example Project"

visibility         = "private"

version_control    = "Git"

work_item_template = "Agile"

}

resource "azuredevops_git_repository" "example" {

project_id     = azuredevops_project.example.id

name           = "Example Git Repository"

default_branch = "refs/heads/main"

initialization {

  init_type = "Clean"

}

lifecycle {

  ignore_changes = [

    # Ignore changes to initialization to support importing existing repositories

    # Given that a repo now exists, either imported into terraform state or created by terraform,

    # we don't care for the configuration of initialization against the existing resource

    initialization,

  ]

}

}

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

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

type GitArray []GitInput

func (GitArray) ElementType

func (GitArray) ElementType() reflect.Type

func (GitArray) ToGitArrayOutput

func (i GitArray) ToGitArrayOutput() GitArrayOutput

func (GitArray) ToGitArrayOutputWithContext

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

type GitArrayInput

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

type GitArrayOutput struct{ *pulumi.OutputState }

func (GitArrayOutput) ElementType

func (GitArrayOutput) ElementType() reflect.Type

func (GitArrayOutput) Index

func (GitArrayOutput) ToGitArrayOutput

func (o GitArrayOutput) ToGitArrayOutput() GitArrayOutput

func (GitArrayOutput) ToGitArrayOutputWithContext

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`.
	InitType string `pulumi:"initType"`
	// The id of service connection used to authenticate to a private repository for import initialization.
	ServiceConnectionId *string `pulumi:"serviceConnectionId"`
	// 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`.
	InitType pulumi.StringInput `pulumi:"initType"`
	// The id of service connection used to authenticate to a private repository for import initialization.
	ServiceConnectionId pulumi.StringPtrInput `pulumi:"serviceConnectionId"`
	// 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`.

func (GitInitializationOutput) ServiceConnectionId

func (o GitInitializationOutput) ServiceConnectionId() pulumi.StringPtrOutput

The id of service connection used to authenticate to a private repository for import initialization.

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`.

func (GitInitializationPtrOutput) ServiceConnectionId

func (o GitInitializationPtrOutput) ServiceConnectionId() pulumi.StringPtrOutput

The id of service connection used to authenticate to a private repository for import initialization.

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

type GitMap map[string]GitInput

func (GitMap) ElementType

func (GitMap) ElementType() reflect.Type

func (GitMap) ToGitMapOutput

func (i GitMap) ToGitMapOutput() GitMapOutput

func (GitMap) ToGitMapOutputWithContext

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

type GitMapInput

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

type GitMapOutput struct{ *pulumi.OutputState }

func (GitMapOutput) ElementType

func (GitMapOutput) ElementType() reflect.Type

func (GitMapOutput) MapIndex

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

func (GitMapOutput) ToGitMapOutput

func (o GitMapOutput) ToGitMapOutput() GitMapOutput

func (GitMapOutput) ToGitMapOutputWithContext

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

type GitOutput

type GitOutput struct{ *pulumi.OutputState }

func (GitOutput) DefaultBranch

func (o GitOutput) DefaultBranch() pulumi.StringOutput

The ref of the default branch. Will be used as the branch name for initialized repositories.

func (GitOutput) ElementType

func (GitOutput) ElementType() reflect.Type

func (GitOutput) Initialization

func (o GitOutput) Initialization() GitInitializationOutput

An `initialization` block as documented below.

func (GitOutput) IsFork

func (o GitOutput) IsFork() pulumi.BoolOutput

True if the repository was created as a fork.

func (GitOutput) Name

func (o GitOutput) Name() pulumi.StringOutput

The name of the git repository.

func (GitOutput) ParentRepositoryId

func (o GitOutput) ParentRepositoryId() pulumi.StringPtrOutput

The ID of a Git project from which a fork is to be created.

func (GitOutput) ProjectId

func (o GitOutput) ProjectId() pulumi.StringOutput

The project ID or project name.

func (GitOutput) RemoteUrl

func (o GitOutput) RemoteUrl() pulumi.StringOutput

Git HTTPS URL of the repository

func (GitOutput) Size

func (o GitOutput) Size() pulumi.IntOutput

Size in bytes.

func (GitOutput) SshUrl

func (o GitOutput) SshUrl() pulumi.StringOutput

Git SSH URL of the repository.

func (GitOutput) ToGitOutput

func (o GitOutput) ToGitOutput() GitOutput

func (GitOutput) ToGitOutputWithContext

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

func (GitOutput) Url

func (o GitOutput) Url() pulumi.StringOutput

REST API URL of the repository.

func (GitOutput) WebUrl

func (o GitOutput) WebUrl() pulumi.StringOutput

Web link to the repository.

type GitPermissions

type GitPermissions struct {
	pulumi.CustomResourceState

	// The name of the branch to assign the permissions.
	//
	// > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
	BranchName pulumi.StringPtrOutput `pulumi:"branchName"`
	// the permissions to assign. The follwing permissions are available
	//
	// | Permissions             | Description                                            |
	// |-------------------------|--------------------------------------------------------|
	// | Administer              | Administer                                             |
	// | GenericRead             | Read                                                   |
	// | GenericContribute       | Contribute                                             |
	// | ForcePush               | Force push (rewrite history, delete branches and tags) |
	// | CreateBranch            | Create branch                                          |
	// | CreateTag               | Create tag                                             |
	// | ManageNote              | Manage notes                                           |
	// | PolicyExempt            | Bypass policies when pushing                           |
	// | CreateRepository        | Create repository                                      |
	// | DeleteRepository        | Delete repository                                      |
	// | RenameRepository        | Rename repository                                      |
	// | EditPolicies            | Edit policies                                          |
	// | RemoveOthersLocks       | Remove others' locks                                   |
	// | ManagePermissions       | Manage permissions                                     |
	// | PullRequestContribute   | Contribute to pull requests                            |
	// | PullRequestBypassPolicy | Bypass policies when completing pull requests          |
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewGitPermissions(ctx, "example-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"CreateRepository": pulumi.String("Deny"),
				"DeleteRepository": pulumi.String("Deny"),
				"RenameRepository": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_group, err := azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			Name: "Project Collection Administrators",
		}, nil)
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitPermissions(ctx, "example-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    exampleGit.ProjectId,
			RepositoryId: exampleGit.ID(),
			Principal:    *pulumi.String(example_group.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
	})
}

``` <!--End PulumiCodeChooser -->

### Branch level

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

#### Example usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		example_group, err := azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			Name: "Project Collection Administrators",
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitPermissions(ctx, "example-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    exampleGit.ProjectId,
			RepositoryId: exampleGit.ID(),
			BranchName:   pulumi.String("refs/heads/master"),
			Principal:    *pulumi.String(example_group.Id),
			Permissions: pulumi.StringMap{
				"RemoveOthersLocks": pulumi.String("Allow"),
				"ForcePush":         pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		example_project_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Contributors"),
		}, nil)
		example_project_administrators := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Project administrators"),
		}, nil)
		_, err = azuredevops.NewGitPermissions(ctx, "example-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Principal: example_project_readers.ApplyT(func(example_project_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_project_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"CreateRepository": pulumi.String("Deny"),
				"DeleteRepository": pulumi.String("Deny"),
				"RenameRepository": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId:     exampleProject.ID(),
			DefaultBranch: pulumi.String("refs/heads/master"),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitPermissions(ctx, "example-repo-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    exampleGit.ProjectId,
			RepositoryId: exampleGit.ID(),
			Principal: example_project_administrators.ApplyT(func(example_project_administrators azuredevops.GetGroupResult) (*string, error) {
				return &example_project_administrators.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"RemoveOthersLocks": pulumi.String("Allow"),
				"ManagePermissions": pulumi.String("Deny"),
				"CreateTag":         pulumi.String("Deny"),
				"CreateBranch":      pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitPermissions(ctx, "example-branch-permissions", &azuredevops.GitPermissionsArgs{
			ProjectId:    exampleGit.ProjectId,
			RepositoryId: exampleGit.ID(),
			BranchName:   pulumi.String("master"),
			Principal: example_project_contributors.ApplyT(func(example_project_contributors azuredevops.GetGroupResult) (*string, error) {
				return &example_project_contributors.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"RemoveOthersLocks": pulumi.String("Allow"),
				"ForcePush":         pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

type GitPermissionsArgs

type GitPermissionsArgs struct {
	// The name of the branch to assign the permissions.
	//
	// > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
	BranchName pulumi.StringPtrInput
	// the permissions to assign. The follwing permissions are available
	//
	// | Permissions             | Description                                            |
	// |-------------------------|--------------------------------------------------------|
	// | Administer              | Administer                                             |
	// | GenericRead             | Read                                                   |
	// | GenericContribute       | Contribute                                             |
	// | ForcePush               | Force push (rewrite history, delete branches and tags) |
	// | CreateBranch            | Create branch                                          |
	// | CreateTag               | Create tag                                             |
	// | ManageNote              | Manage notes                                           |
	// | PolicyExempt            | Bypass policies when pushing                           |
	// | CreateRepository        | Create repository                                      |
	// | DeleteRepository        | Delete repository                                      |
	// | RenameRepository        | Rename repository                                      |
	// | EditPolicies            | Edit policies                                          |
	// | RemoveOthersLocks       | Remove others' locks                                   |
	// | ManagePermissions       | Manage permissions                                     |
	// | PullRequestContribute   | Contribute to pull requests                            |
	// | PullRequestBypassPolicy | Bypass policies when completing pull requests          |
	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

type GitPermissionsArray []GitPermissionsInput

func (GitPermissionsArray) ElementType

func (GitPermissionsArray) ElementType() reflect.Type

func (GitPermissionsArray) ToGitPermissionsArrayOutput

func (i GitPermissionsArray) ToGitPermissionsArrayOutput() GitPermissionsArrayOutput

func (GitPermissionsArray) ToGitPermissionsArrayOutputWithContext

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

type GitPermissionsArrayInput

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

type GitPermissionsArrayOutput struct{ *pulumi.OutputState }

func (GitPermissionsArrayOutput) ElementType

func (GitPermissionsArrayOutput) ElementType() reflect.Type

func (GitPermissionsArrayOutput) Index

func (GitPermissionsArrayOutput) ToGitPermissionsArrayOutput

func (o GitPermissionsArrayOutput) ToGitPermissionsArrayOutput() GitPermissionsArrayOutput

func (GitPermissionsArrayOutput) ToGitPermissionsArrayOutputWithContext

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

type GitPermissionsInput

type GitPermissionsInput interface {
	pulumi.Input

	ToGitPermissionsOutput() GitPermissionsOutput
	ToGitPermissionsOutputWithContext(ctx context.Context) GitPermissionsOutput
}

type GitPermissionsMap

type GitPermissionsMap map[string]GitPermissionsInput

func (GitPermissionsMap) ElementType

func (GitPermissionsMap) ElementType() reflect.Type

func (GitPermissionsMap) ToGitPermissionsMapOutput

func (i GitPermissionsMap) ToGitPermissionsMapOutput() GitPermissionsMapOutput

func (GitPermissionsMap) ToGitPermissionsMapOutputWithContext

func (i GitPermissionsMap) ToGitPermissionsMapOutputWithContext(ctx context.Context) GitPermissionsMapOutput

type GitPermissionsMapInput

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

type GitPermissionsMapOutput struct{ *pulumi.OutputState }

func (GitPermissionsMapOutput) ElementType

func (GitPermissionsMapOutput) ElementType() reflect.Type

func (GitPermissionsMapOutput) MapIndex

func (GitPermissionsMapOutput) ToGitPermissionsMapOutput

func (o GitPermissionsMapOutput) ToGitPermissionsMapOutput() GitPermissionsMapOutput

func (GitPermissionsMapOutput) ToGitPermissionsMapOutputWithContext

func (o GitPermissionsMapOutput) ToGitPermissionsMapOutputWithContext(ctx context.Context) GitPermissionsMapOutput

type GitPermissionsOutput

type GitPermissionsOutput struct{ *pulumi.OutputState }

func (GitPermissionsOutput) BranchName

The name of the branch to assign the permissions.

> **Note** to assign permissions to a branch, the `repositoryId` must be set as well.

func (GitPermissionsOutput) ElementType

func (GitPermissionsOutput) ElementType() reflect.Type

func (GitPermissionsOutput) Permissions

the permissions to assign. The follwing permissions are available

| Permissions | Description | |-------------------------|--------------------------------------------------------| | Administer | Administer | | GenericRead | Read | | GenericContribute | Contribute | | ForcePush | Force push (rewrite history, delete branches and tags) | | CreateBranch | Create branch | | CreateTag | Create tag | | ManageNote | Manage notes | | PolicyExempt | Bypass policies when pushing | | CreateRepository | Create repository | | DeleteRepository | Delete repository | | RenameRepository | Rename repository | | EditPolicies | Edit policies | | RemoveOthersLocks | Remove others' locks | | ManagePermissions | Manage permissions | | PullRequestContribute | Contribute to pull requests | | PullRequestBypassPolicy | Bypass policies when completing pull requests |

func (GitPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (GitPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (GitPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

func (GitPermissionsOutput) RepositoryId

func (o GitPermissionsOutput) RepositoryId() pulumi.StringPtrOutput

The ID of the GIT repository to assign the permissions

func (GitPermissionsOutput) ToGitPermissionsOutput

func (o GitPermissionsOutput) ToGitPermissionsOutput() GitPermissionsOutput

func (GitPermissionsOutput) ToGitPermissionsOutputWithContext

func (o GitPermissionsOutput) ToGitPermissionsOutputWithContext(ctx context.Context) GitPermissionsOutput

type GitPermissionsState

type GitPermissionsState struct {
	// The name of the branch to assign the permissions.
	//
	// > **Note** to assign permissions to a branch, the `repositoryId` must be set as well.
	BranchName pulumi.StringPtrInput
	// the permissions to assign. The follwing permissions are available
	//
	// | Permissions             | Description                                            |
	// |-------------------------|--------------------------------------------------------|
	// | Administer              | Administer                                             |
	// | GenericRead             | Read                                                   |
	// | GenericContribute       | Contribute                                             |
	// | ForcePush               | Force push (rewrite history, delete branches and tags) |
	// | CreateBranch            | Create branch                                          |
	// | CreateTag               | Create tag                                             |
	// | ManageNote              | Manage notes                                           |
	// | PolicyExempt            | Bypass policies when pushing                           |
	// | CreateRepository        | Create repository                                      |
	// | DeleteRepository        | Delete repository                                      |
	// | RenameRepository        | Rename repository                                      |
	// | EditPolicies            | Edit policies                                          |
	// | RemoveOthersLocks       | Remove others' locks                                   |
	// | ManagePermissions       | Manage permissions                                     |
	// | PullRequestContribute   | Contribute to pull requests                            |
	// | PullRequestBypassPolicy | Bypass policies when completing pull requests          |
	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 GitRepositoryBranch

type GitRepositoryBranch struct {
	pulumi.CustomResourceState

	// The commit object ID of last commit on the branch.
	LastCommitId pulumi.StringOutput `pulumi:"lastCommitId"`
	// The name of the branch in short format not prefixed with `refs/heads/`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The reference to the source branch to create the branch from, in `<name>` or `refs/heads/<name>` format. Conflict with `refTag`, `refCommitId`.
	RefBranch pulumi.StringPtrOutput `pulumi:"refBranch"`
	// The commit object ID to create the branch from. Conflict with `refBranch`, `refTag`.
	RefCommitId pulumi.StringPtrOutput `pulumi:"refCommitId"`
	// The reference to the tag to create the branch from, in `<name>` or `refs/tags/<name>` format. Conflict with `refBranch`, `refCommitId`.
	RefTag pulumi.StringPtrOutput `pulumi:"refTag"`
	// The ID of the repository the branch is created against.
	RepositoryId pulumi.StringOutput `pulumi:"repositoryId"`
}

Manages a Git Repository Branch.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		exampleGitRepositoryBranch, err := azuredevops.NewGitRepositoryBranch(ctx, "exampleGitRepositoryBranch", &azuredevops.GitRepositoryBranchArgs{
			RepositoryId: exampleGit.ID(),
			RefBranch:    exampleGit.DefaultBranch,
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitRepositoryBranch(ctx, "exampleFromCommitId", &azuredevops.GitRepositoryBranchArgs{
			RepositoryId: exampleGit.ID(),
			RefCommitId:  exampleGitRepositoryBranch.LastCommitId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetGitRepositoryBranch

func GetGitRepositoryBranch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GitRepositoryBranchState, opts ...pulumi.ResourceOption) (*GitRepositoryBranch, error)

GetGitRepositoryBranch gets an existing GitRepositoryBranch 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 NewGitRepositoryBranch

func NewGitRepositoryBranch(ctx *pulumi.Context,
	name string, args *GitRepositoryBranchArgs, opts ...pulumi.ResourceOption) (*GitRepositoryBranch, error)

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

func (*GitRepositoryBranch) ElementType

func (*GitRepositoryBranch) ElementType() reflect.Type

func (*GitRepositoryBranch) ToGitRepositoryBranchOutput

func (i *GitRepositoryBranch) ToGitRepositoryBranchOutput() GitRepositoryBranchOutput

func (*GitRepositoryBranch) ToGitRepositoryBranchOutputWithContext

func (i *GitRepositoryBranch) ToGitRepositoryBranchOutputWithContext(ctx context.Context) GitRepositoryBranchOutput

type GitRepositoryBranchArgs

type GitRepositoryBranchArgs struct {
	// The name of the branch in short format not prefixed with `refs/heads/`.
	Name pulumi.StringPtrInput
	// The reference to the source branch to create the branch from, in `<name>` or `refs/heads/<name>` format. Conflict with `refTag`, `refCommitId`.
	RefBranch pulumi.StringPtrInput
	// The commit object ID to create the branch from. Conflict with `refBranch`, `refTag`.
	RefCommitId pulumi.StringPtrInput
	// The reference to the tag to create the branch from, in `<name>` or `refs/tags/<name>` format. Conflict with `refBranch`, `refCommitId`.
	RefTag pulumi.StringPtrInput
	// The ID of the repository the branch is created against.
	RepositoryId pulumi.StringInput
}

The set of arguments for constructing a GitRepositoryBranch resource.

func (GitRepositoryBranchArgs) ElementType

func (GitRepositoryBranchArgs) ElementType() reflect.Type

type GitRepositoryBranchArray

type GitRepositoryBranchArray []GitRepositoryBranchInput

func (GitRepositoryBranchArray) ElementType

func (GitRepositoryBranchArray) ElementType() reflect.Type

func (GitRepositoryBranchArray) ToGitRepositoryBranchArrayOutput

func (i GitRepositoryBranchArray) ToGitRepositoryBranchArrayOutput() GitRepositoryBranchArrayOutput

func (GitRepositoryBranchArray) ToGitRepositoryBranchArrayOutputWithContext

func (i GitRepositoryBranchArray) ToGitRepositoryBranchArrayOutputWithContext(ctx context.Context) GitRepositoryBranchArrayOutput

type GitRepositoryBranchArrayInput

type GitRepositoryBranchArrayInput interface {
	pulumi.Input

	ToGitRepositoryBranchArrayOutput() GitRepositoryBranchArrayOutput
	ToGitRepositoryBranchArrayOutputWithContext(context.Context) GitRepositoryBranchArrayOutput
}

GitRepositoryBranchArrayInput is an input type that accepts GitRepositoryBranchArray and GitRepositoryBranchArrayOutput values. You can construct a concrete instance of `GitRepositoryBranchArrayInput` via:

GitRepositoryBranchArray{ GitRepositoryBranchArgs{...} }

type GitRepositoryBranchArrayOutput

type GitRepositoryBranchArrayOutput struct{ *pulumi.OutputState }

func (GitRepositoryBranchArrayOutput) ElementType

func (GitRepositoryBranchArrayOutput) Index

func (GitRepositoryBranchArrayOutput) ToGitRepositoryBranchArrayOutput

func (o GitRepositoryBranchArrayOutput) ToGitRepositoryBranchArrayOutput() GitRepositoryBranchArrayOutput

func (GitRepositoryBranchArrayOutput) ToGitRepositoryBranchArrayOutputWithContext

func (o GitRepositoryBranchArrayOutput) ToGitRepositoryBranchArrayOutputWithContext(ctx context.Context) GitRepositoryBranchArrayOutput

type GitRepositoryBranchInput

type GitRepositoryBranchInput interface {
	pulumi.Input

	ToGitRepositoryBranchOutput() GitRepositoryBranchOutput
	ToGitRepositoryBranchOutputWithContext(ctx context.Context) GitRepositoryBranchOutput
}

type GitRepositoryBranchMap

type GitRepositoryBranchMap map[string]GitRepositoryBranchInput

func (GitRepositoryBranchMap) ElementType

func (GitRepositoryBranchMap) ElementType() reflect.Type

func (GitRepositoryBranchMap) ToGitRepositoryBranchMapOutput

func (i GitRepositoryBranchMap) ToGitRepositoryBranchMapOutput() GitRepositoryBranchMapOutput

func (GitRepositoryBranchMap) ToGitRepositoryBranchMapOutputWithContext

func (i GitRepositoryBranchMap) ToGitRepositoryBranchMapOutputWithContext(ctx context.Context) GitRepositoryBranchMapOutput

type GitRepositoryBranchMapInput

type GitRepositoryBranchMapInput interface {
	pulumi.Input

	ToGitRepositoryBranchMapOutput() GitRepositoryBranchMapOutput
	ToGitRepositoryBranchMapOutputWithContext(context.Context) GitRepositoryBranchMapOutput
}

GitRepositoryBranchMapInput is an input type that accepts GitRepositoryBranchMap and GitRepositoryBranchMapOutput values. You can construct a concrete instance of `GitRepositoryBranchMapInput` via:

GitRepositoryBranchMap{ "key": GitRepositoryBranchArgs{...} }

type GitRepositoryBranchMapOutput

type GitRepositoryBranchMapOutput struct{ *pulumi.OutputState }

func (GitRepositoryBranchMapOutput) ElementType

func (GitRepositoryBranchMapOutput) MapIndex

func (GitRepositoryBranchMapOutput) ToGitRepositoryBranchMapOutput

func (o GitRepositoryBranchMapOutput) ToGitRepositoryBranchMapOutput() GitRepositoryBranchMapOutput

func (GitRepositoryBranchMapOutput) ToGitRepositoryBranchMapOutputWithContext

func (o GitRepositoryBranchMapOutput) ToGitRepositoryBranchMapOutputWithContext(ctx context.Context) GitRepositoryBranchMapOutput

type GitRepositoryBranchOutput

type GitRepositoryBranchOutput struct{ *pulumi.OutputState }

func (GitRepositoryBranchOutput) ElementType

func (GitRepositoryBranchOutput) ElementType() reflect.Type

func (GitRepositoryBranchOutput) LastCommitId

The commit object ID of last commit on the branch.

func (GitRepositoryBranchOutput) Name

The name of the branch in short format not prefixed with `refs/heads/`.

func (GitRepositoryBranchOutput) RefBranch

The reference to the source branch to create the branch from, in `<name>` or `refs/heads/<name>` format. Conflict with `refTag`, `refCommitId`.

func (GitRepositoryBranchOutput) RefCommitId

The commit object ID to create the branch from. Conflict with `refBranch`, `refTag`.

func (GitRepositoryBranchOutput) RefTag

The reference to the tag to create the branch from, in `<name>` or `refs/tags/<name>` format. Conflict with `refBranch`, `refCommitId`.

func (GitRepositoryBranchOutput) RepositoryId

The ID of the repository the branch is created against.

func (GitRepositoryBranchOutput) ToGitRepositoryBranchOutput

func (o GitRepositoryBranchOutput) ToGitRepositoryBranchOutput() GitRepositoryBranchOutput

func (GitRepositoryBranchOutput) ToGitRepositoryBranchOutputWithContext

func (o GitRepositoryBranchOutput) ToGitRepositoryBranchOutputWithContext(ctx context.Context) GitRepositoryBranchOutput

type GitRepositoryBranchState

type GitRepositoryBranchState struct {
	// The commit object ID of last commit on the branch.
	LastCommitId pulumi.StringPtrInput
	// The name of the branch in short format not prefixed with `refs/heads/`.
	Name pulumi.StringPtrInput
	// The reference to the source branch to create the branch from, in `<name>` or `refs/heads/<name>` format. Conflict with `refTag`, `refCommitId`.
	RefBranch pulumi.StringPtrInput
	// The commit object ID to create the branch from. Conflict with `refBranch`, `refTag`.
	RefCommitId pulumi.StringPtrInput
	// The reference to the tag to create the branch from, in `<name>` or `refs/tags/<name>` format. Conflict with `refBranch`, `refCommitId`.
	RefTag pulumi.StringPtrInput
	// The ID of the repository the branch is created against.
	RepositoryId pulumi.StringPtrInput
}

func (GitRepositoryBranchState) ElementType

func (GitRepositoryBranchState) ElementType() reflect.Type

type GitRepositoryFile

type GitRepositoryFile struct {
	pulumi.CustomResourceState

	// Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
	// does not already exist.
	Branch pulumi.StringPtrOutput `pulumi:"branch"`
	// Commit message when adding or updating the managed file.
	CommitMessage pulumi.StringOutput `pulumi:"commitMessage"`
	// The file content.
	Content pulumi.StringOutput `pulumi:"content"`
	// The path of the file to manage.
	File pulumi.StringOutput `pulumi:"file"`
	// Enable overwriting existing files (defaults to `false`).
	OverwriteOnCreate pulumi.BoolPtrOutput `pulumi:"overwriteOnCreate"`
	// The ID of the Git repository.
	RepositoryId pulumi.StringOutput `pulumi:"repositoryId"`
}

Manage files within an Azure DevOps Git repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewGitRepositoryFile(ctx, "exampleGitRepositoryFile", &azuredevops.GitRepositoryFileArgs{
			RepositoryId:      exampleGit.ID(),
			File:              pulumi.String(".gitignore"),
			Content:           pulumi.String("**/*.tfstate"),
			Branch:            pulumi.String("refs/heads/master"),
			CommitMessage:     pulumi.String("First commit"),
			OverwriteOnCreate: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Repository files can be imported using a combination of the `repository ID` and `file`, e.g.

```sh $ pulumi import azuredevops:index/gitRepositoryFile:GitRepositoryFile example 00000000-0000-0000-0000-000000000000/.gitignore ```

To import a file from a branch other than `master`, append `:` and the branch name, e.g.

```sh $ pulumi import azuredevops:index/gitRepositoryFile:GitRepositoryFile example 00000000-0000-0000-0000-000000000000/.gitignore:refs/heads/master ```

func GetGitRepositoryFile

func GetGitRepositoryFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GitRepositoryFileState, opts ...pulumi.ResourceOption) (*GitRepositoryFile, error)

GetGitRepositoryFile gets an existing GitRepositoryFile 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 NewGitRepositoryFile

func NewGitRepositoryFile(ctx *pulumi.Context,
	name string, args *GitRepositoryFileArgs, opts ...pulumi.ResourceOption) (*GitRepositoryFile, error)

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

func (*GitRepositoryFile) ElementType

func (*GitRepositoryFile) ElementType() reflect.Type

func (*GitRepositoryFile) ToGitRepositoryFileOutput

func (i *GitRepositoryFile) ToGitRepositoryFileOutput() GitRepositoryFileOutput

func (*GitRepositoryFile) ToGitRepositoryFileOutputWithContext

func (i *GitRepositoryFile) ToGitRepositoryFileOutputWithContext(ctx context.Context) GitRepositoryFileOutput

type GitRepositoryFileArgs

type GitRepositoryFileArgs struct {
	// Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
	// does not already exist.
	Branch pulumi.StringPtrInput
	// Commit message when adding or updating the managed file.
	CommitMessage pulumi.StringPtrInput
	// The file content.
	Content pulumi.StringInput
	// The path of the file to manage.
	File pulumi.StringInput
	// Enable overwriting existing files (defaults to `false`).
	OverwriteOnCreate pulumi.BoolPtrInput
	// The ID of the Git repository.
	RepositoryId pulumi.StringInput
}

The set of arguments for constructing a GitRepositoryFile resource.

func (GitRepositoryFileArgs) ElementType

func (GitRepositoryFileArgs) ElementType() reflect.Type

type GitRepositoryFileArray

type GitRepositoryFileArray []GitRepositoryFileInput

func (GitRepositoryFileArray) ElementType

func (GitRepositoryFileArray) ElementType() reflect.Type

func (GitRepositoryFileArray) ToGitRepositoryFileArrayOutput

func (i GitRepositoryFileArray) ToGitRepositoryFileArrayOutput() GitRepositoryFileArrayOutput

func (GitRepositoryFileArray) ToGitRepositoryFileArrayOutputWithContext

func (i GitRepositoryFileArray) ToGitRepositoryFileArrayOutputWithContext(ctx context.Context) GitRepositoryFileArrayOutput

type GitRepositoryFileArrayInput

type GitRepositoryFileArrayInput interface {
	pulumi.Input

	ToGitRepositoryFileArrayOutput() GitRepositoryFileArrayOutput
	ToGitRepositoryFileArrayOutputWithContext(context.Context) GitRepositoryFileArrayOutput
}

GitRepositoryFileArrayInput is an input type that accepts GitRepositoryFileArray and GitRepositoryFileArrayOutput values. You can construct a concrete instance of `GitRepositoryFileArrayInput` via:

GitRepositoryFileArray{ GitRepositoryFileArgs{...} }

type GitRepositoryFileArrayOutput

type GitRepositoryFileArrayOutput struct{ *pulumi.OutputState }

func (GitRepositoryFileArrayOutput) ElementType

func (GitRepositoryFileArrayOutput) Index

func (GitRepositoryFileArrayOutput) ToGitRepositoryFileArrayOutput

func (o GitRepositoryFileArrayOutput) ToGitRepositoryFileArrayOutput() GitRepositoryFileArrayOutput

func (GitRepositoryFileArrayOutput) ToGitRepositoryFileArrayOutputWithContext

func (o GitRepositoryFileArrayOutput) ToGitRepositoryFileArrayOutputWithContext(ctx context.Context) GitRepositoryFileArrayOutput

type GitRepositoryFileInput

type GitRepositoryFileInput interface {
	pulumi.Input

	ToGitRepositoryFileOutput() GitRepositoryFileOutput
	ToGitRepositoryFileOutputWithContext(ctx context.Context) GitRepositoryFileOutput
}

type GitRepositoryFileMap

type GitRepositoryFileMap map[string]GitRepositoryFileInput

func (GitRepositoryFileMap) ElementType

func (GitRepositoryFileMap) ElementType() reflect.Type

func (GitRepositoryFileMap) ToGitRepositoryFileMapOutput

func (i GitRepositoryFileMap) ToGitRepositoryFileMapOutput() GitRepositoryFileMapOutput

func (GitRepositoryFileMap) ToGitRepositoryFileMapOutputWithContext

func (i GitRepositoryFileMap) ToGitRepositoryFileMapOutputWithContext(ctx context.Context) GitRepositoryFileMapOutput

type GitRepositoryFileMapInput

type GitRepositoryFileMapInput interface {
	pulumi.Input

	ToGitRepositoryFileMapOutput() GitRepositoryFileMapOutput
	ToGitRepositoryFileMapOutputWithContext(context.Context) GitRepositoryFileMapOutput
}

GitRepositoryFileMapInput is an input type that accepts GitRepositoryFileMap and GitRepositoryFileMapOutput values. You can construct a concrete instance of `GitRepositoryFileMapInput` via:

GitRepositoryFileMap{ "key": GitRepositoryFileArgs{...} }

type GitRepositoryFileMapOutput

type GitRepositoryFileMapOutput struct{ *pulumi.OutputState }

func (GitRepositoryFileMapOutput) ElementType

func (GitRepositoryFileMapOutput) ElementType() reflect.Type

func (GitRepositoryFileMapOutput) MapIndex

func (GitRepositoryFileMapOutput) ToGitRepositoryFileMapOutput

func (o GitRepositoryFileMapOutput) ToGitRepositoryFileMapOutput() GitRepositoryFileMapOutput

func (GitRepositoryFileMapOutput) ToGitRepositoryFileMapOutputWithContext

func (o GitRepositoryFileMapOutput) ToGitRepositoryFileMapOutputWithContext(ctx context.Context) GitRepositoryFileMapOutput

type GitRepositoryFileOutput

type GitRepositoryFileOutput struct{ *pulumi.OutputState }

func (GitRepositoryFileOutput) Branch

Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.

func (GitRepositoryFileOutput) CommitMessage

func (o GitRepositoryFileOutput) CommitMessage() pulumi.StringOutput

Commit message when adding or updating the managed file.

func (GitRepositoryFileOutput) Content

The file content.

func (GitRepositoryFileOutput) ElementType

func (GitRepositoryFileOutput) ElementType() reflect.Type

func (GitRepositoryFileOutput) File

The path of the file to manage.

func (GitRepositoryFileOutput) OverwriteOnCreate

func (o GitRepositoryFileOutput) OverwriteOnCreate() pulumi.BoolPtrOutput

Enable overwriting existing files (defaults to `false`).

func (GitRepositoryFileOutput) RepositoryId

func (o GitRepositoryFileOutput) RepositoryId() pulumi.StringOutput

The ID of the Git repository.

func (GitRepositoryFileOutput) ToGitRepositoryFileOutput

func (o GitRepositoryFileOutput) ToGitRepositoryFileOutput() GitRepositoryFileOutput

func (GitRepositoryFileOutput) ToGitRepositoryFileOutputWithContext

func (o GitRepositoryFileOutput) ToGitRepositoryFileOutputWithContext(ctx context.Context) GitRepositoryFileOutput

type GitRepositoryFileState

type GitRepositoryFileState struct {
	// Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
	// does not already exist.
	Branch pulumi.StringPtrInput
	// Commit message when adding or updating the managed file.
	CommitMessage pulumi.StringPtrInput
	// The file content.
	Content pulumi.StringPtrInput
	// The path of the file to manage.
	File pulumi.StringPtrInput
	// Enable overwriting existing files (defaults to `false`).
	OverwriteOnCreate pulumi.BoolPtrInput
	// The ID of the Git repository.
	RepositoryId pulumi.StringPtrInput
}

func (GitRepositoryFileState) ElementType

func (GitRepositoryFileState) ElementType() reflect.Type

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.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		example_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Contributors"),
		}, nil)
		_, err = azuredevops.NewGroup(ctx, "exampleGroup", &azuredevops.GroupArgs{
			Scope:       exampleProject.ID(),
			DisplayName: pulumi.String("Example group"),
			Description: pulumi.String("Example description"),
			Members: pulumi.StringArray{
				example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
					return &example_readers.Descriptor, nil
				}).(pulumi.StringPtrOutput),
				example_contributors.ApplyT(func(example_contributors azuredevops.GetGroupResult) (*string, error) {
					return &example_contributors.Descriptor, nil
				}).(pulumi.StringPtrOutput),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **Project & Team**: Read, Write, & Manage

## Import

Azure DevOps groups can be imported using the group identity descriptor, e.g.

```sh $ pulumi import azuredevops:index/group:Group example 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

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

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

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

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupEntitlement

type GroupEntitlement 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 group graph subject.
	Descriptor pulumi.StringOutput `pulumi:"descriptor"`
	// The display name is the name used in Azure DevOps UI. Cannot be set together with `originId` and `origin`.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
	//
	// > **NOTE:** A existing group in Azure AD can only be referenced by the combination of `originId` and `origin`.
	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 of a graph member on Azure DevOps
	PrincipalName pulumi.StringOutput `pulumi:"principalName"`
}

Manages a group entitlement within Azure DevOps.

## Example Usage

### With an Azure DevOps local group managed by this resource <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGroupEntitlement(ctx, "example", &azuredevops.GroupEntitlementArgs{
			DisplayName: pulumi.String("Group Name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### With group origin ID <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewGroupEntitlement(ctx, "example", &azuredevops.GroupEntitlementArgs{
			Origin:   pulumi.String("aad"),
			OriginId: pulumi.String("00000000-0000-0000-0000-000000000000"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Group Entitlements](https://learn.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/group-entitlements?view=azure-devops-rest-7.1) - [Programmatic mapping of access levels](https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=azure-devops#programmatic-mapping-of-access-levels)

## PAT Permissions Required

- **Member Entitlement Management**: Read & Write

## Import

The resource allows the import via the ID of a group entitlement, which is a

UUID.

```sh $ pulumi import azuredevops:index/groupEntitlement:GroupEntitlement example 00000000-0000-0000-0000-000000000000 ```

func GetGroupEntitlement

func GetGroupEntitlement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupEntitlementState, opts ...pulumi.ResourceOption) (*GroupEntitlement, error)

GetGroupEntitlement gets an existing GroupEntitlement 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 NewGroupEntitlement

func NewGroupEntitlement(ctx *pulumi.Context,
	name string, args *GroupEntitlementArgs, opts ...pulumi.ResourceOption) (*GroupEntitlement, error)

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

func (*GroupEntitlement) ElementType

func (*GroupEntitlement) ElementType() reflect.Type

func (*GroupEntitlement) ToGroupEntitlementOutput

func (i *GroupEntitlement) ToGroupEntitlementOutput() GroupEntitlementOutput

func (*GroupEntitlement) ToGroupEntitlementOutputWithContext

func (i *GroupEntitlement) ToGroupEntitlementOutputWithContext(ctx context.Context) GroupEntitlementOutput

type GroupEntitlementArgs

type GroupEntitlementArgs 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 display name is the name used in Azure DevOps UI. Cannot be set together with `originId` and `origin`.
	DisplayName pulumi.StringPtrInput
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
	//
	// > **NOTE:** A existing group in Azure AD can only be referenced by the combination of `originId` and `origin`.
	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 set of arguments for constructing a GroupEntitlement resource.

func (GroupEntitlementArgs) ElementType

func (GroupEntitlementArgs) ElementType() reflect.Type

type GroupEntitlementArray

type GroupEntitlementArray []GroupEntitlementInput

func (GroupEntitlementArray) ElementType

func (GroupEntitlementArray) ElementType() reflect.Type

func (GroupEntitlementArray) ToGroupEntitlementArrayOutput

func (i GroupEntitlementArray) ToGroupEntitlementArrayOutput() GroupEntitlementArrayOutput

func (GroupEntitlementArray) ToGroupEntitlementArrayOutputWithContext

func (i GroupEntitlementArray) ToGroupEntitlementArrayOutputWithContext(ctx context.Context) GroupEntitlementArrayOutput

type GroupEntitlementArrayInput

type GroupEntitlementArrayInput interface {
	pulumi.Input

	ToGroupEntitlementArrayOutput() GroupEntitlementArrayOutput
	ToGroupEntitlementArrayOutputWithContext(context.Context) GroupEntitlementArrayOutput
}

GroupEntitlementArrayInput is an input type that accepts GroupEntitlementArray and GroupEntitlementArrayOutput values. You can construct a concrete instance of `GroupEntitlementArrayInput` via:

GroupEntitlementArray{ GroupEntitlementArgs{...} }

type GroupEntitlementArrayOutput

type GroupEntitlementArrayOutput struct{ *pulumi.OutputState }

func (GroupEntitlementArrayOutput) ElementType

func (GroupEntitlementArrayOutput) Index

func (GroupEntitlementArrayOutput) ToGroupEntitlementArrayOutput

func (o GroupEntitlementArrayOutput) ToGroupEntitlementArrayOutput() GroupEntitlementArrayOutput

func (GroupEntitlementArrayOutput) ToGroupEntitlementArrayOutputWithContext

func (o GroupEntitlementArrayOutput) ToGroupEntitlementArrayOutputWithContext(ctx context.Context) GroupEntitlementArrayOutput

type GroupEntitlementInput

type GroupEntitlementInput interface {
	pulumi.Input

	ToGroupEntitlementOutput() GroupEntitlementOutput
	ToGroupEntitlementOutputWithContext(ctx context.Context) GroupEntitlementOutput
}

type GroupEntitlementMap

type GroupEntitlementMap map[string]GroupEntitlementInput

func (GroupEntitlementMap) ElementType

func (GroupEntitlementMap) ElementType() reflect.Type

func (GroupEntitlementMap) ToGroupEntitlementMapOutput

func (i GroupEntitlementMap) ToGroupEntitlementMapOutput() GroupEntitlementMapOutput

func (GroupEntitlementMap) ToGroupEntitlementMapOutputWithContext

func (i GroupEntitlementMap) ToGroupEntitlementMapOutputWithContext(ctx context.Context) GroupEntitlementMapOutput

type GroupEntitlementMapInput

type GroupEntitlementMapInput interface {
	pulumi.Input

	ToGroupEntitlementMapOutput() GroupEntitlementMapOutput
	ToGroupEntitlementMapOutputWithContext(context.Context) GroupEntitlementMapOutput
}

GroupEntitlementMapInput is an input type that accepts GroupEntitlementMap and GroupEntitlementMapOutput values. You can construct a concrete instance of `GroupEntitlementMapInput` via:

GroupEntitlementMap{ "key": GroupEntitlementArgs{...} }

type GroupEntitlementMapOutput

type GroupEntitlementMapOutput struct{ *pulumi.OutputState }

func (GroupEntitlementMapOutput) ElementType

func (GroupEntitlementMapOutput) ElementType() reflect.Type

func (GroupEntitlementMapOutput) MapIndex

func (GroupEntitlementMapOutput) ToGroupEntitlementMapOutput

func (o GroupEntitlementMapOutput) ToGroupEntitlementMapOutput() GroupEntitlementMapOutput

func (GroupEntitlementMapOutput) ToGroupEntitlementMapOutputWithContext

func (o GroupEntitlementMapOutput) ToGroupEntitlementMapOutputWithContext(ctx context.Context) GroupEntitlementMapOutput

type GroupEntitlementOutput

type GroupEntitlementOutput struct{ *pulumi.OutputState }

func (GroupEntitlementOutput) AccountLicenseType

func (o GroupEntitlementOutput) AccountLicenseType() pulumi.StringPtrOutput

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.

func (GroupEntitlementOutput) Descriptor

The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the group graph subject.

func (GroupEntitlementOutput) DisplayName

func (o GroupEntitlementOutput) DisplayName() pulumi.StringOutput

The display name is the name used in Azure DevOps UI. Cannot be set together with `originId` and `origin`.

func (GroupEntitlementOutput) ElementType

func (GroupEntitlementOutput) ElementType() reflect.Type

func (GroupEntitlementOutput) LicensingSource

func (o GroupEntitlementOutput) LicensingSource() pulumi.StringPtrOutput

The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`

> **NOTE:** A existing group in Azure AD can only be referenced by the combination of `originId` and `origin`.

func (GroupEntitlementOutput) Origin

The type of source provider for the origin identifier.

func (GroupEntitlementOutput) OriginId

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.

func (GroupEntitlementOutput) PrincipalName

func (o GroupEntitlementOutput) PrincipalName() pulumi.StringOutput

The principal name of a graph member on Azure DevOps

func (GroupEntitlementOutput) ToGroupEntitlementOutput

func (o GroupEntitlementOutput) ToGroupEntitlementOutput() GroupEntitlementOutput

func (GroupEntitlementOutput) ToGroupEntitlementOutputWithContext

func (o GroupEntitlementOutput) ToGroupEntitlementOutputWithContext(ctx context.Context) GroupEntitlementOutput

type GroupEntitlementState

type GroupEntitlementState 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 group graph subject.
	Descriptor pulumi.StringPtrInput
	// The display name is the name used in Azure DevOps UI. Cannot be set together with `originId` and `origin`.
	DisplayName pulumi.StringPtrInput
	// The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
	//
	// > **NOTE:** A existing group in Azure AD can only be referenced by the combination of `originId` and `origin`.
	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 of a graph member on Azure DevOps
	PrincipalName pulumi.StringPtrInput
}

func (GroupEntitlementState) ElementType

func (GroupEntitlementState) ElementType() reflect.Type

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

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

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleUser, err := azuredevops.NewUser(ctx, "exampleUser", &azuredevops.UserArgs{
			PrincipalName: pulumi.String("foo@contoso.com"),
		})
		if err != nil {
			return err
		}
		exampleGroup := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Build Administrators"),
		}, nil)
		_, err = azuredevops.NewGroupMembership(ctx, "exampleGroupMembership", &azuredevops.GroupMembershipArgs{
			Group: exampleGroup.ApplyT(func(exampleGroup azuredevops.GetGroupResult) (*string, error) {
				return &exampleGroup.Descriptor, nil
			}).(pulumi.StringPtrOutput),
			Members: pulumi.StringArray{
				exampleUser.Descriptor,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Memberships](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/memberships?view=azure-devops-rest-7.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

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

type GroupMembershipArray []GroupMembershipInput

func (GroupMembershipArray) ElementType

func (GroupMembershipArray) ElementType() reflect.Type

func (GroupMembershipArray) ToGroupMembershipArrayOutput

func (i GroupMembershipArray) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArray) ToGroupMembershipArrayOutputWithContext

func (i GroupMembershipArray) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipArrayInput

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

type GroupMembershipArrayOutput struct{ *pulumi.OutputState }

func (GroupMembershipArrayOutput) ElementType

func (GroupMembershipArrayOutput) ElementType() reflect.Type

func (GroupMembershipArrayOutput) Index

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutput

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipInput

type GroupMembershipInput interface {
	pulumi.Input

	ToGroupMembershipOutput() GroupMembershipOutput
	ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput
}

type GroupMembershipMap

type GroupMembershipMap map[string]GroupMembershipInput

func (GroupMembershipMap) ElementType

func (GroupMembershipMap) ElementType() reflect.Type

func (GroupMembershipMap) ToGroupMembershipMapOutput

func (i GroupMembershipMap) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMap) ToGroupMembershipMapOutputWithContext

func (i GroupMembershipMap) ToGroupMembershipMapOutputWithContext(ctx context.Context) GroupMembershipMapOutput

type GroupMembershipMapInput

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

type GroupMembershipMapOutput struct{ *pulumi.OutputState }

func (GroupMembershipMapOutput) ElementType

func (GroupMembershipMapOutput) ElementType() reflect.Type

func (GroupMembershipMapOutput) MapIndex

func (GroupMembershipMapOutput) ToGroupMembershipMapOutput

func (o GroupMembershipMapOutput) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMapOutput) ToGroupMembershipMapOutputWithContext

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) Group

The descriptor of the group being managed.

func (GroupMembershipOutput) Members

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.

func (GroupMembershipOutput) Mode

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`.

func (GroupMembershipOutput) ToGroupMembershipOutput

func (o GroupMembershipOutput) ToGroupMembershipOutput() GroupMembershipOutput

func (GroupMembershipOutput) ToGroupMembershipOutputWithContext

func (o GroupMembershipOutput) ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput

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) Description

func (o GroupOutput) Description() pulumi.StringPtrOutput

The Description of the Project.

func (GroupOutput) Descriptor

func (o GroupOutput) Descriptor() pulumi.StringOutput

The identity (subject) descriptor of the Group.

func (GroupOutput) DisplayName

func (o GroupOutput) DisplayName() pulumi.StringOutput

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`.

func (GroupOutput) Domain

func (o GroupOutput) Domain() pulumi.StringOutput

This represents the name of the container of origin for a graph member.

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) Mail

func (o GroupOutput) Mail() pulumi.StringOutput

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`.

func (GroupOutput) Members

func (o GroupOutput) Members() pulumi.StringArrayOutput

> 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.

func (GroupOutput) Origin

func (o GroupOutput) Origin() pulumi.StringOutput

The type of source provider for the origin identifier (ex:AD, AAD, MSA)

func (GroupOutput) OriginId

func (o GroupOutput) OriginId() pulumi.StringOutput

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`.

func (GroupOutput) PrincipalName

func (o GroupOutput) PrincipalName() pulumi.StringOutput

This is the PrincipalName of this graph member from the source provider.

func (GroupOutput) Scope

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

func (GroupOutput) SubjectKind

func (o GroupOutput) SubjectKind() pulumi.StringOutput

This field identifies the type of the graph subject (ex: Group, Scope, User).

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) Url

This url is the full route to the source resource of this graph subject.

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`
	//
	// | Permission      | Description                    |
	// |-----------------|--------------------------------|
	// | GENERIC_READ    | View permissions for this node |
	// | GENERIC_WRITE   | Edit this node                 |
	// | CREATE_CHILDREN | Create child nodes             |
	// | DELETE          | Delete this node               |
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewIterativePermissions(ctx, "example-root-permissions", &azuredevops.IterativePermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			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, "example-iteration-permissions", &azuredevops.IterativePermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

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`
	//
	// | Permission      | Description                    |
	// |-----------------|--------------------------------|
	// | GENERIC_READ    | View permissions for this node |
	// | GENERIC_WRITE   | Edit this node                 |
	// | CREATE_CHILDREN | Create child nodes             |
	// | DELETE          | Delete this node               |
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a IterativePermissions resource.

func (IterativePermissionsArgs) ElementType

func (IterativePermissionsArgs) ElementType() reflect.Type

type IterativePermissionsArray

type IterativePermissionsArray []IterativePermissionsInput

func (IterativePermissionsArray) ElementType

func (IterativePermissionsArray) ElementType() reflect.Type

func (IterativePermissionsArray) ToIterativePermissionsArrayOutput

func (i IterativePermissionsArray) ToIterativePermissionsArrayOutput() IterativePermissionsArrayOutput

func (IterativePermissionsArray) ToIterativePermissionsArrayOutputWithContext

func (i IterativePermissionsArray) ToIterativePermissionsArrayOutputWithContext(ctx context.Context) IterativePermissionsArrayOutput

type IterativePermissionsArrayInput

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

type IterativePermissionsArrayOutput struct{ *pulumi.OutputState }

func (IterativePermissionsArrayOutput) ElementType

func (IterativePermissionsArrayOutput) Index

func (IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutput

func (o IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutput() IterativePermissionsArrayOutput

func (IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutputWithContext

func (o IterativePermissionsArrayOutput) ToIterativePermissionsArrayOutputWithContext(ctx context.Context) IterativePermissionsArrayOutput

type IterativePermissionsInput

type IterativePermissionsInput interface {
	pulumi.Input

	ToIterativePermissionsOutput() IterativePermissionsOutput
	ToIterativePermissionsOutputWithContext(ctx context.Context) IterativePermissionsOutput
}

type IterativePermissionsMap

type IterativePermissionsMap map[string]IterativePermissionsInput

func (IterativePermissionsMap) ElementType

func (IterativePermissionsMap) ElementType() reflect.Type

func (IterativePermissionsMap) ToIterativePermissionsMapOutput

func (i IterativePermissionsMap) ToIterativePermissionsMapOutput() IterativePermissionsMapOutput

func (IterativePermissionsMap) ToIterativePermissionsMapOutputWithContext

func (i IterativePermissionsMap) ToIterativePermissionsMapOutputWithContext(ctx context.Context) IterativePermissionsMapOutput

type IterativePermissionsMapInput

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

type IterativePermissionsMapOutput struct{ *pulumi.OutputState }

func (IterativePermissionsMapOutput) ElementType

func (IterativePermissionsMapOutput) MapIndex

func (IterativePermissionsMapOutput) ToIterativePermissionsMapOutput

func (o IterativePermissionsMapOutput) ToIterativePermissionsMapOutput() IterativePermissionsMapOutput

func (IterativePermissionsMapOutput) ToIterativePermissionsMapOutputWithContext

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) Path

The name of the branch to assign the permissions.

func (IterativePermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (IterativePermissionsOutput) Principal

The **group** principal to assign the permissions.

func (IterativePermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (IterativePermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Permission | Description | |-----------------|--------------------------------| | GENERIC_READ | View permissions for this node | | GENERIC_WRITE | Edit this node | | CREATE_CHILDREN | Create child nodes | | DELETE | Delete this node |

func (IterativePermissionsOutput) ToIterativePermissionsOutput

func (o IterativePermissionsOutput) ToIterativePermissionsOutput() IterativePermissionsOutput

func (IterativePermissionsOutput) ToIterativePermissionsOutputWithContext

func (o IterativePermissionsOutput) ToIterativePermissionsOutputWithContext(ctx context.Context) IterativePermissionsOutput

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`
	//
	// | Permission      | Description                    |
	// |-----------------|--------------------------------|
	// | GENERIC_READ    | View permissions for this node |
	// | GENERIC_WRITE   | Edit this node                 |
	// | CREATE_CHILDREN | Create child nodes             |
	// | DELETE          | Delete this node               |
	Replace pulumi.BoolPtrInput
}

func (IterativePermissionsState) ElementType

func (IterativePermissionsState) ElementType() reflect.Type

type LibraryPermissions

type LibraryPermissions 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.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for a Library

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Description:      pulumi.String("Testing-description"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		tf_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: project.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewLibraryPermissions(ctx, "permissions", &azuredevops.LibraryPermissionsArgs{
			ProjectId: project.ID(),
			Principal: tf_project_readers.ApplyT(func(tf_project_readers azuredevops.GetGroupResult) (*string, error) {
				return &tf_project_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"View":       pulumi.String("allow"),
				"Administer": pulumi.String("allow"),
				"Use":        pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Roles

The Azure DevOps UI uses roles to assign permissions for the Library.

| Role | Allowed Permissions | | ------------- | ---------------------- | | Reader | View | | Creator | View, Create | | User | View, Use | | Administrator | View, Use, Administer |

## Relevant Links

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

## 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 GetLibraryPermissions

func GetLibraryPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LibraryPermissionsState, opts ...pulumi.ResourceOption) (*LibraryPermissions, error)

GetLibraryPermissions gets an existing LibraryPermissions 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 NewLibraryPermissions

func NewLibraryPermissions(ctx *pulumi.Context,
	name string, args *LibraryPermissionsArgs, opts ...pulumi.ResourceOption) (*LibraryPermissions, error)

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

func (*LibraryPermissions) ElementType

func (*LibraryPermissions) ElementType() reflect.Type

func (*LibraryPermissions) ToLibraryPermissionsOutput

func (i *LibraryPermissions) ToLibraryPermissionsOutput() LibraryPermissionsOutput

func (*LibraryPermissions) ToLibraryPermissionsOutputWithContext

func (i *LibraryPermissions) ToLibraryPermissionsOutputWithContext(ctx context.Context) LibraryPermissionsOutput

type LibraryPermissionsArgs

type LibraryPermissionsArgs 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.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a LibraryPermissions resource.

func (LibraryPermissionsArgs) ElementType

func (LibraryPermissionsArgs) ElementType() reflect.Type

type LibraryPermissionsArray

type LibraryPermissionsArray []LibraryPermissionsInput

func (LibraryPermissionsArray) ElementType

func (LibraryPermissionsArray) ElementType() reflect.Type

func (LibraryPermissionsArray) ToLibraryPermissionsArrayOutput

func (i LibraryPermissionsArray) ToLibraryPermissionsArrayOutput() LibraryPermissionsArrayOutput

func (LibraryPermissionsArray) ToLibraryPermissionsArrayOutputWithContext

func (i LibraryPermissionsArray) ToLibraryPermissionsArrayOutputWithContext(ctx context.Context) LibraryPermissionsArrayOutput

type LibraryPermissionsArrayInput

type LibraryPermissionsArrayInput interface {
	pulumi.Input

	ToLibraryPermissionsArrayOutput() LibraryPermissionsArrayOutput
	ToLibraryPermissionsArrayOutputWithContext(context.Context) LibraryPermissionsArrayOutput
}

LibraryPermissionsArrayInput is an input type that accepts LibraryPermissionsArray and LibraryPermissionsArrayOutput values. You can construct a concrete instance of `LibraryPermissionsArrayInput` via:

LibraryPermissionsArray{ LibraryPermissionsArgs{...} }

type LibraryPermissionsArrayOutput

type LibraryPermissionsArrayOutput struct{ *pulumi.OutputState }

func (LibraryPermissionsArrayOutput) ElementType

func (LibraryPermissionsArrayOutput) Index

func (LibraryPermissionsArrayOutput) ToLibraryPermissionsArrayOutput

func (o LibraryPermissionsArrayOutput) ToLibraryPermissionsArrayOutput() LibraryPermissionsArrayOutput

func (LibraryPermissionsArrayOutput) ToLibraryPermissionsArrayOutputWithContext

func (o LibraryPermissionsArrayOutput) ToLibraryPermissionsArrayOutputWithContext(ctx context.Context) LibraryPermissionsArrayOutput

type LibraryPermissionsInput

type LibraryPermissionsInput interface {
	pulumi.Input

	ToLibraryPermissionsOutput() LibraryPermissionsOutput
	ToLibraryPermissionsOutputWithContext(ctx context.Context) LibraryPermissionsOutput
}

type LibraryPermissionsMap

type LibraryPermissionsMap map[string]LibraryPermissionsInput

func (LibraryPermissionsMap) ElementType

func (LibraryPermissionsMap) ElementType() reflect.Type

func (LibraryPermissionsMap) ToLibraryPermissionsMapOutput

func (i LibraryPermissionsMap) ToLibraryPermissionsMapOutput() LibraryPermissionsMapOutput

func (LibraryPermissionsMap) ToLibraryPermissionsMapOutputWithContext

func (i LibraryPermissionsMap) ToLibraryPermissionsMapOutputWithContext(ctx context.Context) LibraryPermissionsMapOutput

type LibraryPermissionsMapInput

type LibraryPermissionsMapInput interface {
	pulumi.Input

	ToLibraryPermissionsMapOutput() LibraryPermissionsMapOutput
	ToLibraryPermissionsMapOutputWithContext(context.Context) LibraryPermissionsMapOutput
}

LibraryPermissionsMapInput is an input type that accepts LibraryPermissionsMap and LibraryPermissionsMapOutput values. You can construct a concrete instance of `LibraryPermissionsMapInput` via:

LibraryPermissionsMap{ "key": LibraryPermissionsArgs{...} }

type LibraryPermissionsMapOutput

type LibraryPermissionsMapOutput struct{ *pulumi.OutputState }

func (LibraryPermissionsMapOutput) ElementType

func (LibraryPermissionsMapOutput) MapIndex

func (LibraryPermissionsMapOutput) ToLibraryPermissionsMapOutput

func (o LibraryPermissionsMapOutput) ToLibraryPermissionsMapOutput() LibraryPermissionsMapOutput

func (LibraryPermissionsMapOutput) ToLibraryPermissionsMapOutputWithContext

func (o LibraryPermissionsMapOutput) ToLibraryPermissionsMapOutputWithContext(ctx context.Context) LibraryPermissionsMapOutput

type LibraryPermissionsOutput

type LibraryPermissionsOutput struct{ *pulumi.OutputState }

func (LibraryPermissionsOutput) ElementType

func (LibraryPermissionsOutput) ElementType() reflect.Type

func (LibraryPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (LibraryPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (LibraryPermissionsOutput) ProjectId

The ID of the project.

func (LibraryPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Permission | Description | | ----------------- | ----------------------------------- | | View | View library item | | Administer | Administer library item | | Create | Create library item | | ViewSecrets | View library item secrets | | Use | Use library item | | Owner | Owner library item |

func (LibraryPermissionsOutput) ToLibraryPermissionsOutput

func (o LibraryPermissionsOutput) ToLibraryPermissionsOutput() LibraryPermissionsOutput

func (LibraryPermissionsOutput) ToLibraryPermissionsOutputWithContext

func (o LibraryPermissionsOutput) ToLibraryPermissionsOutputWithContext(ctx context.Context) LibraryPermissionsOutput

type LibraryPermissionsState

type LibraryPermissionsState 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.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrInput
}

func (LibraryPermissionsState) ElementType

func (LibraryPermissionsState) ElementType() reflect.Type

type LookupBuildDefinitionArgs

type LookupBuildDefinitionArgs struct {
	// The name of this Build Definition.
	Name string `pulumi:"name"`
	// The path of the build definition. Default to `\`.
	Path *string `pulumi:"path"`
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getBuildDefinition.

type LookupBuildDefinitionOutputArgs

type LookupBuildDefinitionOutputArgs struct {
	// The name of this Build Definition.
	Name pulumi.StringInput `pulumi:"name"`
	// The path of the build definition. Default to `\`.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getBuildDefinition.

func (LookupBuildDefinitionOutputArgs) ElementType

type LookupBuildDefinitionResult

type LookupBuildDefinitionResult struct {
	// The agent pool that should execute the build.
	AgentPoolName string `pulumi:"agentPoolName"`
	// A `ciTrigger` block as defined below.
	CiTriggers []GetBuildDefinitionCiTrigger `pulumi:"ciTriggers"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the variable.
	Name      string  `pulumi:"name"`
	Path      *string `pulumi:"path"`
	ProjectId string  `pulumi:"projectId"`
	// A `pullRequestTrigger` block as defined below.
	PullRequestTriggers []GetBuildDefinitionPullRequestTrigger `pulumi:"pullRequestTriggers"`
	// The queue status of the build definition.
	QueueStatus string `pulumi:"queueStatus"`
	// A `repository` block as defined below.
	Repositories []GetBuildDefinitionRepository `pulumi:"repositories"`
	// The revision of the build definition.
	Revision int `pulumi:"revision"`
	// A `schedules` block as defined below.
	Schedules []GetBuildDefinitionSchedule `pulumi:"schedules"`
	// A list of variable group IDs.
	VariableGroups []int `pulumi:"variableGroups"`
	// A `variable` block as defined below.
	Variables []GetBuildDefinitionVariable `pulumi:"variables"`
}

A collection of values returned by getBuildDefinition.

func LookupBuildDefinition

func LookupBuildDefinition(ctx *pulumi.Context, args *LookupBuildDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupBuildDefinitionResult, error)

Use this data source to access information about an existing Build Definition.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		exampleBuildDefinition, err := azuredevops.LookupBuildDefinition(ctx, &azuredevops.LookupBuildDefinitionArgs{
			ProjectId: exampleProject.Id,
			Name:      "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", exampleBuildDefinition.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupBuildDefinitionResultOutput

type LookupBuildDefinitionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBuildDefinition.

func (LookupBuildDefinitionResultOutput) AgentPoolName

The agent pool that should execute the build.

func (LookupBuildDefinitionResultOutput) CiTriggers

A `ciTrigger` block as defined below.

func (LookupBuildDefinitionResultOutput) ElementType

func (LookupBuildDefinitionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupBuildDefinitionResultOutput) Name

The name of the variable.

func (LookupBuildDefinitionResultOutput) Path

func (LookupBuildDefinitionResultOutput) ProjectId

func (LookupBuildDefinitionResultOutput) PullRequestTriggers

A `pullRequestTrigger` block as defined below.

func (LookupBuildDefinitionResultOutput) QueueStatus

The queue status of the build definition.

func (LookupBuildDefinitionResultOutput) Repositories

A `repository` block as defined below.

func (LookupBuildDefinitionResultOutput) Revision

The revision of the build definition.

func (LookupBuildDefinitionResultOutput) Schedules

A `schedules` block as defined below.

func (LookupBuildDefinitionResultOutput) ToLookupBuildDefinitionResultOutput

func (o LookupBuildDefinitionResultOutput) ToLookupBuildDefinitionResultOutput() LookupBuildDefinitionResultOutput

func (LookupBuildDefinitionResultOutput) ToLookupBuildDefinitionResultOutputWithContext

func (o LookupBuildDefinitionResultOutput) ToLookupBuildDefinitionResultOutputWithContext(ctx context.Context) LookupBuildDefinitionResultOutput

func (LookupBuildDefinitionResultOutput) VariableGroups

A list of variable group IDs.

func (LookupBuildDefinitionResultOutput) Variables

A `variable` block as defined below.

type LookupEnvironmentArgs

type LookupEnvironmentArgs struct {
	// The ID of the Environment.
	EnvironmentId *int `pulumi:"environmentId"`
	// Name of the Environment.
	//
	// > **NOTE:** One of either `environmentId` or `name` must be specified.
	Name *string `pulumi:"name"`
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getEnvironment.

type LookupEnvironmentOutputArgs

type LookupEnvironmentOutputArgs struct {
	// The ID of the Environment.
	EnvironmentId pulumi.IntPtrInput `pulumi:"environmentId"`
	// Name of the Environment.
	//
	// > **NOTE:** One of either `environmentId` or `name` must be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getEnvironment.

func (LookupEnvironmentOutputArgs) ElementType

type LookupEnvironmentResult

type LookupEnvironmentResult struct {
	// A description for the Environment.
	Description   string `pulumi:"description"`
	EnvironmentId *int   `pulumi:"environmentId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the Environment.
	Name      string `pulumi:"name"`
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getEnvironment.

func LookupEnvironment

func LookupEnvironment(ctx *pulumi.Context, args *LookupEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupEnvironmentResult, error)

Use this data source to access information about an Environment.

type LookupEnvironmentResultOutput

type LookupEnvironmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnvironment.

func (LookupEnvironmentResultOutput) Description

A description for the Environment.

func (LookupEnvironmentResultOutput) ElementType

func (LookupEnvironmentResultOutput) EnvironmentId

func (LookupEnvironmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupEnvironmentResultOutput) Name

The name of the Environment.

func (LookupEnvironmentResultOutput) ProjectId

func (LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutput

func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutput() LookupEnvironmentResultOutput

func (LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContext

func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContext(ctx context.Context) LookupEnvironmentResultOutput

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 LookupGroupOutputArgs

type LookupGroupOutputArgs struct {
	// The Group Name.
	Name pulumi.StringInput `pulumi:"name"`
	// The Project ID. If no project ID is specified the project collection groups will be searched.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getGroup.

func (LookupGroupOutputArgs) ElementType

func (LookupGroupOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGroup, err := azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			ProjectId: pulumi.StringRef(exampleProject.Id),
			Name:      "Example Group",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("groupId", exampleGroup.Id)
		ctx.Export("groupDescriptor", exampleGroup.Descriptor)
		_, err = azuredevops.LookupGroup(ctx, &azuredevops.LookupGroupArgs{
			Name: "Project Collection Administrators",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("collectionGroupId", exampleGroup.Id)
		ctx.Export("collectionGroupDescriptor", exampleGroup.Descriptor)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Groups - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/groups/get?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **Graph**: Read - **Work Items**: Read

type LookupGroupResultOutput

type LookupGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroup.

func (LookupGroupResultOutput) Descriptor

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.

func (LookupGroupResultOutput) ElementType

func (LookupGroupResultOutput) ElementType() reflect.Type

func (LookupGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupGroupResultOutput) Name

func (LookupGroupResultOutput) Origin

The type of source provider for the origin identifier (ex:AD, AAD, MSA)

func (LookupGroupResultOutput) OriginId

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.

func (LookupGroupResultOutput) ProjectId

func (LookupGroupResultOutput) ToLookupGroupResultOutput

func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput

func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext

func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput

type LookupPoolArgs

type LookupPoolArgs struct {
	// Name of the Agent Pool.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getPool.

type LookupPoolOutputArgs

type LookupPoolOutputArgs struct {
	// Name of the Agent Pool.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getPool.

func (LookupPoolOutputArgs) ElementType

func (LookupPoolOutputArgs) ElementType() reflect.Type

type LookupPoolResult

type LookupPoolResult struct {
	AutoProvision bool `pulumi:"autoProvision"`
	AutoUpdate    bool `pulumi:"autoUpdate"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupPool(ctx, &azuredevops.LookupPoolArgs{
			Name: "Example Agent Pool",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("name", example.Name)
		ctx.Export("poolType", example.PoolType)
		ctx.Export("autoProvision", example.AutoProvision)
		ctx.Export("autoUpdate", example.AutoUpdate)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type LookupPoolResultOutput

type LookupPoolResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPool.

func (LookupPoolResultOutput) AutoProvision

func (o LookupPoolResultOutput) AutoProvision() pulumi.BoolOutput

func (LookupPoolResultOutput) AutoUpdate

func (o LookupPoolResultOutput) AutoUpdate() pulumi.BoolOutput

func (LookupPoolResultOutput) ElementType

func (LookupPoolResultOutput) ElementType() reflect.Type

func (LookupPoolResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPoolResultOutput) Name

func (LookupPoolResultOutput) PoolType

func (LookupPoolResultOutput) ToLookupPoolResultOutput

func (o LookupPoolResultOutput) ToLookupPoolResultOutput() LookupPoolResultOutput

func (LookupPoolResultOutput) ToLookupPoolResultOutputWithContext

func (o LookupPoolResultOutput) ToLookupPoolResultOutputWithContext(ctx context.Context) LookupPoolResultOutput

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 LookupProjectOutputArgs

type LookupProjectOutputArgs struct {
	// Name of the Project.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// ID of the Project.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getProject.

func (LookupProjectOutputArgs) ElementType

func (LookupProjectOutputArgs) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("project", example)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

type LookupProjectResultOutput

type LookupProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func (LookupProjectResultOutput) Description

func (LookupProjectResultOutput) ElementType

func (LookupProjectResultOutput) ElementType() reflect.Type

func (LookupProjectResultOutput) Features

func (LookupProjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupProjectResultOutput) Name

func (LookupProjectResultOutput) ProcessTemplateId

func (o LookupProjectResultOutput) ProcessTemplateId() pulumi.StringOutput

func (LookupProjectResultOutput) ProjectId

func (LookupProjectResultOutput) ToLookupProjectResultOutput

func (o LookupProjectResultOutput) ToLookupProjectResultOutput() LookupProjectResultOutput

func (LookupProjectResultOutput) ToLookupProjectResultOutputWithContext

func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx context.Context) LookupProjectResultOutput

func (LookupProjectResultOutput) VersionControl

func (o LookupProjectResultOutput) VersionControl() pulumi.StringOutput

func (LookupProjectResultOutput) Visibility

func (LookupProjectResultOutput) WorkItemTemplate

func (o LookupProjectResultOutput) WorkItemTemplate() pulumi.StringOutput

type LookupServiceEndpointAzureRMArgs

type LookupServiceEndpointAzureRMArgs struct {
	// The ID of the project.
	ProjectId string `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId *string `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	// **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
	ServiceEndpointName *string `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceEndpointAzureRM.

type LookupServiceEndpointAzureRMOutputArgs

type LookupServiceEndpointAzureRMOutputArgs struct {
	// The ID of the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// the ID of the Service Endpoint.
	ServiceEndpointId pulumi.StringPtrInput `pulumi:"serviceEndpointId"`
	// the Name of the Service Endpoint.
	//
	// > **NOTE:** One of either `serviceEndpointId` or `serviceEndpointName` must be specified.
	// **NOTE:** When supplying `serviceEndpointName`, take care to ensure that this is a unique name.
	ServiceEndpointName pulumi.StringPtrInput `pulumi:"serviceEndpointName"`
}

A collection of arguments for invoking getServiceEndpointAzureRM.

func (LookupServiceEndpointAzureRMOutputArgs) ElementType

type LookupServiceEndpointAzureRMResult

type LookupServiceEndpointAzureRMResult struct {
	// Specifies the Authorization Scheme Map.
	Authorization map[string]string `pulumi:"authorization"`
	// Specified the Management Group ID of the Service Endpoint is target, if available.
	AzurermManagementGroupId string `pulumi:"azurermManagementGroupId"`
	// Specified the Management Group Name of the Service Endpoint target, if available.
	AzurermManagementGroupName string `pulumi:"azurermManagementGroupName"`
	// Specifies the Tenant ID of the Azure targets.
	AzurermSpnTenantid string `pulumi:"azurermSpnTenantid"`
	// Specifies the Subscription ID of the Service Endpoint target, if available.
	AzurermSubscriptionId string `pulumi:"azurermSubscriptionId"`
	// Specifies the Subscription Name of the Service Endpoint target, if available.
	AzurermSubscriptionName string `pulumi:"azurermSubscriptionName"`
	// Specifies the description of the Service Endpoint.
	Description string `pulumi:"description"`
	// The Cloud Environment. Possible values are `AzureCloud` and `AzureChinaCloud`.
	Environment string `pulumi:"environment"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// Specifies the Resource Group of the Service Endpoint target, if available.
	ResourceGroup string `pulumi:"resourceGroup"`
	// Specifies the authentication scheme of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`.
	ServiceEndpointAuthenticationScheme string `pulumi:"serviceEndpointAuthenticationScheme"`
	ServiceEndpointId                   string `pulumi:"serviceEndpointId"`
	ServiceEndpointName                 string `pulumi:"serviceEndpointName"`
	// The issuer if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/f66a4bc2-08ad-4ec0-a25e-e769d6b3b294`, where the GUID is the Organization ID of your Azure DevOps Organisation.
	WorkloadIdentityFederationIssuer string `pulumi:"workloadIdentityFederationIssuer"`
	// The subject if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `sc://my-organisation/my-project/my-service-connection-name`.
	WorkloadIdentityFederationSubject string `pulumi:"workloadIdentityFederationSubject"`
}

A collection of values returned by getServiceEndpointAzureRM.

func LookupServiceEndpointAzureRM

func LookupServiceEndpointAzureRM(ctx *pulumi.Context, args *LookupServiceEndpointAzureRMArgs, opts ...pulumi.InvokeOption) (*LookupServiceEndpointAzureRMResult, error)

Use this data source to access information about an existing AzureRM service Endpoint.

## Example Usage

### By Service Endpoint ID

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sample, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Sample Project"),
		}, nil)
		if err != nil {
			return err
		}
		serviceendpoint, err := azuredevops.LookupServiceEndpointAzureRM(ctx, &azuredevops.LookupServiceEndpointAzureRMArgs{
			ProjectId:         sample.Id,
			ServiceEndpointId: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointName", serviceendpoint.ServiceEndpointName)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### By Service Endpoint Name

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sample, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Sample Project"),
		}, nil)
		if err != nil {
			return err
		}
		serviceendpoint, err := azuredevops.LookupServiceEndpointAzureRM(ctx, &azuredevops.LookupServiceEndpointAzureRMArgs{
			ProjectId:           sample.Id,
			ServiceEndpointName: pulumi.StringRef("Example-Service-Endpoint"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("serviceEndpointId", serviceendpoint.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupServiceEndpointAzureRMResultOutput

type LookupServiceEndpointAzureRMResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceEndpointAzureRM.

func (LookupServiceEndpointAzureRMResultOutput) Authorization

Specifies the Authorization Scheme Map.

func (LookupServiceEndpointAzureRMResultOutput) AzurermManagementGroupId

func (o LookupServiceEndpointAzureRMResultOutput) AzurermManagementGroupId() pulumi.StringOutput

Specified the Management Group ID of the Service Endpoint is target, if available.

func (LookupServiceEndpointAzureRMResultOutput) AzurermManagementGroupName

func (o LookupServiceEndpointAzureRMResultOutput) AzurermManagementGroupName() pulumi.StringOutput

Specified the Management Group Name of the Service Endpoint target, if available.

func (LookupServiceEndpointAzureRMResultOutput) AzurermSpnTenantid

Specifies the Tenant ID of the Azure targets.

func (LookupServiceEndpointAzureRMResultOutput) AzurermSubscriptionId

Specifies the Subscription ID of the Service Endpoint target, if available.

func (LookupServiceEndpointAzureRMResultOutput) AzurermSubscriptionName

func (o LookupServiceEndpointAzureRMResultOutput) AzurermSubscriptionName() pulumi.StringOutput

Specifies the Subscription Name of the Service Endpoint target, if available.

func (LookupServiceEndpointAzureRMResultOutput) Description

Specifies the description of the Service Endpoint.

func (LookupServiceEndpointAzureRMResultOutput) ElementType

func (LookupServiceEndpointAzureRMResultOutput) Environment

The Cloud Environment. Possible values are `AzureCloud` and `AzureChinaCloud`.

func (LookupServiceEndpointAzureRMResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceEndpointAzureRMResultOutput) ProjectId

func (LookupServiceEndpointAzureRMResultOutput) ResourceGroup

Specifies the Resource Group of the Service Endpoint target, if available.

func (LookupServiceEndpointAzureRMResultOutput) ServiceEndpointAuthenticationScheme

func (o LookupServiceEndpointAzureRMResultOutput) ServiceEndpointAuthenticationScheme() pulumi.StringOutput

Specifies the authentication scheme of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`.

func (LookupServiceEndpointAzureRMResultOutput) ServiceEndpointId

func (LookupServiceEndpointAzureRMResultOutput) ServiceEndpointName

func (LookupServiceEndpointAzureRMResultOutput) ToLookupServiceEndpointAzureRMResultOutput

func (o LookupServiceEndpointAzureRMResultOutput) ToLookupServiceEndpointAzureRMResultOutput() LookupServiceEndpointAzureRMResultOutput

func (LookupServiceEndpointAzureRMResultOutput) ToLookupServiceEndpointAzureRMResultOutputWithContext

func (o LookupServiceEndpointAzureRMResultOutput) ToLookupServiceEndpointAzureRMResultOutputWithContext(ctx context.Context) LookupServiceEndpointAzureRMResultOutput

func (LookupServiceEndpointAzureRMResultOutput) WorkloadIdentityFederationIssuer

func (o LookupServiceEndpointAzureRMResultOutput) WorkloadIdentityFederationIssuer() pulumi.StringOutput

The issuer if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/f66a4bc2-08ad-4ec0-a25e-e769d6b3b294`, where the GUID is the Organization ID of your Azure DevOps Organisation.

func (LookupServiceEndpointAzureRMResultOutput) WorkloadIdentityFederationSubject

func (o LookupServiceEndpointAzureRMResultOutput) WorkloadIdentityFederationSubject() pulumi.StringOutput

The subject if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `sc://my-organisation/my-project/my-service-connection-name`.

type LookupTeamArgs

type LookupTeamArgs struct {
	// The name of the Team.
	Name string `pulumi:"name"`
	// The Project ID.
	ProjectId string `pulumi:"projectId"`
	// The maximum number of teams to return. Defaults to `100`.
	Top *int `pulumi:"top"`
}

A collection of arguments for invoking getTeam.

type LookupTeamOutputArgs

type LookupTeamOutputArgs struct {
	// The name of the Team.
	Name pulumi.StringInput `pulumi:"name"`
	// The Project ID.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The maximum number of teams to return. Defaults to `100`.
	Top pulumi.IntPtrInput `pulumi:"top"`
}

A collection of arguments for invoking getTeam.

func (LookupTeamOutputArgs) ElementType

func (LookupTeamOutputArgs) ElementType() reflect.Type

type LookupTeamResult

type LookupTeamResult struct {
	// List of subject descriptors for `administrators` of the team.
	Administrators []string `pulumi:"administrators"`
	// Team description.
	Description string `pulumi:"description"`
	// The descriptor of the Team.
	Descriptor string `pulumi:"descriptor"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of subject descriptors for `members` of the team.
	Members   []string `pulumi:"members"`
	Name      string   `pulumi:"name"`
	ProjectId string   `pulumi:"projectId"`
	Top       *int     `pulumi:"top"`
}

A collection of values returned by getTeam.

func LookupTeam

func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)

Use this data source to access information about an existing Team in a Project within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_ = azuredevops.LookupTeamOutput(ctx, azuredevops.GetTeamOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Example Project Team"),
		}, nil)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## PAT Permissions Required

- **vso.project**: Grants the ability to read projects and teams.

type LookupTeamResultOutput

type LookupTeamResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeam.

func (LookupTeamResultOutput) Administrators

func (o LookupTeamResultOutput) Administrators() pulumi.StringArrayOutput

List of subject descriptors for `administrators` of the team.

func (LookupTeamResultOutput) Description

func (o LookupTeamResultOutput) Description() pulumi.StringOutput

Team description.

func (LookupTeamResultOutput) Descriptor

The descriptor of the Team.

func (LookupTeamResultOutput) ElementType

func (LookupTeamResultOutput) ElementType() reflect.Type

func (LookupTeamResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTeamResultOutput) Members

List of subject descriptors for `members` of the team.

func (LookupTeamResultOutput) Name

func (LookupTeamResultOutput) ProjectId

func (LookupTeamResultOutput) ToLookupTeamResultOutput

func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput

func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext

func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput

func (LookupTeamResultOutput) Top

type LookupVariableGroupArgs

type LookupVariableGroupArgs struct {
	// The name of the Variable Group to retrieve.
	Name string `pulumi:"name"`
	// The project ID.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getVariableGroup.

type LookupVariableGroupOutputArgs

type LookupVariableGroupOutputArgs struct {
	// The name of the Variable Group to retrieve.
	Name pulumi.StringInput `pulumi:"name"`
	// The project ID.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getVariableGroup.

func (LookupVariableGroupOutputArgs) ElementType

type LookupVariableGroupResult

type LookupVariableGroupResult struct {
	// Boolean that indicate if this Variable Group is shared by all pipelines of this project.
	AllowAccess bool `pulumi:"allowAccess"`
	// The description of the Variable Group.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of `keyVault` blocks as documented below.
	KeyVaults []GetVariableGroupKeyVault `pulumi:"keyVaults"`
	// The name of the Azure key vault to link secrets from as variables.
	Name      string `pulumi:"name"`
	ProjectId string `pulumi:"projectId"`
	// One or more `variable` blocks as documented below.
	Variables []GetVariableGroupVariable `pulumi:"variables"`
}

A collection of values returned by getVariableGroup.

func LookupVariableGroup

func LookupVariableGroup(ctx *pulumi.Context, args *LookupVariableGroupArgs, opts ...pulumi.InvokeOption) (*LookupVariableGroupResult, error)

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

> **Note:** Secret values are masked by service and cannot be obtained through API. [Set secret variables](<https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%!C(MISSING)batch#secret-variables>)

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		exampleVariableGroup, err := azuredevops.LookupVariableGroup(ctx, &azuredevops.LookupVariableGroupArgs{
			ProjectId: exampleProject.Id,
			Name:      "Example Variable Group",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", exampleVariableGroup.Id)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-7.0)

type LookupVariableGroupResultOutput

type LookupVariableGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVariableGroup.

func (LookupVariableGroupResultOutput) AllowAccess

Boolean that indicate if this Variable Group is shared by all pipelines of this project.

func (LookupVariableGroupResultOutput) Description

The description of the Variable Group.

func (LookupVariableGroupResultOutput) ElementType

func (LookupVariableGroupResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupVariableGroupResultOutput) KeyVaults

A list of `keyVault` blocks as documented below.

func (LookupVariableGroupResultOutput) Name

The name of the Azure key vault to link secrets from as variables.

func (LookupVariableGroupResultOutput) ProjectId

func (LookupVariableGroupResultOutput) ToLookupVariableGroupResultOutput

func (o LookupVariableGroupResultOutput) ToLookupVariableGroupResultOutput() LookupVariableGroupResultOutput

func (LookupVariableGroupResultOutput) ToLookupVariableGroupResultOutputWithContext

func (o LookupVariableGroupResultOutput) ToLookupVariableGroupResultOutputWithContext(ctx context.Context) LookupVariableGroupResultOutput

func (LookupVariableGroupResultOutput) Variables

One or more `variable` blocks as documented below.

type PipelineAuthorization

type PipelineAuthorization struct {
	pulumi.CustomResourceState

	// The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
	PipelineId pulumi.IntPtrOutput `pulumi:"pipelineId"`
	// The  ID of the project. Changing this forces a new resource to be created
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the resource to authorize. Changing this forces a new resource to be created
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// The type of the resource to authorize. Valid values: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
	//
	// > **Note** `repository` is for AzureDevOps repository. To authorize repository other than
	// Azure DevOps like GitHub you need to use service connection(`endpoint`)  to connect and authorize.
	// Typical process for connecting to GitHub:
	// **Pipeline  <----> Service Connection(`endpoint`) <----> GitHub Repository**
	Type pulumi.StringOutput `pulumi:"type"`
}

Manage pipeline access permissions to resources.

> **Note** This resource is a replacement for `ResourceAuthorization`. Pipeline authorizations managed by `ResourceAuthorization` can also be managed by this resource.

> **Note** If both "All Pipeline Authorization" and "Custom Pipeline Authorization" are configured, "All Pipeline Authorization" has higher priority.

## Example Usage

### Authorization for all pipelines

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		examplePool, err := azuredevops.NewPool(ctx, "examplePool", &azuredevops.PoolArgs{
			AutoProvision: pulumi.Bool(false),
			AutoUpdate:    pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		exampleQueue, err := azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId:   exampleProject.ID(),
			AgentPoolId: examplePool.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewPipelineAuthorization(ctx, "examplePipelineAuthorization", &azuredevops.PipelineAuthorizationArgs{
			ProjectId:  exampleProject.ID(),
			ResourceId: exampleQueue.ID(),
			Type:       pulumi.String("queue"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Authorization for specific pipeline

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		examplePool, err := azuredevops.NewPool(ctx, "examplePool", &azuredevops.PoolArgs{
			AutoProvision: pulumi.Bool(false),
			AutoUpdate:    pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		exampleQueue, err := azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId:   exampleProject.ID(),
			AgentPoolId: examplePool.ID(),
		})
		if err != nil {
			return err
		}
		exampleGitRepository := azuredevops.GetGitRepositoryOutput(ctx, azuredevops.GetGitRepositoryOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Example Project"),
		}, nil)
		exampleBuildDefinition, err := azuredevops.NewBuildDefinition(ctx, "exampleBuildDefinition", &azuredevops.BuildDefinitionArgs{
			ProjectId: exampleProject.ID(),
			Repository: &azuredevops.BuildDefinitionRepositoryArgs{
				RepoType: pulumi.String("TfsGit"),
				RepoId: exampleGitRepository.ApplyT(func(exampleGitRepository azuredevops.GetGitRepositoryResult) (*string, error) {
					return &exampleGitRepository.Id, nil
				}).(pulumi.StringPtrOutput),
				YmlPath: pulumi.String("azure-pipelines.yml"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewPipelineAuthorization(ctx, "examplePipelineAuthorization", &azuredevops.PipelineAuthorizationArgs{
			ProjectId:  exampleProject.ID(),
			ResourceId: exampleQueue.ID(),
			Type:       pulumi.String("queue"),
			PipelineId: exampleBuildDefinition.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.1 - Pipeline Permissions](https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/pipeline-permissions?view=azure-devops-rest-7.1)

func GetPipelineAuthorization

func GetPipelineAuthorization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PipelineAuthorizationState, opts ...pulumi.ResourceOption) (*PipelineAuthorization, error)

GetPipelineAuthorization gets an existing PipelineAuthorization 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 NewPipelineAuthorization

func NewPipelineAuthorization(ctx *pulumi.Context,
	name string, args *PipelineAuthorizationArgs, opts ...pulumi.ResourceOption) (*PipelineAuthorization, error)

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

func (*PipelineAuthorization) ElementType

func (*PipelineAuthorization) ElementType() reflect.Type

func (*PipelineAuthorization) ToPipelineAuthorizationOutput

func (i *PipelineAuthorization) ToPipelineAuthorizationOutput() PipelineAuthorizationOutput

func (*PipelineAuthorization) ToPipelineAuthorizationOutputWithContext

func (i *PipelineAuthorization) ToPipelineAuthorizationOutputWithContext(ctx context.Context) PipelineAuthorizationOutput

type PipelineAuthorizationArgs

type PipelineAuthorizationArgs struct {
	// The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
	PipelineId pulumi.IntPtrInput
	// The  ID of the project. Changing this forces a new resource to be created
	ProjectId pulumi.StringInput
	// The ID of the resource to authorize. Changing this forces a new resource to be created
	ResourceId pulumi.StringInput
	// The type of the resource to authorize. Valid values: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
	//
	// > **Note** `repository` is for AzureDevOps repository. To authorize repository other than
	// Azure DevOps like GitHub you need to use service connection(`endpoint`)  to connect and authorize.
	// Typical process for connecting to GitHub:
	// **Pipeline  <----> Service Connection(`endpoint`) <----> GitHub Repository**
	Type pulumi.StringInput
}

The set of arguments for constructing a PipelineAuthorization resource.

func (PipelineAuthorizationArgs) ElementType

func (PipelineAuthorizationArgs) ElementType() reflect.Type

type PipelineAuthorizationArray

type PipelineAuthorizationArray []PipelineAuthorizationInput

func (PipelineAuthorizationArray) ElementType

func (PipelineAuthorizationArray) ElementType() reflect.Type

func (PipelineAuthorizationArray) ToPipelineAuthorizationArrayOutput

func (i PipelineAuthorizationArray) ToPipelineAuthorizationArrayOutput() PipelineAuthorizationArrayOutput

func (PipelineAuthorizationArray) ToPipelineAuthorizationArrayOutputWithContext

func (i PipelineAuthorizationArray) ToPipelineAuthorizationArrayOutputWithContext(ctx context.Context) PipelineAuthorizationArrayOutput

type PipelineAuthorizationArrayInput

type PipelineAuthorizationArrayInput interface {
	pulumi.Input

	ToPipelineAuthorizationArrayOutput() PipelineAuthorizationArrayOutput
	ToPipelineAuthorizationArrayOutputWithContext(context.Context) PipelineAuthorizationArrayOutput
}

PipelineAuthorizationArrayInput is an input type that accepts PipelineAuthorizationArray and PipelineAuthorizationArrayOutput values. You can construct a concrete instance of `PipelineAuthorizationArrayInput` via:

PipelineAuthorizationArray{ PipelineAuthorizationArgs{...} }

type PipelineAuthorizationArrayOutput

type PipelineAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (PipelineAuthorizationArrayOutput) ElementType

func (PipelineAuthorizationArrayOutput) Index

func (PipelineAuthorizationArrayOutput) ToPipelineAuthorizationArrayOutput

func (o PipelineAuthorizationArrayOutput) ToPipelineAuthorizationArrayOutput() PipelineAuthorizationArrayOutput

func (PipelineAuthorizationArrayOutput) ToPipelineAuthorizationArrayOutputWithContext

func (o PipelineAuthorizationArrayOutput) ToPipelineAuthorizationArrayOutputWithContext(ctx context.Context) PipelineAuthorizationArrayOutput

type PipelineAuthorizationInput

type PipelineAuthorizationInput interface {
	pulumi.Input

	ToPipelineAuthorizationOutput() PipelineAuthorizationOutput
	ToPipelineAuthorizationOutputWithContext(ctx context.Context) PipelineAuthorizationOutput
}

type PipelineAuthorizationMap

type PipelineAuthorizationMap map[string]PipelineAuthorizationInput

func (PipelineAuthorizationMap) ElementType

func (PipelineAuthorizationMap) ElementType() reflect.Type

func (PipelineAuthorizationMap) ToPipelineAuthorizationMapOutput

func (i PipelineAuthorizationMap) ToPipelineAuthorizationMapOutput() PipelineAuthorizationMapOutput

func (PipelineAuthorizationMap) ToPipelineAuthorizationMapOutputWithContext

func (i PipelineAuthorizationMap) ToPipelineAuthorizationMapOutputWithContext(ctx context.Context) PipelineAuthorizationMapOutput

type PipelineAuthorizationMapInput

type PipelineAuthorizationMapInput interface {
	pulumi.Input

	ToPipelineAuthorizationMapOutput() PipelineAuthorizationMapOutput
	ToPipelineAuthorizationMapOutputWithContext(context.Context) PipelineAuthorizationMapOutput
}

PipelineAuthorizationMapInput is an input type that accepts PipelineAuthorizationMap and PipelineAuthorizationMapOutput values. You can construct a concrete instance of `PipelineAuthorizationMapInput` via:

PipelineAuthorizationMap{ "key": PipelineAuthorizationArgs{...} }

type PipelineAuthorizationMapOutput

type PipelineAuthorizationMapOutput struct{ *pulumi.OutputState }

func (PipelineAuthorizationMapOutput) ElementType

func (PipelineAuthorizationMapOutput) MapIndex

func (PipelineAuthorizationMapOutput) ToPipelineAuthorizationMapOutput

func (o PipelineAuthorizationMapOutput) ToPipelineAuthorizationMapOutput() PipelineAuthorizationMapOutput

func (PipelineAuthorizationMapOutput) ToPipelineAuthorizationMapOutputWithContext

func (o PipelineAuthorizationMapOutput) ToPipelineAuthorizationMapOutputWithContext(ctx context.Context) PipelineAuthorizationMapOutput

type PipelineAuthorizationOutput

type PipelineAuthorizationOutput struct{ *pulumi.OutputState }

func (PipelineAuthorizationOutput) ElementType

func (PipelineAuthorizationOutput) PipelineId

The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.

func (PipelineAuthorizationOutput) ProjectId

The ID of the project. Changing this forces a new resource to be created

func (PipelineAuthorizationOutput) ResourceId

The ID of the resource to authorize. Changing this forces a new resource to be created

func (PipelineAuthorizationOutput) ToPipelineAuthorizationOutput

func (o PipelineAuthorizationOutput) ToPipelineAuthorizationOutput() PipelineAuthorizationOutput

func (PipelineAuthorizationOutput) ToPipelineAuthorizationOutputWithContext

func (o PipelineAuthorizationOutput) ToPipelineAuthorizationOutputWithContext(ctx context.Context) PipelineAuthorizationOutput

func (PipelineAuthorizationOutput) Type

The type of the resource to authorize. Valid values: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created

> **Note** `repository` is for AzureDevOps repository. To authorize repository other than Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize. Typical process for connecting to GitHub: **Pipeline <----> Service Connection(`endpoint`) <----> GitHub Repository**

type PipelineAuthorizationState

type PipelineAuthorizationState struct {
	// The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
	PipelineId pulumi.IntPtrInput
	// The  ID of the project. Changing this forces a new resource to be created
	ProjectId pulumi.StringPtrInput
	// The ID of the resource to authorize. Changing this forces a new resource to be created
	ResourceId pulumi.StringPtrInput
	// The type of the resource to authorize. Valid values: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
	//
	// > **Note** `repository` is for AzureDevOps repository. To authorize repository other than
	// Azure DevOps like GitHub you need to use service connection(`endpoint`)  to connect and authorize.
	// Typical process for connecting to GitHub:
	// **Pipeline  <----> Service Connection(`endpoint`) <----> GitHub Repository**
	Type pulumi.StringPtrInput
}

func (PipelineAuthorizationState) ElementType

func (PipelineAuthorizationState) ElementType() reflect.Type

type Pool

type Pool struct {
	pulumi.CustomResourceState

	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrOutput `pulumi:"autoProvision"`
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate pulumi.BoolPtrOutput `pulumi:"autoUpdate"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewPool(ctx, "example", &azuredevops.PoolArgs{
			AutoProvision: pulumi.Bool(false),
			AutoUpdate:    pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.

```sh $ pulumi import azuredevops:index/pool:Pool example 0 ```

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

type PoolArgs

type PoolArgs struct {
	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate 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

type PoolArray []PoolInput

func (PoolArray) ElementType

func (PoolArray) ElementType() reflect.Type

func (PoolArray) ToPoolArrayOutput

func (i PoolArray) ToPoolArrayOutput() PoolArrayOutput

func (PoolArray) ToPoolArrayOutputWithContext

func (i PoolArray) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolArrayInput

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

type PoolArrayOutput struct{ *pulumi.OutputState }

func (PoolArrayOutput) ElementType

func (PoolArrayOutput) ElementType() reflect.Type

func (PoolArrayOutput) Index

func (PoolArrayOutput) ToPoolArrayOutput

func (o PoolArrayOutput) ToPoolArrayOutput() PoolArrayOutput

func (PoolArrayOutput) ToPoolArrayOutputWithContext

func (o PoolArrayOutput) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolInput

type PoolInput interface {
	pulumi.Input

	ToPoolOutput() PoolOutput
	ToPoolOutputWithContext(ctx context.Context) PoolOutput
}

type PoolMap

type PoolMap map[string]PoolInput

func (PoolMap) ElementType

func (PoolMap) ElementType() reflect.Type

func (PoolMap) ToPoolMapOutput

func (i PoolMap) ToPoolMapOutput() PoolMapOutput

func (PoolMap) ToPoolMapOutputWithContext

func (i PoolMap) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolMapInput

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

type PoolMapOutput struct{ *pulumi.OutputState }

func (PoolMapOutput) ElementType

func (PoolMapOutput) ElementType() reflect.Type

func (PoolMapOutput) MapIndex

func (PoolMapOutput) ToPoolMapOutput

func (o PoolMapOutput) ToPoolMapOutput() PoolMapOutput

func (PoolMapOutput) ToPoolMapOutputWithContext

func (o PoolMapOutput) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolOutput

type PoolOutput struct{ *pulumi.OutputState }

func (PoolOutput) AutoProvision

func (o PoolOutput) AutoProvision() pulumi.BoolPtrOutput

Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.

func (PoolOutput) AutoUpdate

func (o PoolOutput) AutoUpdate() pulumi.BoolPtrOutput

Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.

func (PoolOutput) ElementType

func (PoolOutput) ElementType() reflect.Type

func (PoolOutput) Name

func (o PoolOutput) Name() pulumi.StringOutput

The name of the agent pool.

func (PoolOutput) PoolType

func (o PoolOutput) PoolType() pulumi.StringPtrOutput

Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.

func (PoolOutput) ToPoolOutput

func (o PoolOutput) ToPoolOutput() PoolOutput

func (PoolOutput) ToPoolOutputWithContext

func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput

type PoolState

type PoolState struct {
	// Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
	AutoProvision pulumi.BoolPtrInput
	// Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
	AutoUpdate 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 are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	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. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
	WorkItemTemplate pulumi.StringPtrOutput `pulumi:"workItemTemplate"`
}

Manages a project within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Description: pulumi.String("Managed by Terraform"),
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 example "Example Project" ```

or

```sh $ pulumi import azuredevops:index/project:Project example 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

type ProjectArgs

type ProjectArgs struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// Defines the status (`enabled`, `disabled`) of the project features.
	// Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	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. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
	WorkItemTemplate pulumi.StringPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

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`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	Features  pulumi.StringMapOutput `pulumi:"features"`
	ProjectId pulumi.StringOutput    `pulumi:"projectId"`
}

Manages features for Azure DevOps projects

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewProjectFeatures(ctx, "example-features", &azuredevops.ProjectFeaturesArgs{
			ProjectId: example.ID(),
			Features: pulumi.StringMap{
				"testplans": pulumi.String("disabled"),
				"artifacts": pulumi.String("enabled"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 example 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

type ProjectFeaturesArgs

type ProjectFeaturesArgs struct {
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	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

type ProjectFeaturesArray []ProjectFeaturesInput

func (ProjectFeaturesArray) ElementType

func (ProjectFeaturesArray) ElementType() reflect.Type

func (ProjectFeaturesArray) ToProjectFeaturesArrayOutput

func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput

func (ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext

func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput

type ProjectFeaturesArrayInput

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

type ProjectFeaturesArrayOutput struct{ *pulumi.OutputState }

func (ProjectFeaturesArrayOutput) ElementType

func (ProjectFeaturesArrayOutput) ElementType() reflect.Type

func (ProjectFeaturesArrayOutput) Index

func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput

func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput

func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext

func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput

type ProjectFeaturesInput

type ProjectFeaturesInput interface {
	pulumi.Input

	ToProjectFeaturesOutput() ProjectFeaturesOutput
	ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
}

type ProjectFeaturesMap

type ProjectFeaturesMap map[string]ProjectFeaturesInput

func (ProjectFeaturesMap) ElementType

func (ProjectFeaturesMap) ElementType() reflect.Type

func (ProjectFeaturesMap) ToProjectFeaturesMapOutput

func (i ProjectFeaturesMap) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput

func (ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext

func (i ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput

type ProjectFeaturesMapInput

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

type ProjectFeaturesMapOutput struct{ *pulumi.OutputState }

func (ProjectFeaturesMapOutput) ElementType

func (ProjectFeaturesMapOutput) ElementType() reflect.Type

func (ProjectFeaturesMapOutput) MapIndex

func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput

func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput

func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext

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) Features

Defines the status (`enabled`, `disabled`) of the project features.\ Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`

> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and via the `features` block by using the `Project` resource. However it's not possible to use both methods to manage features, since there'll be conflicts.

func (ProjectFeaturesOutput) ProjectId

func (ProjectFeaturesOutput) ToProjectFeaturesOutput

func (o ProjectFeaturesOutput) ToProjectFeaturesOutput() ProjectFeaturesOutput

func (ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext

func (o ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput

type ProjectFeaturesState

type ProjectFeaturesState struct {
	// Defines the status (`enabled`, `disabled`) of the project features.\
	// Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	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

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Description

func (o ProjectOutput) Description() pulumi.StringPtrOutput

The Description of the Project.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Features

func (o ProjectOutput) Features() pulumi.StringMapOutput

Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`

> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and via the `features` block by using the `Project` resource. However it's not possible to use both methods to manage features, since there'll be conflicts.

func (ProjectOutput) Name

The Project Name.

func (ProjectOutput) ProcessTemplateId

func (o ProjectOutput) ProcessTemplateId() pulumi.StringOutput

The Process Template ID used by the Project.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) VersionControl

func (o ProjectOutput) VersionControl() pulumi.StringPtrOutput

Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`.

func (ProjectOutput) Visibility

func (o ProjectOutput) Visibility() pulumi.StringPtrOutput

Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`.

func (ProjectOutput) WorkItemTemplate

func (o ProjectOutput) WorkItemTemplate() pulumi.StringPtrOutput

Specifies the work item template. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.

type ProjectPermissions

type ProjectPermissions struct {
	pulumi.CustomResourceState

	// the permissions to assign. The following permissions are available
	//
	// | Permission                   | Description                                  |
	// |------------------------------|----------------------------------------------|
	// | GENERIC_READ                 | View project-level information               |
	// | GENERIC_WRITE                | Edit project-level information               |
	// | DELETE                       | Delete team project                          |
	// | PUBLISH_TEST_RESULTS         | Create test runs                             |
	// | ADMINISTER_BUILD             | Administer a build                           |
	// | START_BUILD                  | Start a build                                |
	// | EDIT_BUILD_STATUS            | Edit build quality                           |
	// | UPDATE_BUILD                 | Write to build operational store             |
	// | DELETE_TEST_RESULTS          | Delete test runs                             |
	// | VIEW_TEST_RESULTS            | View test runs                               |
	// | MANAGE_TEST_ENVIRONMENTS     | Manage test environments                     |
	// | MANAGE_TEST_CONFIGURATIONS   | Manage test configurations                   |
	// | WORK_ITEM_DELETE             | Delete and restore work items                |
	// | WORK_ITEM_MOVE               | Move work items out of this project          |
	// | WORK_ITEM_PERMANENTLY_DELETE | Permanently delete work items                |
	// | RENAME                       | Rename team project                          |
	// | MANAGE_PROPERTIES            | Manage project properties                    |
	// | MANAGE_SYSTEM_PROPERTIES     | Manage system project properties             |
	// | BYPASS_PROPERTY_CACHE        | Bypass project property cache                |
	// | BYPASS_RULES                 | Bypass rules on work item updates            |
	// | SUPPRESS_NOTIFICATIONS       | Suppress notifications for work item updates |
	// | UPDATE_VISIBILITY            | Update project visibility                    |
	// | CHANGE_PROCESS               | Change process of team project.              |
	// | AGILETOOLS_BACKLOG           | Agile backlog management.                    |
	// | AGILETOOLS_PLANS             | Agile plans.                                 |
	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.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewProjectPermissions(ctx, "example-permission", &azuredevops.ProjectPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"DELETE":              pulumi.String("Deny"),
				"EDIT_BUILD_STATUS":   pulumi.String("NotSet"),
				"WORK_ITEM_MOVE":      pulumi.String("Allow"),
				"DELETE_TEST_RESULTS": pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

type ProjectPermissionsArgs

type ProjectPermissionsArgs struct {
	// the permissions to assign. The following permissions are available
	//
	// | Permission                   | Description                                  |
	// |------------------------------|----------------------------------------------|
	// | GENERIC_READ                 | View project-level information               |
	// | GENERIC_WRITE                | Edit project-level information               |
	// | DELETE                       | Delete team project                          |
	// | PUBLISH_TEST_RESULTS         | Create test runs                             |
	// | ADMINISTER_BUILD             | Administer a build                           |
	// | START_BUILD                  | Start a build                                |
	// | EDIT_BUILD_STATUS            | Edit build quality                           |
	// | UPDATE_BUILD                 | Write to build operational store             |
	// | DELETE_TEST_RESULTS          | Delete test runs                             |
	// | VIEW_TEST_RESULTS            | View test runs                               |
	// | MANAGE_TEST_ENVIRONMENTS     | Manage test environments                     |
	// | MANAGE_TEST_CONFIGURATIONS   | Manage test configurations                   |
	// | WORK_ITEM_DELETE             | Delete and restore work items                |
	// | WORK_ITEM_MOVE               | Move work items out of this project          |
	// | WORK_ITEM_PERMANENTLY_DELETE | Permanently delete work items                |
	// | RENAME                       | Rename team project                          |
	// | MANAGE_PROPERTIES            | Manage project properties                    |
	// | MANAGE_SYSTEM_PROPERTIES     | Manage system project properties             |
	// | BYPASS_PROPERTY_CACHE        | Bypass project property cache                |
	// | BYPASS_RULES                 | Bypass rules on work item updates            |
	// | SUPPRESS_NOTIFICATIONS       | Suppress notifications for work item updates |
	// | UPDATE_VISIBILITY            | Update project visibility                    |
	// | CHANGE_PROCESS               | Change process of team project.              |
	// | AGILETOOLS_BACKLOG           | Agile backlog management.                    |
	// | AGILETOOLS_PLANS             | Agile plans.                                 |
	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

type ProjectPermissionsArray []ProjectPermissionsInput

func (ProjectPermissionsArray) ElementType

func (ProjectPermissionsArray) ElementType() reflect.Type

func (ProjectPermissionsArray) ToProjectPermissionsArrayOutput

func (i ProjectPermissionsArray) ToProjectPermissionsArrayOutput() ProjectPermissionsArrayOutput

func (ProjectPermissionsArray) ToProjectPermissionsArrayOutputWithContext

func (i ProjectPermissionsArray) ToProjectPermissionsArrayOutputWithContext(ctx context.Context) ProjectPermissionsArrayOutput

type ProjectPermissionsArrayInput

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

type ProjectPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ProjectPermissionsArrayOutput) ElementType

func (ProjectPermissionsArrayOutput) Index

func (ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutput

func (o ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutput() ProjectPermissionsArrayOutput

func (ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutputWithContext

func (o ProjectPermissionsArrayOutput) ToProjectPermissionsArrayOutputWithContext(ctx context.Context) ProjectPermissionsArrayOutput

type ProjectPermissionsInput

type ProjectPermissionsInput interface {
	pulumi.Input

	ToProjectPermissionsOutput() ProjectPermissionsOutput
	ToProjectPermissionsOutputWithContext(ctx context.Context) ProjectPermissionsOutput
}

type ProjectPermissionsMap

type ProjectPermissionsMap map[string]ProjectPermissionsInput

func (ProjectPermissionsMap) ElementType

func (ProjectPermissionsMap) ElementType() reflect.Type

func (ProjectPermissionsMap) ToProjectPermissionsMapOutput

func (i ProjectPermissionsMap) ToProjectPermissionsMapOutput() ProjectPermissionsMapOutput

func (ProjectPermissionsMap) ToProjectPermissionsMapOutputWithContext

func (i ProjectPermissionsMap) ToProjectPermissionsMapOutputWithContext(ctx context.Context) ProjectPermissionsMapOutput

type ProjectPermissionsMapInput

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

type ProjectPermissionsMapOutput struct{ *pulumi.OutputState }

func (ProjectPermissionsMapOutput) ElementType

func (ProjectPermissionsMapOutput) MapIndex

func (ProjectPermissionsMapOutput) ToProjectPermissionsMapOutput

func (o ProjectPermissionsMapOutput) ToProjectPermissionsMapOutput() ProjectPermissionsMapOutput

func (ProjectPermissionsMapOutput) ToProjectPermissionsMapOutputWithContext

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) Permissions

the permissions to assign. The following permissions are available

| Permission | Description | |------------------------------|----------------------------------------------| | GENERIC_READ | View project-level information | | GENERIC_WRITE | Edit project-level information | | DELETE | Delete team project | | PUBLISH_TEST_RESULTS | Create test runs | | ADMINISTER_BUILD | Administer a build | | START_BUILD | Start a build | | EDIT_BUILD_STATUS | Edit build quality | | UPDATE_BUILD | Write to build operational store | | DELETE_TEST_RESULTS | Delete test runs | | VIEW_TEST_RESULTS | View test runs | | MANAGE_TEST_ENVIRONMENTS | Manage test environments | | MANAGE_TEST_CONFIGURATIONS | Manage test configurations | | WORK_ITEM_DELETE | Delete and restore work items | | WORK_ITEM_MOVE | Move work items out of this project | | WORK_ITEM_PERMANENTLY_DELETE | Permanently delete work items | | RENAME | Rename team project | | MANAGE_PROPERTIES | Manage project properties | | MANAGE_SYSTEM_PROPERTIES | Manage system project properties | | BYPASS_PROPERTY_CACHE | Bypass project property cache | | BYPASS_RULES | Bypass rules on work item updates | | SUPPRESS_NOTIFICATIONS | Suppress notifications for work item updates | | UPDATE_VISIBILITY | Update project visibility | | CHANGE_PROCESS | Change process of team project. | | AGILETOOLS_BACKLOG | Agile backlog management. | | AGILETOOLS_PLANS | Agile plans. |

func (ProjectPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (ProjectPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (ProjectPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

func (ProjectPermissionsOutput) ToProjectPermissionsOutput

func (o ProjectPermissionsOutput) ToProjectPermissionsOutput() ProjectPermissionsOutput

func (ProjectPermissionsOutput) ToProjectPermissionsOutputWithContext

func (o ProjectPermissionsOutput) ToProjectPermissionsOutputWithContext(ctx context.Context) ProjectPermissionsOutput

type ProjectPermissionsState

type ProjectPermissionsState struct {
	// the permissions to assign. The following permissions are available
	//
	// | Permission                   | Description                                  |
	// |------------------------------|----------------------------------------------|
	// | GENERIC_READ                 | View project-level information               |
	// | GENERIC_WRITE                | Edit project-level information               |
	// | DELETE                       | Delete team project                          |
	// | PUBLISH_TEST_RESULTS         | Create test runs                             |
	// | ADMINISTER_BUILD             | Administer a build                           |
	// | START_BUILD                  | Start a build                                |
	// | EDIT_BUILD_STATUS            | Edit build quality                           |
	// | UPDATE_BUILD                 | Write to build operational store             |
	// | DELETE_TEST_RESULTS          | Delete test runs                             |
	// | VIEW_TEST_RESULTS            | View test runs                               |
	// | MANAGE_TEST_ENVIRONMENTS     | Manage test environments                     |
	// | MANAGE_TEST_CONFIGURATIONS   | Manage test configurations                   |
	// | WORK_ITEM_DELETE             | Delete and restore work items                |
	// | WORK_ITEM_MOVE               | Move work items out of this project          |
	// | WORK_ITEM_PERMANENTLY_DELETE | Permanently delete work items                |
	// | RENAME                       | Rename team project                          |
	// | MANAGE_PROPERTIES            | Manage project properties                    |
	// | MANAGE_SYSTEM_PROPERTIES     | Manage system project properties             |
	// | BYPASS_PROPERTY_CACHE        | Bypass project property cache                |
	// | BYPASS_RULES                 | Bypass rules on work item updates            |
	// | SUPPRESS_NOTIFICATIONS       | Suppress notifications for work item updates |
	// | UPDATE_VISIBILITY            | Update project visibility                    |
	// | CHANGE_PROCESS               | Change process of team project.              |
	// | AGILETOOLS_BACKLOG           | Agile backlog management.                    |
	// | AGILETOOLS_PLANS             | Agile plans.                                 |
	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 ProjectPipelineSettings

type ProjectPipelineSettings struct {
	pulumi.CustomResourceState

	// Limit job authorization scope to current project for non-release pipelines.
	EnforceJobScope pulumi.BoolOutput `pulumi:"enforceJobScope"`
	// Limit job authorization scope to current project for release pipelines.
	//
	// > **NOTE:**
	// The settings at the organization will override settings specified on the project.
	// For example, if `enforceJobScope` is true at the organization, the `ProjectPipelineSettings` resource cannot set it to false.
	// In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
	EnforceJobScopeForRelease pulumi.BoolOutput `pulumi:"enforceJobScopeForRelease"`
	// Protect access to repositories in YAML pipelines.
	EnforceReferencedRepoScopedToken pulumi.BoolOutput `pulumi:"enforceReferencedRepoScopedToken"`
	// Limit variables that can be set at queue time.
	EnforceSettableVar pulumi.BoolOutput `pulumi:"enforceSettableVar"`
	// The `id` of the project for which the project pipeline settings will be managed.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Publish metadata from pipelines.
	PublishPipelineMetadata pulumi.BoolOutput `pulumi:"publishPipelineMetadata"`
	// Disable anonymous access to badges.
	StatusBadgesArePrivate pulumi.BoolOutput `pulumi:"statusBadgesArePrivate"`
}

Manages Pipeline Settings for Azure DevOps projects

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewProjectPipelineSettings(ctx, "exampleProjectPipelineSettings", &azuredevops.ProjectPipelineSettingsArgs{
			ProjectId:                        exampleProject.ID(),
			EnforceJobScope:                  pulumi.Bool(true),
			EnforceReferencedRepoScopedToken: pulumi.Bool(false),
			EnforceSettableVar:               pulumi.Bool(true),
			PublishPipelineMetadata:          pulumi.Bool(false),
			StatusBadgesArePrivate:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

No official documentation available

## PAT Permissions Required

- Full Access

## Import

Azure DevOps feature settings can be imported using the project id, e.g.

```sh $ pulumi import azuredevops:index/projectPipelineSettings:ProjectPipelineSettings example 00000000-0000-0000-0000-000000000000 ```

func GetProjectPipelineSettings

func GetProjectPipelineSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectPipelineSettingsState, opts ...pulumi.ResourceOption) (*ProjectPipelineSettings, error)

GetProjectPipelineSettings gets an existing ProjectPipelineSettings 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 NewProjectPipelineSettings

func NewProjectPipelineSettings(ctx *pulumi.Context,
	name string, args *ProjectPipelineSettingsArgs, opts ...pulumi.ResourceOption) (*ProjectPipelineSettings, error)

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

func (*ProjectPipelineSettings) ElementType

func (*ProjectPipelineSettings) ElementType() reflect.Type

func (*ProjectPipelineSettings) ToProjectPipelineSettingsOutput

func (i *ProjectPipelineSettings) ToProjectPipelineSettingsOutput() ProjectPipelineSettingsOutput

func (*ProjectPipelineSettings) ToProjectPipelineSettingsOutputWithContext

func (i *ProjectPipelineSettings) ToProjectPipelineSettingsOutputWithContext(ctx context.Context) ProjectPipelineSettingsOutput

type ProjectPipelineSettingsArgs

type ProjectPipelineSettingsArgs struct {
	// Limit job authorization scope to current project for non-release pipelines.
	EnforceJobScope pulumi.BoolPtrInput
	// Limit job authorization scope to current project for release pipelines.
	//
	// > **NOTE:**
	// The settings at the organization will override settings specified on the project.
	// For example, if `enforceJobScope` is true at the organization, the `ProjectPipelineSettings` resource cannot set it to false.
	// In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
	EnforceJobScopeForRelease pulumi.BoolPtrInput
	// Protect access to repositories in YAML pipelines.
	EnforceReferencedRepoScopedToken pulumi.BoolPtrInput
	// Limit variables that can be set at queue time.
	EnforceSettableVar pulumi.BoolPtrInput
	// The `id` of the project for which the project pipeline settings will be managed.
	ProjectId pulumi.StringInput
	// Publish metadata from pipelines.
	PublishPipelineMetadata pulumi.BoolPtrInput
	// Disable anonymous access to badges.
	StatusBadgesArePrivate pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectPipelineSettings resource.

func (ProjectPipelineSettingsArgs) ElementType

type ProjectPipelineSettingsArray

type ProjectPipelineSettingsArray []ProjectPipelineSettingsInput

func (ProjectPipelineSettingsArray) ElementType

func (ProjectPipelineSettingsArray) ToProjectPipelineSettingsArrayOutput

func (i ProjectPipelineSettingsArray) ToProjectPipelineSettingsArrayOutput() ProjectPipelineSettingsArrayOutput

func (ProjectPipelineSettingsArray) ToProjectPipelineSettingsArrayOutputWithContext

func (i ProjectPipelineSettingsArray) ToProjectPipelineSettingsArrayOutputWithContext(ctx context.Context) ProjectPipelineSettingsArrayOutput

type ProjectPipelineSettingsArrayInput

type ProjectPipelineSettingsArrayInput interface {
	pulumi.Input

	ToProjectPipelineSettingsArrayOutput() ProjectPipelineSettingsArrayOutput
	ToProjectPipelineSettingsArrayOutputWithContext(context.Context) ProjectPipelineSettingsArrayOutput
}

ProjectPipelineSettingsArrayInput is an input type that accepts ProjectPipelineSettingsArray and ProjectPipelineSettingsArrayOutput values. You can construct a concrete instance of `ProjectPipelineSettingsArrayInput` via:

ProjectPipelineSettingsArray{ ProjectPipelineSettingsArgs{...} }

type ProjectPipelineSettingsArrayOutput

type ProjectPipelineSettingsArrayOutput struct{ *pulumi.OutputState }

func (ProjectPipelineSettingsArrayOutput) ElementType

func (ProjectPipelineSettingsArrayOutput) Index

func (ProjectPipelineSettingsArrayOutput) ToProjectPipelineSettingsArrayOutput

func (o ProjectPipelineSettingsArrayOutput) ToProjectPipelineSettingsArrayOutput() ProjectPipelineSettingsArrayOutput

func (ProjectPipelineSettingsArrayOutput) ToProjectPipelineSettingsArrayOutputWithContext

func (o ProjectPipelineSettingsArrayOutput) ToProjectPipelineSettingsArrayOutputWithContext(ctx context.Context) ProjectPipelineSettingsArrayOutput

type ProjectPipelineSettingsInput

type ProjectPipelineSettingsInput interface {
	pulumi.Input

	ToProjectPipelineSettingsOutput() ProjectPipelineSettingsOutput
	ToProjectPipelineSettingsOutputWithContext(ctx context.Context) ProjectPipelineSettingsOutput
}

type ProjectPipelineSettingsMap

type ProjectPipelineSettingsMap map[string]ProjectPipelineSettingsInput

func (ProjectPipelineSettingsMap) ElementType

func (ProjectPipelineSettingsMap) ElementType() reflect.Type

func (ProjectPipelineSettingsMap) ToProjectPipelineSettingsMapOutput

func (i ProjectPipelineSettingsMap) ToProjectPipelineSettingsMapOutput() ProjectPipelineSettingsMapOutput

func (ProjectPipelineSettingsMap) ToProjectPipelineSettingsMapOutputWithContext

func (i ProjectPipelineSettingsMap) ToProjectPipelineSettingsMapOutputWithContext(ctx context.Context) ProjectPipelineSettingsMapOutput

type ProjectPipelineSettingsMapInput

type ProjectPipelineSettingsMapInput interface {
	pulumi.Input

	ToProjectPipelineSettingsMapOutput() ProjectPipelineSettingsMapOutput
	ToProjectPipelineSettingsMapOutputWithContext(context.Context) ProjectPipelineSettingsMapOutput
}

ProjectPipelineSettingsMapInput is an input type that accepts ProjectPipelineSettingsMap and ProjectPipelineSettingsMapOutput values. You can construct a concrete instance of `ProjectPipelineSettingsMapInput` via:

ProjectPipelineSettingsMap{ "key": ProjectPipelineSettingsArgs{...} }

type ProjectPipelineSettingsMapOutput

type ProjectPipelineSettingsMapOutput struct{ *pulumi.OutputState }

func (ProjectPipelineSettingsMapOutput) ElementType

func (ProjectPipelineSettingsMapOutput) MapIndex

func (ProjectPipelineSettingsMapOutput) ToProjectPipelineSettingsMapOutput

func (o ProjectPipelineSettingsMapOutput) ToProjectPipelineSettingsMapOutput() ProjectPipelineSettingsMapOutput

func (ProjectPipelineSettingsMapOutput) ToProjectPipelineSettingsMapOutputWithContext

func (o ProjectPipelineSettingsMapOutput) ToProjectPipelineSettingsMapOutputWithContext(ctx context.Context) ProjectPipelineSettingsMapOutput

type ProjectPipelineSettingsOutput

type ProjectPipelineSettingsOutput struct{ *pulumi.OutputState }

func (ProjectPipelineSettingsOutput) ElementType

func (ProjectPipelineSettingsOutput) EnforceJobScope

func (o ProjectPipelineSettingsOutput) EnforceJobScope() pulumi.BoolOutput

Limit job authorization scope to current project for non-release pipelines.

func (ProjectPipelineSettingsOutput) EnforceJobScopeForRelease

func (o ProjectPipelineSettingsOutput) EnforceJobScopeForRelease() pulumi.BoolOutput

Limit job authorization scope to current project for release pipelines.

> **NOTE:** The settings at the organization will override settings specified on the project. For example, if `enforceJobScope` is true at the organization, the `ProjectPipelineSettings` resource cannot set it to false. In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.

func (ProjectPipelineSettingsOutput) EnforceReferencedRepoScopedToken

func (o ProjectPipelineSettingsOutput) EnforceReferencedRepoScopedToken() pulumi.BoolOutput

Protect access to repositories in YAML pipelines.

func (ProjectPipelineSettingsOutput) EnforceSettableVar

func (o ProjectPipelineSettingsOutput) EnforceSettableVar() pulumi.BoolOutput

Limit variables that can be set at queue time.

func (ProjectPipelineSettingsOutput) ProjectId

The `id` of the project for which the project pipeline settings will be managed.

func (ProjectPipelineSettingsOutput) PublishPipelineMetadata

func (o ProjectPipelineSettingsOutput) PublishPipelineMetadata() pulumi.BoolOutput

Publish metadata from pipelines.

func (ProjectPipelineSettingsOutput) StatusBadgesArePrivate

func (o ProjectPipelineSettingsOutput) StatusBadgesArePrivate() pulumi.BoolOutput

Disable anonymous access to badges.

func (ProjectPipelineSettingsOutput) ToProjectPipelineSettingsOutput

func (o ProjectPipelineSettingsOutput) ToProjectPipelineSettingsOutput() ProjectPipelineSettingsOutput

func (ProjectPipelineSettingsOutput) ToProjectPipelineSettingsOutputWithContext

func (o ProjectPipelineSettingsOutput) ToProjectPipelineSettingsOutputWithContext(ctx context.Context) ProjectPipelineSettingsOutput

type ProjectPipelineSettingsState

type ProjectPipelineSettingsState struct {
	// Limit job authorization scope to current project for non-release pipelines.
	EnforceJobScope pulumi.BoolPtrInput
	// Limit job authorization scope to current project for release pipelines.
	//
	// > **NOTE:**
	// The settings at the organization will override settings specified on the project.
	// For example, if `enforceJobScope` is true at the organization, the `ProjectPipelineSettings` resource cannot set it to false.
	// In this scenario, the plan will always show that the resource is trying to change `enforceJobScope` from `true` to `false`.
	EnforceJobScopeForRelease pulumi.BoolPtrInput
	// Protect access to repositories in YAML pipelines.
	EnforceReferencedRepoScopedToken pulumi.BoolPtrInput
	// Limit variables that can be set at queue time.
	EnforceSettableVar pulumi.BoolPtrInput
	// The `id` of the project for which the project pipeline settings will be managed.
	ProjectId pulumi.StringPtrInput
	// Publish metadata from pipelines.
	PublishPipelineMetadata pulumi.BoolPtrInput
	// Disable anonymous access to badges.
	StatusBadgesArePrivate pulumi.BoolPtrInput
}

func (ProjectPipelineSettingsState) ElementType

type ProjectState

type ProjectState struct {
	// The Description of the Project.
	Description pulumi.StringPtrInput
	// Defines the status (`enabled`, `disabled`) of the project features.
	// Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
	//
	// > **NOTE:**
	// It's possible to define project features both within the `ProjectFeatures` resource and
	// via the `features` block by using the `Project` resource.
	// However it's not possible to use both methods to manage features, since there'll be conflicts.
	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. Valid values: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
	WorkItemTemplate pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// Base64 encoded certificate to use to authenticate to the service principal.
	ClientCertificate pulumi.StringPtrOutput `pulumi:"clientCertificate"`
	// Password for a client certificate password.
	ClientCertificatePassword pulumi.StringPtrOutput `pulumi:"clientCertificatePassword"`
	// Path to a certificate to use to authenticate to the service principal.
	ClientCertificatePath pulumi.StringPtrOutput `pulumi:"clientCertificatePath"`
	// The service principal client or managed service principal id which should be used.
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// The service principal client id which should be used during an apply operation in Terraform Cloud.
	ClientIdApply pulumi.StringPtrOutput `pulumi:"clientIdApply"`
	// The service principal client id which should be used during a plan operation in Terraform Cloud.
	ClientIdPlan pulumi.StringPtrOutput `pulumi:"clientIdPlan"`
	// Client secret for authenticating to a service principal.
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
	// Path to a file containing a client secret for authenticating to a service principal.
	ClientSecretPath pulumi.StringPtrOutput `pulumi:"clientSecretPath"`
	// Set the audience when requesting OIDC tokens.
	OidcAudience pulumi.StringPtrOutput `pulumi:"oidcAudience"`
	// The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID
	// Connect.
	OidcRequestToken pulumi.StringPtrOutput `pulumi:"oidcRequestToken"`
	// The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal
	// using OpenID Connect.
	OidcRequestUrl pulumi.StringPtrOutput `pulumi:"oidcRequestUrl"`
	// Terraform Cloud dynamic credential provider tag.
	OidcTfcTag pulumi.StringPtrOutput `pulumi:"oidcTfcTag"`
	// OIDC token to authenticate as a service principal.
	OidcToken pulumi.StringPtrOutput `pulumi:"oidcToken"`
	// OIDC token from file to authenticate as a service principal.
	OidcTokenFilePath pulumi.StringPtrOutput `pulumi:"oidcTokenFilePath"`
	// The url of the Azure DevOps instance which should be used.
	OrgServiceUrl pulumi.StringPtrOutput `pulumi:"orgServiceUrl"`
	// The personal access token which should be used.
	PersonalAccessToken pulumi.StringPtrOutput `pulumi:"personalAccessToken"`
	// The service principal tenant id which should be used.
	TenantId pulumi.StringPtrOutput `pulumi:"tenantId"`
	// The service principal tenant id which should be used during an apply operation in Terraform Cloud..
	TenantIdApply pulumi.StringPtrOutput `pulumi:"tenantIdApply"`
	// The service principal tenant id which should be used during a plan operation in Terraform Cloud.
	TenantIdPlan pulumi.StringPtrOutput `pulumi:"tenantIdPlan"`
}

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

type ProviderArgs

type ProviderArgs struct {
	// Base64 encoded certificate to use to authenticate to the service principal.
	ClientCertificate pulumi.StringPtrInput
	// Password for a client certificate password.
	ClientCertificatePassword pulumi.StringPtrInput
	// Path to a certificate to use to authenticate to the service principal.
	ClientCertificatePath pulumi.StringPtrInput
	// The service principal client or managed service principal id which should be used.
	ClientId pulumi.StringPtrInput
	// The service principal client id which should be used during an apply operation in Terraform Cloud.
	ClientIdApply pulumi.StringPtrInput
	// The service principal client id which should be used during a plan operation in Terraform Cloud.
	ClientIdPlan pulumi.StringPtrInput
	// Client secret for authenticating to a service principal.
	ClientSecret pulumi.StringPtrInput
	// Path to a file containing a client secret for authenticating to a service principal.
	ClientSecretPath pulumi.StringPtrInput
	// Set the audience when requesting OIDC tokens.
	OidcAudience pulumi.StringPtrInput
	// The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID
	// Connect.
	OidcRequestToken pulumi.StringPtrInput
	// The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal
	// using OpenID Connect.
	OidcRequestUrl pulumi.StringPtrInput
	// Terraform Cloud dynamic credential provider tag.
	OidcTfcTag pulumi.StringPtrInput
	// OIDC token to authenticate as a service principal.
	OidcToken pulumi.StringPtrInput
	// OIDC token from file to authenticate as a service principal.
	OidcTokenFilePath pulumi.StringPtrInput
	// 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 service principal tenant id which should be used.
	TenantId pulumi.StringPtrInput
	// The service principal tenant id which should be used during an apply operation in Terraform Cloud..
	TenantIdApply pulumi.StringPtrInput
	// The service principal tenant id which should be used during a plan operation in Terraform Cloud.
	TenantIdPlan pulumi.StringPtrInput
	// Use an Azure Managed Service Identity.
	UseMsi pulumi.BoolPtrInput
	// Use an OIDC token to authenticate to a service principal.
	UseOidc pulumi.BoolPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ClientCertificate

func (o ProviderOutput) ClientCertificate() pulumi.StringPtrOutput

Base64 encoded certificate to use to authenticate to the service principal.

func (ProviderOutput) ClientCertificatePassword

func (o ProviderOutput) ClientCertificatePassword() pulumi.StringPtrOutput

Password for a client certificate password.

func (ProviderOutput) ClientCertificatePath

func (o ProviderOutput) ClientCertificatePath() pulumi.StringPtrOutput

Path to a certificate to use to authenticate to the service principal.

func (ProviderOutput) ClientId

func (o ProviderOutput) ClientId() pulumi.StringPtrOutput

The service principal client or managed service principal id which should be used.

func (ProviderOutput) ClientIdApply

func (o ProviderOutput) ClientIdApply() pulumi.StringPtrOutput

The service principal client id which should be used during an apply operation in Terraform Cloud.

func (ProviderOutput) ClientIdPlan

func (o ProviderOutput) ClientIdPlan() pulumi.StringPtrOutput

The service principal client id which should be used during a plan operation in Terraform Cloud.

func (ProviderOutput) ClientSecret

func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput

Client secret for authenticating to a service principal.

func (ProviderOutput) ClientSecretPath

func (o ProviderOutput) ClientSecretPath() pulumi.StringPtrOutput

Path to a file containing a client secret for authenticating to a service principal.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) OidcAudience

func (o ProviderOutput) OidcAudience() pulumi.StringPtrOutput

Set the audience when requesting OIDC tokens.

func (ProviderOutput) OidcRequestToken

func (o ProviderOutput) OidcRequestToken() pulumi.StringPtrOutput

The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID Connect.

func (ProviderOutput) OidcRequestUrl

func (o ProviderOutput) OidcRequestUrl() pulumi.StringPtrOutput

The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal using OpenID Connect.

func (ProviderOutput) OidcTfcTag

func (o ProviderOutput) OidcTfcTag() pulumi.StringPtrOutput

Terraform Cloud dynamic credential provider tag.

func (ProviderOutput) OidcToken

func (o ProviderOutput) OidcToken() pulumi.StringPtrOutput

OIDC token to authenticate as a service principal.

func (ProviderOutput) OidcTokenFilePath

func (o ProviderOutput) OidcTokenFilePath() pulumi.StringPtrOutput

OIDC token from file to authenticate as a service principal.

func (ProviderOutput) OrgServiceUrl

func (o ProviderOutput) OrgServiceUrl() pulumi.StringPtrOutput

The url of the Azure DevOps instance which should be used.

func (ProviderOutput) PersonalAccessToken

func (o ProviderOutput) PersonalAccessToken() pulumi.StringPtrOutput

The personal access token which should be used.

func (ProviderOutput) TenantId

func (o ProviderOutput) TenantId() pulumi.StringPtrOutput

The service principal tenant id which should be used.

func (ProviderOutput) TenantIdApply

func (o ProviderOutput) TenantIdApply() pulumi.StringPtrOutput

The service principal tenant id which should be used during an apply operation in Terraform Cloud..

func (ProviderOutput) TenantIdPlan

func (o ProviderOutput) TenantIdPlan() pulumi.StringPtrOutput

The service principal tenant id which should be used during a plan operation in Terraform Cloud.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type Queue

type Queue struct {
	pulumi.CustomResourceState

	// The ID of the organization agent pool. Conflicts with `name`.
	//
	// > **NOTE:**
	// One of `name` or `agentPoolId` must be specified, but not both.
	// When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
	AgentPoolId pulumi.IntOutput `pulumi:"agentPoolId"`
	// The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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

### Creating a Queue from an organization-level pool

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		examplePool, err := azuredevops.LookupPool(ctx, &azuredevops.LookupPoolArgs{
			Name: "example-pool",
		}, nil)
		if err != nil {
			return err
		}
		exampleQueue, err := azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId:   exampleProject.ID(),
			AgentPoolId: *pulumi.String(examplePool.Id),
		})
		if err != nil {
			return err
		}
		// Grant access to queue to all pipelines in the project
		_, err = azuredevops.NewResourceAuthorization(ctx, "exampleResourceAuthorization", &azuredevops.ResourceAuthorizationArgs{
			ProjectId:  exampleProject.ID(),
			ResourceId: exampleQueue.ID(),
			Type:       pulumi.String("queue"),
			Authorized: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Creating a Queue at the project level (Organization-level permissions not required)

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = azuredevops.NewQueue(ctx, "exampleQueue", &azuredevops.QueueArgs{
			ProjectId: *pulumi.String(exampleProject.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 example 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

type QueueArgs

type QueueArgs struct {
	// The ID of the organization agent pool. Conflicts with `name`.
	//
	// > **NOTE:**
	// One of `name` or `agentPoolId` must be specified, but not both.
	// When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
	AgentPoolId pulumi.IntPtrInput
	// The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
	Name pulumi.StringPtrInput
	// 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

type QueueArray []QueueInput

func (QueueArray) ElementType

func (QueueArray) ElementType() reflect.Type

func (QueueArray) ToQueueArrayOutput

func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput

func (QueueArray) ToQueueArrayOutputWithContext

func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueArrayInput

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

type QueueArrayOutput struct{ *pulumi.OutputState }

func (QueueArrayOutput) ElementType

func (QueueArrayOutput) ElementType() reflect.Type

func (QueueArrayOutput) Index

func (QueueArrayOutput) ToQueueArrayOutput

func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput

func (QueueArrayOutput) ToQueueArrayOutputWithContext

func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput

type QueueInput

type QueueInput interface {
	pulumi.Input

	ToQueueOutput() QueueOutput
	ToQueueOutputWithContext(ctx context.Context) QueueOutput
}

type QueueMap

type QueueMap map[string]QueueInput

func (QueueMap) ElementType

func (QueueMap) ElementType() reflect.Type

func (QueueMap) ToQueueMapOutput

func (i QueueMap) ToQueueMapOutput() QueueMapOutput

func (QueueMap) ToQueueMapOutputWithContext

func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueMapInput

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

type QueueMapOutput struct{ *pulumi.OutputState }

func (QueueMapOutput) ElementType

func (QueueMapOutput) ElementType() reflect.Type

func (QueueMapOutput) MapIndex

func (QueueMapOutput) ToQueueMapOutput

func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput

func (QueueMapOutput) ToQueueMapOutputWithContext

func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput

type QueueOutput

type QueueOutput struct{ *pulumi.OutputState }

func (QueueOutput) AgentPoolId

func (o QueueOutput) AgentPoolId() pulumi.IntOutput

The ID of the organization agent pool. Conflicts with `name`.

> **NOTE:** One of `name` or `agentPoolId` must be specified, but not both. When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.

func (QueueOutput) ElementType

func (QueueOutput) ElementType() reflect.Type

func (QueueOutput) Name

func (o QueueOutput) Name() pulumi.StringOutput

The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.

func (QueueOutput) ProjectId

func (o QueueOutput) ProjectId() pulumi.StringOutput

The ID of the project in which to create the resource.

func (QueueOutput) ToQueueOutput

func (o QueueOutput) ToQueueOutput() QueueOutput

func (QueueOutput) ToQueueOutputWithContext

func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput

type QueueState

type QueueState struct {
	// The ID of the organization agent pool. Conflicts with `name`.
	//
	// > **NOTE:**
	// One of `name` or `agentPoolId` must be specified, but not both.
	// When `agentPoolId` is specified, the agent queue name will be derived from the agent pool name.
	AgentPoolId pulumi.IntPtrInput
	// The name of the agent queue. Defaults to the ID of the agent pool. Conflicts with `agentPoolId`.
	Name pulumi.StringPtrInput
	// The ID of the project in which to create the resource.
	ProjectId pulumi.StringPtrInput
}

func (QueueState) ElementType

func (QueueState) ElementType() reflect.Type

type RepositoryPolicyAuthorEmailPattern

type RepositoryPolicyAuthorEmailPattern struct {
	pulumi.CustomResourceState

	// Block pushes with a commit author email that does not match the patterns. You can specify exact emails or use wildcards.
	// Email patterns prefixed with "!" are excluded. Order is important.
	AuthorEmailPatterns pulumi.StringArrayOutput `pulumi:"authorEmailPatterns"`
	// 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"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage author email pattern repository policy within Azure DevOps project.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyAuthorEmailPattern(ctx, "exampleRepositoryPolicyAuthorEmailPattern", &azuredevops.RepositoryPolicyAuthorEmailPatternArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			AuthorEmailPatterns: pulumi.StringArray{
				pulumi.String("user1@test.com"),
				pulumi.String("user2@test.com"),
			},
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Set project level repository policy

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyAuthorEmailPattern(ctx, "exampleRepositoryPolicyAuthorEmailPattern", &azuredevops.RepositoryPolicyAuthorEmailPatternArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			AuthorEmailPatterns: pulumi.StringArray{
				pulumi.String("user1@test.com"),
				pulumi.String("user2@test.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

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

```sh $ pulumi import azuredevops:index/repositoryPolicyAuthorEmailPattern:RepositoryPolicyAuthorEmailPattern example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyAuthorEmailPattern

func GetRepositoryPolicyAuthorEmailPattern(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyAuthorEmailPatternState, opts ...pulumi.ResourceOption) (*RepositoryPolicyAuthorEmailPattern, error)

GetRepositoryPolicyAuthorEmailPattern gets an existing RepositoryPolicyAuthorEmailPattern 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 NewRepositoryPolicyAuthorEmailPattern

func NewRepositoryPolicyAuthorEmailPattern(ctx *pulumi.Context,
	name string, args *RepositoryPolicyAuthorEmailPatternArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyAuthorEmailPattern, error)

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

func (*RepositoryPolicyAuthorEmailPattern) ElementType

func (*RepositoryPolicyAuthorEmailPattern) ToRepositoryPolicyAuthorEmailPatternOutput

func (i *RepositoryPolicyAuthorEmailPattern) ToRepositoryPolicyAuthorEmailPatternOutput() RepositoryPolicyAuthorEmailPatternOutput

func (*RepositoryPolicyAuthorEmailPattern) ToRepositoryPolicyAuthorEmailPatternOutputWithContext

func (i *RepositoryPolicyAuthorEmailPattern) ToRepositoryPolicyAuthorEmailPatternOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternOutput

type RepositoryPolicyAuthorEmailPatternArgs

type RepositoryPolicyAuthorEmailPatternArgs struct {
	// Block pushes with a commit author email that does not match the patterns. You can specify exact emails or use wildcards.
	// Email patterns prefixed with "!" are excluded. Order is important.
	AuthorEmailPatterns pulumi.StringArrayInput
	// 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyAuthorEmailPattern resource.

func (RepositoryPolicyAuthorEmailPatternArgs) ElementType

type RepositoryPolicyAuthorEmailPatternArray

type RepositoryPolicyAuthorEmailPatternArray []RepositoryPolicyAuthorEmailPatternInput

func (RepositoryPolicyAuthorEmailPatternArray) ElementType

func (RepositoryPolicyAuthorEmailPatternArray) ToRepositoryPolicyAuthorEmailPatternArrayOutput

func (i RepositoryPolicyAuthorEmailPatternArray) ToRepositoryPolicyAuthorEmailPatternArrayOutput() RepositoryPolicyAuthorEmailPatternArrayOutput

func (RepositoryPolicyAuthorEmailPatternArray) ToRepositoryPolicyAuthorEmailPatternArrayOutputWithContext

func (i RepositoryPolicyAuthorEmailPatternArray) ToRepositoryPolicyAuthorEmailPatternArrayOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternArrayOutput

type RepositoryPolicyAuthorEmailPatternArrayInput

type RepositoryPolicyAuthorEmailPatternArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyAuthorEmailPatternArrayOutput() RepositoryPolicyAuthorEmailPatternArrayOutput
	ToRepositoryPolicyAuthorEmailPatternArrayOutputWithContext(context.Context) RepositoryPolicyAuthorEmailPatternArrayOutput
}

RepositoryPolicyAuthorEmailPatternArrayInput is an input type that accepts RepositoryPolicyAuthorEmailPatternArray and RepositoryPolicyAuthorEmailPatternArrayOutput values. You can construct a concrete instance of `RepositoryPolicyAuthorEmailPatternArrayInput` via:

RepositoryPolicyAuthorEmailPatternArray{ RepositoryPolicyAuthorEmailPatternArgs{...} }

type RepositoryPolicyAuthorEmailPatternArrayOutput

type RepositoryPolicyAuthorEmailPatternArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyAuthorEmailPatternArrayOutput) ElementType

func (RepositoryPolicyAuthorEmailPatternArrayOutput) Index

func (RepositoryPolicyAuthorEmailPatternArrayOutput) ToRepositoryPolicyAuthorEmailPatternArrayOutput

func (o RepositoryPolicyAuthorEmailPatternArrayOutput) ToRepositoryPolicyAuthorEmailPatternArrayOutput() RepositoryPolicyAuthorEmailPatternArrayOutput

func (RepositoryPolicyAuthorEmailPatternArrayOutput) ToRepositoryPolicyAuthorEmailPatternArrayOutputWithContext

func (o RepositoryPolicyAuthorEmailPatternArrayOutput) ToRepositoryPolicyAuthorEmailPatternArrayOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternArrayOutput

type RepositoryPolicyAuthorEmailPatternInput

type RepositoryPolicyAuthorEmailPatternInput interface {
	pulumi.Input

	ToRepositoryPolicyAuthorEmailPatternOutput() RepositoryPolicyAuthorEmailPatternOutput
	ToRepositoryPolicyAuthorEmailPatternOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternOutput
}

type RepositoryPolicyAuthorEmailPatternMap

type RepositoryPolicyAuthorEmailPatternMap map[string]RepositoryPolicyAuthorEmailPatternInput

func (RepositoryPolicyAuthorEmailPatternMap) ElementType

func (RepositoryPolicyAuthorEmailPatternMap) ToRepositoryPolicyAuthorEmailPatternMapOutput

func (i RepositoryPolicyAuthorEmailPatternMap) ToRepositoryPolicyAuthorEmailPatternMapOutput() RepositoryPolicyAuthorEmailPatternMapOutput

func (RepositoryPolicyAuthorEmailPatternMap) ToRepositoryPolicyAuthorEmailPatternMapOutputWithContext

func (i RepositoryPolicyAuthorEmailPatternMap) ToRepositoryPolicyAuthorEmailPatternMapOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternMapOutput

type RepositoryPolicyAuthorEmailPatternMapInput

type RepositoryPolicyAuthorEmailPatternMapInput interface {
	pulumi.Input

	ToRepositoryPolicyAuthorEmailPatternMapOutput() RepositoryPolicyAuthorEmailPatternMapOutput
	ToRepositoryPolicyAuthorEmailPatternMapOutputWithContext(context.Context) RepositoryPolicyAuthorEmailPatternMapOutput
}

RepositoryPolicyAuthorEmailPatternMapInput is an input type that accepts RepositoryPolicyAuthorEmailPatternMap and RepositoryPolicyAuthorEmailPatternMapOutput values. You can construct a concrete instance of `RepositoryPolicyAuthorEmailPatternMapInput` via:

RepositoryPolicyAuthorEmailPatternMap{ "key": RepositoryPolicyAuthorEmailPatternArgs{...} }

type RepositoryPolicyAuthorEmailPatternMapOutput

type RepositoryPolicyAuthorEmailPatternMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyAuthorEmailPatternMapOutput) ElementType

func (RepositoryPolicyAuthorEmailPatternMapOutput) MapIndex

func (RepositoryPolicyAuthorEmailPatternMapOutput) ToRepositoryPolicyAuthorEmailPatternMapOutput

func (o RepositoryPolicyAuthorEmailPatternMapOutput) ToRepositoryPolicyAuthorEmailPatternMapOutput() RepositoryPolicyAuthorEmailPatternMapOutput

func (RepositoryPolicyAuthorEmailPatternMapOutput) ToRepositoryPolicyAuthorEmailPatternMapOutputWithContext

func (o RepositoryPolicyAuthorEmailPatternMapOutput) ToRepositoryPolicyAuthorEmailPatternMapOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternMapOutput

type RepositoryPolicyAuthorEmailPatternOutput

type RepositoryPolicyAuthorEmailPatternOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyAuthorEmailPatternOutput) AuthorEmailPatterns

Block pushes with a commit author email that does not match the patterns. You can specify exact emails or use wildcards. Email patterns prefixed with "!" are excluded. Order is important.

func (RepositoryPolicyAuthorEmailPatternOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyAuthorEmailPatternOutput) ElementType

func (RepositoryPolicyAuthorEmailPatternOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyAuthorEmailPatternOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyAuthorEmailPatternOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyAuthorEmailPatternOutput) ToRepositoryPolicyAuthorEmailPatternOutput

func (o RepositoryPolicyAuthorEmailPatternOutput) ToRepositoryPolicyAuthorEmailPatternOutput() RepositoryPolicyAuthorEmailPatternOutput

func (RepositoryPolicyAuthorEmailPatternOutput) ToRepositoryPolicyAuthorEmailPatternOutputWithContext

func (o RepositoryPolicyAuthorEmailPatternOutput) ToRepositoryPolicyAuthorEmailPatternOutputWithContext(ctx context.Context) RepositoryPolicyAuthorEmailPatternOutput

type RepositoryPolicyAuthorEmailPatternState

type RepositoryPolicyAuthorEmailPatternState struct {
	// Block pushes with a commit author email that does not match the patterns. You can specify exact emails or use wildcards.
	// Email patterns prefixed with "!" are excluded. Order is important.
	AuthorEmailPatterns pulumi.StringArrayInput
	// 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyAuthorEmailPatternState) ElementType

type RepositoryPolicyCaseEnforcement

type RepositoryPolicyCaseEnforcement 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"`
	// Avoid case-sensitivity conflicts by blocking pushes that change name casing on files, folders, branches, and tags.
	EnforceConsistentCase pulumi.BoolOutput `pulumi:"enforceConsistentCase"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manages a case enforcement repository policy within Azure DevOps project.

> If both project and project policy are enabled, the project policy has high priority.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyCaseEnforcement(ctx, "exampleRepositoryPolicyCaseEnforcement", &azuredevops.RepositoryPolicyCaseEnforcementArgs{
			ProjectId:             exampleProject.ID(),
			Enabled:               pulumi.Bool(true),
			Blocking:              pulumi.Bool(true),
			EnforceConsistentCase: pulumi.Bool(true),
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyCaseEnforcement(ctx, "exampleRepositoryPolicyCaseEnforcement", &azuredevops.RepositoryPolicyCaseEnforcementArgs{
			ProjectId:             exampleProject.ID(),
			Enabled:               pulumi.Bool(true),
			Blocking:              pulumi.Bool(true),
			EnforceConsistentCase: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyCaseEnforcement:RepositoryPolicyCaseEnforcement example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyCaseEnforcement

func GetRepositoryPolicyCaseEnforcement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyCaseEnforcementState, opts ...pulumi.ResourceOption) (*RepositoryPolicyCaseEnforcement, error)

GetRepositoryPolicyCaseEnforcement gets an existing RepositoryPolicyCaseEnforcement 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 NewRepositoryPolicyCaseEnforcement

func NewRepositoryPolicyCaseEnforcement(ctx *pulumi.Context,
	name string, args *RepositoryPolicyCaseEnforcementArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyCaseEnforcement, error)

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

func (*RepositoryPolicyCaseEnforcement) ElementType

func (*RepositoryPolicyCaseEnforcement) ToRepositoryPolicyCaseEnforcementOutput

func (i *RepositoryPolicyCaseEnforcement) ToRepositoryPolicyCaseEnforcementOutput() RepositoryPolicyCaseEnforcementOutput

func (*RepositoryPolicyCaseEnforcement) ToRepositoryPolicyCaseEnforcementOutputWithContext

func (i *RepositoryPolicyCaseEnforcement) ToRepositoryPolicyCaseEnforcementOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementOutput

type RepositoryPolicyCaseEnforcementArgs

type RepositoryPolicyCaseEnforcementArgs 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
	// Avoid case-sensitivity conflicts by blocking pushes that change name casing on files, folders, branches, and tags.
	EnforceConsistentCase pulumi.BoolInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyCaseEnforcement resource.

func (RepositoryPolicyCaseEnforcementArgs) ElementType

type RepositoryPolicyCaseEnforcementArray

type RepositoryPolicyCaseEnforcementArray []RepositoryPolicyCaseEnforcementInput

func (RepositoryPolicyCaseEnforcementArray) ElementType

func (RepositoryPolicyCaseEnforcementArray) ToRepositoryPolicyCaseEnforcementArrayOutput

func (i RepositoryPolicyCaseEnforcementArray) ToRepositoryPolicyCaseEnforcementArrayOutput() RepositoryPolicyCaseEnforcementArrayOutput

func (RepositoryPolicyCaseEnforcementArray) ToRepositoryPolicyCaseEnforcementArrayOutputWithContext

func (i RepositoryPolicyCaseEnforcementArray) ToRepositoryPolicyCaseEnforcementArrayOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementArrayOutput

type RepositoryPolicyCaseEnforcementArrayInput

type RepositoryPolicyCaseEnforcementArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyCaseEnforcementArrayOutput() RepositoryPolicyCaseEnforcementArrayOutput
	ToRepositoryPolicyCaseEnforcementArrayOutputWithContext(context.Context) RepositoryPolicyCaseEnforcementArrayOutput
}

RepositoryPolicyCaseEnforcementArrayInput is an input type that accepts RepositoryPolicyCaseEnforcementArray and RepositoryPolicyCaseEnforcementArrayOutput values. You can construct a concrete instance of `RepositoryPolicyCaseEnforcementArrayInput` via:

RepositoryPolicyCaseEnforcementArray{ RepositoryPolicyCaseEnforcementArgs{...} }

type RepositoryPolicyCaseEnforcementArrayOutput

type RepositoryPolicyCaseEnforcementArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCaseEnforcementArrayOutput) ElementType

func (RepositoryPolicyCaseEnforcementArrayOutput) Index

func (RepositoryPolicyCaseEnforcementArrayOutput) ToRepositoryPolicyCaseEnforcementArrayOutput

func (o RepositoryPolicyCaseEnforcementArrayOutput) ToRepositoryPolicyCaseEnforcementArrayOutput() RepositoryPolicyCaseEnforcementArrayOutput

func (RepositoryPolicyCaseEnforcementArrayOutput) ToRepositoryPolicyCaseEnforcementArrayOutputWithContext

func (o RepositoryPolicyCaseEnforcementArrayOutput) ToRepositoryPolicyCaseEnforcementArrayOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementArrayOutput

type RepositoryPolicyCaseEnforcementInput

type RepositoryPolicyCaseEnforcementInput interface {
	pulumi.Input

	ToRepositoryPolicyCaseEnforcementOutput() RepositoryPolicyCaseEnforcementOutput
	ToRepositoryPolicyCaseEnforcementOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementOutput
}

type RepositoryPolicyCaseEnforcementMap

type RepositoryPolicyCaseEnforcementMap map[string]RepositoryPolicyCaseEnforcementInput

func (RepositoryPolicyCaseEnforcementMap) ElementType

func (RepositoryPolicyCaseEnforcementMap) ToRepositoryPolicyCaseEnforcementMapOutput

func (i RepositoryPolicyCaseEnforcementMap) ToRepositoryPolicyCaseEnforcementMapOutput() RepositoryPolicyCaseEnforcementMapOutput

func (RepositoryPolicyCaseEnforcementMap) ToRepositoryPolicyCaseEnforcementMapOutputWithContext

func (i RepositoryPolicyCaseEnforcementMap) ToRepositoryPolicyCaseEnforcementMapOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementMapOutput

type RepositoryPolicyCaseEnforcementMapInput

type RepositoryPolicyCaseEnforcementMapInput interface {
	pulumi.Input

	ToRepositoryPolicyCaseEnforcementMapOutput() RepositoryPolicyCaseEnforcementMapOutput
	ToRepositoryPolicyCaseEnforcementMapOutputWithContext(context.Context) RepositoryPolicyCaseEnforcementMapOutput
}

RepositoryPolicyCaseEnforcementMapInput is an input type that accepts RepositoryPolicyCaseEnforcementMap and RepositoryPolicyCaseEnforcementMapOutput values. You can construct a concrete instance of `RepositoryPolicyCaseEnforcementMapInput` via:

RepositoryPolicyCaseEnforcementMap{ "key": RepositoryPolicyCaseEnforcementArgs{...} }

type RepositoryPolicyCaseEnforcementMapOutput

type RepositoryPolicyCaseEnforcementMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCaseEnforcementMapOutput) ElementType

func (RepositoryPolicyCaseEnforcementMapOutput) MapIndex

func (RepositoryPolicyCaseEnforcementMapOutput) ToRepositoryPolicyCaseEnforcementMapOutput

func (o RepositoryPolicyCaseEnforcementMapOutput) ToRepositoryPolicyCaseEnforcementMapOutput() RepositoryPolicyCaseEnforcementMapOutput

func (RepositoryPolicyCaseEnforcementMapOutput) ToRepositoryPolicyCaseEnforcementMapOutputWithContext

func (o RepositoryPolicyCaseEnforcementMapOutput) ToRepositoryPolicyCaseEnforcementMapOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementMapOutput

type RepositoryPolicyCaseEnforcementOutput

type RepositoryPolicyCaseEnforcementOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCaseEnforcementOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyCaseEnforcementOutput) ElementType

func (RepositoryPolicyCaseEnforcementOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyCaseEnforcementOutput) EnforceConsistentCase

func (o RepositoryPolicyCaseEnforcementOutput) EnforceConsistentCase() pulumi.BoolOutput

Avoid case-sensitivity conflicts by blocking pushes that change name casing on files, folders, branches, and tags.

func (RepositoryPolicyCaseEnforcementOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyCaseEnforcementOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyCaseEnforcementOutput) ToRepositoryPolicyCaseEnforcementOutput

func (o RepositoryPolicyCaseEnforcementOutput) ToRepositoryPolicyCaseEnforcementOutput() RepositoryPolicyCaseEnforcementOutput

func (RepositoryPolicyCaseEnforcementOutput) ToRepositoryPolicyCaseEnforcementOutputWithContext

func (o RepositoryPolicyCaseEnforcementOutput) ToRepositoryPolicyCaseEnforcementOutputWithContext(ctx context.Context) RepositoryPolicyCaseEnforcementOutput

type RepositoryPolicyCaseEnforcementState

type RepositoryPolicyCaseEnforcementState 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
	// Avoid case-sensitivity conflicts by blocking pushes that change name casing on files, folders, branches, and tags.
	EnforceConsistentCase pulumi.BoolPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyCaseEnforcementState) ElementType

type RepositoryPolicyCheckCredentials

type RepositoryPolicyCheckCredentials 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"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage a credentials check repository policy within Azure DevOps project. Block pushes that introduce files, folders, or branch names that include platform reserved names or incompatible characters.

> If both project and project policy are enabled, the project policy has high priority.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyCheckCredentials(ctx, "exampleRepositoryPolicyCheckCredentials", &azuredevops.RepositoryPolicyCheckCredentialsArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyCheckCredentials(ctx, "exampleRepositoryPolicyCheckCredentials", &azuredevops.RepositoryPolicyCheckCredentialsArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyCheckCredentials:RepositoryPolicyCheckCredentials example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyCheckCredentials

func GetRepositoryPolicyCheckCredentials(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyCheckCredentialsState, opts ...pulumi.ResourceOption) (*RepositoryPolicyCheckCredentials, error)

GetRepositoryPolicyCheckCredentials gets an existing RepositoryPolicyCheckCredentials 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 NewRepositoryPolicyCheckCredentials

func NewRepositoryPolicyCheckCredentials(ctx *pulumi.Context,
	name string, args *RepositoryPolicyCheckCredentialsArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyCheckCredentials, error)

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

func (*RepositoryPolicyCheckCredentials) ElementType

func (*RepositoryPolicyCheckCredentials) ToRepositoryPolicyCheckCredentialsOutput

func (i *RepositoryPolicyCheckCredentials) ToRepositoryPolicyCheckCredentialsOutput() RepositoryPolicyCheckCredentialsOutput

func (*RepositoryPolicyCheckCredentials) ToRepositoryPolicyCheckCredentialsOutputWithContext

func (i *RepositoryPolicyCheckCredentials) ToRepositoryPolicyCheckCredentialsOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsOutput

type RepositoryPolicyCheckCredentialsArgs

type RepositoryPolicyCheckCredentialsArgs 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyCheckCredentials resource.

func (RepositoryPolicyCheckCredentialsArgs) ElementType

type RepositoryPolicyCheckCredentialsArray

type RepositoryPolicyCheckCredentialsArray []RepositoryPolicyCheckCredentialsInput

func (RepositoryPolicyCheckCredentialsArray) ElementType

func (RepositoryPolicyCheckCredentialsArray) ToRepositoryPolicyCheckCredentialsArrayOutput

func (i RepositoryPolicyCheckCredentialsArray) ToRepositoryPolicyCheckCredentialsArrayOutput() RepositoryPolicyCheckCredentialsArrayOutput

func (RepositoryPolicyCheckCredentialsArray) ToRepositoryPolicyCheckCredentialsArrayOutputWithContext

func (i RepositoryPolicyCheckCredentialsArray) ToRepositoryPolicyCheckCredentialsArrayOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsArrayOutput

type RepositoryPolicyCheckCredentialsArrayInput

type RepositoryPolicyCheckCredentialsArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyCheckCredentialsArrayOutput() RepositoryPolicyCheckCredentialsArrayOutput
	ToRepositoryPolicyCheckCredentialsArrayOutputWithContext(context.Context) RepositoryPolicyCheckCredentialsArrayOutput
}

RepositoryPolicyCheckCredentialsArrayInput is an input type that accepts RepositoryPolicyCheckCredentialsArray and RepositoryPolicyCheckCredentialsArrayOutput values. You can construct a concrete instance of `RepositoryPolicyCheckCredentialsArrayInput` via:

RepositoryPolicyCheckCredentialsArray{ RepositoryPolicyCheckCredentialsArgs{...} }

type RepositoryPolicyCheckCredentialsArrayOutput

type RepositoryPolicyCheckCredentialsArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCheckCredentialsArrayOutput) ElementType

func (RepositoryPolicyCheckCredentialsArrayOutput) Index

func (RepositoryPolicyCheckCredentialsArrayOutput) ToRepositoryPolicyCheckCredentialsArrayOutput

func (o RepositoryPolicyCheckCredentialsArrayOutput) ToRepositoryPolicyCheckCredentialsArrayOutput() RepositoryPolicyCheckCredentialsArrayOutput

func (RepositoryPolicyCheckCredentialsArrayOutput) ToRepositoryPolicyCheckCredentialsArrayOutputWithContext

func (o RepositoryPolicyCheckCredentialsArrayOutput) ToRepositoryPolicyCheckCredentialsArrayOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsArrayOutput

type RepositoryPolicyCheckCredentialsInput

type RepositoryPolicyCheckCredentialsInput interface {
	pulumi.Input

	ToRepositoryPolicyCheckCredentialsOutput() RepositoryPolicyCheckCredentialsOutput
	ToRepositoryPolicyCheckCredentialsOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsOutput
}

type RepositoryPolicyCheckCredentialsMap

type RepositoryPolicyCheckCredentialsMap map[string]RepositoryPolicyCheckCredentialsInput

func (RepositoryPolicyCheckCredentialsMap) ElementType

func (RepositoryPolicyCheckCredentialsMap) ToRepositoryPolicyCheckCredentialsMapOutput

func (i RepositoryPolicyCheckCredentialsMap) ToRepositoryPolicyCheckCredentialsMapOutput() RepositoryPolicyCheckCredentialsMapOutput

func (RepositoryPolicyCheckCredentialsMap) ToRepositoryPolicyCheckCredentialsMapOutputWithContext

func (i RepositoryPolicyCheckCredentialsMap) ToRepositoryPolicyCheckCredentialsMapOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsMapOutput

type RepositoryPolicyCheckCredentialsMapInput

type RepositoryPolicyCheckCredentialsMapInput interface {
	pulumi.Input

	ToRepositoryPolicyCheckCredentialsMapOutput() RepositoryPolicyCheckCredentialsMapOutput
	ToRepositoryPolicyCheckCredentialsMapOutputWithContext(context.Context) RepositoryPolicyCheckCredentialsMapOutput
}

RepositoryPolicyCheckCredentialsMapInput is an input type that accepts RepositoryPolicyCheckCredentialsMap and RepositoryPolicyCheckCredentialsMapOutput values. You can construct a concrete instance of `RepositoryPolicyCheckCredentialsMapInput` via:

RepositoryPolicyCheckCredentialsMap{ "key": RepositoryPolicyCheckCredentialsArgs{...} }

type RepositoryPolicyCheckCredentialsMapOutput

type RepositoryPolicyCheckCredentialsMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCheckCredentialsMapOutput) ElementType

func (RepositoryPolicyCheckCredentialsMapOutput) MapIndex

func (RepositoryPolicyCheckCredentialsMapOutput) ToRepositoryPolicyCheckCredentialsMapOutput

func (o RepositoryPolicyCheckCredentialsMapOutput) ToRepositoryPolicyCheckCredentialsMapOutput() RepositoryPolicyCheckCredentialsMapOutput

func (RepositoryPolicyCheckCredentialsMapOutput) ToRepositoryPolicyCheckCredentialsMapOutputWithContext

func (o RepositoryPolicyCheckCredentialsMapOutput) ToRepositoryPolicyCheckCredentialsMapOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsMapOutput

type RepositoryPolicyCheckCredentialsOutput

type RepositoryPolicyCheckCredentialsOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyCheckCredentialsOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyCheckCredentialsOutput) ElementType

func (RepositoryPolicyCheckCredentialsOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyCheckCredentialsOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyCheckCredentialsOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyCheckCredentialsOutput) ToRepositoryPolicyCheckCredentialsOutput

func (o RepositoryPolicyCheckCredentialsOutput) ToRepositoryPolicyCheckCredentialsOutput() RepositoryPolicyCheckCredentialsOutput

func (RepositoryPolicyCheckCredentialsOutput) ToRepositoryPolicyCheckCredentialsOutputWithContext

func (o RepositoryPolicyCheckCredentialsOutput) ToRepositoryPolicyCheckCredentialsOutputWithContext(ctx context.Context) RepositoryPolicyCheckCredentialsOutput

type RepositoryPolicyCheckCredentialsState

type RepositoryPolicyCheckCredentialsState 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyCheckCredentialsState) ElementType

type RepositoryPolicyFilePathPattern

type RepositoryPolicyFilePathPattern 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"`
	// Block pushes from introducing file paths that match the following patterns. Exact paths begin with "/". You can specify exact paths and wildcards. You can also specify multiple paths using ";" as a separator. Paths prefixed with "!" are excluded. Order is important.
	FilepathPatterns pulumi.StringArrayOutput `pulumi:"filepathPatterns"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage a file path pattern repository policy within Azure DevOps project.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyFilePathPattern(ctx, "exampleRepositoryPolicyFilePathPattern", &azuredevops.RepositoryPolicyFilePathPatternArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			FilepathPatterns: pulumi.StringArray{
				pulumi.String("*.go"),
				pulumi.String("/home/test/*.ts"),
			},
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyFilePathPattern(ctx, "examplep", &azuredevops.RepositoryPolicyFilePathPatternArgs{
			ProjectId: example.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			FilepathPatterns: pulumi.StringArray{
				pulumi.String("*.go"),
				pulumi.String("/home/test/*.ts"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyFilePathPattern:RepositoryPolicyFilePathPattern example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyFilePathPattern

func GetRepositoryPolicyFilePathPattern(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyFilePathPatternState, opts ...pulumi.ResourceOption) (*RepositoryPolicyFilePathPattern, error)

GetRepositoryPolicyFilePathPattern gets an existing RepositoryPolicyFilePathPattern 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 NewRepositoryPolicyFilePathPattern

func NewRepositoryPolicyFilePathPattern(ctx *pulumi.Context,
	name string, args *RepositoryPolicyFilePathPatternArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyFilePathPattern, error)

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

func (*RepositoryPolicyFilePathPattern) ElementType

func (*RepositoryPolicyFilePathPattern) ToRepositoryPolicyFilePathPatternOutput

func (i *RepositoryPolicyFilePathPattern) ToRepositoryPolicyFilePathPatternOutput() RepositoryPolicyFilePathPatternOutput

func (*RepositoryPolicyFilePathPattern) ToRepositoryPolicyFilePathPatternOutputWithContext

func (i *RepositoryPolicyFilePathPattern) ToRepositoryPolicyFilePathPatternOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternOutput

type RepositoryPolicyFilePathPatternArgs

type RepositoryPolicyFilePathPatternArgs 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
	// Block pushes from introducing file paths that match the following patterns. Exact paths begin with "/". You can specify exact paths and wildcards. You can also specify multiple paths using ";" as a separator. Paths prefixed with "!" are excluded. Order is important.
	FilepathPatterns pulumi.StringArrayInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyFilePathPattern resource.

func (RepositoryPolicyFilePathPatternArgs) ElementType

type RepositoryPolicyFilePathPatternArray

type RepositoryPolicyFilePathPatternArray []RepositoryPolicyFilePathPatternInput

func (RepositoryPolicyFilePathPatternArray) ElementType

func (RepositoryPolicyFilePathPatternArray) ToRepositoryPolicyFilePathPatternArrayOutput

func (i RepositoryPolicyFilePathPatternArray) ToRepositoryPolicyFilePathPatternArrayOutput() RepositoryPolicyFilePathPatternArrayOutput

func (RepositoryPolicyFilePathPatternArray) ToRepositoryPolicyFilePathPatternArrayOutputWithContext

func (i RepositoryPolicyFilePathPatternArray) ToRepositoryPolicyFilePathPatternArrayOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternArrayOutput

type RepositoryPolicyFilePathPatternArrayInput

type RepositoryPolicyFilePathPatternArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyFilePathPatternArrayOutput() RepositoryPolicyFilePathPatternArrayOutput
	ToRepositoryPolicyFilePathPatternArrayOutputWithContext(context.Context) RepositoryPolicyFilePathPatternArrayOutput
}

RepositoryPolicyFilePathPatternArrayInput is an input type that accepts RepositoryPolicyFilePathPatternArray and RepositoryPolicyFilePathPatternArrayOutput values. You can construct a concrete instance of `RepositoryPolicyFilePathPatternArrayInput` via:

RepositoryPolicyFilePathPatternArray{ RepositoryPolicyFilePathPatternArgs{...} }

type RepositoryPolicyFilePathPatternArrayOutput

type RepositoryPolicyFilePathPatternArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyFilePathPatternArrayOutput) ElementType

func (RepositoryPolicyFilePathPatternArrayOutput) Index

func (RepositoryPolicyFilePathPatternArrayOutput) ToRepositoryPolicyFilePathPatternArrayOutput

func (o RepositoryPolicyFilePathPatternArrayOutput) ToRepositoryPolicyFilePathPatternArrayOutput() RepositoryPolicyFilePathPatternArrayOutput

func (RepositoryPolicyFilePathPatternArrayOutput) ToRepositoryPolicyFilePathPatternArrayOutputWithContext

func (o RepositoryPolicyFilePathPatternArrayOutput) ToRepositoryPolicyFilePathPatternArrayOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternArrayOutput

type RepositoryPolicyFilePathPatternInput

type RepositoryPolicyFilePathPatternInput interface {
	pulumi.Input

	ToRepositoryPolicyFilePathPatternOutput() RepositoryPolicyFilePathPatternOutput
	ToRepositoryPolicyFilePathPatternOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternOutput
}

type RepositoryPolicyFilePathPatternMap

type RepositoryPolicyFilePathPatternMap map[string]RepositoryPolicyFilePathPatternInput

func (RepositoryPolicyFilePathPatternMap) ElementType

func (RepositoryPolicyFilePathPatternMap) ToRepositoryPolicyFilePathPatternMapOutput

func (i RepositoryPolicyFilePathPatternMap) ToRepositoryPolicyFilePathPatternMapOutput() RepositoryPolicyFilePathPatternMapOutput

func (RepositoryPolicyFilePathPatternMap) ToRepositoryPolicyFilePathPatternMapOutputWithContext

func (i RepositoryPolicyFilePathPatternMap) ToRepositoryPolicyFilePathPatternMapOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternMapOutput

type RepositoryPolicyFilePathPatternMapInput

type RepositoryPolicyFilePathPatternMapInput interface {
	pulumi.Input

	ToRepositoryPolicyFilePathPatternMapOutput() RepositoryPolicyFilePathPatternMapOutput
	ToRepositoryPolicyFilePathPatternMapOutputWithContext(context.Context) RepositoryPolicyFilePathPatternMapOutput
}

RepositoryPolicyFilePathPatternMapInput is an input type that accepts RepositoryPolicyFilePathPatternMap and RepositoryPolicyFilePathPatternMapOutput values. You can construct a concrete instance of `RepositoryPolicyFilePathPatternMapInput` via:

RepositoryPolicyFilePathPatternMap{ "key": RepositoryPolicyFilePathPatternArgs{...} }

type RepositoryPolicyFilePathPatternMapOutput

type RepositoryPolicyFilePathPatternMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyFilePathPatternMapOutput) ElementType

func (RepositoryPolicyFilePathPatternMapOutput) MapIndex

func (RepositoryPolicyFilePathPatternMapOutput) ToRepositoryPolicyFilePathPatternMapOutput

func (o RepositoryPolicyFilePathPatternMapOutput) ToRepositoryPolicyFilePathPatternMapOutput() RepositoryPolicyFilePathPatternMapOutput

func (RepositoryPolicyFilePathPatternMapOutput) ToRepositoryPolicyFilePathPatternMapOutputWithContext

func (o RepositoryPolicyFilePathPatternMapOutput) ToRepositoryPolicyFilePathPatternMapOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternMapOutput

type RepositoryPolicyFilePathPatternOutput

type RepositoryPolicyFilePathPatternOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyFilePathPatternOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyFilePathPatternOutput) ElementType

func (RepositoryPolicyFilePathPatternOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyFilePathPatternOutput) FilepathPatterns

Block pushes from introducing file paths that match the following patterns. Exact paths begin with "/". You can specify exact paths and wildcards. You can also specify multiple paths using ";" as a separator. Paths prefixed with "!" are excluded. Order is important.

func (RepositoryPolicyFilePathPatternOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyFilePathPatternOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyFilePathPatternOutput) ToRepositoryPolicyFilePathPatternOutput

func (o RepositoryPolicyFilePathPatternOutput) ToRepositoryPolicyFilePathPatternOutput() RepositoryPolicyFilePathPatternOutput

func (RepositoryPolicyFilePathPatternOutput) ToRepositoryPolicyFilePathPatternOutputWithContext

func (o RepositoryPolicyFilePathPatternOutput) ToRepositoryPolicyFilePathPatternOutputWithContext(ctx context.Context) RepositoryPolicyFilePathPatternOutput

type RepositoryPolicyFilePathPatternState

type RepositoryPolicyFilePathPatternState 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
	// Block pushes from introducing file paths that match the following patterns. Exact paths begin with "/". You can specify exact paths and wildcards. You can also specify multiple paths using ";" as a separator. Paths prefixed with "!" are excluded. Order is important.
	FilepathPatterns pulumi.StringArrayInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyFilePathPatternState) ElementType

type RepositoryPolicyMaxFileSize

type RepositoryPolicyMaxFileSize 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"`
	// Block pushes that contain new or updated files larger than this limit. Available values is: `1, 2, 5, 10, 100, 200` (MB).
	MaxFileSize pulumi.IntOutput `pulumi:"maxFileSize"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage a max file size repository policy within Azure DevOps project.

> If both project and project policy are enabled, the repository policy has high priority.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyMaxFileSize(ctx, "exampleRepositoryPolicyMaxFileSize", &azuredevops.RepositoryPolicyMaxFileSizeArgs{
			ProjectId:   exampleProject.ID(),
			Enabled:     pulumi.Bool(true),
			Blocking:    pulumi.Bool(true),
			MaxFileSize: pulumi.Int(1),
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyMaxFileSize(ctx, "exampleRepositoryPolicyMaxFileSize", &azuredevops.RepositoryPolicyMaxFileSizeArgs{
			ProjectId:   exampleProject.ID(),
			Enabled:     pulumi.Bool(true),
			Blocking:    pulumi.Bool(true),
			MaxFileSize: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyMaxFileSize:RepositoryPolicyMaxFileSize example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyMaxFileSize

func GetRepositoryPolicyMaxFileSize(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyMaxFileSizeState, opts ...pulumi.ResourceOption) (*RepositoryPolicyMaxFileSize, error)

GetRepositoryPolicyMaxFileSize gets an existing RepositoryPolicyMaxFileSize 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 NewRepositoryPolicyMaxFileSize

func NewRepositoryPolicyMaxFileSize(ctx *pulumi.Context,
	name string, args *RepositoryPolicyMaxFileSizeArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyMaxFileSize, error)

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

func (*RepositoryPolicyMaxFileSize) ElementType

func (*RepositoryPolicyMaxFileSize) ElementType() reflect.Type

func (*RepositoryPolicyMaxFileSize) ToRepositoryPolicyMaxFileSizeOutput

func (i *RepositoryPolicyMaxFileSize) ToRepositoryPolicyMaxFileSizeOutput() RepositoryPolicyMaxFileSizeOutput

func (*RepositoryPolicyMaxFileSize) ToRepositoryPolicyMaxFileSizeOutputWithContext

func (i *RepositoryPolicyMaxFileSize) ToRepositoryPolicyMaxFileSizeOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeOutput

type RepositoryPolicyMaxFileSizeArgs

type RepositoryPolicyMaxFileSizeArgs 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
	// Block pushes that contain new or updated files larger than this limit. Available values is: `1, 2, 5, 10, 100, 200` (MB).
	MaxFileSize pulumi.IntInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyMaxFileSize resource.

func (RepositoryPolicyMaxFileSizeArgs) ElementType

type RepositoryPolicyMaxFileSizeArray

type RepositoryPolicyMaxFileSizeArray []RepositoryPolicyMaxFileSizeInput

func (RepositoryPolicyMaxFileSizeArray) ElementType

func (RepositoryPolicyMaxFileSizeArray) ToRepositoryPolicyMaxFileSizeArrayOutput

func (i RepositoryPolicyMaxFileSizeArray) ToRepositoryPolicyMaxFileSizeArrayOutput() RepositoryPolicyMaxFileSizeArrayOutput

func (RepositoryPolicyMaxFileSizeArray) ToRepositoryPolicyMaxFileSizeArrayOutputWithContext

func (i RepositoryPolicyMaxFileSizeArray) ToRepositoryPolicyMaxFileSizeArrayOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeArrayOutput

type RepositoryPolicyMaxFileSizeArrayInput

type RepositoryPolicyMaxFileSizeArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxFileSizeArrayOutput() RepositoryPolicyMaxFileSizeArrayOutput
	ToRepositoryPolicyMaxFileSizeArrayOutputWithContext(context.Context) RepositoryPolicyMaxFileSizeArrayOutput
}

RepositoryPolicyMaxFileSizeArrayInput is an input type that accepts RepositoryPolicyMaxFileSizeArray and RepositoryPolicyMaxFileSizeArrayOutput values. You can construct a concrete instance of `RepositoryPolicyMaxFileSizeArrayInput` via:

RepositoryPolicyMaxFileSizeArray{ RepositoryPolicyMaxFileSizeArgs{...} }

type RepositoryPolicyMaxFileSizeArrayOutput

type RepositoryPolicyMaxFileSizeArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxFileSizeArrayOutput) ElementType

func (RepositoryPolicyMaxFileSizeArrayOutput) Index

func (RepositoryPolicyMaxFileSizeArrayOutput) ToRepositoryPolicyMaxFileSizeArrayOutput

func (o RepositoryPolicyMaxFileSizeArrayOutput) ToRepositoryPolicyMaxFileSizeArrayOutput() RepositoryPolicyMaxFileSizeArrayOutput

func (RepositoryPolicyMaxFileSizeArrayOutput) ToRepositoryPolicyMaxFileSizeArrayOutputWithContext

func (o RepositoryPolicyMaxFileSizeArrayOutput) ToRepositoryPolicyMaxFileSizeArrayOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeArrayOutput

type RepositoryPolicyMaxFileSizeInput

type RepositoryPolicyMaxFileSizeInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxFileSizeOutput() RepositoryPolicyMaxFileSizeOutput
	ToRepositoryPolicyMaxFileSizeOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeOutput
}

type RepositoryPolicyMaxFileSizeMap

type RepositoryPolicyMaxFileSizeMap map[string]RepositoryPolicyMaxFileSizeInput

func (RepositoryPolicyMaxFileSizeMap) ElementType

func (RepositoryPolicyMaxFileSizeMap) ToRepositoryPolicyMaxFileSizeMapOutput

func (i RepositoryPolicyMaxFileSizeMap) ToRepositoryPolicyMaxFileSizeMapOutput() RepositoryPolicyMaxFileSizeMapOutput

func (RepositoryPolicyMaxFileSizeMap) ToRepositoryPolicyMaxFileSizeMapOutputWithContext

func (i RepositoryPolicyMaxFileSizeMap) ToRepositoryPolicyMaxFileSizeMapOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeMapOutput

type RepositoryPolicyMaxFileSizeMapInput

type RepositoryPolicyMaxFileSizeMapInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxFileSizeMapOutput() RepositoryPolicyMaxFileSizeMapOutput
	ToRepositoryPolicyMaxFileSizeMapOutputWithContext(context.Context) RepositoryPolicyMaxFileSizeMapOutput
}

RepositoryPolicyMaxFileSizeMapInput is an input type that accepts RepositoryPolicyMaxFileSizeMap and RepositoryPolicyMaxFileSizeMapOutput values. You can construct a concrete instance of `RepositoryPolicyMaxFileSizeMapInput` via:

RepositoryPolicyMaxFileSizeMap{ "key": RepositoryPolicyMaxFileSizeArgs{...} }

type RepositoryPolicyMaxFileSizeMapOutput

type RepositoryPolicyMaxFileSizeMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxFileSizeMapOutput) ElementType

func (RepositoryPolicyMaxFileSizeMapOutput) MapIndex

func (RepositoryPolicyMaxFileSizeMapOutput) ToRepositoryPolicyMaxFileSizeMapOutput

func (o RepositoryPolicyMaxFileSizeMapOutput) ToRepositoryPolicyMaxFileSizeMapOutput() RepositoryPolicyMaxFileSizeMapOutput

func (RepositoryPolicyMaxFileSizeMapOutput) ToRepositoryPolicyMaxFileSizeMapOutputWithContext

func (o RepositoryPolicyMaxFileSizeMapOutput) ToRepositoryPolicyMaxFileSizeMapOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeMapOutput

type RepositoryPolicyMaxFileSizeOutput

type RepositoryPolicyMaxFileSizeOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxFileSizeOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyMaxFileSizeOutput) ElementType

func (RepositoryPolicyMaxFileSizeOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyMaxFileSizeOutput) MaxFileSize

Block pushes that contain new or updated files larger than this limit. Available values is: `1, 2, 5, 10, 100, 200` (MB).

func (RepositoryPolicyMaxFileSizeOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyMaxFileSizeOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyMaxFileSizeOutput) ToRepositoryPolicyMaxFileSizeOutput

func (o RepositoryPolicyMaxFileSizeOutput) ToRepositoryPolicyMaxFileSizeOutput() RepositoryPolicyMaxFileSizeOutput

func (RepositoryPolicyMaxFileSizeOutput) ToRepositoryPolicyMaxFileSizeOutputWithContext

func (o RepositoryPolicyMaxFileSizeOutput) ToRepositoryPolicyMaxFileSizeOutputWithContext(ctx context.Context) RepositoryPolicyMaxFileSizeOutput

type RepositoryPolicyMaxFileSizeState

type RepositoryPolicyMaxFileSizeState 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
	// Block pushes that contain new or updated files larger than this limit. Available values is: `1, 2, 5, 10, 100, 200` (MB).
	MaxFileSize pulumi.IntPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyMaxFileSizeState) ElementType

type RepositoryPolicyMaxPathLength

type RepositoryPolicyMaxPathLength 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"`
	// Block pushes that introduce paths that exceed the specified length.
	MaxPathLength pulumi.IntOutput `pulumi:"maxPathLength"`
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage a max path length repository policy within Azure DevOps project.

> If both project and project policy are enabled, the repository policy has high priority.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyMaxPathLength(ctx, "exampleRepositoryPolicyMaxPathLength", &azuredevops.RepositoryPolicyMaxPathLengthArgs{
			ProjectId:     exampleProject.ID(),
			Enabled:       pulumi.Bool(true),
			Blocking:      pulumi.Bool(true),
			MaxPathLength: pulumi.Int(500),
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyMaxPathLength(ctx, "exampleRepositoryPolicyMaxPathLength", &azuredevops.RepositoryPolicyMaxPathLengthArgs{
			ProjectId:     exampleProject.ID(),
			Enabled:       pulumi.Bool(true),
			Blocking:      pulumi.Bool(true),
			MaxPathLength: pulumi.Int(1000),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyMaxPathLength:RepositoryPolicyMaxPathLength example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyMaxPathLength

func GetRepositoryPolicyMaxPathLength(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyMaxPathLengthState, opts ...pulumi.ResourceOption) (*RepositoryPolicyMaxPathLength, error)

GetRepositoryPolicyMaxPathLength gets an existing RepositoryPolicyMaxPathLength 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 NewRepositoryPolicyMaxPathLength

func NewRepositoryPolicyMaxPathLength(ctx *pulumi.Context,
	name string, args *RepositoryPolicyMaxPathLengthArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyMaxPathLength, error)

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

func (*RepositoryPolicyMaxPathLength) ElementType

func (*RepositoryPolicyMaxPathLength) ToRepositoryPolicyMaxPathLengthOutput

func (i *RepositoryPolicyMaxPathLength) ToRepositoryPolicyMaxPathLengthOutput() RepositoryPolicyMaxPathLengthOutput

func (*RepositoryPolicyMaxPathLength) ToRepositoryPolicyMaxPathLengthOutputWithContext

func (i *RepositoryPolicyMaxPathLength) ToRepositoryPolicyMaxPathLengthOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthOutput

type RepositoryPolicyMaxPathLengthArgs

type RepositoryPolicyMaxPathLengthArgs 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
	// Block pushes that introduce paths that exceed the specified length.
	MaxPathLength pulumi.IntInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyMaxPathLength resource.

func (RepositoryPolicyMaxPathLengthArgs) ElementType

type RepositoryPolicyMaxPathLengthArray

type RepositoryPolicyMaxPathLengthArray []RepositoryPolicyMaxPathLengthInput

func (RepositoryPolicyMaxPathLengthArray) ElementType

func (RepositoryPolicyMaxPathLengthArray) ToRepositoryPolicyMaxPathLengthArrayOutput

func (i RepositoryPolicyMaxPathLengthArray) ToRepositoryPolicyMaxPathLengthArrayOutput() RepositoryPolicyMaxPathLengthArrayOutput

func (RepositoryPolicyMaxPathLengthArray) ToRepositoryPolicyMaxPathLengthArrayOutputWithContext

func (i RepositoryPolicyMaxPathLengthArray) ToRepositoryPolicyMaxPathLengthArrayOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthArrayOutput

type RepositoryPolicyMaxPathLengthArrayInput

type RepositoryPolicyMaxPathLengthArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxPathLengthArrayOutput() RepositoryPolicyMaxPathLengthArrayOutput
	ToRepositoryPolicyMaxPathLengthArrayOutputWithContext(context.Context) RepositoryPolicyMaxPathLengthArrayOutput
}

RepositoryPolicyMaxPathLengthArrayInput is an input type that accepts RepositoryPolicyMaxPathLengthArray and RepositoryPolicyMaxPathLengthArrayOutput values. You can construct a concrete instance of `RepositoryPolicyMaxPathLengthArrayInput` via:

RepositoryPolicyMaxPathLengthArray{ RepositoryPolicyMaxPathLengthArgs{...} }

type RepositoryPolicyMaxPathLengthArrayOutput

type RepositoryPolicyMaxPathLengthArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxPathLengthArrayOutput) ElementType

func (RepositoryPolicyMaxPathLengthArrayOutput) Index

func (RepositoryPolicyMaxPathLengthArrayOutput) ToRepositoryPolicyMaxPathLengthArrayOutput

func (o RepositoryPolicyMaxPathLengthArrayOutput) ToRepositoryPolicyMaxPathLengthArrayOutput() RepositoryPolicyMaxPathLengthArrayOutput

func (RepositoryPolicyMaxPathLengthArrayOutput) ToRepositoryPolicyMaxPathLengthArrayOutputWithContext

func (o RepositoryPolicyMaxPathLengthArrayOutput) ToRepositoryPolicyMaxPathLengthArrayOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthArrayOutput

type RepositoryPolicyMaxPathLengthInput

type RepositoryPolicyMaxPathLengthInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxPathLengthOutput() RepositoryPolicyMaxPathLengthOutput
	ToRepositoryPolicyMaxPathLengthOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthOutput
}

type RepositoryPolicyMaxPathLengthMap

type RepositoryPolicyMaxPathLengthMap map[string]RepositoryPolicyMaxPathLengthInput

func (RepositoryPolicyMaxPathLengthMap) ElementType

func (RepositoryPolicyMaxPathLengthMap) ToRepositoryPolicyMaxPathLengthMapOutput

func (i RepositoryPolicyMaxPathLengthMap) ToRepositoryPolicyMaxPathLengthMapOutput() RepositoryPolicyMaxPathLengthMapOutput

func (RepositoryPolicyMaxPathLengthMap) ToRepositoryPolicyMaxPathLengthMapOutputWithContext

func (i RepositoryPolicyMaxPathLengthMap) ToRepositoryPolicyMaxPathLengthMapOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthMapOutput

type RepositoryPolicyMaxPathLengthMapInput

type RepositoryPolicyMaxPathLengthMapInput interface {
	pulumi.Input

	ToRepositoryPolicyMaxPathLengthMapOutput() RepositoryPolicyMaxPathLengthMapOutput
	ToRepositoryPolicyMaxPathLengthMapOutputWithContext(context.Context) RepositoryPolicyMaxPathLengthMapOutput
}

RepositoryPolicyMaxPathLengthMapInput is an input type that accepts RepositoryPolicyMaxPathLengthMap and RepositoryPolicyMaxPathLengthMapOutput values. You can construct a concrete instance of `RepositoryPolicyMaxPathLengthMapInput` via:

RepositoryPolicyMaxPathLengthMap{ "key": RepositoryPolicyMaxPathLengthArgs{...} }

type RepositoryPolicyMaxPathLengthMapOutput

type RepositoryPolicyMaxPathLengthMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxPathLengthMapOutput) ElementType

func (RepositoryPolicyMaxPathLengthMapOutput) MapIndex

func (RepositoryPolicyMaxPathLengthMapOutput) ToRepositoryPolicyMaxPathLengthMapOutput

func (o RepositoryPolicyMaxPathLengthMapOutput) ToRepositoryPolicyMaxPathLengthMapOutput() RepositoryPolicyMaxPathLengthMapOutput

func (RepositoryPolicyMaxPathLengthMapOutput) ToRepositoryPolicyMaxPathLengthMapOutputWithContext

func (o RepositoryPolicyMaxPathLengthMapOutput) ToRepositoryPolicyMaxPathLengthMapOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthMapOutput

type RepositoryPolicyMaxPathLengthOutput

type RepositoryPolicyMaxPathLengthOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyMaxPathLengthOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyMaxPathLengthOutput) ElementType

func (RepositoryPolicyMaxPathLengthOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyMaxPathLengthOutput) MaxPathLength

Block pushes that introduce paths that exceed the specified length.

func (RepositoryPolicyMaxPathLengthOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyMaxPathLengthOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyMaxPathLengthOutput) ToRepositoryPolicyMaxPathLengthOutput

func (o RepositoryPolicyMaxPathLengthOutput) ToRepositoryPolicyMaxPathLengthOutput() RepositoryPolicyMaxPathLengthOutput

func (RepositoryPolicyMaxPathLengthOutput) ToRepositoryPolicyMaxPathLengthOutputWithContext

func (o RepositoryPolicyMaxPathLengthOutput) ToRepositoryPolicyMaxPathLengthOutputWithContext(ctx context.Context) RepositoryPolicyMaxPathLengthOutput

type RepositoryPolicyMaxPathLengthState

type RepositoryPolicyMaxPathLengthState 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
	// Block pushes that introduce paths that exceed the specified length.
	MaxPathLength pulumi.IntPtrInput
	// The ID of the project in which the policy will be created.
	ProjectId pulumi.StringPtrInput
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyMaxPathLengthState) ElementType

type RepositoryPolicyReservedNames

type RepositoryPolicyReservedNames 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"`
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayOutput `pulumi:"repositoryIds"`
}

Manage a reserved names repository policy within Azure DevOps project. Block pushes that introduce files, folders, or branch names that include platform reserved names or incompatible characters.

> If both project and project policy are enabled, the project policy has high priority.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleGit, err := azuredevops.NewGit(ctx, "exampleGit", &azuredevops.GitArgs{
			ProjectId: exampleProject.ID(),
			Initialization: &azuredevops.GitInitializationArgs{
				InitType: pulumi.String("Clean"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyReservedNames(ctx, "exampleRepositoryPolicyReservedNames", &azuredevops.RepositoryPolicyReservedNamesArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
			RepositoryIds: pulumi.StringArray{
				exampleGit.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

# Set project level repository policy <!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewRepositoryPolicyReservedNames(ctx, "exampleRepositoryPolicyReservedNames", &azuredevops.RepositoryPolicyReservedNamesArgs{
			ProjectId: exampleProject.ID(),
			Enabled:   pulumi.Bool(true),
			Blocking:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## Import

Azure DevOps repository policies can be imported using the projectID/policyID or projectName/policyID:

```sh $ pulumi import azuredevops:index/repositoryPolicyReservedNames:RepositoryPolicyReservedNames example 00000000-0000-0000-0000-000000000000/0 ```

func GetRepositoryPolicyReservedNames

func GetRepositoryPolicyReservedNames(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryPolicyReservedNamesState, opts ...pulumi.ResourceOption) (*RepositoryPolicyReservedNames, error)

GetRepositoryPolicyReservedNames gets an existing RepositoryPolicyReservedNames 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 NewRepositoryPolicyReservedNames

func NewRepositoryPolicyReservedNames(ctx *pulumi.Context,
	name string, args *RepositoryPolicyReservedNamesArgs, opts ...pulumi.ResourceOption) (*RepositoryPolicyReservedNames, error)

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

func (*RepositoryPolicyReservedNames) ElementType

func (*RepositoryPolicyReservedNames) ToRepositoryPolicyReservedNamesOutput

func (i *RepositoryPolicyReservedNames) ToRepositoryPolicyReservedNamesOutput() RepositoryPolicyReservedNamesOutput

func (*RepositoryPolicyReservedNames) ToRepositoryPolicyReservedNamesOutputWithContext

func (i *RepositoryPolicyReservedNames) ToRepositoryPolicyReservedNamesOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesOutput

type RepositoryPolicyReservedNamesArgs

type RepositoryPolicyReservedNamesArgs 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryPolicyReservedNames resource.

func (RepositoryPolicyReservedNamesArgs) ElementType

type RepositoryPolicyReservedNamesArray

type RepositoryPolicyReservedNamesArray []RepositoryPolicyReservedNamesInput

func (RepositoryPolicyReservedNamesArray) ElementType

func (RepositoryPolicyReservedNamesArray) ToRepositoryPolicyReservedNamesArrayOutput

func (i RepositoryPolicyReservedNamesArray) ToRepositoryPolicyReservedNamesArrayOutput() RepositoryPolicyReservedNamesArrayOutput

func (RepositoryPolicyReservedNamesArray) ToRepositoryPolicyReservedNamesArrayOutputWithContext

func (i RepositoryPolicyReservedNamesArray) ToRepositoryPolicyReservedNamesArrayOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesArrayOutput

type RepositoryPolicyReservedNamesArrayInput

type RepositoryPolicyReservedNamesArrayInput interface {
	pulumi.Input

	ToRepositoryPolicyReservedNamesArrayOutput() RepositoryPolicyReservedNamesArrayOutput
	ToRepositoryPolicyReservedNamesArrayOutputWithContext(context.Context) RepositoryPolicyReservedNamesArrayOutput
}

RepositoryPolicyReservedNamesArrayInput is an input type that accepts RepositoryPolicyReservedNamesArray and RepositoryPolicyReservedNamesArrayOutput values. You can construct a concrete instance of `RepositoryPolicyReservedNamesArrayInput` via:

RepositoryPolicyReservedNamesArray{ RepositoryPolicyReservedNamesArgs{...} }

type RepositoryPolicyReservedNamesArrayOutput

type RepositoryPolicyReservedNamesArrayOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyReservedNamesArrayOutput) ElementType

func (RepositoryPolicyReservedNamesArrayOutput) Index

func (RepositoryPolicyReservedNamesArrayOutput) ToRepositoryPolicyReservedNamesArrayOutput

func (o RepositoryPolicyReservedNamesArrayOutput) ToRepositoryPolicyReservedNamesArrayOutput() RepositoryPolicyReservedNamesArrayOutput

func (RepositoryPolicyReservedNamesArrayOutput) ToRepositoryPolicyReservedNamesArrayOutputWithContext

func (o RepositoryPolicyReservedNamesArrayOutput) ToRepositoryPolicyReservedNamesArrayOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesArrayOutput

type RepositoryPolicyReservedNamesInput

type RepositoryPolicyReservedNamesInput interface {
	pulumi.Input

	ToRepositoryPolicyReservedNamesOutput() RepositoryPolicyReservedNamesOutput
	ToRepositoryPolicyReservedNamesOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesOutput
}

type RepositoryPolicyReservedNamesMap

type RepositoryPolicyReservedNamesMap map[string]RepositoryPolicyReservedNamesInput

func (RepositoryPolicyReservedNamesMap) ElementType

func (RepositoryPolicyReservedNamesMap) ToRepositoryPolicyReservedNamesMapOutput

func (i RepositoryPolicyReservedNamesMap) ToRepositoryPolicyReservedNamesMapOutput() RepositoryPolicyReservedNamesMapOutput

func (RepositoryPolicyReservedNamesMap) ToRepositoryPolicyReservedNamesMapOutputWithContext

func (i RepositoryPolicyReservedNamesMap) ToRepositoryPolicyReservedNamesMapOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesMapOutput

type RepositoryPolicyReservedNamesMapInput

type RepositoryPolicyReservedNamesMapInput interface {
	pulumi.Input

	ToRepositoryPolicyReservedNamesMapOutput() RepositoryPolicyReservedNamesMapOutput
	ToRepositoryPolicyReservedNamesMapOutputWithContext(context.Context) RepositoryPolicyReservedNamesMapOutput
}

RepositoryPolicyReservedNamesMapInput is an input type that accepts RepositoryPolicyReservedNamesMap and RepositoryPolicyReservedNamesMapOutput values. You can construct a concrete instance of `RepositoryPolicyReservedNamesMapInput` via:

RepositoryPolicyReservedNamesMap{ "key": RepositoryPolicyReservedNamesArgs{...} }

type RepositoryPolicyReservedNamesMapOutput

type RepositoryPolicyReservedNamesMapOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyReservedNamesMapOutput) ElementType

func (RepositoryPolicyReservedNamesMapOutput) MapIndex

func (RepositoryPolicyReservedNamesMapOutput) ToRepositoryPolicyReservedNamesMapOutput

func (o RepositoryPolicyReservedNamesMapOutput) ToRepositoryPolicyReservedNamesMapOutput() RepositoryPolicyReservedNamesMapOutput

func (RepositoryPolicyReservedNamesMapOutput) ToRepositoryPolicyReservedNamesMapOutputWithContext

func (o RepositoryPolicyReservedNamesMapOutput) ToRepositoryPolicyReservedNamesMapOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesMapOutput

type RepositoryPolicyReservedNamesOutput

type RepositoryPolicyReservedNamesOutput struct{ *pulumi.OutputState }

func (RepositoryPolicyReservedNamesOutput) Blocking

A flag indicating if the policy should be blocking. Defaults to `true`.

func (RepositoryPolicyReservedNamesOutput) ElementType

func (RepositoryPolicyReservedNamesOutput) Enabled

A flag indicating if the policy should be enabled. Defaults to `true`.

func (RepositoryPolicyReservedNamesOutput) ProjectId

The ID of the project in which the policy will be created.

func (RepositoryPolicyReservedNamesOutput) RepositoryIds

Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.

func (RepositoryPolicyReservedNamesOutput) ToRepositoryPolicyReservedNamesOutput

func (o RepositoryPolicyReservedNamesOutput) ToRepositoryPolicyReservedNamesOutput() RepositoryPolicyReservedNamesOutput

func (RepositoryPolicyReservedNamesOutput) ToRepositoryPolicyReservedNamesOutputWithContext

func (o RepositoryPolicyReservedNamesOutput) ToRepositoryPolicyReservedNamesOutputWithContext(ctx context.Context) RepositoryPolicyReservedNamesOutput

type RepositoryPolicyReservedNamesState

type RepositoryPolicyReservedNamesState 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
	// Control whether the policy is enabled for the repository or the project. If `repositoryIds` not configured, the policy will be set to the project.
	RepositoryIds pulumi.StringArrayInput
}

func (RepositoryPolicyReservedNamesState) ElementType

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointBitBucket, err := azuredevops.NewServiceEndpointBitBucket(ctx, "exampleServiceEndpointBitBucket", &azuredevops.ServiceEndpointBitBucketArgs{
			ProjectId:           exampleProject.ID(),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("example-bitbucket"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewResourceAuthorization(ctx, "exampleResourceAuthorization", &azuredevops.ResourceAuthorizationArgs{
			ProjectId:  exampleProject.ID(),
			ResourceId: exampleServiceEndpointBitBucket.ID(),
			Authorized: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Authorize Definition Resource](<https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%!d(MISSING)efinition%!r(MISSING)esources?view=azure-devops-rest-7.0>)

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

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

type ResourceAuthorizationArray []ResourceAuthorizationInput

func (ResourceAuthorizationArray) ElementType

func (ResourceAuthorizationArray) ElementType() reflect.Type

func (ResourceAuthorizationArray) ToResourceAuthorizationArrayOutput

func (i ResourceAuthorizationArray) ToResourceAuthorizationArrayOutput() ResourceAuthorizationArrayOutput

func (ResourceAuthorizationArray) ToResourceAuthorizationArrayOutputWithContext

func (i ResourceAuthorizationArray) ToResourceAuthorizationArrayOutputWithContext(ctx context.Context) ResourceAuthorizationArrayOutput

type ResourceAuthorizationArrayInput

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

type ResourceAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (ResourceAuthorizationArrayOutput) ElementType

func (ResourceAuthorizationArrayOutput) Index

func (ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutput

func (o ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutput() ResourceAuthorizationArrayOutput

func (ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutputWithContext

func (o ResourceAuthorizationArrayOutput) ToResourceAuthorizationArrayOutputWithContext(ctx context.Context) ResourceAuthorizationArrayOutput

type ResourceAuthorizationInput

type ResourceAuthorizationInput interface {
	pulumi.Input

	ToResourceAuthorizationOutput() ResourceAuthorizationOutput
	ToResourceAuthorizationOutputWithContext(ctx context.Context) ResourceAuthorizationOutput
}

type ResourceAuthorizationMap

type ResourceAuthorizationMap map[string]ResourceAuthorizationInput

func (ResourceAuthorizationMap) ElementType

func (ResourceAuthorizationMap) ElementType() reflect.Type

func (ResourceAuthorizationMap) ToResourceAuthorizationMapOutput

func (i ResourceAuthorizationMap) ToResourceAuthorizationMapOutput() ResourceAuthorizationMapOutput

func (ResourceAuthorizationMap) ToResourceAuthorizationMapOutputWithContext

func (i ResourceAuthorizationMap) ToResourceAuthorizationMapOutputWithContext(ctx context.Context) ResourceAuthorizationMapOutput

type ResourceAuthorizationMapInput

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

type ResourceAuthorizationMapOutput struct{ *pulumi.OutputState }

func (ResourceAuthorizationMapOutput) ElementType

func (ResourceAuthorizationMapOutput) MapIndex

func (ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutput

func (o ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutput() ResourceAuthorizationMapOutput

func (ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutputWithContext

func (o ResourceAuthorizationMapOutput) ToResourceAuthorizationMapOutputWithContext(ctx context.Context) ResourceAuthorizationMapOutput

type ResourceAuthorizationOutput

type ResourceAuthorizationOutput struct{ *pulumi.OutputState }

func (ResourceAuthorizationOutput) Authorized

Set to true to allow public access in the project. Type: boolean.

func (ResourceAuthorizationOutput) DefinitionId

The ID of the build definition to authorize. Type: string.

func (ResourceAuthorizationOutput) ElementType

func (ResourceAuthorizationOutput) ProjectId

The project ID or project name. Type: string.

func (ResourceAuthorizationOutput) ResourceId

The ID of the resource to authorize. Type: string.

func (ResourceAuthorizationOutput) ToResourceAuthorizationOutput

func (o ResourceAuthorizationOutput) ToResourceAuthorizationOutput() ResourceAuthorizationOutput

func (ResourceAuthorizationOutput) ToResourceAuthorizationOutputWithContext

func (o ResourceAuthorizationOutput) ToResourceAuthorizationOutputWithContext(ctx context.Context) ResourceAuthorizationOutput

func (ResourceAuthorizationOutput) Type

The type of the resource to authorize. Type: string. Valid values: `endpoint`, `queue`, `variablegroup`. Default value: `endpoint`.

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

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 ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	//
	// _Note: URL should not end in a slash character._
	// * either `authenticationToken` or `authenticationBasic` (one is required)
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages an Artifactory server endpoint within an Azure DevOps organization. Using this service endpoint requires you to first install [JFrog Artifactory Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-artifactory-vsts-extension).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointArtifactory(ctx, "exampleServiceEndpointArtifactory", &azuredevops.ServiceEndpointArtifactoryArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example 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
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointArtifactory(ctx, "exampleServiceEndpointArtifactory", &azuredevops.ServiceEndpointArtifactoryArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceEndpointArtifactoryAuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointArtifactory

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

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

func (*ServiceEndpointArtifactory) ElementType() reflect.Type

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutput

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput

func (*ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutputWithContext

func (i *ServiceEndpointArtifactory) ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput

type ServiceEndpointArtifactoryArgs

type ServiceEndpointArtifactoryArgs struct {
	AuthenticationBasic ServiceEndpointArtifactoryAuthenticationBasicPtrInput
	AuthenticationToken ServiceEndpointArtifactoryAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	//
	// _Note: URL should not end in a slash character._
	// * either `authenticationToken` or `authenticationBasic` (one is required)
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointArtifactory resource.

func (ServiceEndpointArtifactoryArgs) ElementType

type ServiceEndpointArtifactoryArray

type ServiceEndpointArtifactoryArray []ServiceEndpointArtifactoryInput

func (ServiceEndpointArtifactoryArray) ElementType

func (ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutput

func (i ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutput() ServiceEndpointArtifactoryArrayOutput

func (ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutputWithContext

func (i ServiceEndpointArtifactoryArray) ToServiceEndpointArtifactoryArrayOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryArrayOutput

type ServiceEndpointArtifactoryArrayInput

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

type ServiceEndpointArtifactoryArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryArrayOutput) ElementType

func (ServiceEndpointArtifactoryArrayOutput) Index

func (ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutput

func (o ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutput() ServiceEndpointArtifactoryArrayOutput

func (ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutputWithContext

func (o ServiceEndpointArtifactoryArrayOutput) ToServiceEndpointArtifactoryArrayOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryArrayOutput

type ServiceEndpointArtifactoryAuthenticationBasic

type ServiceEndpointArtifactoryAuthenticationBasic struct {
	// Artifactory Password.
	Password string `pulumi:"password"`
	// Artifactory Username.
	Username string `pulumi:"username"`
}

type ServiceEndpointArtifactoryAuthenticationBasicArgs

type ServiceEndpointArtifactoryAuthenticationBasicArgs struct {
	// Artifactory Password.
	Password pulumi.StringInput `pulumi:"password"`
	// Artifactory Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ElementType

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutput

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutput() ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput() ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext

func (i ServiceEndpointArtifactoryAuthenticationBasicArgs) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

type ServiceEndpointArtifactoryAuthenticationBasicInput

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

type ServiceEndpointArtifactoryAuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ElementType

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) Password

Artifactory Password.

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutput

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutput() ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput() ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationBasicOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicOutput) Username

Artifactory Username.

type ServiceEndpointArtifactoryAuthenticationBasicPtrInput

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

type ServiceEndpointArtifactoryAuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Elem

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ElementType

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Password

Artifactory Password.

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) ToServiceEndpointArtifactoryAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationBasicPtrOutput

func (ServiceEndpointArtifactoryAuthenticationBasicPtrOutput) Username

Artifactory Username.

type ServiceEndpointArtifactoryAuthenticationToken

type ServiceEndpointArtifactoryAuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	Token string `pulumi:"token"`
}

type ServiceEndpointArtifactoryAuthenticationTokenArgs

type ServiceEndpointArtifactoryAuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ElementType

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutput

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutput() ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput() ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext

func (i ServiceEndpointArtifactoryAuthenticationTokenArgs) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

type ServiceEndpointArtifactoryAuthenticationTokenInput

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

type ServiceEndpointArtifactoryAuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ElementType

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutput

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutput() ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput() ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationTokenOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenOutput) Token

Authentication Token generated through Artifactory.

type ServiceEndpointArtifactoryAuthenticationTokenPtrInput

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

type ServiceEndpointArtifactoryAuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) Elem

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ElementType

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext

func (o ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) ToServiceEndpointArtifactoryAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryAuthenticationTokenPtrOutput

func (ServiceEndpointArtifactoryAuthenticationTokenPtrOutput) Token

Authentication Token generated through Artifactory.

type ServiceEndpointArtifactoryInput

type ServiceEndpointArtifactoryInput interface {
	pulumi.Input

	ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput
	ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput
}

type ServiceEndpointArtifactoryMap

type ServiceEndpointArtifactoryMap map[string]ServiceEndpointArtifactoryInput

func (ServiceEndpointArtifactoryMap) ElementType

func (ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutput

func (i ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutput() ServiceEndpointArtifactoryMapOutput

func (ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutputWithContext

func (i ServiceEndpointArtifactoryMap) ToServiceEndpointArtifactoryMapOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryMapOutput

type ServiceEndpointArtifactoryMapInput

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

type ServiceEndpointArtifactoryMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryMapOutput) ElementType

func (ServiceEndpointArtifactoryMapOutput) MapIndex

func (ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutput

func (o ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutput() ServiceEndpointArtifactoryMapOutput

func (ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutputWithContext

func (o ServiceEndpointArtifactoryMapOutput) ToServiceEndpointArtifactoryMapOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryMapOutput

type ServiceEndpointArtifactoryOutput

type ServiceEndpointArtifactoryOutput struct{ *pulumi.OutputState }

func (ServiceEndpointArtifactoryOutput) AuthenticationBasic

func (ServiceEndpointArtifactoryOutput) AuthenticationToken

func (ServiceEndpointArtifactoryOutput) Authorization

func (ServiceEndpointArtifactoryOutput) Description

The Service Endpoint description.

func (ServiceEndpointArtifactoryOutput) ElementType

func (ServiceEndpointArtifactoryOutput) ProjectId

The ID of the project.

func (ServiceEndpointArtifactoryOutput) ServiceEndpointName

func (o ServiceEndpointArtifactoryOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutput

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutput() ServiceEndpointArtifactoryOutput

func (ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutputWithContext

func (o ServiceEndpointArtifactoryOutput) ToServiceEndpointArtifactoryOutputWithContext(ctx context.Context) ServiceEndpointArtifactoryOutput

func (ServiceEndpointArtifactoryOutput) Url

URL of the Artifactory server to connect with.

_Note: URL should not end in a slash character._ * either `authenticationToken` or `authenticationBasic` (one is required)

type ServiceEndpointArtifactoryState

type ServiceEndpointArtifactoryState struct {
	AuthenticationBasic ServiceEndpointArtifactoryAuthenticationBasicPtrInput
	AuthenticationToken ServiceEndpointArtifactoryAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	//
	// _Note: URL should not end in a slash character._
	// * either `authenticationToken` or `authenticationBasic` (one is required)
	Url pulumi.StringPtrInput
}

func (ServiceEndpointArtifactoryState) ElementType

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 ID of the project.
	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"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The AWS session token for signing programmatic requests.
	SessionToken pulumi.StringPtrOutput `pulumi:"sessionToken"`
}

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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAws(ctx, "exampleServiceEndpointAws", &azuredevops.ServiceEndpointAwsArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example AWS"),
			AccessKeyId:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			SecretAccessKey:     pulumi.String("accesskey"),
			Description:         pulumi.String("Managed by AzureDevOps"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

* [aws-toolkit-azure-devops](https://github.com/aws/aws-toolkit-azure-devops) * [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## 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.example 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

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 ID of the project.
	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

type ServiceEndpointAwsArray []ServiceEndpointAwsInput

func (ServiceEndpointAwsArray) ElementType

func (ServiceEndpointAwsArray) ElementType() reflect.Type

func (ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutput

func (i ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutput() ServiceEndpointAwsArrayOutput

func (ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutputWithContext

func (i ServiceEndpointAwsArray) ToServiceEndpointAwsArrayOutputWithContext(ctx context.Context) ServiceEndpointAwsArrayOutput

type ServiceEndpointAwsArrayInput

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

type ServiceEndpointAwsArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAwsArrayOutput) ElementType

func (ServiceEndpointAwsArrayOutput) Index

func (ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutput

func (o ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutput() ServiceEndpointAwsArrayOutput

func (ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutputWithContext

func (o ServiceEndpointAwsArrayOutput) ToServiceEndpointAwsArrayOutputWithContext(ctx context.Context) ServiceEndpointAwsArrayOutput

type ServiceEndpointAwsInput

type ServiceEndpointAwsInput interface {
	pulumi.Input

	ToServiceEndpointAwsOutput() ServiceEndpointAwsOutput
	ToServiceEndpointAwsOutputWithContext(ctx context.Context) ServiceEndpointAwsOutput
}

type ServiceEndpointAwsMap

type ServiceEndpointAwsMap map[string]ServiceEndpointAwsInput

func (ServiceEndpointAwsMap) ElementType

func (ServiceEndpointAwsMap) ElementType() reflect.Type

func (ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutput

func (i ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutput() ServiceEndpointAwsMapOutput

func (ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutputWithContext

func (i ServiceEndpointAwsMap) ToServiceEndpointAwsMapOutputWithContext(ctx context.Context) ServiceEndpointAwsMapOutput

type ServiceEndpointAwsMapInput

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

type ServiceEndpointAwsMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAwsMapOutput) ElementType

func (ServiceEndpointAwsMapOutput) MapIndex

func (ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutput

func (o ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutput() ServiceEndpointAwsMapOutput

func (ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutputWithContext

func (o ServiceEndpointAwsMapOutput) ToServiceEndpointAwsMapOutputWithContext(ctx context.Context) ServiceEndpointAwsMapOutput

type ServiceEndpointAwsOutput

type ServiceEndpointAwsOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAwsOutput) AccessKeyId

The AWS access key ID for signing programmatic requests.

func (ServiceEndpointAwsOutput) Authorization

func (ServiceEndpointAwsOutput) Description

func (ServiceEndpointAwsOutput) ElementType

func (ServiceEndpointAwsOutput) ElementType() reflect.Type

func (ServiceEndpointAwsOutput) ExternalId

A unique identifier that is used by third parties when assuming roles in their customers' accounts, aka cross-account role access.

func (ServiceEndpointAwsOutput) ProjectId

The ID of the project.

func (ServiceEndpointAwsOutput) RoleSessionName

func (o ServiceEndpointAwsOutput) RoleSessionName() pulumi.StringPtrOutput

Optional identifier for the assumed role session.

func (ServiceEndpointAwsOutput) RoleToAssume

The Amazon Resource Name (ARN) of the role to assume.

func (ServiceEndpointAwsOutput) SecretAccessKey

func (o ServiceEndpointAwsOutput) SecretAccessKey() pulumi.StringOutput

The AWS secret access key for signing programmatic requests.

func (ServiceEndpointAwsOutput) ServiceEndpointName

func (o ServiceEndpointAwsOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointAwsOutput) SessionToken

The AWS session token for signing programmatic requests.

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsOutput

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsOutput() ServiceEndpointAwsOutput

func (ServiceEndpointAwsOutput) ToServiceEndpointAwsOutputWithContext

func (o ServiceEndpointAwsOutput) ToServiceEndpointAwsOutputWithContext(ctx context.Context) ServiceEndpointAwsOutput

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 ID of the project.
	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
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// The AWS session token for signing programmatic requests.
	SessionToken pulumi.StringPtrInput
}

func (ServiceEndpointAwsState) ElementType

func (ServiceEndpointAwsState) ElementType() reflect.Type

type ServiceEndpointAzureDevOps

type ServiceEndpointAzureDevOps struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The organization URL.
	OrgUrl pulumi.StringOutput `pulumi:"orgUrl"`
	// The Azure DevOps personal access token.
	PersonalAccessToken pulumi.StringOutput `pulumi:"personalAccessToken"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The URL of the release API.
	ReleaseApiUrl pulumi.StringOutput `pulumi:"releaseApiUrl"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages an Azure DevOps service endpoint within Azure DevOps.

> **Note** This resource is duplicate with `ServiceEndpointPipeline`, will be removed in the future, use `ServiceEndpointPipeline` instead.

> **Note** Prerequisite: Extension [Configurable Pipeline Runner](https://marketplace.visualstudio.com/items?itemName=CSE-DevOps.RunPipelines) has been installed for the organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureDevOps(ctx, "exampleServiceEndpointAzureDevOps", &azuredevops.ServiceEndpointAzureDevOpsArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Azure DevOps"),
			OrgUrl:              pulumi.String("https://dev.azure.com/testorganization"),
			ReleaseApiUrl:       pulumi.String("https://vsrm.dev.azure.com/testorganization"),
			PersonalAccessToken: pulumi.String("0000000000000000000000000000000000000000000000000000"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Azure DevOps can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointAzureDevOps:ServiceEndpointAzureDevOps example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointAzureDevOps

func GetServiceEndpointAzureDevOps(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointAzureDevOpsState, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureDevOps, error)

GetServiceEndpointAzureDevOps gets an existing ServiceEndpointAzureDevOps 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 NewServiceEndpointAzureDevOps

func NewServiceEndpointAzureDevOps(ctx *pulumi.Context,
	name string, args *ServiceEndpointAzureDevOpsArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointAzureDevOps, error)

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

func (*ServiceEndpointAzureDevOps) ElementType

func (*ServiceEndpointAzureDevOps) ElementType() reflect.Type

func (*ServiceEndpointAzureDevOps) ToServiceEndpointAzureDevOpsOutput

func (i *ServiceEndpointAzureDevOps) ToServiceEndpointAzureDevOpsOutput() ServiceEndpointAzureDevOpsOutput

func (*ServiceEndpointAzureDevOps) ToServiceEndpointAzureDevOpsOutputWithContext

func (i *ServiceEndpointAzureDevOps) ToServiceEndpointAzureDevOpsOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsOutput

type ServiceEndpointAzureDevOpsArgs

type ServiceEndpointAzureDevOpsArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The organization URL.
	OrgUrl pulumi.StringInput
	// The Azure DevOps personal access token.
	PersonalAccessToken pulumi.StringInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The URL of the release API.
	ReleaseApiUrl pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointAzureDevOps resource.

func (ServiceEndpointAzureDevOpsArgs) ElementType

type ServiceEndpointAzureDevOpsArray

type ServiceEndpointAzureDevOpsArray []ServiceEndpointAzureDevOpsInput

func (ServiceEndpointAzureDevOpsArray) ElementType

func (ServiceEndpointAzureDevOpsArray) ToServiceEndpointAzureDevOpsArrayOutput

func (i ServiceEndpointAzureDevOpsArray) ToServiceEndpointAzureDevOpsArrayOutput() ServiceEndpointAzureDevOpsArrayOutput

func (ServiceEndpointAzureDevOpsArray) ToServiceEndpointAzureDevOpsArrayOutputWithContext

func (i ServiceEndpointAzureDevOpsArray) ToServiceEndpointAzureDevOpsArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsArrayOutput

type ServiceEndpointAzureDevOpsArrayInput

type ServiceEndpointAzureDevOpsArrayInput interface {
	pulumi.Input

	ToServiceEndpointAzureDevOpsArrayOutput() ServiceEndpointAzureDevOpsArrayOutput
	ToServiceEndpointAzureDevOpsArrayOutputWithContext(context.Context) ServiceEndpointAzureDevOpsArrayOutput
}

ServiceEndpointAzureDevOpsArrayInput is an input type that accepts ServiceEndpointAzureDevOpsArray and ServiceEndpointAzureDevOpsArrayOutput values. You can construct a concrete instance of `ServiceEndpointAzureDevOpsArrayInput` via:

ServiceEndpointAzureDevOpsArray{ ServiceEndpointAzureDevOpsArgs{...} }

type ServiceEndpointAzureDevOpsArrayOutput

type ServiceEndpointAzureDevOpsArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureDevOpsArrayOutput) ElementType

func (ServiceEndpointAzureDevOpsArrayOutput) Index

func (ServiceEndpointAzureDevOpsArrayOutput) ToServiceEndpointAzureDevOpsArrayOutput

func (o ServiceEndpointAzureDevOpsArrayOutput) ToServiceEndpointAzureDevOpsArrayOutput() ServiceEndpointAzureDevOpsArrayOutput

func (ServiceEndpointAzureDevOpsArrayOutput) ToServiceEndpointAzureDevOpsArrayOutputWithContext

func (o ServiceEndpointAzureDevOpsArrayOutput) ToServiceEndpointAzureDevOpsArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsArrayOutput

type ServiceEndpointAzureDevOpsInput

type ServiceEndpointAzureDevOpsInput interface {
	pulumi.Input

	ToServiceEndpointAzureDevOpsOutput() ServiceEndpointAzureDevOpsOutput
	ToServiceEndpointAzureDevOpsOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsOutput
}

type ServiceEndpointAzureDevOpsMap

type ServiceEndpointAzureDevOpsMap map[string]ServiceEndpointAzureDevOpsInput

func (ServiceEndpointAzureDevOpsMap) ElementType

func (ServiceEndpointAzureDevOpsMap) ToServiceEndpointAzureDevOpsMapOutput

func (i ServiceEndpointAzureDevOpsMap) ToServiceEndpointAzureDevOpsMapOutput() ServiceEndpointAzureDevOpsMapOutput

func (ServiceEndpointAzureDevOpsMap) ToServiceEndpointAzureDevOpsMapOutputWithContext

func (i ServiceEndpointAzureDevOpsMap) ToServiceEndpointAzureDevOpsMapOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsMapOutput

type ServiceEndpointAzureDevOpsMapInput

type ServiceEndpointAzureDevOpsMapInput interface {
	pulumi.Input

	ToServiceEndpointAzureDevOpsMapOutput() ServiceEndpointAzureDevOpsMapOutput
	ToServiceEndpointAzureDevOpsMapOutputWithContext(context.Context) ServiceEndpointAzureDevOpsMapOutput
}

ServiceEndpointAzureDevOpsMapInput is an input type that accepts ServiceEndpointAzureDevOpsMap and ServiceEndpointAzureDevOpsMapOutput values. You can construct a concrete instance of `ServiceEndpointAzureDevOpsMapInput` via:

ServiceEndpointAzureDevOpsMap{ "key": ServiceEndpointAzureDevOpsArgs{...} }

type ServiceEndpointAzureDevOpsMapOutput

type ServiceEndpointAzureDevOpsMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureDevOpsMapOutput) ElementType

func (ServiceEndpointAzureDevOpsMapOutput) MapIndex

func (ServiceEndpointAzureDevOpsMapOutput) ToServiceEndpointAzureDevOpsMapOutput

func (o ServiceEndpointAzureDevOpsMapOutput) ToServiceEndpointAzureDevOpsMapOutput() ServiceEndpointAzureDevOpsMapOutput

func (ServiceEndpointAzureDevOpsMapOutput) ToServiceEndpointAzureDevOpsMapOutputWithContext

func (o ServiceEndpointAzureDevOpsMapOutput) ToServiceEndpointAzureDevOpsMapOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsMapOutput

type ServiceEndpointAzureDevOpsOutput

type ServiceEndpointAzureDevOpsOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureDevOpsOutput) Authorization

func (ServiceEndpointAzureDevOpsOutput) Description

func (ServiceEndpointAzureDevOpsOutput) ElementType

func (ServiceEndpointAzureDevOpsOutput) OrgUrl

The organization URL.

func (ServiceEndpointAzureDevOpsOutput) PersonalAccessToken

func (o ServiceEndpointAzureDevOpsOutput) PersonalAccessToken() pulumi.StringOutput

The Azure DevOps personal access token.

func (ServiceEndpointAzureDevOpsOutput) ProjectId

The ID of the project.

func (ServiceEndpointAzureDevOpsOutput) ReleaseApiUrl

The URL of the release API.

func (ServiceEndpointAzureDevOpsOutput) ServiceEndpointName

func (o ServiceEndpointAzureDevOpsOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointAzureDevOpsOutput) ToServiceEndpointAzureDevOpsOutput

func (o ServiceEndpointAzureDevOpsOutput) ToServiceEndpointAzureDevOpsOutput() ServiceEndpointAzureDevOpsOutput

func (ServiceEndpointAzureDevOpsOutput) ToServiceEndpointAzureDevOpsOutputWithContext

func (o ServiceEndpointAzureDevOpsOutput) ToServiceEndpointAzureDevOpsOutputWithContext(ctx context.Context) ServiceEndpointAzureDevOpsOutput

type ServiceEndpointAzureDevOpsState

type ServiceEndpointAzureDevOpsState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The organization URL.
	OrgUrl pulumi.StringPtrInput
	// The Azure DevOps personal access token.
	PersonalAccessToken pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The URL of the release API.
	ReleaseApiUrl pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointAzureDevOpsState) ElementType

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"`
	Description             pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		// azure container registry service connection
		_, err = azuredevops.NewServiceEndpointAzureEcr(ctx, "exampleServiceEndpointAzureEcr", &azuredevops.ServiceEndpointAzureEcrArgs{
			ProjectId:               exampleProject.ID(),
			ServiceEndpointName:     pulumi.String("Example AzureCR"),
			ResourceGroup:           pulumi.String("example-rg"),
			AzurecrSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurecrName:             pulumi.String("ExampleAcr"),
			AzurecrSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurecrSubscriptionName: pulumi.String("subscription name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0) - [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 example 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

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
	Description             pulumi.StringPtrInput
	// The ID of the project.
	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

type ServiceEndpointAzureEcrArray []ServiceEndpointAzureEcrInput

func (ServiceEndpointAzureEcrArray) ElementType

func (ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutput

func (i ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutput() ServiceEndpointAzureEcrArrayOutput

func (ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutputWithContext

func (i ServiceEndpointAzureEcrArray) ToServiceEndpointAzureEcrArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrArrayOutput

type ServiceEndpointAzureEcrArrayInput

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

type ServiceEndpointAzureEcrArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureEcrArrayOutput) ElementType

func (ServiceEndpointAzureEcrArrayOutput) Index

func (ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutput

func (o ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutput() ServiceEndpointAzureEcrArrayOutput

func (ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutputWithContext

func (o ServiceEndpointAzureEcrArrayOutput) ToServiceEndpointAzureEcrArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrArrayOutput

type ServiceEndpointAzureEcrInput

type ServiceEndpointAzureEcrInput interface {
	pulumi.Input

	ToServiceEndpointAzureEcrOutput() ServiceEndpointAzureEcrOutput
	ToServiceEndpointAzureEcrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrOutput
}

type ServiceEndpointAzureEcrMap

type ServiceEndpointAzureEcrMap map[string]ServiceEndpointAzureEcrInput

func (ServiceEndpointAzureEcrMap) ElementType

func (ServiceEndpointAzureEcrMap) ElementType() reflect.Type

func (ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutput

func (i ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutput() ServiceEndpointAzureEcrMapOutput

func (ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutputWithContext

func (i ServiceEndpointAzureEcrMap) ToServiceEndpointAzureEcrMapOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrMapOutput

type ServiceEndpointAzureEcrMapInput

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

type ServiceEndpointAzureEcrMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureEcrMapOutput) ElementType

func (ServiceEndpointAzureEcrMapOutput) MapIndex

func (ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutput

func (o ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutput() ServiceEndpointAzureEcrMapOutput

func (ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutputWithContext

func (o ServiceEndpointAzureEcrMapOutput) ToServiceEndpointAzureEcrMapOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrMapOutput

type ServiceEndpointAzureEcrOutput

type ServiceEndpointAzureEcrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureEcrOutput) AppObjectId

func (ServiceEndpointAzureEcrOutput) Authorization

func (ServiceEndpointAzureEcrOutput) AzSpnRoleAssignmentId

func (o ServiceEndpointAzureEcrOutput) AzSpnRoleAssignmentId() pulumi.StringOutput

func (ServiceEndpointAzureEcrOutput) AzSpnRolePermissions

func (o ServiceEndpointAzureEcrOutput) AzSpnRolePermissions() pulumi.StringOutput

func (ServiceEndpointAzureEcrOutput) AzurecrName

The Azure container registry name.

func (ServiceEndpointAzureEcrOutput) AzurecrSpnTenantid

func (o ServiceEndpointAzureEcrOutput) AzurecrSpnTenantid() pulumi.StringOutput

The tenant id of the service principal.

func (ServiceEndpointAzureEcrOutput) AzurecrSubscriptionId

func (o ServiceEndpointAzureEcrOutput) AzurecrSubscriptionId() pulumi.StringOutput

The subscription id of the Azure targets.

func (ServiceEndpointAzureEcrOutput) AzurecrSubscriptionName

func (o ServiceEndpointAzureEcrOutput) AzurecrSubscriptionName() pulumi.StringOutput

The subscription name of the Azure targets.

func (ServiceEndpointAzureEcrOutput) Description

func (ServiceEndpointAzureEcrOutput) ElementType

func (ServiceEndpointAzureEcrOutput) ProjectId

The ID of the project.

func (ServiceEndpointAzureEcrOutput) ResourceGroup

The resource group to which the container registry belongs.

func (ServiceEndpointAzureEcrOutput) ServiceEndpointName

func (o ServiceEndpointAzureEcrOutput) ServiceEndpointName() pulumi.StringOutput

The name you will use to refer to this service connection in task inputs.

func (ServiceEndpointAzureEcrOutput) ServicePrincipalId

func (o ServiceEndpointAzureEcrOutput) ServicePrincipalId() pulumi.StringOutput

The service principal ID.

func (ServiceEndpointAzureEcrOutput) SpnObjectId

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutput

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutput() ServiceEndpointAzureEcrOutput

func (ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutputWithContext

func (o ServiceEndpointAzureEcrOutput) ToServiceEndpointAzureEcrOutputWithContext(ctx context.Context) ServiceEndpointAzureEcrOutput

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
	Description             pulumi.StringPtrInput
	// The ID of the project.
	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 Management group ID of the Azure targets.
	AzurermManagementGroupId pulumi.StringPtrOutput `pulumi:"azurermManagementGroupId"`
	// The Management group Name of the targets.
	AzurermManagementGroupName pulumi.StringPtrOutput `pulumi:"azurermManagementGroupName"`
	// The Tenant ID if the service principal.
	AzurermSpnTenantid pulumi.StringOutput `pulumi:"azurermSpnTenantid"`
	// The Subscription ID of the Azure targets.
	AzurermSubscriptionId pulumi.StringPtrOutput `pulumi:"azurermSubscriptionId"`
	// The Subscription Name of the targets.
	AzurermSubscriptionName pulumi.StringPtrOutput `pulumi:"azurermSubscriptionName"`
	// A `credentials` block.
	Credentials ServiceEndpointAzureRMCredentialsPtrOutput `pulumi:"credentials"`
	// Service connection description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** One of either `Subscription` scoped i.e. `azurermSubscriptionId`, `azurermSubscriptionName` or `ManagementGroup` scoped i.e. `azurermManagementGroupId`, `azurermManagementGroupName` values must be specified.
	Environment pulumi.StringPtrOutput `pulumi:"environment"`
	// A `features` block.
	Features ServiceEndpointAzureRMFeaturesPtrOutput `pulumi:"features"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrOutput `pulumi:"resourceGroup"`
	// Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
	//
	// > **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
	ServiceEndpointAuthenticationScheme pulumi.StringPtrOutput `pulumi:"serviceEndpointAuthenticationScheme"`
	// The Service Endpoint Name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The Application(Client) ID of the Service Principal.
	ServicePrincipalId pulumi.StringOutput `pulumi:"servicePrincipalId"`
	// The issuer if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
	WorkloadIdentityFederationIssuer pulumi.StringOutput `pulumi:"workloadIdentityFederationIssuer"`
	// The subject if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
	WorkloadIdentityFederationSubject pulumi.StringOutput `pulumi:"workloadIdentityFederationSubject"`
}

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

### Service Principal Manual AzureRM Service Endpoint (Subscription Scoped)

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
			Description:                         pulumi.String("Managed by Terraform"),
			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
				Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName: pulumi.String("Example Subscription Name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Service Principal Manual AzureRM Service Endpoint (ManagementGroup Scoped)

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
			Description:                         pulumi.String("Managed by Terraform"),
			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
				Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
			AzurermSpnTenantid:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermManagementGroupId:   pulumi.String("managementGroup"),
			AzurermManagementGroupName: pulumi.String("managementGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Service Principal Automatic AzureRM Service Endpoint

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Workload Identity Federation Automatic AzureRM Service Endpoint

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
			ServiceEndpointAuthenticationScheme: pulumi.String("WorkloadIdentityFederation"),
			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Managed Identity AzureRM Service Endpoint

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:                           exampleProject.ID(),
			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
			ServiceEndpointAuthenticationScheme: pulumi.String("ManagedServiceIdentity"),
			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service End points](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Azure Resource Manage can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointAzureRM:ServiceEndpointAzureRM example 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

type ServiceEndpointAzureRMArgs

type ServiceEndpointAzureRMArgs struct {
	Authorization pulumi.StringMapInput
	// The Management group ID of the Azure targets.
	AzurermManagementGroupId pulumi.StringPtrInput
	// The Management group Name of the targets.
	AzurermManagementGroupName pulumi.StringPtrInput
	// The Tenant ID if the service principal.
	AzurermSpnTenantid pulumi.StringInput
	// 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 Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** One of either `Subscription` scoped i.e. `azurermSubscriptionId`, `azurermSubscriptionName` or `ManagementGroup` scoped i.e. `azurermManagementGroupId`, `azurermManagementGroupName` values must be specified.
	Environment pulumi.StringPtrInput
	// A `features` block.
	Features ServiceEndpointAzureRMFeaturesPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrInput
	// Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
	//
	// > **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
	ServiceEndpointAuthenticationScheme 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

type ServiceEndpointAzureRMArray []ServiceEndpointAzureRMInput

func (ServiceEndpointAzureRMArray) ElementType

func (ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutput

func (i ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutput() ServiceEndpointAzureRMArrayOutput

func (ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutputWithContext

func (i ServiceEndpointAzureRMArray) ToServiceEndpointAzureRMArrayOutputWithContext(ctx context.Context) ServiceEndpointAzureRMArrayOutput

type ServiceEndpointAzureRMArrayInput

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

type ServiceEndpointAzureRMArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMArrayOutput) ElementType

func (ServiceEndpointAzureRMArrayOutput) Index

func (ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutput

func (o ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutput() ServiceEndpointAzureRMArrayOutput

func (ServiceEndpointAzureRMArrayOutput) ToServiceEndpointAzureRMArrayOutputWithContext

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. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
	Serviceprincipalkey *string `pulumi:"serviceprincipalkey"`
}

type ServiceEndpointAzureRMCredentialsArgs

type ServiceEndpointAzureRMCredentialsArgs struct {
	// The service principal application Id
	Serviceprincipalid pulumi.StringInput `pulumi:"serviceprincipalid"`
	// The service principal secret. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
	Serviceprincipalkey pulumi.StringPtrInput `pulumi:"serviceprincipalkey"`
}

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. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.

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. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.

func (ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutput

func (o ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutput() ServiceEndpointAzureRMCredentialsPtrOutput

func (ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext

func (o ServiceEndpointAzureRMCredentialsPtrOutput) ToServiceEndpointAzureRMCredentialsPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMCredentialsPtrOutput

type ServiceEndpointAzureRMFeatures

type ServiceEndpointAzureRMFeatures struct {
	// Whether or not to validate connection with Azure after create or update operations. Defaults to `false`
	Validate *bool `pulumi:"validate"`
}

type ServiceEndpointAzureRMFeaturesArgs

type ServiceEndpointAzureRMFeaturesArgs struct {
	// Whether or not to validate connection with Azure after create or update operations. Defaults to `false`
	Validate pulumi.BoolPtrInput `pulumi:"validate"`
}

func (ServiceEndpointAzureRMFeaturesArgs) ElementType

func (ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesOutput

func (i ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesOutput() ServiceEndpointAzureRMFeaturesOutput

func (ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesOutputWithContext

func (i ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesOutputWithContext(ctx context.Context) ServiceEndpointAzureRMFeaturesOutput

func (ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesPtrOutput

func (i ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesPtrOutput() ServiceEndpointAzureRMFeaturesPtrOutput

func (ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext

func (i ServiceEndpointAzureRMFeaturesArgs) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMFeaturesPtrOutput

type ServiceEndpointAzureRMFeaturesInput

type ServiceEndpointAzureRMFeaturesInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMFeaturesOutput() ServiceEndpointAzureRMFeaturesOutput
	ToServiceEndpointAzureRMFeaturesOutputWithContext(context.Context) ServiceEndpointAzureRMFeaturesOutput
}

ServiceEndpointAzureRMFeaturesInput is an input type that accepts ServiceEndpointAzureRMFeaturesArgs and ServiceEndpointAzureRMFeaturesOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMFeaturesInput` via:

ServiceEndpointAzureRMFeaturesArgs{...}

type ServiceEndpointAzureRMFeaturesOutput

type ServiceEndpointAzureRMFeaturesOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMFeaturesOutput) ElementType

func (ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesOutput

func (o ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesOutput() ServiceEndpointAzureRMFeaturesOutput

func (ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesOutputWithContext

func (o ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesOutputWithContext(ctx context.Context) ServiceEndpointAzureRMFeaturesOutput

func (ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesPtrOutput

func (o ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesPtrOutput() ServiceEndpointAzureRMFeaturesPtrOutput

func (ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext

func (o ServiceEndpointAzureRMFeaturesOutput) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMFeaturesPtrOutput

func (ServiceEndpointAzureRMFeaturesOutput) Validate

Whether or not to validate connection with Azure after create or update operations. Defaults to `false`

type ServiceEndpointAzureRMFeaturesPtrInput

type ServiceEndpointAzureRMFeaturesPtrInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMFeaturesPtrOutput() ServiceEndpointAzureRMFeaturesPtrOutput
	ToServiceEndpointAzureRMFeaturesPtrOutputWithContext(context.Context) ServiceEndpointAzureRMFeaturesPtrOutput
}

ServiceEndpointAzureRMFeaturesPtrInput is an input type that accepts ServiceEndpointAzureRMFeaturesArgs, ServiceEndpointAzureRMFeaturesPtr and ServiceEndpointAzureRMFeaturesPtrOutput values. You can construct a concrete instance of `ServiceEndpointAzureRMFeaturesPtrInput` via:

        ServiceEndpointAzureRMFeaturesArgs{...}

or:

        nil

type ServiceEndpointAzureRMFeaturesPtrOutput

type ServiceEndpointAzureRMFeaturesPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMFeaturesPtrOutput) Elem

func (ServiceEndpointAzureRMFeaturesPtrOutput) ElementType

func (ServiceEndpointAzureRMFeaturesPtrOutput) ToServiceEndpointAzureRMFeaturesPtrOutput

func (o ServiceEndpointAzureRMFeaturesPtrOutput) ToServiceEndpointAzureRMFeaturesPtrOutput() ServiceEndpointAzureRMFeaturesPtrOutput

func (ServiceEndpointAzureRMFeaturesPtrOutput) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext

func (o ServiceEndpointAzureRMFeaturesPtrOutput) ToServiceEndpointAzureRMFeaturesPtrOutputWithContext(ctx context.Context) ServiceEndpointAzureRMFeaturesPtrOutput

func (ServiceEndpointAzureRMFeaturesPtrOutput) Validate

Whether or not to validate connection with Azure after create or update operations. Defaults to `false`

type ServiceEndpointAzureRMInput

type ServiceEndpointAzureRMInput interface {
	pulumi.Input

	ToServiceEndpointAzureRMOutput() ServiceEndpointAzureRMOutput
	ToServiceEndpointAzureRMOutputWithContext(ctx context.Context) ServiceEndpointAzureRMOutput
}

type ServiceEndpointAzureRMMap

type ServiceEndpointAzureRMMap map[string]ServiceEndpointAzureRMInput

func (ServiceEndpointAzureRMMap) ElementType

func (ServiceEndpointAzureRMMap) ElementType() reflect.Type

func (ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutput

func (i ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutput() ServiceEndpointAzureRMMapOutput

func (ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutputWithContext

func (i ServiceEndpointAzureRMMap) ToServiceEndpointAzureRMMapOutputWithContext(ctx context.Context) ServiceEndpointAzureRMMapOutput

type ServiceEndpointAzureRMMapInput

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

type ServiceEndpointAzureRMMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMMapOutput) ElementType

func (ServiceEndpointAzureRMMapOutput) MapIndex

func (ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutput

func (o ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutput() ServiceEndpointAzureRMMapOutput

func (ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutputWithContext

func (o ServiceEndpointAzureRMMapOutput) ToServiceEndpointAzureRMMapOutputWithContext(ctx context.Context) ServiceEndpointAzureRMMapOutput

type ServiceEndpointAzureRMOutput

type ServiceEndpointAzureRMOutput struct{ *pulumi.OutputState }

func (ServiceEndpointAzureRMOutput) Authorization

func (ServiceEndpointAzureRMOutput) AzurermManagementGroupId

func (o ServiceEndpointAzureRMOutput) AzurermManagementGroupId() pulumi.StringPtrOutput

The Management group ID of the Azure targets.

func (ServiceEndpointAzureRMOutput) AzurermManagementGroupName

func (o ServiceEndpointAzureRMOutput) AzurermManagementGroupName() pulumi.StringPtrOutput

The Management group Name of the targets.

func (ServiceEndpointAzureRMOutput) AzurermSpnTenantid

func (o ServiceEndpointAzureRMOutput) AzurermSpnTenantid() pulumi.StringOutput

The Tenant ID if the service principal.

func (ServiceEndpointAzureRMOutput) AzurermSubscriptionId

func (o ServiceEndpointAzureRMOutput) AzurermSubscriptionId() pulumi.StringPtrOutput

The Subscription ID of the Azure targets.

func (ServiceEndpointAzureRMOutput) AzurermSubscriptionName

func (o ServiceEndpointAzureRMOutput) AzurermSubscriptionName() pulumi.StringPtrOutput

The Subscription Name of the targets.

func (ServiceEndpointAzureRMOutput) Credentials

A `credentials` block.

func (ServiceEndpointAzureRMOutput) Description

Service connection description.

func (ServiceEndpointAzureRMOutput) ElementType

func (ServiceEndpointAzureRMOutput) Environment

The Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`. Changing this forces a new resource to be created.

> **NOTE:** One of either `Subscription` scoped i.e. `azurermSubscriptionId`, `azurermSubscriptionName` or `ManagementGroup` scoped i.e. `azurermManagementGroupId`, `azurermManagementGroupName` values must be specified.

func (ServiceEndpointAzureRMOutput) Features

A `features` block.

func (ServiceEndpointAzureRMOutput) ProjectId

The ID of the project.

func (ServiceEndpointAzureRMOutput) ResourceGroup

The resource group used for scope of automatic service endpoint.

func (ServiceEndpointAzureRMOutput) ServiceEndpointAuthenticationScheme

func (o ServiceEndpointAzureRMOutput) ServiceEndpointAuthenticationScheme() pulumi.StringPtrOutput

Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.

> **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).

func (ServiceEndpointAzureRMOutput) ServiceEndpointName

func (o ServiceEndpointAzureRMOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint Name.

func (ServiceEndpointAzureRMOutput) ServicePrincipalId

func (o ServiceEndpointAzureRMOutput) ServicePrincipalId() pulumi.StringOutput

The Application(Client) ID of the Service Principal.

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutput

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutput() ServiceEndpointAzureRMOutput

func (ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutputWithContext

func (o ServiceEndpointAzureRMOutput) ToServiceEndpointAzureRMOutputWithContext(ctx context.Context) ServiceEndpointAzureRMOutput

func (ServiceEndpointAzureRMOutput) WorkloadIdentityFederationIssuer

func (o ServiceEndpointAzureRMOutput) WorkloadIdentityFederationIssuer() pulumi.StringOutput

The issuer if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.

func (ServiceEndpointAzureRMOutput) WorkloadIdentityFederationSubject

func (o ServiceEndpointAzureRMOutput) WorkloadIdentityFederationSubject() pulumi.StringOutput

The subject if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.

type ServiceEndpointAzureRMState

type ServiceEndpointAzureRMState struct {
	Authorization pulumi.StringMapInput
	// The Management group ID of the Azure targets.
	AzurermManagementGroupId pulumi.StringPtrInput
	// The Management group Name of the targets.
	AzurermManagementGroupName pulumi.StringPtrInput
	// 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 Cloud Environment to use. Defaults to `AzureCloud`. Possible values are `AzureCloud`, `AzureChinaCloud`. Changing this forces a new resource to be created.
	//
	// > **NOTE:** One of either `Subscription` scoped i.e. `azurermSubscriptionId`, `azurermSubscriptionName` or `ManagementGroup` scoped i.e. `azurermManagementGroupId`, `azurermManagementGroupName` values must be specified.
	Environment pulumi.StringPtrInput
	// A `features` block.
	Features ServiceEndpointAzureRMFeaturesPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The resource group used for scope of automatic service endpoint.
	ResourceGroup pulumi.StringPtrInput
	// Specifies the type of azurerm endpoint, either `WorkloadIdentityFederation`, `ManagedServiceIdentity` or `ServicePrincipal`. Defaults to `ServicePrincipal` for backwards compatibility.
	//
	// > **NOTE:** The `WorkloadIdentityFederation` authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found [here](https://aka.ms/azdo-rm-workload-identity).
	ServiceEndpointAuthenticationScheme pulumi.StringPtrInput
	// The Service Endpoint Name.
	ServiceEndpointName pulumi.StringPtrInput
	// The Application(Client) ID of the Service Principal.
	ServicePrincipalId pulumi.StringPtrInput
	// The issuer if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000`, where the GUID is the Organization ID of your Azure DevOps Organisation.
	WorkloadIdentityFederationIssuer pulumi.StringPtrInput
	// The subject if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`. This looks like `sc://<organisation>/<project>/<service-connection-name>`.
	WorkloadIdentityFederationSubject 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"`
	// The ID of the project.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointBitBucket(ctx, "exampleServiceEndpointBitBucket", &azuredevops.ServiceEndpointBitBucketArgs{
			ProjectId:           exampleProject.ID(),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Bitbucket"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Bitbucket can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointBitBucket:ServiceEndpointBitBucket example 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

type ServiceEndpointBitBucketArgs

type ServiceEndpointBitBucketArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Bitbucket account password.
	Password pulumi.StringInput
	// The ID of the project.
	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

type ServiceEndpointBitBucketArray []ServiceEndpointBitBucketInput

func (ServiceEndpointBitBucketArray) ElementType

func (ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutput

func (i ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutput() ServiceEndpointBitBucketArrayOutput

func (ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutputWithContext

func (i ServiceEndpointBitBucketArray) ToServiceEndpointBitBucketArrayOutputWithContext(ctx context.Context) ServiceEndpointBitBucketArrayOutput

type ServiceEndpointBitBucketArrayInput

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

type ServiceEndpointBitBucketArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointBitBucketArrayOutput) ElementType

func (ServiceEndpointBitBucketArrayOutput) Index

func (ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutput

func (o ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutput() ServiceEndpointBitBucketArrayOutput

func (ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutputWithContext

func (o ServiceEndpointBitBucketArrayOutput) ToServiceEndpointBitBucketArrayOutputWithContext(ctx context.Context) ServiceEndpointBitBucketArrayOutput

type ServiceEndpointBitBucketInput

type ServiceEndpointBitBucketInput interface {
	pulumi.Input

	ToServiceEndpointBitBucketOutput() ServiceEndpointBitBucketOutput
	ToServiceEndpointBitBucketOutputWithContext(ctx context.Context) ServiceEndpointBitBucketOutput
}

type ServiceEndpointBitBucketMap

type ServiceEndpointBitBucketMap map[string]ServiceEndpointBitBucketInput

func (ServiceEndpointBitBucketMap) ElementType

func (ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutput

func (i ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutput() ServiceEndpointBitBucketMapOutput

func (ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutputWithContext

func (i ServiceEndpointBitBucketMap) ToServiceEndpointBitBucketMapOutputWithContext(ctx context.Context) ServiceEndpointBitBucketMapOutput

type ServiceEndpointBitBucketMapInput

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

type ServiceEndpointBitBucketMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointBitBucketMapOutput) ElementType

func (ServiceEndpointBitBucketMapOutput) MapIndex

func (ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutput

func (o ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutput() ServiceEndpointBitBucketMapOutput

func (ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutputWithContext

func (o ServiceEndpointBitBucketMapOutput) ToServiceEndpointBitBucketMapOutputWithContext(ctx context.Context) ServiceEndpointBitBucketMapOutput

type ServiceEndpointBitBucketOutput

type ServiceEndpointBitBucketOutput struct{ *pulumi.OutputState }

func (ServiceEndpointBitBucketOutput) Authorization

func (ServiceEndpointBitBucketOutput) Description

func (ServiceEndpointBitBucketOutput) ElementType

func (ServiceEndpointBitBucketOutput) Password

Bitbucket account password.

func (ServiceEndpointBitBucketOutput) ProjectId

The ID of the project.

func (ServiceEndpointBitBucketOutput) ServiceEndpointName

func (o ServiceEndpointBitBucketOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutput

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutput() ServiceEndpointBitBucketOutput

func (ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutputWithContext

func (o ServiceEndpointBitBucketOutput) ToServiceEndpointBitBucketOutputWithContext(ctx context.Context) ServiceEndpointBitBucketOutput

func (ServiceEndpointBitBucketOutput) Username

Bitbucket account username.

type ServiceEndpointBitBucketState

type ServiceEndpointBitBucketState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Bitbucket account password.
	Password pulumi.StringPtrInput
	// The ID of the project.
	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"`
	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"`
	// 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 ID of the project.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		// dockerhub registry service connection
		_, err = azuredevops.NewServiceEndpointDockerRegistry(ctx, "exampleServiceEndpointDockerRegistry", &azuredevops.ServiceEndpointDockerRegistryArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Docker Hub"),
			DockerUsername:      pulumi.String("example"),
			DockerEmail:         pulumi.String("email@example.com"),
			DockerPassword:      pulumi.String("12345"),
			RegistryType:        pulumi.String("DockerHub"),
		})
		if err != nil {
			return err
		}
		// other docker registry service connection
		_, err = azuredevops.NewServiceEndpointDockerRegistry(ctx, "example-other", &azuredevops.ServiceEndpointDockerRegistryArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example 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
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0) - [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 example 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

type ServiceEndpointDockerRegistryArgs

type ServiceEndpointDockerRegistryArgs struct {
	Authorization pulumi.StringMapInput
	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 ID of the project.
	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

type ServiceEndpointDockerRegistryArray []ServiceEndpointDockerRegistryInput

func (ServiceEndpointDockerRegistryArray) ElementType

func (ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutput

func (i ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutput() ServiceEndpointDockerRegistryArrayOutput

func (ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutputWithContext

func (i ServiceEndpointDockerRegistryArray) ToServiceEndpointDockerRegistryArrayOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryArrayOutput

type ServiceEndpointDockerRegistryArrayInput

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

type ServiceEndpointDockerRegistryArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointDockerRegistryArrayOutput) ElementType

func (ServiceEndpointDockerRegistryArrayOutput) Index

func (ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutput

func (o ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutput() ServiceEndpointDockerRegistryArrayOutput

func (ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutputWithContext

func (o ServiceEndpointDockerRegistryArrayOutput) ToServiceEndpointDockerRegistryArrayOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryArrayOutput

type ServiceEndpointDockerRegistryInput

type ServiceEndpointDockerRegistryInput interface {
	pulumi.Input

	ToServiceEndpointDockerRegistryOutput() ServiceEndpointDockerRegistryOutput
	ToServiceEndpointDockerRegistryOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryOutput
}

type ServiceEndpointDockerRegistryMap

type ServiceEndpointDockerRegistryMap map[string]ServiceEndpointDockerRegistryInput

func (ServiceEndpointDockerRegistryMap) ElementType

func (ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutput

func (i ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutput() ServiceEndpointDockerRegistryMapOutput

func (ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutputWithContext

func (i ServiceEndpointDockerRegistryMap) ToServiceEndpointDockerRegistryMapOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryMapOutput

type ServiceEndpointDockerRegistryMapInput

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

type ServiceEndpointDockerRegistryMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointDockerRegistryMapOutput) ElementType

func (ServiceEndpointDockerRegistryMapOutput) MapIndex

func (ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutput

func (o ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutput() ServiceEndpointDockerRegistryMapOutput

func (ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutputWithContext

func (o ServiceEndpointDockerRegistryMapOutput) ToServiceEndpointDockerRegistryMapOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryMapOutput

type ServiceEndpointDockerRegistryOutput

type ServiceEndpointDockerRegistryOutput struct{ *pulumi.OutputState }

func (ServiceEndpointDockerRegistryOutput) Authorization

func (ServiceEndpointDockerRegistryOutput) Description

func (ServiceEndpointDockerRegistryOutput) DockerEmail

The email for Docker account user.

func (ServiceEndpointDockerRegistryOutput) DockerPassword

The password for the account user identified above.

func (ServiceEndpointDockerRegistryOutput) DockerRegistry

The URL of the Docker registry. (Default: "https://index.docker.io/v1/")

func (ServiceEndpointDockerRegistryOutput) DockerUsername

The identifier of the Docker account user.

func (ServiceEndpointDockerRegistryOutput) ElementType

func (ServiceEndpointDockerRegistryOutput) ProjectId

The ID of the project.

func (ServiceEndpointDockerRegistryOutput) RegistryType

Can be "DockerHub" or "Others" (Default "DockerHub")

func (ServiceEndpointDockerRegistryOutput) ServiceEndpointName

The name you will use to refer to this service connection in task inputs.

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutput

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutput() ServiceEndpointDockerRegistryOutput

func (ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutputWithContext

func (o ServiceEndpointDockerRegistryOutput) ToServiceEndpointDockerRegistryOutputWithContext(ctx context.Context) ServiceEndpointDockerRegistryOutput

type ServiceEndpointDockerRegistryState

type ServiceEndpointDockerRegistryState struct {
	Authorization pulumi.StringMapInput
	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.StringPtrInput
	// The identifier of the Docker account user.
	DockerUsername pulumi.StringPtrInput
	// The ID of the project.
	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 ServiceEndpointGeneric

type ServiceEndpointGeneric struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The password or token key used to authenticate to the server url using basic authentication.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The URL of the server associated with the service endpoint.
	ServerUrl pulumi.StringOutput `pulumi:"serverUrl"`
	// The service endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The username used to authenticate to the server url using basic authentication.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

Manages a generic service endpoint within Azure DevOps, which can be used to authenticate to any external server using basic authentication via a username and password.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGeneric(ctx, "exampleServiceEndpointGeneric", &azuredevops.ServiceEndpointGenericArgs{
			ProjectId:           exampleProject.ID(),
			ServerUrl:           pulumi.String("https://some-server.example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Generic can be imported using **projectID/serviceEndpointID** or

**projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointGeneric:ServiceEndpointGeneric example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointGeneric

func GetServiceEndpointGeneric(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointGenericState, opts ...pulumi.ResourceOption) (*ServiceEndpointGeneric, error)

GetServiceEndpointGeneric gets an existing ServiceEndpointGeneric 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 NewServiceEndpointGeneric

func NewServiceEndpointGeneric(ctx *pulumi.Context,
	name string, args *ServiceEndpointGenericArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointGeneric, error)

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

func (*ServiceEndpointGeneric) ElementType

func (*ServiceEndpointGeneric) ElementType() reflect.Type

func (*ServiceEndpointGeneric) ToServiceEndpointGenericOutput

func (i *ServiceEndpointGeneric) ToServiceEndpointGenericOutput() ServiceEndpointGenericOutput

func (*ServiceEndpointGeneric) ToServiceEndpointGenericOutputWithContext

func (i *ServiceEndpointGeneric) ToServiceEndpointGenericOutputWithContext(ctx context.Context) ServiceEndpointGenericOutput

type ServiceEndpointGenericArgs

type ServiceEndpointGenericArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The password or token key used to authenticate to the server url using basic authentication.
	Password pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The URL of the server associated with the service endpoint.
	ServerUrl pulumi.StringInput
	// The service endpoint name.
	ServiceEndpointName pulumi.StringInput
	// The username used to authenticate to the server url using basic authentication.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceEndpointGeneric resource.

func (ServiceEndpointGenericArgs) ElementType

func (ServiceEndpointGenericArgs) ElementType() reflect.Type

type ServiceEndpointGenericArray

type ServiceEndpointGenericArray []ServiceEndpointGenericInput

func (ServiceEndpointGenericArray) ElementType

func (ServiceEndpointGenericArray) ToServiceEndpointGenericArrayOutput

func (i ServiceEndpointGenericArray) ToServiceEndpointGenericArrayOutput() ServiceEndpointGenericArrayOutput

func (ServiceEndpointGenericArray) ToServiceEndpointGenericArrayOutputWithContext

func (i ServiceEndpointGenericArray) ToServiceEndpointGenericArrayOutputWithContext(ctx context.Context) ServiceEndpointGenericArrayOutput

type ServiceEndpointGenericArrayInput

type ServiceEndpointGenericArrayInput interface {
	pulumi.Input

	ToServiceEndpointGenericArrayOutput() ServiceEndpointGenericArrayOutput
	ToServiceEndpointGenericArrayOutputWithContext(context.Context) ServiceEndpointGenericArrayOutput
}

ServiceEndpointGenericArrayInput is an input type that accepts ServiceEndpointGenericArray and ServiceEndpointGenericArrayOutput values. You can construct a concrete instance of `ServiceEndpointGenericArrayInput` via:

ServiceEndpointGenericArray{ ServiceEndpointGenericArgs{...} }

type ServiceEndpointGenericArrayOutput

type ServiceEndpointGenericArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericArrayOutput) ElementType

func (ServiceEndpointGenericArrayOutput) Index

func (ServiceEndpointGenericArrayOutput) ToServiceEndpointGenericArrayOutput

func (o ServiceEndpointGenericArrayOutput) ToServiceEndpointGenericArrayOutput() ServiceEndpointGenericArrayOutput

func (ServiceEndpointGenericArrayOutput) ToServiceEndpointGenericArrayOutputWithContext

func (o ServiceEndpointGenericArrayOutput) ToServiceEndpointGenericArrayOutputWithContext(ctx context.Context) ServiceEndpointGenericArrayOutput

type ServiceEndpointGenericGit

type ServiceEndpointGenericGit struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// A value indicating whether or not to attempt accessing this git server from Azure Pipelines.
	EnablePipelinesAccess pulumi.BoolPtrOutput `pulumi:"enablePipelinesAccess"`
	// The PAT or password used to authenticate to the git repository.
	//
	// > **Note** For AzureDevOps Git, PAT should be used as the password.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The URL of the repository associated with the service endpoint.
	RepositoryUrl pulumi.StringOutput `pulumi:"repositoryUrl"`
	// The name of the service endpoint.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The username used to authenticate to the git repository.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

Manages a generic service endpoint within Azure DevOps, which can be used to authenticate to any external git service using basic authentication via a username and password. This is mostly useful for importing private git repositories.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGenericGit(ctx, "exampleServiceEndpointGenericGit", &azuredevops.ServiceEndpointGenericGitArgs{
			ProjectId:           exampleProject.ID(),
			RepositoryUrl:       pulumi.String("https://dev.azure.com/org/project/_git/repository"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
			ServiceEndpointName: pulumi.String("Example Generic Git"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Generic Git can be imported using **projectID/serviceEndpointID** or

**projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointGenericGit:ServiceEndpointGenericGit example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointGenericGit

func GetServiceEndpointGenericGit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointGenericGitState, opts ...pulumi.ResourceOption) (*ServiceEndpointGenericGit, error)

GetServiceEndpointGenericGit gets an existing ServiceEndpointGenericGit 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 NewServiceEndpointGenericGit

func NewServiceEndpointGenericGit(ctx *pulumi.Context,
	name string, args *ServiceEndpointGenericGitArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointGenericGit, error)

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

func (*ServiceEndpointGenericGit) ElementType

func (*ServiceEndpointGenericGit) ElementType() reflect.Type

func (*ServiceEndpointGenericGit) ToServiceEndpointGenericGitOutput

func (i *ServiceEndpointGenericGit) ToServiceEndpointGenericGitOutput() ServiceEndpointGenericGitOutput

func (*ServiceEndpointGenericGit) ToServiceEndpointGenericGitOutputWithContext

func (i *ServiceEndpointGenericGit) ToServiceEndpointGenericGitOutputWithContext(ctx context.Context) ServiceEndpointGenericGitOutput

type ServiceEndpointGenericGitArgs

type ServiceEndpointGenericGitArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// A value indicating whether or not to attempt accessing this git server from Azure Pipelines.
	EnablePipelinesAccess pulumi.BoolPtrInput
	// The PAT or password used to authenticate to the git repository.
	//
	// > **Note** For AzureDevOps Git, PAT should be used as the password.
	Password pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The URL of the repository associated with the service endpoint.
	RepositoryUrl pulumi.StringInput
	// The name of the service endpoint.
	ServiceEndpointName pulumi.StringInput
	// The username used to authenticate to the git repository.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceEndpointGenericGit resource.

func (ServiceEndpointGenericGitArgs) ElementType

type ServiceEndpointGenericGitArray

type ServiceEndpointGenericGitArray []ServiceEndpointGenericGitInput

func (ServiceEndpointGenericGitArray) ElementType

func (ServiceEndpointGenericGitArray) ToServiceEndpointGenericGitArrayOutput

func (i ServiceEndpointGenericGitArray) ToServiceEndpointGenericGitArrayOutput() ServiceEndpointGenericGitArrayOutput

func (ServiceEndpointGenericGitArray) ToServiceEndpointGenericGitArrayOutputWithContext

func (i ServiceEndpointGenericGitArray) ToServiceEndpointGenericGitArrayOutputWithContext(ctx context.Context) ServiceEndpointGenericGitArrayOutput

type ServiceEndpointGenericGitArrayInput

type ServiceEndpointGenericGitArrayInput interface {
	pulumi.Input

	ToServiceEndpointGenericGitArrayOutput() ServiceEndpointGenericGitArrayOutput
	ToServiceEndpointGenericGitArrayOutputWithContext(context.Context) ServiceEndpointGenericGitArrayOutput
}

ServiceEndpointGenericGitArrayInput is an input type that accepts ServiceEndpointGenericGitArray and ServiceEndpointGenericGitArrayOutput values. You can construct a concrete instance of `ServiceEndpointGenericGitArrayInput` via:

ServiceEndpointGenericGitArray{ ServiceEndpointGenericGitArgs{...} }

type ServiceEndpointGenericGitArrayOutput

type ServiceEndpointGenericGitArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericGitArrayOutput) ElementType

func (ServiceEndpointGenericGitArrayOutput) Index

func (ServiceEndpointGenericGitArrayOutput) ToServiceEndpointGenericGitArrayOutput

func (o ServiceEndpointGenericGitArrayOutput) ToServiceEndpointGenericGitArrayOutput() ServiceEndpointGenericGitArrayOutput

func (ServiceEndpointGenericGitArrayOutput) ToServiceEndpointGenericGitArrayOutputWithContext

func (o ServiceEndpointGenericGitArrayOutput) ToServiceEndpointGenericGitArrayOutputWithContext(ctx context.Context) ServiceEndpointGenericGitArrayOutput

type ServiceEndpointGenericGitInput

type ServiceEndpointGenericGitInput interface {
	pulumi.Input

	ToServiceEndpointGenericGitOutput() ServiceEndpointGenericGitOutput
	ToServiceEndpointGenericGitOutputWithContext(ctx context.Context) ServiceEndpointGenericGitOutput
}

type ServiceEndpointGenericGitMap

type ServiceEndpointGenericGitMap map[string]ServiceEndpointGenericGitInput

func (ServiceEndpointGenericGitMap) ElementType

func (ServiceEndpointGenericGitMap) ToServiceEndpointGenericGitMapOutput

func (i ServiceEndpointGenericGitMap) ToServiceEndpointGenericGitMapOutput() ServiceEndpointGenericGitMapOutput

func (ServiceEndpointGenericGitMap) ToServiceEndpointGenericGitMapOutputWithContext

func (i ServiceEndpointGenericGitMap) ToServiceEndpointGenericGitMapOutputWithContext(ctx context.Context) ServiceEndpointGenericGitMapOutput

type ServiceEndpointGenericGitMapInput

type ServiceEndpointGenericGitMapInput interface {
	pulumi.Input

	ToServiceEndpointGenericGitMapOutput() ServiceEndpointGenericGitMapOutput
	ToServiceEndpointGenericGitMapOutputWithContext(context.Context) ServiceEndpointGenericGitMapOutput
}

ServiceEndpointGenericGitMapInput is an input type that accepts ServiceEndpointGenericGitMap and ServiceEndpointGenericGitMapOutput values. You can construct a concrete instance of `ServiceEndpointGenericGitMapInput` via:

ServiceEndpointGenericGitMap{ "key": ServiceEndpointGenericGitArgs{...} }

type ServiceEndpointGenericGitMapOutput

type ServiceEndpointGenericGitMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericGitMapOutput) ElementType

func (ServiceEndpointGenericGitMapOutput) MapIndex

func (ServiceEndpointGenericGitMapOutput) ToServiceEndpointGenericGitMapOutput

func (o ServiceEndpointGenericGitMapOutput) ToServiceEndpointGenericGitMapOutput() ServiceEndpointGenericGitMapOutput

func (ServiceEndpointGenericGitMapOutput) ToServiceEndpointGenericGitMapOutputWithContext

func (o ServiceEndpointGenericGitMapOutput) ToServiceEndpointGenericGitMapOutputWithContext(ctx context.Context) ServiceEndpointGenericGitMapOutput

type ServiceEndpointGenericGitOutput

type ServiceEndpointGenericGitOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericGitOutput) Authorization

func (ServiceEndpointGenericGitOutput) Description

func (ServiceEndpointGenericGitOutput) ElementType

func (ServiceEndpointGenericGitOutput) EnablePipelinesAccess

func (o ServiceEndpointGenericGitOutput) EnablePipelinesAccess() pulumi.BoolPtrOutput

A value indicating whether or not to attempt accessing this git server from Azure Pipelines.

func (ServiceEndpointGenericGitOutput) Password

The PAT or password used to authenticate to the git repository.

> **Note** For AzureDevOps Git, PAT should be used as the password.

func (ServiceEndpointGenericGitOutput) ProjectId

The ID of the project.

func (ServiceEndpointGenericGitOutput) RepositoryUrl

The URL of the repository associated with the service endpoint.

func (ServiceEndpointGenericGitOutput) ServiceEndpointName

func (o ServiceEndpointGenericGitOutput) ServiceEndpointName() pulumi.StringOutput

The name of the service endpoint.

func (ServiceEndpointGenericGitOutput) ToServiceEndpointGenericGitOutput

func (o ServiceEndpointGenericGitOutput) ToServiceEndpointGenericGitOutput() ServiceEndpointGenericGitOutput

func (ServiceEndpointGenericGitOutput) ToServiceEndpointGenericGitOutputWithContext

func (o ServiceEndpointGenericGitOutput) ToServiceEndpointGenericGitOutputWithContext(ctx context.Context) ServiceEndpointGenericGitOutput

func (ServiceEndpointGenericGitOutput) Username

The username used to authenticate to the git repository.

type ServiceEndpointGenericGitState

type ServiceEndpointGenericGitState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// A value indicating whether or not to attempt accessing this git server from Azure Pipelines.
	EnablePipelinesAccess pulumi.BoolPtrInput
	// The PAT or password used to authenticate to the git repository.
	//
	// > **Note** For AzureDevOps Git, PAT should be used as the password.
	Password pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The URL of the repository associated with the service endpoint.
	RepositoryUrl pulumi.StringPtrInput
	// The name of the service endpoint.
	ServiceEndpointName pulumi.StringPtrInput
	// The username used to authenticate to the git repository.
	Username pulumi.StringPtrInput
}

func (ServiceEndpointGenericGitState) ElementType

type ServiceEndpointGenericInput

type ServiceEndpointGenericInput interface {
	pulumi.Input

	ToServiceEndpointGenericOutput() ServiceEndpointGenericOutput
	ToServiceEndpointGenericOutputWithContext(ctx context.Context) ServiceEndpointGenericOutput
}

type ServiceEndpointGenericMap

type ServiceEndpointGenericMap map[string]ServiceEndpointGenericInput

func (ServiceEndpointGenericMap) ElementType

func (ServiceEndpointGenericMap) ElementType() reflect.Type

func (ServiceEndpointGenericMap) ToServiceEndpointGenericMapOutput

func (i ServiceEndpointGenericMap) ToServiceEndpointGenericMapOutput() ServiceEndpointGenericMapOutput

func (ServiceEndpointGenericMap) ToServiceEndpointGenericMapOutputWithContext

func (i ServiceEndpointGenericMap) ToServiceEndpointGenericMapOutputWithContext(ctx context.Context) ServiceEndpointGenericMapOutput

type ServiceEndpointGenericMapInput

type ServiceEndpointGenericMapInput interface {
	pulumi.Input

	ToServiceEndpointGenericMapOutput() ServiceEndpointGenericMapOutput
	ToServiceEndpointGenericMapOutputWithContext(context.Context) ServiceEndpointGenericMapOutput
}

ServiceEndpointGenericMapInput is an input type that accepts ServiceEndpointGenericMap and ServiceEndpointGenericMapOutput values. You can construct a concrete instance of `ServiceEndpointGenericMapInput` via:

ServiceEndpointGenericMap{ "key": ServiceEndpointGenericArgs{...} }

type ServiceEndpointGenericMapOutput

type ServiceEndpointGenericMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericMapOutput) ElementType

func (ServiceEndpointGenericMapOutput) MapIndex

func (ServiceEndpointGenericMapOutput) ToServiceEndpointGenericMapOutput

func (o ServiceEndpointGenericMapOutput) ToServiceEndpointGenericMapOutput() ServiceEndpointGenericMapOutput

func (ServiceEndpointGenericMapOutput) ToServiceEndpointGenericMapOutputWithContext

func (o ServiceEndpointGenericMapOutput) ToServiceEndpointGenericMapOutputWithContext(ctx context.Context) ServiceEndpointGenericMapOutput

type ServiceEndpointGenericOutput

type ServiceEndpointGenericOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGenericOutput) Authorization

func (ServiceEndpointGenericOutput) Description

func (ServiceEndpointGenericOutput) ElementType

func (ServiceEndpointGenericOutput) Password

The password or token key used to authenticate to the server url using basic authentication.

func (ServiceEndpointGenericOutput) ProjectId

The ID of the project.

func (ServiceEndpointGenericOutput) ServerUrl

The URL of the server associated with the service endpoint.

func (ServiceEndpointGenericOutput) ServiceEndpointName

func (o ServiceEndpointGenericOutput) ServiceEndpointName() pulumi.StringOutput

The service endpoint name.

func (ServiceEndpointGenericOutput) ToServiceEndpointGenericOutput

func (o ServiceEndpointGenericOutput) ToServiceEndpointGenericOutput() ServiceEndpointGenericOutput

func (ServiceEndpointGenericOutput) ToServiceEndpointGenericOutputWithContext

func (o ServiceEndpointGenericOutput) ToServiceEndpointGenericOutputWithContext(ctx context.Context) ServiceEndpointGenericOutput

func (ServiceEndpointGenericOutput) Username

The username used to authenticate to the server url using basic authentication.

type ServiceEndpointGenericState

type ServiceEndpointGenericState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The password or token key used to authenticate to the server url using basic authentication.
	Password pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The URL of the server associated with the service endpoint.
	ServerUrl pulumi.StringPtrInput
	// The service endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// The username used to authenticate to the server url using basic authentication.
	Username pulumi.StringPtrInput
}

func (ServiceEndpointGenericState) ElementType

type ServiceEndpointGitHub

type ServiceEndpointGitHub struct {
	pulumi.CustomResourceState

	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 ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a GitHub service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGitHub(ctx, "exampleServiceEndpointGitHub", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub Personal Access Token"),
			AuthPersonal: &azuredevops.ServiceEndpointGitHubAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGitHub(ctx, "exampleServiceEndpointGitHub", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub"),
			AuthOauth: &azuredevops.ServiceEndpointGitHubAuthOauthArgs{
				OauthConfigurationId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGitHub(ctx, "exampleServiceEndpointGitHub", &azuredevops.ServiceEndpointGitHubArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub Apps: Azure Pipelines"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint GitHub can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointGitHub:ServiceEndpointGitHub example 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

type ServiceEndpointGitHubArgs

type ServiceEndpointGitHubArgs struct {
	AuthOauth ServiceEndpointGitHubAuthOauthPtrInput
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointGitHubAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	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

type ServiceEndpointGitHubArray []ServiceEndpointGitHubInput

func (ServiceEndpointGitHubArray) ElementType

func (ServiceEndpointGitHubArray) ElementType() reflect.Type

func (ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutput

func (i ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutput() ServiceEndpointGitHubArrayOutput

func (ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutputWithContext

func (i ServiceEndpointGitHubArray) ToServiceEndpointGitHubArrayOutputWithContext(ctx context.Context) ServiceEndpointGitHubArrayOutput

type ServiceEndpointGitHubArrayInput

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

type ServiceEndpointGitHubArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubArrayOutput) ElementType

func (ServiceEndpointGitHubArrayOutput) Index

func (ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutput

func (o ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutput() ServiceEndpointGitHubArrayOutput

func (ServiceEndpointGitHubArrayOutput) ToServiceEndpointGitHubArrayOutputWithContext

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"`
}

type ServiceEndpointGitHubAuthPersonalArgs

type ServiceEndpointGitHubAuthPersonalArgs struct {
	// The Personal Access Token for GitHub.
	PersonalAccessToken pulumi.StringInput `pulumi:"personalAccessToken"`
}

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) 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) ToServiceEndpointGitHubAuthPersonalPtrOutput

func (o ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutput() ServiceEndpointGitHubAuthPersonalPtrOutput

func (ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext

func (o ServiceEndpointGitHubAuthPersonalPtrOutput) ToServiceEndpointGitHubAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubAuthPersonalPtrOutput

type ServiceEndpointGitHubEnterprise

type ServiceEndpointGitHubEnterprise struct {
	pulumi.CustomResourceState

	AuthPersonal  ServiceEndpointGitHubEnterpriseAuthPersonalOutput `pulumi:"authPersonal"`
	Authorization pulumi.StringMapOutput                            `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput                            `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// GitHub Enterprise Server Url.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a GitHub Enterprise Server service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointGitHubEnterprise(ctx, "exampleServiceEndpointGitHubEnterprise", &azuredevops.ServiceEndpointGitHubEnterpriseArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example GitHub Enterprise"),
			Url:                 pulumi.String("https://github.contoso.com"),
			Description:         pulumi.String("Managed by Terraform"),
			AuthPersonal: &azuredevops.ServiceEndpointGitHubEnterpriseAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint GitHub Enterprise Server can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointGitHubEnterprise:ServiceEndpointGitHubEnterprise example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointGitHubEnterprise

func GetServiceEndpointGitHubEnterprise(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointGitHubEnterpriseState, opts ...pulumi.ResourceOption) (*ServiceEndpointGitHubEnterprise, error)

GetServiceEndpointGitHubEnterprise gets an existing ServiceEndpointGitHubEnterprise 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 NewServiceEndpointGitHubEnterprise

func NewServiceEndpointGitHubEnterprise(ctx *pulumi.Context,
	name string, args *ServiceEndpointGitHubEnterpriseArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointGitHubEnterprise, error)

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

func (*ServiceEndpointGitHubEnterprise) ElementType

func (*ServiceEndpointGitHubEnterprise) ToServiceEndpointGitHubEnterpriseOutput

func (i *ServiceEndpointGitHubEnterprise) ToServiceEndpointGitHubEnterpriseOutput() ServiceEndpointGitHubEnterpriseOutput

func (*ServiceEndpointGitHubEnterprise) ToServiceEndpointGitHubEnterpriseOutputWithContext

func (i *ServiceEndpointGitHubEnterprise) ToServiceEndpointGitHubEnterpriseOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseOutput

type ServiceEndpointGitHubEnterpriseArgs

type ServiceEndpointGitHubEnterpriseArgs struct {
	AuthPersonal  ServiceEndpointGitHubEnterpriseAuthPersonalInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// GitHub Enterprise Server Url.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointGitHubEnterprise resource.

func (ServiceEndpointGitHubEnterpriseArgs) ElementType

type ServiceEndpointGitHubEnterpriseArray

type ServiceEndpointGitHubEnterpriseArray []ServiceEndpointGitHubEnterpriseInput

func (ServiceEndpointGitHubEnterpriseArray) ElementType

func (ServiceEndpointGitHubEnterpriseArray) ToServiceEndpointGitHubEnterpriseArrayOutput

func (i ServiceEndpointGitHubEnterpriseArray) ToServiceEndpointGitHubEnterpriseArrayOutput() ServiceEndpointGitHubEnterpriseArrayOutput

func (ServiceEndpointGitHubEnterpriseArray) ToServiceEndpointGitHubEnterpriseArrayOutputWithContext

func (i ServiceEndpointGitHubEnterpriseArray) ToServiceEndpointGitHubEnterpriseArrayOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseArrayOutput

type ServiceEndpointGitHubEnterpriseArrayInput

type ServiceEndpointGitHubEnterpriseArrayInput interface {
	pulumi.Input

	ToServiceEndpointGitHubEnterpriseArrayOutput() ServiceEndpointGitHubEnterpriseArrayOutput
	ToServiceEndpointGitHubEnterpriseArrayOutputWithContext(context.Context) ServiceEndpointGitHubEnterpriseArrayOutput
}

ServiceEndpointGitHubEnterpriseArrayInput is an input type that accepts ServiceEndpointGitHubEnterpriseArray and ServiceEndpointGitHubEnterpriseArrayOutput values. You can construct a concrete instance of `ServiceEndpointGitHubEnterpriseArrayInput` via:

ServiceEndpointGitHubEnterpriseArray{ ServiceEndpointGitHubEnterpriseArgs{...} }

type ServiceEndpointGitHubEnterpriseArrayOutput

type ServiceEndpointGitHubEnterpriseArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubEnterpriseArrayOutput) ElementType

func (ServiceEndpointGitHubEnterpriseArrayOutput) Index

func (ServiceEndpointGitHubEnterpriseArrayOutput) ToServiceEndpointGitHubEnterpriseArrayOutput

func (o ServiceEndpointGitHubEnterpriseArrayOutput) ToServiceEndpointGitHubEnterpriseArrayOutput() ServiceEndpointGitHubEnterpriseArrayOutput

func (ServiceEndpointGitHubEnterpriseArrayOutput) ToServiceEndpointGitHubEnterpriseArrayOutputWithContext

func (o ServiceEndpointGitHubEnterpriseArrayOutput) ToServiceEndpointGitHubEnterpriseArrayOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseArrayOutput

type ServiceEndpointGitHubEnterpriseAuthPersonal

type ServiceEndpointGitHubEnterpriseAuthPersonal struct {
	// The Personal Access Token for GitHub.
	PersonalAccessToken string `pulumi:"personalAccessToken"`
}

type ServiceEndpointGitHubEnterpriseAuthPersonalArgs

type ServiceEndpointGitHubEnterpriseAuthPersonalArgs struct {
	// The Personal Access Token for GitHub.
	PersonalAccessToken pulumi.StringInput `pulumi:"personalAccessToken"`
}

func (ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ElementType

func (ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (i ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalOutput() ServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalOutputWithContext

func (i ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

func (i ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput() ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext

func (i ServiceEndpointGitHubEnterpriseAuthPersonalArgs) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

type ServiceEndpointGitHubEnterpriseAuthPersonalInput

type ServiceEndpointGitHubEnterpriseAuthPersonalInput interface {
	pulumi.Input

	ToServiceEndpointGitHubEnterpriseAuthPersonalOutput() ServiceEndpointGitHubEnterpriseAuthPersonalOutput
	ToServiceEndpointGitHubEnterpriseAuthPersonalOutputWithContext(context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalOutput
}

ServiceEndpointGitHubEnterpriseAuthPersonalInput is an input type that accepts ServiceEndpointGitHubEnterpriseAuthPersonalArgs and ServiceEndpointGitHubEnterpriseAuthPersonalOutput values. You can construct a concrete instance of `ServiceEndpointGitHubEnterpriseAuthPersonalInput` via:

ServiceEndpointGitHubEnterpriseAuthPersonalArgs{...}

type ServiceEndpointGitHubEnterpriseAuthPersonalOutput

type ServiceEndpointGitHubEnterpriseAuthPersonalOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ElementType

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) PersonalAccessToken

The Personal Access Token for GitHub.

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (o ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalOutput() ServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalOutputWithContext

func (o ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

func (o ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput() ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext

func (o ServiceEndpointGitHubEnterpriseAuthPersonalOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

type ServiceEndpointGitHubEnterpriseAuthPersonalPtrInput

type ServiceEndpointGitHubEnterpriseAuthPersonalPtrInput interface {
	pulumi.Input

	ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput() ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput
	ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext(context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput
}

ServiceEndpointGitHubEnterpriseAuthPersonalPtrInput is an input type that accepts ServiceEndpointGitHubEnterpriseAuthPersonalArgs, ServiceEndpointGitHubEnterpriseAuthPersonalPtr and ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput values. You can construct a concrete instance of `ServiceEndpointGitHubEnterpriseAuthPersonalPtrInput` via:

        ServiceEndpointGitHubEnterpriseAuthPersonalArgs{...}

or:

        nil

type ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

type ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) Elem

func (ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) ElementType

func (ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) PersonalAccessToken

The Personal Access Token for GitHub.

func (ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

func (ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext

func (o ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput) ToServiceEndpointGitHubEnterpriseAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseAuthPersonalPtrOutput

type ServiceEndpointGitHubEnterpriseInput

type ServiceEndpointGitHubEnterpriseInput interface {
	pulumi.Input

	ToServiceEndpointGitHubEnterpriseOutput() ServiceEndpointGitHubEnterpriseOutput
	ToServiceEndpointGitHubEnterpriseOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseOutput
}

type ServiceEndpointGitHubEnterpriseMap

type ServiceEndpointGitHubEnterpriseMap map[string]ServiceEndpointGitHubEnterpriseInput

func (ServiceEndpointGitHubEnterpriseMap) ElementType

func (ServiceEndpointGitHubEnterpriseMap) ToServiceEndpointGitHubEnterpriseMapOutput

func (i ServiceEndpointGitHubEnterpriseMap) ToServiceEndpointGitHubEnterpriseMapOutput() ServiceEndpointGitHubEnterpriseMapOutput

func (ServiceEndpointGitHubEnterpriseMap) ToServiceEndpointGitHubEnterpriseMapOutputWithContext

func (i ServiceEndpointGitHubEnterpriseMap) ToServiceEndpointGitHubEnterpriseMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseMapOutput

type ServiceEndpointGitHubEnterpriseMapInput

type ServiceEndpointGitHubEnterpriseMapInput interface {
	pulumi.Input

	ToServiceEndpointGitHubEnterpriseMapOutput() ServiceEndpointGitHubEnterpriseMapOutput
	ToServiceEndpointGitHubEnterpriseMapOutputWithContext(context.Context) ServiceEndpointGitHubEnterpriseMapOutput
}

ServiceEndpointGitHubEnterpriseMapInput is an input type that accepts ServiceEndpointGitHubEnterpriseMap and ServiceEndpointGitHubEnterpriseMapOutput values. You can construct a concrete instance of `ServiceEndpointGitHubEnterpriseMapInput` via:

ServiceEndpointGitHubEnterpriseMap{ "key": ServiceEndpointGitHubEnterpriseArgs{...} }

type ServiceEndpointGitHubEnterpriseMapOutput

type ServiceEndpointGitHubEnterpriseMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubEnterpriseMapOutput) ElementType

func (ServiceEndpointGitHubEnterpriseMapOutput) MapIndex

func (ServiceEndpointGitHubEnterpriseMapOutput) ToServiceEndpointGitHubEnterpriseMapOutput

func (o ServiceEndpointGitHubEnterpriseMapOutput) ToServiceEndpointGitHubEnterpriseMapOutput() ServiceEndpointGitHubEnterpriseMapOutput

func (ServiceEndpointGitHubEnterpriseMapOutput) ToServiceEndpointGitHubEnterpriseMapOutputWithContext

func (o ServiceEndpointGitHubEnterpriseMapOutput) ToServiceEndpointGitHubEnterpriseMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseMapOutput

type ServiceEndpointGitHubEnterpriseOutput

type ServiceEndpointGitHubEnterpriseOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubEnterpriseOutput) AuthPersonal

func (ServiceEndpointGitHubEnterpriseOutput) Authorization

func (ServiceEndpointGitHubEnterpriseOutput) Description

func (ServiceEndpointGitHubEnterpriseOutput) ElementType

func (ServiceEndpointGitHubEnterpriseOutput) ProjectId

The ID of the project.

func (ServiceEndpointGitHubEnterpriseOutput) ServiceEndpointName

The Service Endpoint name.

func (ServiceEndpointGitHubEnterpriseOutput) ToServiceEndpointGitHubEnterpriseOutput

func (o ServiceEndpointGitHubEnterpriseOutput) ToServiceEndpointGitHubEnterpriseOutput() ServiceEndpointGitHubEnterpriseOutput

func (ServiceEndpointGitHubEnterpriseOutput) ToServiceEndpointGitHubEnterpriseOutputWithContext

func (o ServiceEndpointGitHubEnterpriseOutput) ToServiceEndpointGitHubEnterpriseOutputWithContext(ctx context.Context) ServiceEndpointGitHubEnterpriseOutput

func (ServiceEndpointGitHubEnterpriseOutput) Url

GitHub Enterprise Server Url.

type ServiceEndpointGitHubEnterpriseState

type ServiceEndpointGitHubEnterpriseState struct {
	AuthPersonal  ServiceEndpointGitHubEnterpriseAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// GitHub Enterprise Server Url.
	Url pulumi.StringPtrInput
}

func (ServiceEndpointGitHubEnterpriseState) ElementType

type ServiceEndpointGitHubInput

type ServiceEndpointGitHubInput interface {
	pulumi.Input

	ToServiceEndpointGitHubOutput() ServiceEndpointGitHubOutput
	ToServiceEndpointGitHubOutputWithContext(ctx context.Context) ServiceEndpointGitHubOutput
}

type ServiceEndpointGitHubMap

type ServiceEndpointGitHubMap map[string]ServiceEndpointGitHubInput

func (ServiceEndpointGitHubMap) ElementType

func (ServiceEndpointGitHubMap) ElementType() reflect.Type

func (ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutput

func (i ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutput() ServiceEndpointGitHubMapOutput

func (ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutputWithContext

func (i ServiceEndpointGitHubMap) ToServiceEndpointGitHubMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubMapOutput

type ServiceEndpointGitHubMapInput

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

type ServiceEndpointGitHubMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubMapOutput) ElementType

func (ServiceEndpointGitHubMapOutput) MapIndex

func (ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutput

func (o ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutput() ServiceEndpointGitHubMapOutput

func (ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutputWithContext

func (o ServiceEndpointGitHubMapOutput) ToServiceEndpointGitHubMapOutputWithContext(ctx context.Context) ServiceEndpointGitHubMapOutput

type ServiceEndpointGitHubOutput

type ServiceEndpointGitHubOutput struct{ *pulumi.OutputState }

func (ServiceEndpointGitHubOutput) AuthOauth

func (ServiceEndpointGitHubOutput) AuthPersonal

An `authPersonal` block as documented below. Allows connecting using a personal access token.

func (ServiceEndpointGitHubOutput) Authorization

func (ServiceEndpointGitHubOutput) Description

func (ServiceEndpointGitHubOutput) ElementType

func (ServiceEndpointGitHubOutput) ProjectId

The ID of the project.

func (ServiceEndpointGitHubOutput) ServiceEndpointName

func (o ServiceEndpointGitHubOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutput

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutput() ServiceEndpointGitHubOutput

func (ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutputWithContext

func (o ServiceEndpointGitHubOutput) ToServiceEndpointGitHubOutputWithContext(ctx context.Context) ServiceEndpointGitHubOutput

type ServiceEndpointGitHubState

type ServiceEndpointGitHubState struct {
	AuthOauth ServiceEndpointGitHubAuthOauthPtrInput
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceEndpointGitHubAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	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 hostname (in form of URI) of the Kubernetes API.
	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"`
	// A `azureSubscription` block defined blow.
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayOutput `pulumi:"azureSubscriptions"`
	Description        pulumi.StringPtrOutput                                `pulumi:"description"`
	// A `kubeconfig` block defined blow.
	Kubeconfig ServiceEndpointKubernetesKubeconfigPtrOutput `pulumi:"kubeconfig"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// A `serviceAccount` block defined blow.
	ServiceAccount ServiceEndpointKubernetesServiceAccountPtrOutput `pulumi:"serviceAccount"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a Kubernetes service endpoint within Azure DevOps.

## Import

Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointKubernetes:ServiceEndpointKubernetes example 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

type ServiceEndpointKubernetesArgs

type ServiceEndpointKubernetesArgs struct {
	// The hostname (in form of URI) of the Kubernetes API.
	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
	// A `azureSubscription` block defined blow.
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayInput
	Description        pulumi.StringPtrInput
	// A `kubeconfig` block defined blow.
	Kubeconfig ServiceEndpointKubernetesKubeconfigPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// A `serviceAccount` block defined blow.
	ServiceAccount ServiceEndpointKubernetesServiceAccountPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointKubernetes resource.

func (ServiceEndpointKubernetesArgs) ElementType

type ServiceEndpointKubernetesArray

type ServiceEndpointKubernetesArray []ServiceEndpointKubernetesInput

func (ServiceEndpointKubernetesArray) ElementType

func (ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutput

func (i ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutput() ServiceEndpointKubernetesArrayOutput

func (ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutputWithContext

func (i ServiceEndpointKubernetesArray) ToServiceEndpointKubernetesArrayOutputWithContext(ctx context.Context) ServiceEndpointKubernetesArrayOutput

type ServiceEndpointKubernetesArrayInput

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

type ServiceEndpointKubernetesArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesArrayOutput) ElementType

func (ServiceEndpointKubernetesArrayOutput) Index

func (ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutput

func (o ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutput() ServiceEndpointKubernetesArrayOutput

func (ServiceEndpointKubernetesArrayOutput) ToServiceEndpointKubernetesArrayOutputWithContext

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

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"`
}

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"`
}

func (ServiceEndpointKubernetesKubeconfigArgs) ElementType

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutput

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutput() ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutputWithContext

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigPtrOutput

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigPtrOutput() ServiceEndpointKubernetesKubeconfigPtrOutput

func (ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext

func (i ServiceEndpointKubernetesKubeconfigArgs) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigPtrOutput

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) ToServiceEndpointKubernetesKubeconfigOutput

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutput() ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutputWithContext

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigOutput

func (ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigPtrOutput

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigPtrOutput() ServiceEndpointKubernetesKubeconfigPtrOutput

func (ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext

func (o ServiceEndpointKubernetesKubeconfigOutput) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigPtrOutput

type ServiceEndpointKubernetesKubeconfigPtrInput

type ServiceEndpointKubernetesKubeconfigPtrInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesKubeconfigPtrOutput() ServiceEndpointKubernetesKubeconfigPtrOutput
	ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext(context.Context) ServiceEndpointKubernetesKubeconfigPtrOutput
}

ServiceEndpointKubernetesKubeconfigPtrInput is an input type that accepts ServiceEndpointKubernetesKubeconfigArgs, ServiceEndpointKubernetesKubeconfigPtr and ServiceEndpointKubernetesKubeconfigPtrOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesKubeconfigPtrInput` via:

        ServiceEndpointKubernetesKubeconfigArgs{...}

or:

        nil

type ServiceEndpointKubernetesKubeconfigPtrOutput

type ServiceEndpointKubernetesKubeconfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesKubeconfigPtrOutput) AcceptUntrustedCerts

Set this option to allow clients to accept a self-signed certificate.

func (ServiceEndpointKubernetesKubeconfigPtrOutput) 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 (ServiceEndpointKubernetesKubeconfigPtrOutput) Elem

func (ServiceEndpointKubernetesKubeconfigPtrOutput) ElementType

func (ServiceEndpointKubernetesKubeconfigPtrOutput) KubeConfig

The content of the kubeconfig in yaml notation to be used to communicate with the API-Server of Kubernetes.

func (ServiceEndpointKubernetesKubeconfigPtrOutput) ToServiceEndpointKubernetesKubeconfigPtrOutput

func (o ServiceEndpointKubernetesKubeconfigPtrOutput) ToServiceEndpointKubernetesKubeconfigPtrOutput() ServiceEndpointKubernetesKubeconfigPtrOutput

func (ServiceEndpointKubernetesKubeconfigPtrOutput) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext

func (o ServiceEndpointKubernetesKubeconfigPtrOutput) ToServiceEndpointKubernetesKubeconfigPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesKubeconfigPtrOutput

type ServiceEndpointKubernetesMap

type ServiceEndpointKubernetesMap map[string]ServiceEndpointKubernetesInput

func (ServiceEndpointKubernetesMap) ElementType

func (ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutput

func (i ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutput() ServiceEndpointKubernetesMapOutput

func (ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutputWithContext

func (i ServiceEndpointKubernetesMap) ToServiceEndpointKubernetesMapOutputWithContext(ctx context.Context) ServiceEndpointKubernetesMapOutput

type ServiceEndpointKubernetesMapInput

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

type ServiceEndpointKubernetesMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesMapOutput) ElementType

func (ServiceEndpointKubernetesMapOutput) MapIndex

func (ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutput

func (o ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutput() ServiceEndpointKubernetesMapOutput

func (ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutputWithContext

func (o ServiceEndpointKubernetesMapOutput) ToServiceEndpointKubernetesMapOutputWithContext(ctx context.Context) ServiceEndpointKubernetesMapOutput

type ServiceEndpointKubernetesOutput

type ServiceEndpointKubernetesOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesOutput) ApiserverUrl

The hostname (in form of URI) of the Kubernetes API.

func (ServiceEndpointKubernetesOutput) Authorization

func (ServiceEndpointKubernetesOutput) AuthorizationType

func (o ServiceEndpointKubernetesOutput) AuthorizationType() pulumi.StringOutput

The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.

func (ServiceEndpointKubernetesOutput) AzureSubscriptions

A `azureSubscription` block defined blow.

func (ServiceEndpointKubernetesOutput) Description

func (ServiceEndpointKubernetesOutput) ElementType

func (ServiceEndpointKubernetesOutput) Kubeconfig

A `kubeconfig` block defined blow.

func (ServiceEndpointKubernetesOutput) ProjectId

The ID of the project.

func (ServiceEndpointKubernetesOutput) ServiceAccount

A `serviceAccount` block defined blow.

func (ServiceEndpointKubernetesOutput) ServiceEndpointName

func (o ServiceEndpointKubernetesOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutput

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutput() ServiceEndpointKubernetesOutput

func (ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutputWithContext

func (o ServiceEndpointKubernetesOutput) ToServiceEndpointKubernetesOutputWithContext(ctx context.Context) ServiceEndpointKubernetesOutput

type ServiceEndpointKubernetesServiceAccount

type ServiceEndpointKubernetesServiceAccount struct {
	// The certificate from a Kubernetes secret object.
	CaCert string `pulumi:"caCert"`
	// The token from a Kubernetes secret object.
	Token string `pulumi:"token"`
}

type ServiceEndpointKubernetesServiceAccountArgs

type ServiceEndpointKubernetesServiceAccountArgs struct {
	// The certificate from a Kubernetes secret object.
	CaCert pulumi.StringInput `pulumi:"caCert"`
	// The token from a Kubernetes secret object.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceEndpointKubernetesServiceAccountArgs) ElementType

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutput

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutput() ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutputWithContext

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountPtrOutput

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountPtrOutput() ServiceEndpointKubernetesServiceAccountPtrOutput

func (ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext

func (i ServiceEndpointKubernetesServiceAccountArgs) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountPtrOutput

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) ElementType

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutput

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutput() ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutputWithContext

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountOutput

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountPtrOutput

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountPtrOutput() ServiceEndpointKubernetesServiceAccountPtrOutput

func (ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext

func (o ServiceEndpointKubernetesServiceAccountOutput) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountPtrOutput

func (ServiceEndpointKubernetesServiceAccountOutput) Token

The token from a Kubernetes secret object.

type ServiceEndpointKubernetesServiceAccountPtrInput

type ServiceEndpointKubernetesServiceAccountPtrInput interface {
	pulumi.Input

	ToServiceEndpointKubernetesServiceAccountPtrOutput() ServiceEndpointKubernetesServiceAccountPtrOutput
	ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext(context.Context) ServiceEndpointKubernetesServiceAccountPtrOutput
}

ServiceEndpointKubernetesServiceAccountPtrInput is an input type that accepts ServiceEndpointKubernetesServiceAccountArgs, ServiceEndpointKubernetesServiceAccountPtr and ServiceEndpointKubernetesServiceAccountPtrOutput values. You can construct a concrete instance of `ServiceEndpointKubernetesServiceAccountPtrInput` via:

        ServiceEndpointKubernetesServiceAccountArgs{...}

or:

        nil

type ServiceEndpointKubernetesServiceAccountPtrOutput

type ServiceEndpointKubernetesServiceAccountPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointKubernetesServiceAccountPtrOutput) CaCert

The certificate from a Kubernetes secret object.

func (ServiceEndpointKubernetesServiceAccountPtrOutput) Elem

func (ServiceEndpointKubernetesServiceAccountPtrOutput) ElementType

func (ServiceEndpointKubernetesServiceAccountPtrOutput) ToServiceEndpointKubernetesServiceAccountPtrOutput

func (o ServiceEndpointKubernetesServiceAccountPtrOutput) ToServiceEndpointKubernetesServiceAccountPtrOutput() ServiceEndpointKubernetesServiceAccountPtrOutput

func (ServiceEndpointKubernetesServiceAccountPtrOutput) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext

func (o ServiceEndpointKubernetesServiceAccountPtrOutput) ToServiceEndpointKubernetesServiceAccountPtrOutputWithContext(ctx context.Context) ServiceEndpointKubernetesServiceAccountPtrOutput

func (ServiceEndpointKubernetesServiceAccountPtrOutput) Token

The token from a Kubernetes secret object.

type ServiceEndpointKubernetesState

type ServiceEndpointKubernetesState struct {
	// The hostname (in form of URI) of the Kubernetes API.
	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
	// A `azureSubscription` block defined blow.
	AzureSubscriptions ServiceEndpointKubernetesAzureSubscriptionArrayInput
	Description        pulumi.StringPtrInput
	// A `kubeconfig` block defined blow.
	Kubeconfig ServiceEndpointKubernetesKubeconfigPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// A `serviceAccount` block defined blow.
	ServiceAccount ServiceEndpointKubernetesServiceAccountPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointKubernetesState) ElementType

type ServiceEndpointNpm

type ServiceEndpointNpm struct {
	pulumi.CustomResourceState

	// The access token for npm registry.
	AccessToken   pulumi.StringOutput    `pulumi:"accessToken"`
	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the npm registry to connect with.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a npm service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointNpm(ctx, "exampleServiceEndpointNpm", &azuredevops.ServiceEndpointNpmArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example npm"),
			Url:                 pulumi.String("https://registry.npmjs.org"),
			AccessToken:         pulumi.String("00000000-0000-0000-0000-000000000000"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0) - [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) - [npm User Token](https://docs.npmjs.com/about-access-tokens)

## Import

Azure DevOps Service Endpoint npm can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceEndpointNpm:ServiceEndpointNpm example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointNpm

func GetServiceEndpointNpm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointNpmState, opts ...pulumi.ResourceOption) (*ServiceEndpointNpm, error)

GetServiceEndpointNpm gets an existing ServiceEndpointNpm 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 NewServiceEndpointNpm

func NewServiceEndpointNpm(ctx *pulumi.Context,
	name string, args *ServiceEndpointNpmArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointNpm, error)

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

func (*ServiceEndpointNpm) ElementType

func (*ServiceEndpointNpm) ElementType() reflect.Type

func (*ServiceEndpointNpm) ToServiceEndpointNpmOutput

func (i *ServiceEndpointNpm) ToServiceEndpointNpmOutput() ServiceEndpointNpmOutput

func (*ServiceEndpointNpm) ToServiceEndpointNpmOutputWithContext

func (i *ServiceEndpointNpm) ToServiceEndpointNpmOutputWithContext(ctx context.Context) ServiceEndpointNpmOutput

type ServiceEndpointNpmArgs

type ServiceEndpointNpmArgs struct {
	// The access token for npm registry.
	AccessToken   pulumi.StringInput
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the npm registry to connect with.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointNpm resource.

func (ServiceEndpointNpmArgs) ElementType

func (ServiceEndpointNpmArgs) ElementType() reflect.Type

type ServiceEndpointNpmArray

type ServiceEndpointNpmArray []ServiceEndpointNpmInput

func (ServiceEndpointNpmArray) ElementType

func (ServiceEndpointNpmArray) ElementType() reflect.Type

func (ServiceEndpointNpmArray) ToServiceEndpointNpmArrayOutput

func (i ServiceEndpointNpmArray) ToServiceEndpointNpmArrayOutput() ServiceEndpointNpmArrayOutput

func (ServiceEndpointNpmArray) ToServiceEndpointNpmArrayOutputWithContext

func (i ServiceEndpointNpmArray) ToServiceEndpointNpmArrayOutputWithContext(ctx context.Context) ServiceEndpointNpmArrayOutput

type ServiceEndpointNpmArrayInput

type ServiceEndpointNpmArrayInput interface {
	pulumi.Input

	ToServiceEndpointNpmArrayOutput() ServiceEndpointNpmArrayOutput
	ToServiceEndpointNpmArrayOutputWithContext(context.Context) ServiceEndpointNpmArrayOutput
}

ServiceEndpointNpmArrayInput is an input type that accepts ServiceEndpointNpmArray and ServiceEndpointNpmArrayOutput values. You can construct a concrete instance of `ServiceEndpointNpmArrayInput` via:

ServiceEndpointNpmArray{ ServiceEndpointNpmArgs{...} }

type ServiceEndpointNpmArrayOutput

type ServiceEndpointNpmArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointNpmArrayOutput) ElementType

func (ServiceEndpointNpmArrayOutput) Index

func (ServiceEndpointNpmArrayOutput) ToServiceEndpointNpmArrayOutput

func (o ServiceEndpointNpmArrayOutput) ToServiceEndpointNpmArrayOutput() ServiceEndpointNpmArrayOutput

func (ServiceEndpointNpmArrayOutput) ToServiceEndpointNpmArrayOutputWithContext

func (o ServiceEndpointNpmArrayOutput) ToServiceEndpointNpmArrayOutputWithContext(ctx context.Context) ServiceEndpointNpmArrayOutput

type ServiceEndpointNpmInput

type ServiceEndpointNpmInput interface {
	pulumi.Input

	ToServiceEndpointNpmOutput() ServiceEndpointNpmOutput
	ToServiceEndpointNpmOutputWithContext(ctx context.Context) ServiceEndpointNpmOutput
}

type ServiceEndpointNpmMap

type ServiceEndpointNpmMap map[string]ServiceEndpointNpmInput

func (ServiceEndpointNpmMap) ElementType

func (ServiceEndpointNpmMap) ElementType() reflect.Type

func (ServiceEndpointNpmMap) ToServiceEndpointNpmMapOutput

func (i ServiceEndpointNpmMap) ToServiceEndpointNpmMapOutput() ServiceEndpointNpmMapOutput

func (ServiceEndpointNpmMap) ToServiceEndpointNpmMapOutputWithContext

func (i ServiceEndpointNpmMap) ToServiceEndpointNpmMapOutputWithContext(ctx context.Context) ServiceEndpointNpmMapOutput

type ServiceEndpointNpmMapInput

type ServiceEndpointNpmMapInput interface {
	pulumi.Input

	ToServiceEndpointNpmMapOutput() ServiceEndpointNpmMapOutput
	ToServiceEndpointNpmMapOutputWithContext(context.Context) ServiceEndpointNpmMapOutput
}

ServiceEndpointNpmMapInput is an input type that accepts ServiceEndpointNpmMap and ServiceEndpointNpmMapOutput values. You can construct a concrete instance of `ServiceEndpointNpmMapInput` via:

ServiceEndpointNpmMap{ "key": ServiceEndpointNpmArgs{...} }

type ServiceEndpointNpmMapOutput

type ServiceEndpointNpmMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointNpmMapOutput) ElementType

func (ServiceEndpointNpmMapOutput) MapIndex

func (ServiceEndpointNpmMapOutput) ToServiceEndpointNpmMapOutput

func (o ServiceEndpointNpmMapOutput) ToServiceEndpointNpmMapOutput() ServiceEndpointNpmMapOutput

func (ServiceEndpointNpmMapOutput) ToServiceEndpointNpmMapOutputWithContext

func (o ServiceEndpointNpmMapOutput) ToServiceEndpointNpmMapOutputWithContext(ctx context.Context) ServiceEndpointNpmMapOutput

type ServiceEndpointNpmOutput

type ServiceEndpointNpmOutput struct{ *pulumi.OutputState }

func (ServiceEndpointNpmOutput) AccessToken

The access token for npm registry.

func (ServiceEndpointNpmOutput) Authorization

func (ServiceEndpointNpmOutput) Description

The Service Endpoint description.

func (ServiceEndpointNpmOutput) ElementType

func (ServiceEndpointNpmOutput) ElementType() reflect.Type

func (ServiceEndpointNpmOutput) ProjectId

The ID of the project.

func (ServiceEndpointNpmOutput) ServiceEndpointName

func (o ServiceEndpointNpmOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointNpmOutput) ToServiceEndpointNpmOutput

func (o ServiceEndpointNpmOutput) ToServiceEndpointNpmOutput() ServiceEndpointNpmOutput

func (ServiceEndpointNpmOutput) ToServiceEndpointNpmOutputWithContext

func (o ServiceEndpointNpmOutput) ToServiceEndpointNpmOutputWithContext(ctx context.Context) ServiceEndpointNpmOutput

func (ServiceEndpointNpmOutput) Url

URL of the npm registry to connect with.

type ServiceEndpointNpmState

type ServiceEndpointNpmState struct {
	// The access token for npm registry.
	AccessToken   pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the npm registry to connect with.
	Url pulumi.StringPtrInput
}

func (ServiceEndpointNpmState) ElementType

func (ServiceEndpointNpmState) ElementType() reflect.Type

type ServiceEndpointPipeline

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 ID of the project.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointPipeline(ctx, "exampleServiceEndpointPipeline", &azuredevops.ServiceEndpointPipelineArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Pipeline Runner"),
			OrganizationName:    pulumi.String("Organization Name"),
			AuthPersonal: &azuredevops.ServiceEndpointPipelineAuthPersonalArgs{
				PersonalAccessToken: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
			Description: pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint can be imported using the `project id`, `service connection id`, e.g.

```sh $ pulumi import azuredevops:index/serviceEndpointPipeline:ServiceEndpointPipeline example projectID/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointPipeline

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

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

func (*ServiceEndpointPipeline) ElementType() reflect.Type

func (*ServiceEndpointPipeline) ToServiceEndpointPipelineOutput

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput

func (*ServiceEndpointPipeline) ToServiceEndpointPipelineOutputWithContext

func (i *ServiceEndpointPipeline) ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput

type ServiceEndpointPipelineArgs

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 ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointPipeline resource.

func (ServiceEndpointPipelineArgs) ElementType

type ServiceEndpointPipelineArray

type ServiceEndpointPipelineArray []ServiceEndpointPipelineInput

func (ServiceEndpointPipelineArray) ElementType

func (ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutput

func (i ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutput() ServiceEndpointPipelineArrayOutput

func (ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutputWithContext

func (i ServiceEndpointPipelineArray) ToServiceEndpointPipelineArrayOutputWithContext(ctx context.Context) ServiceEndpointPipelineArrayOutput

type ServiceEndpointPipelineArrayInput

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

type ServiceEndpointPipelineArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineArrayOutput) ElementType

func (ServiceEndpointPipelineArrayOutput) Index

func (ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutput

func (o ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutput() ServiceEndpointPipelineArrayOutput

func (ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutputWithContext

func (o ServiceEndpointPipelineArrayOutput) ToServiceEndpointPipelineArrayOutputWithContext(ctx context.Context) ServiceEndpointPipelineArrayOutput

type ServiceEndpointPipelineAuthPersonal

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"`
}

type ServiceEndpointPipelineAuthPersonalArgs

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"`
}

func (ServiceEndpointPipelineAuthPersonalArgs) ElementType

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutput

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutput() ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutputWithContext

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutput

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext

func (i ServiceEndpointPipelineAuthPersonalArgs) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineAuthPersonalInput

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

type ServiceEndpointPipelineAuthPersonalOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineAuthPersonalOutput) ElementType

func (ServiceEndpointPipelineAuthPersonalOutput) PersonalAccessToken

The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutput

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutput() ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutputWithContext

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext

func (o ServiceEndpointPipelineAuthPersonalOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineAuthPersonalPtrInput

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

type ServiceEndpointPipelineAuthPersonalPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineAuthPersonalPtrOutput) Elem

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ElementType

func (ServiceEndpointPipelineAuthPersonalPtrOutput) PersonalAccessToken

The Personal Access Token for Azure DevOps Pipeline. It also can be set with AZDO_PERSONAL_ACCESS_TOKEN environment variable.

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput

func (o ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutput() ServiceEndpointPipelineAuthPersonalPtrOutput

func (ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext

func (o ServiceEndpointPipelineAuthPersonalPtrOutput) ToServiceEndpointPipelineAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceEndpointPipelineAuthPersonalPtrOutput

type ServiceEndpointPipelineInput

type ServiceEndpointPipelineInput interface {
	pulumi.Input

	ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput
	ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput
}

type ServiceEndpointPipelineMap

type ServiceEndpointPipelineMap map[string]ServiceEndpointPipelineInput

func (ServiceEndpointPipelineMap) ElementType

func (ServiceEndpointPipelineMap) ElementType() reflect.Type

func (ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutput

func (i ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutput() ServiceEndpointPipelineMapOutput

func (ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutputWithContext

func (i ServiceEndpointPipelineMap) ToServiceEndpointPipelineMapOutputWithContext(ctx context.Context) ServiceEndpointPipelineMapOutput

type ServiceEndpointPipelineMapInput

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

type ServiceEndpointPipelineMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineMapOutput) ElementType

func (ServiceEndpointPipelineMapOutput) MapIndex

func (ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutput

func (o ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutput() ServiceEndpointPipelineMapOutput

func (ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutputWithContext

func (o ServiceEndpointPipelineMapOutput) ToServiceEndpointPipelineMapOutputWithContext(ctx context.Context) ServiceEndpointPipelineMapOutput

type ServiceEndpointPipelineOutput

type ServiceEndpointPipelineOutput struct{ *pulumi.OutputState }

func (ServiceEndpointPipelineOutput) AuthPersonal

An `authPersonal` block as documented below. Allows connecting using a personal access token.

func (ServiceEndpointPipelineOutput) Authorization

func (ServiceEndpointPipelineOutput) Description

func (ServiceEndpointPipelineOutput) ElementType

func (ServiceEndpointPipelineOutput) OrganizationName

func (o ServiceEndpointPipelineOutput) OrganizationName() pulumi.StringOutput

The organization name used for `Organization Url` and `Release API Url` fields.

func (ServiceEndpointPipelineOutput) ProjectId

The ID of the project.

func (ServiceEndpointPipelineOutput) ServiceEndpointName

func (o ServiceEndpointPipelineOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutput

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutput() ServiceEndpointPipelineOutput

func (ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutputWithContext

func (o ServiceEndpointPipelineOutput) ToServiceEndpointPipelineOutputWithContext(ctx context.Context) ServiceEndpointPipelineOutput

type ServiceEndpointPipelineState

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 ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointPipelineState) ElementType

type ServiceEndpointServiceFabric

type ServiceEndpointServiceFabric struct {
	pulumi.CustomResourceState

	Authorization        pulumi.StringMapOutput                                    `pulumi:"authorization"`
	AzureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput `pulumi:"azureActiveDirectory"`
	Certificate          ServiceEndpointServiceFabricCertificatePtrOutput          `pulumi:"certificate"`
	// Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
	ClusterEndpoint pulumi.StringOutput                       `pulumi:"clusterEndpoint"`
	Description     pulumi.StringPtrOutput                    `pulumi:"description"`
	None            ServiceEndpointServiceFabricNonePtrOutput `pulumi:"none"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages a Service Fabric service endpoint within Azure DevOps.

## Example Usage

### Client Certificate Authentication

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/base64"
"os"

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

)

func filebase64OrPanic(path string) string {
	if fileData, err := os.ReadFile(path); err == nil {
		return base64.StdEncoding.EncodeToString(fileData[:])
	} else {
		panic(err.Error())
	}
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointServiceFabric(ctx, "exampleServiceEndpointServiceFabric", &azuredevops.ServiceEndpointServiceFabricArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Service Fabric"),
			Description:         pulumi.String("Managed by Terraform"),
			ClusterEndpoint:     pulumi.String("tcp://test"),
			Certificate: &azuredevops.ServiceEndpointServiceFabricCertificateArgs{
				ServerCertificateLookup:     pulumi.String("Thumbprint"),
				ServerCertificateThumbprint: pulumi.String("0000000000000000000000000000000000000000"),
				ClientCertificate:           filebase64OrPanic("certificate.pfx"),
				ClientCertificatePassword:   pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Azure Active Directory Authentication

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/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.NewServiceEndpointServiceFabric(ctx, "test", &azuredevops.ServiceEndpointServiceFabricArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Service Fabric"),
			Description:         pulumi.String("Managed by Terraform"),
			ClusterEndpoint:     pulumi.String("tcp://test"),
			AzureActiveDirectory: &azuredevops.ServiceEndpointServiceFabricAzureActiveDirectoryArgs{
				ServerCertificateLookup:     pulumi.String("Thumbprint"),
				ServerCertificateThumbprint: pulumi.String("0000000000000000000000000000000000000000"),
				Username:                    pulumi.String("username"),
				Password:                    pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Windows Authentication

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/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.NewServiceEndpointServiceFabric(ctx, "test", &azuredevops.ServiceEndpointServiceFabricArgs{
			ProjectId:           project.ID(),
			ServiceEndpointName: pulumi.String("Sample Service Fabric"),
			Description:         pulumi.String("Managed by Terraform"),
			ClusterEndpoint:     pulumi.String("tcp://test"),
			None: &azuredevops.ServiceEndpointServiceFabricNoneArgs{
				Unsecured:  pulumi.Bool(false),
				ClusterSpn: pulumi.String("HTTP/www.contoso.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Service Fabric can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointServiceFabric:ServiceEndpointServiceFabric example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointServiceFabric

func GetServiceEndpointServiceFabric(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointServiceFabricState, opts ...pulumi.ResourceOption) (*ServiceEndpointServiceFabric, error)

GetServiceEndpointServiceFabric gets an existing ServiceEndpointServiceFabric 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 NewServiceEndpointServiceFabric

func NewServiceEndpointServiceFabric(ctx *pulumi.Context,
	name string, args *ServiceEndpointServiceFabricArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointServiceFabric, error)

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

func (*ServiceEndpointServiceFabric) ElementType

func (*ServiceEndpointServiceFabric) ElementType() reflect.Type

func (*ServiceEndpointServiceFabric) ToServiceEndpointServiceFabricOutput

func (i *ServiceEndpointServiceFabric) ToServiceEndpointServiceFabricOutput() ServiceEndpointServiceFabricOutput

func (*ServiceEndpointServiceFabric) ToServiceEndpointServiceFabricOutputWithContext

func (i *ServiceEndpointServiceFabric) ToServiceEndpointServiceFabricOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricOutput

type ServiceEndpointServiceFabricArgs

type ServiceEndpointServiceFabricArgs struct {
	Authorization        pulumi.StringMapInput
	AzureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput
	Certificate          ServiceEndpointServiceFabricCertificatePtrInput
	// Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
	ClusterEndpoint pulumi.StringInput
	Description     pulumi.StringPtrInput
	None            ServiceEndpointServiceFabricNonePtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointServiceFabric resource.

func (ServiceEndpointServiceFabricArgs) ElementType

type ServiceEndpointServiceFabricArray

type ServiceEndpointServiceFabricArray []ServiceEndpointServiceFabricInput

func (ServiceEndpointServiceFabricArray) ElementType

func (ServiceEndpointServiceFabricArray) ToServiceEndpointServiceFabricArrayOutput

func (i ServiceEndpointServiceFabricArray) ToServiceEndpointServiceFabricArrayOutput() ServiceEndpointServiceFabricArrayOutput

func (ServiceEndpointServiceFabricArray) ToServiceEndpointServiceFabricArrayOutputWithContext

func (i ServiceEndpointServiceFabricArray) ToServiceEndpointServiceFabricArrayOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricArrayOutput

type ServiceEndpointServiceFabricArrayInput

type ServiceEndpointServiceFabricArrayInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricArrayOutput() ServiceEndpointServiceFabricArrayOutput
	ToServiceEndpointServiceFabricArrayOutputWithContext(context.Context) ServiceEndpointServiceFabricArrayOutput
}

ServiceEndpointServiceFabricArrayInput is an input type that accepts ServiceEndpointServiceFabricArray and ServiceEndpointServiceFabricArrayOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricArrayInput` via:

ServiceEndpointServiceFabricArray{ ServiceEndpointServiceFabricArgs{...} }

type ServiceEndpointServiceFabricArrayOutput

type ServiceEndpointServiceFabricArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricArrayOutput) ElementType

func (ServiceEndpointServiceFabricArrayOutput) Index

func (ServiceEndpointServiceFabricArrayOutput) ToServiceEndpointServiceFabricArrayOutput

func (o ServiceEndpointServiceFabricArrayOutput) ToServiceEndpointServiceFabricArrayOutput() ServiceEndpointServiceFabricArrayOutput

func (ServiceEndpointServiceFabricArrayOutput) ToServiceEndpointServiceFabricArrayOutputWithContext

func (o ServiceEndpointServiceFabricArrayOutput) ToServiceEndpointServiceFabricArrayOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricArrayOutput

type ServiceEndpointServiceFabricAzureActiveDirectory

type ServiceEndpointServiceFabricAzureActiveDirectory struct {
	// Password for the Azure Active Directory account.
	Password string `pulumi:"password"`
	// The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
	ServerCertificateCommonName *string `pulumi:"serverCertificateCommonName"`
	// Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.
	ServerCertificateLookup string `pulumi:"serverCertificateLookup"`
	// The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
	ServerCertificateThumbprint *string `pulumi:"serverCertificateThumbprint"`
	// Specify an Azure Active Directory account.
	Username string `pulumi:"username"`
}

type ServiceEndpointServiceFabricAzureActiveDirectoryArgs

type ServiceEndpointServiceFabricAzureActiveDirectoryArgs struct {
	// Password for the Azure Active Directory account.
	Password pulumi.StringInput `pulumi:"password"`
	// The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
	ServerCertificateCommonName pulumi.StringPtrInput `pulumi:"serverCertificateCommonName"`
	// Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.
	ServerCertificateLookup pulumi.StringInput `pulumi:"serverCertificateLookup"`
	// The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
	ServerCertificateThumbprint pulumi.StringPtrInput `pulumi:"serverCertificateThumbprint"`
	// Specify an Azure Active Directory account.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ElementType

func (ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryOutput

func (i ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryOutput() ServiceEndpointServiceFabricAzureActiveDirectoryOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryOutputWithContext

func (i ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (i ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput() ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext

func (i ServiceEndpointServiceFabricAzureActiveDirectoryArgs) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

type ServiceEndpointServiceFabricAzureActiveDirectoryInput

type ServiceEndpointServiceFabricAzureActiveDirectoryInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricAzureActiveDirectoryOutput() ServiceEndpointServiceFabricAzureActiveDirectoryOutput
	ToServiceEndpointServiceFabricAzureActiveDirectoryOutputWithContext(context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryOutput
}

ServiceEndpointServiceFabricAzureActiveDirectoryInput is an input type that accepts ServiceEndpointServiceFabricAzureActiveDirectoryArgs and ServiceEndpointServiceFabricAzureActiveDirectoryOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricAzureActiveDirectoryInput` via:

ServiceEndpointServiceFabricAzureActiveDirectoryArgs{...}

type ServiceEndpointServiceFabricAzureActiveDirectoryOutput

type ServiceEndpointServiceFabricAzureActiveDirectoryOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ElementType

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) Password

Password for the Azure Active Directory account.

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ServerCertificateCommonName

The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ServerCertificateLookup

Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ServerCertificateThumbprint

The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryOutputWithContext

func (o ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (o ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput() ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext

func (o ServiceEndpointServiceFabricAzureActiveDirectoryOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryOutput) Username

Specify an Azure Active Directory account.

type ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput

type ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput() ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput
	ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext(context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput
}

ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput is an input type that accepts ServiceEndpointServiceFabricAzureActiveDirectoryArgs, ServiceEndpointServiceFabricAzureActiveDirectoryPtr and ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput` via:

        ServiceEndpointServiceFabricAzureActiveDirectoryArgs{...}

or:

        nil

type ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

type ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) Elem

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ElementType

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) Password

Password for the Azure Active Directory account.

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ServerCertificateCommonName

The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ServerCertificateLookup

Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ServerCertificateThumbprint

The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext

func (o ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) ToServiceEndpointServiceFabricAzureActiveDirectoryPtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput

func (ServiceEndpointServiceFabricAzureActiveDirectoryPtrOutput) Username

Specify an Azure Active Directory account.

type ServiceEndpointServiceFabricCertificate

type ServiceEndpointServiceFabricCertificate struct {
	// Base64 encoding of the cluster's client certificate file.
	ClientCertificate string `pulumi:"clientCertificate"`
	// Password for the certificate.
	ClientCertificatePassword *string `pulumi:"clientCertificatePassword"`
	// The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
	ServerCertificateCommonName *string `pulumi:"serverCertificateCommonName"`
	// Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.
	ServerCertificateLookup string `pulumi:"serverCertificateLookup"`
	// The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
	ServerCertificateThumbprint *string `pulumi:"serverCertificateThumbprint"`
}

type ServiceEndpointServiceFabricCertificateArgs

type ServiceEndpointServiceFabricCertificateArgs struct {
	// Base64 encoding of the cluster's client certificate file.
	ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"`
	// Password for the certificate.
	ClientCertificatePassword pulumi.StringPtrInput `pulumi:"clientCertificatePassword"`
	// The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
	ServerCertificateCommonName pulumi.StringPtrInput `pulumi:"serverCertificateCommonName"`
	// Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.
	ServerCertificateLookup pulumi.StringInput `pulumi:"serverCertificateLookup"`
	// The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
	ServerCertificateThumbprint pulumi.StringPtrInput `pulumi:"serverCertificateThumbprint"`
}

func (ServiceEndpointServiceFabricCertificateArgs) ElementType

func (ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificateOutput

func (i ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificateOutput() ServiceEndpointServiceFabricCertificateOutput

func (ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificateOutputWithContext

func (i ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificateOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricCertificateOutput

func (ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificatePtrOutput

func (i ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificatePtrOutput() ServiceEndpointServiceFabricCertificatePtrOutput

func (ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext

func (i ServiceEndpointServiceFabricCertificateArgs) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricCertificatePtrOutput

type ServiceEndpointServiceFabricCertificateInput

type ServiceEndpointServiceFabricCertificateInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricCertificateOutput() ServiceEndpointServiceFabricCertificateOutput
	ToServiceEndpointServiceFabricCertificateOutputWithContext(context.Context) ServiceEndpointServiceFabricCertificateOutput
}

ServiceEndpointServiceFabricCertificateInput is an input type that accepts ServiceEndpointServiceFabricCertificateArgs and ServiceEndpointServiceFabricCertificateOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricCertificateInput` via:

ServiceEndpointServiceFabricCertificateArgs{...}

type ServiceEndpointServiceFabricCertificateOutput

type ServiceEndpointServiceFabricCertificateOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricCertificateOutput) ClientCertificate

Base64 encoding of the cluster's client certificate file.

func (ServiceEndpointServiceFabricCertificateOutput) ClientCertificatePassword

Password for the certificate.

func (ServiceEndpointServiceFabricCertificateOutput) ElementType

func (ServiceEndpointServiceFabricCertificateOutput) ServerCertificateCommonName

The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')

func (ServiceEndpointServiceFabricCertificateOutput) ServerCertificateLookup

Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.

func (ServiceEndpointServiceFabricCertificateOutput) ServerCertificateThumbprint

The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

func (ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificateOutput

func (o ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificateOutput() ServiceEndpointServiceFabricCertificateOutput

func (ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificateOutputWithContext

func (o ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificateOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricCertificateOutput

func (ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificatePtrOutput

func (o ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificatePtrOutput() ServiceEndpointServiceFabricCertificatePtrOutput

func (ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext

func (o ServiceEndpointServiceFabricCertificateOutput) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricCertificatePtrOutput

type ServiceEndpointServiceFabricCertificatePtrInput

type ServiceEndpointServiceFabricCertificatePtrInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricCertificatePtrOutput() ServiceEndpointServiceFabricCertificatePtrOutput
	ToServiceEndpointServiceFabricCertificatePtrOutputWithContext(context.Context) ServiceEndpointServiceFabricCertificatePtrOutput
}

ServiceEndpointServiceFabricCertificatePtrInput is an input type that accepts ServiceEndpointServiceFabricCertificateArgs, ServiceEndpointServiceFabricCertificatePtr and ServiceEndpointServiceFabricCertificatePtrOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricCertificatePtrInput` via:

        ServiceEndpointServiceFabricCertificateArgs{...}

or:

        nil

type ServiceEndpointServiceFabricCertificatePtrOutput

type ServiceEndpointServiceFabricCertificatePtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricCertificatePtrOutput) ClientCertificate

Base64 encoding of the cluster's client certificate file.

func (ServiceEndpointServiceFabricCertificatePtrOutput) ClientCertificatePassword

Password for the certificate.

func (ServiceEndpointServiceFabricCertificatePtrOutput) Elem

func (ServiceEndpointServiceFabricCertificatePtrOutput) ElementType

func (ServiceEndpointServiceFabricCertificatePtrOutput) ServerCertificateCommonName

The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')

func (ServiceEndpointServiceFabricCertificatePtrOutput) ServerCertificateLookup

Verification mode for the cluster. Possible values include `Thumbprint` or `CommonName`.

func (ServiceEndpointServiceFabricCertificatePtrOutput) ServerCertificateThumbprint

The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

func (ServiceEndpointServiceFabricCertificatePtrOutput) ToServiceEndpointServiceFabricCertificatePtrOutput

func (o ServiceEndpointServiceFabricCertificatePtrOutput) ToServiceEndpointServiceFabricCertificatePtrOutput() ServiceEndpointServiceFabricCertificatePtrOutput

func (ServiceEndpointServiceFabricCertificatePtrOutput) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext

func (o ServiceEndpointServiceFabricCertificatePtrOutput) ToServiceEndpointServiceFabricCertificatePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricCertificatePtrOutput

type ServiceEndpointServiceFabricInput

type ServiceEndpointServiceFabricInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricOutput() ServiceEndpointServiceFabricOutput
	ToServiceEndpointServiceFabricOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricOutput
}

type ServiceEndpointServiceFabricMap

type ServiceEndpointServiceFabricMap map[string]ServiceEndpointServiceFabricInput

func (ServiceEndpointServiceFabricMap) ElementType

func (ServiceEndpointServiceFabricMap) ToServiceEndpointServiceFabricMapOutput

func (i ServiceEndpointServiceFabricMap) ToServiceEndpointServiceFabricMapOutput() ServiceEndpointServiceFabricMapOutput

func (ServiceEndpointServiceFabricMap) ToServiceEndpointServiceFabricMapOutputWithContext

func (i ServiceEndpointServiceFabricMap) ToServiceEndpointServiceFabricMapOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricMapOutput

type ServiceEndpointServiceFabricMapInput

type ServiceEndpointServiceFabricMapInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricMapOutput() ServiceEndpointServiceFabricMapOutput
	ToServiceEndpointServiceFabricMapOutputWithContext(context.Context) ServiceEndpointServiceFabricMapOutput
}

ServiceEndpointServiceFabricMapInput is an input type that accepts ServiceEndpointServiceFabricMap and ServiceEndpointServiceFabricMapOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricMapInput` via:

ServiceEndpointServiceFabricMap{ "key": ServiceEndpointServiceFabricArgs{...} }

type ServiceEndpointServiceFabricMapOutput

type ServiceEndpointServiceFabricMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricMapOutput) ElementType

func (ServiceEndpointServiceFabricMapOutput) MapIndex

func (ServiceEndpointServiceFabricMapOutput) ToServiceEndpointServiceFabricMapOutput

func (o ServiceEndpointServiceFabricMapOutput) ToServiceEndpointServiceFabricMapOutput() ServiceEndpointServiceFabricMapOutput

func (ServiceEndpointServiceFabricMapOutput) ToServiceEndpointServiceFabricMapOutputWithContext

func (o ServiceEndpointServiceFabricMapOutput) ToServiceEndpointServiceFabricMapOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricMapOutput

type ServiceEndpointServiceFabricNone

type ServiceEndpointServiceFabricNone struct {
	// Fully qualified domain SPN for gMSA account. This is applicable only if `unsecured` option is disabled.
	ClusterSpn *string `pulumi:"clusterSpn"`
	// Skip using windows security for authentication.
	Unsecured *bool `pulumi:"unsecured"`
}

type ServiceEndpointServiceFabricNoneArgs

type ServiceEndpointServiceFabricNoneArgs struct {
	// Fully qualified domain SPN for gMSA account. This is applicable only if `unsecured` option is disabled.
	ClusterSpn pulumi.StringPtrInput `pulumi:"clusterSpn"`
	// Skip using windows security for authentication.
	Unsecured pulumi.BoolPtrInput `pulumi:"unsecured"`
}

func (ServiceEndpointServiceFabricNoneArgs) ElementType

func (ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNoneOutput

func (i ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNoneOutput() ServiceEndpointServiceFabricNoneOutput

func (ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNoneOutputWithContext

func (i ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNoneOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricNoneOutput

func (ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNonePtrOutput

func (i ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNonePtrOutput() ServiceEndpointServiceFabricNonePtrOutput

func (ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNonePtrOutputWithContext

func (i ServiceEndpointServiceFabricNoneArgs) ToServiceEndpointServiceFabricNonePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricNonePtrOutput

type ServiceEndpointServiceFabricNoneInput

type ServiceEndpointServiceFabricNoneInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricNoneOutput() ServiceEndpointServiceFabricNoneOutput
	ToServiceEndpointServiceFabricNoneOutputWithContext(context.Context) ServiceEndpointServiceFabricNoneOutput
}

ServiceEndpointServiceFabricNoneInput is an input type that accepts ServiceEndpointServiceFabricNoneArgs and ServiceEndpointServiceFabricNoneOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricNoneInput` via:

ServiceEndpointServiceFabricNoneArgs{...}

type ServiceEndpointServiceFabricNoneOutput

type ServiceEndpointServiceFabricNoneOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricNoneOutput) ClusterSpn

Fully qualified domain SPN for gMSA account. This is applicable only if `unsecured` option is disabled.

func (ServiceEndpointServiceFabricNoneOutput) ElementType

func (ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNoneOutput

func (o ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNoneOutput() ServiceEndpointServiceFabricNoneOutput

func (ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNoneOutputWithContext

func (o ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNoneOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricNoneOutput

func (ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNonePtrOutput

func (o ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNonePtrOutput() ServiceEndpointServiceFabricNonePtrOutput

func (ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNonePtrOutputWithContext

func (o ServiceEndpointServiceFabricNoneOutput) ToServiceEndpointServiceFabricNonePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricNonePtrOutput

func (ServiceEndpointServiceFabricNoneOutput) Unsecured

Skip using windows security for authentication.

type ServiceEndpointServiceFabricNonePtrInput

type ServiceEndpointServiceFabricNonePtrInput interface {
	pulumi.Input

	ToServiceEndpointServiceFabricNonePtrOutput() ServiceEndpointServiceFabricNonePtrOutput
	ToServiceEndpointServiceFabricNonePtrOutputWithContext(context.Context) ServiceEndpointServiceFabricNonePtrOutput
}

ServiceEndpointServiceFabricNonePtrInput is an input type that accepts ServiceEndpointServiceFabricNoneArgs, ServiceEndpointServiceFabricNonePtr and ServiceEndpointServiceFabricNonePtrOutput values. You can construct a concrete instance of `ServiceEndpointServiceFabricNonePtrInput` via:

        ServiceEndpointServiceFabricNoneArgs{...}

or:

        nil

type ServiceEndpointServiceFabricNonePtrOutput

type ServiceEndpointServiceFabricNonePtrOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricNonePtrOutput) ClusterSpn

Fully qualified domain SPN for gMSA account. This is applicable only if `unsecured` option is disabled.

func (ServiceEndpointServiceFabricNonePtrOutput) Elem

func (ServiceEndpointServiceFabricNonePtrOutput) ElementType

func (ServiceEndpointServiceFabricNonePtrOutput) ToServiceEndpointServiceFabricNonePtrOutput

func (o ServiceEndpointServiceFabricNonePtrOutput) ToServiceEndpointServiceFabricNonePtrOutput() ServiceEndpointServiceFabricNonePtrOutput

func (ServiceEndpointServiceFabricNonePtrOutput) ToServiceEndpointServiceFabricNonePtrOutputWithContext

func (o ServiceEndpointServiceFabricNonePtrOutput) ToServiceEndpointServiceFabricNonePtrOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricNonePtrOutput

func (ServiceEndpointServiceFabricNonePtrOutput) Unsecured

Skip using windows security for authentication.

type ServiceEndpointServiceFabricOutput

type ServiceEndpointServiceFabricOutput struct{ *pulumi.OutputState }

func (ServiceEndpointServiceFabricOutput) Authorization

func (ServiceEndpointServiceFabricOutput) AzureActiveDirectory

func (ServiceEndpointServiceFabricOutput) Certificate

func (ServiceEndpointServiceFabricOutput) ClusterEndpoint

Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.

func (ServiceEndpointServiceFabricOutput) Description

func (ServiceEndpointServiceFabricOutput) ElementType

func (ServiceEndpointServiceFabricOutput) None

func (ServiceEndpointServiceFabricOutput) ProjectId

The ID of the project.

func (ServiceEndpointServiceFabricOutput) ServiceEndpointName

func (o ServiceEndpointServiceFabricOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointServiceFabricOutput) ToServiceEndpointServiceFabricOutput

func (o ServiceEndpointServiceFabricOutput) ToServiceEndpointServiceFabricOutput() ServiceEndpointServiceFabricOutput

func (ServiceEndpointServiceFabricOutput) ToServiceEndpointServiceFabricOutputWithContext

func (o ServiceEndpointServiceFabricOutput) ToServiceEndpointServiceFabricOutputWithContext(ctx context.Context) ServiceEndpointServiceFabricOutput

type ServiceEndpointServiceFabricState

type ServiceEndpointServiceFabricState struct {
	Authorization        pulumi.StringMapInput
	AzureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectoryPtrInput
	Certificate          ServiceEndpointServiceFabricCertificatePtrInput
	// Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
	ClusterEndpoint pulumi.StringPtrInput
	Description     pulumi.StringPtrInput
	None            ServiceEndpointServiceFabricNonePtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceEndpointServiceFabricState) ElementType

type ServiceEndpointSonarCloud

type ServiceEndpointSonarCloud struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
	Token pulumi.StringOutput `pulumi:"token"`
}

Manages a SonarCloud service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointSonarCloud(ctx, "exampleServiceEndpointSonarCloud", &azuredevops.ServiceEndpointSonarCloudArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example SonarCloud"),
			Token:               pulumi.String("0000000000000000000000000000000000000000"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0) - [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) - [SonarCloud User Token](https://docs.sonarcloud.io/advanced-setup/user-accounts/)

## Import

Azure DevOps Service Endpoint SonarCloud can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceEndpointSonarCloud:ServiceEndpointSonarCloud example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointSonarCloud

func GetServiceEndpointSonarCloud(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointSonarCloudState, opts ...pulumi.ResourceOption) (*ServiceEndpointSonarCloud, error)

GetServiceEndpointSonarCloud gets an existing ServiceEndpointSonarCloud 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 NewServiceEndpointSonarCloud

func NewServiceEndpointSonarCloud(ctx *pulumi.Context,
	name string, args *ServiceEndpointSonarCloudArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointSonarCloud, error)

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

func (*ServiceEndpointSonarCloud) ElementType

func (*ServiceEndpointSonarCloud) ElementType() reflect.Type

func (*ServiceEndpointSonarCloud) ToServiceEndpointSonarCloudOutput

func (i *ServiceEndpointSonarCloud) ToServiceEndpointSonarCloudOutput() ServiceEndpointSonarCloudOutput

func (*ServiceEndpointSonarCloud) ToServiceEndpointSonarCloudOutputWithContext

func (i *ServiceEndpointSonarCloud) ToServiceEndpointSonarCloudOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudOutput

type ServiceEndpointSonarCloudArgs

type ServiceEndpointSonarCloudArgs struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
	Token pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointSonarCloud resource.

func (ServiceEndpointSonarCloudArgs) ElementType

type ServiceEndpointSonarCloudArray

type ServiceEndpointSonarCloudArray []ServiceEndpointSonarCloudInput

func (ServiceEndpointSonarCloudArray) ElementType

func (ServiceEndpointSonarCloudArray) ToServiceEndpointSonarCloudArrayOutput

func (i ServiceEndpointSonarCloudArray) ToServiceEndpointSonarCloudArrayOutput() ServiceEndpointSonarCloudArrayOutput

func (ServiceEndpointSonarCloudArray) ToServiceEndpointSonarCloudArrayOutputWithContext

func (i ServiceEndpointSonarCloudArray) ToServiceEndpointSonarCloudArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudArrayOutput

type ServiceEndpointSonarCloudArrayInput

type ServiceEndpointSonarCloudArrayInput interface {
	pulumi.Input

	ToServiceEndpointSonarCloudArrayOutput() ServiceEndpointSonarCloudArrayOutput
	ToServiceEndpointSonarCloudArrayOutputWithContext(context.Context) ServiceEndpointSonarCloudArrayOutput
}

ServiceEndpointSonarCloudArrayInput is an input type that accepts ServiceEndpointSonarCloudArray and ServiceEndpointSonarCloudArrayOutput values. You can construct a concrete instance of `ServiceEndpointSonarCloudArrayInput` via:

ServiceEndpointSonarCloudArray{ ServiceEndpointSonarCloudArgs{...} }

type ServiceEndpointSonarCloudArrayOutput

type ServiceEndpointSonarCloudArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarCloudArrayOutput) ElementType

func (ServiceEndpointSonarCloudArrayOutput) Index

func (ServiceEndpointSonarCloudArrayOutput) ToServiceEndpointSonarCloudArrayOutput

func (o ServiceEndpointSonarCloudArrayOutput) ToServiceEndpointSonarCloudArrayOutput() ServiceEndpointSonarCloudArrayOutput

func (ServiceEndpointSonarCloudArrayOutput) ToServiceEndpointSonarCloudArrayOutputWithContext

func (o ServiceEndpointSonarCloudArrayOutput) ToServiceEndpointSonarCloudArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudArrayOutput

type ServiceEndpointSonarCloudInput

type ServiceEndpointSonarCloudInput interface {
	pulumi.Input

	ToServiceEndpointSonarCloudOutput() ServiceEndpointSonarCloudOutput
	ToServiceEndpointSonarCloudOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudOutput
}

type ServiceEndpointSonarCloudMap

type ServiceEndpointSonarCloudMap map[string]ServiceEndpointSonarCloudInput

func (ServiceEndpointSonarCloudMap) ElementType

func (ServiceEndpointSonarCloudMap) ToServiceEndpointSonarCloudMapOutput

func (i ServiceEndpointSonarCloudMap) ToServiceEndpointSonarCloudMapOutput() ServiceEndpointSonarCloudMapOutput

func (ServiceEndpointSonarCloudMap) ToServiceEndpointSonarCloudMapOutputWithContext

func (i ServiceEndpointSonarCloudMap) ToServiceEndpointSonarCloudMapOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudMapOutput

type ServiceEndpointSonarCloudMapInput

type ServiceEndpointSonarCloudMapInput interface {
	pulumi.Input

	ToServiceEndpointSonarCloudMapOutput() ServiceEndpointSonarCloudMapOutput
	ToServiceEndpointSonarCloudMapOutputWithContext(context.Context) ServiceEndpointSonarCloudMapOutput
}

ServiceEndpointSonarCloudMapInput is an input type that accepts ServiceEndpointSonarCloudMap and ServiceEndpointSonarCloudMapOutput values. You can construct a concrete instance of `ServiceEndpointSonarCloudMapInput` via:

ServiceEndpointSonarCloudMap{ "key": ServiceEndpointSonarCloudArgs{...} }

type ServiceEndpointSonarCloudMapOutput

type ServiceEndpointSonarCloudMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarCloudMapOutput) ElementType

func (ServiceEndpointSonarCloudMapOutput) MapIndex

func (ServiceEndpointSonarCloudMapOutput) ToServiceEndpointSonarCloudMapOutput

func (o ServiceEndpointSonarCloudMapOutput) ToServiceEndpointSonarCloudMapOutput() ServiceEndpointSonarCloudMapOutput

func (ServiceEndpointSonarCloudMapOutput) ToServiceEndpointSonarCloudMapOutputWithContext

func (o ServiceEndpointSonarCloudMapOutput) ToServiceEndpointSonarCloudMapOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudMapOutput

type ServiceEndpointSonarCloudOutput

type ServiceEndpointSonarCloudOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarCloudOutput) Authorization

func (ServiceEndpointSonarCloudOutput) Description

The Service Endpoint description.

func (ServiceEndpointSonarCloudOutput) ElementType

func (ServiceEndpointSonarCloudOutput) ProjectId

The ID of the project.

func (ServiceEndpointSonarCloudOutput) ServiceEndpointName

func (o ServiceEndpointSonarCloudOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointSonarCloudOutput) ToServiceEndpointSonarCloudOutput

func (o ServiceEndpointSonarCloudOutput) ToServiceEndpointSonarCloudOutput() ServiceEndpointSonarCloudOutput

func (ServiceEndpointSonarCloudOutput) ToServiceEndpointSonarCloudOutputWithContext

func (o ServiceEndpointSonarCloudOutput) ToServiceEndpointSonarCloudOutputWithContext(ctx context.Context) ServiceEndpointSonarCloudOutput

func (ServiceEndpointSonarCloudOutput) Token

Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).

type ServiceEndpointSonarCloudState

type ServiceEndpointSonarCloudState struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// Authentication Token generated through SonarCloud (go to `My Account > Security > Generate Tokens`).
	Token pulumi.StringPtrInput
}

func (ServiceEndpointSonarCloudState) ElementType

type ServiceEndpointSonarQube

type ServiceEndpointSonarQube struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	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"`
	// URL of the SonarQube server to connect with.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a SonarQube service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointSonarQube(ctx, "exampleServiceEndpointSonarQube", &azuredevops.ServiceEndpointSonarQubeArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example 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
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0) - [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 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointSonarQube

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

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

func (*ServiceEndpointSonarQube) ElementType() reflect.Type

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutput

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput

func (*ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutputWithContext

func (i *ServiceEndpointSonarQube) ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput

type ServiceEndpointSonarQubeArgs

type ServiceEndpointSonarQubeArgs struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	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

type ServiceEndpointSonarQubeArray

type ServiceEndpointSonarQubeArray []ServiceEndpointSonarQubeInput

func (ServiceEndpointSonarQubeArray) ElementType

func (ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutput

func (i ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutput() ServiceEndpointSonarQubeArrayOutput

func (ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutputWithContext

func (i ServiceEndpointSonarQubeArray) ToServiceEndpointSonarQubeArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeArrayOutput

type ServiceEndpointSonarQubeArrayInput

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

type ServiceEndpointSonarQubeArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarQubeArrayOutput) ElementType

func (ServiceEndpointSonarQubeArrayOutput) Index

func (ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutput

func (o ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutput() ServiceEndpointSonarQubeArrayOutput

func (ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutputWithContext

func (o ServiceEndpointSonarQubeArrayOutput) ToServiceEndpointSonarQubeArrayOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeArrayOutput

type ServiceEndpointSonarQubeInput

type ServiceEndpointSonarQubeInput interface {
	pulumi.Input

	ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput
	ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput
}

type ServiceEndpointSonarQubeMap

type ServiceEndpointSonarQubeMap map[string]ServiceEndpointSonarQubeInput

func (ServiceEndpointSonarQubeMap) ElementType

func (ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutput

func (i ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutput() ServiceEndpointSonarQubeMapOutput

func (ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutputWithContext

func (i ServiceEndpointSonarQubeMap) ToServiceEndpointSonarQubeMapOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeMapOutput

type ServiceEndpointSonarQubeMapInput

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

type ServiceEndpointSonarQubeMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarQubeMapOutput) ElementType

func (ServiceEndpointSonarQubeMapOutput) MapIndex

func (ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutput

func (o ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutput() ServiceEndpointSonarQubeMapOutput

func (ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutputWithContext

func (o ServiceEndpointSonarQubeMapOutput) ToServiceEndpointSonarQubeMapOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeMapOutput

type ServiceEndpointSonarQubeOutput

type ServiceEndpointSonarQubeOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSonarQubeOutput) Authorization

func (ServiceEndpointSonarQubeOutput) Description

The Service Endpoint description.

func (ServiceEndpointSonarQubeOutput) ElementType

func (ServiceEndpointSonarQubeOutput) ProjectId

The ID of the project.

func (ServiceEndpointSonarQubeOutput) ServiceEndpointName

func (o ServiceEndpointSonarQubeOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutput

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutput() ServiceEndpointSonarQubeOutput

func (ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutputWithContext

func (o ServiceEndpointSonarQubeOutput) ToServiceEndpointSonarQubeOutputWithContext(ctx context.Context) ServiceEndpointSonarQubeOutput

func (ServiceEndpointSonarQubeOutput) Token

Authentication Token generated through SonarQube (go to My Account > Security > Generate Tokens).

func (ServiceEndpointSonarQubeOutput) Url

URL of the SonarQube server to connect with.

type ServiceEndpointSonarQubeState

type ServiceEndpointSonarQubeState struct {
	Authorization pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	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
	// URL of the SonarQube server to connect with.
	Url pulumi.StringPtrInput
}

func (ServiceEndpointSonarQubeState) ElementType

type ServiceEndpointSsh

type ServiceEndpointSsh struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The Host name or IP address of the remote machine.
	Host pulumi.StringOutput `pulumi:"host"`
	// Password for connecting to the endpoint.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Port number on the remote machine to use for connecting. Defaults to `22`.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// Private Key for connecting to the endpoint.
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// Username for connecting to the endpoint.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a SSH service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceEndpointSsh(ctx, "exampleServiceEndpointSsh", &azuredevops.ServiceEndpointSshArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example SSH"),
			Host:                pulumi.String("1.2.3.4"),
			Username:            pulumi.String("username"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint SSH can be imported using **projectID/serviceEndpointID** or **

projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceEndpointSsh:ServiceEndpointSsh example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceEndpointSsh

func GetServiceEndpointSsh(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEndpointSshState, opts ...pulumi.ResourceOption) (*ServiceEndpointSsh, error)

GetServiceEndpointSsh gets an existing ServiceEndpointSsh 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 NewServiceEndpointSsh

func NewServiceEndpointSsh(ctx *pulumi.Context,
	name string, args *ServiceEndpointSshArgs, opts ...pulumi.ResourceOption) (*ServiceEndpointSsh, error)

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

func (*ServiceEndpointSsh) ElementType

func (*ServiceEndpointSsh) ElementType() reflect.Type

func (*ServiceEndpointSsh) ToServiceEndpointSshOutput

func (i *ServiceEndpointSsh) ToServiceEndpointSshOutput() ServiceEndpointSshOutput

func (*ServiceEndpointSsh) ToServiceEndpointSshOutputWithContext

func (i *ServiceEndpointSsh) ToServiceEndpointSshOutputWithContext(ctx context.Context) ServiceEndpointSshOutput

type ServiceEndpointSshArgs

type ServiceEndpointSshArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The Host name or IP address of the remote machine.
	Host pulumi.StringInput
	// Password for connecting to the endpoint.
	Password pulumi.StringPtrInput
	// Port number on the remote machine to use for connecting. Defaults to `22`.
	Port pulumi.IntPtrInput
	// Private Key for connecting to the endpoint.
	PrivateKey pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// Username for connecting to the endpoint.
	Username pulumi.StringInput
}

The set of arguments for constructing a ServiceEndpointSsh resource.

func (ServiceEndpointSshArgs) ElementType

func (ServiceEndpointSshArgs) ElementType() reflect.Type

type ServiceEndpointSshArray

type ServiceEndpointSshArray []ServiceEndpointSshInput

func (ServiceEndpointSshArray) ElementType

func (ServiceEndpointSshArray) ElementType() reflect.Type

func (ServiceEndpointSshArray) ToServiceEndpointSshArrayOutput

func (i ServiceEndpointSshArray) ToServiceEndpointSshArrayOutput() ServiceEndpointSshArrayOutput

func (ServiceEndpointSshArray) ToServiceEndpointSshArrayOutputWithContext

func (i ServiceEndpointSshArray) ToServiceEndpointSshArrayOutputWithContext(ctx context.Context) ServiceEndpointSshArrayOutput

type ServiceEndpointSshArrayInput

type ServiceEndpointSshArrayInput interface {
	pulumi.Input

	ToServiceEndpointSshArrayOutput() ServiceEndpointSshArrayOutput
	ToServiceEndpointSshArrayOutputWithContext(context.Context) ServiceEndpointSshArrayOutput
}

ServiceEndpointSshArrayInput is an input type that accepts ServiceEndpointSshArray and ServiceEndpointSshArrayOutput values. You can construct a concrete instance of `ServiceEndpointSshArrayInput` via:

ServiceEndpointSshArray{ ServiceEndpointSshArgs{...} }

type ServiceEndpointSshArrayOutput

type ServiceEndpointSshArrayOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSshArrayOutput) ElementType

func (ServiceEndpointSshArrayOutput) Index

func (ServiceEndpointSshArrayOutput) ToServiceEndpointSshArrayOutput

func (o ServiceEndpointSshArrayOutput) ToServiceEndpointSshArrayOutput() ServiceEndpointSshArrayOutput

func (ServiceEndpointSshArrayOutput) ToServiceEndpointSshArrayOutputWithContext

func (o ServiceEndpointSshArrayOutput) ToServiceEndpointSshArrayOutputWithContext(ctx context.Context) ServiceEndpointSshArrayOutput

type ServiceEndpointSshInput

type ServiceEndpointSshInput interface {
	pulumi.Input

	ToServiceEndpointSshOutput() ServiceEndpointSshOutput
	ToServiceEndpointSshOutputWithContext(ctx context.Context) ServiceEndpointSshOutput
}

type ServiceEndpointSshMap

type ServiceEndpointSshMap map[string]ServiceEndpointSshInput

func (ServiceEndpointSshMap) ElementType

func (ServiceEndpointSshMap) ElementType() reflect.Type

func (ServiceEndpointSshMap) ToServiceEndpointSshMapOutput

func (i ServiceEndpointSshMap) ToServiceEndpointSshMapOutput() ServiceEndpointSshMapOutput

func (ServiceEndpointSshMap) ToServiceEndpointSshMapOutputWithContext

func (i ServiceEndpointSshMap) ToServiceEndpointSshMapOutputWithContext(ctx context.Context) ServiceEndpointSshMapOutput

type ServiceEndpointSshMapInput

type ServiceEndpointSshMapInput interface {
	pulumi.Input

	ToServiceEndpointSshMapOutput() ServiceEndpointSshMapOutput
	ToServiceEndpointSshMapOutputWithContext(context.Context) ServiceEndpointSshMapOutput
}

ServiceEndpointSshMapInput is an input type that accepts ServiceEndpointSshMap and ServiceEndpointSshMapOutput values. You can construct a concrete instance of `ServiceEndpointSshMapInput` via:

ServiceEndpointSshMap{ "key": ServiceEndpointSshArgs{...} }

type ServiceEndpointSshMapOutput

type ServiceEndpointSshMapOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSshMapOutput) ElementType

func (ServiceEndpointSshMapOutput) MapIndex

func (ServiceEndpointSshMapOutput) ToServiceEndpointSshMapOutput

func (o ServiceEndpointSshMapOutput) ToServiceEndpointSshMapOutput() ServiceEndpointSshMapOutput

func (ServiceEndpointSshMapOutput) ToServiceEndpointSshMapOutputWithContext

func (o ServiceEndpointSshMapOutput) ToServiceEndpointSshMapOutputWithContext(ctx context.Context) ServiceEndpointSshMapOutput

type ServiceEndpointSshOutput

type ServiceEndpointSshOutput struct{ *pulumi.OutputState }

func (ServiceEndpointSshOutput) Authorization

func (ServiceEndpointSshOutput) Description

func (ServiceEndpointSshOutput) ElementType

func (ServiceEndpointSshOutput) ElementType() reflect.Type

func (ServiceEndpointSshOutput) Host

The Host name or IP address of the remote machine.

func (ServiceEndpointSshOutput) Password

Password for connecting to the endpoint.

func (ServiceEndpointSshOutput) Port

Port number on the remote machine to use for connecting. Defaults to `22`.

func (ServiceEndpointSshOutput) PrivateKey

Private Key for connecting to the endpoint.

func (ServiceEndpointSshOutput) ProjectId

The ID of the project.

func (ServiceEndpointSshOutput) ServiceEndpointName

func (o ServiceEndpointSshOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceEndpointSshOutput) ToServiceEndpointSshOutput

func (o ServiceEndpointSshOutput) ToServiceEndpointSshOutput() ServiceEndpointSshOutput

func (ServiceEndpointSshOutput) ToServiceEndpointSshOutputWithContext

func (o ServiceEndpointSshOutput) ToServiceEndpointSshOutputWithContext(ctx context.Context) ServiceEndpointSshOutput

func (ServiceEndpointSshOutput) Username

Username for connecting to the endpoint.

type ServiceEndpointSshState

type ServiceEndpointSshState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The Host name or IP address of the remote machine.
	Host pulumi.StringPtrInput
	// Password for connecting to the endpoint.
	Password pulumi.StringPtrInput
	// Port number on the remote machine to use for connecting. Defaults to `22`.
	Port pulumi.IntPtrInput
	// Private Key for connecting to the endpoint.
	PrivateKey pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// Username for connecting to the endpoint.
	Username pulumi.StringPtrInput
}

func (ServiceEndpointSshState) ElementType

func (ServiceEndpointSshState) ElementType() reflect.Type

type ServiceendpointArgocd

type ServiceendpointArgocd struct {
	pulumi.CustomResourceState

	// An `authenticationBasic` block for the ArgoCD as documented below.
	//
	// > **NOTE:** `authenticationBasic` and `authenticationToken` conflict with each other, only one is required.
	AuthenticationBasic ServiceendpointArgocdAuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// An `authenticationToken` block for the ArgoCD as documented below.
	AuthenticationToken ServiceendpointArgocdAuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                            `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the ArgoCD server to connect with.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a ArgoCD service endpoint within Azure DevOps. Using this service endpoint requires you to first install [Argo CD Extension](https://marketplace.visualstudio.com/items?itemName=scb-tomasmortensen.vsix-argocd).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointArgocd(ctx, "exampleServiceendpointArgocd", &azuredevops.ServiceendpointArgocdArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example ArgoCD"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://argocd.my.com"),
			AuthenticationToken: &azuredevops.ServiceendpointArgocdAuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointArgocd(ctx, "exampleServiceendpointArgocd", &azuredevops.ServiceendpointArgocdArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example ArgoCD"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://argocd.my.com"),
			AuthenticationBasic: &azuredevops.ServiceendpointArgocdAuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> ## Relevant Links

- [Azure DevOps Service Connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) - [ArgoCD Project/User Token](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_account_generate-token/) - [Argo CD Extension](https://marketplace.visualstudio.com/items?itemName=scb-tomasmortensen.vsix-argocd)

## Import

Azure DevOps Service Endpoint ArgoCD can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointArgocd

func GetServiceendpointArgocd(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointArgocdState, opts ...pulumi.ResourceOption) (*ServiceendpointArgocd, error)

GetServiceendpointArgocd gets an existing ServiceendpointArgocd 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 NewServiceendpointArgocd

func NewServiceendpointArgocd(ctx *pulumi.Context,
	name string, args *ServiceendpointArgocdArgs, opts ...pulumi.ResourceOption) (*ServiceendpointArgocd, error)

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

func (*ServiceendpointArgocd) ElementType

func (*ServiceendpointArgocd) ElementType() reflect.Type

func (*ServiceendpointArgocd) ToServiceendpointArgocdOutput

func (i *ServiceendpointArgocd) ToServiceendpointArgocdOutput() ServiceendpointArgocdOutput

func (*ServiceendpointArgocd) ToServiceendpointArgocdOutputWithContext

func (i *ServiceendpointArgocd) ToServiceendpointArgocdOutputWithContext(ctx context.Context) ServiceendpointArgocdOutput

type ServiceendpointArgocdArgs

type ServiceendpointArgocdArgs struct {
	// An `authenticationBasic` block for the ArgoCD as documented below.
	//
	// > **NOTE:** `authenticationBasic` and `authenticationToken` conflict with each other, only one is required.
	AuthenticationBasic ServiceendpointArgocdAuthenticationBasicPtrInput
	// An `authenticationToken` block for the ArgoCD as documented below.
	AuthenticationToken ServiceendpointArgocdAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the ArgoCD server to connect with.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointArgocd resource.

func (ServiceendpointArgocdArgs) ElementType

func (ServiceendpointArgocdArgs) ElementType() reflect.Type

type ServiceendpointArgocdArray

type ServiceendpointArgocdArray []ServiceendpointArgocdInput

func (ServiceendpointArgocdArray) ElementType

func (ServiceendpointArgocdArray) ElementType() reflect.Type

func (ServiceendpointArgocdArray) ToServiceendpointArgocdArrayOutput

func (i ServiceendpointArgocdArray) ToServiceendpointArgocdArrayOutput() ServiceendpointArgocdArrayOutput

func (ServiceendpointArgocdArray) ToServiceendpointArgocdArrayOutputWithContext

func (i ServiceendpointArgocdArray) ToServiceendpointArgocdArrayOutputWithContext(ctx context.Context) ServiceendpointArgocdArrayOutput

type ServiceendpointArgocdArrayInput

type ServiceendpointArgocdArrayInput interface {
	pulumi.Input

	ToServiceendpointArgocdArrayOutput() ServiceendpointArgocdArrayOutput
	ToServiceendpointArgocdArrayOutputWithContext(context.Context) ServiceendpointArgocdArrayOutput
}

ServiceendpointArgocdArrayInput is an input type that accepts ServiceendpointArgocdArray and ServiceendpointArgocdArrayOutput values. You can construct a concrete instance of `ServiceendpointArgocdArrayInput` via:

ServiceendpointArgocdArray{ ServiceendpointArgocdArgs{...} }

type ServiceendpointArgocdArrayOutput

type ServiceendpointArgocdArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdArrayOutput) ElementType

func (ServiceendpointArgocdArrayOutput) Index

func (ServiceendpointArgocdArrayOutput) ToServiceendpointArgocdArrayOutput

func (o ServiceendpointArgocdArrayOutput) ToServiceendpointArgocdArrayOutput() ServiceendpointArgocdArrayOutput

func (ServiceendpointArgocdArrayOutput) ToServiceendpointArgocdArrayOutputWithContext

func (o ServiceendpointArgocdArrayOutput) ToServiceendpointArgocdArrayOutputWithContext(ctx context.Context) ServiceendpointArgocdArrayOutput

type ServiceendpointArgocdAuthenticationBasic

type ServiceendpointArgocdAuthenticationBasic struct {
	// ArgoCD Password.
	Password string `pulumi:"password"`
	// ArgoCD Username.
	Username string `pulumi:"username"`
}

type ServiceendpointArgocdAuthenticationBasicArgs

type ServiceendpointArgocdAuthenticationBasicArgs struct {
	// ArgoCD Password.
	Password pulumi.StringInput `pulumi:"password"`
	// ArgoCD Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointArgocdAuthenticationBasicArgs) ElementType

func (ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicOutput

func (i ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicOutput() ServiceendpointArgocdAuthenticationBasicOutput

func (ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicOutputWithContext

func (i ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationBasicOutput

func (ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicPtrOutput

func (i ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicPtrOutput() ServiceendpointArgocdAuthenticationBasicPtrOutput

func (ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext

func (i ServiceendpointArgocdAuthenticationBasicArgs) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationBasicPtrOutput

type ServiceendpointArgocdAuthenticationBasicInput

type ServiceendpointArgocdAuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointArgocdAuthenticationBasicOutput() ServiceendpointArgocdAuthenticationBasicOutput
	ToServiceendpointArgocdAuthenticationBasicOutputWithContext(context.Context) ServiceendpointArgocdAuthenticationBasicOutput
}

ServiceendpointArgocdAuthenticationBasicInput is an input type that accepts ServiceendpointArgocdAuthenticationBasicArgs and ServiceendpointArgocdAuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointArgocdAuthenticationBasicInput` via:

ServiceendpointArgocdAuthenticationBasicArgs{...}

type ServiceendpointArgocdAuthenticationBasicOutput

type ServiceendpointArgocdAuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdAuthenticationBasicOutput) ElementType

func (ServiceendpointArgocdAuthenticationBasicOutput) Password

ArgoCD Password.

func (ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicOutput

func (o ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicOutput() ServiceendpointArgocdAuthenticationBasicOutput

func (ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicOutputWithContext

func (o ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationBasicOutput

func (ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutput

func (o ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutput() ServiceendpointArgocdAuthenticationBasicPtrOutput

func (ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext

func (o ServiceendpointArgocdAuthenticationBasicOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationBasicPtrOutput

func (ServiceendpointArgocdAuthenticationBasicOutput) Username

ArgoCD Username.

type ServiceendpointArgocdAuthenticationBasicPtrInput

type ServiceendpointArgocdAuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointArgocdAuthenticationBasicPtrOutput() ServiceendpointArgocdAuthenticationBasicPtrOutput
	ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointArgocdAuthenticationBasicPtrOutput
}

ServiceendpointArgocdAuthenticationBasicPtrInput is an input type that accepts ServiceendpointArgocdAuthenticationBasicArgs, ServiceendpointArgocdAuthenticationBasicPtr and ServiceendpointArgocdAuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointArgocdAuthenticationBasicPtrInput` via:

        ServiceendpointArgocdAuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointArgocdAuthenticationBasicPtrOutput

type ServiceendpointArgocdAuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) Elem

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) ElementType

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) Password

ArgoCD Password.

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutput

func (o ServiceendpointArgocdAuthenticationBasicPtrOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutput() ServiceendpointArgocdAuthenticationBasicPtrOutput

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext

func (o ServiceendpointArgocdAuthenticationBasicPtrOutput) ToServiceendpointArgocdAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationBasicPtrOutput

func (ServiceendpointArgocdAuthenticationBasicPtrOutput) Username

ArgoCD Username.

type ServiceendpointArgocdAuthenticationToken

type ServiceendpointArgocdAuthenticationToken struct {
	// Authentication Token generated through ArgoCD.
	Token string `pulumi:"token"`
}

type ServiceendpointArgocdAuthenticationTokenArgs

type ServiceendpointArgocdAuthenticationTokenArgs struct {
	// Authentication Token generated through ArgoCD.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointArgocdAuthenticationTokenArgs) ElementType

func (ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenOutput

func (i ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenOutput() ServiceendpointArgocdAuthenticationTokenOutput

func (ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenOutputWithContext

func (i ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationTokenOutput

func (ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenPtrOutput

func (i ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenPtrOutput() ServiceendpointArgocdAuthenticationTokenPtrOutput

func (ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext

func (i ServiceendpointArgocdAuthenticationTokenArgs) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationTokenPtrOutput

type ServiceendpointArgocdAuthenticationTokenInput

type ServiceendpointArgocdAuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointArgocdAuthenticationTokenOutput() ServiceendpointArgocdAuthenticationTokenOutput
	ToServiceendpointArgocdAuthenticationTokenOutputWithContext(context.Context) ServiceendpointArgocdAuthenticationTokenOutput
}

ServiceendpointArgocdAuthenticationTokenInput is an input type that accepts ServiceendpointArgocdAuthenticationTokenArgs and ServiceendpointArgocdAuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointArgocdAuthenticationTokenInput` via:

ServiceendpointArgocdAuthenticationTokenArgs{...}

type ServiceendpointArgocdAuthenticationTokenOutput

type ServiceendpointArgocdAuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdAuthenticationTokenOutput) ElementType

func (ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenOutput

func (o ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenOutput() ServiceendpointArgocdAuthenticationTokenOutput

func (ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenOutputWithContext

func (o ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationTokenOutput

func (ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutput

func (o ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutput() ServiceendpointArgocdAuthenticationTokenPtrOutput

func (ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext

func (o ServiceendpointArgocdAuthenticationTokenOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationTokenPtrOutput

func (ServiceendpointArgocdAuthenticationTokenOutput) Token

Authentication Token generated through ArgoCD.

type ServiceendpointArgocdAuthenticationTokenPtrInput

type ServiceendpointArgocdAuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointArgocdAuthenticationTokenPtrOutput() ServiceendpointArgocdAuthenticationTokenPtrOutput
	ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointArgocdAuthenticationTokenPtrOutput
}

ServiceendpointArgocdAuthenticationTokenPtrInput is an input type that accepts ServiceendpointArgocdAuthenticationTokenArgs, ServiceendpointArgocdAuthenticationTokenPtr and ServiceendpointArgocdAuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointArgocdAuthenticationTokenPtrInput` via:

        ServiceendpointArgocdAuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointArgocdAuthenticationTokenPtrOutput

type ServiceendpointArgocdAuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdAuthenticationTokenPtrOutput) Elem

func (ServiceendpointArgocdAuthenticationTokenPtrOutput) ElementType

func (ServiceendpointArgocdAuthenticationTokenPtrOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutput

func (o ServiceendpointArgocdAuthenticationTokenPtrOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutput() ServiceendpointArgocdAuthenticationTokenPtrOutput

func (ServiceendpointArgocdAuthenticationTokenPtrOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext

func (o ServiceendpointArgocdAuthenticationTokenPtrOutput) ToServiceendpointArgocdAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointArgocdAuthenticationTokenPtrOutput

func (ServiceendpointArgocdAuthenticationTokenPtrOutput) Token

Authentication Token generated through ArgoCD.

type ServiceendpointArgocdInput

type ServiceendpointArgocdInput interface {
	pulumi.Input

	ToServiceendpointArgocdOutput() ServiceendpointArgocdOutput
	ToServiceendpointArgocdOutputWithContext(ctx context.Context) ServiceendpointArgocdOutput
}

type ServiceendpointArgocdMap

type ServiceendpointArgocdMap map[string]ServiceendpointArgocdInput

func (ServiceendpointArgocdMap) ElementType

func (ServiceendpointArgocdMap) ElementType() reflect.Type

func (ServiceendpointArgocdMap) ToServiceendpointArgocdMapOutput

func (i ServiceendpointArgocdMap) ToServiceendpointArgocdMapOutput() ServiceendpointArgocdMapOutput

func (ServiceendpointArgocdMap) ToServiceendpointArgocdMapOutputWithContext

func (i ServiceendpointArgocdMap) ToServiceendpointArgocdMapOutputWithContext(ctx context.Context) ServiceendpointArgocdMapOutput

type ServiceendpointArgocdMapInput

type ServiceendpointArgocdMapInput interface {
	pulumi.Input

	ToServiceendpointArgocdMapOutput() ServiceendpointArgocdMapOutput
	ToServiceendpointArgocdMapOutputWithContext(context.Context) ServiceendpointArgocdMapOutput
}

ServiceendpointArgocdMapInput is an input type that accepts ServiceendpointArgocdMap and ServiceendpointArgocdMapOutput values. You can construct a concrete instance of `ServiceendpointArgocdMapInput` via:

ServiceendpointArgocdMap{ "key": ServiceendpointArgocdArgs{...} }

type ServiceendpointArgocdMapOutput

type ServiceendpointArgocdMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdMapOutput) ElementType

func (ServiceendpointArgocdMapOutput) MapIndex

func (ServiceendpointArgocdMapOutput) ToServiceendpointArgocdMapOutput

func (o ServiceendpointArgocdMapOutput) ToServiceendpointArgocdMapOutput() ServiceendpointArgocdMapOutput

func (ServiceendpointArgocdMapOutput) ToServiceendpointArgocdMapOutputWithContext

func (o ServiceendpointArgocdMapOutput) ToServiceendpointArgocdMapOutputWithContext(ctx context.Context) ServiceendpointArgocdMapOutput

type ServiceendpointArgocdOutput

type ServiceendpointArgocdOutput struct{ *pulumi.OutputState }

func (ServiceendpointArgocdOutput) AuthenticationBasic

An `authenticationBasic` block for the ArgoCD as documented below.

> **NOTE:** `authenticationBasic` and `authenticationToken` conflict with each other, only one is required.

func (ServiceendpointArgocdOutput) AuthenticationToken

An `authenticationToken` block for the ArgoCD as documented below.

func (ServiceendpointArgocdOutput) Authorization

func (ServiceendpointArgocdOutput) Description

The Service Endpoint description.

func (ServiceendpointArgocdOutput) ElementType

func (ServiceendpointArgocdOutput) ProjectId

The ID of the project.

func (ServiceendpointArgocdOutput) ServiceEndpointName

func (o ServiceendpointArgocdOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointArgocdOutput) ToServiceendpointArgocdOutput

func (o ServiceendpointArgocdOutput) ToServiceendpointArgocdOutput() ServiceendpointArgocdOutput

func (ServiceendpointArgocdOutput) ToServiceendpointArgocdOutputWithContext

func (o ServiceendpointArgocdOutput) ToServiceendpointArgocdOutputWithContext(ctx context.Context) ServiceendpointArgocdOutput

func (ServiceendpointArgocdOutput) Url

URL of the ArgoCD server to connect with.

type ServiceendpointArgocdState

type ServiceendpointArgocdState struct {
	// An `authenticationBasic` block for the ArgoCD as documented below.
	//
	// > **NOTE:** `authenticationBasic` and `authenticationToken` conflict with each other, only one is required.
	AuthenticationBasic ServiceendpointArgocdAuthenticationBasicPtrInput
	// An `authenticationToken` block for the ArgoCD as documented below.
	AuthenticationToken ServiceendpointArgocdAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the ArgoCD server to connect with.
	Url pulumi.StringPtrInput
}

func (ServiceendpointArgocdState) ElementType

func (ServiceendpointArgocdState) ElementType() reflect.Type

type ServiceendpointExternaltfs

type ServiceendpointExternaltfs struct {
	pulumi.CustomResourceState

	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceendpointExternaltfsAuthPersonalOutput `pulumi:"authPersonal"`
	Authorization pulumi.StringMapOutput                       `pulumi:"authorization"`
	// URL of the Azure DevOps organization or the TFS Project Collection to connect to.
	ConnectionUrl pulumi.StringOutput    `pulumi:"connectionUrl"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
}

Manages an Azure Repos/Team Foundation Server service endpoint within Azure DevOps.

## Import

Azure DevOps Service Endpoint External TFS can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceendpointExternaltfs:ServiceendpointExternaltfs example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointExternaltfs

func GetServiceendpointExternaltfs(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointExternaltfsState, opts ...pulumi.ResourceOption) (*ServiceendpointExternaltfs, error)

GetServiceendpointExternaltfs gets an existing ServiceendpointExternaltfs 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 NewServiceendpointExternaltfs

func NewServiceendpointExternaltfs(ctx *pulumi.Context,
	name string, args *ServiceendpointExternaltfsArgs, opts ...pulumi.ResourceOption) (*ServiceendpointExternaltfs, error)

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

func (*ServiceendpointExternaltfs) ElementType

func (*ServiceendpointExternaltfs) ElementType() reflect.Type

func (*ServiceendpointExternaltfs) ToServiceendpointExternaltfsOutput

func (i *ServiceendpointExternaltfs) ToServiceendpointExternaltfsOutput() ServiceendpointExternaltfsOutput

func (*ServiceendpointExternaltfs) ToServiceendpointExternaltfsOutputWithContext

func (i *ServiceendpointExternaltfs) ToServiceendpointExternaltfsOutputWithContext(ctx context.Context) ServiceendpointExternaltfsOutput

type ServiceendpointExternaltfsArgs

type ServiceendpointExternaltfsArgs struct {
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceendpointExternaltfsAuthPersonalInput
	Authorization pulumi.StringMapInput
	// URL of the Azure DevOps organization or the TFS Project Collection to connect to.
	ConnectionUrl pulumi.StringInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointExternaltfs resource.

func (ServiceendpointExternaltfsArgs) ElementType

type ServiceendpointExternaltfsArray

type ServiceendpointExternaltfsArray []ServiceendpointExternaltfsInput

func (ServiceendpointExternaltfsArray) ElementType

func (ServiceendpointExternaltfsArray) ToServiceendpointExternaltfsArrayOutput

func (i ServiceendpointExternaltfsArray) ToServiceendpointExternaltfsArrayOutput() ServiceendpointExternaltfsArrayOutput

func (ServiceendpointExternaltfsArray) ToServiceendpointExternaltfsArrayOutputWithContext

func (i ServiceendpointExternaltfsArray) ToServiceendpointExternaltfsArrayOutputWithContext(ctx context.Context) ServiceendpointExternaltfsArrayOutput

type ServiceendpointExternaltfsArrayInput

type ServiceendpointExternaltfsArrayInput interface {
	pulumi.Input

	ToServiceendpointExternaltfsArrayOutput() ServiceendpointExternaltfsArrayOutput
	ToServiceendpointExternaltfsArrayOutputWithContext(context.Context) ServiceendpointExternaltfsArrayOutput
}

ServiceendpointExternaltfsArrayInput is an input type that accepts ServiceendpointExternaltfsArray and ServiceendpointExternaltfsArrayOutput values. You can construct a concrete instance of `ServiceendpointExternaltfsArrayInput` via:

ServiceendpointExternaltfsArray{ ServiceendpointExternaltfsArgs{...} }

type ServiceendpointExternaltfsArrayOutput

type ServiceendpointExternaltfsArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointExternaltfsArrayOutput) ElementType

func (ServiceendpointExternaltfsArrayOutput) Index

func (ServiceendpointExternaltfsArrayOutput) ToServiceendpointExternaltfsArrayOutput

func (o ServiceendpointExternaltfsArrayOutput) ToServiceendpointExternaltfsArrayOutput() ServiceendpointExternaltfsArrayOutput

func (ServiceendpointExternaltfsArrayOutput) ToServiceendpointExternaltfsArrayOutputWithContext

func (o ServiceendpointExternaltfsArrayOutput) ToServiceendpointExternaltfsArrayOutputWithContext(ctx context.Context) ServiceendpointExternaltfsArrayOutput

type ServiceendpointExternaltfsAuthPersonal

type ServiceendpointExternaltfsAuthPersonal struct {
	// The Personal Access Token for Azure DevOps Organization.
	PersonalAccessToken string `pulumi:"personalAccessToken"`
}

type ServiceendpointExternaltfsAuthPersonalArgs

type ServiceendpointExternaltfsAuthPersonalArgs struct {
	// The Personal Access Token for Azure DevOps Organization.
	PersonalAccessToken pulumi.StringInput `pulumi:"personalAccessToken"`
}

func (ServiceendpointExternaltfsAuthPersonalArgs) ElementType

func (ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalOutput

func (i ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalOutput() ServiceendpointExternaltfsAuthPersonalOutput

func (ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalOutputWithContext

func (i ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalOutputWithContext(ctx context.Context) ServiceendpointExternaltfsAuthPersonalOutput

func (ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalPtrOutput

func (i ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalPtrOutput() ServiceendpointExternaltfsAuthPersonalPtrOutput

func (ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext

func (i ServiceendpointExternaltfsAuthPersonalArgs) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceendpointExternaltfsAuthPersonalPtrOutput

type ServiceendpointExternaltfsAuthPersonalInput

type ServiceendpointExternaltfsAuthPersonalInput interface {
	pulumi.Input

	ToServiceendpointExternaltfsAuthPersonalOutput() ServiceendpointExternaltfsAuthPersonalOutput
	ToServiceendpointExternaltfsAuthPersonalOutputWithContext(context.Context) ServiceendpointExternaltfsAuthPersonalOutput
}

ServiceendpointExternaltfsAuthPersonalInput is an input type that accepts ServiceendpointExternaltfsAuthPersonalArgs and ServiceendpointExternaltfsAuthPersonalOutput values. You can construct a concrete instance of `ServiceendpointExternaltfsAuthPersonalInput` via:

ServiceendpointExternaltfsAuthPersonalArgs{...}

type ServiceendpointExternaltfsAuthPersonalOutput

type ServiceendpointExternaltfsAuthPersonalOutput struct{ *pulumi.OutputState }

func (ServiceendpointExternaltfsAuthPersonalOutput) ElementType

func (ServiceendpointExternaltfsAuthPersonalOutput) PersonalAccessToken

The Personal Access Token for Azure DevOps Organization.

func (ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalOutput

func (o ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalOutput() ServiceendpointExternaltfsAuthPersonalOutput

func (ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalOutputWithContext

func (o ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalOutputWithContext(ctx context.Context) ServiceendpointExternaltfsAuthPersonalOutput

func (ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutput

func (o ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutput() ServiceendpointExternaltfsAuthPersonalPtrOutput

func (ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext

func (o ServiceendpointExternaltfsAuthPersonalOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceendpointExternaltfsAuthPersonalPtrOutput

type ServiceendpointExternaltfsAuthPersonalPtrInput

type ServiceendpointExternaltfsAuthPersonalPtrInput interface {
	pulumi.Input

	ToServiceendpointExternaltfsAuthPersonalPtrOutput() ServiceendpointExternaltfsAuthPersonalPtrOutput
	ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext(context.Context) ServiceendpointExternaltfsAuthPersonalPtrOutput
}

ServiceendpointExternaltfsAuthPersonalPtrInput is an input type that accepts ServiceendpointExternaltfsAuthPersonalArgs, ServiceendpointExternaltfsAuthPersonalPtr and ServiceendpointExternaltfsAuthPersonalPtrOutput values. You can construct a concrete instance of `ServiceendpointExternaltfsAuthPersonalPtrInput` via:

        ServiceendpointExternaltfsAuthPersonalArgs{...}

or:

        nil

type ServiceendpointExternaltfsAuthPersonalPtrOutput

type ServiceendpointExternaltfsAuthPersonalPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointExternaltfsAuthPersonalPtrOutput) Elem

func (ServiceendpointExternaltfsAuthPersonalPtrOutput) ElementType

func (ServiceendpointExternaltfsAuthPersonalPtrOutput) PersonalAccessToken

The Personal Access Token for Azure DevOps Organization.

func (ServiceendpointExternaltfsAuthPersonalPtrOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutput

func (o ServiceendpointExternaltfsAuthPersonalPtrOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutput() ServiceendpointExternaltfsAuthPersonalPtrOutput

func (ServiceendpointExternaltfsAuthPersonalPtrOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext

func (o ServiceendpointExternaltfsAuthPersonalPtrOutput) ToServiceendpointExternaltfsAuthPersonalPtrOutputWithContext(ctx context.Context) ServiceendpointExternaltfsAuthPersonalPtrOutput

type ServiceendpointExternaltfsInput

type ServiceendpointExternaltfsInput interface {
	pulumi.Input

	ToServiceendpointExternaltfsOutput() ServiceendpointExternaltfsOutput
	ToServiceendpointExternaltfsOutputWithContext(ctx context.Context) ServiceendpointExternaltfsOutput
}

type ServiceendpointExternaltfsMap

type ServiceendpointExternaltfsMap map[string]ServiceendpointExternaltfsInput

func (ServiceendpointExternaltfsMap) ElementType

func (ServiceendpointExternaltfsMap) ToServiceendpointExternaltfsMapOutput

func (i ServiceendpointExternaltfsMap) ToServiceendpointExternaltfsMapOutput() ServiceendpointExternaltfsMapOutput

func (ServiceendpointExternaltfsMap) ToServiceendpointExternaltfsMapOutputWithContext

func (i ServiceendpointExternaltfsMap) ToServiceendpointExternaltfsMapOutputWithContext(ctx context.Context) ServiceendpointExternaltfsMapOutput

type ServiceendpointExternaltfsMapInput

type ServiceendpointExternaltfsMapInput interface {
	pulumi.Input

	ToServiceendpointExternaltfsMapOutput() ServiceendpointExternaltfsMapOutput
	ToServiceendpointExternaltfsMapOutputWithContext(context.Context) ServiceendpointExternaltfsMapOutput
}

ServiceendpointExternaltfsMapInput is an input type that accepts ServiceendpointExternaltfsMap and ServiceendpointExternaltfsMapOutput values. You can construct a concrete instance of `ServiceendpointExternaltfsMapInput` via:

ServiceendpointExternaltfsMap{ "key": ServiceendpointExternaltfsArgs{...} }

type ServiceendpointExternaltfsMapOutput

type ServiceendpointExternaltfsMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointExternaltfsMapOutput) ElementType

func (ServiceendpointExternaltfsMapOutput) MapIndex

func (ServiceendpointExternaltfsMapOutput) ToServiceendpointExternaltfsMapOutput

func (o ServiceendpointExternaltfsMapOutput) ToServiceendpointExternaltfsMapOutput() ServiceendpointExternaltfsMapOutput

func (ServiceendpointExternaltfsMapOutput) ToServiceendpointExternaltfsMapOutputWithContext

func (o ServiceendpointExternaltfsMapOutput) ToServiceendpointExternaltfsMapOutputWithContext(ctx context.Context) ServiceendpointExternaltfsMapOutput

type ServiceendpointExternaltfsOutput

type ServiceendpointExternaltfsOutput struct{ *pulumi.OutputState }

func (ServiceendpointExternaltfsOutput) AuthPersonal

An `authPersonal` block as documented below. Allows connecting using a personal access token.

func (ServiceendpointExternaltfsOutput) Authorization

func (ServiceendpointExternaltfsOutput) ConnectionUrl

URL of the Azure DevOps organization or the TFS Project Collection to connect to.

func (ServiceendpointExternaltfsOutput) Description

func (ServiceendpointExternaltfsOutput) ElementType

func (ServiceendpointExternaltfsOutput) ProjectId

The ID of the project.

func (ServiceendpointExternaltfsOutput) ServiceEndpointName

func (o ServiceendpointExternaltfsOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointExternaltfsOutput) ToServiceendpointExternaltfsOutput

func (o ServiceendpointExternaltfsOutput) ToServiceendpointExternaltfsOutput() ServiceendpointExternaltfsOutput

func (ServiceendpointExternaltfsOutput) ToServiceendpointExternaltfsOutputWithContext

func (o ServiceendpointExternaltfsOutput) ToServiceendpointExternaltfsOutputWithContext(ctx context.Context) ServiceendpointExternaltfsOutput

type ServiceendpointExternaltfsState

type ServiceendpointExternaltfsState struct {
	// An `authPersonal` block as documented below. Allows connecting using a personal access token.
	AuthPersonal  ServiceendpointExternaltfsAuthPersonalPtrInput
	Authorization pulumi.StringMapInput
	// URL of the Azure DevOps organization or the TFS Project Collection to connect to.
	ConnectionUrl pulumi.StringPtrInput
	Description   pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
}

func (ServiceendpointExternaltfsState) ElementType

type ServiceendpointGcpTerraform

type ServiceendpointGcpTerraform struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	// The client email field in the JSON key file for creating the JSON Web Token.
	ClientEmail pulumi.StringPtrOutput `pulumi:"clientEmail"`
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// GCP project associated with the Service Connection.
	GcpProjectId pulumi.StringOutput `pulumi:"gcpProjectId"`
	// The client email field in the JSON key file for creating the JSON Web Token.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Scope to be provided.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The token uri field in the JSON key file for creating the JSON Web Token.
	TokenUri pulumi.StringOutput `pulumi:"tokenUri"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointGcpTerraform(ctx, "exampleServiceendpointGcpTerraform", &azuredevops.ServiceendpointGcpTerraformArgs{
			ProjectId:           exampleProject.ID(),
			TokenUri:            pulumi.String("https://oauth2.example.com/token"),
			ClientEmail:         pulumi.String("gcp-sa-example@example.iam.gserviceaccount.com"),
			PrivateKey:          pulumi.String("0000000000000000000000000000000000000"),
			ServiceEndpointName: pulumi.String("Example GCP Terraform extension"),
			GcpProjectId:        pulumi.String("Example GCP Project"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.1 - Service Endpoints](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.1)

## Import

Azure DevOps Service Endpoint GCP can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceendpointGcpTerraform:ServiceendpointGcpTerraform azuredevops_serviceendpoint_gcp_terraform.example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointGcpTerraform

func GetServiceendpointGcpTerraform(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointGcpTerraformState, opts ...pulumi.ResourceOption) (*ServiceendpointGcpTerraform, error)

GetServiceendpointGcpTerraform gets an existing ServiceendpointGcpTerraform 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 NewServiceendpointGcpTerraform

func NewServiceendpointGcpTerraform(ctx *pulumi.Context,
	name string, args *ServiceendpointGcpTerraformArgs, opts ...pulumi.ResourceOption) (*ServiceendpointGcpTerraform, error)

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

func (*ServiceendpointGcpTerraform) ElementType

func (*ServiceendpointGcpTerraform) ElementType() reflect.Type

func (*ServiceendpointGcpTerraform) ToServiceendpointGcpTerraformOutput

func (i *ServiceendpointGcpTerraform) ToServiceendpointGcpTerraformOutput() ServiceendpointGcpTerraformOutput

func (*ServiceendpointGcpTerraform) ToServiceendpointGcpTerraformOutputWithContext

func (i *ServiceendpointGcpTerraform) ToServiceendpointGcpTerraformOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformOutput

type ServiceendpointGcpTerraformArgs

type ServiceendpointGcpTerraformArgs struct {
	Authorization pulumi.StringMapInput
	// The client email field in the JSON key file for creating the JSON Web Token.
	ClientEmail pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// GCP project associated with the Service Connection.
	GcpProjectId pulumi.StringInput
	// The client email field in the JSON key file for creating the JSON Web Token.
	PrivateKey pulumi.StringInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// Scope to be provided.
	Scope pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// The token uri field in the JSON key file for creating the JSON Web Token.
	TokenUri pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointGcpTerraform resource.

func (ServiceendpointGcpTerraformArgs) ElementType

type ServiceendpointGcpTerraformArray

type ServiceendpointGcpTerraformArray []ServiceendpointGcpTerraformInput

func (ServiceendpointGcpTerraformArray) ElementType

func (ServiceendpointGcpTerraformArray) ToServiceendpointGcpTerraformArrayOutput

func (i ServiceendpointGcpTerraformArray) ToServiceendpointGcpTerraformArrayOutput() ServiceendpointGcpTerraformArrayOutput

func (ServiceendpointGcpTerraformArray) ToServiceendpointGcpTerraformArrayOutputWithContext

func (i ServiceendpointGcpTerraformArray) ToServiceendpointGcpTerraformArrayOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformArrayOutput

type ServiceendpointGcpTerraformArrayInput

type ServiceendpointGcpTerraformArrayInput interface {
	pulumi.Input

	ToServiceendpointGcpTerraformArrayOutput() ServiceendpointGcpTerraformArrayOutput
	ToServiceendpointGcpTerraformArrayOutputWithContext(context.Context) ServiceendpointGcpTerraformArrayOutput
}

ServiceendpointGcpTerraformArrayInput is an input type that accepts ServiceendpointGcpTerraformArray and ServiceendpointGcpTerraformArrayOutput values. You can construct a concrete instance of `ServiceendpointGcpTerraformArrayInput` via:

ServiceendpointGcpTerraformArray{ ServiceendpointGcpTerraformArgs{...} }

type ServiceendpointGcpTerraformArrayOutput

type ServiceendpointGcpTerraformArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointGcpTerraformArrayOutput) ElementType

func (ServiceendpointGcpTerraformArrayOutput) Index

func (ServiceendpointGcpTerraformArrayOutput) ToServiceendpointGcpTerraformArrayOutput

func (o ServiceendpointGcpTerraformArrayOutput) ToServiceendpointGcpTerraformArrayOutput() ServiceendpointGcpTerraformArrayOutput

func (ServiceendpointGcpTerraformArrayOutput) ToServiceendpointGcpTerraformArrayOutputWithContext

func (o ServiceendpointGcpTerraformArrayOutput) ToServiceendpointGcpTerraformArrayOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformArrayOutput

type ServiceendpointGcpTerraformInput

type ServiceendpointGcpTerraformInput interface {
	pulumi.Input

	ToServiceendpointGcpTerraformOutput() ServiceendpointGcpTerraformOutput
	ToServiceendpointGcpTerraformOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformOutput
}

type ServiceendpointGcpTerraformMap

type ServiceendpointGcpTerraformMap map[string]ServiceendpointGcpTerraformInput

func (ServiceendpointGcpTerraformMap) ElementType

func (ServiceendpointGcpTerraformMap) ToServiceendpointGcpTerraformMapOutput

func (i ServiceendpointGcpTerraformMap) ToServiceendpointGcpTerraformMapOutput() ServiceendpointGcpTerraformMapOutput

func (ServiceendpointGcpTerraformMap) ToServiceendpointGcpTerraformMapOutputWithContext

func (i ServiceendpointGcpTerraformMap) ToServiceendpointGcpTerraformMapOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformMapOutput

type ServiceendpointGcpTerraformMapInput

type ServiceendpointGcpTerraformMapInput interface {
	pulumi.Input

	ToServiceendpointGcpTerraformMapOutput() ServiceendpointGcpTerraformMapOutput
	ToServiceendpointGcpTerraformMapOutputWithContext(context.Context) ServiceendpointGcpTerraformMapOutput
}

ServiceendpointGcpTerraformMapInput is an input type that accepts ServiceendpointGcpTerraformMap and ServiceendpointGcpTerraformMapOutput values. You can construct a concrete instance of `ServiceendpointGcpTerraformMapInput` via:

ServiceendpointGcpTerraformMap{ "key": ServiceendpointGcpTerraformArgs{...} }

type ServiceendpointGcpTerraformMapOutput

type ServiceendpointGcpTerraformMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointGcpTerraformMapOutput) ElementType

func (ServiceendpointGcpTerraformMapOutput) MapIndex

func (ServiceendpointGcpTerraformMapOutput) ToServiceendpointGcpTerraformMapOutput

func (o ServiceendpointGcpTerraformMapOutput) ToServiceendpointGcpTerraformMapOutput() ServiceendpointGcpTerraformMapOutput

func (ServiceendpointGcpTerraformMapOutput) ToServiceendpointGcpTerraformMapOutputWithContext

func (o ServiceendpointGcpTerraformMapOutput) ToServiceendpointGcpTerraformMapOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformMapOutput

type ServiceendpointGcpTerraformOutput

type ServiceendpointGcpTerraformOutput struct{ *pulumi.OutputState }

func (ServiceendpointGcpTerraformOutput) Authorization

func (ServiceendpointGcpTerraformOutput) ClientEmail

The client email field in the JSON key file for creating the JSON Web Token.

func (ServiceendpointGcpTerraformOutput) Description

func (ServiceendpointGcpTerraformOutput) ElementType

func (ServiceendpointGcpTerraformOutput) GcpProjectId

GCP project associated with the Service Connection.

func (ServiceendpointGcpTerraformOutput) PrivateKey

The client email field in the JSON key file for creating the JSON Web Token.

func (ServiceendpointGcpTerraformOutput) ProjectId

The ID of the project.

func (ServiceendpointGcpTerraformOutput) Scope

Scope to be provided.

func (ServiceendpointGcpTerraformOutput) ServiceEndpointName

func (o ServiceendpointGcpTerraformOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointGcpTerraformOutput) ToServiceendpointGcpTerraformOutput

func (o ServiceendpointGcpTerraformOutput) ToServiceendpointGcpTerraformOutput() ServiceendpointGcpTerraformOutput

func (ServiceendpointGcpTerraformOutput) ToServiceendpointGcpTerraformOutputWithContext

func (o ServiceendpointGcpTerraformOutput) ToServiceendpointGcpTerraformOutputWithContext(ctx context.Context) ServiceendpointGcpTerraformOutput

func (ServiceendpointGcpTerraformOutput) TokenUri

The token uri field in the JSON key file for creating the JSON Web Token.

type ServiceendpointGcpTerraformState

type ServiceendpointGcpTerraformState struct {
	Authorization pulumi.StringMapInput
	// The client email field in the JSON key file for creating the JSON Web Token.
	ClientEmail pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	// GCP project associated with the Service Connection.
	GcpProjectId pulumi.StringPtrInput
	// The client email field in the JSON key file for creating the JSON Web Token.
	PrivateKey pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// Scope to be provided.
	Scope pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// The token uri field in the JSON key file for creating the JSON Web Token.
	TokenUri pulumi.StringPtrInput
}

func (ServiceendpointGcpTerraformState) ElementType

type ServiceendpointIncomingwebhook

type ServiceendpointIncomingwebhook struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// Http header name on which checksum will be sent.
	HttpHeader pulumi.StringPtrOutput `pulumi:"httpHeader"`
	// The ID of the project. Changing this forces a new Service Connection Incoming WebHook to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Secret for the WebHook. WebHook service will use this secret to calculate the payload checksum.
	Secret pulumi.StringPtrOutput `pulumi:"secret"`
	// The name of the service endpoint. Changing this forces a new Service Connection Incoming WebHook to be created.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The name of the WebHook.
	WebhookName pulumi.StringOutput `pulumi:"webhookName"`
}

Manages an Incoming WebHook service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to subscribe to a webhook event.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointIncomingwebhook(ctx, "exampleServiceendpointIncomingwebhook", &azuredevops.ServiceendpointIncomingwebhookArgs{
			ProjectId:           exampleProject.ID(),
			WebhookName:         pulumi.String("example_webhook"),
			Secret:              pulumi.String("secret"),
			HttpHeader:          pulumi.String("X-Hub-Signature"),
			ServiceEndpointName: pulumi.String("Example IncomingWebhook"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Azure DevOps Service Endpoint Incoming WebHook can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceendpointIncomingwebhook:ServiceendpointIncomingwebhook example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointIncomingwebhook

func GetServiceendpointIncomingwebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointIncomingwebhookState, opts ...pulumi.ResourceOption) (*ServiceendpointIncomingwebhook, error)

GetServiceendpointIncomingwebhook gets an existing ServiceendpointIncomingwebhook 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 NewServiceendpointIncomingwebhook

func NewServiceendpointIncomingwebhook(ctx *pulumi.Context,
	name string, args *ServiceendpointIncomingwebhookArgs, opts ...pulumi.ResourceOption) (*ServiceendpointIncomingwebhook, error)

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

func (*ServiceendpointIncomingwebhook) ElementType

func (*ServiceendpointIncomingwebhook) ToServiceendpointIncomingwebhookOutput

func (i *ServiceendpointIncomingwebhook) ToServiceendpointIncomingwebhookOutput() ServiceendpointIncomingwebhookOutput

func (*ServiceendpointIncomingwebhook) ToServiceendpointIncomingwebhookOutputWithContext

func (i *ServiceendpointIncomingwebhook) ToServiceendpointIncomingwebhookOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookOutput

type ServiceendpointIncomingwebhookArgs

type ServiceendpointIncomingwebhookArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Http header name on which checksum will be sent.
	HttpHeader pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Incoming WebHook to be created.
	ProjectId pulumi.StringInput
	// Secret for the WebHook. WebHook service will use this secret to calculate the payload checksum.
	Secret pulumi.StringPtrInput
	// The name of the service endpoint. Changing this forces a new Service Connection Incoming WebHook to be created.
	ServiceEndpointName pulumi.StringInput
	// The name of the WebHook.
	WebhookName pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointIncomingwebhook resource.

func (ServiceendpointIncomingwebhookArgs) ElementType

type ServiceendpointIncomingwebhookArray

type ServiceendpointIncomingwebhookArray []ServiceendpointIncomingwebhookInput

func (ServiceendpointIncomingwebhookArray) ElementType

func (ServiceendpointIncomingwebhookArray) ToServiceendpointIncomingwebhookArrayOutput

func (i ServiceendpointIncomingwebhookArray) ToServiceendpointIncomingwebhookArrayOutput() ServiceendpointIncomingwebhookArrayOutput

func (ServiceendpointIncomingwebhookArray) ToServiceendpointIncomingwebhookArrayOutputWithContext

func (i ServiceendpointIncomingwebhookArray) ToServiceendpointIncomingwebhookArrayOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookArrayOutput

type ServiceendpointIncomingwebhookArrayInput

type ServiceendpointIncomingwebhookArrayInput interface {
	pulumi.Input

	ToServiceendpointIncomingwebhookArrayOutput() ServiceendpointIncomingwebhookArrayOutput
	ToServiceendpointIncomingwebhookArrayOutputWithContext(context.Context) ServiceendpointIncomingwebhookArrayOutput
}

ServiceendpointIncomingwebhookArrayInput is an input type that accepts ServiceendpointIncomingwebhookArray and ServiceendpointIncomingwebhookArrayOutput values. You can construct a concrete instance of `ServiceendpointIncomingwebhookArrayInput` via:

ServiceendpointIncomingwebhookArray{ ServiceendpointIncomingwebhookArgs{...} }

type ServiceendpointIncomingwebhookArrayOutput

type ServiceendpointIncomingwebhookArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointIncomingwebhookArrayOutput) ElementType

func (ServiceendpointIncomingwebhookArrayOutput) Index

func (ServiceendpointIncomingwebhookArrayOutput) ToServiceendpointIncomingwebhookArrayOutput

func (o ServiceendpointIncomingwebhookArrayOutput) ToServiceendpointIncomingwebhookArrayOutput() ServiceendpointIncomingwebhookArrayOutput

func (ServiceendpointIncomingwebhookArrayOutput) ToServiceendpointIncomingwebhookArrayOutputWithContext

func (o ServiceendpointIncomingwebhookArrayOutput) ToServiceendpointIncomingwebhookArrayOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookArrayOutput

type ServiceendpointIncomingwebhookInput

type ServiceendpointIncomingwebhookInput interface {
	pulumi.Input

	ToServiceendpointIncomingwebhookOutput() ServiceendpointIncomingwebhookOutput
	ToServiceendpointIncomingwebhookOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookOutput
}

type ServiceendpointIncomingwebhookMap

type ServiceendpointIncomingwebhookMap map[string]ServiceendpointIncomingwebhookInput

func (ServiceendpointIncomingwebhookMap) ElementType

func (ServiceendpointIncomingwebhookMap) ToServiceendpointIncomingwebhookMapOutput

func (i ServiceendpointIncomingwebhookMap) ToServiceendpointIncomingwebhookMapOutput() ServiceendpointIncomingwebhookMapOutput

func (ServiceendpointIncomingwebhookMap) ToServiceendpointIncomingwebhookMapOutputWithContext

func (i ServiceendpointIncomingwebhookMap) ToServiceendpointIncomingwebhookMapOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookMapOutput

type ServiceendpointIncomingwebhookMapInput

type ServiceendpointIncomingwebhookMapInput interface {
	pulumi.Input

	ToServiceendpointIncomingwebhookMapOutput() ServiceendpointIncomingwebhookMapOutput
	ToServiceendpointIncomingwebhookMapOutputWithContext(context.Context) ServiceendpointIncomingwebhookMapOutput
}

ServiceendpointIncomingwebhookMapInput is an input type that accepts ServiceendpointIncomingwebhookMap and ServiceendpointIncomingwebhookMapOutput values. You can construct a concrete instance of `ServiceendpointIncomingwebhookMapInput` via:

ServiceendpointIncomingwebhookMap{ "key": ServiceendpointIncomingwebhookArgs{...} }

type ServiceendpointIncomingwebhookMapOutput

type ServiceendpointIncomingwebhookMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointIncomingwebhookMapOutput) ElementType

func (ServiceendpointIncomingwebhookMapOutput) MapIndex

func (ServiceendpointIncomingwebhookMapOutput) ToServiceendpointIncomingwebhookMapOutput

func (o ServiceendpointIncomingwebhookMapOutput) ToServiceendpointIncomingwebhookMapOutput() ServiceendpointIncomingwebhookMapOutput

func (ServiceendpointIncomingwebhookMapOutput) ToServiceendpointIncomingwebhookMapOutputWithContext

func (o ServiceendpointIncomingwebhookMapOutput) ToServiceendpointIncomingwebhookMapOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookMapOutput

type ServiceendpointIncomingwebhookOutput

type ServiceendpointIncomingwebhookOutput struct{ *pulumi.OutputState }

func (ServiceendpointIncomingwebhookOutput) Authorization

func (ServiceendpointIncomingwebhookOutput) Description

func (ServiceendpointIncomingwebhookOutput) ElementType

func (ServiceendpointIncomingwebhookOutput) HttpHeader

Http header name on which checksum will be sent.

func (ServiceendpointIncomingwebhookOutput) ProjectId

The ID of the project. Changing this forces a new Service Connection Incoming WebHook to be created.

func (ServiceendpointIncomingwebhookOutput) Secret

Secret for the WebHook. WebHook service will use this secret to calculate the payload checksum.

func (ServiceendpointIncomingwebhookOutput) ServiceEndpointName

The name of the service endpoint. Changing this forces a new Service Connection Incoming WebHook to be created.

func (ServiceendpointIncomingwebhookOutput) ToServiceendpointIncomingwebhookOutput

func (o ServiceendpointIncomingwebhookOutput) ToServiceendpointIncomingwebhookOutput() ServiceendpointIncomingwebhookOutput

func (ServiceendpointIncomingwebhookOutput) ToServiceendpointIncomingwebhookOutputWithContext

func (o ServiceendpointIncomingwebhookOutput) ToServiceendpointIncomingwebhookOutputWithContext(ctx context.Context) ServiceendpointIncomingwebhookOutput

func (ServiceendpointIncomingwebhookOutput) WebhookName

The name of the WebHook.

type ServiceendpointIncomingwebhookState

type ServiceendpointIncomingwebhookState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Http header name on which checksum will be sent.
	HttpHeader pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Incoming WebHook to be created.
	ProjectId pulumi.StringPtrInput
	// Secret for the WebHook. WebHook service will use this secret to calculate the payload checksum.
	Secret pulumi.StringPtrInput
	// The name of the service endpoint. Changing this forces a new Service Connection Incoming WebHook to be created.
	ServiceEndpointName pulumi.StringPtrInput
	// The name of the WebHook.
	WebhookName pulumi.StringPtrInput
}

func (ServiceendpointIncomingwebhookState) ElementType

type ServiceendpointJenkins

type ServiceendpointJenkins struct {
	pulumi.CustomResourceState

	// Allows the Jenkins clients to accept self-signed SSL server certificates. Defaults to `false.`
	AcceptUntrustedCerts pulumi.BoolPtrOutput   `pulumi:"acceptUntrustedCerts"`
	Authorization        pulumi.StringMapOutput `pulumi:"authorization"`
	Description          pulumi.StringPtrOutput `pulumi:"description"`
	// The Service Endpoint password to authenticate at the Jenkins Instance.
	Password pulumi.StringOutput `pulumi:"password"`
	// The ID of the project. Changing this forces a new Service Connection Jenkins to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The name of the service endpoint. Changing this forces a new Service Connection Jenkins to be created.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The Service Endpoint url.
	Url pulumi.StringOutput `pulumi:"url"`
	// The Service Endpoint username to authenticate at the Jenkins Instance.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Jenkins service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Jenkins instance.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJenkins(ctx, "exampleServiceendpointJenkins", &azuredevops.ServiceendpointJenkinsArgs{
			ProjectId:            exampleProject.ID(),
			ServiceEndpointName:  pulumi.String("jenkins-example"),
			Description:          pulumi.String("Service Endpoint for 'Jenkins' (Managed by Terraform)"),
			Url:                  pulumi.String("https://example.com"),
			AcceptUntrustedCerts: pulumi.Bool(false),
			Username:             pulumi.String("username"),
			Password:             pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Service Connection Jenkins can be imported using the `projectId/id` or or `projectName/id`, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointJenkins:ServiceendpointJenkins example projectName/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointJenkins

func GetServiceendpointJenkins(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointJenkinsState, opts ...pulumi.ResourceOption) (*ServiceendpointJenkins, error)

GetServiceendpointJenkins gets an existing ServiceendpointJenkins 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 NewServiceendpointJenkins

func NewServiceendpointJenkins(ctx *pulumi.Context,
	name string, args *ServiceendpointJenkinsArgs, opts ...pulumi.ResourceOption) (*ServiceendpointJenkins, error)

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

func (*ServiceendpointJenkins) ElementType

func (*ServiceendpointJenkins) ElementType() reflect.Type

func (*ServiceendpointJenkins) ToServiceendpointJenkinsOutput

func (i *ServiceendpointJenkins) ToServiceendpointJenkinsOutput() ServiceendpointJenkinsOutput

func (*ServiceendpointJenkins) ToServiceendpointJenkinsOutputWithContext

func (i *ServiceendpointJenkins) ToServiceendpointJenkinsOutputWithContext(ctx context.Context) ServiceendpointJenkinsOutput

type ServiceendpointJenkinsArgs

type ServiceendpointJenkinsArgs struct {
	// Allows the Jenkins clients to accept self-signed SSL server certificates. Defaults to `false.`
	AcceptUntrustedCerts pulumi.BoolPtrInput
	Authorization        pulumi.StringMapInput
	Description          pulumi.StringPtrInput
	// The Service Endpoint password to authenticate at the Jenkins Instance.
	Password pulumi.StringInput
	// The ID of the project. Changing this forces a new Service Connection Jenkins to be created.
	ProjectId pulumi.StringInput
	// The name of the service endpoint. Changing this forces a new Service Connection Jenkins to be created.
	ServiceEndpointName pulumi.StringInput
	// The Service Endpoint url.
	Url pulumi.StringInput
	// The Service Endpoint username to authenticate at the Jenkins Instance.
	Username pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointJenkins resource.

func (ServiceendpointJenkinsArgs) ElementType

func (ServiceendpointJenkinsArgs) ElementType() reflect.Type

type ServiceendpointJenkinsArray

type ServiceendpointJenkinsArray []ServiceendpointJenkinsInput

func (ServiceendpointJenkinsArray) ElementType

func (ServiceendpointJenkinsArray) ToServiceendpointJenkinsArrayOutput

func (i ServiceendpointJenkinsArray) ToServiceendpointJenkinsArrayOutput() ServiceendpointJenkinsArrayOutput

func (ServiceendpointJenkinsArray) ToServiceendpointJenkinsArrayOutputWithContext

func (i ServiceendpointJenkinsArray) ToServiceendpointJenkinsArrayOutputWithContext(ctx context.Context) ServiceendpointJenkinsArrayOutput

type ServiceendpointJenkinsArrayInput

type ServiceendpointJenkinsArrayInput interface {
	pulumi.Input

	ToServiceendpointJenkinsArrayOutput() ServiceendpointJenkinsArrayOutput
	ToServiceendpointJenkinsArrayOutputWithContext(context.Context) ServiceendpointJenkinsArrayOutput
}

ServiceendpointJenkinsArrayInput is an input type that accepts ServiceendpointJenkinsArray and ServiceendpointJenkinsArrayOutput values. You can construct a concrete instance of `ServiceendpointJenkinsArrayInput` via:

ServiceendpointJenkinsArray{ ServiceendpointJenkinsArgs{...} }

type ServiceendpointJenkinsArrayOutput

type ServiceendpointJenkinsArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointJenkinsArrayOutput) ElementType

func (ServiceendpointJenkinsArrayOutput) Index

func (ServiceendpointJenkinsArrayOutput) ToServiceendpointJenkinsArrayOutput

func (o ServiceendpointJenkinsArrayOutput) ToServiceendpointJenkinsArrayOutput() ServiceendpointJenkinsArrayOutput

func (ServiceendpointJenkinsArrayOutput) ToServiceendpointJenkinsArrayOutputWithContext

func (o ServiceendpointJenkinsArrayOutput) ToServiceendpointJenkinsArrayOutputWithContext(ctx context.Context) ServiceendpointJenkinsArrayOutput

type ServiceendpointJenkinsInput

type ServiceendpointJenkinsInput interface {
	pulumi.Input

	ToServiceendpointJenkinsOutput() ServiceendpointJenkinsOutput
	ToServiceendpointJenkinsOutputWithContext(ctx context.Context) ServiceendpointJenkinsOutput
}

type ServiceendpointJenkinsMap

type ServiceendpointJenkinsMap map[string]ServiceendpointJenkinsInput

func (ServiceendpointJenkinsMap) ElementType

func (ServiceendpointJenkinsMap) ElementType() reflect.Type

func (ServiceendpointJenkinsMap) ToServiceendpointJenkinsMapOutput

func (i ServiceendpointJenkinsMap) ToServiceendpointJenkinsMapOutput() ServiceendpointJenkinsMapOutput

func (ServiceendpointJenkinsMap) ToServiceendpointJenkinsMapOutputWithContext

func (i ServiceendpointJenkinsMap) ToServiceendpointJenkinsMapOutputWithContext(ctx context.Context) ServiceendpointJenkinsMapOutput

type ServiceendpointJenkinsMapInput

type ServiceendpointJenkinsMapInput interface {
	pulumi.Input

	ToServiceendpointJenkinsMapOutput() ServiceendpointJenkinsMapOutput
	ToServiceendpointJenkinsMapOutputWithContext(context.Context) ServiceendpointJenkinsMapOutput
}

ServiceendpointJenkinsMapInput is an input type that accepts ServiceendpointJenkinsMap and ServiceendpointJenkinsMapOutput values. You can construct a concrete instance of `ServiceendpointJenkinsMapInput` via:

ServiceendpointJenkinsMap{ "key": ServiceendpointJenkinsArgs{...} }

type ServiceendpointJenkinsMapOutput

type ServiceendpointJenkinsMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointJenkinsMapOutput) ElementType

func (ServiceendpointJenkinsMapOutput) MapIndex

func (ServiceendpointJenkinsMapOutput) ToServiceendpointJenkinsMapOutput

func (o ServiceendpointJenkinsMapOutput) ToServiceendpointJenkinsMapOutput() ServiceendpointJenkinsMapOutput

func (ServiceendpointJenkinsMapOutput) ToServiceendpointJenkinsMapOutputWithContext

func (o ServiceendpointJenkinsMapOutput) ToServiceendpointJenkinsMapOutputWithContext(ctx context.Context) ServiceendpointJenkinsMapOutput

type ServiceendpointJenkinsOutput

type ServiceendpointJenkinsOutput struct{ *pulumi.OutputState }

func (ServiceendpointJenkinsOutput) AcceptUntrustedCerts

func (o ServiceendpointJenkinsOutput) AcceptUntrustedCerts() pulumi.BoolPtrOutput

Allows the Jenkins clients to accept self-signed SSL server certificates. Defaults to `false.`

func (ServiceendpointJenkinsOutput) Authorization

func (ServiceendpointJenkinsOutput) Description

func (ServiceendpointJenkinsOutput) ElementType

func (ServiceendpointJenkinsOutput) Password

The Service Endpoint password to authenticate at the Jenkins Instance.

func (ServiceendpointJenkinsOutput) ProjectId

The ID of the project. Changing this forces a new Service Connection Jenkins to be created.

func (ServiceendpointJenkinsOutput) ServiceEndpointName

func (o ServiceendpointJenkinsOutput) ServiceEndpointName() pulumi.StringOutput

The name of the service endpoint. Changing this forces a new Service Connection Jenkins to be created.

func (ServiceendpointJenkinsOutput) ToServiceendpointJenkinsOutput

func (o ServiceendpointJenkinsOutput) ToServiceendpointJenkinsOutput() ServiceendpointJenkinsOutput

func (ServiceendpointJenkinsOutput) ToServiceendpointJenkinsOutputWithContext

func (o ServiceendpointJenkinsOutput) ToServiceendpointJenkinsOutputWithContext(ctx context.Context) ServiceendpointJenkinsOutput

func (ServiceendpointJenkinsOutput) Url

The Service Endpoint url.

func (ServiceendpointJenkinsOutput) Username

The Service Endpoint username to authenticate at the Jenkins Instance.

type ServiceendpointJenkinsState

type ServiceendpointJenkinsState struct {
	// Allows the Jenkins clients to accept self-signed SSL server certificates. Defaults to `false.`
	AcceptUntrustedCerts pulumi.BoolPtrInput
	Authorization        pulumi.StringMapInput
	Description          pulumi.StringPtrInput
	// The Service Endpoint password to authenticate at the Jenkins Instance.
	Password pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Jenkins to be created.
	ProjectId pulumi.StringPtrInput
	// The name of the service endpoint. Changing this forces a new Service Connection Jenkins to be created.
	ServiceEndpointName pulumi.StringPtrInput
	// The Service Endpoint url.
	Url pulumi.StringPtrInput
	// The Service Endpoint username to authenticate at the Jenkins Instance.
	Username pulumi.StringPtrInput
}

func (ServiceendpointJenkinsState) ElementType

type ServiceendpointJfrogArtifactoryV2

type ServiceendpointJfrogArtifactoryV2 struct {
	pulumi.CustomResourceState

	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                                        `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a JFrog Artifactory V2 server endpoint within an Azure DevOps organization.

> **Note:** Using this service endpoint requires you to first install [JFrog Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-azure-devops-extension).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogArtifactoryV2(ctx, "exampleServiceendpointJfrogArtifactoryV2", &azuredevops.ServiceendpointJfrogArtifactoryV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example JFrog Artifactory V2"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationToken: &azuredevops.ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogArtifactoryV2(ctx, "exampleServiceendpointJfrogArtifactoryV2", &azuredevops.ServiceendpointJfrogArtifactoryV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example JFrog Artifactory V2"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 JFrog Artifactory V2 can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointJfrogArtifactoryV2:ServiceendpointJfrogArtifactoryV2 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointJfrogArtifactoryV2

func GetServiceendpointJfrogArtifactoryV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointJfrogArtifactoryV2State, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogArtifactoryV2, error)

GetServiceendpointJfrogArtifactoryV2 gets an existing ServiceendpointJfrogArtifactoryV2 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 NewServiceendpointJfrogArtifactoryV2

func NewServiceendpointJfrogArtifactoryV2(ctx *pulumi.Context,
	name string, args *ServiceendpointJfrogArtifactoryV2Args, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogArtifactoryV2, error)

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

func (*ServiceendpointJfrogArtifactoryV2) ElementType

func (*ServiceendpointJfrogArtifactoryV2) ToServiceendpointJfrogArtifactoryV2Output

func (i *ServiceendpointJfrogArtifactoryV2) ToServiceendpointJfrogArtifactoryV2Output() ServiceendpointJfrogArtifactoryV2Output

func (*ServiceendpointJfrogArtifactoryV2) ToServiceendpointJfrogArtifactoryV2OutputWithContext

func (i *ServiceendpointJfrogArtifactoryV2) ToServiceendpointJfrogArtifactoryV2OutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2Output

type ServiceendpointJfrogArtifactoryV2Args

type ServiceendpointJfrogArtifactoryV2Args struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointJfrogArtifactoryV2 resource.

func (ServiceendpointJfrogArtifactoryV2Args) ElementType

type ServiceendpointJfrogArtifactoryV2Array

type ServiceendpointJfrogArtifactoryV2Array []ServiceendpointJfrogArtifactoryV2Input

func (ServiceendpointJfrogArtifactoryV2Array) ElementType

func (ServiceendpointJfrogArtifactoryV2Array) ToServiceendpointJfrogArtifactoryV2ArrayOutput

func (i ServiceendpointJfrogArtifactoryV2Array) ToServiceendpointJfrogArtifactoryV2ArrayOutput() ServiceendpointJfrogArtifactoryV2ArrayOutput

func (ServiceendpointJfrogArtifactoryV2Array) ToServiceendpointJfrogArtifactoryV2ArrayOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2Array) ToServiceendpointJfrogArtifactoryV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2ArrayOutput

type ServiceendpointJfrogArtifactoryV2ArrayInput

type ServiceendpointJfrogArtifactoryV2ArrayInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2ArrayOutput() ServiceendpointJfrogArtifactoryV2ArrayOutput
	ToServiceendpointJfrogArtifactoryV2ArrayOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2ArrayOutput
}

ServiceendpointJfrogArtifactoryV2ArrayInput is an input type that accepts ServiceendpointJfrogArtifactoryV2Array and ServiceendpointJfrogArtifactoryV2ArrayOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2ArrayInput` via:

ServiceendpointJfrogArtifactoryV2Array{ ServiceendpointJfrogArtifactoryV2Args{...} }

type ServiceendpointJfrogArtifactoryV2ArrayOutput

type ServiceendpointJfrogArtifactoryV2ArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2ArrayOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2ArrayOutput) Index

func (ServiceendpointJfrogArtifactoryV2ArrayOutput) ToServiceendpointJfrogArtifactoryV2ArrayOutput

func (o ServiceendpointJfrogArtifactoryV2ArrayOutput) ToServiceendpointJfrogArtifactoryV2ArrayOutput() ServiceendpointJfrogArtifactoryV2ArrayOutput

func (ServiceendpointJfrogArtifactoryV2ArrayOutput) ToServiceendpointJfrogArtifactoryV2ArrayOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2ArrayOutput) ToServiceendpointJfrogArtifactoryV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2ArrayOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasic

type ServiceendpointJfrogArtifactoryV2AuthenticationBasic struct {
	// Artifactory Password.
	Password string `pulumi:"password"`
	// Artifactory Username.
	Username string `pulumi:"username"`
}

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs struct {
	// Artifactory Password.
	Password pulumi.StringInput `pulumi:"password"`
	// Artifactory Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (i ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput() ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicInput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput() ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput
	ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput
}

ServiceendpointJfrogArtifactoryV2AuthenticationBasicInput is an input type that accepts ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs and ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2AuthenticationBasicInput` via:

ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs{...}

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) Password

Artifactory Password.

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicOutput) Username

Artifactory Username.

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput() ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput
	ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput
}

ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput is an input type that accepts ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs, ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtr and ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput` via:

        ServiceendpointJfrogArtifactoryV2AuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) Elem

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) Password

Artifactory Password.

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrOutput) Username

Artifactory Username.

type ServiceendpointJfrogArtifactoryV2AuthenticationToken

type ServiceendpointJfrogArtifactoryV2AuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	Token string `pulumi:"token"`
}

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (i ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput() ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenInput

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput() ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput
	ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput
}

ServiceendpointJfrogArtifactoryV2AuthenticationTokenInput is an input type that accepts ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs and ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2AuthenticationTokenInput` via:

ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs{...}

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput() ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput
	ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput
}

ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput is an input type that accepts ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs, ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtr and ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput` via:

        ServiceendpointJfrogArtifactoryV2AuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) Elem

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogArtifactoryV2Input

type ServiceendpointJfrogArtifactoryV2Input interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2Output() ServiceendpointJfrogArtifactoryV2Output
	ToServiceendpointJfrogArtifactoryV2OutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2Output
}

type ServiceendpointJfrogArtifactoryV2Map

type ServiceendpointJfrogArtifactoryV2Map map[string]ServiceendpointJfrogArtifactoryV2Input

func (ServiceendpointJfrogArtifactoryV2Map) ElementType

func (ServiceendpointJfrogArtifactoryV2Map) ToServiceendpointJfrogArtifactoryV2MapOutput

func (i ServiceendpointJfrogArtifactoryV2Map) ToServiceendpointJfrogArtifactoryV2MapOutput() ServiceendpointJfrogArtifactoryV2MapOutput

func (ServiceendpointJfrogArtifactoryV2Map) ToServiceendpointJfrogArtifactoryV2MapOutputWithContext

func (i ServiceendpointJfrogArtifactoryV2Map) ToServiceendpointJfrogArtifactoryV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2MapOutput

type ServiceendpointJfrogArtifactoryV2MapInput

type ServiceendpointJfrogArtifactoryV2MapInput interface {
	pulumi.Input

	ToServiceendpointJfrogArtifactoryV2MapOutput() ServiceendpointJfrogArtifactoryV2MapOutput
	ToServiceendpointJfrogArtifactoryV2MapOutputWithContext(context.Context) ServiceendpointJfrogArtifactoryV2MapOutput
}

ServiceendpointJfrogArtifactoryV2MapInput is an input type that accepts ServiceendpointJfrogArtifactoryV2Map and ServiceendpointJfrogArtifactoryV2MapOutput values. You can construct a concrete instance of `ServiceendpointJfrogArtifactoryV2MapInput` via:

ServiceendpointJfrogArtifactoryV2Map{ "key": ServiceendpointJfrogArtifactoryV2Args{...} }

type ServiceendpointJfrogArtifactoryV2MapOutput

type ServiceendpointJfrogArtifactoryV2MapOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2MapOutput) ElementType

func (ServiceendpointJfrogArtifactoryV2MapOutput) MapIndex

func (ServiceendpointJfrogArtifactoryV2MapOutput) ToServiceendpointJfrogArtifactoryV2MapOutput

func (o ServiceendpointJfrogArtifactoryV2MapOutput) ToServiceendpointJfrogArtifactoryV2MapOutput() ServiceendpointJfrogArtifactoryV2MapOutput

func (ServiceendpointJfrogArtifactoryV2MapOutput) ToServiceendpointJfrogArtifactoryV2MapOutputWithContext

func (o ServiceendpointJfrogArtifactoryV2MapOutput) ToServiceendpointJfrogArtifactoryV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2MapOutput

type ServiceendpointJfrogArtifactoryV2Output

type ServiceendpointJfrogArtifactoryV2Output struct{ *pulumi.OutputState }

func (ServiceendpointJfrogArtifactoryV2Output) AuthenticationBasic

A `authenticationBasic` block as documented below.

func (ServiceendpointJfrogArtifactoryV2Output) AuthenticationToken

A `authenticationToken` block as documented below.

func (ServiceendpointJfrogArtifactoryV2Output) Authorization

func (ServiceendpointJfrogArtifactoryV2Output) Description

The Service Endpoint description.

func (ServiceendpointJfrogArtifactoryV2Output) ElementType

func (ServiceendpointJfrogArtifactoryV2Output) ProjectId

The ID of the project.

func (ServiceendpointJfrogArtifactoryV2Output) ServiceEndpointName

The Service Endpoint name.

func (ServiceendpointJfrogArtifactoryV2Output) ToServiceendpointJfrogArtifactoryV2Output

func (o ServiceendpointJfrogArtifactoryV2Output) ToServiceendpointJfrogArtifactoryV2Output() ServiceendpointJfrogArtifactoryV2Output

func (ServiceendpointJfrogArtifactoryV2Output) ToServiceendpointJfrogArtifactoryV2OutputWithContext

func (o ServiceendpointJfrogArtifactoryV2Output) ToServiceendpointJfrogArtifactoryV2OutputWithContext(ctx context.Context) ServiceendpointJfrogArtifactoryV2Output

func (ServiceendpointJfrogArtifactoryV2Output) Url

URL of the Artifactory server to connect with.

> **NOTE:** URL should not end in a slash character.

type ServiceendpointJfrogArtifactoryV2State

type ServiceendpointJfrogArtifactoryV2State struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogArtifactoryV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogArtifactoryV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringPtrInput
}

func (ServiceendpointJfrogArtifactoryV2State) ElementType

type ServiceendpointJfrogDistributionV2

type ServiceendpointJfrogDistributionV2 struct {
	pulumi.CustomResourceState

	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                                         `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a JFrog Distribution V2 server endpoint within an Azure DevOps organization.

> **Note:** Using this service endpoint requires you to first install [JFrog Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-azure-devops-extension).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogDistributionV2(ctx, "exampleServiceendpointJfrogDistributionV2", &azuredevops.ServiceendpointJfrogDistributionV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example JFrog Distribution V2"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationToken: &azuredevops.ServiceendpointJfrogDistributionV2AuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogDistributionV2(ctx, "exampleServiceendpointJfrogDistributionV2", &azuredevops.ServiceendpointJfrogDistributionV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example JFrog Distribution V2"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceendpointJfrogDistributionV2AuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 JFrog Distribution V2 can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointJfrogDistributionV2:ServiceendpointJfrogDistributionV2 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointJfrogDistributionV2

func GetServiceendpointJfrogDistributionV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointJfrogDistributionV2State, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogDistributionV2, error)

GetServiceendpointJfrogDistributionV2 gets an existing ServiceendpointJfrogDistributionV2 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 NewServiceendpointJfrogDistributionV2

func NewServiceendpointJfrogDistributionV2(ctx *pulumi.Context,
	name string, args *ServiceendpointJfrogDistributionV2Args, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogDistributionV2, error)

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

func (*ServiceendpointJfrogDistributionV2) ElementType

func (*ServiceendpointJfrogDistributionV2) ToServiceendpointJfrogDistributionV2Output

func (i *ServiceendpointJfrogDistributionV2) ToServiceendpointJfrogDistributionV2Output() ServiceendpointJfrogDistributionV2Output

func (*ServiceendpointJfrogDistributionV2) ToServiceendpointJfrogDistributionV2OutputWithContext

func (i *ServiceendpointJfrogDistributionV2) ToServiceendpointJfrogDistributionV2OutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2Output

type ServiceendpointJfrogDistributionV2Args

type ServiceendpointJfrogDistributionV2Args struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointJfrogDistributionV2 resource.

func (ServiceendpointJfrogDistributionV2Args) ElementType

type ServiceendpointJfrogDistributionV2Array

type ServiceendpointJfrogDistributionV2Array []ServiceendpointJfrogDistributionV2Input

func (ServiceendpointJfrogDistributionV2Array) ElementType

func (ServiceendpointJfrogDistributionV2Array) ToServiceendpointJfrogDistributionV2ArrayOutput

func (i ServiceendpointJfrogDistributionV2Array) ToServiceendpointJfrogDistributionV2ArrayOutput() ServiceendpointJfrogDistributionV2ArrayOutput

func (ServiceendpointJfrogDistributionV2Array) ToServiceendpointJfrogDistributionV2ArrayOutputWithContext

func (i ServiceendpointJfrogDistributionV2Array) ToServiceendpointJfrogDistributionV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2ArrayOutput

type ServiceendpointJfrogDistributionV2ArrayInput

type ServiceendpointJfrogDistributionV2ArrayInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2ArrayOutput() ServiceendpointJfrogDistributionV2ArrayOutput
	ToServiceendpointJfrogDistributionV2ArrayOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2ArrayOutput
}

ServiceendpointJfrogDistributionV2ArrayInput is an input type that accepts ServiceendpointJfrogDistributionV2Array and ServiceendpointJfrogDistributionV2ArrayOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2ArrayInput` via:

ServiceendpointJfrogDistributionV2Array{ ServiceendpointJfrogDistributionV2Args{...} }

type ServiceendpointJfrogDistributionV2ArrayOutput

type ServiceendpointJfrogDistributionV2ArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2ArrayOutput) ElementType

func (ServiceendpointJfrogDistributionV2ArrayOutput) Index

func (ServiceendpointJfrogDistributionV2ArrayOutput) ToServiceendpointJfrogDistributionV2ArrayOutput

func (o ServiceendpointJfrogDistributionV2ArrayOutput) ToServiceendpointJfrogDistributionV2ArrayOutput() ServiceendpointJfrogDistributionV2ArrayOutput

func (ServiceendpointJfrogDistributionV2ArrayOutput) ToServiceendpointJfrogDistributionV2ArrayOutputWithContext

func (o ServiceendpointJfrogDistributionV2ArrayOutput) ToServiceendpointJfrogDistributionV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2ArrayOutput

type ServiceendpointJfrogDistributionV2AuthenticationBasic

type ServiceendpointJfrogDistributionV2AuthenticationBasic struct {
	// Artifactory Password.
	Password string `pulumi:"password"`
	// Artifactory Username.
	Username string `pulumi:"username"`
}

type ServiceendpointJfrogDistributionV2AuthenticationBasicArgs

type ServiceendpointJfrogDistributionV2AuthenticationBasicArgs struct {
	// Artifactory Password.
	Password pulumi.StringInput `pulumi:"password"`
	// Artifactory Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutputWithContext

func (i ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext

func (i ServiceendpointJfrogDistributionV2AuthenticationBasicArgs) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogDistributionV2AuthenticationBasicInput

type ServiceendpointJfrogDistributionV2AuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2AuthenticationBasicOutput() ServiceendpointJfrogDistributionV2AuthenticationBasicOutput
	ToServiceendpointJfrogDistributionV2AuthenticationBasicOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicOutput
}

ServiceendpointJfrogDistributionV2AuthenticationBasicInput is an input type that accepts ServiceendpointJfrogDistributionV2AuthenticationBasicArgs and ServiceendpointJfrogDistributionV2AuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2AuthenticationBasicInput` via:

ServiceendpointJfrogDistributionV2AuthenticationBasicArgs{...}

type ServiceendpointJfrogDistributionV2AuthenticationBasicOutput

type ServiceendpointJfrogDistributionV2AuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) Password

Artifactory Password.

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicOutput) Username

Artifactory Username.

type ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput

type ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput() ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput
	ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput
}

ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput is an input type that accepts ServiceendpointJfrogDistributionV2AuthenticationBasicArgs, ServiceendpointJfrogDistributionV2AuthenticationBasicPtr and ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput` via:

        ServiceendpointJfrogDistributionV2AuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) Elem

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) Password

Artifactory Password.

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationBasicPtrOutput) Username

Artifactory Username.

type ServiceendpointJfrogDistributionV2AuthenticationToken

type ServiceendpointJfrogDistributionV2AuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	Token string `pulumi:"token"`
}

type ServiceendpointJfrogDistributionV2AuthenticationTokenArgs

type ServiceendpointJfrogDistributionV2AuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutputWithContext

func (i ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext

func (i ServiceendpointJfrogDistributionV2AuthenticationTokenArgs) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogDistributionV2AuthenticationTokenInput

type ServiceendpointJfrogDistributionV2AuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2AuthenticationTokenOutput() ServiceendpointJfrogDistributionV2AuthenticationTokenOutput
	ToServiceendpointJfrogDistributionV2AuthenticationTokenOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenOutput
}

ServiceendpointJfrogDistributionV2AuthenticationTokenInput is an input type that accepts ServiceendpointJfrogDistributionV2AuthenticationTokenArgs and ServiceendpointJfrogDistributionV2AuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2AuthenticationTokenInput` via:

ServiceendpointJfrogDistributionV2AuthenticationTokenArgs{...}

type ServiceendpointJfrogDistributionV2AuthenticationTokenOutput

type ServiceendpointJfrogDistributionV2AuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput

type ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput() ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput
	ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput
}

ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput is an input type that accepts ServiceendpointJfrogDistributionV2AuthenticationTokenArgs, ServiceendpointJfrogDistributionV2AuthenticationTokenPtr and ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput` via:

        ServiceendpointJfrogDistributionV2AuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) Elem

func (ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) ElementType

func (ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogDistributionV2AuthenticationTokenPtrOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogDistributionV2Input

type ServiceendpointJfrogDistributionV2Input interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2Output() ServiceendpointJfrogDistributionV2Output
	ToServiceendpointJfrogDistributionV2OutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2Output
}

type ServiceendpointJfrogDistributionV2Map

type ServiceendpointJfrogDistributionV2Map map[string]ServiceendpointJfrogDistributionV2Input

func (ServiceendpointJfrogDistributionV2Map) ElementType

func (ServiceendpointJfrogDistributionV2Map) ToServiceendpointJfrogDistributionV2MapOutput

func (i ServiceendpointJfrogDistributionV2Map) ToServiceendpointJfrogDistributionV2MapOutput() ServiceendpointJfrogDistributionV2MapOutput

func (ServiceendpointJfrogDistributionV2Map) ToServiceendpointJfrogDistributionV2MapOutputWithContext

func (i ServiceendpointJfrogDistributionV2Map) ToServiceendpointJfrogDistributionV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2MapOutput

type ServiceendpointJfrogDistributionV2MapInput

type ServiceendpointJfrogDistributionV2MapInput interface {
	pulumi.Input

	ToServiceendpointJfrogDistributionV2MapOutput() ServiceendpointJfrogDistributionV2MapOutput
	ToServiceendpointJfrogDistributionV2MapOutputWithContext(context.Context) ServiceendpointJfrogDistributionV2MapOutput
}

ServiceendpointJfrogDistributionV2MapInput is an input type that accepts ServiceendpointJfrogDistributionV2Map and ServiceendpointJfrogDistributionV2MapOutput values. You can construct a concrete instance of `ServiceendpointJfrogDistributionV2MapInput` via:

ServiceendpointJfrogDistributionV2Map{ "key": ServiceendpointJfrogDistributionV2Args{...} }

type ServiceendpointJfrogDistributionV2MapOutput

type ServiceendpointJfrogDistributionV2MapOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2MapOutput) ElementType

func (ServiceendpointJfrogDistributionV2MapOutput) MapIndex

func (ServiceendpointJfrogDistributionV2MapOutput) ToServiceendpointJfrogDistributionV2MapOutput

func (o ServiceendpointJfrogDistributionV2MapOutput) ToServiceendpointJfrogDistributionV2MapOutput() ServiceendpointJfrogDistributionV2MapOutput

func (ServiceendpointJfrogDistributionV2MapOutput) ToServiceendpointJfrogDistributionV2MapOutputWithContext

func (o ServiceendpointJfrogDistributionV2MapOutput) ToServiceendpointJfrogDistributionV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2MapOutput

type ServiceendpointJfrogDistributionV2Output

type ServiceendpointJfrogDistributionV2Output struct{ *pulumi.OutputState }

func (ServiceendpointJfrogDistributionV2Output) AuthenticationBasic

A `authenticationBasic` block as documented below.

func (ServiceendpointJfrogDistributionV2Output) AuthenticationToken

A `authenticationToken` block as documented below.

func (ServiceendpointJfrogDistributionV2Output) Authorization

func (ServiceendpointJfrogDistributionV2Output) Description

The Service Endpoint description.

func (ServiceendpointJfrogDistributionV2Output) ElementType

func (ServiceendpointJfrogDistributionV2Output) ProjectId

The ID of the project.

func (ServiceendpointJfrogDistributionV2Output) ServiceEndpointName

The Service Endpoint name.

func (ServiceendpointJfrogDistributionV2Output) ToServiceendpointJfrogDistributionV2Output

func (o ServiceendpointJfrogDistributionV2Output) ToServiceendpointJfrogDistributionV2Output() ServiceendpointJfrogDistributionV2Output

func (ServiceendpointJfrogDistributionV2Output) ToServiceendpointJfrogDistributionV2OutputWithContext

func (o ServiceendpointJfrogDistributionV2Output) ToServiceendpointJfrogDistributionV2OutputWithContext(ctx context.Context) ServiceendpointJfrogDistributionV2Output

func (ServiceendpointJfrogDistributionV2Output) Url

URL of the Artifactory server to connect with.

> **NOTE:** URL should not end in a slash character.

type ServiceendpointJfrogDistributionV2State

type ServiceendpointJfrogDistributionV2State struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogDistributionV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogDistributionV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringPtrInput
}

func (ServiceendpointJfrogDistributionV2State) ElementType

type ServiceendpointJfrogPlatformV2

type ServiceendpointJfrogPlatformV2 struct {
	pulumi.CustomResourceState

	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                                     `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a JFrog Platform V2 server endpoint within an Azure DevOps organization.

> **Note:** Using this service endpoint requires you to first install [JFrog Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-azure-devops-extension).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogPlatformV2(ctx, "exampleServiceendpointJfrogPlatformV2", &azuredevops.ServiceendpointJfrogPlatformV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationToken: &azuredevops.ServiceendpointJfrogPlatformV2AuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogPlatformV2(ctx, "exampleServiceendpointJfrogPlatformV2", &azuredevops.ServiceendpointJfrogPlatformV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceendpointJfrogPlatformV2AuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 JFrog Platform V2 can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointJfrogPlatformV2:ServiceendpointJfrogPlatformV2 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointJfrogPlatformV2

func GetServiceendpointJfrogPlatformV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointJfrogPlatformV2State, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogPlatformV2, error)

GetServiceendpointJfrogPlatformV2 gets an existing ServiceendpointJfrogPlatformV2 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 NewServiceendpointJfrogPlatformV2

func NewServiceendpointJfrogPlatformV2(ctx *pulumi.Context,
	name string, args *ServiceendpointJfrogPlatformV2Args, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogPlatformV2, error)

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

func (*ServiceendpointJfrogPlatformV2) ElementType

func (*ServiceendpointJfrogPlatformV2) ToServiceendpointJfrogPlatformV2Output

func (i *ServiceendpointJfrogPlatformV2) ToServiceendpointJfrogPlatformV2Output() ServiceendpointJfrogPlatformV2Output

func (*ServiceendpointJfrogPlatformV2) ToServiceendpointJfrogPlatformV2OutputWithContext

func (i *ServiceendpointJfrogPlatformV2) ToServiceendpointJfrogPlatformV2OutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2Output

type ServiceendpointJfrogPlatformV2Args

type ServiceendpointJfrogPlatformV2Args struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointJfrogPlatformV2 resource.

func (ServiceendpointJfrogPlatformV2Args) ElementType

type ServiceendpointJfrogPlatformV2Array

type ServiceendpointJfrogPlatformV2Array []ServiceendpointJfrogPlatformV2Input

func (ServiceendpointJfrogPlatformV2Array) ElementType

func (ServiceendpointJfrogPlatformV2Array) ToServiceendpointJfrogPlatformV2ArrayOutput

func (i ServiceendpointJfrogPlatformV2Array) ToServiceendpointJfrogPlatformV2ArrayOutput() ServiceendpointJfrogPlatformV2ArrayOutput

func (ServiceendpointJfrogPlatformV2Array) ToServiceendpointJfrogPlatformV2ArrayOutputWithContext

func (i ServiceendpointJfrogPlatformV2Array) ToServiceendpointJfrogPlatformV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2ArrayOutput

type ServiceendpointJfrogPlatformV2ArrayInput

type ServiceendpointJfrogPlatformV2ArrayInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2ArrayOutput() ServiceendpointJfrogPlatformV2ArrayOutput
	ToServiceendpointJfrogPlatformV2ArrayOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2ArrayOutput
}

ServiceendpointJfrogPlatformV2ArrayInput is an input type that accepts ServiceendpointJfrogPlatformV2Array and ServiceendpointJfrogPlatformV2ArrayOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2ArrayInput` via:

ServiceendpointJfrogPlatformV2Array{ ServiceendpointJfrogPlatformV2Args{...} }

type ServiceendpointJfrogPlatformV2ArrayOutput

type ServiceendpointJfrogPlatformV2ArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2ArrayOutput) ElementType

func (ServiceendpointJfrogPlatformV2ArrayOutput) Index

func (ServiceendpointJfrogPlatformV2ArrayOutput) ToServiceendpointJfrogPlatformV2ArrayOutput

func (o ServiceendpointJfrogPlatformV2ArrayOutput) ToServiceendpointJfrogPlatformV2ArrayOutput() ServiceendpointJfrogPlatformV2ArrayOutput

func (ServiceendpointJfrogPlatformV2ArrayOutput) ToServiceendpointJfrogPlatformV2ArrayOutputWithContext

func (o ServiceendpointJfrogPlatformV2ArrayOutput) ToServiceendpointJfrogPlatformV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2ArrayOutput

type ServiceendpointJfrogPlatformV2AuthenticationBasic

type ServiceendpointJfrogPlatformV2AuthenticationBasic struct {
	// Artifactory Password.
	Password string `pulumi:"password"`
	// Artifactory Username.
	Username string `pulumi:"username"`
}

type ServiceendpointJfrogPlatformV2AuthenticationBasicArgs

type ServiceendpointJfrogPlatformV2AuthenticationBasicArgs struct {
	// Artifactory Password.
	Password pulumi.StringInput `pulumi:"password"`
	// Artifactory Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutput

func (i ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutput() ServiceendpointJfrogPlatformV2AuthenticationBasicOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutputWithContext

func (i ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (i ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput() ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext

func (i ServiceendpointJfrogPlatformV2AuthenticationBasicArgs) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogPlatformV2AuthenticationBasicInput

type ServiceendpointJfrogPlatformV2AuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2AuthenticationBasicOutput() ServiceendpointJfrogPlatformV2AuthenticationBasicOutput
	ToServiceendpointJfrogPlatformV2AuthenticationBasicOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicOutput
}

ServiceendpointJfrogPlatformV2AuthenticationBasicInput is an input type that accepts ServiceendpointJfrogPlatformV2AuthenticationBasicArgs and ServiceendpointJfrogPlatformV2AuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2AuthenticationBasicInput` via:

ServiceendpointJfrogPlatformV2AuthenticationBasicArgs{...}

type ServiceendpointJfrogPlatformV2AuthenticationBasicOutput

type ServiceendpointJfrogPlatformV2AuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) Password

Artifactory Password.

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicOutput) Username

Artifactory Username.

type ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput

type ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput() ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput
	ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput
}

ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput is an input type that accepts ServiceendpointJfrogPlatformV2AuthenticationBasicArgs, ServiceendpointJfrogPlatformV2AuthenticationBasicPtr and ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput` via:

        ServiceendpointJfrogPlatformV2AuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) Elem

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) Password

Artifactory Password.

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationBasicPtrOutput) Username

Artifactory Username.

type ServiceendpointJfrogPlatformV2AuthenticationToken

type ServiceendpointJfrogPlatformV2AuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	Token string `pulumi:"token"`
}

type ServiceendpointJfrogPlatformV2AuthenticationTokenArgs

type ServiceendpointJfrogPlatformV2AuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutput

func (i ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutput() ServiceendpointJfrogPlatformV2AuthenticationTokenOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutputWithContext

func (i ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (i ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput() ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext

func (i ServiceendpointJfrogPlatformV2AuthenticationTokenArgs) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogPlatformV2AuthenticationTokenInput

type ServiceendpointJfrogPlatformV2AuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2AuthenticationTokenOutput() ServiceendpointJfrogPlatformV2AuthenticationTokenOutput
	ToServiceendpointJfrogPlatformV2AuthenticationTokenOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenOutput
}

ServiceendpointJfrogPlatformV2AuthenticationTokenInput is an input type that accepts ServiceendpointJfrogPlatformV2AuthenticationTokenArgs and ServiceendpointJfrogPlatformV2AuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2AuthenticationTokenInput` via:

ServiceendpointJfrogPlatformV2AuthenticationTokenArgs{...}

type ServiceendpointJfrogPlatformV2AuthenticationTokenOutput

type ServiceendpointJfrogPlatformV2AuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput

type ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput() ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput
	ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput
}

ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput is an input type that accepts ServiceendpointJfrogPlatformV2AuthenticationTokenArgs, ServiceendpointJfrogPlatformV2AuthenticationTokenPtr and ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput` via:

        ServiceendpointJfrogPlatformV2AuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) Elem

func (ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) ElementType

func (ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogPlatformV2AuthenticationTokenPtrOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogPlatformV2Input

type ServiceendpointJfrogPlatformV2Input interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2Output() ServiceendpointJfrogPlatformV2Output
	ToServiceendpointJfrogPlatformV2OutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2Output
}

type ServiceendpointJfrogPlatformV2Map

type ServiceendpointJfrogPlatformV2Map map[string]ServiceendpointJfrogPlatformV2Input

func (ServiceendpointJfrogPlatformV2Map) ElementType

func (ServiceendpointJfrogPlatformV2Map) ToServiceendpointJfrogPlatformV2MapOutput

func (i ServiceendpointJfrogPlatformV2Map) ToServiceendpointJfrogPlatformV2MapOutput() ServiceendpointJfrogPlatformV2MapOutput

func (ServiceendpointJfrogPlatformV2Map) ToServiceendpointJfrogPlatformV2MapOutputWithContext

func (i ServiceendpointJfrogPlatformV2Map) ToServiceendpointJfrogPlatformV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2MapOutput

type ServiceendpointJfrogPlatformV2MapInput

type ServiceendpointJfrogPlatformV2MapInput interface {
	pulumi.Input

	ToServiceendpointJfrogPlatformV2MapOutput() ServiceendpointJfrogPlatformV2MapOutput
	ToServiceendpointJfrogPlatformV2MapOutputWithContext(context.Context) ServiceendpointJfrogPlatformV2MapOutput
}

ServiceendpointJfrogPlatformV2MapInput is an input type that accepts ServiceendpointJfrogPlatformV2Map and ServiceendpointJfrogPlatformV2MapOutput values. You can construct a concrete instance of `ServiceendpointJfrogPlatformV2MapInput` via:

ServiceendpointJfrogPlatformV2Map{ "key": ServiceendpointJfrogPlatformV2Args{...} }

type ServiceendpointJfrogPlatformV2MapOutput

type ServiceendpointJfrogPlatformV2MapOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2MapOutput) ElementType

func (ServiceendpointJfrogPlatformV2MapOutput) MapIndex

func (ServiceendpointJfrogPlatformV2MapOutput) ToServiceendpointJfrogPlatformV2MapOutput

func (o ServiceendpointJfrogPlatformV2MapOutput) ToServiceendpointJfrogPlatformV2MapOutput() ServiceendpointJfrogPlatformV2MapOutput

func (ServiceendpointJfrogPlatformV2MapOutput) ToServiceendpointJfrogPlatformV2MapOutputWithContext

func (o ServiceendpointJfrogPlatformV2MapOutput) ToServiceendpointJfrogPlatformV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2MapOutput

type ServiceendpointJfrogPlatformV2Output

type ServiceendpointJfrogPlatformV2Output struct{ *pulumi.OutputState }

func (ServiceendpointJfrogPlatformV2Output) AuthenticationBasic

A `authenticationBasic` block as documented below.

func (ServiceendpointJfrogPlatformV2Output) AuthenticationToken

A `authenticationToken` block as documented below.

func (ServiceendpointJfrogPlatformV2Output) Authorization

func (ServiceendpointJfrogPlatformV2Output) Description

The Service Endpoint description.

func (ServiceendpointJfrogPlatformV2Output) ElementType

func (ServiceendpointJfrogPlatformV2Output) ProjectId

The ID of the project.

func (ServiceendpointJfrogPlatformV2Output) ServiceEndpointName

The Service Endpoint name.

func (ServiceendpointJfrogPlatformV2Output) ToServiceendpointJfrogPlatformV2Output

func (o ServiceendpointJfrogPlatformV2Output) ToServiceendpointJfrogPlatformV2Output() ServiceendpointJfrogPlatformV2Output

func (ServiceendpointJfrogPlatformV2Output) ToServiceendpointJfrogPlatformV2OutputWithContext

func (o ServiceendpointJfrogPlatformV2Output) ToServiceendpointJfrogPlatformV2OutputWithContext(ctx context.Context) ServiceendpointJfrogPlatformV2Output

func (ServiceendpointJfrogPlatformV2Output) Url

URL of the Artifactory server to connect with.

> **NOTE:** URL should not end in a slash character.

type ServiceendpointJfrogPlatformV2State

type ServiceendpointJfrogPlatformV2State struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogPlatformV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogPlatformV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringPtrInput
}

func (ServiceendpointJfrogPlatformV2State) ElementType

type ServiceendpointJfrogXrayV2

type ServiceendpointJfrogXrayV2 struct {
	pulumi.CustomResourceState

	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                                 `pulumi:"authorization"`
	// The Service Endpoint description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages an JFrog XRay V2 server endpoint within an Azure DevOps organization.

> **Note:** Using this service endpoint requires you to first install [JFrog Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-azure-devops-extension).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogXrayV2(ctx, "exampleServiceendpointJfrogXrayV2", &azuredevops.ServiceendpointJfrogXrayV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationToken: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser --> Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointJfrogXrayV2(ctx, "exampleServiceendpointJfrogXrayV2", &azuredevops.ServiceendpointJfrogXrayV2Args{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Artifactory"),
			Description:         pulumi.String("Managed by Terraform"),
			Url:                 pulumi.String("https://artifactory.my.com"),
			AuthenticationBasic: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 JFrog XRay V2 can be imported using the **projectID/serviceEndpointID**, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointJfrogXrayV2:ServiceendpointJfrogXrayV2 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointJfrogXrayV2

func GetServiceendpointJfrogXrayV2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointJfrogXrayV2State, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogXrayV2, error)

GetServiceendpointJfrogXrayV2 gets an existing ServiceendpointJfrogXrayV2 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 NewServiceendpointJfrogXrayV2

func NewServiceendpointJfrogXrayV2(ctx *pulumi.Context,
	name string, args *ServiceendpointJfrogXrayV2Args, opts ...pulumi.ResourceOption) (*ServiceendpointJfrogXrayV2, error)

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

func (*ServiceendpointJfrogXrayV2) ElementType

func (*ServiceendpointJfrogXrayV2) ElementType() reflect.Type

func (*ServiceendpointJfrogXrayV2) ToServiceendpointJfrogXrayV2Output

func (i *ServiceendpointJfrogXrayV2) ToServiceendpointJfrogXrayV2Output() ServiceendpointJfrogXrayV2Output

func (*ServiceendpointJfrogXrayV2) ToServiceendpointJfrogXrayV2OutputWithContext

func (i *ServiceendpointJfrogXrayV2) ToServiceendpointJfrogXrayV2OutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2Output

type ServiceendpointJfrogXrayV2Args

type ServiceendpointJfrogXrayV2Args struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointJfrogXrayV2 resource.

func (ServiceendpointJfrogXrayV2Args) ElementType

type ServiceendpointJfrogXrayV2Array

type ServiceendpointJfrogXrayV2Array []ServiceendpointJfrogXrayV2Input

func (ServiceendpointJfrogXrayV2Array) ElementType

func (ServiceendpointJfrogXrayV2Array) ToServiceendpointJfrogXrayV2ArrayOutput

func (i ServiceendpointJfrogXrayV2Array) ToServiceendpointJfrogXrayV2ArrayOutput() ServiceendpointJfrogXrayV2ArrayOutput

func (ServiceendpointJfrogXrayV2Array) ToServiceendpointJfrogXrayV2ArrayOutputWithContext

func (i ServiceendpointJfrogXrayV2Array) ToServiceendpointJfrogXrayV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2ArrayOutput

type ServiceendpointJfrogXrayV2ArrayInput

type ServiceendpointJfrogXrayV2ArrayInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2ArrayOutput() ServiceendpointJfrogXrayV2ArrayOutput
	ToServiceendpointJfrogXrayV2ArrayOutputWithContext(context.Context) ServiceendpointJfrogXrayV2ArrayOutput
}

ServiceendpointJfrogXrayV2ArrayInput is an input type that accepts ServiceendpointJfrogXrayV2Array and ServiceendpointJfrogXrayV2ArrayOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2ArrayInput` via:

ServiceendpointJfrogXrayV2Array{ ServiceendpointJfrogXrayV2Args{...} }

type ServiceendpointJfrogXrayV2ArrayOutput

type ServiceendpointJfrogXrayV2ArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2ArrayOutput) ElementType

func (ServiceendpointJfrogXrayV2ArrayOutput) Index

func (ServiceendpointJfrogXrayV2ArrayOutput) ToServiceendpointJfrogXrayV2ArrayOutput

func (o ServiceendpointJfrogXrayV2ArrayOutput) ToServiceendpointJfrogXrayV2ArrayOutput() ServiceendpointJfrogXrayV2ArrayOutput

func (ServiceendpointJfrogXrayV2ArrayOutput) ToServiceendpointJfrogXrayV2ArrayOutputWithContext

func (o ServiceendpointJfrogXrayV2ArrayOutput) ToServiceendpointJfrogXrayV2ArrayOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2ArrayOutput

type ServiceendpointJfrogXrayV2AuthenticationBasic

type ServiceendpointJfrogXrayV2AuthenticationBasic struct {
	// Artifactory Password.
	Password string `pulumi:"password"`
	// Artifactory Username.
	Username string `pulumi:"username"`
}

type ServiceendpointJfrogXrayV2AuthenticationBasicArgs

type ServiceendpointJfrogXrayV2AuthenticationBasicArgs struct {
	// Artifactory Password.
	Password pulumi.StringInput `pulumi:"password"`
	// Artifactory Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (i ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicOutput() ServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicOutputWithContext

func (i ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (i ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput() ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext

func (i ServiceendpointJfrogXrayV2AuthenticationBasicArgs) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogXrayV2AuthenticationBasicInput

type ServiceendpointJfrogXrayV2AuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2AuthenticationBasicOutput() ServiceendpointJfrogXrayV2AuthenticationBasicOutput
	ToServiceendpointJfrogXrayV2AuthenticationBasicOutputWithContext(context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicOutput
}

ServiceendpointJfrogXrayV2AuthenticationBasicInput is an input type that accepts ServiceendpointJfrogXrayV2AuthenticationBasicArgs and ServiceendpointJfrogXrayV2AuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2AuthenticationBasicInput` via:

ServiceendpointJfrogXrayV2AuthenticationBasicArgs{...}

type ServiceendpointJfrogXrayV2AuthenticationBasicOutput

type ServiceendpointJfrogXrayV2AuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) Password

Artifactory Password.

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (o ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicOutput() ServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (o ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput() ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationBasicOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicOutput) Username

Artifactory Username.

type ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput

type ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput() ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput
	ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput
}

ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput is an input type that accepts ServiceendpointJfrogXrayV2AuthenticationBasicArgs, ServiceendpointJfrogXrayV2AuthenticationBasicPtr and ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput` via:

        ServiceendpointJfrogXrayV2AuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

type ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) Elem

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) Password

Artifactory Password.

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationBasicPtrOutput) Username

Artifactory Username.

type ServiceendpointJfrogXrayV2AuthenticationToken

type ServiceendpointJfrogXrayV2AuthenticationToken struct {
	// Authentication Token generated through Artifactory.
	Token string `pulumi:"token"`
}

type ServiceendpointJfrogXrayV2AuthenticationTokenArgs

type ServiceendpointJfrogXrayV2AuthenticationTokenArgs struct {
	// Authentication Token generated through Artifactory.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (i ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenOutput() ServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenOutputWithContext

func (i ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (i ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput() ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext

func (i ServiceendpointJfrogXrayV2AuthenticationTokenArgs) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogXrayV2AuthenticationTokenInput

type ServiceendpointJfrogXrayV2AuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2AuthenticationTokenOutput() ServiceendpointJfrogXrayV2AuthenticationTokenOutput
	ToServiceendpointJfrogXrayV2AuthenticationTokenOutputWithContext(context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenOutput
}

ServiceendpointJfrogXrayV2AuthenticationTokenInput is an input type that accepts ServiceendpointJfrogXrayV2AuthenticationTokenArgs and ServiceendpointJfrogXrayV2AuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2AuthenticationTokenInput` via:

ServiceendpointJfrogXrayV2AuthenticationTokenArgs{...}

type ServiceendpointJfrogXrayV2AuthenticationTokenOutput

type ServiceendpointJfrogXrayV2AuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (o ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenOutput() ServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (o ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput() ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationTokenOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput

type ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput() ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput
	ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput
}

ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput is an input type that accepts ServiceendpointJfrogXrayV2AuthenticationTokenArgs, ServiceendpointJfrogXrayV2AuthenticationTokenPtr and ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput` via:

        ServiceendpointJfrogXrayV2AuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

type ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) Elem

func (ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) ElementType

func (ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext

func (o ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) ToServiceendpointJfrogXrayV2AuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput

func (ServiceendpointJfrogXrayV2AuthenticationTokenPtrOutput) Token

Authentication Token generated through Artifactory.

type ServiceendpointJfrogXrayV2Input

type ServiceendpointJfrogXrayV2Input interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2Output() ServiceendpointJfrogXrayV2Output
	ToServiceendpointJfrogXrayV2OutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2Output
}

type ServiceendpointJfrogXrayV2Map

type ServiceendpointJfrogXrayV2Map map[string]ServiceendpointJfrogXrayV2Input

func (ServiceendpointJfrogXrayV2Map) ElementType

func (ServiceendpointJfrogXrayV2Map) ToServiceendpointJfrogXrayV2MapOutput

func (i ServiceendpointJfrogXrayV2Map) ToServiceendpointJfrogXrayV2MapOutput() ServiceendpointJfrogXrayV2MapOutput

func (ServiceendpointJfrogXrayV2Map) ToServiceendpointJfrogXrayV2MapOutputWithContext

func (i ServiceendpointJfrogXrayV2Map) ToServiceendpointJfrogXrayV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2MapOutput

type ServiceendpointJfrogXrayV2MapInput

type ServiceendpointJfrogXrayV2MapInput interface {
	pulumi.Input

	ToServiceendpointJfrogXrayV2MapOutput() ServiceendpointJfrogXrayV2MapOutput
	ToServiceendpointJfrogXrayV2MapOutputWithContext(context.Context) ServiceendpointJfrogXrayV2MapOutput
}

ServiceendpointJfrogXrayV2MapInput is an input type that accepts ServiceendpointJfrogXrayV2Map and ServiceendpointJfrogXrayV2MapOutput values. You can construct a concrete instance of `ServiceendpointJfrogXrayV2MapInput` via:

ServiceendpointJfrogXrayV2Map{ "key": ServiceendpointJfrogXrayV2Args{...} }

type ServiceendpointJfrogXrayV2MapOutput

type ServiceendpointJfrogXrayV2MapOutput struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2MapOutput) ElementType

func (ServiceendpointJfrogXrayV2MapOutput) MapIndex

func (ServiceendpointJfrogXrayV2MapOutput) ToServiceendpointJfrogXrayV2MapOutput

func (o ServiceendpointJfrogXrayV2MapOutput) ToServiceendpointJfrogXrayV2MapOutput() ServiceendpointJfrogXrayV2MapOutput

func (ServiceendpointJfrogXrayV2MapOutput) ToServiceendpointJfrogXrayV2MapOutputWithContext

func (o ServiceendpointJfrogXrayV2MapOutput) ToServiceendpointJfrogXrayV2MapOutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2MapOutput

type ServiceendpointJfrogXrayV2Output

type ServiceendpointJfrogXrayV2Output struct{ *pulumi.OutputState }

func (ServiceendpointJfrogXrayV2Output) AuthenticationBasic

A `authenticationBasic` block as documented below.

func (ServiceendpointJfrogXrayV2Output) AuthenticationToken

A `authenticationToken` block as documented below.

func (ServiceendpointJfrogXrayV2Output) Authorization

func (ServiceendpointJfrogXrayV2Output) Description

The Service Endpoint description.

func (ServiceendpointJfrogXrayV2Output) ElementType

func (ServiceendpointJfrogXrayV2Output) ProjectId

The ID of the project.

func (ServiceendpointJfrogXrayV2Output) ServiceEndpointName

func (o ServiceendpointJfrogXrayV2Output) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointJfrogXrayV2Output) ToServiceendpointJfrogXrayV2Output

func (o ServiceendpointJfrogXrayV2Output) ToServiceendpointJfrogXrayV2Output() ServiceendpointJfrogXrayV2Output

func (ServiceendpointJfrogXrayV2Output) ToServiceendpointJfrogXrayV2OutputWithContext

func (o ServiceendpointJfrogXrayV2Output) ToServiceendpointJfrogXrayV2OutputWithContext(ctx context.Context) ServiceendpointJfrogXrayV2Output

func (ServiceendpointJfrogXrayV2Output) Url

URL of the Artifactory server to connect with.

> **NOTE:** URL should not end in a slash character.

type ServiceendpointJfrogXrayV2State

type ServiceendpointJfrogXrayV2State struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointJfrogXrayV2AuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	// The Service Endpoint description.
	Description pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// URL of the Artifactory server to connect with.
	//
	// > **NOTE:** URL should not end in a slash character.
	Url pulumi.StringPtrInput
}

func (ServiceendpointJfrogXrayV2State) ElementType

type ServiceendpointMaven

type ServiceendpointMaven struct {
	pulumi.CustomResourceState

	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointMavenAuthenticationBasicPtrOutput `pulumi:"authenticationBasic"`
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointMavenAuthenticationTokenPtrOutput `pulumi:"authenticationToken"`
	Authorization       pulumi.StringMapOutput                           `pulumi:"authorization"`
	Description         pulumi.StringPtrOutput                           `pulumi:"description"`
	// The ID of the project. Changing this forces a new Service Connection Maven to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
	RepositoryId pulumi.StringOutput `pulumi:"repositoryId"`
	// The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The URL of the Maven Repository.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a Maven service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Maven instance.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointMaven(ctx, "exampleServiceendpointMaven", &azuredevops.ServiceendpointMavenArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("maven-example"),
			Description:         pulumi.String("Service Endpoint for 'Maven' (Managed by Terraform)"),
			Url:                 pulumi.String("https://example.com"),
			RepositoryId:        pulumi.String("example"),
			AuthenticationToken: &azuredevops.ServiceendpointMavenAuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

Alternatively a username and password may be used.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointMaven(ctx, "exampleServiceendpointMaven", &azuredevops.ServiceendpointMavenArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("maven-example"),
			Description:         pulumi.String("Service Endpoint for 'Maven' (Managed by Terraform)"),
			Url:                 pulumi.String("https://example.com"),
			RepositoryId:        pulumi.String("example"),
			AuthenticationBasic: &azuredevops.ServiceendpointMavenAuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Service Connection Maven can be imported using the `projectId/id` or or `projectName/id`, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointMaven:ServiceendpointMaven example projectName/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointMaven

func GetServiceendpointMaven(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointMavenState, opts ...pulumi.ResourceOption) (*ServiceendpointMaven, error)

GetServiceendpointMaven gets an existing ServiceendpointMaven 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 NewServiceendpointMaven

func NewServiceendpointMaven(ctx *pulumi.Context,
	name string, args *ServiceendpointMavenArgs, opts ...pulumi.ResourceOption) (*ServiceendpointMaven, error)

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

func (*ServiceendpointMaven) ElementType

func (*ServiceendpointMaven) ElementType() reflect.Type

func (*ServiceendpointMaven) ToServiceendpointMavenOutput

func (i *ServiceendpointMaven) ToServiceendpointMavenOutput() ServiceendpointMavenOutput

func (*ServiceendpointMaven) ToServiceendpointMavenOutputWithContext

func (i *ServiceendpointMaven) ToServiceendpointMavenOutputWithContext(ctx context.Context) ServiceendpointMavenOutput

type ServiceendpointMavenArgs

type ServiceendpointMavenArgs struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointMavenAuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointMavenAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	Description         pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Maven to be created.
	ProjectId pulumi.StringInput
	// The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
	RepositoryId pulumi.StringInput
	// The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
	ServiceEndpointName pulumi.StringInput
	// The URL of the Maven Repository.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointMaven resource.

func (ServiceendpointMavenArgs) ElementType

func (ServiceendpointMavenArgs) ElementType() reflect.Type

type ServiceendpointMavenArray

type ServiceendpointMavenArray []ServiceendpointMavenInput

func (ServiceendpointMavenArray) ElementType

func (ServiceendpointMavenArray) ElementType() reflect.Type

func (ServiceendpointMavenArray) ToServiceendpointMavenArrayOutput

func (i ServiceendpointMavenArray) ToServiceendpointMavenArrayOutput() ServiceendpointMavenArrayOutput

func (ServiceendpointMavenArray) ToServiceendpointMavenArrayOutputWithContext

func (i ServiceendpointMavenArray) ToServiceendpointMavenArrayOutputWithContext(ctx context.Context) ServiceendpointMavenArrayOutput

type ServiceendpointMavenArrayInput

type ServiceendpointMavenArrayInput interface {
	pulumi.Input

	ToServiceendpointMavenArrayOutput() ServiceendpointMavenArrayOutput
	ToServiceendpointMavenArrayOutputWithContext(context.Context) ServiceendpointMavenArrayOutput
}

ServiceendpointMavenArrayInput is an input type that accepts ServiceendpointMavenArray and ServiceendpointMavenArrayOutput values. You can construct a concrete instance of `ServiceendpointMavenArrayInput` via:

ServiceendpointMavenArray{ ServiceendpointMavenArgs{...} }

type ServiceendpointMavenArrayOutput

type ServiceendpointMavenArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenArrayOutput) ElementType

func (ServiceendpointMavenArrayOutput) Index

func (ServiceendpointMavenArrayOutput) ToServiceendpointMavenArrayOutput

func (o ServiceendpointMavenArrayOutput) ToServiceendpointMavenArrayOutput() ServiceendpointMavenArrayOutput

func (ServiceendpointMavenArrayOutput) ToServiceendpointMavenArrayOutputWithContext

func (o ServiceendpointMavenArrayOutput) ToServiceendpointMavenArrayOutputWithContext(ctx context.Context) ServiceendpointMavenArrayOutput

type ServiceendpointMavenAuthenticationBasic

type ServiceendpointMavenAuthenticationBasic struct {
	// The password Maven Repository.
	Password string `pulumi:"password"`
	// The Username of the Maven Repository.
	Username string `pulumi:"username"`
}

type ServiceendpointMavenAuthenticationBasicArgs

type ServiceendpointMavenAuthenticationBasicArgs struct {
	// The password Maven Repository.
	Password pulumi.StringInput `pulumi:"password"`
	// The Username of the Maven Repository.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ServiceendpointMavenAuthenticationBasicArgs) ElementType

func (ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicOutput

func (i ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicOutput() ServiceendpointMavenAuthenticationBasicOutput

func (ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicOutputWithContext

func (i ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationBasicOutput

func (ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicPtrOutput

func (i ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicPtrOutput() ServiceendpointMavenAuthenticationBasicPtrOutput

func (ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext

func (i ServiceendpointMavenAuthenticationBasicArgs) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationBasicPtrOutput

type ServiceendpointMavenAuthenticationBasicInput

type ServiceendpointMavenAuthenticationBasicInput interface {
	pulumi.Input

	ToServiceendpointMavenAuthenticationBasicOutput() ServiceendpointMavenAuthenticationBasicOutput
	ToServiceendpointMavenAuthenticationBasicOutputWithContext(context.Context) ServiceendpointMavenAuthenticationBasicOutput
}

ServiceendpointMavenAuthenticationBasicInput is an input type that accepts ServiceendpointMavenAuthenticationBasicArgs and ServiceendpointMavenAuthenticationBasicOutput values. You can construct a concrete instance of `ServiceendpointMavenAuthenticationBasicInput` via:

ServiceendpointMavenAuthenticationBasicArgs{...}

type ServiceendpointMavenAuthenticationBasicOutput

type ServiceendpointMavenAuthenticationBasicOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenAuthenticationBasicOutput) ElementType

func (ServiceendpointMavenAuthenticationBasicOutput) Password

The password Maven Repository.

func (ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicOutput

func (o ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicOutput() ServiceendpointMavenAuthenticationBasicOutput

func (ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicOutputWithContext

func (o ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationBasicOutput

func (ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicPtrOutput

func (o ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicPtrOutput() ServiceendpointMavenAuthenticationBasicPtrOutput

func (ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext

func (o ServiceendpointMavenAuthenticationBasicOutput) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationBasicPtrOutput

func (ServiceendpointMavenAuthenticationBasicOutput) Username

The Username of the Maven Repository.

type ServiceendpointMavenAuthenticationBasicPtrInput

type ServiceendpointMavenAuthenticationBasicPtrInput interface {
	pulumi.Input

	ToServiceendpointMavenAuthenticationBasicPtrOutput() ServiceendpointMavenAuthenticationBasicPtrOutput
	ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext(context.Context) ServiceendpointMavenAuthenticationBasicPtrOutput
}

ServiceendpointMavenAuthenticationBasicPtrInput is an input type that accepts ServiceendpointMavenAuthenticationBasicArgs, ServiceendpointMavenAuthenticationBasicPtr and ServiceendpointMavenAuthenticationBasicPtrOutput values. You can construct a concrete instance of `ServiceendpointMavenAuthenticationBasicPtrInput` via:

        ServiceendpointMavenAuthenticationBasicArgs{...}

or:

        nil

type ServiceendpointMavenAuthenticationBasicPtrOutput

type ServiceendpointMavenAuthenticationBasicPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenAuthenticationBasicPtrOutput) Elem

func (ServiceendpointMavenAuthenticationBasicPtrOutput) ElementType

func (ServiceendpointMavenAuthenticationBasicPtrOutput) Password

The password Maven Repository.

func (ServiceendpointMavenAuthenticationBasicPtrOutput) ToServiceendpointMavenAuthenticationBasicPtrOutput

func (o ServiceendpointMavenAuthenticationBasicPtrOutput) ToServiceendpointMavenAuthenticationBasicPtrOutput() ServiceendpointMavenAuthenticationBasicPtrOutput

func (ServiceendpointMavenAuthenticationBasicPtrOutput) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext

func (o ServiceendpointMavenAuthenticationBasicPtrOutput) ToServiceendpointMavenAuthenticationBasicPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationBasicPtrOutput

func (ServiceendpointMavenAuthenticationBasicPtrOutput) Username

The Username of the Maven Repository.

type ServiceendpointMavenAuthenticationToken

type ServiceendpointMavenAuthenticationToken struct {
	// Authentication Token generated through maven repository.
	Token string `pulumi:"token"`
}

type ServiceendpointMavenAuthenticationTokenArgs

type ServiceendpointMavenAuthenticationTokenArgs struct {
	// Authentication Token generated through maven repository.
	Token pulumi.StringInput `pulumi:"token"`
}

func (ServiceendpointMavenAuthenticationTokenArgs) ElementType

func (ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenOutput

func (i ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenOutput() ServiceendpointMavenAuthenticationTokenOutput

func (ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenOutputWithContext

func (i ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationTokenOutput

func (ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenPtrOutput

func (i ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenPtrOutput() ServiceendpointMavenAuthenticationTokenPtrOutput

func (ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext

func (i ServiceendpointMavenAuthenticationTokenArgs) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationTokenPtrOutput

type ServiceendpointMavenAuthenticationTokenInput

type ServiceendpointMavenAuthenticationTokenInput interface {
	pulumi.Input

	ToServiceendpointMavenAuthenticationTokenOutput() ServiceendpointMavenAuthenticationTokenOutput
	ToServiceendpointMavenAuthenticationTokenOutputWithContext(context.Context) ServiceendpointMavenAuthenticationTokenOutput
}

ServiceendpointMavenAuthenticationTokenInput is an input type that accepts ServiceendpointMavenAuthenticationTokenArgs and ServiceendpointMavenAuthenticationTokenOutput values. You can construct a concrete instance of `ServiceendpointMavenAuthenticationTokenInput` via:

ServiceendpointMavenAuthenticationTokenArgs{...}

type ServiceendpointMavenAuthenticationTokenOutput

type ServiceendpointMavenAuthenticationTokenOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenAuthenticationTokenOutput) ElementType

func (ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenOutput

func (o ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenOutput() ServiceendpointMavenAuthenticationTokenOutput

func (ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenOutputWithContext

func (o ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationTokenOutput

func (ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenPtrOutput

func (o ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenPtrOutput() ServiceendpointMavenAuthenticationTokenPtrOutput

func (ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext

func (o ServiceendpointMavenAuthenticationTokenOutput) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationTokenPtrOutput

func (ServiceendpointMavenAuthenticationTokenOutput) Token

Authentication Token generated through maven repository.

type ServiceendpointMavenAuthenticationTokenPtrInput

type ServiceendpointMavenAuthenticationTokenPtrInput interface {
	pulumi.Input

	ToServiceendpointMavenAuthenticationTokenPtrOutput() ServiceendpointMavenAuthenticationTokenPtrOutput
	ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext(context.Context) ServiceendpointMavenAuthenticationTokenPtrOutput
}

ServiceendpointMavenAuthenticationTokenPtrInput is an input type that accepts ServiceendpointMavenAuthenticationTokenArgs, ServiceendpointMavenAuthenticationTokenPtr and ServiceendpointMavenAuthenticationTokenPtrOutput values. You can construct a concrete instance of `ServiceendpointMavenAuthenticationTokenPtrInput` via:

        ServiceendpointMavenAuthenticationTokenArgs{...}

or:

        nil

type ServiceendpointMavenAuthenticationTokenPtrOutput

type ServiceendpointMavenAuthenticationTokenPtrOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenAuthenticationTokenPtrOutput) Elem

func (ServiceendpointMavenAuthenticationTokenPtrOutput) ElementType

func (ServiceendpointMavenAuthenticationTokenPtrOutput) ToServiceendpointMavenAuthenticationTokenPtrOutput

func (o ServiceendpointMavenAuthenticationTokenPtrOutput) ToServiceendpointMavenAuthenticationTokenPtrOutput() ServiceendpointMavenAuthenticationTokenPtrOutput

func (ServiceendpointMavenAuthenticationTokenPtrOutput) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext

func (o ServiceendpointMavenAuthenticationTokenPtrOutput) ToServiceendpointMavenAuthenticationTokenPtrOutputWithContext(ctx context.Context) ServiceendpointMavenAuthenticationTokenPtrOutput

func (ServiceendpointMavenAuthenticationTokenPtrOutput) Token

Authentication Token generated through maven repository.

type ServiceendpointMavenInput

type ServiceendpointMavenInput interface {
	pulumi.Input

	ToServiceendpointMavenOutput() ServiceendpointMavenOutput
	ToServiceendpointMavenOutputWithContext(ctx context.Context) ServiceendpointMavenOutput
}

type ServiceendpointMavenMap

type ServiceendpointMavenMap map[string]ServiceendpointMavenInput

func (ServiceendpointMavenMap) ElementType

func (ServiceendpointMavenMap) ElementType() reflect.Type

func (ServiceendpointMavenMap) ToServiceendpointMavenMapOutput

func (i ServiceendpointMavenMap) ToServiceendpointMavenMapOutput() ServiceendpointMavenMapOutput

func (ServiceendpointMavenMap) ToServiceendpointMavenMapOutputWithContext

func (i ServiceendpointMavenMap) ToServiceendpointMavenMapOutputWithContext(ctx context.Context) ServiceendpointMavenMapOutput

type ServiceendpointMavenMapInput

type ServiceendpointMavenMapInput interface {
	pulumi.Input

	ToServiceendpointMavenMapOutput() ServiceendpointMavenMapOutput
	ToServiceendpointMavenMapOutputWithContext(context.Context) ServiceendpointMavenMapOutput
}

ServiceendpointMavenMapInput is an input type that accepts ServiceendpointMavenMap and ServiceendpointMavenMapOutput values. You can construct a concrete instance of `ServiceendpointMavenMapInput` via:

ServiceendpointMavenMap{ "key": ServiceendpointMavenArgs{...} }

type ServiceendpointMavenMapOutput

type ServiceendpointMavenMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenMapOutput) ElementType

func (ServiceendpointMavenMapOutput) MapIndex

func (ServiceendpointMavenMapOutput) ToServiceendpointMavenMapOutput

func (o ServiceendpointMavenMapOutput) ToServiceendpointMavenMapOutput() ServiceendpointMavenMapOutput

func (ServiceendpointMavenMapOutput) ToServiceendpointMavenMapOutputWithContext

func (o ServiceendpointMavenMapOutput) ToServiceendpointMavenMapOutputWithContext(ctx context.Context) ServiceendpointMavenMapOutput

type ServiceendpointMavenOutput

type ServiceendpointMavenOutput struct{ *pulumi.OutputState }

func (ServiceendpointMavenOutput) AuthenticationBasic

A `authenticationBasic` block as documented below.

func (ServiceendpointMavenOutput) AuthenticationToken

A `authenticationToken` block as documented below.

func (ServiceendpointMavenOutput) Authorization

func (ServiceendpointMavenOutput) Description

func (ServiceendpointMavenOutput) ElementType

func (ServiceendpointMavenOutput) ElementType() reflect.Type

func (ServiceendpointMavenOutput) ProjectId

The ID of the project. Changing this forces a new Service Connection Maven to be created.

func (ServiceendpointMavenOutput) RepositoryId

The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.

func (ServiceendpointMavenOutput) ServiceEndpointName

func (o ServiceendpointMavenOutput) ServiceEndpointName() pulumi.StringOutput

The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.

func (ServiceendpointMavenOutput) ToServiceendpointMavenOutput

func (o ServiceendpointMavenOutput) ToServiceendpointMavenOutput() ServiceendpointMavenOutput

func (ServiceendpointMavenOutput) ToServiceendpointMavenOutputWithContext

func (o ServiceendpointMavenOutput) ToServiceendpointMavenOutputWithContext(ctx context.Context) ServiceendpointMavenOutput

func (ServiceendpointMavenOutput) Url

The URL of the Maven Repository.

type ServiceendpointMavenState

type ServiceendpointMavenState struct {
	// A `authenticationBasic` block as documented below.
	AuthenticationBasic ServiceendpointMavenAuthenticationBasicPtrInput
	// A `authenticationToken` block as documented below.
	AuthenticationToken ServiceendpointMavenAuthenticationTokenPtrInput
	Authorization       pulumi.StringMapInput
	Description         pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Maven to be created.
	ProjectId pulumi.StringPtrInput
	// The ID of the server that matches the id element of the `repository/mirror` that Maven tries to connect to.
	RepositoryId pulumi.StringPtrInput
	// The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
	ServiceEndpointName pulumi.StringPtrInput
	// The URL of the Maven Repository.
	Url pulumi.StringPtrInput
}

func (ServiceendpointMavenState) ElementType

func (ServiceendpointMavenState) ElementType() reflect.Type

type ServiceendpointNexus

type ServiceendpointNexus struct {
	pulumi.CustomResourceState

	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The Service Endpoint password to authenticate at the Nexus IQ Instance.
	Password pulumi.StringOutput `pulumi:"password"`
	// The ID of the project. Changing this forces a new Service Connection Nexus to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The Service Endpoint url.
	Url pulumi.StringOutput `pulumi:"url"`
	// The Service Endpoint username to authenticate at the Nexus IQ Instance.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Nexus IQ service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Nexus IQ instance. Nexus IQ is not supported by default, to manage a nexus service connection resource, it is necessary to install the [Nexus Extension](https://marketplace.visualstudio.com/items?itemName=SonatypeIntegrations.nexus-iq-azure-extension) in Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointNexus(ctx, "exampleServiceendpointNexus", &azuredevops.ServiceendpointNexusArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("nexus-example"),
			Description:         pulumi.String("Service Endpoint for 'Nexus IQ' (Managed by Terraform)"),
			Url:                 pulumi.String("https://example.com"),
			Username:            pulumi.String("username"),
			Password:            pulumi.String("password"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Service Connection Nexus can be imported using the `projectId/id` or or `projectName/id`, e.g.

```sh $ pulumi import azuredevops:index/serviceendpointNexus:ServiceendpointNexus example projectName/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointNexus

func GetServiceendpointNexus(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointNexusState, opts ...pulumi.ResourceOption) (*ServiceendpointNexus, error)

GetServiceendpointNexus gets an existing ServiceendpointNexus 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 NewServiceendpointNexus

func NewServiceendpointNexus(ctx *pulumi.Context,
	name string, args *ServiceendpointNexusArgs, opts ...pulumi.ResourceOption) (*ServiceendpointNexus, error)

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

func (*ServiceendpointNexus) ElementType

func (*ServiceendpointNexus) ElementType() reflect.Type

func (*ServiceendpointNexus) ToServiceendpointNexusOutput

func (i *ServiceendpointNexus) ToServiceendpointNexusOutput() ServiceendpointNexusOutput

func (*ServiceendpointNexus) ToServiceendpointNexusOutputWithContext

func (i *ServiceendpointNexus) ToServiceendpointNexusOutputWithContext(ctx context.Context) ServiceendpointNexusOutput

type ServiceendpointNexusArgs

type ServiceendpointNexusArgs struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The Service Endpoint password to authenticate at the Nexus IQ Instance.
	Password pulumi.StringInput
	// The ID of the project. Changing this forces a new Service Connection Nexus to be created.
	ProjectId pulumi.StringInput
	// The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
	ServiceEndpointName pulumi.StringInput
	// The Service Endpoint url.
	Url pulumi.StringInput
	// The Service Endpoint username to authenticate at the Nexus IQ Instance.
	Username pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointNexus resource.

func (ServiceendpointNexusArgs) ElementType

func (ServiceendpointNexusArgs) ElementType() reflect.Type

type ServiceendpointNexusArray

type ServiceendpointNexusArray []ServiceendpointNexusInput

func (ServiceendpointNexusArray) ElementType

func (ServiceendpointNexusArray) ElementType() reflect.Type

func (ServiceendpointNexusArray) ToServiceendpointNexusArrayOutput

func (i ServiceendpointNexusArray) ToServiceendpointNexusArrayOutput() ServiceendpointNexusArrayOutput

func (ServiceendpointNexusArray) ToServiceendpointNexusArrayOutputWithContext

func (i ServiceendpointNexusArray) ToServiceendpointNexusArrayOutputWithContext(ctx context.Context) ServiceendpointNexusArrayOutput

type ServiceendpointNexusArrayInput

type ServiceendpointNexusArrayInput interface {
	pulumi.Input

	ToServiceendpointNexusArrayOutput() ServiceendpointNexusArrayOutput
	ToServiceendpointNexusArrayOutputWithContext(context.Context) ServiceendpointNexusArrayOutput
}

ServiceendpointNexusArrayInput is an input type that accepts ServiceendpointNexusArray and ServiceendpointNexusArrayOutput values. You can construct a concrete instance of `ServiceendpointNexusArrayInput` via:

ServiceendpointNexusArray{ ServiceendpointNexusArgs{...} }

type ServiceendpointNexusArrayOutput

type ServiceendpointNexusArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointNexusArrayOutput) ElementType

func (ServiceendpointNexusArrayOutput) Index

func (ServiceendpointNexusArrayOutput) ToServiceendpointNexusArrayOutput

func (o ServiceendpointNexusArrayOutput) ToServiceendpointNexusArrayOutput() ServiceendpointNexusArrayOutput

func (ServiceendpointNexusArrayOutput) ToServiceendpointNexusArrayOutputWithContext

func (o ServiceendpointNexusArrayOutput) ToServiceendpointNexusArrayOutputWithContext(ctx context.Context) ServiceendpointNexusArrayOutput

type ServiceendpointNexusInput

type ServiceendpointNexusInput interface {
	pulumi.Input

	ToServiceendpointNexusOutput() ServiceendpointNexusOutput
	ToServiceendpointNexusOutputWithContext(ctx context.Context) ServiceendpointNexusOutput
}

type ServiceendpointNexusMap

type ServiceendpointNexusMap map[string]ServiceendpointNexusInput

func (ServiceendpointNexusMap) ElementType

func (ServiceendpointNexusMap) ElementType() reflect.Type

func (ServiceendpointNexusMap) ToServiceendpointNexusMapOutput

func (i ServiceendpointNexusMap) ToServiceendpointNexusMapOutput() ServiceendpointNexusMapOutput

func (ServiceendpointNexusMap) ToServiceendpointNexusMapOutputWithContext

func (i ServiceendpointNexusMap) ToServiceendpointNexusMapOutputWithContext(ctx context.Context) ServiceendpointNexusMapOutput

type ServiceendpointNexusMapInput

type ServiceendpointNexusMapInput interface {
	pulumi.Input

	ToServiceendpointNexusMapOutput() ServiceendpointNexusMapOutput
	ToServiceendpointNexusMapOutputWithContext(context.Context) ServiceendpointNexusMapOutput
}

ServiceendpointNexusMapInput is an input type that accepts ServiceendpointNexusMap and ServiceendpointNexusMapOutput values. You can construct a concrete instance of `ServiceendpointNexusMapInput` via:

ServiceendpointNexusMap{ "key": ServiceendpointNexusArgs{...} }

type ServiceendpointNexusMapOutput

type ServiceendpointNexusMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointNexusMapOutput) ElementType

func (ServiceendpointNexusMapOutput) MapIndex

func (ServiceendpointNexusMapOutput) ToServiceendpointNexusMapOutput

func (o ServiceendpointNexusMapOutput) ToServiceendpointNexusMapOutput() ServiceendpointNexusMapOutput

func (ServiceendpointNexusMapOutput) ToServiceendpointNexusMapOutputWithContext

func (o ServiceendpointNexusMapOutput) ToServiceendpointNexusMapOutputWithContext(ctx context.Context) ServiceendpointNexusMapOutput

type ServiceendpointNexusOutput

type ServiceendpointNexusOutput struct{ *pulumi.OutputState }

func (ServiceendpointNexusOutput) Authorization

func (ServiceendpointNexusOutput) Description

func (ServiceendpointNexusOutput) ElementType

func (ServiceendpointNexusOutput) ElementType() reflect.Type

func (ServiceendpointNexusOutput) Password

The Service Endpoint password to authenticate at the Nexus IQ Instance.

func (ServiceendpointNexusOutput) ProjectId

The ID of the project. Changing this forces a new Service Connection Nexus to be created.

func (ServiceendpointNexusOutput) ServiceEndpointName

func (o ServiceendpointNexusOutput) ServiceEndpointName() pulumi.StringOutput

The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.

func (ServiceendpointNexusOutput) ToServiceendpointNexusOutput

func (o ServiceendpointNexusOutput) ToServiceendpointNexusOutput() ServiceendpointNexusOutput

func (ServiceendpointNexusOutput) ToServiceendpointNexusOutputWithContext

func (o ServiceendpointNexusOutput) ToServiceendpointNexusOutputWithContext(ctx context.Context) ServiceendpointNexusOutput

func (ServiceendpointNexusOutput) Url

The Service Endpoint url.

func (ServiceendpointNexusOutput) Username

The Service Endpoint username to authenticate at the Nexus IQ Instance.

type ServiceendpointNexusState

type ServiceendpointNexusState struct {
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The Service Endpoint password to authenticate at the Nexus IQ Instance.
	Password pulumi.StringPtrInput
	// The ID of the project. Changing this forces a new Service Connection Nexus to be created.
	ProjectId pulumi.StringPtrInput
	// The name of the service endpoint. Changing this forces a new Service Connection Nexus to be created.
	ServiceEndpointName pulumi.StringPtrInput
	// The Service Endpoint url.
	Url pulumi.StringPtrInput
	// The Service Endpoint username to authenticate at the Nexus IQ Instance.
	Username pulumi.StringPtrInput
}

func (ServiceendpointNexusState) ElementType

func (ServiceendpointNexusState) ElementType() reflect.Type

type ServiceendpointNuget

type ServiceendpointNuget struct {
	pulumi.CustomResourceState

	// The API Key used to connect to the endpoint.
	ApiKey        pulumi.StringPtrOutput `pulumi:"apiKey"`
	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// The URL for the feed. This will generally end with `index.json`.
	FeedUrl pulumi.StringOutput `pulumi:"feedUrl"`
	// The account password used to connect to the endpoint
	//
	// > **Note** Only one of `apiKey` or `personalAccessToken` or  `username`, `password` can be set at the same time.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The Personal access token used to  connect to the endpoint. Personal access tokens are applicable only for NuGet feeds hosted on other Azure DevOps Services organizations or Azure DevOps Server 2019 (or later).
	PersonalAccessToken pulumi.StringPtrOutput `pulumi:"personalAccessToken"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// The account username used to connect to the endpoint.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

Manages a NuGet service endpoint within Azure DevOps.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointNuget(ctx, "exampleServiceendpointNuget", &azuredevops.ServiceendpointNugetArgs{
			ProjectId:           exampleProject.ID(),
			ApiKey:              pulumi.String("apikey"),
			ServiceEndpointName: pulumi.String("Example NuGet"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint NuGet can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceendpointNuget:ServiceendpointNuget example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointNuget

func GetServiceendpointNuget(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointNugetState, opts ...pulumi.ResourceOption) (*ServiceendpointNuget, error)

GetServiceendpointNuget gets an existing ServiceendpointNuget 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 NewServiceendpointNuget

func NewServiceendpointNuget(ctx *pulumi.Context,
	name string, args *ServiceendpointNugetArgs, opts ...pulumi.ResourceOption) (*ServiceendpointNuget, error)

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

func (*ServiceendpointNuget) ElementType

func (*ServiceendpointNuget) ElementType() reflect.Type

func (*ServiceendpointNuget) ToServiceendpointNugetOutput

func (i *ServiceendpointNuget) ToServiceendpointNugetOutput() ServiceendpointNugetOutput

func (*ServiceendpointNuget) ToServiceendpointNugetOutputWithContext

func (i *ServiceendpointNuget) ToServiceendpointNugetOutputWithContext(ctx context.Context) ServiceendpointNugetOutput

type ServiceendpointNugetArgs

type ServiceendpointNugetArgs struct {
	// The API Key used to connect to the endpoint.
	ApiKey        pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The URL for the feed. This will generally end with `index.json`.
	FeedUrl pulumi.StringInput
	// The account password used to connect to the endpoint
	//
	// > **Note** Only one of `apiKey` or `personalAccessToken` or  `username`, `password` can be set at the same time.
	Password pulumi.StringPtrInput
	// The Personal access token used to  connect to the endpoint. Personal access tokens are applicable only for NuGet feeds hosted on other Azure DevOps Services organizations or Azure DevOps Server 2019 (or later).
	PersonalAccessToken pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// The account username used to connect to the endpoint.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceendpointNuget resource.

func (ServiceendpointNugetArgs) ElementType

func (ServiceendpointNugetArgs) ElementType() reflect.Type

type ServiceendpointNugetArray

type ServiceendpointNugetArray []ServiceendpointNugetInput

func (ServiceendpointNugetArray) ElementType

func (ServiceendpointNugetArray) ElementType() reflect.Type

func (ServiceendpointNugetArray) ToServiceendpointNugetArrayOutput

func (i ServiceendpointNugetArray) ToServiceendpointNugetArrayOutput() ServiceendpointNugetArrayOutput

func (ServiceendpointNugetArray) ToServiceendpointNugetArrayOutputWithContext

func (i ServiceendpointNugetArray) ToServiceendpointNugetArrayOutputWithContext(ctx context.Context) ServiceendpointNugetArrayOutput

type ServiceendpointNugetArrayInput

type ServiceendpointNugetArrayInput interface {
	pulumi.Input

	ToServiceendpointNugetArrayOutput() ServiceendpointNugetArrayOutput
	ToServiceendpointNugetArrayOutputWithContext(context.Context) ServiceendpointNugetArrayOutput
}

ServiceendpointNugetArrayInput is an input type that accepts ServiceendpointNugetArray and ServiceendpointNugetArrayOutput values. You can construct a concrete instance of `ServiceendpointNugetArrayInput` via:

ServiceendpointNugetArray{ ServiceendpointNugetArgs{...} }

type ServiceendpointNugetArrayOutput

type ServiceendpointNugetArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointNugetArrayOutput) ElementType

func (ServiceendpointNugetArrayOutput) Index

func (ServiceendpointNugetArrayOutput) ToServiceendpointNugetArrayOutput

func (o ServiceendpointNugetArrayOutput) ToServiceendpointNugetArrayOutput() ServiceendpointNugetArrayOutput

func (ServiceendpointNugetArrayOutput) ToServiceendpointNugetArrayOutputWithContext

func (o ServiceendpointNugetArrayOutput) ToServiceendpointNugetArrayOutputWithContext(ctx context.Context) ServiceendpointNugetArrayOutput

type ServiceendpointNugetInput

type ServiceendpointNugetInput interface {
	pulumi.Input

	ToServiceendpointNugetOutput() ServiceendpointNugetOutput
	ToServiceendpointNugetOutputWithContext(ctx context.Context) ServiceendpointNugetOutput
}

type ServiceendpointNugetMap

type ServiceendpointNugetMap map[string]ServiceendpointNugetInput

func (ServiceendpointNugetMap) ElementType

func (ServiceendpointNugetMap) ElementType() reflect.Type

func (ServiceendpointNugetMap) ToServiceendpointNugetMapOutput

func (i ServiceendpointNugetMap) ToServiceendpointNugetMapOutput() ServiceendpointNugetMapOutput

func (ServiceendpointNugetMap) ToServiceendpointNugetMapOutputWithContext

func (i ServiceendpointNugetMap) ToServiceendpointNugetMapOutputWithContext(ctx context.Context) ServiceendpointNugetMapOutput

type ServiceendpointNugetMapInput

type ServiceendpointNugetMapInput interface {
	pulumi.Input

	ToServiceendpointNugetMapOutput() ServiceendpointNugetMapOutput
	ToServiceendpointNugetMapOutputWithContext(context.Context) ServiceendpointNugetMapOutput
}

ServiceendpointNugetMapInput is an input type that accepts ServiceendpointNugetMap and ServiceendpointNugetMapOutput values. You can construct a concrete instance of `ServiceendpointNugetMapInput` via:

ServiceendpointNugetMap{ "key": ServiceendpointNugetArgs{...} }

type ServiceendpointNugetMapOutput

type ServiceendpointNugetMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointNugetMapOutput) ElementType

func (ServiceendpointNugetMapOutput) MapIndex

func (ServiceendpointNugetMapOutput) ToServiceendpointNugetMapOutput

func (o ServiceendpointNugetMapOutput) ToServiceendpointNugetMapOutput() ServiceendpointNugetMapOutput

func (ServiceendpointNugetMapOutput) ToServiceendpointNugetMapOutputWithContext

func (o ServiceendpointNugetMapOutput) ToServiceendpointNugetMapOutputWithContext(ctx context.Context) ServiceendpointNugetMapOutput

type ServiceendpointNugetOutput

type ServiceendpointNugetOutput struct{ *pulumi.OutputState }

func (ServiceendpointNugetOutput) ApiKey

The API Key used to connect to the endpoint.

func (ServiceendpointNugetOutput) Authorization

func (ServiceendpointNugetOutput) Description

func (ServiceendpointNugetOutput) ElementType

func (ServiceendpointNugetOutput) ElementType() reflect.Type

func (ServiceendpointNugetOutput) FeedUrl

The URL for the feed. This will generally end with `index.json`.

func (ServiceendpointNugetOutput) Password

The account password used to connect to the endpoint

> **Note** Only one of `apiKey` or `personalAccessToken` or `username`, `password` can be set at the same time.

func (ServiceendpointNugetOutput) PersonalAccessToken

func (o ServiceendpointNugetOutput) PersonalAccessToken() pulumi.StringPtrOutput

The Personal access token used to connect to the endpoint. Personal access tokens are applicable only for NuGet feeds hosted on other Azure DevOps Services organizations or Azure DevOps Server 2019 (or later).

func (ServiceendpointNugetOutput) ProjectId

The ID of the project.

func (ServiceendpointNugetOutput) ServiceEndpointName

func (o ServiceendpointNugetOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointNugetOutput) ToServiceendpointNugetOutput

func (o ServiceendpointNugetOutput) ToServiceendpointNugetOutput() ServiceendpointNugetOutput

func (ServiceendpointNugetOutput) ToServiceendpointNugetOutputWithContext

func (o ServiceendpointNugetOutput) ToServiceendpointNugetOutputWithContext(ctx context.Context) ServiceendpointNugetOutput

func (ServiceendpointNugetOutput) Username

The account username used to connect to the endpoint.

type ServiceendpointNugetState

type ServiceendpointNugetState struct {
	// The API Key used to connect to the endpoint.
	ApiKey        pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// The URL for the feed. This will generally end with `index.json`.
	FeedUrl pulumi.StringPtrInput
	// The account password used to connect to the endpoint
	//
	// > **Note** Only one of `apiKey` or `personalAccessToken` or  `username`, `password` can be set at the same time.
	Password pulumi.StringPtrInput
	// The Personal access token used to  connect to the endpoint. Personal access tokens are applicable only for NuGet feeds hosted on other Azure DevOps Services organizations or Azure DevOps Server 2019 (or later).
	PersonalAccessToken pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// The account username used to connect to the endpoint.
	Username pulumi.StringPtrInput
}

func (ServiceendpointNugetState) ElementType

func (ServiceendpointNugetState) ElementType() reflect.Type

type ServiceendpointOctopusdeploy

type ServiceendpointOctopusdeploy struct {
	pulumi.CustomResourceState

	// API key to connect to Octopus Deploy.
	ApiKey        pulumi.StringOutput    `pulumi:"apiKey"`
	Authorization pulumi.StringMapOutput `pulumi:"authorization"`
	Description   pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to ignore SSL errors when connecting to the Octopus server from the agent. Default to `false`.
	IgnoreSslError pulumi.BoolPtrOutput `pulumi:"ignoreSslError"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringOutput `pulumi:"serviceEndpointName"`
	// Octopus Server url.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages an Octopus Deploy service endpoint within Azure DevOps. Using this service endpoint requires you to install [Octopus Deploy](https://marketplace.visualstudio.com/items?itemName=octopusdeploy.octopus-deploy-build-release-tasks).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointOctopusdeploy(ctx, "exampleServiceendpointOctopusdeploy", &azuredevops.ServiceendpointOctopusdeployArgs{
			ProjectId:           exampleProject.ID(),
			Url:                 pulumi.String("https://octopus.com"),
			ApiKey:              pulumi.String("000000000000000000000000000000000000"),
			ServiceEndpointName: pulumi.String("Example Octopus Deploy"),
			Description:         pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints?view=azure-devops-rest-7.0)

## Import

Azure DevOps Service Endpoint Octopus Deploy can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**

```sh $ pulumi import azuredevops:index/serviceendpointOctopusdeploy:ServiceendpointOctopusdeploy example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetServiceendpointOctopusdeploy

func GetServiceendpointOctopusdeploy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointOctopusdeployState, opts ...pulumi.ResourceOption) (*ServiceendpointOctopusdeploy, error)

GetServiceendpointOctopusdeploy gets an existing ServiceendpointOctopusdeploy 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 NewServiceendpointOctopusdeploy

func NewServiceendpointOctopusdeploy(ctx *pulumi.Context,
	name string, args *ServiceendpointOctopusdeployArgs, opts ...pulumi.ResourceOption) (*ServiceendpointOctopusdeploy, error)

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

func (*ServiceendpointOctopusdeploy) ElementType

func (*ServiceendpointOctopusdeploy) ElementType() reflect.Type

func (*ServiceendpointOctopusdeploy) ToServiceendpointOctopusdeployOutput

func (i *ServiceendpointOctopusdeploy) ToServiceendpointOctopusdeployOutput() ServiceendpointOctopusdeployOutput

func (*ServiceendpointOctopusdeploy) ToServiceendpointOctopusdeployOutputWithContext

func (i *ServiceendpointOctopusdeploy) ToServiceendpointOctopusdeployOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployOutput

type ServiceendpointOctopusdeployArgs

type ServiceendpointOctopusdeployArgs struct {
	// API key to connect to Octopus Deploy.
	ApiKey        pulumi.StringInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Whether to ignore SSL errors when connecting to the Octopus server from the agent. Default to `false`.
	IgnoreSslError pulumi.BoolPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringInput
	// Octopus Server url.
	Url pulumi.StringInput
}

The set of arguments for constructing a ServiceendpointOctopusdeploy resource.

func (ServiceendpointOctopusdeployArgs) ElementType

type ServiceendpointOctopusdeployArray

type ServiceendpointOctopusdeployArray []ServiceendpointOctopusdeployInput

func (ServiceendpointOctopusdeployArray) ElementType

func (ServiceendpointOctopusdeployArray) ToServiceendpointOctopusdeployArrayOutput

func (i ServiceendpointOctopusdeployArray) ToServiceendpointOctopusdeployArrayOutput() ServiceendpointOctopusdeployArrayOutput

func (ServiceendpointOctopusdeployArray) ToServiceendpointOctopusdeployArrayOutputWithContext

func (i ServiceendpointOctopusdeployArray) ToServiceendpointOctopusdeployArrayOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployArrayOutput

type ServiceendpointOctopusdeployArrayInput

type ServiceendpointOctopusdeployArrayInput interface {
	pulumi.Input

	ToServiceendpointOctopusdeployArrayOutput() ServiceendpointOctopusdeployArrayOutput
	ToServiceendpointOctopusdeployArrayOutputWithContext(context.Context) ServiceendpointOctopusdeployArrayOutput
}

ServiceendpointOctopusdeployArrayInput is an input type that accepts ServiceendpointOctopusdeployArray and ServiceendpointOctopusdeployArrayOutput values. You can construct a concrete instance of `ServiceendpointOctopusdeployArrayInput` via:

ServiceendpointOctopusdeployArray{ ServiceendpointOctopusdeployArgs{...} }

type ServiceendpointOctopusdeployArrayOutput

type ServiceendpointOctopusdeployArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointOctopusdeployArrayOutput) ElementType

func (ServiceendpointOctopusdeployArrayOutput) Index

func (ServiceendpointOctopusdeployArrayOutput) ToServiceendpointOctopusdeployArrayOutput

func (o ServiceendpointOctopusdeployArrayOutput) ToServiceendpointOctopusdeployArrayOutput() ServiceendpointOctopusdeployArrayOutput

func (ServiceendpointOctopusdeployArrayOutput) ToServiceendpointOctopusdeployArrayOutputWithContext

func (o ServiceendpointOctopusdeployArrayOutput) ToServiceendpointOctopusdeployArrayOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployArrayOutput

type ServiceendpointOctopusdeployInput

type ServiceendpointOctopusdeployInput interface {
	pulumi.Input

	ToServiceendpointOctopusdeployOutput() ServiceendpointOctopusdeployOutput
	ToServiceendpointOctopusdeployOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployOutput
}

type ServiceendpointOctopusdeployMap

type ServiceendpointOctopusdeployMap map[string]ServiceendpointOctopusdeployInput

func (ServiceendpointOctopusdeployMap) ElementType

func (ServiceendpointOctopusdeployMap) ToServiceendpointOctopusdeployMapOutput

func (i ServiceendpointOctopusdeployMap) ToServiceendpointOctopusdeployMapOutput() ServiceendpointOctopusdeployMapOutput

func (ServiceendpointOctopusdeployMap) ToServiceendpointOctopusdeployMapOutputWithContext

func (i ServiceendpointOctopusdeployMap) ToServiceendpointOctopusdeployMapOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployMapOutput

type ServiceendpointOctopusdeployMapInput

type ServiceendpointOctopusdeployMapInput interface {
	pulumi.Input

	ToServiceendpointOctopusdeployMapOutput() ServiceendpointOctopusdeployMapOutput
	ToServiceendpointOctopusdeployMapOutputWithContext(context.Context) ServiceendpointOctopusdeployMapOutput
}

ServiceendpointOctopusdeployMapInput is an input type that accepts ServiceendpointOctopusdeployMap and ServiceendpointOctopusdeployMapOutput values. You can construct a concrete instance of `ServiceendpointOctopusdeployMapInput` via:

ServiceendpointOctopusdeployMap{ "key": ServiceendpointOctopusdeployArgs{...} }

type ServiceendpointOctopusdeployMapOutput

type ServiceendpointOctopusdeployMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointOctopusdeployMapOutput) ElementType

func (ServiceendpointOctopusdeployMapOutput) MapIndex

func (ServiceendpointOctopusdeployMapOutput) ToServiceendpointOctopusdeployMapOutput

func (o ServiceendpointOctopusdeployMapOutput) ToServiceendpointOctopusdeployMapOutput() ServiceendpointOctopusdeployMapOutput

func (ServiceendpointOctopusdeployMapOutput) ToServiceendpointOctopusdeployMapOutputWithContext

func (o ServiceendpointOctopusdeployMapOutput) ToServiceendpointOctopusdeployMapOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployMapOutput

type ServiceendpointOctopusdeployOutput

type ServiceendpointOctopusdeployOutput struct{ *pulumi.OutputState }

func (ServiceendpointOctopusdeployOutput) ApiKey

API key to connect to Octopus Deploy.

func (ServiceendpointOctopusdeployOutput) Authorization

func (ServiceendpointOctopusdeployOutput) Description

func (ServiceendpointOctopusdeployOutput) ElementType

func (ServiceendpointOctopusdeployOutput) IgnoreSslError

Whether to ignore SSL errors when connecting to the Octopus server from the agent. Default to `false`.

func (ServiceendpointOctopusdeployOutput) ProjectId

The ID of the project.

func (ServiceendpointOctopusdeployOutput) ServiceEndpointName

func (o ServiceendpointOctopusdeployOutput) ServiceEndpointName() pulumi.StringOutput

The Service Endpoint name.

func (ServiceendpointOctopusdeployOutput) ToServiceendpointOctopusdeployOutput

func (o ServiceendpointOctopusdeployOutput) ToServiceendpointOctopusdeployOutput() ServiceendpointOctopusdeployOutput

func (ServiceendpointOctopusdeployOutput) ToServiceendpointOctopusdeployOutputWithContext

func (o ServiceendpointOctopusdeployOutput) ToServiceendpointOctopusdeployOutputWithContext(ctx context.Context) ServiceendpointOctopusdeployOutput

func (ServiceendpointOctopusdeployOutput) Url

Octopus Server url.

type ServiceendpointOctopusdeployState

type ServiceendpointOctopusdeployState struct {
	// API key to connect to Octopus Deploy.
	ApiKey        pulumi.StringPtrInput
	Authorization pulumi.StringMapInput
	Description   pulumi.StringPtrInput
	// Whether to ignore SSL errors when connecting to the Octopus server from the agent. Default to `false`.
	IgnoreSslError pulumi.BoolPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// The Service Endpoint name.
	ServiceEndpointName pulumi.StringPtrInput
	// Octopus Server url.
	Url pulumi.StringPtrInput
}

func (ServiceendpointOctopusdeployState) ElementType

type ServiceendpointPermissions

type ServiceendpointPermissions 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.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | Use               | Use service endpoint                |
	// | Administer        | Full control over service endpoints |
	// | Create            | Create service endpoints            |
	// | ViewAuthorization | View authorizations                 |
	// | ViewEndpoint      | View service endpoint properties    |
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
	// The id of the service endpoint to assign the permissions.
	ServiceendpointId pulumi.StringPtrOutput `pulumi:"serviceendpointId"`
}

Manages permissions for a Service Endpoint

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

## Permission levels

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

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewServiceendpointPermissions(ctx, "example-root-permissions", &azuredevops.ServiceendpointPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"Use":               pulumi.String("allow"),
				"Administer":        pulumi.String("allow"),
				"Create":            pulumi.String("allow"),
				"ViewAuthorization": pulumi.String("allow"),
				"ViewEndpoint":      pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointDockerRegistry, err := azuredevops.NewServiceEndpointDockerRegistry(ctx, "exampleServiceEndpointDockerRegistry", &azuredevops.ServiceEndpointDockerRegistryArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example Docker Hub"),
			DockerUsername:      pulumi.String("username"),
			DockerEmail:         pulumi.String("email@example.com"),
			DockerPassword:      pulumi.String("password"),
			RegistryType:        pulumi.String("DockerHub"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointPermissions(ctx, "example-permissions", &azuredevops.ServiceendpointPermissionsArgs{
			ProjectId: exampleProject.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			ServiceendpointId: exampleServiceEndpointDockerRegistry.ID(),
			Permissions: pulumi.StringMap{
				"Use":               pulumi.String("allow"),
				"Administer":        pulumi.String("deny"),
				"Create":            pulumi.String("deny"),
				"ViewAuthorization": pulumi.String("allow"),
				"ViewEndpoint":      pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetServiceendpointPermissions

func GetServiceendpointPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceendpointPermissionsState, opts ...pulumi.ResourceOption) (*ServiceendpointPermissions, error)

GetServiceendpointPermissions gets an existing ServiceendpointPermissions 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 NewServiceendpointPermissions

func NewServiceendpointPermissions(ctx *pulumi.Context,
	name string, args *ServiceendpointPermissionsArgs, opts ...pulumi.ResourceOption) (*ServiceendpointPermissions, error)

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

func (*ServiceendpointPermissions) ElementType

func (*ServiceendpointPermissions) ElementType() reflect.Type

func (*ServiceendpointPermissions) ToServiceendpointPermissionsOutput

func (i *ServiceendpointPermissions) ToServiceendpointPermissionsOutput() ServiceendpointPermissionsOutput

func (*ServiceendpointPermissions) ToServiceendpointPermissionsOutputWithContext

func (i *ServiceendpointPermissions) ToServiceendpointPermissionsOutputWithContext(ctx context.Context) ServiceendpointPermissionsOutput

type ServiceendpointPermissionsArgs

type ServiceendpointPermissionsArgs 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.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | Use               | Use service endpoint                |
	// | Administer        | Full control over service endpoints |
	// | Create            | Create service endpoints            |
	// | ViewAuthorization | View authorizations                 |
	// | ViewEndpoint      | View service endpoint properties    |
	Replace pulumi.BoolPtrInput
	// The id of the service endpoint to assign the permissions.
	ServiceendpointId pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceendpointPermissions resource.

func (ServiceendpointPermissionsArgs) ElementType

type ServiceendpointPermissionsArray

type ServiceendpointPermissionsArray []ServiceendpointPermissionsInput

func (ServiceendpointPermissionsArray) ElementType

func (ServiceendpointPermissionsArray) ToServiceendpointPermissionsArrayOutput

func (i ServiceendpointPermissionsArray) ToServiceendpointPermissionsArrayOutput() ServiceendpointPermissionsArrayOutput

func (ServiceendpointPermissionsArray) ToServiceendpointPermissionsArrayOutputWithContext

func (i ServiceendpointPermissionsArray) ToServiceendpointPermissionsArrayOutputWithContext(ctx context.Context) ServiceendpointPermissionsArrayOutput

type ServiceendpointPermissionsArrayInput

type ServiceendpointPermissionsArrayInput interface {
	pulumi.Input

	ToServiceendpointPermissionsArrayOutput() ServiceendpointPermissionsArrayOutput
	ToServiceendpointPermissionsArrayOutputWithContext(context.Context) ServiceendpointPermissionsArrayOutput
}

ServiceendpointPermissionsArrayInput is an input type that accepts ServiceendpointPermissionsArray and ServiceendpointPermissionsArrayOutput values. You can construct a concrete instance of `ServiceendpointPermissionsArrayInput` via:

ServiceendpointPermissionsArray{ ServiceendpointPermissionsArgs{...} }

type ServiceendpointPermissionsArrayOutput

type ServiceendpointPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ServiceendpointPermissionsArrayOutput) ElementType

func (ServiceendpointPermissionsArrayOutput) Index

func (ServiceendpointPermissionsArrayOutput) ToServiceendpointPermissionsArrayOutput

func (o ServiceendpointPermissionsArrayOutput) ToServiceendpointPermissionsArrayOutput() ServiceendpointPermissionsArrayOutput

func (ServiceendpointPermissionsArrayOutput) ToServiceendpointPermissionsArrayOutputWithContext

func (o ServiceendpointPermissionsArrayOutput) ToServiceendpointPermissionsArrayOutputWithContext(ctx context.Context) ServiceendpointPermissionsArrayOutput

type ServiceendpointPermissionsInput

type ServiceendpointPermissionsInput interface {
	pulumi.Input

	ToServiceendpointPermissionsOutput() ServiceendpointPermissionsOutput
	ToServiceendpointPermissionsOutputWithContext(ctx context.Context) ServiceendpointPermissionsOutput
}

type ServiceendpointPermissionsMap

type ServiceendpointPermissionsMap map[string]ServiceendpointPermissionsInput

func (ServiceendpointPermissionsMap) ElementType

func (ServiceendpointPermissionsMap) ToServiceendpointPermissionsMapOutput

func (i ServiceendpointPermissionsMap) ToServiceendpointPermissionsMapOutput() ServiceendpointPermissionsMapOutput

func (ServiceendpointPermissionsMap) ToServiceendpointPermissionsMapOutputWithContext

func (i ServiceendpointPermissionsMap) ToServiceendpointPermissionsMapOutputWithContext(ctx context.Context) ServiceendpointPermissionsMapOutput

type ServiceendpointPermissionsMapInput

type ServiceendpointPermissionsMapInput interface {
	pulumi.Input

	ToServiceendpointPermissionsMapOutput() ServiceendpointPermissionsMapOutput
	ToServiceendpointPermissionsMapOutputWithContext(context.Context) ServiceendpointPermissionsMapOutput
}

ServiceendpointPermissionsMapInput is an input type that accepts ServiceendpointPermissionsMap and ServiceendpointPermissionsMapOutput values. You can construct a concrete instance of `ServiceendpointPermissionsMapInput` via:

ServiceendpointPermissionsMap{ "key": ServiceendpointPermissionsArgs{...} }

type ServiceendpointPermissionsMapOutput

type ServiceendpointPermissionsMapOutput struct{ *pulumi.OutputState }

func (ServiceendpointPermissionsMapOutput) ElementType

func (ServiceendpointPermissionsMapOutput) MapIndex

func (ServiceendpointPermissionsMapOutput) ToServiceendpointPermissionsMapOutput

func (o ServiceendpointPermissionsMapOutput) ToServiceendpointPermissionsMapOutput() ServiceendpointPermissionsMapOutput

func (ServiceendpointPermissionsMapOutput) ToServiceendpointPermissionsMapOutputWithContext

func (o ServiceendpointPermissionsMapOutput) ToServiceendpointPermissionsMapOutputWithContext(ctx context.Context) ServiceendpointPermissionsMapOutput

type ServiceendpointPermissionsOutput

type ServiceendpointPermissionsOutput struct{ *pulumi.OutputState }

func (ServiceendpointPermissionsOutput) ElementType

func (ServiceendpointPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (ServiceendpointPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (ServiceendpointPermissionsOutput) ProjectId

The ID of the project.

func (ServiceendpointPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Permission | Description | | ----------------- | ----------------------------------- | | Use | Use service endpoint | | Administer | Full control over service endpoints | | Create | Create service endpoints | | ViewAuthorization | View authorizations | | ViewEndpoint | View service endpoint properties |

func (ServiceendpointPermissionsOutput) ServiceendpointId

The id of the service endpoint to assign the permissions.

func (ServiceendpointPermissionsOutput) ToServiceendpointPermissionsOutput

func (o ServiceendpointPermissionsOutput) ToServiceendpointPermissionsOutput() ServiceendpointPermissionsOutput

func (ServiceendpointPermissionsOutput) ToServiceendpointPermissionsOutputWithContext

func (o ServiceendpointPermissionsOutput) ToServiceendpointPermissionsOutputWithContext(ctx context.Context) ServiceendpointPermissionsOutput

type ServiceendpointPermissionsState

type ServiceendpointPermissionsState 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.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | Use               | Use service endpoint                |
	// | Administer        | Full control over service endpoints |
	// | Create            | Create service endpoints            |
	// | ViewAuthorization | View authorizations                 |
	// | ViewEndpoint      | View service endpoint properties    |
	Replace pulumi.BoolPtrInput
	// The id of the service endpoint to assign the permissions.
	ServiceendpointId pulumi.StringPtrInput
}

func (ServiceendpointPermissionsState) ElementType

type ServicehookPermissions

type ServicehookPermissions 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.
	ProjectId pulumi.StringPtrOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description   |
	// | ------------------ | ------------------------ |
	// | ViewSubscriptions  | View Subscriptions       |
	// | EditSubscriptions  | Edit Subscription        |
	// | DeleteSubscriptions| Delete Subscriptions     |
	// | PublishEvents      | Publish Events           |
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for service hooks

## Permission levels

Permissions for service hooks within Azure DevOps can be applied on the Organizational level or, if the optional attribute `projectId` is specified, on Project level. Those levels are reflected by specifying (or omitting) values for the argument `projectId`.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewServicehookPermissions(ctx, "example-permissions", &azuredevops.ServicehookPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"ViewSubscriptions":   pulumi.String("allow"),
				"EditSubscriptions":   pulumi.String("allow"),
				"DeleteSubscriptions": pulumi.String("allow"),
				"PublishEvents":       pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetServicehookPermissions

func GetServicehookPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServicehookPermissionsState, opts ...pulumi.ResourceOption) (*ServicehookPermissions, error)

GetServicehookPermissions gets an existing ServicehookPermissions 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 NewServicehookPermissions

func NewServicehookPermissions(ctx *pulumi.Context,
	name string, args *ServicehookPermissionsArgs, opts ...pulumi.ResourceOption) (*ServicehookPermissions, error)

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

func (*ServicehookPermissions) ElementType

func (*ServicehookPermissions) ElementType() reflect.Type

func (*ServicehookPermissions) ToServicehookPermissionsOutput

func (i *ServicehookPermissions) ToServicehookPermissionsOutput() ServicehookPermissionsOutput

func (*ServicehookPermissions) ToServicehookPermissionsOutputWithContext

func (i *ServicehookPermissions) ToServicehookPermissionsOutputWithContext(ctx context.Context) ServicehookPermissionsOutput

type ServicehookPermissionsArgs

type ServicehookPermissionsArgs 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.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description   |
	// | ------------------ | ------------------------ |
	// | ViewSubscriptions  | View Subscriptions       |
	// | EditSubscriptions  | Edit Subscription        |
	// | DeleteSubscriptions| Delete Subscriptions     |
	// | PublishEvents      | Publish Events           |
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a ServicehookPermissions resource.

func (ServicehookPermissionsArgs) ElementType

func (ServicehookPermissionsArgs) ElementType() reflect.Type

type ServicehookPermissionsArray

type ServicehookPermissionsArray []ServicehookPermissionsInput

func (ServicehookPermissionsArray) ElementType

func (ServicehookPermissionsArray) ToServicehookPermissionsArrayOutput

func (i ServicehookPermissionsArray) ToServicehookPermissionsArrayOutput() ServicehookPermissionsArrayOutput

func (ServicehookPermissionsArray) ToServicehookPermissionsArrayOutputWithContext

func (i ServicehookPermissionsArray) ToServicehookPermissionsArrayOutputWithContext(ctx context.Context) ServicehookPermissionsArrayOutput

type ServicehookPermissionsArrayInput

type ServicehookPermissionsArrayInput interface {
	pulumi.Input

	ToServicehookPermissionsArrayOutput() ServicehookPermissionsArrayOutput
	ToServicehookPermissionsArrayOutputWithContext(context.Context) ServicehookPermissionsArrayOutput
}

ServicehookPermissionsArrayInput is an input type that accepts ServicehookPermissionsArray and ServicehookPermissionsArrayOutput values. You can construct a concrete instance of `ServicehookPermissionsArrayInput` via:

ServicehookPermissionsArray{ ServicehookPermissionsArgs{...} }

type ServicehookPermissionsArrayOutput

type ServicehookPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ServicehookPermissionsArrayOutput) ElementType

func (ServicehookPermissionsArrayOutput) Index

func (ServicehookPermissionsArrayOutput) ToServicehookPermissionsArrayOutput

func (o ServicehookPermissionsArrayOutput) ToServicehookPermissionsArrayOutput() ServicehookPermissionsArrayOutput

func (ServicehookPermissionsArrayOutput) ToServicehookPermissionsArrayOutputWithContext

func (o ServicehookPermissionsArrayOutput) ToServicehookPermissionsArrayOutputWithContext(ctx context.Context) ServicehookPermissionsArrayOutput

type ServicehookPermissionsInput

type ServicehookPermissionsInput interface {
	pulumi.Input

	ToServicehookPermissionsOutput() ServicehookPermissionsOutput
	ToServicehookPermissionsOutputWithContext(ctx context.Context) ServicehookPermissionsOutput
}

type ServicehookPermissionsMap

type ServicehookPermissionsMap map[string]ServicehookPermissionsInput

func (ServicehookPermissionsMap) ElementType

func (ServicehookPermissionsMap) ElementType() reflect.Type

func (ServicehookPermissionsMap) ToServicehookPermissionsMapOutput

func (i ServicehookPermissionsMap) ToServicehookPermissionsMapOutput() ServicehookPermissionsMapOutput

func (ServicehookPermissionsMap) ToServicehookPermissionsMapOutputWithContext

func (i ServicehookPermissionsMap) ToServicehookPermissionsMapOutputWithContext(ctx context.Context) ServicehookPermissionsMapOutput

type ServicehookPermissionsMapInput

type ServicehookPermissionsMapInput interface {
	pulumi.Input

	ToServicehookPermissionsMapOutput() ServicehookPermissionsMapOutput
	ToServicehookPermissionsMapOutputWithContext(context.Context) ServicehookPermissionsMapOutput
}

ServicehookPermissionsMapInput is an input type that accepts ServicehookPermissionsMap and ServicehookPermissionsMapOutput values. You can construct a concrete instance of `ServicehookPermissionsMapInput` via:

ServicehookPermissionsMap{ "key": ServicehookPermissionsArgs{...} }

type ServicehookPermissionsMapOutput

type ServicehookPermissionsMapOutput struct{ *pulumi.OutputState }

func (ServicehookPermissionsMapOutput) ElementType

func (ServicehookPermissionsMapOutput) MapIndex

func (ServicehookPermissionsMapOutput) ToServicehookPermissionsMapOutput

func (o ServicehookPermissionsMapOutput) ToServicehookPermissionsMapOutput() ServicehookPermissionsMapOutput

func (ServicehookPermissionsMapOutput) ToServicehookPermissionsMapOutputWithContext

func (o ServicehookPermissionsMapOutput) ToServicehookPermissionsMapOutputWithContext(ctx context.Context) ServicehookPermissionsMapOutput

type ServicehookPermissionsOutput

type ServicehookPermissionsOutput struct{ *pulumi.OutputState }

func (ServicehookPermissionsOutput) ElementType

func (ServicehookPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (ServicehookPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (ServicehookPermissionsOutput) ProjectId

The ID of the project.

func (ServicehookPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Name | Permission Description | | ------------------ | ------------------------ | | ViewSubscriptions | View Subscriptions | | EditSubscriptions | Edit Subscription | | DeleteSubscriptions| Delete Subscriptions | | PublishEvents | Publish Events |

func (ServicehookPermissionsOutput) ToServicehookPermissionsOutput

func (o ServicehookPermissionsOutput) ToServicehookPermissionsOutput() ServicehookPermissionsOutput

func (ServicehookPermissionsOutput) ToServicehookPermissionsOutputWithContext

func (o ServicehookPermissionsOutput) ToServicehookPermissionsOutputWithContext(ctx context.Context) ServicehookPermissionsOutput

type ServicehookPermissionsState

type ServicehookPermissionsState 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.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description   |
	// | ------------------ | ------------------------ |
	// | ViewSubscriptions  | View Subscriptions       |
	// | EditSubscriptions  | Edit Subscription        |
	// | DeleteSubscriptions| Delete Subscriptions     |
	// | PublishEvents      | Publish Events           |
	Replace pulumi.BoolPtrInput
}

func (ServicehookPermissionsState) ElementType

type ServicehookStorageQueuePipelines

type ServicehookStorageQueuePipelines struct {
	pulumi.CustomResourceState

	// A valid account key from the queue's storage account.
	AccountKey pulumi.StringOutput `pulumi:"accountKey"`
	// The queue's storage account name.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The name of the queue that will store the events.
	QueueName pulumi.StringOutput `pulumi:"queueName"`
	// A `runStateChangedEvent` block as defined below. Conflicts with `stageStateChangedEvent`
	RunStateChangedEvent ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput `pulumi:"runStateChangedEvent"`
	// A `stageStateChangedEvent` block as defined below. Conflicts with `runStateChangedEvent`
	//
	// > **Note** At least one of `runStateChangedEvent` and `stageStateChangedEvent` has to be set.
	StageStateChangedEvent ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput `pulumi:"stageStateChangedEvent"`
	// event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to `604800`.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to `0`.
	VisiTimeout pulumi.IntPtrOutput `pulumi:"visiTimeout"`
}

Manages a Service Hook Storage Queue Pipelines.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleQueue, err := storage.NewQueue(ctx, "exampleQueue", &storage.QueueArgs{
			StorageAccountName: exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServicehookStorageQueuePipelines(ctx, "exampleServicehookStorageQueuePipelines", &azuredevops.ServicehookStorageQueuePipelinesArgs{
			ProjectId:   exampleProject.ID(),
			AccountName: exampleAccount.Name,
			AccountKey:  exampleAccount.PrimaryAccessKey,
			QueueName:   exampleQueue.Name,
			VisiTimeout: pulumi.Int(30),
			RunStateChangedEvent: &azuredevops.ServicehookStorageQueuePipelinesRunStateChangedEventArgs{
				RunStateFilter:  pulumi.String("Completed"),
				RunResultFilter: pulumi.String("Succeeded"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

An empty configuration block will occur in all events triggering the associated action.

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewServicehookStorageQueuePipelines(ctx, "example", &azuredevops.ServicehookStorageQueuePipelinesArgs{
			ProjectId:            pulumi.Any(azuredevops_project.Example.Id),
			AccountName:          pulumi.Any(azurerm_storage_account.Example.Name),
			AccountKey:           pulumi.Any(azurerm_storage_account.Example.Primary_access_key),
			QueueName:            pulumi.Any(azurerm_storage_queue.Example.Name),
			VisiTimeout:          pulumi.Int(30),
			RunStateChangedEvent: nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Service Hook Storage Queue Pipeliness can be imported using the `resource id`, e.g.

```sh $ pulumi import azuredevops:index/servicehookStorageQueuePipelines:ServicehookStorageQueuePipelines example 00000000-0000-0000-0000-000000000000 ```

func GetServicehookStorageQueuePipelines

func GetServicehookStorageQueuePipelines(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServicehookStorageQueuePipelinesState, opts ...pulumi.ResourceOption) (*ServicehookStorageQueuePipelines, error)

GetServicehookStorageQueuePipelines gets an existing ServicehookStorageQueuePipelines 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 NewServicehookStorageQueuePipelines

func NewServicehookStorageQueuePipelines(ctx *pulumi.Context,
	name string, args *ServicehookStorageQueuePipelinesArgs, opts ...pulumi.ResourceOption) (*ServicehookStorageQueuePipelines, error)

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

func (*ServicehookStorageQueuePipelines) ElementType

func (*ServicehookStorageQueuePipelines) ToServicehookStorageQueuePipelinesOutput

func (i *ServicehookStorageQueuePipelines) ToServicehookStorageQueuePipelinesOutput() ServicehookStorageQueuePipelinesOutput

func (*ServicehookStorageQueuePipelines) ToServicehookStorageQueuePipelinesOutputWithContext

func (i *ServicehookStorageQueuePipelines) ToServicehookStorageQueuePipelinesOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesOutput

type ServicehookStorageQueuePipelinesArgs

type ServicehookStorageQueuePipelinesArgs struct {
	// A valid account key from the queue's storage account.
	AccountKey pulumi.StringInput
	// The queue's storage account name.
	AccountName pulumi.StringInput
	// The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
	ProjectId pulumi.StringInput
	// The name of the queue that will store the events.
	QueueName pulumi.StringInput
	// A `runStateChangedEvent` block as defined below. Conflicts with `stageStateChangedEvent`
	RunStateChangedEvent ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput
	// A `stageStateChangedEvent` block as defined below. Conflicts with `runStateChangedEvent`
	//
	// > **Note** At least one of `runStateChangedEvent` and `stageStateChangedEvent` has to be set.
	StageStateChangedEvent ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput
	// event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to `604800`.
	Ttl pulumi.IntPtrInput
	// event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to `0`.
	VisiTimeout pulumi.IntPtrInput
}

The set of arguments for constructing a ServicehookStorageQueuePipelines resource.

func (ServicehookStorageQueuePipelinesArgs) ElementType

type ServicehookStorageQueuePipelinesArray

type ServicehookStorageQueuePipelinesArray []ServicehookStorageQueuePipelinesInput

func (ServicehookStorageQueuePipelinesArray) ElementType

func (ServicehookStorageQueuePipelinesArray) ToServicehookStorageQueuePipelinesArrayOutput

func (i ServicehookStorageQueuePipelinesArray) ToServicehookStorageQueuePipelinesArrayOutput() ServicehookStorageQueuePipelinesArrayOutput

func (ServicehookStorageQueuePipelinesArray) ToServicehookStorageQueuePipelinesArrayOutputWithContext

func (i ServicehookStorageQueuePipelinesArray) ToServicehookStorageQueuePipelinesArrayOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesArrayOutput

type ServicehookStorageQueuePipelinesArrayInput

type ServicehookStorageQueuePipelinesArrayInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesArrayOutput() ServicehookStorageQueuePipelinesArrayOutput
	ToServicehookStorageQueuePipelinesArrayOutputWithContext(context.Context) ServicehookStorageQueuePipelinesArrayOutput
}

ServicehookStorageQueuePipelinesArrayInput is an input type that accepts ServicehookStorageQueuePipelinesArray and ServicehookStorageQueuePipelinesArrayOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesArrayInput` via:

ServicehookStorageQueuePipelinesArray{ ServicehookStorageQueuePipelinesArgs{...} }

type ServicehookStorageQueuePipelinesArrayOutput

type ServicehookStorageQueuePipelinesArrayOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesArrayOutput) ElementType

func (ServicehookStorageQueuePipelinesArrayOutput) Index

func (ServicehookStorageQueuePipelinesArrayOutput) ToServicehookStorageQueuePipelinesArrayOutput

func (o ServicehookStorageQueuePipelinesArrayOutput) ToServicehookStorageQueuePipelinesArrayOutput() ServicehookStorageQueuePipelinesArrayOutput

func (ServicehookStorageQueuePipelinesArrayOutput) ToServicehookStorageQueuePipelinesArrayOutputWithContext

func (o ServicehookStorageQueuePipelinesArrayOutput) ToServicehookStorageQueuePipelinesArrayOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesArrayOutput

type ServicehookStorageQueuePipelinesInput

type ServicehookStorageQueuePipelinesInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesOutput() ServicehookStorageQueuePipelinesOutput
	ToServicehookStorageQueuePipelinesOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesOutput
}

type ServicehookStorageQueuePipelinesMap

type ServicehookStorageQueuePipelinesMap map[string]ServicehookStorageQueuePipelinesInput

func (ServicehookStorageQueuePipelinesMap) ElementType

func (ServicehookStorageQueuePipelinesMap) ToServicehookStorageQueuePipelinesMapOutput

func (i ServicehookStorageQueuePipelinesMap) ToServicehookStorageQueuePipelinesMapOutput() ServicehookStorageQueuePipelinesMapOutput

func (ServicehookStorageQueuePipelinesMap) ToServicehookStorageQueuePipelinesMapOutputWithContext

func (i ServicehookStorageQueuePipelinesMap) ToServicehookStorageQueuePipelinesMapOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesMapOutput

type ServicehookStorageQueuePipelinesMapInput

type ServicehookStorageQueuePipelinesMapInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesMapOutput() ServicehookStorageQueuePipelinesMapOutput
	ToServicehookStorageQueuePipelinesMapOutputWithContext(context.Context) ServicehookStorageQueuePipelinesMapOutput
}

ServicehookStorageQueuePipelinesMapInput is an input type that accepts ServicehookStorageQueuePipelinesMap and ServicehookStorageQueuePipelinesMapOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesMapInput` via:

ServicehookStorageQueuePipelinesMap{ "key": ServicehookStorageQueuePipelinesArgs{...} }

type ServicehookStorageQueuePipelinesMapOutput

type ServicehookStorageQueuePipelinesMapOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesMapOutput) ElementType

func (ServicehookStorageQueuePipelinesMapOutput) MapIndex

func (ServicehookStorageQueuePipelinesMapOutput) ToServicehookStorageQueuePipelinesMapOutput

func (o ServicehookStorageQueuePipelinesMapOutput) ToServicehookStorageQueuePipelinesMapOutput() ServicehookStorageQueuePipelinesMapOutput

func (ServicehookStorageQueuePipelinesMapOutput) ToServicehookStorageQueuePipelinesMapOutputWithContext

func (o ServicehookStorageQueuePipelinesMapOutput) ToServicehookStorageQueuePipelinesMapOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesMapOutput

type ServicehookStorageQueuePipelinesOutput

type ServicehookStorageQueuePipelinesOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesOutput) AccountKey

A valid account key from the queue's storage account.

func (ServicehookStorageQueuePipelinesOutput) AccountName

The queue's storage account name.

func (ServicehookStorageQueuePipelinesOutput) ElementType

func (ServicehookStorageQueuePipelinesOutput) ProjectId

The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.

func (ServicehookStorageQueuePipelinesOutput) QueueName

The name of the queue that will store the events.

func (ServicehookStorageQueuePipelinesOutput) RunStateChangedEvent

A `runStateChangedEvent` block as defined below. Conflicts with `stageStateChangedEvent`

func (ServicehookStorageQueuePipelinesOutput) StageStateChangedEvent

A `stageStateChangedEvent` block as defined below. Conflicts with `runStateChangedEvent`

> **Note** At least one of `runStateChangedEvent` and `stageStateChangedEvent` has to be set.

func (ServicehookStorageQueuePipelinesOutput) ToServicehookStorageQueuePipelinesOutput

func (o ServicehookStorageQueuePipelinesOutput) ToServicehookStorageQueuePipelinesOutput() ServicehookStorageQueuePipelinesOutput

func (ServicehookStorageQueuePipelinesOutput) ToServicehookStorageQueuePipelinesOutputWithContext

func (o ServicehookStorageQueuePipelinesOutput) ToServicehookStorageQueuePipelinesOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesOutput

func (ServicehookStorageQueuePipelinesOutput) Ttl

event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to `604800`.

func (ServicehookStorageQueuePipelinesOutput) VisiTimeout

event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to `0`.

type ServicehookStorageQueuePipelinesRunStateChangedEvent

type ServicehookStorageQueuePipelinesRunStateChangedEvent struct {
	// The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
	PipelineId *string `pulumi:"pipelineId"`
	// Which run result should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all results will trigger the event.
	RunResultFilter *string `pulumi:"runResultFilter"`
	// Which run state should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all states will trigger the event.
	RunStateFilter *string `pulumi:"runStateFilter"`
}

type ServicehookStorageQueuePipelinesRunStateChangedEventArgs

type ServicehookStorageQueuePipelinesRunStateChangedEventArgs struct {
	// The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
	PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"`
	// Which run result should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all results will trigger the event.
	RunResultFilter pulumi.StringPtrInput `pulumi:"runResultFilter"`
	// Which run state should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all states will trigger the event.
	RunStateFilter pulumi.StringPtrInput `pulumi:"runStateFilter"`
}

func (ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ElementType

func (ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventOutputWithContext

func (i ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

func (i ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput() ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext

func (i ServicehookStorageQueuePipelinesRunStateChangedEventArgs) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesRunStateChangedEventInput

type ServicehookStorageQueuePipelinesRunStateChangedEventInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesRunStateChangedEventOutput() ServicehookStorageQueuePipelinesRunStateChangedEventOutput
	ToServicehookStorageQueuePipelinesRunStateChangedEventOutputWithContext(context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventOutput
}

ServicehookStorageQueuePipelinesRunStateChangedEventInput is an input type that accepts ServicehookStorageQueuePipelinesRunStateChangedEventArgs and ServicehookStorageQueuePipelinesRunStateChangedEventOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesRunStateChangedEventInput` via:

ServicehookStorageQueuePipelinesRunStateChangedEventArgs{...}

type ServicehookStorageQueuePipelinesRunStateChangedEventOutput

type ServicehookStorageQueuePipelinesRunStateChangedEventOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ElementType

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) PipelineId

The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) RunResultFilter

Which run result should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all results will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) RunStateFilter

Which run state should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all states will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventOutputWithContext

func (o ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext

func (o ServicehookStorageQueuePipelinesRunStateChangedEventOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput

type ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput() ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput
	ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext(context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput
}

ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput is an input type that accepts ServicehookStorageQueuePipelinesRunStateChangedEventArgs, ServicehookStorageQueuePipelinesRunStateChangedEventPtr and ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput` via:

        ServicehookStorageQueuePipelinesRunStateChangedEventArgs{...}

or:

        nil

type ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) Elem

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) ElementType

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) PipelineId

The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) RunResultFilter

Which run result should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all results will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) RunStateFilter

Which run state should generate an event. Only valid if publishedEvent is `RunStateChanged`. If not specified, all states will trigger the event.

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext

func (o ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesRunStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesRunStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesStageStateChangedEvent

type ServicehookStorageQueuePipelinesStageStateChangedEvent struct {
	// The pipeline ID that will generate an event.
	PipelineId *string `pulumi:"pipelineId"`
	// Which stage should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all stages will trigger the event.
	StageName *string `pulumi:"stageName"`
	// Which stage result should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all results will trigger the event.
	StageResultFilter *string `pulumi:"stageResultFilter"`
	// Which stage state should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all states will trigger the event.
	StageStateFilter *string `pulumi:"stageStateFilter"`
}

type ServicehookStorageQueuePipelinesStageStateChangedEventArgs

type ServicehookStorageQueuePipelinesStageStateChangedEventArgs struct {
	// The pipeline ID that will generate an event.
	PipelineId pulumi.StringPtrInput `pulumi:"pipelineId"`
	// Which stage should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all stages will trigger the event.
	StageName pulumi.StringPtrInput `pulumi:"stageName"`
	// Which stage result should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all results will trigger the event.
	StageResultFilter pulumi.StringPtrInput `pulumi:"stageResultFilter"`
	// Which stage state should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all states will trigger the event.
	StageStateFilter pulumi.StringPtrInput `pulumi:"stageStateFilter"`
}

func (ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ElementType

func (ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventOutputWithContext

func (i ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext

func (i ServicehookStorageQueuePipelinesStageStateChangedEventArgs) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesStageStateChangedEventInput

type ServicehookStorageQueuePipelinesStageStateChangedEventInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesStageStateChangedEventOutput() ServicehookStorageQueuePipelinesStageStateChangedEventOutput
	ToServicehookStorageQueuePipelinesStageStateChangedEventOutputWithContext(context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventOutput
}

ServicehookStorageQueuePipelinesStageStateChangedEventInput is an input type that accepts ServicehookStorageQueuePipelinesStageStateChangedEventArgs and ServicehookStorageQueuePipelinesStageStateChangedEventOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesStageStateChangedEventInput` via:

ServicehookStorageQueuePipelinesStageStateChangedEventArgs{...}

type ServicehookStorageQueuePipelinesStageStateChangedEventOutput

type ServicehookStorageQueuePipelinesStageStateChangedEventOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ElementType

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) PipelineId

The pipeline ID that will generate an event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) StageName

Which stage should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all stages will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) StageResultFilter

Which stage result should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all results will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) StageStateFilter

Which stage state should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all states will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventOutputWithContext

func (o ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext

func (o ServicehookStorageQueuePipelinesStageStateChangedEventOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput

type ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput interface {
	pulumi.Input

	ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput() ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput
	ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext(context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput
}

ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput is an input type that accepts ServicehookStorageQueuePipelinesStageStateChangedEventArgs, ServicehookStorageQueuePipelinesStageStateChangedEventPtr and ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput values. You can construct a concrete instance of `ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput` via:

        ServicehookStorageQueuePipelinesStageStateChangedEventArgs{...}

or:

        nil

type ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput struct{ *pulumi.OutputState }

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) Elem

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) ElementType

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) PipelineId

The pipeline ID that will generate an event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) StageName

Which stage should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all stages will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) StageResultFilter

Which stage result should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all results will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) StageStateFilter

Which stage state should generate an event. Only valid if publishedEvent is `StageStateChanged`. If not specified, all states will trigger the event.

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

func (ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext

func (o ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput) ToServicehookStorageQueuePipelinesStageStateChangedEventPtrOutputWithContext(ctx context.Context) ServicehookStorageQueuePipelinesStageStateChangedEventPtrOutput

type ServicehookStorageQueuePipelinesState

type ServicehookStorageQueuePipelinesState struct {
	// A valid account key from the queue's storage account.
	AccountKey pulumi.StringPtrInput
	// The queue's storage account name.
	AccountName pulumi.StringPtrInput
	// The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
	ProjectId pulumi.StringPtrInput
	// The name of the queue that will store the events.
	QueueName pulumi.StringPtrInput
	// A `runStateChangedEvent` block as defined below. Conflicts with `stageStateChangedEvent`
	RunStateChangedEvent ServicehookStorageQueuePipelinesRunStateChangedEventPtrInput
	// A `stageStateChangedEvent` block as defined below. Conflicts with `runStateChangedEvent`
	//
	// > **Note** At least one of `runStateChangedEvent` and `stageStateChangedEvent` has to be set.
	StageStateChangedEvent ServicehookStorageQueuePipelinesStageStateChangedEventPtrInput
	// event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to `604800`.
	Ttl pulumi.IntPtrInput
	// event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to `0`.
	VisiTimeout pulumi.IntPtrInput
}

func (ServicehookStorageQueuePipelinesState) ElementType

type TaggingPermissions

type TaggingPermissions struct {
	pulumi.CustomResourceState

	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapOutput `pulumi:"permissions"`
	// The **group or user** principal to assign the permissions.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The ID of the project to assign the permissions. If omitted, organization wide permissions for tagging are managed.
	ProjectId pulumi.StringPtrOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description     |
	// | ------------------ | -------------------------- |
	// | Enumerate          | Enumerate tag definitions  |
	// | Create             | Create tag definition      |
	// | Update             | Update tag definition      |
	// | Delete             | Delete tag definition      |
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
}

Manages permissions for tagging

## Permission levels

Permissions for tagging within Azure DevOps can be applied only on Organizational and Project level. The project level is reflected by specifying the argument `projectId`, otherwise the permissions are set on the organizational level.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewTaggingPermissions(ctx, "example-permissions", &azuredevops.TaggingPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"Enumerate": pulumi.String("allow"),
				"Create":    pulumi.String("allow"),
				"Update":    pulumi.String("allow"),
				"Delete":    pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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 GetTaggingPermissions

func GetTaggingPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TaggingPermissionsState, opts ...pulumi.ResourceOption) (*TaggingPermissions, error)

GetTaggingPermissions gets an existing TaggingPermissions 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 NewTaggingPermissions

func NewTaggingPermissions(ctx *pulumi.Context,
	name string, args *TaggingPermissionsArgs, opts ...pulumi.ResourceOption) (*TaggingPermissions, error)

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

func (*TaggingPermissions) ElementType

func (*TaggingPermissions) ElementType() reflect.Type

func (*TaggingPermissions) ToTaggingPermissionsOutput

func (i *TaggingPermissions) ToTaggingPermissionsOutput() TaggingPermissionsOutput

func (*TaggingPermissions) ToTaggingPermissionsOutputWithContext

func (i *TaggingPermissions) ToTaggingPermissionsOutputWithContext(ctx context.Context) TaggingPermissionsOutput

type TaggingPermissionsArgs

type TaggingPermissionsArgs struct {
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group or user** principal to assign the permissions.
	Principal pulumi.StringInput
	// The ID of the project to assign the permissions. If omitted, organization wide permissions for tagging are managed.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description     |
	// | ------------------ | -------------------------- |
	// | Enumerate          | Enumerate tag definitions  |
	// | Create             | Create tag definition      |
	// | Update             | Update tag definition      |
	// | Delete             | Delete tag definition      |
	Replace pulumi.BoolPtrInput
}

The set of arguments for constructing a TaggingPermissions resource.

func (TaggingPermissionsArgs) ElementType

func (TaggingPermissionsArgs) ElementType() reflect.Type

type TaggingPermissionsArray

type TaggingPermissionsArray []TaggingPermissionsInput

func (TaggingPermissionsArray) ElementType

func (TaggingPermissionsArray) ElementType() reflect.Type

func (TaggingPermissionsArray) ToTaggingPermissionsArrayOutput

func (i TaggingPermissionsArray) ToTaggingPermissionsArrayOutput() TaggingPermissionsArrayOutput

func (TaggingPermissionsArray) ToTaggingPermissionsArrayOutputWithContext

func (i TaggingPermissionsArray) ToTaggingPermissionsArrayOutputWithContext(ctx context.Context) TaggingPermissionsArrayOutput

type TaggingPermissionsArrayInput

type TaggingPermissionsArrayInput interface {
	pulumi.Input

	ToTaggingPermissionsArrayOutput() TaggingPermissionsArrayOutput
	ToTaggingPermissionsArrayOutputWithContext(context.Context) TaggingPermissionsArrayOutput
}

TaggingPermissionsArrayInput is an input type that accepts TaggingPermissionsArray and TaggingPermissionsArrayOutput values. You can construct a concrete instance of `TaggingPermissionsArrayInput` via:

TaggingPermissionsArray{ TaggingPermissionsArgs{...} }

type TaggingPermissionsArrayOutput

type TaggingPermissionsArrayOutput struct{ *pulumi.OutputState }

func (TaggingPermissionsArrayOutput) ElementType

func (TaggingPermissionsArrayOutput) Index

func (TaggingPermissionsArrayOutput) ToTaggingPermissionsArrayOutput

func (o TaggingPermissionsArrayOutput) ToTaggingPermissionsArrayOutput() TaggingPermissionsArrayOutput

func (TaggingPermissionsArrayOutput) ToTaggingPermissionsArrayOutputWithContext

func (o TaggingPermissionsArrayOutput) ToTaggingPermissionsArrayOutputWithContext(ctx context.Context) TaggingPermissionsArrayOutput

type TaggingPermissionsInput

type TaggingPermissionsInput interface {
	pulumi.Input

	ToTaggingPermissionsOutput() TaggingPermissionsOutput
	ToTaggingPermissionsOutputWithContext(ctx context.Context) TaggingPermissionsOutput
}

type TaggingPermissionsMap

type TaggingPermissionsMap map[string]TaggingPermissionsInput

func (TaggingPermissionsMap) ElementType

func (TaggingPermissionsMap) ElementType() reflect.Type

func (TaggingPermissionsMap) ToTaggingPermissionsMapOutput

func (i TaggingPermissionsMap) ToTaggingPermissionsMapOutput() TaggingPermissionsMapOutput

func (TaggingPermissionsMap) ToTaggingPermissionsMapOutputWithContext

func (i TaggingPermissionsMap) ToTaggingPermissionsMapOutputWithContext(ctx context.Context) TaggingPermissionsMapOutput

type TaggingPermissionsMapInput

type TaggingPermissionsMapInput interface {
	pulumi.Input

	ToTaggingPermissionsMapOutput() TaggingPermissionsMapOutput
	ToTaggingPermissionsMapOutputWithContext(context.Context) TaggingPermissionsMapOutput
}

TaggingPermissionsMapInput is an input type that accepts TaggingPermissionsMap and TaggingPermissionsMapOutput values. You can construct a concrete instance of `TaggingPermissionsMapInput` via:

TaggingPermissionsMap{ "key": TaggingPermissionsArgs{...} }

type TaggingPermissionsMapOutput

type TaggingPermissionsMapOutput struct{ *pulumi.OutputState }

func (TaggingPermissionsMapOutput) ElementType

func (TaggingPermissionsMapOutput) MapIndex

func (TaggingPermissionsMapOutput) ToTaggingPermissionsMapOutput

func (o TaggingPermissionsMapOutput) ToTaggingPermissionsMapOutput() TaggingPermissionsMapOutput

func (TaggingPermissionsMapOutput) ToTaggingPermissionsMapOutputWithContext

func (o TaggingPermissionsMapOutput) ToTaggingPermissionsMapOutputWithContext(ctx context.Context) TaggingPermissionsMapOutput

type TaggingPermissionsOutput

type TaggingPermissionsOutput struct{ *pulumi.OutputState }

func (TaggingPermissionsOutput) ElementType

func (TaggingPermissionsOutput) ElementType() reflect.Type

func (TaggingPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (TaggingPermissionsOutput) Principal

The **group or user** principal to assign the permissions.

func (TaggingPermissionsOutput) ProjectId

The ID of the project to assign the permissions. If omitted, organization wide permissions for tagging are managed.

func (TaggingPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Name | Permission Description | | ------------------ | -------------------------- | | Enumerate | Enumerate tag definitions | | Create | Create tag definition | | Update | Update tag definition | | Delete | Delete tag definition |

func (TaggingPermissionsOutput) ToTaggingPermissionsOutput

func (o TaggingPermissionsOutput) ToTaggingPermissionsOutput() TaggingPermissionsOutput

func (TaggingPermissionsOutput) ToTaggingPermissionsOutputWithContext

func (o TaggingPermissionsOutput) ToTaggingPermissionsOutputWithContext(ctx context.Context) TaggingPermissionsOutput

type TaggingPermissionsState

type TaggingPermissionsState struct {
	// the permissions to assign. The following permissions are available.
	Permissions pulumi.StringMapInput
	// The **group or user** principal to assign the permissions.
	Principal pulumi.StringPtrInput
	// The ID of the project to assign the permissions. If omitted, organization wide permissions for tagging are managed.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Name               | Permission Description     |
	// | ------------------ | -------------------------- |
	// | Enumerate          | Enumerate tag definitions  |
	// | Create             | Create tag definition      |
	// | Update             | Update tag definition      |
	// | Delete             | Delete tag definition      |
	Replace pulumi.BoolPtrInput
}

func (TaggingPermissionsState) ElementType

func (TaggingPermissionsState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	// List of subject descriptors to define administrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayOutput `pulumi:"administrators"`
	// The description of the Team.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The descriptor of the Team.
	Descriptor pulumi.StringOutput `pulumi:"descriptor"`
	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The name of the Team.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Project ID.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

Manages a team within a project in a Azure DevOps organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_project_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Contributors"),
		}, nil)
		example_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewTeam(ctx, "exampleTeam", &azuredevops.TeamArgs{
			ProjectId: exampleProject.ID(),
			Administrators: pulumi.StringArray{
				example_project_contributors.ApplyT(func(example_project_contributors azuredevops.GetGroupResult) (*string, error) {
					return &example_project_contributors.Descriptor, nil
				}).(pulumi.StringPtrOutput),
			},
			Members: pulumi.StringArray{
				example_project_readers.ApplyT(func(example_project_readers azuredevops.GetGroupResult) (*string, error) {
					return &example_project_readers.Descriptor, nil
				}).(pulumi.StringPtrOutput),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Teams - Create](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/teams/create?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **vso.project_manage**: Grants the ability to create, read, update, and delete projects and teams.

## Import

Azure DevOps teams can be imported using the complete resource id `<project_id>/<team_id>` e.g.

```sh $ pulumi import azuredevops:index/team:Team example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000 ```

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team 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 NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

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

func (*Team) ElementType

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamAdministrators

type TeamAdministrators struct {
	pulumi.CustomResourceState

	// List of subject descriptors to define adminitrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayOutput `pulumi:"administrators"`
	// The mode how the resource manages team administrators.
	// - `mode == add`: the resource will ensure that all specified administrators will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing administrators with the administrators specified within the `administrators` block
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The Project ID.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the Team.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

Manages administrators of a team within a project in a Azure DevOps organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_project_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Contributors"),
		}, nil)
		exampleTeam, err := azuredevops.NewTeam(ctx, "exampleTeam", &azuredevops.TeamArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewTeamAdministrators(ctx, "example-team-administrators", &azuredevops.TeamAdministratorsArgs{
			ProjectId: exampleTeam.ProjectId,
			TeamId:    exampleTeam.ID(),
			Mode:      pulumi.String("overwrite"),
			Administrators: pulumi.StringArray{
				example_project_contributors.ApplyT(func(example_project_contributors azuredevops.GetGroupResult) (*string, error) {
					return &example_project_contributors.Descriptor, nil
				}).(pulumi.StringPtrOutput),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Teams - Update](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/teams/update?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **vso.project_write**: Grants the ability to read and update projects and teams.

## Import

The resource does not support import.

func GetTeamAdministrators

func GetTeamAdministrators(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamAdministratorsState, opts ...pulumi.ResourceOption) (*TeamAdministrators, error)

GetTeamAdministrators gets an existing TeamAdministrators 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 NewTeamAdministrators

func NewTeamAdministrators(ctx *pulumi.Context,
	name string, args *TeamAdministratorsArgs, opts ...pulumi.ResourceOption) (*TeamAdministrators, error)

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

func (*TeamAdministrators) ElementType

func (*TeamAdministrators) ElementType() reflect.Type

func (*TeamAdministrators) ToTeamAdministratorsOutput

func (i *TeamAdministrators) ToTeamAdministratorsOutput() TeamAdministratorsOutput

func (*TeamAdministrators) ToTeamAdministratorsOutputWithContext

func (i *TeamAdministrators) ToTeamAdministratorsOutputWithContext(ctx context.Context) TeamAdministratorsOutput

type TeamAdministratorsArgs

type TeamAdministratorsArgs struct {
	// List of subject descriptors to define adminitrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayInput
	// The mode how the resource manages team administrators.
	// - `mode == add`: the resource will ensure that all specified administrators will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing administrators with the administrators specified within the `administrators` block
	Mode pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringInput
	// The ID of the Team.
	TeamId pulumi.StringInput
}

The set of arguments for constructing a TeamAdministrators resource.

func (TeamAdministratorsArgs) ElementType

func (TeamAdministratorsArgs) ElementType() reflect.Type

type TeamAdministratorsArray

type TeamAdministratorsArray []TeamAdministratorsInput

func (TeamAdministratorsArray) ElementType

func (TeamAdministratorsArray) ElementType() reflect.Type

func (TeamAdministratorsArray) ToTeamAdministratorsArrayOutput

func (i TeamAdministratorsArray) ToTeamAdministratorsArrayOutput() TeamAdministratorsArrayOutput

func (TeamAdministratorsArray) ToTeamAdministratorsArrayOutputWithContext

func (i TeamAdministratorsArray) ToTeamAdministratorsArrayOutputWithContext(ctx context.Context) TeamAdministratorsArrayOutput

type TeamAdministratorsArrayInput

type TeamAdministratorsArrayInput interface {
	pulumi.Input

	ToTeamAdministratorsArrayOutput() TeamAdministratorsArrayOutput
	ToTeamAdministratorsArrayOutputWithContext(context.Context) TeamAdministratorsArrayOutput
}

TeamAdministratorsArrayInput is an input type that accepts TeamAdministratorsArray and TeamAdministratorsArrayOutput values. You can construct a concrete instance of `TeamAdministratorsArrayInput` via:

TeamAdministratorsArray{ TeamAdministratorsArgs{...} }

type TeamAdministratorsArrayOutput

type TeamAdministratorsArrayOutput struct{ *pulumi.OutputState }

func (TeamAdministratorsArrayOutput) ElementType

func (TeamAdministratorsArrayOutput) Index

func (TeamAdministratorsArrayOutput) ToTeamAdministratorsArrayOutput

func (o TeamAdministratorsArrayOutput) ToTeamAdministratorsArrayOutput() TeamAdministratorsArrayOutput

func (TeamAdministratorsArrayOutput) ToTeamAdministratorsArrayOutputWithContext

func (o TeamAdministratorsArrayOutput) ToTeamAdministratorsArrayOutputWithContext(ctx context.Context) TeamAdministratorsArrayOutput

type TeamAdministratorsInput

type TeamAdministratorsInput interface {
	pulumi.Input

	ToTeamAdministratorsOutput() TeamAdministratorsOutput
	ToTeamAdministratorsOutputWithContext(ctx context.Context) TeamAdministratorsOutput
}

type TeamAdministratorsMap

type TeamAdministratorsMap map[string]TeamAdministratorsInput

func (TeamAdministratorsMap) ElementType

func (TeamAdministratorsMap) ElementType() reflect.Type

func (TeamAdministratorsMap) ToTeamAdministratorsMapOutput

func (i TeamAdministratorsMap) ToTeamAdministratorsMapOutput() TeamAdministratorsMapOutput

func (TeamAdministratorsMap) ToTeamAdministratorsMapOutputWithContext

func (i TeamAdministratorsMap) ToTeamAdministratorsMapOutputWithContext(ctx context.Context) TeamAdministratorsMapOutput

type TeamAdministratorsMapInput

type TeamAdministratorsMapInput interface {
	pulumi.Input

	ToTeamAdministratorsMapOutput() TeamAdministratorsMapOutput
	ToTeamAdministratorsMapOutputWithContext(context.Context) TeamAdministratorsMapOutput
}

TeamAdministratorsMapInput is an input type that accepts TeamAdministratorsMap and TeamAdministratorsMapOutput values. You can construct a concrete instance of `TeamAdministratorsMapInput` via:

TeamAdministratorsMap{ "key": TeamAdministratorsArgs{...} }

type TeamAdministratorsMapOutput

type TeamAdministratorsMapOutput struct{ *pulumi.OutputState }

func (TeamAdministratorsMapOutput) ElementType

func (TeamAdministratorsMapOutput) MapIndex

func (TeamAdministratorsMapOutput) ToTeamAdministratorsMapOutput

func (o TeamAdministratorsMapOutput) ToTeamAdministratorsMapOutput() TeamAdministratorsMapOutput

func (TeamAdministratorsMapOutput) ToTeamAdministratorsMapOutputWithContext

func (o TeamAdministratorsMapOutput) ToTeamAdministratorsMapOutputWithContext(ctx context.Context) TeamAdministratorsMapOutput

type TeamAdministratorsOutput

type TeamAdministratorsOutput struct{ *pulumi.OutputState }

func (TeamAdministratorsOutput) Administrators

List of subject descriptors to define adminitrators of the team.

> NOTE: It's possible to define team administrators both within the `Team` resource via the `administrators` block and by using the `TeamAdministrators` resource. However it's not possible to use both methods to manage team administrators, since there'll be conflicts.

func (TeamAdministratorsOutput) ElementType

func (TeamAdministratorsOutput) ElementType() reflect.Type

func (TeamAdministratorsOutput) Mode

The mode how the resource manages team administrators. - `mode == add`: the resource will ensure that all specified administrators will be part of the referenced team - `mode == overwrite`: the resource will replace all existing administrators with the administrators specified within the `administrators` block

func (TeamAdministratorsOutput) ProjectId

The Project ID.

func (TeamAdministratorsOutput) TeamId

The ID of the Team.

func (TeamAdministratorsOutput) ToTeamAdministratorsOutput

func (o TeamAdministratorsOutput) ToTeamAdministratorsOutput() TeamAdministratorsOutput

func (TeamAdministratorsOutput) ToTeamAdministratorsOutputWithContext

func (o TeamAdministratorsOutput) ToTeamAdministratorsOutputWithContext(ctx context.Context) TeamAdministratorsOutput

type TeamAdministratorsState

type TeamAdministratorsState struct {
	// List of subject descriptors to define adminitrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayInput
	// The mode how the resource manages team administrators.
	// - `mode == add`: the resource will ensure that all specified administrators will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing administrators with the administrators specified within the `administrators` block
	Mode pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringPtrInput
	// The ID of the Team.
	TeamId pulumi.StringPtrInput
}

func (TeamAdministratorsState) ElementType

func (TeamAdministratorsState) ElementType() reflect.Type

type TeamArgs

type TeamArgs struct {
	// List of subject descriptors to define administrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayInput
	// The description of the Team.
	Description pulumi.StringPtrInput
	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The name of the Team.
	Name pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMembers

type TeamMembers struct {
	pulumi.CustomResourceState

	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The mode how the resource manages team members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The Project ID.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The ID of the Team.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

Manages members of a team within a project in a Azure DevOps organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		example_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: exampleProject.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		exampleTeam, err := azuredevops.NewTeam(ctx, "exampleTeam", &azuredevops.TeamArgs{
			ProjectId: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewTeamMembers(ctx, "example-team-members", &azuredevops.TeamMembersArgs{
			ProjectId: exampleTeam.ProjectId,
			TeamId:    exampleTeam.ID(),
			Mode:      pulumi.String("overwrite"),
			Members: pulumi.StringArray{
				example_project_readers.ApplyT(func(example_project_readers azuredevops.GetGroupResult) (*string, error) {
					return &example_project_readers.Descriptor, nil
				}).(pulumi.StringPtrOutput),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Teams - Update](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/teams/update?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **vso.project_write**: Grants the ability to read and update projects and teams.

## Import

The resource does not support import.

func GetTeamMembers

func GetTeamMembers(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamMembersState, opts ...pulumi.ResourceOption) (*TeamMembers, error)

GetTeamMembers gets an existing TeamMembers 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 NewTeamMembers

func NewTeamMembers(ctx *pulumi.Context,
	name string, args *TeamMembersArgs, opts ...pulumi.ResourceOption) (*TeamMembers, error)

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

func (*TeamMembers) ElementType

func (*TeamMembers) ElementType() reflect.Type

func (*TeamMembers) ToTeamMembersOutput

func (i *TeamMembers) ToTeamMembersOutput() TeamMembersOutput

func (*TeamMembers) ToTeamMembersOutputWithContext

func (i *TeamMembers) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput

type TeamMembersArgs

type TeamMembersArgs struct {
	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The mode how the resource manages team members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	Mode pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringInput
	// The ID of the Team.
	TeamId pulumi.StringInput
}

The set of arguments for constructing a TeamMembers resource.

func (TeamMembersArgs) ElementType

func (TeamMembersArgs) ElementType() reflect.Type

type TeamMembersArray

type TeamMembersArray []TeamMembersInput

func (TeamMembersArray) ElementType

func (TeamMembersArray) ElementType() reflect.Type

func (TeamMembersArray) ToTeamMembersArrayOutput

func (i TeamMembersArray) ToTeamMembersArrayOutput() TeamMembersArrayOutput

func (TeamMembersArray) ToTeamMembersArrayOutputWithContext

func (i TeamMembersArray) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput

type TeamMembersArrayInput

type TeamMembersArrayInput interface {
	pulumi.Input

	ToTeamMembersArrayOutput() TeamMembersArrayOutput
	ToTeamMembersArrayOutputWithContext(context.Context) TeamMembersArrayOutput
}

TeamMembersArrayInput is an input type that accepts TeamMembersArray and TeamMembersArrayOutput values. You can construct a concrete instance of `TeamMembersArrayInput` via:

TeamMembersArray{ TeamMembersArgs{...} }

type TeamMembersArrayOutput

type TeamMembersArrayOutput struct{ *pulumi.OutputState }

func (TeamMembersArrayOutput) ElementType

func (TeamMembersArrayOutput) ElementType() reflect.Type

func (TeamMembersArrayOutput) Index

func (TeamMembersArrayOutput) ToTeamMembersArrayOutput

func (o TeamMembersArrayOutput) ToTeamMembersArrayOutput() TeamMembersArrayOutput

func (TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext

func (o TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput

type TeamMembersInput

type TeamMembersInput interface {
	pulumi.Input

	ToTeamMembersOutput() TeamMembersOutput
	ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput
}

type TeamMembersMap

type TeamMembersMap map[string]TeamMembersInput

func (TeamMembersMap) ElementType

func (TeamMembersMap) ElementType() reflect.Type

func (TeamMembersMap) ToTeamMembersMapOutput

func (i TeamMembersMap) ToTeamMembersMapOutput() TeamMembersMapOutput

func (TeamMembersMap) ToTeamMembersMapOutputWithContext

func (i TeamMembersMap) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput

type TeamMembersMapInput

type TeamMembersMapInput interface {
	pulumi.Input

	ToTeamMembersMapOutput() TeamMembersMapOutput
	ToTeamMembersMapOutputWithContext(context.Context) TeamMembersMapOutput
}

TeamMembersMapInput is an input type that accepts TeamMembersMap and TeamMembersMapOutput values. You can construct a concrete instance of `TeamMembersMapInput` via:

TeamMembersMap{ "key": TeamMembersArgs{...} }

type TeamMembersMapOutput

type TeamMembersMapOutput struct{ *pulumi.OutputState }

func (TeamMembersMapOutput) ElementType

func (TeamMembersMapOutput) ElementType() reflect.Type

func (TeamMembersMapOutput) MapIndex

func (TeamMembersMapOutput) ToTeamMembersMapOutput

func (o TeamMembersMapOutput) ToTeamMembersMapOutput() TeamMembersMapOutput

func (TeamMembersMapOutput) ToTeamMembersMapOutputWithContext

func (o TeamMembersMapOutput) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput

type TeamMembersOutput

type TeamMembersOutput struct{ *pulumi.OutputState }

func (TeamMembersOutput) ElementType

func (TeamMembersOutput) ElementType() reflect.Type

func (TeamMembersOutput) Members

List of subject descriptors to define members of the team.

> NOTE: It's possible to define team members both within the `Team` resource via the `members` block and by using the `TeamMembers` resource. However it's not possible to use both methods to manage team members, since there'll be conflicts.

func (TeamMembersOutput) Mode

The mode how the resource manages team members. - `mode == add`: the resource will ensure that all specified members will be part of the referenced team - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block

func (TeamMembersOutput) ProjectId

func (o TeamMembersOutput) ProjectId() pulumi.StringOutput

The Project ID.

func (TeamMembersOutput) TeamId

The ID of the Team.

func (TeamMembersOutput) ToTeamMembersOutput

func (o TeamMembersOutput) ToTeamMembersOutput() TeamMembersOutput

func (TeamMembersOutput) ToTeamMembersOutputWithContext

func (o TeamMembersOutput) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput

type TeamMembersState

type TeamMembersState struct {
	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The mode how the resource manages team members.
	// - `mode == add`: the resource will ensure that all specified members will be part of the referenced team
	// - `mode == overwrite`: the resource will replace all existing members with the members specified within the `members` block
	Mode pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringPtrInput
	// The ID of the Team.
	TeamId pulumi.StringPtrInput
}

func (TeamMembersState) ElementType

func (TeamMembersState) ElementType() reflect.Type

type TeamOutput

type TeamOutput struct{ *pulumi.OutputState }

func (TeamOutput) Administrators

func (o TeamOutput) Administrators() pulumi.StringArrayOutput

List of subject descriptors to define administrators of the team.

> NOTE: It's possible to define team administrators both within the `Team` resource via the `administrators` block and by using the `TeamAdministrators` resource. However it's not possible to use both methods to manage team administrators, since there'll be conflicts.

func (TeamOutput) Description

func (o TeamOutput) Description() pulumi.StringPtrOutput

The description of the Team.

func (TeamOutput) Descriptor

func (o TeamOutput) Descriptor() pulumi.StringOutput

The descriptor of the Team.

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) Members

func (o TeamOutput) Members() pulumi.StringArrayOutput

List of subject descriptors to define members of the team.

> NOTE: It's possible to define team members both within the `Team` resource via the `members` block and by using the `TeamMembers` resource. However it's not possible to use both methods to manage team members, since there'll be conflicts.

func (TeamOutput) Name

func (o TeamOutput) Name() pulumi.StringOutput

The name of the Team.

func (TeamOutput) ProjectId

func (o TeamOutput) ProjectId() pulumi.StringOutput

The Project ID.

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamState

type TeamState struct {
	// List of subject descriptors to define administrators of the team.
	//
	// > NOTE: It's possible to define team administrators both within the
	// `Team` resource via the `administrators` block and by using the
	// `TeamAdministrators` resource. However it's not possible to use
	// both methods to manage team administrators, since there'll be conflicts.
	Administrators pulumi.StringArrayInput
	// The description of the Team.
	Description pulumi.StringPtrInput
	// The descriptor of the Team.
	Descriptor pulumi.StringPtrInput
	// List of subject descriptors to define members of the team.
	//
	// > NOTE: It's possible to define team members both within the
	// `Team` resource via the `members` block and by using the
	// `TeamMembers` resource. However it's not possible to use
	// both methods to manage team members, since there'll be conflicts.
	Members pulumi.StringArrayInput
	// The name of the Team.
	Name pulumi.StringPtrInput
	// The Project ID.
	ProjectId pulumi.StringPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

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`, `trial`
	//
	// > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := azuredevops.NewUser(ctx, "example", &azuredevops.UserArgs{
			PrincipalName: pulumi.String("foo@contoso.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - User Entitlements - Add](https://docs.microsoft.com/en-us/rest/api/azure/devops/memberentitlementmanagement/user-entitlements/add?view=azure-devops-rest-7.0) - [Programmatic mapping of access levels](https://docs.microsoft.com/en-us/azure/devops/organizations/security/access-levels?view=azure-devops#programmatic-mapping-of-access-levels)

## 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

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`, `trial`
	//
	// > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
	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

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

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

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

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

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) AccountLicenseType

func (o UserOutput) AccountLicenseType() pulumi.StringPtrOutput

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.

func (UserOutput) Descriptor

func (o UserOutput) 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 user graph subject.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) LicensingSource

func (o UserOutput) LicensingSource() pulumi.StringPtrOutput

The source of the licensing (e.g. Account. MSDN etc.) Valid values: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`

> **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.

func (UserOutput) Origin

func (o UserOutput) Origin() pulumi.StringOutput

The type of source provider for the origin identifier.

func (UserOutput) OriginId

func (o UserOutput) OriginId() pulumi.StringOutput

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.

func (UserOutput) PrincipalName

func (o UserOutput) PrincipalName() pulumi.StringOutput

The principal name is the PrincipalName of a graph member from the source provider. Usually, e-mail address.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

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`, `trial`
	//
	// > **NOTE:** A user can only be referenced by it's `principalName` or by the combination of `originId` and `origin`.
	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"`
	// A list of `keyVault` blocks as documented below.
	KeyVault VariableGroupKeyVaultPtrOutput `pulumi:"keyVault"`
	// The name of the Variable Group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// One or more `variable` blocks as documented below.
	Variables VariableGroupVariableArrayOutput `pulumi:"variables"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{
			ProjectId:   exampleProject.ID(),
			Description: pulumi.String("Example Variable Group Description"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("key1"),
					Value: pulumi.String("val1"),
				},
				&azuredevops.VariableGroupVariableArgs{
					Name:        pulumi.String("key2"),
					SecretValue: pulumi.String("val2"),
					IsSecret:    pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### With AzureRM Key Vault

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		exampleServiceEndpointAzureRM, err := azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
			ProjectId:           exampleProject.ID(),
			ServiceEndpointName: pulumi.String("Example AzureRM"),
			Description:         pulumi.String("Managed by Terraform"),
			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
				Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			},
			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
			AzurermSubscriptionName: pulumi.String("Example Subscription Name"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewVariableGroup(ctx, "exampleVariableGroup", &azuredevops.VariableGroupArgs{
			ProjectId:   exampleProject.ID(),
			Description: pulumi.String("Example Variable Group Description"),
			AllowAccess: pulumi.Bool(true),
			KeyVault: &azuredevops.VariableGroupKeyVaultArgs{
				Name:              pulumi.String("example-kv"),
				ServiceEndpointId: exampleServiceEndpointAzureRM.ID(),
			},
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name: pulumi.String("key1"),
				},
				&azuredevops.VariableGroupVariableArgs{
					Name: pulumi.String("key2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

- [Azure DevOps Service REST API 7.0 - Variable Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/variablegroups?view=azure-devops-rest-7.0) - [Azure DevOps Service REST API 7.0 - Authorized Resources](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/authorizedresources?view=azure-devops-rest-7.0)

## PAT Permissions Required

- **Variable Groups**: Read, Create, & Manage - **Build**: Read & execute - **Project and Team**: Read - **Token Administration**: Read & manage - **Tokens**: Read & manage - **Work Items**: Read

## Import

**Variable groups containing secret values cannot be imported.**

Azure DevOps Variable groups can be imported using the project name/variable group ID or by the project Guid/variable group ID, e.g.

```sh $ pulumi import azuredevops:index/variableGroup:VariableGroup example "Example Project/10" ```

or

```sh $ pulumi import azuredevops:index/variableGroup:VariableGroup example 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

type VariableGroupArgs

type VariableGroupArgs struct {
	// Boolean that indicate if this variable group is shared by all pipelines of this project.
	AllowAccess pulumi.BoolPtrInput
	// The description of the Variable Group.
	Description pulumi.StringPtrInput
	// A list of `keyVault` blocks as documented below.
	KeyVault VariableGroupKeyVaultPtrInput
	// The name of the Variable Group.
	Name pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringInput
	// One or more `variable` blocks as documented below.
	Variables VariableGroupVariableArrayInput
}

The set of arguments for constructing a VariableGroup resource.

func (VariableGroupArgs) ElementType

func (VariableGroupArgs) ElementType() reflect.Type

type VariableGroupArray

type VariableGroupArray []VariableGroupInput

func (VariableGroupArray) ElementType

func (VariableGroupArray) ElementType() reflect.Type

func (VariableGroupArray) ToVariableGroupArrayOutput

func (i VariableGroupArray) ToVariableGroupArrayOutput() VariableGroupArrayOutput

func (VariableGroupArray) ToVariableGroupArrayOutputWithContext

func (i VariableGroupArray) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput

type VariableGroupArrayInput

type VariableGroupArrayInput interface {
	pulumi.Input

	ToVariableGroupArrayOutput() VariableGroupArrayOutput
	ToVariableGroupArrayOutputWithContext(context.Context) VariableGroupArrayOutput
}

VariableGroupArrayInput is an input type that accepts VariableGroupArray and VariableGroupArrayOutput values. You can construct a concrete instance of `VariableGroupArrayInput` via:

VariableGroupArray{ VariableGroupArgs{...} }

type VariableGroupArrayOutput

type VariableGroupArrayOutput struct{ *pulumi.OutputState }

func (VariableGroupArrayOutput) ElementType

func (VariableGroupArrayOutput) ElementType() reflect.Type

func (VariableGroupArrayOutput) Index

func (VariableGroupArrayOutput) ToVariableGroupArrayOutput

func (o VariableGroupArrayOutput) ToVariableGroupArrayOutput() VariableGroupArrayOutput

func (VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext

func (o VariableGroupArrayOutput) ToVariableGroupArrayOutputWithContext(ctx context.Context) VariableGroupArrayOutput

type VariableGroupInput

type VariableGroupInput interface {
	pulumi.Input

	ToVariableGroupOutput() VariableGroupOutput
	ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput
}

type VariableGroupKeyVault

type VariableGroupKeyVault struct {
	// The name of the Azure key vault to link secrets from as variables.
	Name string `pulumi:"name"`
	// Set the Azure Key Vault Secret search depth. Defaults to `20`.
	SearchDepth *int `pulumi:"searchDepth"`
	// The id of the Azure subscription endpoint to access the key vault.
	ServiceEndpointId string `pulumi:"serviceEndpointId"`
}

type VariableGroupKeyVaultArgs

type VariableGroupKeyVaultArgs struct {
	// The name of the Azure key vault to link secrets from as variables.
	Name pulumi.StringInput `pulumi:"name"`
	// Set the Azure Key Vault Secret search depth. Defaults to `20`.
	SearchDepth pulumi.IntPtrInput `pulumi:"searchDepth"`
	// The id of the Azure subscription endpoint to access the key vault.
	ServiceEndpointId pulumi.StringInput `pulumi:"serviceEndpointId"`
}

func (VariableGroupKeyVaultArgs) ElementType

func (VariableGroupKeyVaultArgs) ElementType() reflect.Type

func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutput

func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput

func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutputWithContext

func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput

func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutput

func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput

func (VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutputWithContext

func (i VariableGroupKeyVaultArgs) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput

type VariableGroupKeyVaultInput

type VariableGroupKeyVaultInput interface {
	pulumi.Input

	ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput
	ToVariableGroupKeyVaultOutputWithContext(context.Context) VariableGroupKeyVaultOutput
}

VariableGroupKeyVaultInput is an input type that accepts VariableGroupKeyVaultArgs and VariableGroupKeyVaultOutput values. You can construct a concrete instance of `VariableGroupKeyVaultInput` via:

VariableGroupKeyVaultArgs{...}

type VariableGroupKeyVaultOutput

type VariableGroupKeyVaultOutput struct{ *pulumi.OutputState }

func (VariableGroupKeyVaultOutput) ElementType

func (VariableGroupKeyVaultOutput) Name

The name of the Azure key vault to link secrets from as variables.

func (VariableGroupKeyVaultOutput) SearchDepth

Set the Azure Key Vault Secret search depth. Defaults to `20`.

func (VariableGroupKeyVaultOutput) ServiceEndpointId

func (o VariableGroupKeyVaultOutput) ServiceEndpointId() pulumi.StringOutput

The id of the Azure subscription endpoint to access the key vault.

func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutput

func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutput() VariableGroupKeyVaultOutput

func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutputWithContext

func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultOutputWithContext(ctx context.Context) VariableGroupKeyVaultOutput

func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutput

func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput

func (VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutputWithContext

func (o VariableGroupKeyVaultOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput

type VariableGroupKeyVaultPtrInput

type VariableGroupKeyVaultPtrInput interface {
	pulumi.Input

	ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput
	ToVariableGroupKeyVaultPtrOutputWithContext(context.Context) VariableGroupKeyVaultPtrOutput
}

VariableGroupKeyVaultPtrInput is an input type that accepts VariableGroupKeyVaultArgs, VariableGroupKeyVaultPtr and VariableGroupKeyVaultPtrOutput values. You can construct a concrete instance of `VariableGroupKeyVaultPtrInput` via:

        VariableGroupKeyVaultArgs{...}

or:

        nil

type VariableGroupKeyVaultPtrOutput

type VariableGroupKeyVaultPtrOutput struct{ *pulumi.OutputState }

func (VariableGroupKeyVaultPtrOutput) Elem

func (VariableGroupKeyVaultPtrOutput) ElementType

func (VariableGroupKeyVaultPtrOutput) Name

The name of the Azure key vault to link secrets from as variables.

func (VariableGroupKeyVaultPtrOutput) SearchDepth

Set the Azure Key Vault Secret search depth. Defaults to `20`.

func (VariableGroupKeyVaultPtrOutput) ServiceEndpointId

The id of the Azure subscription endpoint to access the key vault.

func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput

func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutput() VariableGroupKeyVaultPtrOutput

func (VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext

func (o VariableGroupKeyVaultPtrOutput) ToVariableGroupKeyVaultPtrOutputWithContext(ctx context.Context) VariableGroupKeyVaultPtrOutput

type VariableGroupMap

type VariableGroupMap map[string]VariableGroupInput

func (VariableGroupMap) ElementType

func (VariableGroupMap) ElementType() reflect.Type

func (VariableGroupMap) ToVariableGroupMapOutput

func (i VariableGroupMap) ToVariableGroupMapOutput() VariableGroupMapOutput

func (VariableGroupMap) ToVariableGroupMapOutputWithContext

func (i VariableGroupMap) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput

type VariableGroupMapInput

type VariableGroupMapInput interface {
	pulumi.Input

	ToVariableGroupMapOutput() VariableGroupMapOutput
	ToVariableGroupMapOutputWithContext(context.Context) VariableGroupMapOutput
}

VariableGroupMapInput is an input type that accepts VariableGroupMap and VariableGroupMapOutput values. You can construct a concrete instance of `VariableGroupMapInput` via:

VariableGroupMap{ "key": VariableGroupArgs{...} }

type VariableGroupMapOutput

type VariableGroupMapOutput struct{ *pulumi.OutputState }

func (VariableGroupMapOutput) ElementType

func (VariableGroupMapOutput) ElementType() reflect.Type

func (VariableGroupMapOutput) MapIndex

func (VariableGroupMapOutput) ToVariableGroupMapOutput

func (o VariableGroupMapOutput) ToVariableGroupMapOutput() VariableGroupMapOutput

func (VariableGroupMapOutput) ToVariableGroupMapOutputWithContext

func (o VariableGroupMapOutput) ToVariableGroupMapOutputWithContext(ctx context.Context) VariableGroupMapOutput

type VariableGroupOutput

type VariableGroupOutput struct{ *pulumi.OutputState }

func (VariableGroupOutput) AllowAccess

func (o VariableGroupOutput) AllowAccess() pulumi.BoolPtrOutput

Boolean that indicate if this variable group is shared by all pipelines of this project.

func (VariableGroupOutput) Description

func (o VariableGroupOutput) Description() pulumi.StringPtrOutput

The description of the Variable Group.

func (VariableGroupOutput) ElementType

func (VariableGroupOutput) ElementType() reflect.Type

func (VariableGroupOutput) KeyVault

A list of `keyVault` blocks as documented below.

func (VariableGroupOutput) Name

The name of the Variable Group.

func (VariableGroupOutput) ProjectId

func (o VariableGroupOutput) ProjectId() pulumi.StringOutput

The ID of the project.

func (VariableGroupOutput) ToVariableGroupOutput

func (o VariableGroupOutput) ToVariableGroupOutput() VariableGroupOutput

func (VariableGroupOutput) ToVariableGroupOutputWithContext

func (o VariableGroupOutput) ToVariableGroupOutputWithContext(ctx context.Context) VariableGroupOutput

func (VariableGroupOutput) Variables

One or more `variable` blocks as documented below.

type VariableGroupPermissions

type VariableGroupPermissions 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.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrOutput `pulumi:"replace"`
	// The id of the variable group to assign the permissions.
	VariableGroupId pulumi.StringOutput `pulumi:"variableGroupId"`
}

Manages permissions for a Variable Group

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
			Description:      pulumi.String("Testing-description"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
		})
		if err != nil {
			return err
		}
		example, err := azuredevops.NewVariableGroup(ctx, "example", &azuredevops.VariableGroupArgs{
			ProjectId:   project.ID(),
			Description: pulumi.String("Test Description"),
			AllowAccess: pulumi.Bool(true),
			Variables: azuredevops.VariableGroupVariableArray{
				&azuredevops.VariableGroupVariableArgs{
					Name:  pulumi.String("key1"),
					Value: pulumi.String("val1"),
				},
			},
		})
		if err != nil {
			return err
		}
		tf_project_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: project.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewVariableGroupPermissions(ctx, "permissions", &azuredevops.VariableGroupPermissionsArgs{
			ProjectId:       project.ID(),
			VariableGroupId: example.ID(),
			Principal: tf_project_readers.ApplyT(func(tf_project_readers azuredevops.GetGroupResult) (*string, error) {
				return &tf_project_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"View":       pulumi.String("allow"),
				"Administer": pulumi.String("allow"),
				"Use":        pulumi.String("allow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Roles

The Azure DevOps UI uses roles to assign permissions for variable groups.

| Role | Allow Permissions | | ------------- | ---------------------- | | Reader | View | | User | View, Use | | Administrator | View, Use, Administer |

## Relevant Links

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

## 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 GetVariableGroupPermissions

func GetVariableGroupPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VariableGroupPermissionsState, opts ...pulumi.ResourceOption) (*VariableGroupPermissions, error)

GetVariableGroupPermissions gets an existing VariableGroupPermissions 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 NewVariableGroupPermissions

func NewVariableGroupPermissions(ctx *pulumi.Context,
	name string, args *VariableGroupPermissionsArgs, opts ...pulumi.ResourceOption) (*VariableGroupPermissions, error)

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

func (*VariableGroupPermissions) ElementType

func (*VariableGroupPermissions) ElementType() reflect.Type

func (*VariableGroupPermissions) ToVariableGroupPermissionsOutput

func (i *VariableGroupPermissions) ToVariableGroupPermissionsOutput() VariableGroupPermissionsOutput

func (*VariableGroupPermissions) ToVariableGroupPermissionsOutputWithContext

func (i *VariableGroupPermissions) ToVariableGroupPermissionsOutputWithContext(ctx context.Context) VariableGroupPermissionsOutput

type VariableGroupPermissionsArgs

type VariableGroupPermissionsArgs 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.
	ProjectId pulumi.StringInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrInput
	// The id of the variable group to assign the permissions.
	VariableGroupId pulumi.StringInput
}

The set of arguments for constructing a VariableGroupPermissions resource.

func (VariableGroupPermissionsArgs) ElementType

type VariableGroupPermissionsArray

type VariableGroupPermissionsArray []VariableGroupPermissionsInput

func (VariableGroupPermissionsArray) ElementType

func (VariableGroupPermissionsArray) ToVariableGroupPermissionsArrayOutput

func (i VariableGroupPermissionsArray) ToVariableGroupPermissionsArrayOutput() VariableGroupPermissionsArrayOutput

func (VariableGroupPermissionsArray) ToVariableGroupPermissionsArrayOutputWithContext

func (i VariableGroupPermissionsArray) ToVariableGroupPermissionsArrayOutputWithContext(ctx context.Context) VariableGroupPermissionsArrayOutput

type VariableGroupPermissionsArrayInput

type VariableGroupPermissionsArrayInput interface {
	pulumi.Input

	ToVariableGroupPermissionsArrayOutput() VariableGroupPermissionsArrayOutput
	ToVariableGroupPermissionsArrayOutputWithContext(context.Context) VariableGroupPermissionsArrayOutput
}

VariableGroupPermissionsArrayInput is an input type that accepts VariableGroupPermissionsArray and VariableGroupPermissionsArrayOutput values. You can construct a concrete instance of `VariableGroupPermissionsArrayInput` via:

VariableGroupPermissionsArray{ VariableGroupPermissionsArgs{...} }

type VariableGroupPermissionsArrayOutput

type VariableGroupPermissionsArrayOutput struct{ *pulumi.OutputState }

func (VariableGroupPermissionsArrayOutput) ElementType

func (VariableGroupPermissionsArrayOutput) Index

func (VariableGroupPermissionsArrayOutput) ToVariableGroupPermissionsArrayOutput

func (o VariableGroupPermissionsArrayOutput) ToVariableGroupPermissionsArrayOutput() VariableGroupPermissionsArrayOutput

func (VariableGroupPermissionsArrayOutput) ToVariableGroupPermissionsArrayOutputWithContext

func (o VariableGroupPermissionsArrayOutput) ToVariableGroupPermissionsArrayOutputWithContext(ctx context.Context) VariableGroupPermissionsArrayOutput

type VariableGroupPermissionsInput

type VariableGroupPermissionsInput interface {
	pulumi.Input

	ToVariableGroupPermissionsOutput() VariableGroupPermissionsOutput
	ToVariableGroupPermissionsOutputWithContext(ctx context.Context) VariableGroupPermissionsOutput
}

type VariableGroupPermissionsMap

type VariableGroupPermissionsMap map[string]VariableGroupPermissionsInput

func (VariableGroupPermissionsMap) ElementType

func (VariableGroupPermissionsMap) ToVariableGroupPermissionsMapOutput

func (i VariableGroupPermissionsMap) ToVariableGroupPermissionsMapOutput() VariableGroupPermissionsMapOutput

func (VariableGroupPermissionsMap) ToVariableGroupPermissionsMapOutputWithContext

func (i VariableGroupPermissionsMap) ToVariableGroupPermissionsMapOutputWithContext(ctx context.Context) VariableGroupPermissionsMapOutput

type VariableGroupPermissionsMapInput

type VariableGroupPermissionsMapInput interface {
	pulumi.Input

	ToVariableGroupPermissionsMapOutput() VariableGroupPermissionsMapOutput
	ToVariableGroupPermissionsMapOutputWithContext(context.Context) VariableGroupPermissionsMapOutput
}

VariableGroupPermissionsMapInput is an input type that accepts VariableGroupPermissionsMap and VariableGroupPermissionsMapOutput values. You can construct a concrete instance of `VariableGroupPermissionsMapInput` via:

VariableGroupPermissionsMap{ "key": VariableGroupPermissionsArgs{...} }

type VariableGroupPermissionsMapOutput

type VariableGroupPermissionsMapOutput struct{ *pulumi.OutputState }

func (VariableGroupPermissionsMapOutput) ElementType

func (VariableGroupPermissionsMapOutput) MapIndex

func (VariableGroupPermissionsMapOutput) ToVariableGroupPermissionsMapOutput

func (o VariableGroupPermissionsMapOutput) ToVariableGroupPermissionsMapOutput() VariableGroupPermissionsMapOutput

func (VariableGroupPermissionsMapOutput) ToVariableGroupPermissionsMapOutputWithContext

func (o VariableGroupPermissionsMapOutput) ToVariableGroupPermissionsMapOutputWithContext(ctx context.Context) VariableGroupPermissionsMapOutput

type VariableGroupPermissionsOutput

type VariableGroupPermissionsOutput struct{ *pulumi.OutputState }

func (VariableGroupPermissionsOutput) ElementType

func (VariableGroupPermissionsOutput) Permissions

the permissions to assign. The following permissions are available.

func (VariableGroupPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (VariableGroupPermissionsOutput) ProjectId

The ID of the project.

func (VariableGroupPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

| Permission | Description | | ----------------- | ----------------------------------- | | View | View library item | | Administer | Administer library item | | Create | Create library item | | ViewSecrets | View library item secrets | | Use | Use library item | | Owner | Owner library item |

func (VariableGroupPermissionsOutput) ToVariableGroupPermissionsOutput

func (o VariableGroupPermissionsOutput) ToVariableGroupPermissionsOutput() VariableGroupPermissionsOutput

func (VariableGroupPermissionsOutput) ToVariableGroupPermissionsOutputWithContext

func (o VariableGroupPermissionsOutput) ToVariableGroupPermissionsOutputWithContext(ctx context.Context) VariableGroupPermissionsOutput

func (VariableGroupPermissionsOutput) VariableGroupId

The id of the variable group to assign the permissions.

type VariableGroupPermissionsState

type VariableGroupPermissionsState 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.
	ProjectId pulumi.StringPtrInput
	// Replace (`true`) or merge (`false`) the permissions. Default: `true`
	//
	// | Permission        | Description                         |
	// | ----------------- | ----------------------------------- |
	// | View              | View library item                   |
	// | Administer        | Administer library item             |
	// | Create            | Create library item                 |
	// | ViewSecrets       | View library item secrets           |
	// | Use               | Use library item                    |
	// | Owner             | Owner library item                  |
	Replace pulumi.BoolPtrInput
	// The id of the variable group to assign the permissions.
	VariableGroupId pulumi.StringPtrInput
}

func (VariableGroupPermissionsState) ElementType

type VariableGroupState

type VariableGroupState struct {
	// Boolean that indicate if this variable group is shared by all pipelines of this project.
	AllowAccess pulumi.BoolPtrInput
	// The description of the Variable Group.
	Description pulumi.StringPtrInput
	// A list of `keyVault` blocks as documented below.
	KeyVault VariableGroupKeyVaultPtrInput
	// The name of the Variable Group.
	Name pulumi.StringPtrInput
	// The ID of the project.
	ProjectId pulumi.StringPtrInput
	// One or more `variable` blocks as documented below.
	Variables VariableGroupVariableArrayInput
}

func (VariableGroupState) ElementType

func (VariableGroupState) ElementType() reflect.Type

type VariableGroupVariable

type VariableGroupVariable struct {
	ContentType *string `pulumi:"contentType"`
	Enabled     *bool   `pulumi:"enabled"`
	Expires     *string `pulumi:"expires"`
	// A boolean flag describing if the variable value is sensitive. Defaults to `false`.
	IsSecret *bool `pulumi:"isSecret"`
	// The key value used for the variable. Must be unique within the Variable Group.
	Name string `pulumi:"name"`
	// The secret value of the variable. If omitted, it will default to empty string. Used when `isSecret` set to `true`.
	SecretValue *string `pulumi:"secretValue"`
	// The value of the variable. If omitted, it will default to empty string.
	Value *string `pulumi:"value"`
}

type VariableGroupVariableArgs

type VariableGroupVariableArgs struct {
	ContentType pulumi.StringPtrInput `pulumi:"contentType"`
	Enabled     pulumi.BoolPtrInput   `pulumi:"enabled"`
	Expires     pulumi.StringPtrInput `pulumi:"expires"`
	// A boolean flag describing if the variable value is sensitive. Defaults to `false`.
	IsSecret pulumi.BoolPtrInput `pulumi:"isSecret"`
	// The key value used for the variable. Must be unique within the Variable Group.
	Name pulumi.StringInput `pulumi:"name"`
	// The secret value of the variable. If omitted, it will default to empty string. Used when `isSecret` set to `true`.
	SecretValue pulumi.StringPtrInput `pulumi:"secretValue"`
	// The value of the variable. If omitted, it will default to empty string.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (VariableGroupVariableArgs) ElementType

func (VariableGroupVariableArgs) ElementType() reflect.Type

func (VariableGroupVariableArgs) ToVariableGroupVariableOutput

func (i VariableGroupVariableArgs) ToVariableGroupVariableOutput() VariableGroupVariableOutput

func (VariableGroupVariableArgs) ToVariableGroupVariableOutputWithContext

func (i VariableGroupVariableArgs) ToVariableGroupVariableOutputWithContext(ctx context.Context) VariableGroupVariableOutput

type VariableGroupVariableArray

type VariableGroupVariableArray []VariableGroupVariableInput

func (VariableGroupVariableArray) ElementType

func (VariableGroupVariableArray) ElementType() reflect.Type

func (VariableGroupVariableArray) ToVariableGroupVariableArrayOutput

func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput

func (VariableGroupVariableArray) ToVariableGroupVariableArrayOutputWithContext

func (i VariableGroupVariableArray) ToVariableGroupVariableArrayOutputWithContext(ctx context.Context) VariableGroupVariableArrayOutput

type VariableGroupVariableArrayInput

type VariableGroupVariableArrayInput interface {
	pulumi.Input

	ToVariableGroupVariableArrayOutput() VariableGroupVariableArrayOutput
	ToVariableGroupVariableArrayOutputWithContext(context.Context) VariableGroupVariableArrayOutput
}

VariableGroupVariableArrayInput is an input type that accepts VariableGroupVariableArray and VariableGroupVariableArrayOutput values. You can construct a concrete instance of `VariableGroupVariableArrayInput` via:

VariableGroupVariableArray{ VariableGroupVariableArgs{...} }

type VariableGroupVariableArrayOutput

type VariableGroupVariableArrayOutput struct{ *pulumi.OutputState }

func (VariableGroupVariableArrayOutput) ElementType

func (VariableGroupVariableArrayOutput) 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

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              | Description                        |
	// |--------------------------|------------------------------------|
	// | Read                     | Read                               |
	// | Contribute               | Contribute                         |
	// | Delete                   | Delete                             |
	// | ManagePermissions        | Manage Permissions                 |
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewWorkItemQueryPermissions(ctx, "project-wiq-root-permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"CreateRepository": pulumi.String("Deny"),
				"DeleteRepository": pulumi.String("Deny"),
				"RenameRepository": pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### 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

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		_, err = azuredevops.NewWorkItemQueryPermissions(ctx, "example-permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: example.ID(),
			Path:      pulumi.String("/Team"),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"Contribute": pulumi.String("Allow"),
				"Delete":     pulumi.String("Deny"),
				"Read":       pulumi.String("NotSet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &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
		}
		example_readers := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Readers"),
		}, nil)
		example_contributors := azuredevops.LookupGroupOutput(ctx, azuredevops.GetGroupOutputArgs{
			ProjectId: example.ID(),
			Name:      pulumi.String("Contributors"),
		}, nil)
		_, err = azuredevops.NewWorkItemQueryPermissions(ctx, "example-project-permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: example.ID(),
			Principal: example_readers.ApplyT(func(example_readers azuredevops.GetGroupResult) (*string, error) {
				return &example_readers.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"Read":              pulumi.String("Allow"),
				"Delete":            pulumi.String("Deny"),
				"Contribute":        pulumi.String("Deny"),
				"ManagePermissions": pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewWorkItemQueryPermissions(ctx, "example-sharedqueries-permissions", &azuredevops.WorkItemQueryPermissionsArgs{
			ProjectId: example.ID(),
			Path:      pulumi.String("/"),
			Principal: example_contributors.ApplyT(func(example_contributors azuredevops.GetGroupResult) (*string, error) {
				return &example_contributors.Id, nil
			}).(pulumi.StringPtrOutput),
			Permissions: pulumi.StringMap{
				"Read":   pulumi.String("Allow"),
				"Delete": pulumi.String("Deny"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Relevant Links

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

## 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

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              | Description                        |
	// |--------------------------|------------------------------------|
	// | Read                     | Read                               |
	// | Contribute               | Contribute                         |
	// | Delete                   | Delete                             |
	// | ManagePermissions        | Manage Permissions                 |
	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

type WorkItemQueryPermissionsArray []WorkItemQueryPermissionsInput

func (WorkItemQueryPermissionsArray) ElementType

func (WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutput

func (i WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutput() WorkItemQueryPermissionsArrayOutput

func (WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutputWithContext

func (i WorkItemQueryPermissionsArray) ToWorkItemQueryPermissionsArrayOutputWithContext(ctx context.Context) WorkItemQueryPermissionsArrayOutput

type WorkItemQueryPermissionsArrayInput

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

type WorkItemQueryPermissionsArrayOutput struct{ *pulumi.OutputState }

func (WorkItemQueryPermissionsArrayOutput) ElementType

func (WorkItemQueryPermissionsArrayOutput) Index

func (WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutput

func (o WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutput() WorkItemQueryPermissionsArrayOutput

func (WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutputWithContext

func (o WorkItemQueryPermissionsArrayOutput) ToWorkItemQueryPermissionsArrayOutputWithContext(ctx context.Context) WorkItemQueryPermissionsArrayOutput

type WorkItemQueryPermissionsInput

type WorkItemQueryPermissionsInput interface {
	pulumi.Input

	ToWorkItemQueryPermissionsOutput() WorkItemQueryPermissionsOutput
	ToWorkItemQueryPermissionsOutputWithContext(ctx context.Context) WorkItemQueryPermissionsOutput
}

type WorkItemQueryPermissionsMap

type WorkItemQueryPermissionsMap map[string]WorkItemQueryPermissionsInput

func (WorkItemQueryPermissionsMap) ElementType

func (WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutput

func (i WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutput() WorkItemQueryPermissionsMapOutput

func (WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutputWithContext

func (i WorkItemQueryPermissionsMap) ToWorkItemQueryPermissionsMapOutputWithContext(ctx context.Context) WorkItemQueryPermissionsMapOutput

type WorkItemQueryPermissionsMapInput

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

type WorkItemQueryPermissionsMapOutput struct{ *pulumi.OutputState }

func (WorkItemQueryPermissionsMapOutput) ElementType

func (WorkItemQueryPermissionsMapOutput) MapIndex

func (WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutput

func (o WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutput() WorkItemQueryPermissionsMapOutput

func (WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutputWithContext

func (o WorkItemQueryPermissionsMapOutput) ToWorkItemQueryPermissionsMapOutputWithContext(ctx context.Context) WorkItemQueryPermissionsMapOutput

type WorkItemQueryPermissionsOutput

type WorkItemQueryPermissionsOutput struct{ *pulumi.OutputState }

func (WorkItemQueryPermissionsOutput) ElementType

func (WorkItemQueryPermissionsOutput) Path

Path to a query or folder beneath `Shared Queries`

func (WorkItemQueryPermissionsOutput) Permissions

the permissions to assign. The following permissions are available

| Permissions | Description | |--------------------------|------------------------------------| | Read | Read | | Contribute | Contribute | | Delete | Delete | | ManagePermissions | Manage Permissions |

func (WorkItemQueryPermissionsOutput) Principal

The **group** principal to assign the permissions.

func (WorkItemQueryPermissionsOutput) ProjectId

The ID of the project to assign the permissions.

func (WorkItemQueryPermissionsOutput) Replace

Replace (`true`) or merge (`false`) the permissions. Default: `true`

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutput

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutput() WorkItemQueryPermissionsOutput

func (WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutputWithContext

func (o WorkItemQueryPermissionsOutput) ToWorkItemQueryPermissionsOutputWithContext(ctx context.Context) WorkItemQueryPermissionsOutput

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              | Description                        |
	// |--------------------------|------------------------------------|
	// | Read                     | Read                               |
	// | Contribute               | Contribute                         |
	// | Delete                   | Delete                             |
	// | ManagePermissions        | Manage Permissions                 |
	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

type Workitem

type Workitem struct {
	pulumi.CustomResourceState

	// Specifies the area where the Work Item is used.
	AreaPath pulumi.StringOutput `pulumi:"areaPath"`
	// Specifies a list with Custom Fields for the Work Item.
	CustomFields pulumi.StringMapOutput `pulumi:"customFields"`
	// Specifies the iteration in which the Work Item is used.
	IterationPath pulumi.StringOutput `pulumi:"iterationPath"`
	// The ID of the Project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The state of the Work Item. The four main states that are defined for the User Story (`Agile`) are `New`, `Active`, `Resolved`, and `Closed`. See [Workflow states](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/workflow-and-state-categories?view=azure-devops&tabs=agile-process#workflow-states) for more details.
	State pulumi.StringOutput `pulumi:"state"`
	// Specifies a list of Tags.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The Title of the Work Item.
	Title pulumi.StringOutput `pulumi:"title"`
	// The Type of the Work Item. The work item type varies depending on the process used when creating the project(`Agile`, `Basic`, `Scrum`, `Scrum`). See [Work Item Types](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/about-work-items?view=azure-devops) for more details.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a Work Item in Azure Devops.

## Example Usage

### Basic usage

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewWorkitem(ctx, "exampleWorkitem", &azuredevops.WorkitemArgs{
			ProjectId: exampleProject.ID(),
			Title:     pulumi.String("Example Work Item"),
			Type:      pulumi.String("Issue"),
			State:     pulumi.String("Active"),
			Tags: pulumi.StringArray{
				pulumi.String("Tag"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### With custom fields

<!--Start PulumiCodeChooser --> ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
			WorkItemTemplate: pulumi.String("Agile"),
			VersionControl:   pulumi.String("Git"),
			Visibility:       pulumi.String("private"),
			Description:      pulumi.String("Managed by Terraform"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewWorkitem(ctx, "exampleWorkitem", &azuredevops.WorkitemArgs{
			ProjectId: exampleProject.ID(),
			Title:     pulumi.String("Example Work Item"),
			Type:      pulumi.String("Issue"),
			State:     pulumi.String("Active"),
			Tags: pulumi.StringArray{
				pulumi.String("Tag"),
			},
			CustomFields: pulumi.StringMap{
				"example": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Work Item resource does not support import.

func GetWorkitem

func GetWorkitem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkitemState, opts ...pulumi.ResourceOption) (*Workitem, error)

GetWorkitem gets an existing Workitem 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 NewWorkitem

func NewWorkitem(ctx *pulumi.Context,
	name string, args *WorkitemArgs, opts ...pulumi.ResourceOption) (*Workitem, error)

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

func (*Workitem) ElementType

func (*Workitem) ElementType() reflect.Type

func (*Workitem) ToWorkitemOutput

func (i *Workitem) ToWorkitemOutput() WorkitemOutput

func (*Workitem) ToWorkitemOutputWithContext

func (i *Workitem) ToWorkitemOutputWithContext(ctx context.Context) WorkitemOutput

type WorkitemArgs

type WorkitemArgs struct {
	// Specifies the area where the Work Item is used.
	AreaPath pulumi.StringPtrInput
	// Specifies a list with Custom Fields for the Work Item.
	CustomFields pulumi.StringMapInput
	// Specifies the iteration in which the Work Item is used.
	IterationPath pulumi.StringPtrInput
	// The ID of the Project.
	ProjectId pulumi.StringInput
	// The state of the Work Item. The four main states that are defined for the User Story (`Agile`) are `New`, `Active`, `Resolved`, and `Closed`. See [Workflow states](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/workflow-and-state-categories?view=azure-devops&tabs=agile-process#workflow-states) for more details.
	State pulumi.StringPtrInput
	// Specifies a list of Tags.
	Tags pulumi.StringArrayInput
	// The Title of the Work Item.
	Title pulumi.StringInput
	// The Type of the Work Item. The work item type varies depending on the process used when creating the project(`Agile`, `Basic`, `Scrum`, `Scrum`). See [Work Item Types](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/about-work-items?view=azure-devops) for more details.
	Type pulumi.StringInput
}

The set of arguments for constructing a Workitem resource.

func (WorkitemArgs) ElementType

func (WorkitemArgs) ElementType() reflect.Type

type WorkitemArray

type WorkitemArray []WorkitemInput

func (WorkitemArray) ElementType

func (WorkitemArray) ElementType() reflect.Type

func (WorkitemArray) ToWorkitemArrayOutput

func (i WorkitemArray) ToWorkitemArrayOutput() WorkitemArrayOutput

func (WorkitemArray) ToWorkitemArrayOutputWithContext

func (i WorkitemArray) ToWorkitemArrayOutputWithContext(ctx context.Context) WorkitemArrayOutput

type WorkitemArrayInput

type WorkitemArrayInput interface {
	pulumi.Input

	ToWorkitemArrayOutput() WorkitemArrayOutput
	ToWorkitemArrayOutputWithContext(context.Context) WorkitemArrayOutput
}

WorkitemArrayInput is an input type that accepts WorkitemArray and WorkitemArrayOutput values. You can construct a concrete instance of `WorkitemArrayInput` via:

WorkitemArray{ WorkitemArgs{...} }

type WorkitemArrayOutput

type WorkitemArrayOutput struct{ *pulumi.OutputState }

func (WorkitemArrayOutput) ElementType

func (WorkitemArrayOutput) ElementType() reflect.Type

func (WorkitemArrayOutput) Index

func (WorkitemArrayOutput) ToWorkitemArrayOutput

func (o WorkitemArrayOutput) ToWorkitemArrayOutput() WorkitemArrayOutput

func (WorkitemArrayOutput) ToWorkitemArrayOutputWithContext

func (o WorkitemArrayOutput) ToWorkitemArrayOutputWithContext(ctx context.Context) WorkitemArrayOutput

type WorkitemInput

type WorkitemInput interface {
	pulumi.Input

	ToWorkitemOutput() WorkitemOutput
	ToWorkitemOutputWithContext(ctx context.Context) WorkitemOutput
}

type WorkitemMap

type WorkitemMap map[string]WorkitemInput

func (WorkitemMap) ElementType

func (WorkitemMap) ElementType() reflect.Type

func (WorkitemMap) ToWorkitemMapOutput

func (i WorkitemMap) ToWorkitemMapOutput() WorkitemMapOutput

func (WorkitemMap) ToWorkitemMapOutputWithContext

func (i WorkitemMap) ToWorkitemMapOutputWithContext(ctx context.Context) WorkitemMapOutput

type WorkitemMapInput

type WorkitemMapInput interface {
	pulumi.Input

	ToWorkitemMapOutput() WorkitemMapOutput
	ToWorkitemMapOutputWithContext(context.Context) WorkitemMapOutput
}

WorkitemMapInput is an input type that accepts WorkitemMap and WorkitemMapOutput values. You can construct a concrete instance of `WorkitemMapInput` via:

WorkitemMap{ "key": WorkitemArgs{...} }

type WorkitemMapOutput

type WorkitemMapOutput struct{ *pulumi.OutputState }

func (WorkitemMapOutput) ElementType

func (WorkitemMapOutput) ElementType() reflect.Type

func (WorkitemMapOutput) MapIndex

func (WorkitemMapOutput) ToWorkitemMapOutput

func (o WorkitemMapOutput) ToWorkitemMapOutput() WorkitemMapOutput

func (WorkitemMapOutput) ToWorkitemMapOutputWithContext

func (o WorkitemMapOutput) ToWorkitemMapOutputWithContext(ctx context.Context) WorkitemMapOutput

type WorkitemOutput

type WorkitemOutput struct{ *pulumi.OutputState }

func (WorkitemOutput) AreaPath

func (o WorkitemOutput) AreaPath() pulumi.StringOutput

Specifies the area where the Work Item is used.

func (WorkitemOutput) CustomFields

func (o WorkitemOutput) CustomFields() pulumi.StringMapOutput

Specifies a list with Custom Fields for the Work Item.

func (WorkitemOutput) ElementType

func (WorkitemOutput) ElementType() reflect.Type

func (WorkitemOutput) IterationPath

func (o WorkitemOutput) IterationPath() pulumi.StringOutput

Specifies the iteration in which the Work Item is used.

func (WorkitemOutput) ProjectId

func (o WorkitemOutput) ProjectId() pulumi.StringOutput

The ID of the Project.

func (WorkitemOutput) State

The state of the Work Item. The four main states that are defined for the User Story (`Agile`) are `New`, `Active`, `Resolved`, and `Closed`. See [Workflow states](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/workflow-and-state-categories?view=azure-devops&tabs=agile-process#workflow-states) for more details.

func (WorkitemOutput) Tags

Specifies a list of Tags.

func (WorkitemOutput) Title

The Title of the Work Item.

func (WorkitemOutput) ToWorkitemOutput

func (o WorkitemOutput) ToWorkitemOutput() WorkitemOutput

func (WorkitemOutput) ToWorkitemOutputWithContext

func (o WorkitemOutput) ToWorkitemOutputWithContext(ctx context.Context) WorkitemOutput

func (WorkitemOutput) Type

The Type of the Work Item. The work item type varies depending on the process used when creating the project(`Agile`, `Basic`, `Scrum`, `Scrum`). See [Work Item Types](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/about-work-items?view=azure-devops) for more details.

type WorkitemState

type WorkitemState struct {
	// Specifies the area where the Work Item is used.
	AreaPath pulumi.StringPtrInput
	// Specifies a list with Custom Fields for the Work Item.
	CustomFields pulumi.StringMapInput
	// Specifies the iteration in which the Work Item is used.
	IterationPath pulumi.StringPtrInput
	// The ID of the Project.
	ProjectId pulumi.StringPtrInput
	// The state of the Work Item. The four main states that are defined for the User Story (`Agile`) are `New`, `Active`, `Resolved`, and `Closed`. See [Workflow states](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/workflow-and-state-categories?view=azure-devops&tabs=agile-process#workflow-states) for more details.
	State pulumi.StringPtrInput
	// Specifies a list of Tags.
	Tags pulumi.StringArrayInput
	// The Title of the Work Item.
	Title pulumi.StringPtrInput
	// The Type of the Work Item. The work item type varies depending on the process used when creating the project(`Agile`, `Basic`, `Scrum`, `Scrum`). See [Work Item Types](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/about-work-items?view=azure-devops) for more details.
	Type pulumi.StringPtrInput
}

func (WorkitemState) ElementType

func (WorkitemState) ElementType() reflect.Type

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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