Documentation ¶
Index ¶
- type GetClientConfigResult
- type GetProjectsArgs
- type GetProjectsProject
- type GetProjectsProjectArgs
- type GetProjectsProjectArray
- type GetProjectsProjectArrayInput
- type GetProjectsProjectArrayOutput
- func (GetProjectsProjectArrayOutput) ElementType() reflect.Type
- func (o GetProjectsProjectArrayOutput) Index(i pulumi.IntInput) GetProjectsProjectOutput
- func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
- func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput
- type GetProjectsProjectInput
- type GetProjectsProjectOutput
- func (GetProjectsProjectOutput) ElementType() reflect.Type
- func (o GetProjectsProjectOutput) Name() pulumi.StringOutput
- func (o GetProjectsProjectOutput) ProjectId() pulumi.StringOutput
- func (o GetProjectsProjectOutput) ProjectUrl() pulumi.StringOutput
- func (o GetProjectsProjectOutput) State() pulumi.StringOutput
- func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput
- func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput
- type GetProjectsResult
- type LookupProjectArgs
- type LookupProjectResult
- type Projectdeprecated
- func (*Project) ElementType() reflect.Type
- func (i *Project) ToProjectOutput() ProjectOutput
- func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
- func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectFeaturesdeprecated
- func (*ProjectFeatures) ElementType() reflect.Type
- func (i *ProjectFeatures) ToProjectFeaturesOutput() ProjectFeaturesOutput
- func (i *ProjectFeatures) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
- func (i *ProjectFeatures) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
- func (i *ProjectFeatures) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
- type ProjectFeaturesArgs
- type ProjectFeaturesArray
- type ProjectFeaturesArrayInput
- type ProjectFeaturesArrayOutput
- func (ProjectFeaturesArrayOutput) ElementType() reflect.Type
- func (o ProjectFeaturesArrayOutput) Index(i pulumi.IntInput) ProjectFeaturesOutput
- func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput
- func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput
- type ProjectFeaturesInput
- type ProjectFeaturesMap
- type ProjectFeaturesMapInput
- type ProjectFeaturesMapOutput
- func (ProjectFeaturesMapOutput) ElementType() reflect.Type
- func (o ProjectFeaturesMapOutput) MapIndex(k pulumi.StringInput) ProjectFeaturesOutput
- func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput
- func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput
- type ProjectFeaturesOutput
- func (ProjectFeaturesOutput) ElementType() reflect.Type
- func (o ProjectFeaturesOutput) ToProjectFeaturesOutput() ProjectFeaturesOutput
- func (o ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
- func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
- func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
- type ProjectFeaturesPtrInput
- type ProjectFeaturesPtrOutput
- type ProjectFeaturesState
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- func (ProjectOutput) ElementType() reflect.Type
- func (o ProjectOutput) ToProjectOutput() ProjectOutput
- func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
- func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
- func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
- type ProjectPtrInput
- type ProjectPtrOutput
- type ProjectState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
deprecated
func GetClientConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetClientConfigResult, error)
Use this data source to access information about the Azure DevOps organization configured for the provider.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { clientConfig, err := azuredevops.GetClientConfig(ctx, nil, nil) if err != nil { return err } ctx.Export("orgUrl", clientConfig.OrganizationUrl) return nil }) }
```
Deprecated: azuredevops.core.getClientConfig has been deprecated in favor of azuredevops.getClientConfig
type GetProjectsArgs ¶
type GetProjectsArgs struct { // Name of the Project, if not specified all projects will be returned. Name *string `pulumi:"name"` // State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`. State *string `pulumi:"state"` }
A collection of arguments for invoking getProjects.
type GetProjectsProject ¶
type GetProjectsProject struct { // Name of the Project, if not specified all projects will be returned. Name string `pulumi:"name"` // Project identifier. ProjectId string `pulumi:"projectId"` // Url to the full version of the object. ProjectUrl string `pulumi:"projectUrl"` // State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`. State string `pulumi:"state"` }
type GetProjectsProjectArgs ¶
type GetProjectsProjectArgs struct { // Name of the Project, if not specified all projects will be returned. Name pulumi.StringInput `pulumi:"name"` // Project identifier. ProjectId pulumi.StringInput `pulumi:"projectId"` // Url to the full version of the object. ProjectUrl pulumi.StringInput `pulumi:"projectUrl"` // State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`. State pulumi.StringInput `pulumi:"state"` }
func (GetProjectsProjectArgs) ElementType ¶
func (GetProjectsProjectArgs) ElementType() reflect.Type
func (GetProjectsProjectArgs) ToGetProjectsProjectOutput ¶
func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput
func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext ¶
func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput
type GetProjectsProjectArray ¶
type GetProjectsProjectArray []GetProjectsProjectInput
func (GetProjectsProjectArray) ElementType ¶
func (GetProjectsProjectArray) ElementType() reflect.Type
func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput ¶
func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext ¶
func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput
type GetProjectsProjectArrayInput ¶
type GetProjectsProjectArrayInput interface { pulumi.Input ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput }
GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:
GetProjectsProjectArray{ GetProjectsProjectArgs{...} }
type GetProjectsProjectArrayOutput ¶
type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }
func (GetProjectsProjectArrayOutput) ElementType ¶
func (GetProjectsProjectArrayOutput) ElementType() reflect.Type
func (GetProjectsProjectArrayOutput) Index ¶
func (o GetProjectsProjectArrayOutput) Index(i pulumi.IntInput) GetProjectsProjectOutput
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 ¶
func (o GetProjectsProjectOutput) Name() pulumi.StringOutput
Name of the Project, if not specified all projects will be returned.
func (GetProjectsProjectOutput) ProjectId ¶
func (o GetProjectsProjectOutput) ProjectId() pulumi.StringOutput
Project identifier.
func (GetProjectsProjectOutput) ProjectUrl ¶
func (o GetProjectsProjectOutput) ProjectUrl() pulumi.StringOutput
Url to the full version of the object.
func (GetProjectsProjectOutput) State ¶
func (o GetProjectsProjectOutput) State() pulumi.StringOutput
State of the Project, if not specified all projects will be returned. Valid values are `all`, `deleting`, `new`, `wellFormed`, `createPending`, `unchanged`,`deleted`.
func (GetProjectsProjectOutput) ToGetProjectsProjectOutput ¶
func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput
func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext ¶
func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput
type GetProjectsResult ¶
type GetProjectsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Project name. Name *string `pulumi:"name"` // A list of existing projects in your Azure DevOps Organization with details about every project which includes: Projects []GetProjectsProject `pulumi:"projects"` // Project state. State *string `pulumi:"state"` }
A collection of values returned by getProjects.
func GetProjects
deprecated
func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)
Use this data source to access information about existing Projects within Azure DevOps.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "contoso" opt1 := "wellFormed" test, err := azuredevops.GetProjects(ctx, &azuredevops.GetProjectsArgs{ Name: &opt0, State: &opt1, }, nil) if err != nil { return err } var splat0 []string for _, val0 := range test.Projects { splat0 = append(splat0, val0.ProjectId) } ctx.Export("projectId", splat0) var splat1 []string for _, val0 := range test.Projects { splat1 = append(splat1, val0.Name) } ctx.Export("name", splat1) var splat2 []string for _, val0 := range test.Projects { splat2 = append(splat2, val0.ProjectUrl) } ctx.Export("projectUrl", splat2) var splat3 []string for _, val0 := range test.Projects { splat3 = append(splat3, val0.State) } ctx.Export("state", splat3) return nil }) }
``` ## Relevant Links
- [Azure DevOps Service REST API 5.1 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-5.1)
Deprecated: azuredevops.core.getProjects has been deprecated in favor of azuredevops.getProjects
type LookupProjectArgs ¶
type LookupProjectArgs struct { // Name of the Project. Name *string `pulumi:"name"` // ID of the Project. ProjectId *string `pulumi:"projectId"` }
A collection of arguments for invoking getProject.
type LookupProjectResult ¶
type LookupProjectResult struct { Description string `pulumi:"description"` Features map[string]interface{} `pulumi:"features"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name *string `pulumi:"name"` ProcessTemplateId string `pulumi:"processTemplateId"` ProjectId *string `pulumi:"projectId"` VersionControl string `pulumi:"versionControl"` Visibility string `pulumi:"visibility"` WorkItemTemplate string `pulumi:"workItemTemplate"` }
A collection of values returned by getProject.
func LookupProject
deprecated
func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)
Use this data source to access information about an existing Project within Azure DevOps.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "Sample Project" project, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{ Name: &opt0, }, nil) if err != nil { return err } ctx.Export("id", project.Id) ctx.Export("name", project.Name) ctx.Export("visibility", project.Visibility) ctx.Export("versionControl", project.VersionControl) ctx.Export("workItemTemplate", project.WorkItemTemplate) ctx.Export("processTemplateId", project.ProcessTemplateId) return nil }) }
``` ## Relevant Links
- [Azure DevOps Service REST API 5.1 - Projects - Get](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects/get?view=azure-devops-rest-5.1)
Deprecated: azuredevops.core.getProject has been deprecated in favor of azuredevops.getProject
type Project
deprecated
type Project struct { pulumi.CustomResourceState // The Description of the Project. Description pulumi.StringPtrOutput `pulumi:"description"` // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapOutput `pulumi:"features"` // The Project Name. Name pulumi.StringOutput `pulumi:"name"` // The Process Template ID used by the Project. ProcessTemplateId pulumi.StringOutput `pulumi:"processTemplateId"` // Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`. VersionControl pulumi.StringPtrOutput `pulumi:"versionControl"` // Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`. Visibility pulumi.StringPtrOutput `pulumi:"visibility"` // Specifies the work item template. Defaults to `Agile`. WorkItemTemplate pulumi.StringPtrOutput `pulumi:"workItemTemplate"` }
Manages a project within Azure DevOps.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{ Description: pulumi.String("Test Project Description"), Features: pulumi.StringMap{ "artifacts": pulumi.String("disabled"), "testplans": pulumi.String("disabled"), }, VersionControl: pulumi.String("Git"), Visibility: pulumi.String("private"), WorkItemTemplate: pulumi.String("Agile"), }) if err != nil { return err } return nil }) }
``` ## Relevant Links
- [Azure DevOps Service REST API 5.1 - Projects](https://docs.microsoft.com/en-us/rest/api/azure/devops/core/projects?view=azure-devops-rest-5.1)
## PAT Permissions Required
- **Project & Team**: Read, Write, & Manage
## Import
Azure DevOps Projects can be imported using the project name or by the project Guid, e.g.
```sh
$ pulumi import azuredevops:Core/project:Project project "Test Project"
```
or
```sh
$ pulumi import azuredevops:Core/project:Project project 00000000-0000-0000-0000-000000000000
```
Deprecated: azuredevops.core.Project has been deprecated in favor of azuredevops.Project
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (*Project) ToProjectPtrOutput ¶ added in v1.2.2
func (i *Project) ToProjectPtrOutput() ProjectPtrOutput
func (*Project) ToProjectPtrOutputWithContext ¶ added in v1.2.2
func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectArgs ¶
type ProjectArgs struct { // The Description of the Project. Description pulumi.StringPtrInput // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapInput // The Project Name. Name pulumi.StringPtrInput // Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`. VersionControl pulumi.StringPtrInput // Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`. Visibility pulumi.StringPtrInput // Specifies the work item template. Defaults to `Agile`. WorkItemTemplate pulumi.StringPtrInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶ added in v1.2.2
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶ added in v1.2.2
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶ added in v1.2.2
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶ added in v1.2.2
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶ added in v1.2.2
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶ added in v1.2.2
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶ added in v1.2.2
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶ added in v1.2.2
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶ added in v1.2.2
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶ added in v1.2.2
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectFeatures
deprecated
type ProjectFeatures struct { pulumi.CustomResourceState // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapOutput `pulumi:"features"` ProjectId pulumi.StringOutput `pulumi:"projectId"` }
Manages features for Azure DevOps projects
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/go/azuredevops" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "Test Project" tf_project_test_001, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{ Name: &opt0, }, nil) if err != nil { return err } _, err = azuredevops.NewProjectFeatures(ctx, "my_project_features", &azuredevops.ProjectFeaturesArgs{ ProjectId: pulumi.String(tf_project_test_001.Id), Features: pulumi.StringMap{ "testplans": pulumi.String("disabled"), "artifacts": pulumi.String("enabled"), }, }) if err != nil { return err } return nil }) }
``` ## Relevant Links
No official documentation available ¶
## PAT Permissions Required
- **Project & Team**: Read, Write, & Manage
## Import
Azure DevOps feature settings can be imported using the project id, e.g.
```sh
$ pulumi import azuredevops:Core/projectFeatures:ProjectFeatures project_id 00000000-0000-0000-0000-000000000000
```
Deprecated: azuredevops.core.ProjectFeatures has been deprecated in favor of azuredevops.ProjectFeatures
func GetProjectFeatures ¶
func GetProjectFeatures(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectFeaturesState, opts ...pulumi.ResourceOption) (*ProjectFeatures, error)
GetProjectFeatures gets an existing ProjectFeatures resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProjectFeatures ¶
func NewProjectFeatures(ctx *pulumi.Context, name string, args *ProjectFeaturesArgs, opts ...pulumi.ResourceOption) (*ProjectFeatures, error)
NewProjectFeatures registers a new resource with the given unique name, arguments, and options.
func (*ProjectFeatures) ElementType ¶
func (*ProjectFeatures) ElementType() reflect.Type
func (*ProjectFeatures) ToProjectFeaturesOutput ¶
func (i *ProjectFeatures) ToProjectFeaturesOutput() ProjectFeaturesOutput
func (*ProjectFeatures) ToProjectFeaturesOutputWithContext ¶
func (i *ProjectFeatures) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
func (*ProjectFeatures) ToProjectFeaturesPtrOutput ¶ added in v1.2.2
func (i *ProjectFeatures) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
func (*ProjectFeatures) ToProjectFeaturesPtrOutputWithContext ¶ added in v1.2.2
func (i *ProjectFeatures) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
type ProjectFeaturesArgs ¶
type ProjectFeaturesArgs struct { // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapInput ProjectId pulumi.StringInput }
The set of arguments for constructing a ProjectFeatures resource.
func (ProjectFeaturesArgs) ElementType ¶
func (ProjectFeaturesArgs) ElementType() reflect.Type
type ProjectFeaturesArray ¶ added in v1.2.2
type ProjectFeaturesArray []ProjectFeaturesInput
func (ProjectFeaturesArray) ElementType ¶ added in v1.2.2
func (ProjectFeaturesArray) ElementType() reflect.Type
func (ProjectFeaturesArray) ToProjectFeaturesArrayOutput ¶ added in v1.2.2
func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput
func (ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext ¶ added in v1.2.2
func (i ProjectFeaturesArray) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput
type ProjectFeaturesArrayInput ¶ added in v1.2.2
type ProjectFeaturesArrayInput interface { pulumi.Input ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput ToProjectFeaturesArrayOutputWithContext(context.Context) ProjectFeaturesArrayOutput }
ProjectFeaturesArrayInput is an input type that accepts ProjectFeaturesArray and ProjectFeaturesArrayOutput values. You can construct a concrete instance of `ProjectFeaturesArrayInput` via:
ProjectFeaturesArray{ ProjectFeaturesArgs{...} }
type ProjectFeaturesArrayOutput ¶ added in v1.2.2
type ProjectFeaturesArrayOutput struct{ *pulumi.OutputState }
func (ProjectFeaturesArrayOutput) ElementType ¶ added in v1.2.2
func (ProjectFeaturesArrayOutput) ElementType() reflect.Type
func (ProjectFeaturesArrayOutput) Index ¶ added in v1.2.2
func (o ProjectFeaturesArrayOutput) Index(i pulumi.IntInput) ProjectFeaturesOutput
func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput ¶ added in v1.2.2
func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutput() ProjectFeaturesArrayOutput
func (ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext ¶ added in v1.2.2
func (o ProjectFeaturesArrayOutput) ToProjectFeaturesArrayOutputWithContext(ctx context.Context) ProjectFeaturesArrayOutput
type ProjectFeaturesInput ¶
type ProjectFeaturesInput interface { pulumi.Input ToProjectFeaturesOutput() ProjectFeaturesOutput ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput }
type ProjectFeaturesMap ¶ added in v1.2.2
type ProjectFeaturesMap map[string]ProjectFeaturesInput
func (ProjectFeaturesMap) ElementType ¶ added in v1.2.2
func (ProjectFeaturesMap) ElementType() reflect.Type
func (ProjectFeaturesMap) ToProjectFeaturesMapOutput ¶ added in v1.2.2
func (i ProjectFeaturesMap) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput
func (ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext ¶ added in v1.2.2
func (i ProjectFeaturesMap) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput
type ProjectFeaturesMapInput ¶ added in v1.2.2
type ProjectFeaturesMapInput interface { pulumi.Input ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput ToProjectFeaturesMapOutputWithContext(context.Context) ProjectFeaturesMapOutput }
ProjectFeaturesMapInput is an input type that accepts ProjectFeaturesMap and ProjectFeaturesMapOutput values. You can construct a concrete instance of `ProjectFeaturesMapInput` via:
ProjectFeaturesMap{ "key": ProjectFeaturesArgs{...} }
type ProjectFeaturesMapOutput ¶ added in v1.2.2
type ProjectFeaturesMapOutput struct{ *pulumi.OutputState }
func (ProjectFeaturesMapOutput) ElementType ¶ added in v1.2.2
func (ProjectFeaturesMapOutput) ElementType() reflect.Type
func (ProjectFeaturesMapOutput) MapIndex ¶ added in v1.2.2
func (o ProjectFeaturesMapOutput) MapIndex(k pulumi.StringInput) ProjectFeaturesOutput
func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput ¶ added in v1.2.2
func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutput() ProjectFeaturesMapOutput
func (ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext ¶ added in v1.2.2
func (o ProjectFeaturesMapOutput) ToProjectFeaturesMapOutputWithContext(ctx context.Context) ProjectFeaturesMapOutput
type ProjectFeaturesOutput ¶
type ProjectFeaturesOutput struct {
*pulumi.OutputState
}
func (ProjectFeaturesOutput) ElementType ¶
func (ProjectFeaturesOutput) ElementType() reflect.Type
func (ProjectFeaturesOutput) ToProjectFeaturesOutput ¶
func (o ProjectFeaturesOutput) ToProjectFeaturesOutput() ProjectFeaturesOutput
func (ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext ¶
func (o ProjectFeaturesOutput) ToProjectFeaturesOutputWithContext(ctx context.Context) ProjectFeaturesOutput
func (ProjectFeaturesOutput) ToProjectFeaturesPtrOutput ¶ added in v1.2.2
func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
func (ProjectFeaturesOutput) ToProjectFeaturesPtrOutputWithContext ¶ added in v1.2.2
func (o ProjectFeaturesOutput) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
type ProjectFeaturesPtrInput ¶ added in v1.2.2
type ProjectFeaturesPtrInput interface { pulumi.Input ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput }
type ProjectFeaturesPtrOutput ¶ added in v1.2.2
type ProjectFeaturesPtrOutput struct {
*pulumi.OutputState
}
func (ProjectFeaturesPtrOutput) ElementType ¶ added in v1.2.2
func (ProjectFeaturesPtrOutput) ElementType() reflect.Type
func (ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutput ¶ added in v1.2.2
func (o ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutput() ProjectFeaturesPtrOutput
func (ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutputWithContext ¶ added in v1.2.2
func (o ProjectFeaturesPtrOutput) ToProjectFeaturesPtrOutputWithContext(ctx context.Context) ProjectFeaturesPtrOutput
type ProjectFeaturesState ¶
type ProjectFeaturesState struct { // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapInput ProjectId pulumi.StringPtrInput }
func (ProjectFeaturesState) ElementType ¶
func (ProjectFeaturesState) ElementType() reflect.Type
type ProjectInput ¶
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶ added in v1.2.2
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶ added in v1.2.2
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶ added in v1.2.2
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶ added in v1.2.2
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶ added in v1.2.2
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶ added in v1.2.2
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶ added in v1.2.2
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶ added in v1.2.2
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶ added in v1.2.2
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶ added in v1.2.2
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶
type ProjectOutput struct {
*pulumi.OutputState
}
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
func (ProjectOutput) ToProjectPtrOutput ¶ added in v1.2.2
func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectOutput) ToProjectPtrOutputWithContext ¶ added in v1.2.2
func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectPtrInput ¶ added in v1.2.2
type ProjectPtrInput interface { pulumi.Input ToProjectPtrOutput() ProjectPtrOutput ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput }
type ProjectPtrOutput ¶ added in v1.2.2
type ProjectPtrOutput struct {
*pulumi.OutputState
}
func (ProjectPtrOutput) ElementType ¶ added in v1.2.2
func (ProjectPtrOutput) ElementType() reflect.Type
func (ProjectPtrOutput) ToProjectPtrOutput ¶ added in v1.2.2
func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput
func (ProjectPtrOutput) ToProjectPtrOutputWithContext ¶ added in v1.2.2
func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
type ProjectState ¶
type ProjectState struct { // The Description of the Project. Description pulumi.StringPtrInput // Defines the status (`enabled`, `disabled`) of the project features.\ // Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts` Features pulumi.StringMapInput // The Project Name. Name pulumi.StringPtrInput // The Process Template ID used by the Project. ProcessTemplateId pulumi.StringPtrInput // Specifies the version control system. Valid values: `Git` or `Tfvc`. Defaults to `Git`. VersionControl pulumi.StringPtrInput // Specifies the visibility of the Project. Valid values: `private` or `public`. Defaults to `private`. Visibility pulumi.StringPtrInput // Specifies the work item template. Defaults to `Agile`. WorkItemTemplate pulumi.StringPtrInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type