Class GetVolumeSnapshotArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class GetVolumeSnapshotArgs : InvokeArgs
Constructors
View SourceGetVolumeSnapshotArgs()
Declaration
public GetVolumeSnapshotArgs()
Properties
View SourceMostRecent
If more than one result is returned, use the most recent volume snapshot.
Declaration
public bool? MostRecent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Name
The name of the volume snapshot.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NameRegex
A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
Declaration
public string NameRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Region
A "slug" representing a DigitalOcean region (e.g. nyc1). If set, only volume snapshots available in the region will be returned.
Declaration
public string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |