Variable constructor
Variable(
- String name, {
- VariableArgs? args,
- CustomResourceOptions? options,
Creates a new Variable.
name The Pulumi resource name.
args Arguments used to configure this Variable. The set of arguments for Variable.
options Resource options controlling this resource's behavior.
Implementation
Variable(
String name, {
VariableArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:runtimeconfig/variable:Variable',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['text', 'value'],
) {
deletionPolicy = registerOutput<String>('deletionPolicy');
this.name = registerOutput<String>('name');
parent = registerOutput<String>('parent');
project = registerOutput<String>('project');
text = registerOutput<String?>('text', isSecret: true);
updateTime = registerOutput<String>('updateTime');
value = registerOutput<String?>('value', isSecret: true);
}