This package is deprecated. We recommend using the new Equinix package.
equinix-metal.getVolume
Explore with Pulumi AI
This package is deprecated. We recommend using the new Equinix package.
Datasource equinix-metal.Volume
was removed in version 3.0.0, and the API support was deprecated on June 1st 2021. See https://metal.equinix.com/developers/docs/storage/elastic-block-storage/#elastic-block-storage for more details.
Using getVolume
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
function getVolumeOutput(args: GetVolumeOutputArgs, opts?: InvokeOptions): Output<GetVolumeResult>
def get_volume(name: Optional[str] = None,
project_id: Optional[str] = None,
volume_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVolumeResult
def get_volume_output(name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
volume_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVolumeResult]
func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)
func LookupVolumeOutput(ctx *Context, args *LookupVolumeOutputArgs, opts ...InvokeOption) LookupVolumeResultOutput
> Note: This function is named LookupVolume
in the Go SDK.
public static class GetVolume
{
public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
public static Output<GetVolumeResult> Invoke(GetVolumeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVolumeResult> getVolume(GetVolumeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: equinix-metal:index/getVolume:getVolume
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- project_
id str - volume_
id str
getVolume Result
The following output properties are available:
- Billing
Cycle string - Created string
- Description string
- Device
Ids List<string> - Facility string
- Id string
- The provider-assigned unique ID for this managed resource.
- Locked bool
- Name string
- Plan string
- Project
Id string - Size int
- Snapshot
Policies List<Pulumi.Equinix Metal. Outputs. Get Volume Snapshot Policy> - State string
- Updated string
- Volume
Id string
- Billing
Cycle string - Created string
- Description string
- Device
Ids []string - Facility string
- Id string
- The provider-assigned unique ID for this managed resource.
- Locked bool
- Name string
- Plan string
- Project
Id string - Size int
- Snapshot
Policies []GetVolume Snapshot Policy - State string
- Updated string
- Volume
Id string
- billing
Cycle String - created String
- description String
- device
Ids List<String> - facility String
- id String
- The provider-assigned unique ID for this managed resource.
- locked Boolean
- name String
- plan String
- project
Id String - size Integer
- snapshot
Policies List<GetVolume Snapshot Policy> - state String
- updated String
- volume
Id String
- billing
Cycle string - created string
- description string
- device
Ids string[] - facility string
- id string
- The provider-assigned unique ID for this managed resource.
- locked boolean
- name string
- plan string
- project
Id string - size number
- snapshot
Policies GetVolume Snapshot Policy[] - state string
- updated string
- volume
Id string
- billing_
cycle str - created str
- description str
- device_
ids Sequence[str] - facility str
- id str
- The provider-assigned unique ID for this managed resource.
- locked bool
- name str
- plan str
- project_
id str - size int
- snapshot_
policies Sequence[GetVolume Snapshot Policy] - state str
- updated str
- volume_
id str
- billing
Cycle String - created String
- description String
- device
Ids List<String> - facility String
- id String
- The provider-assigned unique ID for this managed resource.
- locked Boolean
- name String
- plan String
- project
Id String - size Number
- snapshot
Policies List<Property Map> - state String
- updated String
- volume
Id String
Supporting Types
GetVolumeSnapshotPolicy
- Snapshot
Count int - Snapshot
Frequency string
- Snapshot
Count int - Snapshot
Frequency string
- snapshot
Count Integer - snapshot
Frequency String
- snapshot
Count number - snapshot
Frequency string
- snapshot_
count int - snapshot_
frequency str
- snapshot
Count Number - snapshot
Frequency String
Package Details
- Repository
- Equinix Metal pulumi/pulumi-equinix-metal
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
metal
Terraform Provider.
This package is deprecated. We recommend using the new Equinix package.