1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. TeamAccessToken
Pulumi Cloud v0.19.0 published on Tuesday, Apr 16, 2024 by Pulumi

pulumiservice.TeamAccessToken

Explore with Pulumi AI

pulumiservice logo
Pulumi Cloud v0.19.0 published on Tuesday, Apr 16, 2024 by Pulumi

    The Pulumi Cloud allows users to create access tokens scoped to team. Team access tokens is a resource to create them and assign them to a team

    Create TeamAccessToken Resource

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

    Constructor syntax

    new TeamAccessToken(name: string, args: TeamAccessTokenArgs, opts?: CustomResourceOptions);
    @overload
    def TeamAccessToken(resource_name: str,
                        args: TeamAccessTokenArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeamAccessToken(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        name: Optional[str] = None,
                        organization_name: Optional[str] = None,
                        team_name: Optional[str] = None,
                        description: Optional[str] = None)
    func NewTeamAccessToken(ctx *Context, name string, args TeamAccessTokenArgs, opts ...ResourceOption) (*TeamAccessToken, error)
    public TeamAccessToken(string name, TeamAccessTokenArgs args, CustomResourceOptions? opts = null)
    public TeamAccessToken(String name, TeamAccessTokenArgs args)
    public TeamAccessToken(String name, TeamAccessTokenArgs args, CustomResourceOptions options)
    
    type: pulumiservice:TeamAccessToken
    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 TeamAccessTokenArgs
    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 TeamAccessTokenArgs
    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 TeamAccessTokenArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamAccessTokenArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamAccessTokenArgs
    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 teamAccessTokenResource = new PulumiService.TeamAccessToken("teamAccessTokenResource", new()
    {
        Name = "string",
        OrganizationName = "string",
        TeamName = "string",
        Description = "string",
    });
    
    example, err := pulumiservice.NewTeamAccessToken(ctx, "teamAccessTokenResource", &pulumiservice.TeamAccessTokenArgs{
    Name: pulumi.String("string"),
    OrganizationName: pulumi.String("string"),
    TeamName: pulumi.String("string"),
    Description: pulumi.String("string"),
    })
    
    var teamAccessTokenResource = new TeamAccessToken("teamAccessTokenResource", TeamAccessTokenArgs.builder()        
        .name("string")
        .organizationName("string")
        .teamName("string")
        .description("string")
        .build());
    
    team_access_token_resource = pulumiservice.TeamAccessToken("teamAccessTokenResource",
        name="string",
        organization_name="string",
        team_name="string",
        description="string")
    
    const teamAccessTokenResource = new pulumiservice.TeamAccessToken("teamAccessTokenResource", {
        name: "string",
        organizationName: "string",
        teamName: "string",
        description: "string",
    });
    
    type: pulumiservice:TeamAccessToken
    properties:
        description: string
        name: string
        organizationName: string
        teamName: string
    

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

    Name string
    The name for the token. This must be unique amongst all machine tokens within your organization.
    OrganizationName string
    The organization's name.
    TeamName string
    The team name.
    Description string
    Optional. Team description.
    Name string
    The name for the token. This must be unique amongst all machine tokens within your organization.
    OrganizationName string
    The organization's name.
    TeamName string
    The team name.
    Description string
    Optional. Team description.
    name String
    The name for the token. This must be unique amongst all machine tokens within your organization.
    organizationName String
    The organization's name.
    teamName String
    The team name.
    description String
    Optional. Team description.
    name string
    The name for the token. This must be unique amongst all machine tokens within your organization.
    organizationName string
    The organization's name.
    teamName string
    The team name.
    description string
    Optional. Team description.
    name str
    The name for the token. This must be unique amongst all machine tokens within your organization.
    organization_name str
    The organization's name.
    team_name str
    The team name.
    description str
    Optional. Team description.
    name String
    The name for the token. This must be unique amongst all machine tokens within your organization.
    organizationName String
    The organization's name.
    teamName String
    The team name.
    description String
    Optional. Team description.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TeamAccessToken resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Value string
    The token's value.
    Id string
    The provider-assigned unique ID for this managed resource.
    Value string
    The token's value.
    id String
    The provider-assigned unique ID for this managed resource.
    value String
    The token's value.
    id string
    The provider-assigned unique ID for this managed resource.
    value string
    The token's value.
    id str
    The provider-assigned unique ID for this managed resource.
    value str
    The token's value.
    id String
    The provider-assigned unique ID for this managed resource.
    value String
    The token's value.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo
    Pulumi Cloud v0.19.0 published on Tuesday, Apr 16, 2024 by Pulumi