Manages a Webhook TFS Service Hook that sends HTTP POST requests to a specified URL when Azure DevOps events occur.
Example Usage
Git Push Event
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {name: "example-project"});
const exampleServicehookWebhookTfs = new azuredevops.ServicehookWebhookTfs("example", {
projectId: example.id,
url: "https://example.com/webhook",
gitPush: {
branch: "refs/heads/main",
repositoryId: exampleAzuredevopsGitRepository.id,
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example", name="example-project")
example_servicehook_webhook_tfs = azuredevops.ServicehookWebhookTfs("example",
project_id=example.id,
url="https://example.com/webhook",
git_push={
"branch": "refs/heads/main",
"repository_id": example_azuredevops_git_repository["id"],
})
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{
Name: pulumi.String("example-project"),
})
if err != nil {
return err
}
_, err = azuredevops.NewServicehookWebhookTfs(ctx, "example", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: example.ID(),
Url: pulumi.String("https://example.com/webhook"),
GitPush: &azuredevops.ServicehookWebhookTfsGitPushArgs{
Branch: pulumi.String("refs/heads/main"),
RepositoryId: pulumi.Any(exampleAzuredevopsGitRepository.Id),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.Project("example", new()
{
Name = "example-project",
});
var exampleServicehookWebhookTfs = new AzureDevOps.ServicehookWebhookTfs("example", new()
{
ProjectId = example.Id,
Url = "https://example.com/webhook",
GitPush = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPushArgs
{
Branch = "refs/heads/main",
RepositoryId = exampleAzuredevopsGitRepository.Id,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServicehookWebhookTfs;
import com.pulumi.azuredevops.ServicehookWebhookTfsArgs;
import com.pulumi.azuredevops.inputs.ServicehookWebhookTfsGitPushArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.name("example-project")
.build());
var exampleServicehookWebhookTfs = new ServicehookWebhookTfs("exampleServicehookWebhookTfs", ServicehookWebhookTfsArgs.builder()
.projectId(example.id())
.url("https://example.com/webhook")
.gitPush(ServicehookWebhookTfsGitPushArgs.builder()
.branch("refs/heads/main")
.repositoryId(exampleAzuredevopsGitRepository.id())
.build())
.build());
}
}
resources:
example:
type: azuredevops:Project
properties:
name: example-project
exampleServicehookWebhookTfs:
type: azuredevops:ServicehookWebhookTfs
name: example
properties:
projectId: ${example.id}
url: https://example.com/webhook
gitPush:
branch: refs/heads/main
repositoryId: ${exampleAzuredevopsGitRepository.id}
Build Completed Event with Authentication
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServicehookWebhookTfs("example", {
projectId: exampleAzuredevopsProject.id,
url: "https://example.com/webhook",
basicAuthUsername: "webhook_user",
basicAuthPassword: webhookPassword,
acceptUntrustedCerts: false,
buildCompleted: {
definitionName: "CI Build",
buildStatus: "Succeeded",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServicehookWebhookTfs("example",
project_id=example_azuredevops_project["id"],
url="https://example.com/webhook",
basic_auth_username="webhook_user",
basic_auth_password=webhook_password,
accept_untrusted_certs=False,
build_completed={
"definition_name": "CI Build",
"build_status": "Succeeded",
})
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.NewServicehookWebhookTfs(ctx, "example", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
Url: pulumi.String("https://example.com/webhook"),
BasicAuthUsername: pulumi.String("webhook_user"),
BasicAuthPassword: pulumi.Any(webhookPassword),
AcceptUntrustedCerts: pulumi.Bool(false),
BuildCompleted: &azuredevops.ServicehookWebhookTfsBuildCompletedArgs{
DefinitionName: pulumi.String("CI Build"),
BuildStatus: pulumi.String("Succeeded"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.ServicehookWebhookTfs("example", new()
{
ProjectId = exampleAzuredevopsProject.Id,
Url = "https://example.com/webhook",
BasicAuthUsername = "webhook_user",
BasicAuthPassword = webhookPassword,
AcceptUntrustedCerts = false,
BuildCompleted = new AzureDevOps.Inputs.ServicehookWebhookTfsBuildCompletedArgs
{
DefinitionName = "CI Build",
BuildStatus = "Succeeded",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServicehookWebhookTfs;
import com.pulumi.azuredevops.ServicehookWebhookTfsArgs;
import com.pulumi.azuredevops.inputs.ServicehookWebhookTfsBuildCompletedArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ServicehookWebhookTfs("example", ServicehookWebhookTfsArgs.builder()
.projectId(exampleAzuredevopsProject.id())
.url("https://example.com/webhook")
.basicAuthUsername("webhook_user")
.basicAuthPassword(webhookPassword)
.acceptUntrustedCerts(false)
.buildCompleted(ServicehookWebhookTfsBuildCompletedArgs.builder()
.definitionName("CI Build")
.buildStatus("Succeeded")
.build())
.build());
}
}
resources:
example:
type: azuredevops:ServicehookWebhookTfs
properties:
projectId: ${exampleAzuredevopsProject.id}
url: https://example.com/webhook
basicAuthUsername: webhook_user
basicAuthPassword: ${webhookPassword}
acceptUntrustedCerts: false
buildCompleted:
definitionName: CI Build
buildStatus: Succeeded
Pull Request Created Event with HTTP Headers
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServicehookWebhookTfs("example", {
projectId: exampleAzuredevopsProject.id,
url: "https://example.com/webhook",
httpHeaders: {
"X-Custom-Header": "my-value",
Authorization: `Bearer ${apiToken}`,
},
gitPullRequestCreated: {
repositoryId: exampleAzuredevopsGitRepository.id,
branch: "refs/heads/develop",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServicehookWebhookTfs("example",
project_id=example_azuredevops_project["id"],
url="https://example.com/webhook",
http_headers={
"X-Custom-Header": "my-value",
"Authorization": f"Bearer {api_token}",
},
git_pull_request_created={
"repository_id": example_azuredevops_git_repository["id"],
"branch": "refs/heads/develop",
})
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 {
_, err := azuredevops.NewServicehookWebhookTfs(ctx, "example", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
Url: pulumi.String("https://example.com/webhook"),
HttpHeaders: pulumi.StringMap{
"X-Custom-Header": pulumi.String("my-value"),
"Authorization": pulumi.Sprintf("Bearer %v", apiToken),
},
GitPullRequestCreated: &azuredevops.ServicehookWebhookTfsGitPullRequestCreatedArgs{
RepositoryId: pulumi.Any(exampleAzuredevopsGitRepository.Id),
Branch: pulumi.String("refs/heads/develop"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.ServicehookWebhookTfs("example", new()
{
ProjectId = exampleAzuredevopsProject.Id,
Url = "https://example.com/webhook",
HttpHeaders =
{
{ "X-Custom-Header", "my-value" },
{ "Authorization", $"Bearer {apiToken}" },
},
GitPullRequestCreated = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPullRequestCreatedArgs
{
RepositoryId = exampleAzuredevopsGitRepository.Id,
Branch = "refs/heads/develop",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServicehookWebhookTfs;
import com.pulumi.azuredevops.ServicehookWebhookTfsArgs;
import com.pulumi.azuredevops.inputs.ServicehookWebhookTfsGitPullRequestCreatedArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ServicehookWebhookTfs("example", ServicehookWebhookTfsArgs.builder()
.projectId(exampleAzuredevopsProject.id())
.url("https://example.com/webhook")
.httpHeaders(Map.ofEntries(
Map.entry("X-Custom-Header", "my-value"),
Map.entry("Authorization", String.format("Bearer %s", apiToken))
))
.gitPullRequestCreated(ServicehookWebhookTfsGitPullRequestCreatedArgs.builder()
.repositoryId(exampleAzuredevopsGitRepository.id())
.branch("refs/heads/develop")
.build())
.build());
}
}
resources:
example:
type: azuredevops:ServicehookWebhookTfs
properties:
projectId: ${exampleAzuredevopsProject.id}
url: https://example.com/webhook
httpHeaders:
X-Custom-Header: my-value
Authorization: Bearer ${apiToken}
gitPullRequestCreated:
repositoryId: ${exampleAzuredevopsGitRepository.id}
branch: refs/heads/develop
Work Item Updated Event
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServicehookWebhookTfs("example", {
projectId: exampleAzuredevopsProject.id,
url: "https://example.com/webhook",
resourceDetailsToSend: "all",
messagesToSend: "text",
detailedMessagesToSend: "markdown",
workItemUpdated: {
workItemType: "Bug",
areaPath: "MyProject\\Area",
changedFields: "System.State",
},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServicehookWebhookTfs("example",
project_id=example_azuredevops_project["id"],
url="https://example.com/webhook",
resource_details_to_send="all",
messages_to_send="text",
detailed_messages_to_send="markdown",
work_item_updated={
"work_item_type": "Bug",
"area_path": "MyProject\\Area",
"changed_fields": "System.State",
})
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.NewServicehookWebhookTfs(ctx, "example", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
Url: pulumi.String("https://example.com/webhook"),
ResourceDetailsToSend: pulumi.String("all"),
MessagesToSend: pulumi.String("text"),
DetailedMessagesToSend: pulumi.String("markdown"),
WorkItemUpdated: &azuredevops.ServicehookWebhookTfsWorkItemUpdatedArgs{
WorkItemType: pulumi.String("Bug"),
AreaPath: pulumi.String("MyProject\\Area"),
ChangedFields: pulumi.String("System.State"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.ServicehookWebhookTfs("example", new()
{
ProjectId = exampleAzuredevopsProject.Id,
Url = "https://example.com/webhook",
ResourceDetailsToSend = "all",
MessagesToSend = "text",
DetailedMessagesToSend = "markdown",
WorkItemUpdated = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemUpdatedArgs
{
WorkItemType = "Bug",
AreaPath = "MyProject\\Area",
ChangedFields = "System.State",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServicehookWebhookTfs;
import com.pulumi.azuredevops.ServicehookWebhookTfsArgs;
import com.pulumi.azuredevops.inputs.ServicehookWebhookTfsWorkItemUpdatedArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ServicehookWebhookTfs("example", ServicehookWebhookTfsArgs.builder()
.projectId(exampleAzuredevopsProject.id())
.url("https://example.com/webhook")
.resourceDetailsToSend("all")
.messagesToSend("text")
.detailedMessagesToSend("markdown")
.workItemUpdated(ServicehookWebhookTfsWorkItemUpdatedArgs.builder()
.workItemType("Bug")
.areaPath("MyProject\\Area")
.changedFields("System.State")
.build())
.build());
}
}
resources:
example:
type: azuredevops:ServicehookWebhookTfs
properties:
projectId: ${exampleAzuredevopsProject.id}
url: https://example.com/webhook
resourceDetailsToSend: all
messagesToSend: text
detailedMessagesToSend: markdown
workItemUpdated:
workItemType: Bug
areaPath: MyProject\Area
changedFields: System.State
An empty configuration block will trigger on all events of that type:
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServicehookWebhookTfs("example", {
projectId: exampleAzuredevopsProject.id,
url: "https://example.com/webhook",
gitPush: {},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServicehookWebhookTfs("example",
project_id=example_azuredevops_project["id"],
url="https://example.com/webhook",
git_push={})
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.NewServicehookWebhookTfs(ctx, "example", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
Url: pulumi.String("https://example.com/webhook"),
GitPush: &azuredevops.ServicehookWebhookTfsGitPushArgs{},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.ServicehookWebhookTfs("example", new()
{
ProjectId = exampleAzuredevopsProject.Id,
Url = "https://example.com/webhook",
GitPush = null,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServicehookWebhookTfs;
import com.pulumi.azuredevops.ServicehookWebhookTfsArgs;
import com.pulumi.azuredevops.inputs.ServicehookWebhookTfsGitPushArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ServicehookWebhookTfs("example", ServicehookWebhookTfsArgs.builder()
.projectId(exampleAzuredevopsProject.id())
.url("https://example.com/webhook")
.gitPush(ServicehookWebhookTfsGitPushArgs.builder()
.build())
.build());
}
}
resources:
example:
type: azuredevops:ServicehookWebhookTfs
properties:
projectId: ${exampleAzuredevopsProject.id}
url: https://example.com/webhook
gitPush: {}
Create ServicehookWebhookTfs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServicehookWebhookTfs(name: string, args: ServicehookWebhookTfsArgs, opts?: CustomResourceOptions);@overload
def ServicehookWebhookTfs(resource_name: str,
args: ServicehookWebhookTfsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServicehookWebhookTfs(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
url: Optional[str] = None,
repository_deleted: Optional[ServicehookWebhookTfsRepositoryDeletedArgs] = None,
work_item_created: Optional[ServicehookWebhookTfsWorkItemCreatedArgs] = None,
detailed_messages_to_send: Optional[str] = None,
git_pull_request_commented: Optional[ServicehookWebhookTfsGitPullRequestCommentedArgs] = None,
git_pull_request_created: Optional[ServicehookWebhookTfsGitPullRequestCreatedArgs] = None,
git_pull_request_merge_attempted: Optional[ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs] = None,
git_pull_request_updated: Optional[ServicehookWebhookTfsGitPullRequestUpdatedArgs] = None,
git_push: Optional[ServicehookWebhookTfsGitPushArgs] = None,
http_headers: Optional[Mapping[str, str]] = None,
messages_to_send: Optional[str] = None,
basic_auth_username: Optional[str] = None,
repository_created: Optional[ServicehookWebhookTfsRepositoryCreatedArgs] = None,
build_completed: Optional[ServicehookWebhookTfsBuildCompletedArgs] = None,
accept_untrusted_certs: Optional[bool] = None,
service_connection_updated: Optional[ServicehookWebhookTfsServiceConnectionUpdatedArgs] = None,
repository_status_changed: Optional[ServicehookWebhookTfsRepositoryStatusChangedArgs] = None,
resource_details_to_send: Optional[str] = None,
service_connection_created: Optional[ServicehookWebhookTfsServiceConnectionCreatedArgs] = None,
repository_renamed: Optional[ServicehookWebhookTfsRepositoryRenamedArgs] = None,
tfvc_checkin: Optional[ServicehookWebhookTfsTfvcCheckinArgs] = None,
basic_auth_password: Optional[str] = None,
work_item_commented: Optional[ServicehookWebhookTfsWorkItemCommentedArgs] = None,
repository_forked: Optional[ServicehookWebhookTfsRepositoryForkedArgs] = None,
work_item_deleted: Optional[ServicehookWebhookTfsWorkItemDeletedArgs] = None,
work_item_restored: Optional[ServicehookWebhookTfsWorkItemRestoredArgs] = None,
work_item_updated: Optional[ServicehookWebhookTfsWorkItemUpdatedArgs] = None)func NewServicehookWebhookTfs(ctx *Context, name string, args ServicehookWebhookTfsArgs, opts ...ResourceOption) (*ServicehookWebhookTfs, error)public ServicehookWebhookTfs(string name, ServicehookWebhookTfsArgs args, CustomResourceOptions? opts = null)
public ServicehookWebhookTfs(String name, ServicehookWebhookTfsArgs args)
public ServicehookWebhookTfs(String name, ServicehookWebhookTfsArgs args, CustomResourceOptions options)
type: azuredevops:ServicehookWebhookTfs
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServicehookWebhookTfsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServicehookWebhookTfsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServicehookWebhookTfsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServicehookWebhookTfsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServicehookWebhookTfsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var servicehookWebhookTfsResource = new AzureDevOps.ServicehookWebhookTfs("servicehookWebhookTfsResource", new()
{
ProjectId = "string",
Url = "string",
RepositoryDeleted = new AzureDevOps.Inputs.ServicehookWebhookTfsRepositoryDeletedArgs
{
RepositoryId = "string",
},
WorkItemCreated = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemCreatedArgs
{
AreaPath = "string",
LinksChanged = false,
Tag = "string",
WorkItemType = "string",
},
DetailedMessagesToSend = "string",
GitPullRequestCommented = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPullRequestCommentedArgs
{
Branch = "string",
RepositoryId = "string",
},
GitPullRequestCreated = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPullRequestCreatedArgs
{
Branch = "string",
PullRequestCreatedBy = "string",
PullRequestReviewersContains = "string",
RepositoryId = "string",
},
GitPullRequestMergeAttempted = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs
{
Branch = "string",
MergeResult = "string",
PullRequestCreatedBy = "string",
PullRequestReviewersContains = "string",
RepositoryId = "string",
},
GitPullRequestUpdated = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPullRequestUpdatedArgs
{
Branch = "string",
NotificationType = "string",
PullRequestCreatedBy = "string",
PullRequestReviewersContains = "string",
RepositoryId = "string",
},
GitPush = new AzureDevOps.Inputs.ServicehookWebhookTfsGitPushArgs
{
Branch = "string",
PushedBy = "string",
RepositoryId = "string",
},
HttpHeaders =
{
{ "string", "string" },
},
MessagesToSend = "string",
BasicAuthUsername = "string",
RepositoryCreated = new AzureDevOps.Inputs.ServicehookWebhookTfsRepositoryCreatedArgs
{
ProjectId = "string",
},
BuildCompleted = new AzureDevOps.Inputs.ServicehookWebhookTfsBuildCompletedArgs
{
BuildStatus = "string",
DefinitionName = "string",
},
AcceptUntrustedCerts = false,
ServiceConnectionUpdated = new AzureDevOps.Inputs.ServicehookWebhookTfsServiceConnectionUpdatedArgs
{
ProjectId = "string",
},
RepositoryStatusChanged = new AzureDevOps.Inputs.ServicehookWebhookTfsRepositoryStatusChangedArgs
{
RepositoryId = "string",
},
ResourceDetailsToSend = "string",
ServiceConnectionCreated = new AzureDevOps.Inputs.ServicehookWebhookTfsServiceConnectionCreatedArgs
{
ProjectId = "string",
},
RepositoryRenamed = new AzureDevOps.Inputs.ServicehookWebhookTfsRepositoryRenamedArgs
{
RepositoryId = "string",
},
TfvcCheckin = new AzureDevOps.Inputs.ServicehookWebhookTfsTfvcCheckinArgs
{
Path = "string",
},
BasicAuthPassword = "string",
WorkItemCommented = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemCommentedArgs
{
AreaPath = "string",
CommentPattern = "string",
Tag = "string",
WorkItemType = "string",
},
RepositoryForked = new AzureDevOps.Inputs.ServicehookWebhookTfsRepositoryForkedArgs
{
RepositoryId = "string",
},
WorkItemDeleted = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemDeletedArgs
{
AreaPath = "string",
Tag = "string",
WorkItemType = "string",
},
WorkItemRestored = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemRestoredArgs
{
AreaPath = "string",
Tag = "string",
WorkItemType = "string",
},
WorkItemUpdated = new AzureDevOps.Inputs.ServicehookWebhookTfsWorkItemUpdatedArgs
{
AreaPath = "string",
ChangedFields = "string",
LinksChanged = false,
Tag = "string",
WorkItemType = "string",
},
});
example, err := azuredevops.NewServicehookWebhookTfs(ctx, "servicehookWebhookTfsResource", &azuredevops.ServicehookWebhookTfsArgs{
ProjectId: pulumi.String("string"),
Url: pulumi.String("string"),
RepositoryDeleted: &azuredevops.ServicehookWebhookTfsRepositoryDeletedArgs{
RepositoryId: pulumi.String("string"),
},
WorkItemCreated: &azuredevops.ServicehookWebhookTfsWorkItemCreatedArgs{
AreaPath: pulumi.String("string"),
LinksChanged: pulumi.Bool(false),
Tag: pulumi.String("string"),
WorkItemType: pulumi.String("string"),
},
DetailedMessagesToSend: pulumi.String("string"),
GitPullRequestCommented: &azuredevops.ServicehookWebhookTfsGitPullRequestCommentedArgs{
Branch: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
},
GitPullRequestCreated: &azuredevops.ServicehookWebhookTfsGitPullRequestCreatedArgs{
Branch: pulumi.String("string"),
PullRequestCreatedBy: pulumi.String("string"),
PullRequestReviewersContains: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
},
GitPullRequestMergeAttempted: &azuredevops.ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs{
Branch: pulumi.String("string"),
MergeResult: pulumi.String("string"),
PullRequestCreatedBy: pulumi.String("string"),
PullRequestReviewersContains: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
},
GitPullRequestUpdated: &azuredevops.ServicehookWebhookTfsGitPullRequestUpdatedArgs{
Branch: pulumi.String("string"),
NotificationType: pulumi.String("string"),
PullRequestCreatedBy: pulumi.String("string"),
PullRequestReviewersContains: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
},
GitPush: &azuredevops.ServicehookWebhookTfsGitPushArgs{
Branch: pulumi.String("string"),
PushedBy: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
},
HttpHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
MessagesToSend: pulumi.String("string"),
BasicAuthUsername: pulumi.String("string"),
RepositoryCreated: &azuredevops.ServicehookWebhookTfsRepositoryCreatedArgs{
ProjectId: pulumi.String("string"),
},
BuildCompleted: &azuredevops.ServicehookWebhookTfsBuildCompletedArgs{
BuildStatus: pulumi.String("string"),
DefinitionName: pulumi.String("string"),
},
AcceptUntrustedCerts: pulumi.Bool(false),
ServiceConnectionUpdated: &azuredevops.ServicehookWebhookTfsServiceConnectionUpdatedArgs{
ProjectId: pulumi.String("string"),
},
RepositoryStatusChanged: &azuredevops.ServicehookWebhookTfsRepositoryStatusChangedArgs{
RepositoryId: pulumi.String("string"),
},
ResourceDetailsToSend: pulumi.String("string"),
ServiceConnectionCreated: &azuredevops.ServicehookWebhookTfsServiceConnectionCreatedArgs{
ProjectId: pulumi.String("string"),
},
RepositoryRenamed: &azuredevops.ServicehookWebhookTfsRepositoryRenamedArgs{
RepositoryId: pulumi.String("string"),
},
TfvcCheckin: &azuredevops.ServicehookWebhookTfsTfvcCheckinArgs{
Path: pulumi.String("string"),
},
BasicAuthPassword: pulumi.String("string"),
WorkItemCommented: &azuredevops.ServicehookWebhookTfsWorkItemCommentedArgs{
AreaPath: pulumi.String("string"),
CommentPattern: pulumi.String("string"),
Tag: pulumi.String("string"),
WorkItemType: pulumi.String("string"),
},
RepositoryForked: &azuredevops.ServicehookWebhookTfsRepositoryForkedArgs{
RepositoryId: pulumi.String("string"),
},
WorkItemDeleted: &azuredevops.ServicehookWebhookTfsWorkItemDeletedArgs{
AreaPath: pulumi.String("string"),
Tag: pulumi.String("string"),
WorkItemType: pulumi.String("string"),
},
WorkItemRestored: &azuredevops.ServicehookWebhookTfsWorkItemRestoredArgs{
AreaPath: pulumi.String("string"),
Tag: pulumi.String("string"),
WorkItemType: pulumi.String("string"),
},
WorkItemUpdated: &azuredevops.ServicehookWebhookTfsWorkItemUpdatedArgs{
AreaPath: pulumi.String("string"),
ChangedFields: pulumi.String("string"),
LinksChanged: pulumi.Bool(false),
Tag: pulumi.String("string"),
WorkItemType: pulumi.String("string"),
},
})
var servicehookWebhookTfsResource = new ServicehookWebhookTfs("servicehookWebhookTfsResource", ServicehookWebhookTfsArgs.builder()
.projectId("string")
.url("string")
.repositoryDeleted(ServicehookWebhookTfsRepositoryDeletedArgs.builder()
.repositoryId("string")
.build())
.workItemCreated(ServicehookWebhookTfsWorkItemCreatedArgs.builder()
.areaPath("string")
.linksChanged(false)
.tag("string")
.workItemType("string")
.build())
.detailedMessagesToSend("string")
.gitPullRequestCommented(ServicehookWebhookTfsGitPullRequestCommentedArgs.builder()
.branch("string")
.repositoryId("string")
.build())
.gitPullRequestCreated(ServicehookWebhookTfsGitPullRequestCreatedArgs.builder()
.branch("string")
.pullRequestCreatedBy("string")
.pullRequestReviewersContains("string")
.repositoryId("string")
.build())
.gitPullRequestMergeAttempted(ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs.builder()
.branch("string")
.mergeResult("string")
.pullRequestCreatedBy("string")
.pullRequestReviewersContains("string")
.repositoryId("string")
.build())
.gitPullRequestUpdated(ServicehookWebhookTfsGitPullRequestUpdatedArgs.builder()
.branch("string")
.notificationType("string")
.pullRequestCreatedBy("string")
.pullRequestReviewersContains("string")
.repositoryId("string")
.build())
.gitPush(ServicehookWebhookTfsGitPushArgs.builder()
.branch("string")
.pushedBy("string")
.repositoryId("string")
.build())
.httpHeaders(Map.of("string", "string"))
.messagesToSend("string")
.basicAuthUsername("string")
.repositoryCreated(ServicehookWebhookTfsRepositoryCreatedArgs.builder()
.projectId("string")
.build())
.buildCompleted(ServicehookWebhookTfsBuildCompletedArgs.builder()
.buildStatus("string")
.definitionName("string")
.build())
.acceptUntrustedCerts(false)
.serviceConnectionUpdated(ServicehookWebhookTfsServiceConnectionUpdatedArgs.builder()
.projectId("string")
.build())
.repositoryStatusChanged(ServicehookWebhookTfsRepositoryStatusChangedArgs.builder()
.repositoryId("string")
.build())
.resourceDetailsToSend("string")
.serviceConnectionCreated(ServicehookWebhookTfsServiceConnectionCreatedArgs.builder()
.projectId("string")
.build())
.repositoryRenamed(ServicehookWebhookTfsRepositoryRenamedArgs.builder()
.repositoryId("string")
.build())
.tfvcCheckin(ServicehookWebhookTfsTfvcCheckinArgs.builder()
.path("string")
.build())
.basicAuthPassword("string")
.workItemCommented(ServicehookWebhookTfsWorkItemCommentedArgs.builder()
.areaPath("string")
.commentPattern("string")
.tag("string")
.workItemType("string")
.build())
.repositoryForked(ServicehookWebhookTfsRepositoryForkedArgs.builder()
.repositoryId("string")
.build())
.workItemDeleted(ServicehookWebhookTfsWorkItemDeletedArgs.builder()
.areaPath("string")
.tag("string")
.workItemType("string")
.build())
.workItemRestored(ServicehookWebhookTfsWorkItemRestoredArgs.builder()
.areaPath("string")
.tag("string")
.workItemType("string")
.build())
.workItemUpdated(ServicehookWebhookTfsWorkItemUpdatedArgs.builder()
.areaPath("string")
.changedFields("string")
.linksChanged(false)
.tag("string")
.workItemType("string")
.build())
.build());
servicehook_webhook_tfs_resource = azuredevops.ServicehookWebhookTfs("servicehookWebhookTfsResource",
project_id="string",
url="string",
repository_deleted={
"repository_id": "string",
},
work_item_created={
"area_path": "string",
"links_changed": False,
"tag": "string",
"work_item_type": "string",
},
detailed_messages_to_send="string",
git_pull_request_commented={
"branch": "string",
"repository_id": "string",
},
git_pull_request_created={
"branch": "string",
"pull_request_created_by": "string",
"pull_request_reviewers_contains": "string",
"repository_id": "string",
},
git_pull_request_merge_attempted={
"branch": "string",
"merge_result": "string",
"pull_request_created_by": "string",
"pull_request_reviewers_contains": "string",
"repository_id": "string",
},
git_pull_request_updated={
"branch": "string",
"notification_type": "string",
"pull_request_created_by": "string",
"pull_request_reviewers_contains": "string",
"repository_id": "string",
},
git_push={
"branch": "string",
"pushed_by": "string",
"repository_id": "string",
},
http_headers={
"string": "string",
},
messages_to_send="string",
basic_auth_username="string",
repository_created={
"project_id": "string",
},
build_completed={
"build_status": "string",
"definition_name": "string",
},
accept_untrusted_certs=False,
service_connection_updated={
"project_id": "string",
},
repository_status_changed={
"repository_id": "string",
},
resource_details_to_send="string",
service_connection_created={
"project_id": "string",
},
repository_renamed={
"repository_id": "string",
},
tfvc_checkin={
"path": "string",
},
basic_auth_password="string",
work_item_commented={
"area_path": "string",
"comment_pattern": "string",
"tag": "string",
"work_item_type": "string",
},
repository_forked={
"repository_id": "string",
},
work_item_deleted={
"area_path": "string",
"tag": "string",
"work_item_type": "string",
},
work_item_restored={
"area_path": "string",
"tag": "string",
"work_item_type": "string",
},
work_item_updated={
"area_path": "string",
"changed_fields": "string",
"links_changed": False,
"tag": "string",
"work_item_type": "string",
})
const servicehookWebhookTfsResource = new azuredevops.ServicehookWebhookTfs("servicehookWebhookTfsResource", {
projectId: "string",
url: "string",
repositoryDeleted: {
repositoryId: "string",
},
workItemCreated: {
areaPath: "string",
linksChanged: false,
tag: "string",
workItemType: "string",
},
detailedMessagesToSend: "string",
gitPullRequestCommented: {
branch: "string",
repositoryId: "string",
},
gitPullRequestCreated: {
branch: "string",
pullRequestCreatedBy: "string",
pullRequestReviewersContains: "string",
repositoryId: "string",
},
gitPullRequestMergeAttempted: {
branch: "string",
mergeResult: "string",
pullRequestCreatedBy: "string",
pullRequestReviewersContains: "string",
repositoryId: "string",
},
gitPullRequestUpdated: {
branch: "string",
notificationType: "string",
pullRequestCreatedBy: "string",
pullRequestReviewersContains: "string",
repositoryId: "string",
},
gitPush: {
branch: "string",
pushedBy: "string",
repositoryId: "string",
},
httpHeaders: {
string: "string",
},
messagesToSend: "string",
basicAuthUsername: "string",
repositoryCreated: {
projectId: "string",
},
buildCompleted: {
buildStatus: "string",
definitionName: "string",
},
acceptUntrustedCerts: false,
serviceConnectionUpdated: {
projectId: "string",
},
repositoryStatusChanged: {
repositoryId: "string",
},
resourceDetailsToSend: "string",
serviceConnectionCreated: {
projectId: "string",
},
repositoryRenamed: {
repositoryId: "string",
},
tfvcCheckin: {
path: "string",
},
basicAuthPassword: "string",
workItemCommented: {
areaPath: "string",
commentPattern: "string",
tag: "string",
workItemType: "string",
},
repositoryForked: {
repositoryId: "string",
},
workItemDeleted: {
areaPath: "string",
tag: "string",
workItemType: "string",
},
workItemRestored: {
areaPath: "string",
tag: "string",
workItemType: "string",
},
workItemUpdated: {
areaPath: "string",
changedFields: "string",
linksChanged: false,
tag: "string",
workItemType: "string",
},
});
type: azuredevops:ServicehookWebhookTfs
properties:
acceptUntrustedCerts: false
basicAuthPassword: string
basicAuthUsername: string
buildCompleted:
buildStatus: string
definitionName: string
detailedMessagesToSend: string
gitPullRequestCommented:
branch: string
repositoryId: string
gitPullRequestCreated:
branch: string
pullRequestCreatedBy: string
pullRequestReviewersContains: string
repositoryId: string
gitPullRequestMergeAttempted:
branch: string
mergeResult: string
pullRequestCreatedBy: string
pullRequestReviewersContains: string
repositoryId: string
gitPullRequestUpdated:
branch: string
notificationType: string
pullRequestCreatedBy: string
pullRequestReviewersContains: string
repositoryId: string
gitPush:
branch: string
pushedBy: string
repositoryId: string
httpHeaders:
string: string
messagesToSend: string
projectId: string
repositoryCreated:
projectId: string
repositoryDeleted:
repositoryId: string
repositoryForked:
repositoryId: string
repositoryRenamed:
repositoryId: string
repositoryStatusChanged:
repositoryId: string
resourceDetailsToSend: string
serviceConnectionCreated:
projectId: string
serviceConnectionUpdated:
projectId: string
tfvcCheckin:
path: string
url: string
workItemCommented:
areaPath: string
commentPattern: string
tag: string
workItemType: string
workItemCreated:
areaPath: string
linksChanged: false
tag: string
workItemType: string
workItemDeleted:
areaPath: string
tag: string
workItemType: string
workItemRestored:
areaPath: string
tag: string
workItemType: string
workItemUpdated:
areaPath: string
changedFields: string
linksChanged: false
tag: string
workItemType: string
ServicehookWebhookTfs Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServicehookWebhookTfs resource accepts the following input properties:
- Project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- Url string
- The URL to send HTTP POST to.
- Accept
Untrusted boolCerts - Accept untrusted SSL certificates. Defaults to
false. - Basic
Auth stringPassword - Basic authentication password.
- Basic
Auth stringUsername - Basic authentication username.
- Build
Completed Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Build Completed - Detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - Git
Pull Pulumi.Request Commented Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Commented - Git
Pull Pulumi.Request Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Created - Git
Pull Pulumi.Request Merge Attempted Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Merge Attempted - Git
Pull Pulumi.Request Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Updated - Git
Push Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Push - Http
Headers Dictionary<string, string> - HTTP headers as key-value pairs to include in the webhook request.
- Messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - Repository
Created Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Created - Repository
Deleted Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Deleted - Repository
Forked Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Forked - Repository
Renamed Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Renamed - Repository
Status Pulumi.Changed Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Status Changed - Resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - Service
Connection Pulumi.Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Service Connection Created - Service
Connection Pulumi.Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Service Connection Updated - Tfvc
Checkin Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Tfvc Checkin - Work
Item Pulumi.Commented Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Commented - Work
Item Pulumi.Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Created - Work
Item Pulumi.Deleted Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Deleted - Work
Item Pulumi.Restored Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Restored - Work
Item Pulumi.Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Updated
- Project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- Url string
- The URL to send HTTP POST to.
- Accept
Untrusted boolCerts - Accept untrusted SSL certificates. Defaults to
false. - Basic
Auth stringPassword - Basic authentication password.
- Basic
Auth stringUsername - Basic authentication username.
- Build
Completed ServicehookWebhook Tfs Build Completed Args - Detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - Git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented Args - Git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created Args - Git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted Args - Git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated Args - Git
Push ServicehookWebhook Tfs Git Push Args - Http
Headers map[string]string - HTTP headers as key-value pairs to include in the webhook request.
- Messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - Repository
Created ServicehookWebhook Tfs Repository Created Args - Repository
Deleted ServicehookWebhook Tfs Repository Deleted Args - Repository
Forked ServicehookWebhook Tfs Repository Forked Args - Repository
Renamed ServicehookWebhook Tfs Repository Renamed Args - Repository
Status ServicehookChanged Webhook Tfs Repository Status Changed Args - Resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - Service
Connection ServicehookCreated Webhook Tfs Service Connection Created Args - Service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated Args - Tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin Args - Work
Item ServicehookCommented Webhook Tfs Work Item Commented Args - Work
Item ServicehookCreated Webhook Tfs Work Item Created Args - Work
Item ServicehookDeleted Webhook Tfs Work Item Deleted Args - Work
Item ServicehookRestored Webhook Tfs Work Item Restored Args - Work
Item ServicehookUpdated Webhook Tfs Work Item Updated Args
- project
Id String - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- url String
- The URL to send HTTP POST to.
- accept
Untrusted BooleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth StringPassword - Basic authentication password.
- basic
Auth StringUsername - Basic authentication username.
- build
Completed ServicehookWebhook Tfs Build Completed - detailed
Messages StringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented - git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created - git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted - git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated - git
Push ServicehookWebhook Tfs Git Push - http
Headers Map<String,String> - HTTP headers as key-value pairs to include in the webhook request.
- messages
To StringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - repository
Created ServicehookWebhook Tfs Repository Created - repository
Deleted ServicehookWebhook Tfs Repository Deleted - repository
Forked ServicehookWebhook Tfs Repository Forked - repository
Renamed ServicehookWebhook Tfs Repository Renamed - repository
Status ServicehookChanged Webhook Tfs Repository Status Changed - resource
Details StringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection ServicehookCreated Webhook Tfs Service Connection Created - service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated - tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin - work
Item ServicehookCommented Webhook Tfs Work Item Commented - work
Item ServicehookCreated Webhook Tfs Work Item Created - work
Item ServicehookDeleted Webhook Tfs Work Item Deleted - work
Item ServicehookRestored Webhook Tfs Work Item Restored - work
Item ServicehookUpdated Webhook Tfs Work Item Updated
- project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- url string
- The URL to send HTTP POST to.
- accept
Untrusted booleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth stringPassword - Basic authentication password.
- basic
Auth stringUsername - Basic authentication username.
- build
Completed ServicehookWebhook Tfs Build Completed - detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented - git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created - git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted - git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated - git
Push ServicehookWebhook Tfs Git Push - http
Headers {[key: string]: string} - HTTP headers as key-value pairs to include in the webhook request.
- messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - repository
Created ServicehookWebhook Tfs Repository Created - repository
Deleted ServicehookWebhook Tfs Repository Deleted - repository
Forked ServicehookWebhook Tfs Repository Forked - repository
Renamed ServicehookWebhook Tfs Repository Renamed - repository
Status ServicehookChanged Webhook Tfs Repository Status Changed - resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection ServicehookCreated Webhook Tfs Service Connection Created - service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated - tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin - work
Item ServicehookCommented Webhook Tfs Work Item Commented - work
Item ServicehookCreated Webhook Tfs Work Item Created - work
Item ServicehookDeleted Webhook Tfs Work Item Deleted - work
Item ServicehookRestored Webhook Tfs Work Item Restored - work
Item ServicehookUpdated Webhook Tfs Work Item Updated
- project_
id str - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- url str
- The URL to send HTTP POST to.
- accept_
untrusted_ boolcerts - Accept untrusted SSL certificates. Defaults to
false. - basic_
auth_ strpassword - Basic authentication password.
- basic_
auth_ strusername - Basic authentication username.
- build_
completed ServicehookWebhook Tfs Build Completed Args - detailed_
messages_ strto_ send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git_
pull_ Servicehookrequest_ commented Webhook Tfs Git Pull Request Commented Args - git_
pull_ Servicehookrequest_ created Webhook Tfs Git Pull Request Created Args - git_
pull_ Servicehookrequest_ merge_ attempted Webhook Tfs Git Pull Request Merge Attempted Args - git_
pull_ Servicehookrequest_ updated Webhook Tfs Git Pull Request Updated Args - git_
push ServicehookWebhook Tfs Git Push Args - http_
headers Mapping[str, str] - HTTP headers as key-value pairs to include in the webhook request.
- messages_
to_ strsend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - repository_
created ServicehookWebhook Tfs Repository Created Args - repository_
deleted ServicehookWebhook Tfs Repository Deleted Args - repository_
forked ServicehookWebhook Tfs Repository Forked Args - repository_
renamed ServicehookWebhook Tfs Repository Renamed Args - repository_
status_ Servicehookchanged Webhook Tfs Repository Status Changed Args - resource_
details_ strto_ send - Resource details to send -
all,minimal, ornone. Defaults toall. - service_
connection_ Servicehookcreated Webhook Tfs Service Connection Created Args - service_
connection_ Servicehookupdated Webhook Tfs Service Connection Updated Args - tfvc_
checkin ServicehookWebhook Tfs Tfvc Checkin Args - work_
item_ Servicehookcommented Webhook Tfs Work Item Commented Args - work_
item_ Servicehookcreated Webhook Tfs Work Item Created Args - work_
item_ Servicehookdeleted Webhook Tfs Work Item Deleted Args - work_
item_ Servicehookrestored Webhook Tfs Work Item Restored Args - work_
item_ Servicehookupdated Webhook Tfs Work Item Updated Args
- project
Id String - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- url String
- The URL to send HTTP POST to.
- accept
Untrusted BooleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth StringPassword - Basic authentication password.
- basic
Auth StringUsername - Basic authentication username.
- build
Completed Property Map - detailed
Messages StringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull Property MapRequest Commented - git
Pull Property MapRequest Created - git
Pull Property MapRequest Merge Attempted - git
Pull Property MapRequest Updated - git
Push Property Map - http
Headers Map<String> - HTTP headers as key-value pairs to include in the webhook request.
- messages
To StringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - repository
Created Property Map - repository
Deleted Property Map - repository
Forked Property Map - repository
Renamed Property Map - repository
Status Property MapChanged - resource
Details StringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection Property MapCreated - service
Connection Property MapUpdated - tfvc
Checkin Property Map - work
Item Property MapCommented - work
Item Property MapCreated - work
Item Property MapDeleted - work
Item Property MapRestored - work
Item Property MapUpdated
Outputs
All input properties are implicitly available as output properties. Additionally, the ServicehookWebhookTfs resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServicehookWebhookTfs Resource
Get an existing ServicehookWebhookTfs resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServicehookWebhookTfsState, opts?: CustomResourceOptions): ServicehookWebhookTfs@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accept_untrusted_certs: Optional[bool] = None,
basic_auth_password: Optional[str] = None,
basic_auth_username: Optional[str] = None,
build_completed: Optional[ServicehookWebhookTfsBuildCompletedArgs] = None,
detailed_messages_to_send: Optional[str] = None,
git_pull_request_commented: Optional[ServicehookWebhookTfsGitPullRequestCommentedArgs] = None,
git_pull_request_created: Optional[ServicehookWebhookTfsGitPullRequestCreatedArgs] = None,
git_pull_request_merge_attempted: Optional[ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs] = None,
git_pull_request_updated: Optional[ServicehookWebhookTfsGitPullRequestUpdatedArgs] = None,
git_push: Optional[ServicehookWebhookTfsGitPushArgs] = None,
http_headers: Optional[Mapping[str, str]] = None,
messages_to_send: Optional[str] = None,
project_id: Optional[str] = None,
repository_created: Optional[ServicehookWebhookTfsRepositoryCreatedArgs] = None,
repository_deleted: Optional[ServicehookWebhookTfsRepositoryDeletedArgs] = None,
repository_forked: Optional[ServicehookWebhookTfsRepositoryForkedArgs] = None,
repository_renamed: Optional[ServicehookWebhookTfsRepositoryRenamedArgs] = None,
repository_status_changed: Optional[ServicehookWebhookTfsRepositoryStatusChangedArgs] = None,
resource_details_to_send: Optional[str] = None,
service_connection_created: Optional[ServicehookWebhookTfsServiceConnectionCreatedArgs] = None,
service_connection_updated: Optional[ServicehookWebhookTfsServiceConnectionUpdatedArgs] = None,
tfvc_checkin: Optional[ServicehookWebhookTfsTfvcCheckinArgs] = None,
url: Optional[str] = None,
work_item_commented: Optional[ServicehookWebhookTfsWorkItemCommentedArgs] = None,
work_item_created: Optional[ServicehookWebhookTfsWorkItemCreatedArgs] = None,
work_item_deleted: Optional[ServicehookWebhookTfsWorkItemDeletedArgs] = None,
work_item_restored: Optional[ServicehookWebhookTfsWorkItemRestoredArgs] = None,
work_item_updated: Optional[ServicehookWebhookTfsWorkItemUpdatedArgs] = None) -> ServicehookWebhookTfsfunc GetServicehookWebhookTfs(ctx *Context, name string, id IDInput, state *ServicehookWebhookTfsState, opts ...ResourceOption) (*ServicehookWebhookTfs, error)public static ServicehookWebhookTfs Get(string name, Input<string> id, ServicehookWebhookTfsState? state, CustomResourceOptions? opts = null)public static ServicehookWebhookTfs get(String name, Output<String> id, ServicehookWebhookTfsState state, CustomResourceOptions options)resources: _: type: azuredevops:ServicehookWebhookTfs get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accept
Untrusted boolCerts - Accept untrusted SSL certificates. Defaults to
false. - Basic
Auth stringPassword - Basic authentication password.
- Basic
Auth stringUsername - Basic authentication username.
- Build
Completed Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Build Completed - Detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - Git
Pull Pulumi.Request Commented Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Commented - Git
Pull Pulumi.Request Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Created - Git
Pull Pulumi.Request Merge Attempted Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Merge Attempted - Git
Pull Pulumi.Request Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Pull Request Updated - Git
Push Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Git Push - Http
Headers Dictionary<string, string> - HTTP headers as key-value pairs to include in the webhook request.
- Messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - Project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- Repository
Created Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Created - Repository
Deleted Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Deleted - Repository
Forked Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Forked - Repository
Renamed Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Renamed - Repository
Status Pulumi.Changed Azure Dev Ops. Inputs. Servicehook Webhook Tfs Repository Status Changed - Resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - Service
Connection Pulumi.Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Service Connection Created - Service
Connection Pulumi.Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Service Connection Updated - Tfvc
Checkin Pulumi.Azure Dev Ops. Inputs. Servicehook Webhook Tfs Tfvc Checkin - Url string
- The URL to send HTTP POST to.
- Work
Item Pulumi.Commented Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Commented - Work
Item Pulumi.Created Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Created - Work
Item Pulumi.Deleted Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Deleted - Work
Item Pulumi.Restored Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Restored - Work
Item Pulumi.Updated Azure Dev Ops. Inputs. Servicehook Webhook Tfs Work Item Updated
- Accept
Untrusted boolCerts - Accept untrusted SSL certificates. Defaults to
false. - Basic
Auth stringPassword - Basic authentication password.
- Basic
Auth stringUsername - Basic authentication username.
- Build
Completed ServicehookWebhook Tfs Build Completed Args - Detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - Git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented Args - Git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created Args - Git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted Args - Git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated Args - Git
Push ServicehookWebhook Tfs Git Push Args - Http
Headers map[string]string - HTTP headers as key-value pairs to include in the webhook request.
- Messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - Project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- Repository
Created ServicehookWebhook Tfs Repository Created Args - Repository
Deleted ServicehookWebhook Tfs Repository Deleted Args - Repository
Forked ServicehookWebhook Tfs Repository Forked Args - Repository
Renamed ServicehookWebhook Tfs Repository Renamed Args - Repository
Status ServicehookChanged Webhook Tfs Repository Status Changed Args - Resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - Service
Connection ServicehookCreated Webhook Tfs Service Connection Created Args - Service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated Args - Tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin Args - Url string
- The URL to send HTTP POST to.
- Work
Item ServicehookCommented Webhook Tfs Work Item Commented Args - Work
Item ServicehookCreated Webhook Tfs Work Item Created Args - Work
Item ServicehookDeleted Webhook Tfs Work Item Deleted Args - Work
Item ServicehookRestored Webhook Tfs Work Item Restored Args - Work
Item ServicehookUpdated Webhook Tfs Work Item Updated Args
- accept
Untrusted BooleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth StringPassword - Basic authentication password.
- basic
Auth StringUsername - Basic authentication username.
- build
Completed ServicehookWebhook Tfs Build Completed - detailed
Messages StringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented - git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created - git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted - git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated - git
Push ServicehookWebhook Tfs Git Push - http
Headers Map<String,String> - HTTP headers as key-value pairs to include in the webhook request.
- messages
To StringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - project
Id String - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- repository
Created ServicehookWebhook Tfs Repository Created - repository
Deleted ServicehookWebhook Tfs Repository Deleted - repository
Forked ServicehookWebhook Tfs Repository Forked - repository
Renamed ServicehookWebhook Tfs Repository Renamed - repository
Status ServicehookChanged Webhook Tfs Repository Status Changed - resource
Details StringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection ServicehookCreated Webhook Tfs Service Connection Created - service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated - tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin - url String
- The URL to send HTTP POST to.
- work
Item ServicehookCommented Webhook Tfs Work Item Commented - work
Item ServicehookCreated Webhook Tfs Work Item Created - work
Item ServicehookDeleted Webhook Tfs Work Item Deleted - work
Item ServicehookRestored Webhook Tfs Work Item Restored - work
Item ServicehookUpdated Webhook Tfs Work Item Updated
- accept
Untrusted booleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth stringPassword - Basic authentication password.
- basic
Auth stringUsername - Basic authentication username.
- build
Completed ServicehookWebhook Tfs Build Completed - detailed
Messages stringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull ServicehookRequest Commented Webhook Tfs Git Pull Request Commented - git
Pull ServicehookRequest Created Webhook Tfs Git Pull Request Created - git
Pull ServicehookRequest Merge Attempted Webhook Tfs Git Pull Request Merge Attempted - git
Pull ServicehookRequest Updated Webhook Tfs Git Pull Request Updated - git
Push ServicehookWebhook Tfs Git Push - http
Headers {[key: string]: string} - HTTP headers as key-value pairs to include in the webhook request.
- messages
To stringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - project
Id string - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- repository
Created ServicehookWebhook Tfs Repository Created - repository
Deleted ServicehookWebhook Tfs Repository Deleted - repository
Forked ServicehookWebhook Tfs Repository Forked - repository
Renamed ServicehookWebhook Tfs Repository Renamed - repository
Status ServicehookChanged Webhook Tfs Repository Status Changed - resource
Details stringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection ServicehookCreated Webhook Tfs Service Connection Created - service
Connection ServicehookUpdated Webhook Tfs Service Connection Updated - tfvc
Checkin ServicehookWebhook Tfs Tfvc Checkin - url string
- The URL to send HTTP POST to.
- work
Item ServicehookCommented Webhook Tfs Work Item Commented - work
Item ServicehookCreated Webhook Tfs Work Item Created - work
Item ServicehookDeleted Webhook Tfs Work Item Deleted - work
Item ServicehookRestored Webhook Tfs Work Item Restored - work
Item ServicehookUpdated Webhook Tfs Work Item Updated
- accept_
untrusted_ boolcerts - Accept untrusted SSL certificates. Defaults to
false. - basic_
auth_ strpassword - Basic authentication password.
- basic_
auth_ strusername - Basic authentication username.
- build_
completed ServicehookWebhook Tfs Build Completed Args - detailed_
messages_ strto_ send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git_
pull_ Servicehookrequest_ commented Webhook Tfs Git Pull Request Commented Args - git_
pull_ Servicehookrequest_ created Webhook Tfs Git Pull Request Created Args - git_
pull_ Servicehookrequest_ merge_ attempted Webhook Tfs Git Pull Request Merge Attempted Args - git_
pull_ Servicehookrequest_ updated Webhook Tfs Git Pull Request Updated Args - git_
push ServicehookWebhook Tfs Git Push Args - http_
headers Mapping[str, str] - HTTP headers as key-value pairs to include in the webhook request.
- messages_
to_ strsend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - project_
id str - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- repository_
created ServicehookWebhook Tfs Repository Created Args - repository_
deleted ServicehookWebhook Tfs Repository Deleted Args - repository_
forked ServicehookWebhook Tfs Repository Forked Args - repository_
renamed ServicehookWebhook Tfs Repository Renamed Args - repository_
status_ Servicehookchanged Webhook Tfs Repository Status Changed Args - resource_
details_ strto_ send - Resource details to send -
all,minimal, ornone. Defaults toall. - service_
connection_ Servicehookcreated Webhook Tfs Service Connection Created Args - service_
connection_ Servicehookupdated Webhook Tfs Service Connection Updated Args - tfvc_
checkin ServicehookWebhook Tfs Tfvc Checkin Args - url str
- The URL to send HTTP POST to.
- work_
item_ Servicehookcommented Webhook Tfs Work Item Commented Args - work_
item_ Servicehookcreated Webhook Tfs Work Item Created Args - work_
item_ Servicehookdeleted Webhook Tfs Work Item Deleted Args - work_
item_ Servicehookrestored Webhook Tfs Work Item Restored Args - work_
item_ Servicehookupdated Webhook Tfs Work Item Updated Args
- accept
Untrusted BooleanCerts - Accept untrusted SSL certificates. Defaults to
false. - basic
Auth StringPassword - Basic authentication password.
- basic
Auth StringUsername - Basic authentication username.
- build
Completed Property Map - detailed
Messages StringTo Send - Detailed messages to send -
all,text,html,markdown, ornone. Defaults toall. - git
Pull Property MapRequest Commented - git
Pull Property MapRequest Created - git
Pull Property MapRequest Merge Attempted - git
Pull Property MapRequest Updated - git
Push Property Map - http
Headers Map<String> - HTTP headers as key-value pairs to include in the webhook request.
- messages
To StringSend - Messages to send -
all,text,html,markdown, ornone. Defaults toall. - project
Id String - The ID of the project. Changing this forces a new Service Hook Webhook TFS to be created.
- repository
Created Property Map - repository
Deleted Property Map - repository
Forked Property Map - repository
Renamed Property Map - repository
Status Property MapChanged - resource
Details StringTo Send - Resource details to send -
all,minimal, ornone. Defaults toall. - service
Connection Property MapCreated - service
Connection Property MapUpdated - tfvc
Checkin Property Map - url String
- The URL to send HTTP POST to.
- work
Item Property MapCommented - work
Item Property MapCreated - work
Item Property MapDeleted - work
Item Property MapRestored - work
Item Property MapUpdated
Supporting Types
ServicehookWebhookTfsBuildCompleted, ServicehookWebhookTfsBuildCompletedArgs
- Build
Status string - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - Definition
Name string - Include only events for completed builds for a specific pipeline.
- Build
Status string - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - Definition
Name string - Include only events for completed builds for a specific pipeline.
- build
Status String - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - definition
Name String - Include only events for completed builds for a specific pipeline.
- build
Status string - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - definition
Name string - Include only events for completed builds for a specific pipeline.
- build_
status str - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - definition_
name str - Include only events for completed builds for a specific pipeline.
- build
Status String - Include only events for completed builds that have a specific completion status. Valid values:
Succeeded,PartiallySucceeded,Failed,Stopped. - definition
Name String - Include only events for completed builds for a specific pipeline.
ServicehookWebhookTfsGitPullRequestCommented, ServicehookWebhookTfsGitPullRequestCommentedArgs
- Branch string
- Include only events for pull requests in a specific branch.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- Branch string
- Include only events for pull requests in a specific branch.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch string
- Include only events for pull requests in a specific branch.
- repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch str
- Include only events for pull requests in a specific branch.
- repository_
id str - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
ServicehookWebhookTfsGitPullRequestCreated, ServicehookWebhookTfsGitPullRequestCreatedArgs
- Branch string
- Include only events for pull requests in a specific branch.
- Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- Branch string
- Include only events for pull requests in a specific branch.
- Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch string
- Include only events for pull requests in a specific branch.
- pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch str
- Include only events for pull requests in a specific branch.
- pull_
request_ strcreated_ by - Include only events for pull requests created by users in a specific group.
- pull_
request_ strreviewers_ contains - Include only events for pull requests with reviewers in a specific group.
- repository_
id str - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
ServicehookWebhookTfsGitPullRequestMergeAttempted, ServicehookWebhookTfsGitPullRequestMergeAttemptedArgs
- Branch string
- Include only events for pull requests in a specific branch.
- Merge
Result string - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- Branch string
- Include only events for pull requests in a specific branch.
- Merge
Result string - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- merge
Result String - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch string
- Include only events for pull requests in a specific branch.
- merge
Result string - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch str
- Include only events for pull requests in a specific branch.
- merge_
result str - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - pull_
request_ strcreated_ by - Include only events for pull requests created by users in a specific group.
- pull_
request_ strreviewers_ contains - Include only events for pull requests with reviewers in a specific group.
- repository_
id str - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- merge
Result String - Include only events for pull requests with a specific merge result. Valid values:
Succeeded,Unsuccessful,Conflicts,Failure,RejectedByPolicy. - pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
ServicehookWebhookTfsGitPullRequestUpdated, ServicehookWebhookTfsGitPullRequestUpdatedArgs
- Branch string
- Include only events for pull requests in a specific branch.
- Notification
Type string - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- Branch string
- Include only events for pull requests in a specific branch.
- Notification
Type string - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - Pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- Pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- Repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- notification
Type String - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch string
- Include only events for pull requests in a specific branch.
- notification
Type string - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - pull
Request stringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request stringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id string - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch str
- Include only events for pull requests in a specific branch.
- notification_
type str - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - pull_
request_ strcreated_ by - Include only events for pull requests created by users in a specific group.
- pull_
request_ strreviewers_ contains - Include only events for pull requests with reviewers in a specific group.
- repository_
id str - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for pull requests in a specific branch.
- notification
Type String - Include only events for pull requests with a specific change. Valid values:
PushNotification,ReviewersUpdateNotification,StatusUpdateNotification,ReviewerVoteNotification. - pull
Request StringCreated By - Include only events for pull requests created by users in a specific group.
- pull
Request StringReviewers Contains - Include only events for pull requests with reviewers in a specific group.
- repository
Id String - Include only events for pull requests in a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
ServicehookWebhookTfsGitPush, ServicehookWebhookTfsGitPushArgs
- Branch string
- Include only events for code pushes to a specific branch.
- Pushed
By string - Include only events for code pushes by users in a specific group.
- Repository
Id string - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- Branch string
- Include only events for code pushes to a specific branch.
- Pushed
By string - Include only events for code pushes by users in a specific group.
- Repository
Id string - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for code pushes to a specific branch.
- pushed
By String - Include only events for code pushes by users in a specific group.
- repository
Id String - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch string
- Include only events for code pushes to a specific branch.
- pushed
By string - Include only events for code pushes by users in a specific group.
- repository
Id string - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch str
- Include only events for code pushes to a specific branch.
- pushed_
by str - Include only events for code pushes by users in a specific group.
- repository_
id str - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
- branch String
- Include only events for code pushes to a specific branch.
- pushed
By String - Include only events for code pushes by users in a specific group.
- repository
Id String - Include only events for code pushes to a specific repository (repository ID). If not specified, all repositories in the project will trigger the event.
ServicehookWebhookTfsRepositoryCreated, ServicehookWebhookTfsRepositoryCreatedArgs
- Project
Id string - Include only events for repositories created in a specific project.
- Project
Id string - Include only events for repositories created in a specific project.
- project
Id String - Include only events for repositories created in a specific project.
- project
Id string - Include only events for repositories created in a specific project.
- project_
id str - Include only events for repositories created in a specific project.
- project
Id String - Include only events for repositories created in a specific project.
ServicehookWebhookTfsRepositoryDeleted, ServicehookWebhookTfsRepositoryDeletedArgs
- Repository
Id string - Include only events for repositories with a specific repository ID.
- Repository
Id string - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
- repository
Id string - Include only events for repositories with a specific repository ID.
- repository_
id str - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
ServicehookWebhookTfsRepositoryForked, ServicehookWebhookTfsRepositoryForkedArgs
- Repository
Id string - Include only events for repositories with a specific repository ID.
- Repository
Id string - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
- repository
Id string - Include only events for repositories with a specific repository ID.
- repository_
id str - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
ServicehookWebhookTfsRepositoryRenamed, ServicehookWebhookTfsRepositoryRenamedArgs
- Repository
Id string - Include only events for repositories with a specific repository ID.
- Repository
Id string - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
- repository
Id string - Include only events for repositories with a specific repository ID.
- repository_
id str - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
ServicehookWebhookTfsRepositoryStatusChanged, ServicehookWebhookTfsRepositoryStatusChangedArgs
- Repository
Id string - Include only events for repositories with a specific repository ID.
- Repository
Id string - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
- repository
Id string - Include only events for repositories with a specific repository ID.
- repository_
id str - Include only events for repositories with a specific repository ID.
- repository
Id String - Include only events for repositories with a specific repository ID.
ServicehookWebhookTfsServiceConnectionCreated, ServicehookWebhookTfsServiceConnectionCreatedArgs
- Project
Id string - Include only events for service connections created in a specific project.
- Project
Id string - Include only events for service connections created in a specific project.
- project
Id String - Include only events for service connections created in a specific project.
- project
Id string - Include only events for service connections created in a specific project.
- project_
id str - Include only events for service connections created in a specific project.
- project
Id String - Include only events for service connections created in a specific project.
ServicehookWebhookTfsServiceConnectionUpdated, ServicehookWebhookTfsServiceConnectionUpdatedArgs
- Project
Id string - Include only events for service connections updated in a specific project.
- Project
Id string - Include only events for service connections updated in a specific project.
- project
Id String - Include only events for service connections updated in a specific project.
- project
Id string - Include only events for service connections updated in a specific project.
- project_
id str - Include only events for service connections updated in a specific project.
- project
Id String - Include only events for service connections updated in a specific project.
ServicehookWebhookTfsTfvcCheckin, ServicehookWebhookTfsTfvcCheckinArgs
- Path string
- Include only events for check-ins that change files under a specific path.
- Path string
- Include only events for check-ins that change files under a specific path.
- path String
- Include only events for check-ins that change files under a specific path.
- path string
- Include only events for check-ins that change files under a specific path.
- path str
- Include only events for check-ins that change files under a specific path.
- path String
- Include only events for check-ins that change files under a specific path.
ServicehookWebhookTfsWorkItemCommented, ServicehookWebhookTfsWorkItemCommentedArgs
- Area
Path string - Include only events for work items under a specific area path.
- Comment
Pattern string - Include only events for work items with a comment that contains a specific string.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- Area
Path string - Include only events for work items under a specific area path.
- Comment
Pattern string - Include only events for work items with a comment that contains a specific string.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- comment
Pattern String - Include only events for work items with a comment that contains a specific string.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
- area
Path string - Include only events for work items under a specific area path.
- comment
Pattern string - Include only events for work items with a comment that contains a specific string.
- tag string
- Include only events for work items that contain a specific tag.
- work
Item stringType - Include only events for work items of a specific type.
- area_
path str - Include only events for work items under a specific area path.
- comment_
pattern str - Include only events for work items with a comment that contains a specific string.
- tag str
- Include only events for work items that contain a specific tag.
- work_
item_ strtype - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- comment
Pattern String - Include only events for work items with a comment that contains a specific string.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
ServicehookWebhookTfsWorkItemCreated, ServicehookWebhookTfsWorkItemCreatedArgs
- Area
Path string - Include only events for work items under a specific area path.
- Links
Changed bool - Include only events for work items with one or more links added or removed.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- Area
Path string - Include only events for work items under a specific area path.
- Links
Changed bool - Include only events for work items with one or more links added or removed.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- links
Changed Boolean - Include only events for work items with one or more links added or removed.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
- area
Path string - Include only events for work items under a specific area path.
- links
Changed boolean - Include only events for work items with one or more links added or removed.
- tag string
- Include only events for work items that contain a specific tag.
- work
Item stringType - Include only events for work items of a specific type.
- area_
path str - Include only events for work items under a specific area path.
- links_
changed bool - Include only events for work items with one or more links added or removed.
- tag str
- Include only events for work items that contain a specific tag.
- work_
item_ strtype - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- links
Changed Boolean - Include only events for work items with one or more links added or removed.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
ServicehookWebhookTfsWorkItemDeleted, ServicehookWebhookTfsWorkItemDeletedArgs
- Area
Path string - Include only events for work items under a specific area path.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- Area
Path string - Include only events for work items under a specific area path.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
- area
Path string - Include only events for work items under a specific area path.
- tag string
- Include only events for work items that contain a specific tag.
- work
Item stringType - Include only events for work items of a specific type.
- area_
path str - Include only events for work items under a specific area path.
- tag str
- Include only events for work items that contain a specific tag.
- work_
item_ strtype - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
ServicehookWebhookTfsWorkItemRestored, ServicehookWebhookTfsWorkItemRestoredArgs
- Area
Path string - Include only events for work items under a specific area path.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- Area
Path string - Include only events for work items under a specific area path.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
- area
Path string - Include only events for work items under a specific area path.
- tag string
- Include only events for work items that contain a specific tag.
- work
Item stringType - Include only events for work items of a specific type.
- area_
path str - Include only events for work items under a specific area path.
- tag str
- Include only events for work items that contain a specific tag.
- work_
item_ strtype - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
ServicehookWebhookTfsWorkItemUpdated, ServicehookWebhookTfsWorkItemUpdatedArgs
- Area
Path string - Include only events for work items under a specific area path.
- Changed
Fields string - Include only events for work items with a change in a specific field.
- Links
Changed bool - Include only events for work items with one or more links added or removed.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- Area
Path string - Include only events for work items under a specific area path.
- Changed
Fields string - Include only events for work items with a change in a specific field.
- Links
Changed bool - Include only events for work items with one or more links added or removed.
- Tag string
- Include only events for work items that contain a specific tag.
- Work
Item stringType - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- changed
Fields String - Include only events for work items with a change in a specific field.
- links
Changed Boolean - Include only events for work items with one or more links added or removed.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
- area
Path string - Include only events for work items under a specific area path.
- changed
Fields string - Include only events for work items with a change in a specific field.
- links
Changed boolean - Include only events for work items with one or more links added or removed.
- tag string
- Include only events for work items that contain a specific tag.
- work
Item stringType - Include only events for work items of a specific type.
- area_
path str - Include only events for work items under a specific area path.
- changed_
fields str - Include only events for work items with a change in a specific field.
- links_
changed bool - Include only events for work items with one or more links added or removed.
- tag str
- Include only events for work items that contain a specific tag.
- work_
item_ strtype - Include only events for work items of a specific type.
- area
Path String - Include only events for work items under a specific area path.
- changed
Fields String - Include only events for work items with a change in a specific field.
- links
Changed Boolean - Include only events for work items with one or more links added or removed.
- tag String
- Include only events for work items that contain a specific tag.
- work
Item StringType - Include only events for work items of a specific type.
Import
Webhook TFS Service Hook can be imported using the resource id, e.g.
$ pulumi import azuredevops:index/servicehookWebhookTfs:ServicehookWebhookTfs example 00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevopsTerraform Provider.
