Stream constructor
Stream(
- String name, {
- StreamArgs? args,
- CustomResourceOptions? options,
Creates a new Stream.
name The Pulumi resource name.
args Arguments used to configure this Stream. The set of arguments for Stream.
options Resource options controlling this resource's behavior.
Implementation
Stream(
String name, {
StreamArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:datastream/v1:Stream',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
backfillAll = registerOutput<BackfillAllStrategyResponse>('backfillAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return BackfillAllStrategyResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
backfillNone = registerOutput<Map<String, dynamic>>('backfillNone');
createTime = registerOutput<String>('createTime');
customerManagedEncryptionKey = registerOutput<String>('customerManagedEncryptionKey');
destinationConfig = registerOutput<DestinationConfigResponse>('destinationConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DestinationConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
displayName = registerOutput<String>('displayName');
errors = registerOutput<List<Map<String, dynamic>>>('errors');
force = registerOutput<bool?>('force');
labels = registerOutput<Map<String, String>>('labels');
lastRecoveryTime = registerOutput<String>('lastRecoveryTime');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
requestId = registerOutput<String?>('requestId');
sourceConfig = registerOutput<SourceConfigResponse>('sourceConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return SourceConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
state = registerOutput<String>('state');
streamId = registerOutput<String>('streamId');
updateTime = registerOutput<String>('updateTime');
}