InstanceArgs class
The set of arguments for Instance. The set of arguments for Instance.
Constructors
-
InstanceArgs({Input<
List< ? accelerators, Input<InstanceAccelerator> ?>InstanceCryptoKeyConfig?> ? cryptoKeyConfig, Input<String?> ? dataprocServiceAccount, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, Input<bool?> ? enableRbac, Input<bool?> ? enableStackdriverLogging, Input<bool?> ? enableStackdriverMonitoring, Input<InstanceEventPublishConfig?> ? eventPublishConfig, Input<Map< ? labels, Input<String, String> ?>InstanceMaintenancePolicy?> ? maintenancePolicy, Input<String?> ? name, Input<InstanceNetworkConfig?> ? networkConfig, Input<Map< ? options, Input<String, String> ?>String?> ? patchRevision, Input<bool?> ? privateInstance, Input<String?> ? project, Input<String?> ? region, Input<Map< ? tags, required Input<String, String> ?>String> type, Input<String?> ? version, Input<String?> ? zone}) -
Creates a new InstanceArgs.
acceleratorsList of accelerators enabled for this CDF instance.cryptoKeyConfigThe crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.dataprocServiceAccountUser-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of the instance.displayNameDisplay name for an instance.enableRbacOption to enable granular role-based access control.enableStackdriverLoggingOption to enable Stackdriver Logging.enableStackdriverMonitoringOption to enable Stackdriver Monitoring.eventPublishConfigOption to enable and pass metadata for event publishing.labelsThe resource labels for instance to use to annotate any related underlying resources,maintenancePolicyConfigure the maintenance policy for this instance.nameThe ID of the instance or a fully qualified identifier for the instance.networkConfigNetwork configuration options. These are required when a private Data Fusion instance is to be created.optionsMap of additional options used to configure the behavior of Data Fusion instance.patchRevisionCurrent patch revision of the Data Fusion.privateInstanceSpecifies whether the Data Fusion instance should be private. If set toprojectThe ID of the project in which the resource belongs.regionThe region of the Data Fusion instance.tagsA map of resource manager tags.typeRepresents the type of Data Fusion instance. Each type is configured withversionCurrent version of the Data Fusion.zoneName of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.const -
InstanceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accelerators
→ Input<
List< ?InstanceAccelerator> ?> -
List of accelerators enabled for this CDF instance.
If accelerators are enabled it is possible a permadiff will be created with the Options field.
Users will need to either manually update their state file to include these diffed options, or include the field in a lifecycle ignore changes block.
Structure is documented below.
final
-
cryptoKeyConfig
→ Input<
InstanceCryptoKeyConfig?> ? -
The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
Structure is documented below.
final
-
dataprocServiceAccount
→ Input<
String?> ? -
User-managed service account to set on Dataproc when Cloud Data Fusion creates Dataproc to run data processing pipelines.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional description of the instance.
final
-
displayName
→ Input<
String?> ? -
Display name for an instance.
final
-
enableRbac
→ Input<
bool?> ? -
Option to enable granular role-based access control.
final
-
enableStackdriverLogging
→ Input<
bool?> ? -
Option to enable Stackdriver Logging.
final
-
enableStackdriverMonitoring
→ Input<
bool?> ? -
Option to enable Stackdriver Monitoring.
final
-
eventPublishConfig
→ Input<
InstanceEventPublishConfig?> ? -
Option to enable and pass metadata for event publishing.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
The resource labels for instance to use to annotate any related underlying resources,
such as Compute Engine VMs.
final
-
maintenancePolicy
→ Input<
InstanceMaintenancePolicy?> ? -
Configure the maintenance policy for this instance.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
The ID of the instance or a fully qualified identifier for the instance.
final
-
networkConfig
→ Input<
InstanceNetworkConfig?> ? -
Network configuration options. These are required when a private Data Fusion instance is to be created.
Structure is documented below.
final
-
options
→ Input<
Map< ?String, String> ?> -
Map of additional options used to configure the behavior of Data Fusion instance.
final
-
patchRevision
→ Input<
String?> ? -
Current patch revision of the Data Fusion.
final
-
privateInstance
→ Input<
bool?> ? -
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.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
The region of the Data Fusion instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
A map of resource manager tags.
Resource manager tag keys and values have the same definition as resource manager tags.
Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/{tag_value_id}.
The field is ignored (both PUT & PATCH) when empty.
final
-
type
→ Input<
String> -
Represents the type of Data Fusion instance. Each type is configured with
the default settings for processing and memory.
final
-
version
→ Input<
String?> ? -
Current version of the Data Fusion.
final
-
zone
→ Input<
String?> ? -
Name of the zone in which the Data Fusion instance will be created. Only DEVELOPER instances use this field.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited