Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.workflows/v1beta.getWorkflow
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single Workflow.
Using getWorkflow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>
def get_workflow(location: Optional[str] = None,
project: Optional[str] = None,
workflow_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
def get_workflow_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
workflow_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]
func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput
> Note: This function is named LookupWorkflow
in the Go SDK.
public static class GetWorkflow
{
public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:workflows/v1beta:getWorkflow
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Workflow
Id string - Project string
- Location string
- Workflow
Id string - Project string
- location String
- workflow
Id String - project String
- location string
- workflow
Id string - project string
- location str
- workflow_
id str - project str
- location String
- workflow
Id String - project String
getWorkflow Result
The following output properties are available:
- Create
Time string - The timestamp of when the workflow was created.
- Description string
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- Labels Dictionary<string, string>
- 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.
- Name string
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- Revision
Create stringTime - The timestamp that the latest revision of the workflow was created.
- Revision
Id string - 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.
- Service
Account string - 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 theemail
address or theunique_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. - Source
Contents string - Workflow code to be executed. The size limit is 128KB.
- State string
- State of the workflow deployment.
- Update
Time string - The last update timestamp of the workflow.
- Create
Time string - The timestamp of when the workflow was created.
- Description string
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- Labels map[string]string
- 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.
- Name string
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- Revision
Create stringTime - The timestamp that the latest revision of the workflow was created.
- Revision
Id string - 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.
- Service
Account string - 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 theemail
address or theunique_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. - Source
Contents string - Workflow code to be executed. The size limit is 128KB.
- State string
- State of the workflow deployment.
- Update
Time string - The last update timestamp of the workflow.
- create
Time String - The timestamp of when the workflow was created.
- description String
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- labels Map<String,String>
- 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.
- name String
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- revision
Create StringTime - The timestamp that the latest revision of the workflow was created.
- revision
Id String - 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.
- service
Account String - 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 theemail
address or theunique_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. - source
Contents String - Workflow code to be executed. The size limit is 128KB.
- state String
- State of the workflow deployment.
- update
Time String - The last update timestamp of the workflow.
- create
Time string - The timestamp of when the workflow was created.
- description string
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- labels {[key: string]: string}
- 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.
- name string
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- revision
Create stringTime - The timestamp that the latest revision of the workflow was created.
- revision
Id string - 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.
- service
Account string - 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 theemail
address or theunique_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. - source
Contents string - Workflow code to be executed. The size limit is 128KB.
- state string
- State of the workflow deployment.
- update
Time string - The last update timestamp of the workflow.
- create_
time str - The timestamp of when the workflow was created.
- description str
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- labels Mapping[str, str]
- 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.
- name str
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- revision_
create_ strtime - The timestamp that the latest revision of the workflow was created.
- revision_
id str - 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.
- service_
account str - 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 theemail
address or theunique_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. - source_
contents str - Workflow code to be executed. The size limit is 128KB.
- state str
- State of the workflow deployment.
- update_
time str - The last update timestamp of the workflow.
- create
Time String - The timestamp of when the workflow was created.
- description String
- Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
- labels Map<String>
- 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.
- name String
- The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
- revision
Create StringTime - The timestamp that the latest revision of the workflow was created.
- revision
Id String - 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.
- service
Account String - 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 theemail
address or theunique_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. - source
Contents String - Workflow code to be executed. The size limit is 128KB.
- state String
- State of the workflow deployment.
- update
Time String - The last update timestamp of the workflow.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi