Documentation
¶
Index ¶
- type LookupWorkflowArgs
- type LookupWorkflowOutputArgs
- type LookupWorkflowResult
- type LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) Description() pulumi.StringOutput
- func (LookupWorkflowResultOutput) ElementType() reflect.Type
- func (o LookupWorkflowResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupWorkflowResultOutput) Name() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) RevisionCreateTime() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) RevisionId() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) ServiceAccount() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) SourceContents() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) State() pulumi.StringOutput
- func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutput() LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx context.Context) LookupWorkflowResultOutput
- func (o LookupWorkflowResultOutput) UpdateTime() pulumi.StringOutput
- type Workflow
- type WorkflowArgs
- type WorkflowInput
- type WorkflowOutput
- type WorkflowState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupWorkflowArgs ¶ added in v0.4.0
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
func (o LookupWorkflowResultOutput) CreateTime() pulumi.StringOutput
The timestamp of when the workflow was created.
func (LookupWorkflowResultOutput) Description ¶ added in v0.8.0
func (o LookupWorkflowResultOutput) Description() pulumi.StringOutput
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
func (o LookupWorkflowResultOutput) Labels() pulumi.StringMapOutput
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
func (o LookupWorkflowResultOutput) Name() pulumi.StringOutput
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
func (o LookupWorkflowResultOutput) 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 (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
func (o LookupWorkflowResultOutput) State() pulumi.StringOutput
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
func (o LookupWorkflowResultOutput) UpdateTime() pulumi.StringOutput
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"` // The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow} Name pulumi.StringOutput `pulumi:"name"` // 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"` }
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) 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) ElementType ¶
func (WorkflowOutput) ElementType() reflect.Type
func (WorkflowOutput) ToWorkflowOutput ¶
func (o WorkflowOutput) ToWorkflowOutput() WorkflowOutput
func (WorkflowOutput) ToWorkflowOutputWithContext ¶
func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutput
type WorkflowState ¶
type WorkflowState struct { }
func (WorkflowState) ElementType ¶
func (WorkflowState) ElementType() reflect.Type