Class Team
Inherited Members
Namespace: Pulumi.Vault.GitHub
Assembly: Pulumi.Vault.dll
Syntax
public class Team : CustomResource
Constructors
View SourceTeam(String, TeamArgs, CustomResourceOptions)
Create a Team resource with the given unique name, arguments, and options.
Declaration
public Team(string name, TeamArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TeamArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBackend
Path where the github auth backend is mounted. Defaults to github
if not specified.
Declaration
public Output<string> Backend { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Policies
An array of strings specifying the policies to be set on tokens issued using this role.
Declaration
public Output<ImmutableArray<string>> Policies { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
TeamCity
GitHub team name in "slugified" format.
Declaration
public Output<string> TeamCity { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TokenBoundCidrs
Specifies the blocks of IP addresses which are allowed to use the generated token
Declaration
public Output<ImmutableArray<string>> TokenBoundCidrs { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
TokenExplicitMaxTtl
Generated Token's Explicit Maximum TTL in seconds
Declaration
public Output<int?> TokenExplicitMaxTtl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenMaxTtl
The maximum lifetime of the generated token
Declaration
public Output<int?> TokenMaxTtl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenNoDefaultPolicy
If true, the 'default' policy will not automatically be added to generated tokens
Declaration
public Output<bool?> TokenNoDefaultPolicy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
TokenNumUses
The maximum number of times a token may be used, a value of zero means unlimited
Declaration
public Output<int?> TokenNumUses { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenPeriod
Generated Token's Period
Declaration
public Output<int?> TokenPeriod { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenPolicies
Generated Token's Policies
Declaration
public Output<ImmutableArray<string>> TokenPolicies { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
TokenTtl
The initial ttl of the token to generate in seconds
Declaration
public Output<int?> TokenTtl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenType
The type of token to generate, service or batch
Declaration
public Output<string> TokenType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, TeamState, CustomResourceOptions)
Get an existing Team resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Team Get(string name, Input<string> id, TeamState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TeamState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Team |