Snapshot constructor
Snapshot(
- String name, {
- SnapshotArgs? args,
- CustomResourceOptions? options,
Creates a new Snapshot.
name The Pulumi resource name.
args Arguments used to configure this Snapshot. The set of arguments for Snapshot.
options Resource options controlling this resource's behavior.
Implementation
Snapshot(
String name, {
SnapshotArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:file/v1:Snapshot',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
createTime = registerOutput<String>('createTime');
description = registerOutput<String>('description');
filesystemUsedBytes = registerOutput<String>('filesystemUsedBytes');
instanceId = registerOutput<String>('instanceId');
labels = registerOutput<Map<String, String>>('labels');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
snapshotId = registerOutput<String>('snapshotId');
state = registerOutput<String>('state');
}