Documentation
¶
Index ¶
- type DebugToken
- type DebugTokenArgs
- type DebugTokenInput
- type DebugTokenOutput
- type DebugTokenState
- type LookupDebugTokenArgs
- type LookupDebugTokenOutputArgs
- type LookupDebugTokenResult
- type LookupDebugTokenResultOutput
- func (o LookupDebugTokenResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDebugTokenResultOutput) ElementType() reflect.Type
- func (o LookupDebugTokenResultOutput) Name() pulumi.StringOutput
- func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutput() LookupDebugTokenResultOutput
- func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutputWithContext(ctx context.Context) LookupDebugTokenResultOutput
- func (o LookupDebugTokenResultOutput) Token() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugToken ¶
type DebugToken struct { pulumi.CustomResourceState // A human readable display name used to identify this debug token. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The relative resource name of the debug token, in the format: “`projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}“` Name pulumi.StringOutput `pulumi:"name"` // Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response. Token pulumi.StringOutput `pulumi:"token"` }
Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.
func GetDebugToken ¶
func GetDebugToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DebugTokenState, opts ...pulumi.ResourceOption) (*DebugToken, error)
GetDebugToken gets an existing DebugToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDebugToken ¶
func NewDebugToken(ctx *pulumi.Context, name string, args *DebugTokenArgs, opts ...pulumi.ResourceOption) (*DebugToken, error)
NewDebugToken registers a new resource with the given unique name, arguments, and options.
func (*DebugToken) ElementType ¶
func (*DebugToken) ElementType() reflect.Type
func (*DebugToken) ToDebugTokenOutput ¶
func (i *DebugToken) ToDebugTokenOutput() DebugTokenOutput
func (*DebugToken) ToDebugTokenOutputWithContext ¶
func (i *DebugToken) ToDebugTokenOutputWithContext(ctx context.Context) DebugTokenOutput
type DebugTokenArgs ¶
type DebugTokenArgs struct { AppId pulumi.StringInput // A human readable display name used to identify this debug token. DisplayName pulumi.StringInput // The relative resource name of the debug token, in the format: “`projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}“` Name pulumi.StringPtrInput Project pulumi.StringPtrInput // Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response. Token pulumi.StringInput }
The set of arguments for constructing a DebugToken resource.
func (DebugTokenArgs) ElementType ¶
func (DebugTokenArgs) ElementType() reflect.Type
type DebugTokenInput ¶
type DebugTokenInput interface { pulumi.Input ToDebugTokenOutput() DebugTokenOutput ToDebugTokenOutputWithContext(ctx context.Context) DebugTokenOutput }
type DebugTokenOutput ¶
type DebugTokenOutput struct{ *pulumi.OutputState }
func (DebugTokenOutput) ElementType ¶
func (DebugTokenOutput) ElementType() reflect.Type
func (DebugTokenOutput) ToDebugTokenOutput ¶
func (o DebugTokenOutput) ToDebugTokenOutput() DebugTokenOutput
func (DebugTokenOutput) ToDebugTokenOutputWithContext ¶
func (o DebugTokenOutput) ToDebugTokenOutputWithContext(ctx context.Context) DebugTokenOutput
type DebugTokenState ¶
type DebugTokenState struct { }
func (DebugTokenState) ElementType ¶
func (DebugTokenState) ElementType() reflect.Type
type LookupDebugTokenArgs ¶
type LookupDebugTokenOutputArgs ¶ added in v0.8.0
type LookupDebugTokenOutputArgs struct { AppId pulumi.StringInput `pulumi:"appId"` DebugTokenId pulumi.StringInput `pulumi:"debugTokenId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupDebugTokenOutputArgs) ElementType ¶ added in v0.8.0
func (LookupDebugTokenOutputArgs) ElementType() reflect.Type
type LookupDebugTokenResult ¶
type LookupDebugTokenResult struct { // A human readable display name used to identify this debug token. DisplayName string `pulumi:"displayName"` // The relative resource name of the debug token, in the format: “`projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}“` Name string `pulumi:"name"` // Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response. Token string `pulumi:"token"` }
func LookupDebugToken ¶
func LookupDebugToken(ctx *pulumi.Context, args *LookupDebugTokenArgs, opts ...pulumi.InvokeOption) (*LookupDebugTokenResult, error)
Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response.
type LookupDebugTokenResultOutput ¶ added in v0.8.0
type LookupDebugTokenResultOutput struct{ *pulumi.OutputState }
func LookupDebugTokenOutput ¶ added in v0.8.0
func LookupDebugTokenOutput(ctx *pulumi.Context, args LookupDebugTokenOutputArgs, opts ...pulumi.InvokeOption) LookupDebugTokenResultOutput
func (LookupDebugTokenResultOutput) DisplayName ¶ added in v0.8.0
func (o LookupDebugTokenResultOutput) DisplayName() pulumi.StringOutput
A human readable display name used to identify this debug token.
func (LookupDebugTokenResultOutput) ElementType ¶ added in v0.8.0
func (LookupDebugTokenResultOutput) ElementType() reflect.Type
func (LookupDebugTokenResultOutput) Name ¶ added in v0.8.0
func (o LookupDebugTokenResultOutput) Name() pulumi.StringOutput
The relative resource name of the debug token, in the format: ```projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}```
func (LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutput ¶ added in v0.8.0
func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutput() LookupDebugTokenResultOutput
func (LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutputWithContext ¶ added in v0.8.0
func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutputWithContext(ctx context.Context) LookupDebugTokenResultOutput
func (LookupDebugTokenResultOutput) Token ¶ added in v0.8.0
func (o LookupDebugTokenResultOutput) Token() pulumi.StringOutput
Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.