ReferenceList constructor
ReferenceList(
- String name, {
- ReferenceListArgs? args,
- CustomResourceOptions? options,
Creates a new ReferenceList.
name The Pulumi resource name.
args Arguments used to configure this ReferenceList. The set of arguments for ReferenceList.
options Resource options controlling this resource's behavior.
Implementation
ReferenceList(
String name, {
ReferenceListArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:chronicle/referenceList:ReferenceList',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
) {
description = registerOutput<String>('description');
displayName = registerOutput<String>('displayName');
entries = registerOutput<List<ReferenceListEntry>>('entries', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ReferenceListEntry>(guardedValue, (value) => ReferenceListEntry.fromMap((value as Map).cast<String, dynamic>())); });
instance = registerOutput<String>('instance');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
referenceListId = registerOutput<String>('referenceListId');
revisionCreateTime = registerOutput<String>('revisionCreateTime');
ruleAssociationsCount = registerOutput<int>('ruleAssociationsCount');
rules = registerOutput<List<String>>('rules', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
scopeInfos = registerOutput<List<ReferenceListScopeInfo>?>('scopeInfos', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ReferenceListScopeInfo>(guardedValue, (value) => ReferenceListScopeInfo.fromMap((value as Map).cast<String, dynamic>())); });
syntaxType = registerOutput<String>('syntaxType');
}