MessageBusArgs class
The set of arguments for MessageBus. The set of arguments for MessageBus.
Constructors
-
MessageBusArgs({Input<
Map< ? annotations, Input<String, String> ?>String?> ? cryptoKeyName, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<MessageBusLoggingConfig?> ? loggingConfig, required Input<String> messageBusId, Input<String?> ? project}) -
Creates a new MessageBusArgs.
annotationsOptional. Resource annotations.cryptoKeyNameOptional. Resource name of a KMS crypto key (managed by the user) used todeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameOptional. Resource display name.labelsOptional. Resource labels.locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.loggingConfigThe configuration for Platform Telemetry logging for Eventarc AdvancedmessageBusIdRequired. The user-provided ID to be assigned to the MessageBus. It should match theprojectThe ID of the project in which the resource belongs.const -
MessageBusArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Optional. Resource annotations.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effectiveAnnotationsfor all of the annotations present on the resource.final -
cryptoKeyName
→ Input<
String?> ? -
Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data.
It must match the pattern
projects/*/locations/*/keyRings/*/cryptoKeys/*.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
-
displayName
→ Input<
String?> ? -
Optional. Resource display name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Optional. Resource labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String> -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
loggingConfig
→ Input<
MessageBusLoggingConfig?> ? -
The configuration for Platform Telemetry logging for Eventarc Advanced
resources.
Structure is documented below.
final
-
messageBusId
→ Input<
String> -
Required. The user-provided ID to be assigned to the MessageBus. It should match the
format
^a-z?$.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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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