coralogix.Team
Explore with Pulumi AI
Coralogix Team.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coralogix from "@pulumi/coralogix";
const example = new coralogix.Team("example", {dailyQuota: 0.025});
import pulumi
import pulumi_coralogix as coralogix
example = coralogix.Team("example", daily_quota=0.025)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coralogix.NewTeam(ctx, "example", &coralogix.TeamArgs{
DailyQuota: pulumi.Float64(0.025),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Coralogix = Pulumi.Coralogix;
return await Deployment.RunAsync(() =>
{
var example = new Coralogix.Team("example", new()
{
DailyQuota = 0.025,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coralogix.Team;
import com.pulumi.coralogix.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) {
var example = new Team("example", TeamArgs.builder()
.dailyQuota(0.025)
.build());
}
}
resources:
example:
type: coralogix:Team
properties:
dailyQuota: 0.025
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,
daily_quota: Optional[float] = None,
name: 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: coralogix: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 Coralogix.Team("teamResource", new()
{
DailyQuota = 0,
Name = "string",
});
example, err := coralogix.NewTeam(ctx, "teamResource", &coralogix.TeamArgs{
DailyQuota: pulumi.Float64(0),
Name: pulumi.String("string"),
})
var teamResource = new Team("teamResource", TeamArgs.builder()
.dailyQuota(0)
.name("string")
.build());
team_resource = coralogix.Team("teamResource",
daily_quota=0,
name="string")
const teamResource = new coralogix.Team("teamResource", {
dailyQuota: 0,
name: "string",
});
type: coralogix:Team
properties:
dailyQuota: 0
name: 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:
- Daily
Quota double - Team quota. Optional, Default daily quota is 0.01 units/day.
- Name string
- Team name.
- Daily
Quota float64 - Team quota. Optional, Default daily quota is 0.01 units/day.
- Name string
- Team name.
- daily
Quota Double - Team quota. Optional, Default daily quota is 0.01 units/day.
- name String
- Team name.
- daily
Quota number - Team quota. Optional, Default daily quota is 0.01 units/day.
- name string
- Team name.
- daily_
quota float - Team quota. Optional, Default daily quota is 0.01 units/day.
- name str
- Team name.
- daily
Quota Number - Team quota. Optional, Default daily quota is 0.01 units/day.
- name String
- Team name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:
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,
daily_quota: Optional[float] = None,
name: Optional[str] = None,
retention: Optional[float] = 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: coralogix: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.
- Daily
Quota double - Team quota. Optional, Default daily quota is 0.01 units/day.
- Name string
- Team name.
- Retention double
- Team retention.
- Daily
Quota float64 - Team quota. Optional, Default daily quota is 0.01 units/day.
- Name string
- Team name.
- Retention float64
- Team retention.
- daily
Quota Double - Team quota. Optional, Default daily quota is 0.01 units/day.
- name String
- Team name.
- retention Double
- Team retention.
- daily
Quota number - Team quota. Optional, Default daily quota is 0.01 units/day.
- name string
- Team name.
- retention number
- Team retention.
- daily_
quota float - Team quota. Optional, Default daily quota is 0.01 units/day.
- name str
- Team name.
- retention float
- Team retention.
- daily
Quota Number - Team quota. Optional, Default daily quota is 0.01 units/day.
- name String
- Team name.
- retention Number
- Team retention.
Package Details
- Repository
- coralogix coralogix/terraform-provider-coralogix
- License
- Notes
- This Pulumi package is based on the
coralogix
Terraform Provider.