Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datalineage/v1.Run
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new run.
Create Run Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Run(name: string, args: RunArgs, opts?: CustomResourceOptions);
@overload
def Run(resource_name: str,
args: RunArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Run(resource_name: str,
opts: Optional[ResourceOptions] = None,
process_id: Optional[str] = None,
start_time: Optional[str] = None,
state: Optional[RunState] = None,
attributes: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
end_time: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewRun(ctx *Context, name string, args RunArgs, opts ...ResourceOption) (*Run, error)
public Run(string name, RunArgs args, CustomResourceOptions? opts = null)
type: google-native:datalineage/v1:Run
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 RunArgs
- 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 RunArgs
- 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 RunArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RunArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RunArgs
- 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 examplerunResourceResourceFromDatalineagev1 = new GoogleNative.DataLineage.V1.Run("examplerunResourceResourceFromDatalineagev1", new()
{
ProcessId = "string",
StartTime = "string",
State = GoogleNative.DataLineage.V1.RunState.Unknown,
Attributes =
{
{ "string", "string" },
},
DisplayName = "string",
EndTime = "string",
Location = "string",
Name = "string",
Project = "string",
RequestId = "string",
});
example, err := datalineage.NewRun(ctx, "examplerunResourceResourceFromDatalineagev1", &datalineage.RunArgs{
ProcessId: pulumi.String("string"),
StartTime: pulumi.String("string"),
State: datalineage.RunStateUnknown,
Attributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EndTime: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var examplerunResourceResourceFromDatalineagev1 = new Run("examplerunResourceResourceFromDatalineagev1", RunArgs.builder()
.processId("string")
.startTime("string")
.state("UNKNOWN")
.attributes(Map.of("string", "string"))
.displayName("string")
.endTime("string")
.location("string")
.name("string")
.project("string")
.requestId("string")
.build());
examplerun_resource_resource_from_datalineagev1 = google_native.datalineage.v1.Run("examplerunResourceResourceFromDatalineagev1",
process_id="string",
start_time="string",
state=google_native.datalineage.v1.RunState.UNKNOWN,
attributes={
"string": "string",
},
display_name="string",
end_time="string",
location="string",
name="string",
project="string",
request_id="string")
const examplerunResourceResourceFromDatalineagev1 = new google_native.datalineage.v1.Run("examplerunResourceResourceFromDatalineagev1", {
processId: "string",
startTime: "string",
state: google_native.datalineage.v1.RunState.Unknown,
attributes: {
string: "string",
},
displayName: "string",
endTime: "string",
location: "string",
name: "string",
project: "string",
requestId: "string",
});
type: google-native:datalineage/v1:Run
properties:
attributes:
string: string
displayName: string
endTime: string
location: string
name: string
processId: string
project: string
requestId: string
startTime: string
state: UNKNOWN
Run 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 Run resource accepts the following input properties:
- Process
Id string - Start
Time string - The timestamp of the start of the run.
- State
Pulumi.
Google Native. Data Lineage. V1. Run State - The state of the run.
- Attributes Dictionary<string, string>
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- Display
Name string - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- End
Time string - Optional. The timestamp of the end of the run.
- Location string
- Name string
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- Project string
- Request
Id string - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
- Process
Id string - Start
Time string - The timestamp of the start of the run.
- State
Run
State Enum - The state of the run.
- Attributes map[string]string
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- Display
Name string - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- End
Time string - Optional. The timestamp of the end of the run.
- Location string
- Name string
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- Project string
- Request
Id string - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
- process
Id String - start
Time String - The timestamp of the start of the run.
- state
Run
State - The state of the run.
- attributes Map<String,String>
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- display
Name String - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- end
Time String - Optional. The timestamp of the end of the run.
- location String
- name String
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- project String
- request
Id String - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
- process
Id string - start
Time string - The timestamp of the start of the run.
- state
Run
State - The state of the run.
- attributes {[key: string]: string}
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- display
Name string - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- end
Time string - Optional. The timestamp of the end of the run.
- location string
- name string
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- project string
- request
Id string - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
- process_
id str - start_
time str - The timestamp of the start of the run.
- state
Run
State - The state of the run.
- attributes Mapping[str, str]
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- display_
name str - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- end_
time str - Optional. The timestamp of the end of the run.
- location str
- name str
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- project str
- request_
id str - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
- process
Id String - start
Time String - The timestamp of the start of the run.
- state "UNKNOWN" | "STARTED" | "COMPLETED" | "FAILED" | "ABORTED"
- The state of the run.
- attributes Map<String>
- Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.
- display
Name String - Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like
_-:&.
- end
Time String - Optional. The timestamp of the end of the run.
- location String
- name String
- Immutable. The resource name of the run. Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}
. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set:a-zA-Z0-9_-:.
- project String
- request
Id String - A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a
request_id
is provided.
Outputs
All input properties are implicitly available as output properties. Additionally, the Run resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
RunState, RunStateArgs
- Unknown
- UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- Started
- STARTEDThe run is still executing.
- Completed
- COMPLETEDThe run completed.
- Failed
- FAILEDThe run failed.
- Aborted
- ABORTEDThe run aborted.
- Run
State Unknown - UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- Run
State Started - STARTEDThe run is still executing.
- Run
State Completed - COMPLETEDThe run completed.
- Run
State Failed - FAILEDThe run failed.
- Run
State Aborted - ABORTEDThe run aborted.
- Unknown
- UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- Started
- STARTEDThe run is still executing.
- Completed
- COMPLETEDThe run completed.
- Failed
- FAILEDThe run failed.
- Aborted
- ABORTEDThe run aborted.
- Unknown
- UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- Started
- STARTEDThe run is still executing.
- Completed
- COMPLETEDThe run completed.
- Failed
- FAILEDThe run failed.
- Aborted
- ABORTEDThe run aborted.
- UNKNOWN
- UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- STARTED
- STARTEDThe run is still executing.
- COMPLETED
- COMPLETEDThe run completed.
- FAILED
- FAILEDThe run failed.
- ABORTED
- ABORTEDThe run aborted.
- "UNKNOWN"
- UNKNOWNThe state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.
- "STARTED"
- STARTEDThe run is still executing.
- "COMPLETED"
- COMPLETEDThe run completed.
- "FAILED"
- FAILEDThe run failed.
- "ABORTED"
- ABORTEDThe run aborted.
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.