NotificationChannel constructor
NotificationChannel(
- String name, {
- NotificationChannelArgs? args,
- CustomResourceOptions? options,
Creates a new NotificationChannel.
name The Pulumi resource name.
args Arguments used to configure this NotificationChannel. The set of arguments for NotificationChannel.
options Resource options controlling this resource's behavior.
Implementation
NotificationChannel(
String name, {
NotificationChannelArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:monitoring/v3:NotificationChannel',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
creationRecord = registerOutput<MutationRecordResponse>('creationRecord', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MutationRecordResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
description = registerOutput<String>('description');
displayName = registerOutput<String>('displayName');
enabled = registerOutput<bool>('enabled');
labels = registerOutput<Map<String, String>>('labels');
mutationRecords = registerOutput<List<Map<String, dynamic>>>('mutationRecords');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
type = registerOutput<String>('type');
userLabels = registerOutput<Map<String, String>>('userLabels');
verificationStatus = registerOutput<String>('verificationStatus');
}