ibm.getIsVolumeProfiles
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud VSI. For more information, about the volumes and profiles, see block storage profiles.
Note:
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
}
}
{}
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsVolumeProfiles({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_volume_profiles()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetIsVolumeProfiles(ctx, &ibm.GetIsVolumeProfilesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsVolumeProfiles.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsVolumeProfilesArgs;
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 example = IbmFunctions.getIsVolumeProfiles();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsVolumeProfiles
arguments: {}
Using getIsVolumeProfiles
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 getIsVolumeProfiles(args: GetIsVolumeProfilesArgs, opts?: InvokeOptions): Promise<GetIsVolumeProfilesResult>
function getIsVolumeProfilesOutput(args: GetIsVolumeProfilesOutputArgs, opts?: InvokeOptions): Output<GetIsVolumeProfilesResult>
def get_is_volume_profiles(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVolumeProfilesResult
def get_is_volume_profiles_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVolumeProfilesResult]
func GetIsVolumeProfiles(ctx *Context, args *GetIsVolumeProfilesArgs, opts ...InvokeOption) (*GetIsVolumeProfilesResult, error)
func GetIsVolumeProfilesOutput(ctx *Context, args *GetIsVolumeProfilesOutputArgs, opts ...InvokeOption) GetIsVolumeProfilesResultOutput
> Note: This function is named GetIsVolumeProfiles
in the Go SDK.
public static class GetIsVolumeProfiles
{
public static Task<GetIsVolumeProfilesResult> InvokeAsync(GetIsVolumeProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetIsVolumeProfilesResult> Invoke(GetIsVolumeProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsVolumeProfilesResult> getIsVolumeProfiles(GetIsVolumeProfilesArgs args, InvokeOptions options)
public static Output<GetIsVolumeProfilesResult> getIsVolumeProfiles(GetIsVolumeProfilesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVolumeProfiles:getIsVolumeProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIsVolumeProfiles Result
The following output properties are available:
- Id string
- Profiles
List<Get
Is Volume Profiles Profile> - (List) Lists all server volume profiles in the region.
- Id string
- Profiles
[]Get
Is Volume Profiles Profile - (List) Lists all server volume profiles in the region.
- id String
- profiles
List<Get
Is Volume Profiles Profile> - (List) Lists all server volume profiles in the region.
- id string
- profiles
Get
Is Volume Profiles Profile[] - (List) Lists all server volume profiles in the region.
- id str
- profiles
Sequence[Get
Is Volume Profiles Profile] - (List) Lists all server volume profiles in the region.
- id String
- profiles List<Property Map>
- (List) Lists all server volume profiles in the region.
Supporting Types
GetIsVolumeProfilesProfile
- Adjustable
Capacity List<GetStates Is Volume Profiles Profile Adjustable Capacity State> - (List) Nested schema for adjustable_capacity_states:
- Adjustable
Iops List<GetStates Is Volume Profiles Profile Adjustable Iops State> - (List) Nested schema for adjustable_iops_states:
- Boot
Capacities List<GetIs Volume Profiles Profile Boot Capacity> - Capacities
List<Get
Is Volume Profiles Profile Capacity> - Family string
- (String) The family of the virtual server volume profile.
- Href string
- Iops
List<Get
Is Volume Profiles Profile Iop> - Name string
- (String) The name of the virtual server volume profile.
- Adjustable
Capacity []GetStates Is Volume Profiles Profile Adjustable Capacity State - (List) Nested schema for adjustable_capacity_states:
- Adjustable
Iops []GetStates Is Volume Profiles Profile Adjustable Iops State - (List) Nested schema for adjustable_iops_states:
- Boot
Capacities []GetIs Volume Profiles Profile Boot Capacity - Capacities
[]Get
Is Volume Profiles Profile Capacity - Family string
- (String) The family of the virtual server volume profile.
- Href string
- Iops
[]Get
Is Volume Profiles Profile Iop - Name string
- (String) The name of the virtual server volume profile.
- adjustable
Capacity List<GetStates Is Volume Profiles Profile Adjustable Capacity State> - (List) Nested schema for adjustable_capacity_states:
- adjustable
Iops List<GetStates Is Volume Profiles Profile Adjustable Iops State> - (List) Nested schema for adjustable_iops_states:
- boot
Capacities List<GetIs Volume Profiles Profile Boot Capacity> - capacities
List<Get
Is Volume Profiles Profile Capacity> - family String
- (String) The family of the virtual server volume profile.
- href String
- iops
List<Get
Is Volume Profiles Profile Iop> - name String
- (String) The name of the virtual server volume profile.
- adjustable
Capacity GetStates Is Volume Profiles Profile Adjustable Capacity State[] - (List) Nested schema for adjustable_capacity_states:
- adjustable
Iops GetStates Is Volume Profiles Profile Adjustable Iops State[] - (List) Nested schema for adjustable_iops_states:
- boot
Capacities GetIs Volume Profiles Profile Boot Capacity[] - capacities
Get
Is Volume Profiles Profile Capacity[] - family string
- (String) The family of the virtual server volume profile.
- href string
- iops
Get
Is Volume Profiles Profile Iop[] - name string
- (String) The name of the virtual server volume profile.
- adjustable_
capacity_ Sequence[Getstates Is Volume Profiles Profile Adjustable Capacity State] - (List) Nested schema for adjustable_capacity_states:
- adjustable_
iops_ Sequence[Getstates Is Volume Profiles Profile Adjustable Iops State] - (List) Nested schema for adjustable_iops_states:
- boot_
capacities Sequence[GetIs Volume Profiles Profile Boot Capacity] - capacities
Sequence[Get
Is Volume Profiles Profile Capacity] - family str
- (String) The family of the virtual server volume profile.
- href str
- iops
Sequence[Get
Is Volume Profiles Profile Iop] - name str
- (String) The name of the virtual server volume profile.
- adjustable
Capacity List<Property Map>States - (List) Nested schema for adjustable_capacity_states:
- adjustable
Iops List<Property Map>States - (List) Nested schema for adjustable_iops_states:
- boot
Capacities List<Property Map> - capacities List<Property Map>
- family String
- (String) The family of the virtual server volume profile.
- href String
- iops List<Property Map>
- name String
- (String) The name of the virtual server volume profile.
GetIsVolumeProfilesProfileAdjustableCapacityState
GetIsVolumeProfilesProfileAdjustableIopsState
GetIsVolumeProfilesProfileBootCapacity
GetIsVolumeProfilesProfileCapacity
GetIsVolumeProfilesProfileIop
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.