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 LookupWorkflowArgs added in v0.4.0

type LookupWorkflowArgs struct {
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	WorkflowId string  `pulumi:"workflowId"`
}

type LookupWorkflowOutputArgs added in v0.8.0

type LookupWorkflowOutputArgs struct {
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	WorkflowId pulumi.StringInput    `pulumi:"workflowId"`
}

func (LookupWorkflowOutputArgs) ElementType added in v0.8.0

func (LookupWorkflowOutputArgs) ElementType() reflect.Type

type LookupWorkflowResult added in v0.4.0

type LookupWorkflowResult struct {
	// The timestamp of when the workflow was created.
	CreateTime string `pulumi:"createTime"`
	// Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
	Description string `pulumi:"description"`
	// Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
	Labels map[string]string `pulumi:"labels"`
	// The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
	Name string `pulumi:"name"`
	// The timestamp that the latest revision of the workflow was created.
	RevisionCreateTime string `pulumi:"revisionCreateTime"`
	// The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
	RevisionId string `pulumi:"revisionId"`
	// The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
	ServiceAccount string `pulumi:"serviceAccount"`
	// Workflow code to be executed. The size limit is 128KB.
	SourceContents string `pulumi:"sourceContents"`
	// State of the workflow deployment.
	State string `pulumi:"state"`
	// The last update timestamp of the workflow.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupWorkflow added in v0.4.0

func LookupWorkflow(ctx *pulumi.Context, args *LookupWorkflowArgs, opts ...pulumi.InvokeOption) (*LookupWorkflowResult, error)

Gets details of a single Workflow.

type LookupWorkflowResultOutput added in v0.8.0

type LookupWorkflowResultOutput struct{ *pulumi.OutputState }

func LookupWorkflowOutput added in v0.8.0

func LookupWorkflowOutput(ctx *pulumi.Context, args LookupWorkflowOutputArgs, opts ...pulumi.InvokeOption) LookupWorkflowResultOutput

func (LookupWorkflowResultOutput) CreateTime added in v0.8.0

The timestamp of when the workflow was created.

func (LookupWorkflowResultOutput) Description added in v0.8.0

Description of the workflow provided by the user. Must be at most 1000 unicode characters long.

func (LookupWorkflowResultOutput) ElementType added in v0.8.0

func (LookupWorkflowResultOutput) ElementType() reflect.Type

func (LookupWorkflowResultOutput) Labels added in v0.8.0

Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.

func (LookupWorkflowResultOutput) Name added in v0.8.0

The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}

func (LookupWorkflowResultOutput) RevisionCreateTime added in v0.8.0

func (o LookupWorkflowResultOutput) RevisionCreateTime() pulumi.StringOutput

The timestamp that the latest revision of the workflow was created.

func (LookupWorkflowResultOutput) RevisionId added in v0.8.0

The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.

func (LookupWorkflowResultOutput) ServiceAccount added in v0.8.0

func (o LookupWorkflowResultOutput) ServiceAccount() pulumi.StringOutput

The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.

func (LookupWorkflowResultOutput) SourceContents added in v0.8.0

func (o LookupWorkflowResultOutput) SourceContents() pulumi.StringOutput

Workflow code to be executed. The size limit is 128KB.

func (LookupWorkflowResultOutput) State added in v0.8.0

State of the workflow deployment.

func (LookupWorkflowResultOutput) ToLookupWorkflowResultOutput added in v0.8.0

func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutput() LookupWorkflowResultOutput

func (LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext added in v0.8.0

func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx context.Context) LookupWorkflowResultOutput

func (LookupWorkflowResultOutput) UpdateTime added in v0.8.0

The last update timestamp of the workflow.

type Workflow

type Workflow struct {
	pulumi.CustomResourceState

	// The timestamp of when the workflow was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
	Description pulumi.StringOutput `pulumi:"description"`
	// Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The timestamp that the latest revision of the workflow was created.
	RevisionCreateTime pulumi.StringOutput `pulumi:"revisionCreateTime"`
	// The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.
	RevisionId pulumi.StringOutput `pulumi:"revisionId"`
	// The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
	ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"`
	// Workflow code to be executed. The size limit is 128KB.
	SourceContents pulumi.StringOutput `pulumi:"sourceContents"`
	// State of the workflow deployment.
	State pulumi.StringOutput `pulumi:"state"`
	// The last update timestamp of the workflow.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.
	WorkflowId pulumi.StringOutput `pulumi:"workflowId"`
}

Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation will return ALREADY_EXISTS error.

func GetWorkflow

func GetWorkflow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkflowState, opts ...pulumi.ResourceOption) (*Workflow, error)

GetWorkflow gets an existing Workflow 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 NewWorkflow

func NewWorkflow(ctx *pulumi.Context,
	name string, args *WorkflowArgs, opts ...pulumi.ResourceOption) (*Workflow, error)

NewWorkflow registers a new resource with the given unique name, arguments, and options.

func (*Workflow) ElementType

func (*Workflow) ElementType() reflect.Type

func (*Workflow) ToWorkflowOutput

func (i *Workflow) ToWorkflowOutput() WorkflowOutput

func (*Workflow) ToWorkflowOutputWithContext

func (i *Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput

type WorkflowArgs

type WorkflowArgs struct {
	// Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
	Description pulumi.StringPtrInput
	// Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
	ServiceAccount pulumi.StringPtrInput
	// Workflow code to be executed. The size limit is 128KB.
	SourceContents pulumi.StringPtrInput
	// Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.
	WorkflowId pulumi.StringInput
}

The set of arguments for constructing a Workflow resource.

func (WorkflowArgs) ElementType

func (WorkflowArgs) ElementType() reflect.Type

type WorkflowInput

type WorkflowInput interface {
	pulumi.Input

	ToWorkflowOutput() WorkflowOutput
	ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
}

type WorkflowOutput

type WorkflowOutput struct{ *pulumi.OutputState }

func (WorkflowOutput) CreateTime added in v0.19.0

func (o WorkflowOutput) CreateTime() pulumi.StringOutput

The timestamp of when the workflow was created.

func (WorkflowOutput) Description added in v0.19.0

func (o WorkflowOutput) Description() pulumi.StringOutput

Description of the workflow provided by the user. Must be at most 1000 unicode characters long.

func (WorkflowOutput) ElementType

func (WorkflowOutput) ElementType() reflect.Type

func (WorkflowOutput) Labels added in v0.19.0

Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.

func (WorkflowOutput) Location added in v0.21.0

func (o WorkflowOutput) Location() pulumi.StringOutput

func (WorkflowOutput) Name added in v0.19.0

The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}

func (WorkflowOutput) Project added in v0.21.0

func (o WorkflowOutput) Project() pulumi.StringOutput

func (WorkflowOutput) RevisionCreateTime added in v0.19.0

func (o WorkflowOutput) RevisionCreateTime() pulumi.StringOutput

The timestamp that the latest revision of the workflow was created.

func (WorkflowOutput) RevisionId added in v0.19.0

func (o WorkflowOutput) RevisionId() pulumi.StringOutput

The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.

func (WorkflowOutput) ServiceAccount added in v0.19.0

func (o WorkflowOutput) ServiceAccount() pulumi.StringOutput

The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.

func (WorkflowOutput) SourceContents added in v0.19.0

func (o WorkflowOutput) SourceContents() pulumi.StringOutput

Workflow code to be executed. The size limit is 128KB.

func (WorkflowOutput) State added in v0.19.0

State of the workflow deployment.

func (WorkflowOutput) ToWorkflowOutput

func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput

func (WorkflowOutput) ToWorkflowOutputWithContext

func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput

func (WorkflowOutput) UpdateTime added in v0.19.0

func (o WorkflowOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of the workflow.

func (WorkflowOutput) WorkflowId added in v0.21.0

func (o WorkflowOutput) WorkflowId() pulumi.StringOutput

Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.

type WorkflowState

type WorkflowState struct {
}

func (WorkflowState) ElementType

func (WorkflowState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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