rollbar.Team
Explore with Pulumi AI
rollbar.Team
Resource
=========================
Rollbar team resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as rollbar from "@pulumi/rollbar";
// Create a team
const foo = new rollbar.Team("foo", {accessLevel: "standard"});
import pulumi
import pulumi_rollbar as rollbar
# Create a team
foo = rollbar.Team("foo", access_level="standard")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/rollbar/rollbar"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a team
_, err := rollbar.NewTeam(ctx, "foo", &rollbar.TeamArgs{
AccessLevel: pulumi.String("standard"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rollbar = Pulumi.Rollbar;
return await Deployment.RunAsync(() =>
{
// Create a team
var foo = new Rollbar.Team("foo", new()
{
AccessLevel = "standard",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rollbar.Team;
import com.pulumi.rollbar.TeamArgs;
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) {
// Create a team
var foo = new Team("foo", TeamArgs.builder()
.accessLevel("standard")
.build());
}
}
resources:
# Create a team
foo:
type: rollbar:Team
properties:
accessLevel: standard
Create Team Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
@overload
def Team(resource_name: str,
args: Optional[TeamArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Team(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_level: Optional[str] = None,
name: Optional[str] = None,
team_id: Optional[str] = None)
func NewTeam(ctx *Context, name string, args *TeamArgs, opts ...ResourceOption) (*Team, error)
public Team(string name, TeamArgs? args = null, CustomResourceOptions? opts = null)
type: rollbar:Team
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 TeamArgs
- 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 TeamArgs
- 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 TeamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamArgs
- 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 teamResource = new Rollbar.Team("teamResource", new()
{
AccessLevel = "string",
Name = "string",
TeamId = "string",
});
example, err := rollbar.NewTeam(ctx, "teamResource", &rollbar.TeamArgs{
AccessLevel: pulumi.String("string"),
Name: pulumi.String("string"),
TeamId: pulumi.String("string"),
})
var teamResource = new Team("teamResource", TeamArgs.builder()
.accessLevel("string")
.name("string")
.teamId("string")
.build());
team_resource = rollbar.Team("teamResource",
access_level="string",
name="string",
team_id="string")
const teamResource = new rollbar.Team("teamResource", {
accessLevel: "string",
name: "string",
teamId: "string",
});
type: rollbar:Team
properties:
accessLevel: string
name: string
teamId: string
Team 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 Team resource accepts the following input properties:
- Access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- Name string
- Human readable name for the team
- Team
Id string
- Access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- Name string
- Human readable name for the team
- Team
Id string
- access
Level String - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- name String
- Human readable name for the team
- team
Id String
- access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- name string
- Human readable name for the team
- team
Id string
- access_
level str - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- name str
- Human readable name for the team
- team_
id str
- access
Level String - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- name String
- Human readable name for the team
- team
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:
- account_
id float - ID of account that owns the team
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing Team Resource
Get an existing Team 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?: TeamState, opts?: CustomResourceOptions): Team
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_level: Optional[str] = None,
account_id: Optional[float] = None,
name: Optional[str] = None,
team_id: Optional[str] = None) -> Team
func GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)
public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)
public static Team get(String name, Output<String> id, TeamState state, CustomResourceOptions options)
resources: _: type: rollbar:Team 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.
- Access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- Account
Id double - ID of account that owns the team
- Name string
- Human readable name for the team
- Team
Id string
- Access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- Account
Id float64 - ID of account that owns the team
- Name string
- Human readable name for the team
- Team
Id string
- access
Level String - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- account
Id Double - ID of account that owns the team
- name String
- Human readable name for the team
- team
Id String
- access
Level string - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- account
Id number - ID of account that owns the team
- name string
- Human readable name for the team
- team
Id string
- access_
level str - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- account_
id float - ID of account that owns the team
- name str
- Human readable name for the team
- team_
id str
- access
Level String - The team's access level. Must be "standard", "light", or "view". Defaults to "standard".
- account
Id Number - ID of account that owns the team
- name String
- Human readable name for the team
- team
Id String
Import
Teams can be imported using the team ID, e.g.
$ pulumi import rollbar:index/team:Team foo 689493
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rollbar rollbar/terraform-provider-rollbar
- License
- Notes
- This Pulumi package is based on the
rollbar
Terraform Provider.