Class Instance
Represents a Data Fusion instance.
To get more information about Instance, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage - Data Fusion Instance Basic
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var basicInstance = new Gcp.DataFusion.Instance("basicInstance", new Gcp.DataFusion.InstanceArgs
{
Region = "us-central1",
Type = "BASIC",
});
}
}
Inherited Members
Namespace: Pulumi.Gcp.DataFusion
Assembly: Pulumi.Gcp.dll
Syntax
public class Instance : CustomResource
Constructors
View SourceInstance(String, InstanceArgs, CustomResourceOptions)
Create a Instance resource with the given unique name, arguments, and options.
Declaration
public Instance(string name, InstanceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| InstanceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCreateTime
The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Declaration
public Output<string> CreateTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
An optional description of the instance.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EnableStackdriverLogging
Option to enable Stackdriver Logging.
Declaration
public Output<bool?> EnableStackdriverLogging { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
EnableStackdriverMonitoring
Option to enable Stackdriver Monitoring.
Declaration
public Output<bool?> EnableStackdriverMonitoring { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Labels
The resource labels for instance to use to annotate any related underlying resources, such as Compute Engine VMs.
Declaration
public Output<ImmutableDictionary<string, string>> Labels { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Name
The ID of the instance or a fully qualified identifier for the instance.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkConfig
Network configuration options. These are required when a private Data Fusion instance is to be created. Structure is documented below.
Declaration
public Output<InstanceNetworkConfig> NetworkConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<InstanceNetworkConfig> |
Options
Map of additional options used to configure the behavior of Data Fusion instance.
Declaration
public Output<ImmutableDictionary<string, string>> Options { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
PrivateInstance
Specifies whether the Data Fusion instance should be private. If set to true, all Data Fusion nodes will have private IP addresses and will not be able to access the public internet.
Declaration
public Output<bool?> PrivateInstance { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region of the Data Fusion instance.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceAccount
Service account which will be used to access resources in the customer project.
Declaration
public Output<string> ServiceAccount { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceEndpoint
Endpoint on which the Data Fusion UI and REST APIs are accessible.
Declaration
public Output<string> ServiceEndpoint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
State
The current state of this Data Fusion instance. - CREATING: Instance is being created - RUNNING: Instance is running and ready for requests - FAILED: Instance creation failed - DELETING: Instance is being deleted - UPGRADING: Instance is being upgraded - RESTARTING: Instance is being restarted
Declaration
public Output<string> State { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StateMessage
Additional information about the current state of this Data Fusion instance if available.
Declaration
public Output<string> StateMessage { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Type
Represents the type of Data Fusion instance. Each type is configured with the default settings for processing and memory.
- BASIC: Basic Data Fusion instance. In Basic type, the user will be able to create data pipelines using point and click UI. However, there are certain limitations, such as fewer number of concurrent pipelines, no support for streaming pipelines, etc.
- ENTERPRISE: Enterprise Data Fusion instance. In Enterprise type, the user will have more features available, such as support for streaming pipelines, higher number of concurrent pipelines, etc.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UpdateTime
The time the instance was last updated in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
Declaration
public Output<string> UpdateTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Version
Current version of the Data Fusion.
Declaration
public Output<string> Version { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, InstanceState, CustomResourceOptions)
Get an existing Instance resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Instance Get(string name, Input<string> id, InstanceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| InstanceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Instance |