1. Packages
  2. Grafana Cloud
  3. API Docs
  4. TeamExternalGroup
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

grafana.TeamExternalGroup

Explore with Pulumi AI

grafana logo
Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse

    Create TeamExternalGroup Resource

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

    Constructor syntax

    new TeamExternalGroup(name: string, args: TeamExternalGroupArgs, opts?: CustomResourceOptions);
    @overload
    def TeamExternalGroup(resource_name: str,
                          args: TeamExternalGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeamExternalGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          groups: Optional[Sequence[str]] = None,
                          team_id: Optional[str] = None)
    func NewTeamExternalGroup(ctx *Context, name string, args TeamExternalGroupArgs, opts ...ResourceOption) (*TeamExternalGroup, error)
    public TeamExternalGroup(string name, TeamExternalGroupArgs args, CustomResourceOptions? opts = null)
    public TeamExternalGroup(String name, TeamExternalGroupArgs args)
    public TeamExternalGroup(String name, TeamExternalGroupArgs args, CustomResourceOptions options)
    
    type: grafana:TeamExternalGroup
    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 TeamExternalGroupArgs
    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 TeamExternalGroupArgs
    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 TeamExternalGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamExternalGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamExternalGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var teamExternalGroupResource = new Grafana.TeamExternalGroup("teamExternalGroupResource", new()
    {
        Groups = new[]
        {
            "string",
        },
        TeamId = "string",
    });
    
    example, err := grafana.NewTeamExternalGroup(ctx, "teamExternalGroupResource", &grafana.TeamExternalGroupArgs{
    	Groups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TeamId: pulumi.String("string"),
    })
    
    var teamExternalGroupResource = new TeamExternalGroup("teamExternalGroupResource", TeamExternalGroupArgs.builder()        
        .groups("string")
        .teamId("string")
        .build());
    
    team_external_group_resource = grafana.TeamExternalGroup("teamExternalGroupResource",
        groups=["string"],
        team_id="string")
    
    const teamExternalGroupResource = new grafana.TeamExternalGroup("teamExternalGroupResource", {
        groups: ["string"],
        teamId: "string",
    });
    
    type: grafana:TeamExternalGroup
    properties:
        groups:
            - string
        teamId: string
    

    TeamExternalGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TeamExternalGroup resource accepts the following input properties:

    Groups List<string>
    The team external groups list
    TeamId string
    The Team ID
    Groups []string
    The team external groups list
    TeamId string
    The Team ID
    groups List<String>
    The team external groups list
    teamId String
    The Team ID
    groups string[]
    The team external groups list
    teamId string
    The Team ID
    groups Sequence[str]
    The team external groups list
    team_id str
    The Team ID
    groups List<String>
    The team external groups list
    teamId String
    The Team ID

    Outputs

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

    Get an existing TeamExternalGroup 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?: TeamExternalGroupState, opts?: CustomResourceOptions): TeamExternalGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            groups: Optional[Sequence[str]] = None,
            team_id: Optional[str] = None) -> TeamExternalGroup
    func GetTeamExternalGroup(ctx *Context, name string, id IDInput, state *TeamExternalGroupState, opts ...ResourceOption) (*TeamExternalGroup, error)
    public static TeamExternalGroup Get(string name, Input<string> id, TeamExternalGroupState? state, CustomResourceOptions? opts = null)
    public static TeamExternalGroup get(String name, Output<String> id, TeamExternalGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Groups List<string>
    The team external groups list
    TeamId string
    The Team ID
    Groups []string
    The team external groups list
    TeamId string
    The Team ID
    groups List<String>
    The team external groups list
    teamId String
    The Team ID
    groups string[]
    The team external groups list
    teamId string
    The Team ID
    groups Sequence[str]
    The team external groups list
    team_id str
    The Team ID
    groups List<String>
    The team external groups list
    teamId String
    The Team ID

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.4.2 published on Monday, Apr 15, 2024 by pulumiverse