1. Packages
  2. Cyral Provider
  3. API Docs
  4. IntegrationMicrosoftTeams
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

cyral.IntegrationMicrosoftTeams

Explore with Pulumi AI

Manages integration with Microsoft Teams.

Example Usage

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

const someResourceName = new cyral.IntegrationMicrosoftTeams("someResourceName", {url: ""});
Copy
import pulumi
import pulumi_cyral as cyral

some_resource_name = cyral.IntegrationMicrosoftTeams("someResourceName", url="")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cyral.NewIntegrationMicrosoftTeams(ctx, "someResourceName", &cyral.IntegrationMicrosoftTeamsArgs{
			Url: pulumi.String(""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cyral = Pulumi.Cyral;

return await Deployment.RunAsync(() => 
{
    var someResourceName = new Cyral.IntegrationMicrosoftTeams("someResourceName", new()
    {
        Url = "",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cyral.IntegrationMicrosoftTeams;
import com.pulumi.cyral.IntegrationMicrosoftTeamsArgs;
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 someResourceName = new IntegrationMicrosoftTeams("someResourceName", IntegrationMicrosoftTeamsArgs.builder()
            .url("")
            .build());

    }
}
Copy
resources:
  someResourceName:
    type: cyral:IntegrationMicrosoftTeams
    properties:
      url: ""
Copy

Create IntegrationMicrosoftTeams Resource

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

Constructor syntax

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

@overload
def IntegrationMicrosoftTeams(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              url: Optional[str] = None,
                              name: Optional[str] = None)
func NewIntegrationMicrosoftTeams(ctx *Context, name string, args IntegrationMicrosoftTeamsArgs, opts ...ResourceOption) (*IntegrationMicrosoftTeams, error)
public IntegrationMicrosoftTeams(string name, IntegrationMicrosoftTeamsArgs args, CustomResourceOptions? opts = null)
public IntegrationMicrosoftTeams(String name, IntegrationMicrosoftTeamsArgs args)
public IntegrationMicrosoftTeams(String name, IntegrationMicrosoftTeamsArgs args, CustomResourceOptions options)
type: cyral:IntegrationMicrosoftTeams
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. IntegrationMicrosoftTeamsArgs
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. IntegrationMicrosoftTeamsArgs
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. IntegrationMicrosoftTeamsArgs
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. IntegrationMicrosoftTeamsArgs
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. IntegrationMicrosoftTeamsArgs
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 integrationMicrosoftTeamsResource = new Cyral.IntegrationMicrosoftTeams("integrationMicrosoftTeamsResource", new()
{
    Url = "string",
    Name = "string",
});
Copy
example, err := cyral.NewIntegrationMicrosoftTeams(ctx, "integrationMicrosoftTeamsResource", &cyral.IntegrationMicrosoftTeamsArgs{
Url: pulumi.String("string"),
Name: pulumi.String("string"),
})
Copy
var integrationMicrosoftTeamsResource = new IntegrationMicrosoftTeams("integrationMicrosoftTeamsResource", IntegrationMicrosoftTeamsArgs.builder()
    .url("string")
    .name("string")
    .build());
Copy
integration_microsoft_teams_resource = cyral.IntegrationMicrosoftTeams("integrationMicrosoftTeamsResource",
    url="string",
    name="string")
Copy
const integrationMicrosoftTeamsResource = new cyral.IntegrationMicrosoftTeams("integrationMicrosoftTeamsResource", {
    url: "string",
    name: "string",
});
Copy
type: cyral:IntegrationMicrosoftTeams
properties:
    name: string
    url: string
Copy

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

Url This property is required. string
Microsoft Teams webhook URL.
Name string
Integration name that will be used internally in the control plane.
Url This property is required. string
Microsoft Teams webhook URL.
Name string
Integration name that will be used internally in the control plane.
url This property is required. String
Microsoft Teams webhook URL.
name String
Integration name that will be used internally in the control plane.
url This property is required. string
Microsoft Teams webhook URL.
name string
Integration name that will be used internally in the control plane.
url This property is required. str
Microsoft Teams webhook URL.
name str
Integration name that will be used internally in the control plane.
url This property is required. String
Microsoft Teams webhook URL.
name String
Integration name that will be used internally in the control plane.

Outputs

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

Get an existing IntegrationMicrosoftTeams 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?: IntegrationMicrosoftTeamsState, opts?: CustomResourceOptions): IntegrationMicrosoftTeams
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        url: Optional[str] = None) -> IntegrationMicrosoftTeams
func GetIntegrationMicrosoftTeams(ctx *Context, name string, id IDInput, state *IntegrationMicrosoftTeamsState, opts ...ResourceOption) (*IntegrationMicrosoftTeams, error)
public static IntegrationMicrosoftTeams Get(string name, Input<string> id, IntegrationMicrosoftTeamsState? state, CustomResourceOptions? opts = null)
public static IntegrationMicrosoftTeams get(String name, Output<String> id, IntegrationMicrosoftTeamsState state, CustomResourceOptions options)
resources:  _:    type: cyral:IntegrationMicrosoftTeams    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:
Name string
Integration name that will be used internally in the control plane.
Url string
Microsoft Teams webhook URL.
Name string
Integration name that will be used internally in the control plane.
Url string
Microsoft Teams webhook URL.
name String
Integration name that will be used internally in the control plane.
url String
Microsoft Teams webhook URL.
name string
Integration name that will be used internally in the control plane.
url string
Microsoft Teams webhook URL.
name str
Integration name that will be used internally in the control plane.
url str
Microsoft Teams webhook URL.
name String
Integration name that will be used internally in the control plane.
url String
Microsoft Teams webhook URL.

Package Details

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