Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dataform/v1beta1.WorkflowInvocation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new WorkflowInvocation in a given Repository. Auto-naming is currently not supported for this resource.
Create WorkflowInvocation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowInvocation(name: string, args: WorkflowInvocationArgs, opts?: CustomResourceOptions);
@overload
def WorkflowInvocation(resource_name: str,
args: WorkflowInvocationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowInvocation(resource_name: str,
opts: Optional[ResourceOptions] = None,
repository_id: Optional[str] = None,
compilation_result: Optional[str] = None,
invocation_config: Optional[InvocationConfigArgs] = None,
location: Optional[str] = None,
project: Optional[str] = None,
workflow_config: Optional[str] = None)
func NewWorkflowInvocation(ctx *Context, name string, args WorkflowInvocationArgs, opts ...ResourceOption) (*WorkflowInvocation, error)
public WorkflowInvocation(string name, WorkflowInvocationArgs args, CustomResourceOptions? opts = null)
public WorkflowInvocation(String name, WorkflowInvocationArgs args)
public WorkflowInvocation(String name, WorkflowInvocationArgs args, CustomResourceOptions options)
type: google-native:dataform/v1beta1:WorkflowInvocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkflowInvocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkflowInvocationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkflowInvocationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowInvocationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowInvocationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var workflowInvocationResource = new GoogleNative.Dataform.V1Beta1.WorkflowInvocation("workflowInvocationResource", new()
{
RepositoryId = "string",
CompilationResult = "string",
InvocationConfig = new GoogleNative.Dataform.V1Beta1.Inputs.InvocationConfigArgs
{
FullyRefreshIncrementalTablesEnabled = false,
IncludedTags = new[]
{
"string",
},
IncludedTargets = new[]
{
new GoogleNative.Dataform.V1Beta1.Inputs.TargetArgs
{
Database = "string",
Name = "string",
Schema = "string",
},
},
ServiceAccount = "string",
TransitiveDependenciesIncluded = false,
TransitiveDependentsIncluded = false,
},
Location = "string",
Project = "string",
WorkflowConfig = "string",
});
example, err := dataform.NewWorkflowInvocation(ctx, "workflowInvocationResource", &dataform.WorkflowInvocationArgs{
RepositoryId: pulumi.String("string"),
CompilationResult: pulumi.String("string"),
InvocationConfig: &dataform.InvocationConfigArgs{
FullyRefreshIncrementalTablesEnabled: pulumi.Bool(false),
IncludedTags: pulumi.StringArray{
pulumi.String("string"),
},
IncludedTargets: dataform.TargetArray{
&dataform.TargetArgs{
Database: pulumi.String("string"),
Name: pulumi.String("string"),
Schema: pulumi.String("string"),
},
},
ServiceAccount: pulumi.String("string"),
TransitiveDependenciesIncluded: pulumi.Bool(false),
TransitiveDependentsIncluded: pulumi.Bool(false),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
WorkflowConfig: pulumi.String("string"),
})
var workflowInvocationResource = new WorkflowInvocation("workflowInvocationResource", WorkflowInvocationArgs.builder()
.repositoryId("string")
.compilationResult("string")
.invocationConfig(InvocationConfigArgs.builder()
.fullyRefreshIncrementalTablesEnabled(false)
.includedTags("string")
.includedTargets(TargetArgs.builder()
.database("string")
.name("string")
.schema("string")
.build())
.serviceAccount("string")
.transitiveDependenciesIncluded(false)
.transitiveDependentsIncluded(false)
.build())
.location("string")
.project("string")
.workflowConfig("string")
.build());
workflow_invocation_resource = google_native.dataform.v1beta1.WorkflowInvocation("workflowInvocationResource",
repository_id="string",
compilation_result="string",
invocation_config={
"fully_refresh_incremental_tables_enabled": False,
"included_tags": ["string"],
"included_targets": [{
"database": "string",
"name": "string",
"schema": "string",
}],
"service_account": "string",
"transitive_dependencies_included": False,
"transitive_dependents_included": False,
},
location="string",
project="string",
workflow_config="string")
const workflowInvocationResource = new google_native.dataform.v1beta1.WorkflowInvocation("workflowInvocationResource", {
repositoryId: "string",
compilationResult: "string",
invocationConfig: {
fullyRefreshIncrementalTablesEnabled: false,
includedTags: ["string"],
includedTargets: [{
database: "string",
name: "string",
schema: "string",
}],
serviceAccount: "string",
transitiveDependenciesIncluded: false,
transitiveDependentsIncluded: false,
},
location: "string",
project: "string",
workflowConfig: "string",
});
type: google-native:dataform/v1beta1:WorkflowInvocation
properties:
compilationResult: string
invocationConfig:
fullyRefreshIncrementalTablesEnabled: false
includedTags:
- string
includedTargets:
- database: string
name: string
schema: string
serviceAccount: string
transitiveDependenciesIncluded: false
transitiveDependentsIncluded: false
location: string
project: string
repositoryId: string
workflowConfig: string
WorkflowInvocation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WorkflowInvocation resource accepts the following input properties:
- Repository
Id string - Compilation
Result string - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - Invocation
Config Pulumi.Google Native. Dataform. V1Beta1. Inputs. Invocation Config - Immutable. If left unset, a default InvocationConfig will be used.
- Location string
- Project string
- Workflow
Config string - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
- Repository
Id string - Compilation
Result string - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - Invocation
Config InvocationConfig Args - Immutable. If left unset, a default InvocationConfig will be used.
- Location string
- Project string
- Workflow
Config string - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
- repository
Id String - compilation
Result String - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - invocation
Config InvocationConfig - Immutable. If left unset, a default InvocationConfig will be used.
- location String
- project String
- workflow
Config String - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
- repository
Id string - compilation
Result string - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - invocation
Config InvocationConfig - Immutable. If left unset, a default InvocationConfig will be used.
- location string
- project string
- workflow
Config string - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
- repository_
id str - compilation_
result str - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - invocation_
config InvocationConfig Args - Immutable. If left unset, a default InvocationConfig will be used.
- location str
- project str
- workflow_
config str - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
- repository
Id String - compilation
Result String - Immutable. The name of the compilation result to use for this invocation. Must be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - invocation
Config Property Map - Immutable. If left unset, a default InvocationConfig will be used.
- location String
- project String
- workflow
Config String - Immutable. The name of the workflow config to invoke. Must be in the format
projects/*/locations/*/repositories/*/workflowConfigs/*
.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowInvocation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Invocation
Timing Pulumi.Google Native. Dataform. V1Beta1. Outputs. Interval Response - This workflow invocation's timing details.
- Name string
- The workflow invocation's name.
- Resolved
Compilation stringResult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - State string
- This workflow invocation's current state.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invocation
Timing IntervalResponse - This workflow invocation's timing details.
- Name string
- The workflow invocation's name.
- Resolved
Compilation stringResult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - State string
- This workflow invocation's current state.
- id String
- The provider-assigned unique ID for this managed resource.
- invocation
Timing IntervalResponse - This workflow invocation's timing details.
- name String
- The workflow invocation's name.
- resolved
Compilation StringResult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - state String
- This workflow invocation's current state.
- id string
- The provider-assigned unique ID for this managed resource.
- invocation
Timing IntervalResponse - This workflow invocation's timing details.
- name string
- The workflow invocation's name.
- resolved
Compilation stringResult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - state string
- This workflow invocation's current state.
- id str
- The provider-assigned unique ID for this managed resource.
- invocation_
timing IntervalResponse - This workflow invocation's timing details.
- name str
- The workflow invocation's name.
- resolved_
compilation_ strresult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - state str
- This workflow invocation's current state.
- id String
- The provider-assigned unique ID for this managed resource.
- invocation
Timing Property Map - This workflow invocation's timing details.
- name String
- The workflow invocation's name.
- resolved
Compilation StringResult - The resolved compilation result that was used to create this invocation. Will be in the format
projects/*/locations/*/repositories/*/compilationResults/*
. - state String
- This workflow invocation's current state.
Supporting Types
IntervalResponse, IntervalResponseArgs
- end_
time str - Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
- start_
time str - Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
InvocationConfig, InvocationConfigArgs
- Fully
Refresh boolIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<string>
- Optional. The set of tags to include.
- Included
Targets List<Pulumi.Google Native. Dataform. V1Beta1. Inputs. Target> - Optional. The set of action identifiers to include.
- Service
Account string - Optional. The service account to run workflow invocations under.
- Transitive
Dependencies boolIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- Transitive
Dependents boolIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- Fully
Refresh boolIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- []string
- Optional. The set of tags to include.
- Included
Targets []Target - Optional. The set of action identifiers to include.
- Service
Account string - Optional. The service account to run workflow invocations under.
- Transitive
Dependencies boolIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- Transitive
Dependents boolIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh BooleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<String>
- Optional. The set of tags to include.
- included
Targets List<Target> - Optional. The set of action identifiers to include.
- service
Account String - Optional. The service account to run workflow invocations under.
- transitive
Dependencies BooleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents BooleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh booleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- string[]
- Optional. The set of tags to include.
- included
Targets Target[] - Optional. The set of action identifiers to include.
- service
Account string - Optional. The service account to run workflow invocations under.
- transitive
Dependencies booleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents booleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully_
refresh_ boolincremental_ tables_ enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- Sequence[str]
- Optional. The set of tags to include.
- included_
targets Sequence[Target] - Optional. The set of action identifiers to include.
- service_
account str - Optional. The service account to run workflow invocations under.
- transitive_
dependencies_ boolincluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive_
dependents_ boolincluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh BooleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<String>
- Optional. The set of tags to include.
- included
Targets List<Property Map> - Optional. The set of action identifiers to include.
- service
Account String - Optional. The service account to run workflow invocations under.
- transitive
Dependencies BooleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents BooleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
InvocationConfigResponse, InvocationConfigResponseArgs
- Fully
Refresh boolIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<string>
- Optional. The set of tags to include.
- Included
Targets List<Pulumi.Google Native. Dataform. V1Beta1. Inputs. Target Response> - Optional. The set of action identifiers to include.
- Service
Account string - Optional. The service account to run workflow invocations under.
- Transitive
Dependencies boolIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- Transitive
Dependents boolIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- Fully
Refresh boolIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- []string
- Optional. The set of tags to include.
- Included
Targets []TargetResponse - Optional. The set of action identifiers to include.
- Service
Account string - Optional. The service account to run workflow invocations under.
- Transitive
Dependencies boolIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- Transitive
Dependents boolIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh BooleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<String>
- Optional. The set of tags to include.
- included
Targets List<TargetResponse> - Optional. The set of action identifiers to include.
- service
Account String - Optional. The service account to run workflow invocations under.
- transitive
Dependencies BooleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents BooleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh booleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- string[]
- Optional. The set of tags to include.
- included
Targets TargetResponse[] - Optional. The set of action identifiers to include.
- service
Account string - Optional. The service account to run workflow invocations under.
- transitive
Dependencies booleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents booleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully_
refresh_ boolincremental_ tables_ enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- Sequence[str]
- Optional. The set of tags to include.
- included_
targets Sequence[TargetResponse] - Optional. The set of action identifiers to include.
- service_
account str - Optional. The service account to run workflow invocations under.
- transitive_
dependencies_ boolincluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive_
dependents_ boolincluded - Optional. When set to true, transitive dependents of included actions will be executed.
- fully
Refresh BooleanIncremental Tables Enabled - Optional. When set to true, any incremental tables will be fully refreshed.
- List<String>
- Optional. The set of tags to include.
- included
Targets List<Property Map> - Optional. The set of action identifiers to include.
- service
Account String - Optional. The service account to run workflow invocations under.
- transitive
Dependencies BooleanIncluded - Optional. When set to true, transitive dependencies of included actions will be executed.
- transitive
Dependents BooleanIncluded - Optional. When set to true, transitive dependents of included actions will be executed.
Target, TargetArgs
TargetResponse, TargetResponseArgs
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.