Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse
scaleway.getInstanceVolume
Explore with Pulumi AI
Gets information about an instance volume.
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,
project_id: 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,
project_id: 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 str
- The volume name.
Only one of
name
andvolume_id
should be specified. - project_
id str - The ID of the project the volume is associated with.
- volume_
id str - The volume id.
Only one of
name
andvolume_id
should be specified. - zone str
zone
) The zone in which the volume exists.
getInstanceVolume Result
The following output properties are available:
- From
Snapshot stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The ID of the organization the volume is associated with.
- Server
Id string - Size
In intGb - List<string>
- Type string
- Name string
- Project
Id string - Volume
Id string - Zone string
- From
Snapshot stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The ID of the organization the volume is associated with.
- Server
Id string - Size
In intGb - []string
- Type string
- Name string
- Project
Id string - Volume
Id string - Zone string
- from
Snapshot StringId - id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The ID of the organization the volume is associated with.
- server
Id String - size
In IntegerGb - List<String>
- type String
- name String
- project
Id String - volume
Id String - zone String
- from
Snapshot stringId - id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The ID of the organization the volume is associated with.
- server
Id string - size
In numberGb - string[]
- type string
- name string
- project
Id string - volume
Id string - zone string
- from_
snapshot_ strid - id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The ID of the organization the volume is associated with.
- server_
id str - size_
in_ intgb - Sequence[str]
- type str
- name str
- project_
id str - volume_
id str - zone str
- from
Snapshot StringId - id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The ID of the organization the volume is associated with.
- server
Id String - size
In NumberGb - List<String>
- type String
- name String
- project
Id String - volume
Id String - zone String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.