opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getEvsVolumesV2
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Use this data source to query the detailed information list of the EVS disks within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const targetServer = config.requireObject("targetServer");
const test = opentelekomcloud.getEvsVolumesV2({
serverId: targetServer,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
target_server = config.require_object("targetServer")
test = opentelekomcloud.get_evs_volumes_v2(server_id=target_server)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
targetServer := cfg.RequireObject("targetServer")
_, err := opentelekomcloud.GetEvsVolumesV2(ctx, &opentelekomcloud.GetEvsVolumesV2Args{
ServerId: pulumi.StringRef(targetServer),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var targetServer = config.RequireObject<dynamic>("targetServer");
var test = Opentelekomcloud.GetEvsVolumesV2.Invoke(new()
{
ServerId = targetServer,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetEvsVolumesV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var targetServer = config.get("targetServer");
final var test = OpentelekomcloudFunctions.getEvsVolumesV2(GetEvsVolumesV2Args.builder()
.serverId(targetServer)
.build());
}
}
configuration:
targetServer:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getEvsVolumesV2
arguments:
serverId: ${targetServer}
Using getEvsVolumesV2
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 getEvsVolumesV2(args: GetEvsVolumesV2Args, opts?: InvokeOptions): Promise<GetEvsVolumesV2Result>
function getEvsVolumesV2Output(args: GetEvsVolumesV2OutputArgs, opts?: InvokeOptions): Output<GetEvsVolumesV2Result>
def get_evs_volumes_v2(availability_zone: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
server_id: Optional[str] = None,
shareable: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
volume_id: Optional[str] = None,
volume_type_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEvsVolumesV2Result
def get_evs_volumes_v2_output(availability_zone: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
server_id: Optional[pulumi.Input[str]] = None,
shareable: Optional[pulumi.Input[bool]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
volume_id: Optional[pulumi.Input[str]] = None,
volume_type_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEvsVolumesV2Result]
func GetEvsVolumesV2(ctx *Context, args *GetEvsVolumesV2Args, opts ...InvokeOption) (*GetEvsVolumesV2Result, error)
func GetEvsVolumesV2Output(ctx *Context, args *GetEvsVolumesV2OutputArgs, opts ...InvokeOption) GetEvsVolumesV2ResultOutput
> Note: This function is named GetEvsVolumesV2
in the Go SDK.
public static class GetEvsVolumesV2
{
public static Task<GetEvsVolumesV2Result> InvokeAsync(GetEvsVolumesV2Args args, InvokeOptions? opts = null)
public static Output<GetEvsVolumesV2Result> Invoke(GetEvsVolumesV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEvsVolumesV2Result> getEvsVolumesV2(GetEvsVolumesV2Args args, InvokeOptions options)
public static Output<GetEvsVolumesV2Result> getEvsVolumesV2(GetEvsVolumesV2Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getEvsVolumesV2:getEvsVolumesV2
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Zone string - Specifies the availability zone for the disks.
- Id string
- The ID of the attached resource in UUID format.
- Name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- Server
Id string - Specifies the server ID to which the disks are attached.
- bool
- Specifies whether the disk is shareable.
- Status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Dictionary<string, string>
- Specifies the included key/value pairs which associated with the desired disk.
- Volume
Id string - Specifies the ID for the disk.
- Volume
Type stringId - Specifies the type ID for the disks.
- Availability
Zone string - Specifies the availability zone for the disks.
- Id string
- The ID of the attached resource in UUID format.
- Name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- Server
Id string - Specifies the server ID to which the disks are attached.
- bool
- Specifies whether the disk is shareable.
- Status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- map[string]string
- Specifies the included key/value pairs which associated with the desired disk.
- Volume
Id string - Specifies the ID for the disk.
- Volume
Type stringId - Specifies the type ID for the disks.
- availability
Zone String - Specifies the availability zone for the disks.
- id String
- The ID of the attached resource in UUID format.
- name String
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- server
Id String - Specifies the server ID to which the disks are attached.
- Boolean
- Specifies whether the disk is shareable.
- status String
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Map<String,String>
- Specifies the included key/value pairs which associated with the desired disk.
- volume
Id String - Specifies the ID for the disk.
- volume
Type StringId - Specifies the type ID for the disks.
- availability
Zone string - Specifies the availability zone for the disks.
- id string
- The ID of the attached resource in UUID format.
- name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- server
Id string - Specifies the server ID to which the disks are attached.
- boolean
- Specifies whether the disk is shareable.
- status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- {[key: string]: string}
- Specifies the included key/value pairs which associated with the desired disk.
- volume
Id string - Specifies the ID for the disk.
- volume
Type stringId - Specifies the type ID for the disks.
- availability_
zone str - Specifies the availability zone for the disks.
- id str
- The ID of the attached resource in UUID format.
- name str
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- server_
id str - Specifies the server ID to which the disks are attached.
- bool
- Specifies whether the disk is shareable.
- status str
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Mapping[str, str]
- Specifies the included key/value pairs which associated with the desired disk.
- volume_
id str - Specifies the ID for the disk.
- volume_
type_ strid - Specifies the type ID for the disks.
- availability
Zone String - Specifies the availability zone for the disks.
- id String
- The ID of the attached resource in UUID format.
- name String
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- server
Id String - Specifies the server ID to which the disks are attached.
- Boolean
- Specifies whether the disk is shareable.
- status String
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Map<String>
- Specifies the included key/value pairs which associated with the desired disk.
- volume
Id String - Specifies the ID for the disk.
- volume
Type StringId - Specifies the type ID for the disks.
getEvsVolumesV2 Result
The following output properties are available:
- Id string
- The ID of the attached resource in UUID format.
- Volumes
List<Get
Evs Volumes V2Volume> - The detailed information of the disks. Structure is documented below.
- Availability
Zone string - The availability zone of the disk.
- Name string
- The disk name.
- Server
Id string - The ID of the server to which the disk is attached.
- bool
- Whether the disk is shareable.
- Status string
- The disk status.
- Dictionary<string, string>
- The disk tags.
- Volume
Id string - Volume
Type stringId
- Id string
- The ID of the attached resource in UUID format.
- Volumes
[]Get
Evs Volumes V2Volume - The detailed information of the disks. Structure is documented below.
- Availability
Zone string - The availability zone of the disk.
- Name string
- The disk name.
- Server
Id string - The ID of the server to which the disk is attached.
- bool
- Whether the disk is shareable.
- Status string
- The disk status.
- map[string]string
- The disk tags.
- Volume
Id string - Volume
Type stringId
- id String
- The ID of the attached resource in UUID format.
- volumes
List<Get
Evs Volumes V2Volume> - The detailed information of the disks. Structure is documented below.
- availability
Zone String - The availability zone of the disk.
- name String
- The disk name.
- server
Id String - The ID of the server to which the disk is attached.
- Boolean
- Whether the disk is shareable.
- status String
- The disk status.
- Map<String,String>
- The disk tags.
- volume
Id String - volume
Type StringId
- id string
- The ID of the attached resource in UUID format.
- volumes
Get
Evs Volumes V2Volume[] - The detailed information of the disks. Structure is documented below.
- availability
Zone string - The availability zone of the disk.
- name string
- The disk name.
- server
Id string - The ID of the server to which the disk is attached.
- boolean
- Whether the disk is shareable.
- status string
- The disk status.
- {[key: string]: string}
- The disk tags.
- volume
Id string - volume
Type stringId
- id str
- The ID of the attached resource in UUID format.
- volumes
Sequence[Get
Evs Volumes V2Volume] - The detailed information of the disks. Structure is documented below.
- availability_
zone str - The availability zone of the disk.
- name str
- The disk name.
- server_
id str - The ID of the server to which the disk is attached.
- bool
- Whether the disk is shareable.
- status str
- The disk status.
- Mapping[str, str]
- The disk tags.
- volume_
id str - volume_
type_ strid
- id String
- The ID of the attached resource in UUID format.
- volumes List<Property Map>
- The detailed information of the disks. Structure is documented below.
- availability
Zone String - The availability zone of the disk.
- name String
- The disk name.
- server
Id String - The ID of the server to which the disk is attached.
- Boolean
- Whether the disk is shareable.
- status String
- The disk status.
- Map<String>
- The disk tags.
- volume
Id String - volume
Type StringId
Supporting Types
GetEvsVolumesV2Volume
- Attachments
List<Get
Evs Volumes V2Volume Attachment> - The disk attachment information. Structure is documented below.
- Availability
Zone string - Specifies the availability zone for the disks.
- Bootable bool
- Whether the disk is bootable.
- Create
At string - The time when the disk was created.
- Description string
- The disk description.
- Id string
- The ID of the attached resource in UUID format.
- Name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- Service
Type string - The service type, such as EVS, DSS or DESS.
- bool
- Specifies whether the disk is shareable.
- Size double
- The disk size, in GB.
- Status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Dictionary<string, string>
- Specifies the included key/value pairs which associated with the desired disk.
- Update
At string - The time when the disk was updated.
- Volume
Type string - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- Wwn string
- The unique identifier used when attaching the disk.
- Attachments
[]Get
Evs Volumes V2Volume Attachment - The disk attachment information. Structure is documented below.
- Availability
Zone string - Specifies the availability zone for the disks.
- Bootable bool
- Whether the disk is bootable.
- Create
At string - The time when the disk was created.
- Description string
- The disk description.
- Id string
- The ID of the attached resource in UUID format.
- Name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- Service
Type string - The service type, such as EVS, DSS or DESS.
- bool
- Specifies whether the disk is shareable.
- Size float64
- The disk size, in GB.
- Status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- map[string]string
- Specifies the included key/value pairs which associated with the desired disk.
- Update
At string - The time when the disk was updated.
- Volume
Type string - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- Wwn string
- The unique identifier used when attaching the disk.
- attachments
List<Get
Evs Volumes V2Volume Attachment> - The disk attachment information. Structure is documented below.
- availability
Zone String - Specifies the availability zone for the disks.
- bootable Boolean
- Whether the disk is bootable.
- create
At String - The time when the disk was created.
- description String
- The disk description.
- id String
- The ID of the attached resource in UUID format.
- name String
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- service
Type String - The service type, such as EVS, DSS or DESS.
- Boolean
- Specifies whether the disk is shareable.
- size Double
- The disk size, in GB.
- status String
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Map<String,String>
- Specifies the included key/value pairs which associated with the desired disk.
- update
At String - The time when the disk was updated.
- volume
Type String - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- wwn String
- The unique identifier used when attaching the disk.
- attachments
Get
Evs Volumes V2Volume Attachment[] - The disk attachment information. Structure is documented below.
- availability
Zone string - Specifies the availability zone for the disks.
- bootable boolean
- Whether the disk is bootable.
- create
At string - The time when the disk was created.
- description string
- The disk description.
- id string
- The ID of the attached resource in UUID format.
- name string
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- service
Type string - The service type, such as EVS, DSS or DESS.
- boolean
- Specifies whether the disk is shareable.
- size number
- The disk size, in GB.
- status string
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- {[key: string]: string}
- Specifies the included key/value pairs which associated with the desired disk.
- update
At string - The time when the disk was updated.
- volume
Type string - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- wwn string
- The unique identifier used when attaching the disk.
- attachments
Sequence[Get
Evs Volumes V2Volume Attachment] - The disk attachment information. Structure is documented below.
- availability_
zone str - Specifies the availability zone for the disks.
- bootable bool
- Whether the disk is bootable.
- create_
at str - The time when the disk was created.
- description str
- The disk description.
- id str
- The ID of the attached resource in UUID format.
- name str
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- service_
type str - The service type, such as EVS, DSS or DESS.
- bool
- Specifies whether the disk is shareable.
- size float
- The disk size, in GB.
- status str
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Mapping[str, str]
- Specifies the included key/value pairs which associated with the desired disk.
- update_
at str - The time when the disk was updated.
- volume_
type str - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- wwn str
- The unique identifier used when attaching the disk.
- attachments List<Property Map>
- The disk attachment information. Structure is documented below.
- availability
Zone String - Specifies the availability zone for the disks.
- bootable Boolean
- Whether the disk is bootable.
- create
At String - The time when the disk was created.
- description String
- The disk description.
- id String
- The ID of the attached resource in UUID format.
- name String
- Specifies the name for the disks. This field will undergo a fuzzy matching query, the query result is for all disks whose names contain this value.
- service
Type String - The service type, such as EVS, DSS or DESS.
- Boolean
- Specifies whether the disk is shareable.
- size Number
- The disk size, in GB.
- status String
- Specifies the disk status. The valid values are as following:
- FREEZED
- BIND_ERROR
- BINDING
- PENDING_DELETE
- PENDING_CREATE
- NOTIFYING
- NOTIFY_DELETE
- PENDING_UPDATE
- DOWN
- ACTIVE
- ELB
- ERROR
- VPN
- Map<String>
- Specifies the included key/value pairs which associated with the desired disk.
- update
At String - The time when the disk was updated.
- volume
Type String - The disk type. Valid values are as follows:
- SAS: High I/O type.
- SSD: Ultra-high I/O type.
- GPSSD: General purpose SSD type.
- ESSD: Extreme SSD type.
- GPSSD2: General purpose SSD V2 type.
- ESSD2: Extreme SSD V2 type.
- wwn String
- The unique identifier used when attaching the disk.
GetEvsVolumesV2VolumeAttachment
- Attached
At string - The time when the disk was attached.
- Attached
Mode string - The ID of the attachment information.
- Device
Name string - The device name to which the disk is attached.
- Id string
- The ID of the attached resource in UUID format.
- Server
Id string - Specifies the server ID to which the disks are attached.
- Attached
At string - The time when the disk was attached.
- Attached
Mode string - The ID of the attachment information.
- Device
Name string - The device name to which the disk is attached.
- Id string
- The ID of the attached resource in UUID format.
- Server
Id string - Specifies the server ID to which the disks are attached.
- attached
At String - The time when the disk was attached.
- attached
Mode String - The ID of the attachment information.
- device
Name String - The device name to which the disk is attached.
- id String
- The ID of the attached resource in UUID format.
- server
Id String - Specifies the server ID to which the disks are attached.
- attached
At string - The time when the disk was attached.
- attached
Mode string - The ID of the attachment information.
- device
Name string - The device name to which the disk is attached.
- id string
- The ID of the attached resource in UUID format.
- server
Id string - Specifies the server ID to which the disks are attached.
- attached_
at str - The time when the disk was attached.
- attached_
mode str - The ID of the attachment information.
- device_
name str - The device name to which the disk is attached.
- id str
- The ID of the attached resource in UUID format.
- server_
id str - Specifies the server ID to which the disks are attached.
- attached
At String - The time when the disk was attached.
- attached
Mode String - The ID of the attachment information.
- device
Name String - The device name to which the disk is attached.
- id String
- The ID of the attached resource in UUID format.
- server
Id String - Specifies the server ID to which the disks are attached.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud