1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. MsteamsWorkflowRecipient
honeycombio 0.31.0 published on Friday, Mar 7, 2025 by honeycombio

honeycombio.MsteamsWorkflowRecipient

Explore with Pulumi AI

# Resource: honeycombio.MsteamsWorkflowRecipient

honeycombio.MsteamsWorkflowRecipient allows you to define and manage an MSTeams Workflows recipient that can be used by Triggers or BurnAlerts notifications.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as honeycombio from "@pulumi/honeycombio";

const prod = new honeycombio.MsteamsWorkflowRecipient("prod", {url: "https://mycorp.westus.logic.azure.com/workflows/123456"});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

prod = honeycombio.MsteamsWorkflowRecipient("prod", url="https://mycorp.westus.logic.azure.com/workflows/123456")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := honeycombio.NewMsteamsWorkflowRecipient(ctx, "prod", &honeycombio.MsteamsWorkflowRecipientArgs{
			Url: pulumi.String("https://mycorp.westus.logic.azure.com/workflows/123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Honeycombio = Pulumi.Honeycombio;

return await Deployment.RunAsync(() => 
{
    var prod = new Honeycombio.MsteamsWorkflowRecipient("prod", new()
    {
        Url = "https://mycorp.westus.logic.azure.com/workflows/123456",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.honeycombio.MsteamsWorkflowRecipient;
import com.pulumi.honeycombio.MsteamsWorkflowRecipientArgs;
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 prod = new MsteamsWorkflowRecipient("prod", MsteamsWorkflowRecipientArgs.builder()
            .url("https://mycorp.westus.logic.azure.com/workflows/123456")
            .build());

    }
}
Copy
resources:
  prod:
    type: honeycombio:MsteamsWorkflowRecipient
    properties:
      url: https://mycorp.westus.logic.azure.com/workflows/123456
Copy

Create MsteamsWorkflowRecipient Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MsteamsWorkflowRecipient(name: string, args: MsteamsWorkflowRecipientArgs, opts?: CustomResourceOptions);
@overload
def MsteamsWorkflowRecipient(resource_name: str,
                             args: MsteamsWorkflowRecipientArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def MsteamsWorkflowRecipient(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             url: Optional[str] = None,
                             msteams_workflow_recipient_id: Optional[str] = None,
                             name: Optional[str] = None)
func NewMsteamsWorkflowRecipient(ctx *Context, name string, args MsteamsWorkflowRecipientArgs, opts ...ResourceOption) (*MsteamsWorkflowRecipient, error)
public MsteamsWorkflowRecipient(string name, MsteamsWorkflowRecipientArgs args, CustomResourceOptions? opts = null)
public MsteamsWorkflowRecipient(String name, MsteamsWorkflowRecipientArgs args)
public MsteamsWorkflowRecipient(String name, MsteamsWorkflowRecipientArgs args, CustomResourceOptions options)
type: honeycombio:MsteamsWorkflowRecipient
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MsteamsWorkflowRecipientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MsteamsWorkflowRecipientArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MsteamsWorkflowRecipientArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MsteamsWorkflowRecipientArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MsteamsWorkflowRecipientArgs
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 msteamsWorkflowRecipientResource = new Honeycombio.MsteamsWorkflowRecipient("msteamsWorkflowRecipientResource", new()
{
    Url = "string",
    MsteamsWorkflowRecipientId = "string",
    Name = "string",
});
Copy
example, err := honeycombio.NewMsteamsWorkflowRecipient(ctx, "msteamsWorkflowRecipientResource", &honeycombio.MsteamsWorkflowRecipientArgs{
Url: pulumi.String("string"),
MsteamsWorkflowRecipientId: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var msteamsWorkflowRecipientResource = new MsteamsWorkflowRecipient("msteamsWorkflowRecipientResource", MsteamsWorkflowRecipientArgs.builder()
    .url("string")
    .msteamsWorkflowRecipientId("string")
    .name("string")
    .build());
Copy
msteams_workflow_recipient_resource = honeycombio.MsteamsWorkflowRecipient("msteamsWorkflowRecipientResource",
    url="string",
    msteams_workflow_recipient_id="string",
    name="string")
Copy
const msteamsWorkflowRecipientResource = new honeycombio.MsteamsWorkflowRecipient("msteamsWorkflowRecipientResource", {
    url: "string",
    msteamsWorkflowRecipientId: "string",
    name: "string",
});
Copy
type: honeycombio:MsteamsWorkflowRecipient
properties:
    msteamsWorkflowRecipientId: string
    name: string
    url: string
Copy

MsteamsWorkflowRecipient 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 MsteamsWorkflowRecipient resource accepts the following input properties:

Url This property is required. string
The MSTeams Workflow URL to send the notification to.
MsteamsWorkflowRecipientId string
The ID of the recipient.
Name string
The name of the recipient.
Url This property is required. string
The MSTeams Workflow URL to send the notification to.
MsteamsWorkflowRecipientId string
The ID of the recipient.
Name string
The name of the recipient.
url This property is required. String
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId String
The ID of the recipient.
name String
The name of the recipient.
url This property is required. string
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId string
The ID of the recipient.
name string
The name of the recipient.
url This property is required. str
The MSTeams Workflow URL to send the notification to.
msteams_workflow_recipient_id str
The ID of the recipient.
name str
The name of the recipient.
url This property is required. String
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId String
The ID of the recipient.
name String
The name of the recipient.

Outputs

All input properties are implicitly available as output properties. Additionally, the MsteamsWorkflowRecipient 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 MsteamsWorkflowRecipient Resource

Get an existing MsteamsWorkflowRecipient 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?: MsteamsWorkflowRecipientState, opts?: CustomResourceOptions): MsteamsWorkflowRecipient
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        msteams_workflow_recipient_id: Optional[str] = None,
        name: Optional[str] = None,
        url: Optional[str] = None) -> MsteamsWorkflowRecipient
func GetMsteamsWorkflowRecipient(ctx *Context, name string, id IDInput, state *MsteamsWorkflowRecipientState, opts ...ResourceOption) (*MsteamsWorkflowRecipient, error)
public static MsteamsWorkflowRecipient Get(string name, Input<string> id, MsteamsWorkflowRecipientState? state, CustomResourceOptions? opts = null)
public static MsteamsWorkflowRecipient get(String name, Output<String> id, MsteamsWorkflowRecipientState state, CustomResourceOptions options)
resources:  _:    type: honeycombio:MsteamsWorkflowRecipient    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
MsteamsWorkflowRecipientId string
The ID of the recipient.
Name string
The name of the recipient.
Url string
The MSTeams Workflow URL to send the notification to.
MsteamsWorkflowRecipientId string
The ID of the recipient.
Name string
The name of the recipient.
Url string
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId String
The ID of the recipient.
name String
The name of the recipient.
url String
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId string
The ID of the recipient.
name string
The name of the recipient.
url string
The MSTeams Workflow URL to send the notification to.
msteams_workflow_recipient_id str
The ID of the recipient.
name str
The name of the recipient.
url str
The MSTeams Workflow URL to send the notification to.
msteamsWorkflowRecipientId String
The ID of the recipient.
name String
The name of the recipient.
url String
The MSTeams Workflow URL to send the notification to.

Import

MSTeams Workflow Recipients can be imported by their ID, e.g.

$ pulumi import honeycombio:index/msteamsWorkflowRecipient:MsteamsWorkflowRecipient my_recipient nx2zsefB1cX
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
honeycombio honeycombio/terraform-provider-honeycombio
License
Notes
This Pulumi package is based on the honeycombio Terraform Provider.