GetSnapshotArgs class
Arguments for getSnapshot. Arguments for getSnapshot.
Constructors
-
GetSnapshotArgs({Input<
String?> ? filter, Input<bool?> ? mostRecent, Input<String?> ? name, Input<String?> ? project}) -
Creates a new GetSnapshotArgs.
filterA filter to retrieve the compute snapshot.mostRecentIffilteris provided, ensures the most recent snapshot is returned when multiple compute snapshot match.nameThe name of the compute snapshot. One ofnameorfiltermust be provided.projectThe ID of the project in which the resource belongs.const -
GetSnapshotArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
filter
→ Input<
String?> ? -
A filter to retrieve the compute snapshot.
See API filter parameter documentation for reference.
If multiple compute snapshot match, either adjust the filter or specify
mostRecent. One ofnameorfiltermust be provided. If you want to use a regular expression, use theeq(equal) orne(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. ExamplesourceDisk eq '.*(.*/data-disk$).*'final - hashCode → int
-
The hash code for this object.
no setterinherited
-
mostRecent
→ Input<
bool?> ? -
If
filteris provided, ensures the most recent snapshot is returned when multiple compute snapshot match.final -
name
→ Input<
String?> ? -
The name of the compute snapshot. One of
nameorfiltermust be provided.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited