v1beta

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugToken

type DebugToken struct {
	pulumi.CustomResourceState

	AppId pulumi.StringOutput `pulumi:"appId"`
	// 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"`
	Project pulumi.StringOutput `pulumi:"project"`
	// 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) AppId added in v0.21.0

func (DebugTokenOutput) DisplayName added in v0.19.0

func (o DebugTokenOutput) DisplayName() pulumi.StringOutput

A human readable display name used to identify this debug token.

func (DebugTokenOutput) ElementType

func (DebugTokenOutput) ElementType() reflect.Type

func (DebugTokenOutput) Name added in v0.19.0

The relative resource name of the debug token, in the format: ```projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}```

func (DebugTokenOutput) Project added in v0.21.0

func (o DebugTokenOutput) Project() pulumi.StringOutput

func (DebugTokenOutput) ToDebugTokenOutput

func (o DebugTokenOutput) ToDebugTokenOutput() DebugTokenOutput

func (DebugTokenOutput) ToDebugTokenOutputWithContext

func (o DebugTokenOutput) ToDebugTokenOutputWithContext(ctx context.Context) DebugTokenOutput

func (DebugTokenOutput) Token added in v0.19.0

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.

type DebugTokenState

type DebugTokenState struct {
}

func (DebugTokenState) ElementType

func (DebugTokenState) ElementType() reflect.Type

type LookupDebugTokenArgs

type LookupDebugTokenArgs struct {
	AppId        string  `pulumi:"appId"`
	DebugTokenId string  `pulumi:"debugTokenId"`
	Project      *string `pulumi:"project"`
}

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 (LookupDebugTokenResultOutput) DisplayName added in v0.8.0

A human readable display name used to identify this debug token.

func (LookupDebugTokenResultOutput) ElementType added in v0.8.0

func (LookupDebugTokenResultOutput) Name added in v0.8.0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL