GetVolume
Using GetVolume
function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>function get_volume(name=None, project_id=None, volume_id=None, opts=None)func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)Note: This function is named
LookupVolumein the Go SDK.
public static class GetVolume {
public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetVolume Result
The following output properties are available:
- Billing
Cycle string The billing cycle, defaults to hourly
- Created string
- Description string
- Device
Ids List<string> UUIDs of devices to which this volume is attached
- Facility string
The facility slug the volume resides in
- Id string
The provider-assigned unique ID for this managed resource.
- Locked bool
Whether the volume is locked or not
- Name string
The name of the volume *
project_id- The project id the volume is in- Plan string
Performance plan the volume is on
- Project
Id string - Size int
The size in GB of the volume
- Snapshot
Policies List<GetVolume Snapshot Policy> - State string
The state of the volume
- Updated string
- Volume
Id string
- Billing
Cycle string The billing cycle, defaults to hourly
- Created string
- Description string
- Device
Ids []string UUIDs of devices to which this volume is attached
- Facility string
The facility slug the volume resides in
- Id string
The provider-assigned unique ID for this managed resource.
- Locked bool
Whether the volume is locked or not
- Name string
The name of the volume *
project_id- The project id the volume is in- Plan string
Performance plan the volume is on
- Project
Id string - Size int
The size in GB of the volume
- Snapshot
Policies []GetVolume Snapshot Policy - State string
The state of the volume
- Updated string
- Volume
Id string
- billing
Cycle string The billing cycle, defaults to hourly
- created string
- description string
- device
Ids string[] UUIDs of devices to which this volume is attached
- facility string
The facility slug the volume resides in
- id string
The provider-assigned unique ID for this managed resource.
- locked boolean
Whether the volume is locked or not
- name string
The name of the volume *
project_id- The project id the volume is in- plan string
Performance plan the volume is on
- project
Id string - size number
The size in GB of the volume
- snapshot
Policies GetVolume Snapshot Policy[] - state string
The state of the volume
- updated string
- volume
Id string
- billing_
cycle str The billing cycle, defaults to hourly
- created str
- description str
- device_
ids List[str] UUIDs of devices to which this volume is attached
- facility str
The facility slug the volume resides in
- id str
The provider-assigned unique ID for this managed resource.
- locked bool
Whether the volume is locked or not
- name str
The name of the volume *
project_id- The project id the volume is in- plan str
Performance plan the volume is on
- project_
id str - size float
The size in GB of the volume
- snapshot_
policies List[GetVolume Snapshot Policy] - state str
The state of the volume
- updated str
- volume_
id str
Supporting Types
GetVolumeSnapshotPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-packet
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
packetTerraform Provider.