Show / Hide Table of Contents

Namespace Pulumi.OpenStack.BlockStorage

Classes

GetAvailabilityZonesV3

GetAvailabilityZonesV3Args

GetAvailabilityZonesV3Result

GetSnapshotV2

GetSnapshotV2Args

GetSnapshotV2Result

GetSnapshotV3

GetSnapshotV3Args

GetSnapshotV3Result

GetVolumeV2

GetVolumeV2Args

GetVolumeV2Result

GetVolumeV3

GetVolumeV3Args

GetVolumeV3Result

QuoteSetV2

Manages a V2 block storage quotaset resource within OpenStack.

Note: This usually requires admin privileges.

Note: This resource has a no-op deletion so no actual actions will be done against the OpenStack API in case of delete call.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var project1 = new OpenStack.Identity.Project("project1", new OpenStack.Identity.ProjectArgs
    {
    });
    var quotaset1 = new OpenStack.BlockStorage.QuoteSetV2("quotaset1", new OpenStack.BlockStorage.QuoteSetV2Args
    {
        ProjectId = project1.Id,
        Volumes = 10,
        Snapshots = 4,
        Gigabytes = 100,
        PerVolumeGigabytes = 10,
        Backups = 4,
        BackupGigabytes = 10,
        Groups = 100,
    });
}

}

QuoteSetV2Args

QuoteSetV2State

QuoteSetV3

Manages a V3 block storage quotaset resource within OpenStack.

Note: This usually requires admin privileges.

Note: This resource has a no-op deletion so no actual actions will be done against the OpenStack API in case of delete call.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var project1 = new OpenStack.Identity.Project("project1", new OpenStack.Identity.ProjectArgs
    {
    });
    var quotaset1 = new OpenStack.BlockStorage.QuoteSetV3("quotaset1", new OpenStack.BlockStorage.QuoteSetV3Args
    {
        ProjectId = project1.Id,
        Volumes = 10,
        Snapshots = 4,
        Gigabytes = 100,
        PerVolumeGigabytes = 10,
        Backups = 4,
        BackupGigabytes = 10,
        Groups = 100,
    });
}

}

QuoteSetV3Args

QuoteSetV3State

Volume

Manages a V3 volume resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var volume1 = new OpenStack.BlockStorage.Volume("volume1", new OpenStack.BlockStorage.VolumeArgs
    {
        Description = "first test volume",
        Region = "RegionOne",
        Size = 3,
    });
}

}

VolumeArgs

VolumeAttach

This resource is experimental and may be removed in the future! Feedback is requested if you find this resource useful or if you find any problems with it.

Creates a general purpose attachment connection to a Block Storage volume using the OpenStack Block Storage (Cinder) v3 API. Depending on your Block Storage service configuration, this resource can assist in attaching a volume to a non-OpenStack resource such as a bare-metal server or a remote virtual machine in a different cloud provider.

This does not actually attach a volume to an instance. Please use the openstack.compute.VolumeAttach resource for that.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var volume1 = new OpenStack.BlockStorage.Volume("volume1", new OpenStack.BlockStorage.VolumeArgs
    {
        Size = 1,
    });
    var va1 = new OpenStack.BlockStorage.VolumeAttach("va1", new OpenStack.BlockStorage.VolumeAttachArgs
    {
        Device = "auto",
        HostName = "devstack",
        Initiator = "iqn.1993-08.org.debian:01:e9861fb1859",
        IpAddress = "192.168.255.10",
        OsType = "linux2",
        Platform = "x86_64",
        VolumeId = volume1.Id,
    });
}

}

VolumeAttachArgs

VolumeAttachState

VolumeAttachV2

This resource is experimental and may be removed in the future! Feedback is requested if you find this resource useful or if you find any problems with it.

Creates a general purpose attachment connection to a Block Storage volume using the OpenStack Block Storage (Cinder) v2 API. Depending on your Block Storage service configuration, this resource can assist in attaching a volume to a non-OpenStack resource such as a bare-metal server or a remote virtual machine in a different cloud provider.

This does not actually attach a volume to an instance. Please use the openstack.compute.VolumeAttach resource for that.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var volume1 = new OpenStack.BlockStorage.VolumeV2("volume1", new OpenStack.BlockStorage.VolumeV2Args
    {
        Size = 1,
    });
    var va1 = new OpenStack.BlockStorage.VolumeAttachV2("va1", new OpenStack.BlockStorage.VolumeAttachV2Args
    {
        Device = "auto",
        HostName = "devstack",
        Initiator = "iqn.1993-08.org.debian:01:e9861fb1859",
        IpAddress = "192.168.255.10",
        OsType = "linux2",
        Platform = "x86_64",
        VolumeId = volume1.Id,
    });
}

}

VolumeAttachV2Args

VolumeAttachV2State

VolumeState

VolumeV1

Manages a V1 volume resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var volume1 = new OpenStack.BlockStorage.VolumeV1("volume1", new OpenStack.BlockStorage.VolumeV1Args
    {
        Description = "first test volume",
        Region = "RegionOne",
        Size = 3,
    });
}

}

VolumeV1Args

VolumeV1State

VolumeV2

Manages a V2 volume resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var volume1 = new OpenStack.BlockStorage.VolumeV2("volume1", new OpenStack.BlockStorage.VolumeV2Args
    {
        Description = "first test volume",
        Region = "RegionOne",
        Size = 3,
    });
}

}

VolumeV2Args

VolumeV2State

Back to top Copyright 2016-2020, Pulumi Corporation.