Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

getInstanceVolume

Using getInstanceVolume

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 getInstanceVolume(args: GetInstanceVolumeArgs, opts?: InvokeOptions): Promise<GetInstanceVolumeResult>
function getInstanceVolumeOutput(args: GetInstanceVolumeOutputArgs, opts?: InvokeOptions): Output<GetInstanceVolumeResult>
def get_instance_volume(name: Optional[str] = None,
                        volume_id: Optional[str] = None,
                        zone: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetInstanceVolumeResult
def get_instance_volume_output(name: Optional[pulumi.Input[str]] = None,
                        volume_id: Optional[pulumi.Input[str]] = None,
                        zone: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetInstanceVolumeResult]
func LookupInstanceVolume(ctx *Context, args *LookupInstanceVolumeArgs, opts ...InvokeOption) (*LookupInstanceVolumeResult, error)
func LookupInstanceVolumeOutput(ctx *Context, args *LookupInstanceVolumeOutputArgs, opts ...InvokeOption) LookupInstanceVolumeResultOutput

> Note: This function is named LookupInstanceVolume in the Go SDK.

public static class GetInstanceVolume 
{
    public static Task<GetInstanceVolumeResult> InvokeAsync(GetInstanceVolumeArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceVolumeResult> Invoke(GetInstanceVolumeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceVolumeResult> getInstanceVolume(GetInstanceVolumeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getInstanceVolume:getInstanceVolume
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string
VolumeId string
Zone string
Name string
VolumeId string
Zone string
name String
volumeId String
zone String
name string
volumeId string
zone string
name str
volume_id str
zone str
name String
volumeId String
zone String

getInstanceVolume Result

The following output properties are available:

FromSnapshotId string
FromVolumeId string
Id string

The provider-assigned unique ID for this managed resource.

OrganizationId string
ProjectId string
ServerId string
SizeInGb int
Tags List<string>
Type string
Name string
VolumeId string
Zone string
FromSnapshotId string
FromVolumeId string
Id string

The provider-assigned unique ID for this managed resource.

OrganizationId string
ProjectId string
ServerId string
SizeInGb int
Tags []string
Type string
Name string
VolumeId string
Zone string
fromSnapshotId String
fromVolumeId String
id String

The provider-assigned unique ID for this managed resource.

organizationId String
projectId String
serverId String
sizeInGb Integer
tags List<String>
type String
name String
volumeId String
zone String
fromSnapshotId string
fromVolumeId string
id string

The provider-assigned unique ID for this managed resource.

organizationId string
projectId string
serverId string
sizeInGb number
tags string[]
type string
name string
volumeId string
zone string
from_snapshot_id str
from_volume_id str
id str

The provider-assigned unique ID for this managed resource.

organization_id str
project_id str
server_id str
size_in_gb int
tags Sequence[str]
type str
name str
volume_id str
zone str
fromSnapshotId String
fromVolumeId String
id String

The provider-assigned unique ID for this managed resource.

organizationId String
projectId String
serverId String
sizeInGb Number
tags List<String>
type String
name String
volumeId String
zone String

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.